@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500&family=Jost:wght@500&display=swap");
/*************** HTML ***************/
body {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  background-color: #FFFFFF;
  color: #333333;
  font-family: "Noto Serif JP", sans-serif;
  font-size: clamp(1.4rem, 0.3125vw + 1.3rem, 1.6rem);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

a {
  color: #333333;
}
a:link, a:visited {
  text-decoration: none;
}
a:hover {
  color: #A3ABD5;
  transition: 0.25s;
}

/*************** Header ***************/
header {
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background-color: #FFFFFF;
}
header div {
  display: flex;
  align-items: center;
  padding: 1rem;
}
header div h1 {
  flex-shrink: 1;
  line-height: 0;
}
header div h1 a {
  display: inline-block;
}
header div h1 img {
  width: 100%;
  min-width: 80px;
  max-width: 280px;
}
header div nav {
  flex-shrink: 0;
  margin-left: auto;
  font-weight: 500;
  font-size: clamp(1.4rem, 0.3125vw + 1.3rem, 1.6rem);
  letter-spacing: 0.1em;
}
header div nav ul {
  display: flex;
  justify-content: end;
  align-items: center;
  list-style: none;
}
header div nav ul li {
  margin-left: clamp(1rem, 1.5625vw + 0.5rem, 2rem);
}
header div nav ul li:first-child {
  display: none;
}
header div nav ul li:last-child {
  display: none;
}
header div nav ul li:last-child p:last-child {
  font-family: "Jost";
}

/*************** Main Visual ***************/
#main_visual {
  position: relative;
  margin-bottom: 12rem;
  width: 100%;
  min-height: 40rem;
}
#main_visual #copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 35%;
  left: 25%;
  color: #FFFFFF;
  transform: translate(-25%, -35%);
}
#main_visual #copy h2 {
  margin-bottom: 2rem;
  width: 100%;
  line-height: 0;
}
#main_visual #copy h2 svg {
  width: 80vw;
  min-width: 240px;
  max-width: 480px;
  --fill: #FFFFFF;
}
#main_visual::after {
  display: block;
  padding-top: 50%;
  content: "";
}

/* Fade Images */
#fade_images {
  display: grid;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  list-style: none;
}
#fade_images li:not(:first-child) {
  z-index: -1;
}
#fade_images li {
  grid-area: 1/1;
  background-position: top;
  background-size: cover;
  opacity: 1;
}
#fade_images::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
}

/* Scroll Down */
#scroll_down {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}
#scroll_down a {
  position: sticky;
  bottom: 0;
  overflow: hidden;
  padding-bottom: 55px;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 1.2rem;
  text-indent: 0.05em;
  letter-spacing: 0.05em;
}
#scroll_down a::before {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}
#scroll_down a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 10px;
  background: #FFFFFF;
  animation: scroll_down 1.5s ease infinite;
  content: "";
}
@keyframes scroll_down {
  0% {
    transform: translateY(-40px);
  }
  50%, 100% {
    transform: translateY(10px);
  }
}

/*************** Main ***************/
main {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  padding: 2rem;
}
main h2 {
  z-index: 0;
  position: relative;
  margin-bottom: 8rem;
  padding: 1rem 2rem 1rem 5rem;
  border-bottom: #439FAD 2px solid;
  color: #439FAD;
  font-weight: 500;
  font-size: clamp(2rem, 0.625vw + 1.8rem, 2.4rem);
  letter-spacing: 0.1em;
}
main h2 span {
  white-space: nowrap;
}
main h2::after {
  position: absolute;
  top: 55%;
  left: 0;
  width: 40px;
  height: 33px;
  background: url("../images/heading_logo.png") no-repeat;
  background-size: 40px 33px;
  transform: translateY(-55%);
  content: "";
}

/***** Greeting *****/
#greeting {
  padding-bottom: 12rem;
  width: 100%;
}
#greeting p {
  font-weight: 500;
  font-size: clamp(1.4rem, 0.625vw + 1.2rem, 1.8rem);
  text-align: center;
  line-height: 2;
  letter-spacing: 0.05em;
}
#greeting p:not(:last-child) {
  margin: 0 auto 4rem;
}
#greeting p:last-child {
  display: flex;
  justify-content: end;
  align-items: flex-end;
  margin-top: 6rem;
}
#greeting p span.accent {
  color: #439FAD;
}
#greeting p span.blue {
  color: #A3ABD5;
}
#greeting p span.orange {
  color: #F8C058;
}
#greeting p span.pink {
  color: #F09BA5;
}

/***** Facility *****/
#facility {
  width: 100%;
}
#facility h2 ~ p {
  margin: -6rem 0 8rem;
  padding: 0 2rem;
}
#facility ul {
  list-style: none;
}
#facility ul li {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8rem;
}
#facility ul li figure {
  padding: 2rem;
}
#facility ul li figure img {
  width: 100%;
  max-width: 280px;
  height: auto;
}
#facility ul li div {
  padding: 2rem;
  width: 100%;
}
#facility ul li div h3 {
  border-bottom: #439FAD 1px solid;
  margin-bottom: 2rem;
  color: #439FAD;
  font-weight: 500;
}
#facility ul li div p:not(:last-child) {
  margin: 0 auto 2rem;
}
#facility ul li div.step p:not(:last-child) {
  position: relative;
  margin-bottom: 6rem;
}
#facility ul li div.step p:not(:last-child)::after {
  position: absolute;
  bottom: -4rem;
  left: 15%;
  content: "▼";
}

/***** Company *****/
#company {
  padding-bottom: 12rem;
  width: 100%;
}
#company h2 ~ p {
  margin: -6rem 0 8rem;
  padding: 0 2rem;
}
#company > ul {
  list-style: none;
}
#company > ul > li > dl {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#company > ul > li > dl > dt {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: 100%;
  background-color: #EFEFEF;
  font-weight: 500;
}
#company > ul > li > dl > dd {
  display: flex;
  align-items: center;
  padding: 2rem;
  width: 100%;
  word-wrap: break-word;
}
#company > ul > li > dl > dd ul {
  list-style: none;
}
#company > ul > li > dl > dd ul li:not(:last-child) {
  margin-bottom: 2rem;
}
#company > ul > li > dl > dd ul.counter li {
  counter-increment: count;
}
#company > ul > li > dl > dd ul.counter li::before {
  content: counter(count) ". ";
}
#company > ul > li > dl > dd > dl {
  width: 100%;
}
#company > ul > li > dl > dd > dl dt {
  padding: 0.5rem;
  background-color: rgba(239, 239, 239, 0.2);
}
#company > ul > li > dl > dd > dl dt:not(:last-of-type) {
  margin-bottom: 0.2rem;
}
#company > ul > li > dl > dd > dl dd {
  padding: 2rem 0.5rem;
}
#company > ul > li > dl > dd p:first-child {
  display: inline-block;
  border-bottom: #999999 1px solid;
  margin-bottom: 1rem;
  font-weight: 500;
}
#company > ul > li > dl > dd p:not(:first-child) {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}
#company > ul > li > dl > dd p:last-child {
  margin-bottom: 0;
}

/***** Access *****/
#access {
  padding-bottom: 12rem;
  width: 100%;
}
#access address {
  margin: 2rem 0;
  font-style: normal;
  font-size: clamp(1.2rem, 0.3125vw + 1.1rem, 1.4rem);
  letter-spacing: 0.05em;
}
#access iframe {
  width: 100%;
}

/***** Contact *****/
#contact {
  padding-bottom: 12rem;
  width: 100%;
}
#contact > p {
  margin: 0 2rem 2rem;
  font-size: clamp(1.4rem, 0.625vw + 1.2rem, 1.8rem);
  text-align: center;
  letter-spacing: 0.05em;
}
#contact dl {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-top: 6rem;
  padding: 0 2rem;
  background-color: #EFEFEF;
}
#contact dl dt {
  margin: 2rem 0;
  width: 100%;
}
#contact dl dt span {
  margin-left: 1rem;
  color: #FF3B30;
}
#contact dl dt:not(:last-of-type) {
  font-weight: 500;
}
#contact dl dd {
  width: 100%;
}
#contact dl dd:nth-last-child(2) {
  overflow-y: scroll;
  scrollbar-width: none;
  height: 30rem;
  padding: 2rem;
  background-color: #FFFFFF;
}
#contact dl dd:nth-last-child(2)::-webkit-scrollbar {
  display: none;
}
#contact dl dd:nth-last-child(2) h4 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: clamp(1.2rem, 0.3125vw + 1.1rem, 1.4rem);
  letter-spacing: 0.05em;
}
#contact dl dd:nth-last-child(2) p {
  font-size: clamp(1.2rem, 0.3125vw + 1.1rem, 1.4rem);
  letter-spacing: 0.05em;
}
#contact dl dd:nth-last-child(2) p:not(:last-child) {
  margin-bottom: 2rem;
}
#contact dl dd:last-child {
  margin-bottom: 12rem;
}
#contact input, #contact textarea, #contact select {
  padding: 1rem;
  border-radius: 0;
  background-color: #FFFFFF;
  color: #333333;
  letter-spacing: 0.05em;
}
#contact input::-moz-placeholder, #contact textarea::-moz-placeholder, #contact select::-moz-placeholder {
  color: #CCCCCC;
}
#contact input::placeholder, #contact textarea::placeholder, #contact select::placeholder {
  color: #CCCCCC;
}
#contact input[type=text] {
  width: 100%;
}
#contact textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 16rem;
  min-height: 16rem;
  max-height: 38rem;
}
#contact .error {
  margin-bottom: 1rem;
  color: #FF3B30;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

/*************** Footer ***************/
footer div {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #EFEFEF;
}
footer div h2 {
  padding: 4rem 2rem 1rem;
  width: 100%;
  text-align: center;
  line-height: 0;
}
footer div h2 img {
  width: 100%;
  max-width: 320px;
}
footer div address {
  padding: 0 2rem 4rem;
  font-style: normal;
  font-size: clamp(1.2rem, 0.3125vw + 1.1rem, 1.4rem);
  letter-spacing: 0.05em;
}
footer div p {
  padding: 1rem;
  width: 100%;
  background-color: #F09BA5;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 0.05em;
}
footer a {
  display: inline-block;
}

/*************** Element ***************/
/* Button */
.button {
  text-align: center;
}
.button a, .button button {
  display: inline-flex;
  justify-content: center;
  position: relative;
  margin: 6rem auto 0;
  padding: 1.5rem 6rem;
  outline: #FFFFFF 1px solid;
  outline-offset: -4px;
  background-color: #333333;
  color: #FFFFFF;
  font-size: clamp(1.4rem, 0.625vw + 1.2rem, 1.8rem);
  text-indent: 0.05em;
  letter-spacing: 0.05em;
}
.button a:hover, .button a:focus, .button button:hover, .button button:focus {
  background-color: rgba(51, 51, 51, 0.8);
}
.button a.accent, .button button.accent {
  background-color: #439FAD;
}
.button a.accent:hover, .button a.accent:focus, .button button.accent:hover, .button button.accent:focus {
  background-color: rgba(67, 159, 173, 0.8);
  transition: 0.25s;
}
.button a::after, .button button::after {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 1.5rem;
  bottom: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-color: transparent transparent transparent #FFFFFF;
  border-width: 1rem 0 1rem 1.5rem;
  border-style: solid;
  content: "";
}

/* Back To Top */
#back_to_top {
  display: block;
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
}
#back_to_top:hover, #back_to_top:focus {
  outline: none;
  --fill-opacity: 0.8;
}

/*************** Keyframes ***************/
@keyframes fadein_transition {
  0% {
    opacity: 0;
    transform: translate(0, 5rem);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
/*************** Media ***************/
@media (min-width: 480px) {
  header div {
    padding-left: 2rem;
  }
  header div nav ul li:first-child {
    display: list-item;
  }
}
@media (min-width: 768px) {
  header div nav ul li:last-child {
    display: list-item;
    padding: 0.5rem 1rem;
    background-color: #A3ABD5;
    text-align: center;
    text-indent: 0.05em;
  }
  header div nav ul li:last-child p a {
    color: #FFFFFF;
  }
  header div nav ul li:last-child p:last-child a {
    color: #FFFFFF;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
  }
  #facility ul li {
    flex-wrap: nowrap;
    padding: 2rem;
  }
  #facility ul li figure img {
    max-width: 480px;
  }
  #company > ul > li:last-of-type {
    margin-bottom: 0;
  }
  #company > ul > li > dl > dt {
    padding: 2rem;
    width: 30%;
    border-bottom: #439FAD 1px solid;
    background-color: rgba(239, 239, 239, 0.2);
  }
  #company > ul > li > dl > dd {
    width: 70%;
    border-bottom: #EFEFEF 1px solid;
  }
  #access section {
    flex-wrap: nowrap;
    padding: 2rem;
  }
  #access section figure img {
    max-width: 480px;
  }
}
@media (min-width: 1080px) {
  header div, main, footer div {
    margin: 0 auto;
    width: 1080px;
  }
}