/* styles.css */

html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-size: calc(100vw * 16 / 375);
}
  @media (min-width: 768px) {
    html {
    font-size: calc(100vw * 16 / 768);
    }
  }

  @media (min-width: 1240px) {
    html {
    font-size: calc(100vw * 18 / 1240);
    }
  }

  @media (min-width: 1440px) {
    html {
    font-size: calc(100vw * 20 / 1440);
    }
  }
.sub {
  vertical-align: sub;
  font-size: 50%;
  display: block;
  color: #163d26;
}
.sub2 {
  vertical-align: sub;
  font-size: 75%;
  display: block;
  color: #163d26;
}
body {
  font-family: 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: #333;
  background-color: #fff;
}

.sp-only {
  display: block !important;
}

.pc-only {
  display: none !important;
}

@media (min-width: 768px) {
  .sp-only {
    display: none !important;
  }

  .pc-only {
    display: block !important;
  }
}

.zen-old-mincho-regular {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

header.top-visual {
  position: relative;
  text-align: center;
  background-color: #c6d1c7;
  padding: 2em 15%;
}

header.top-visual .top-visual-box {
  width: 100%;
  /*max-width: 1280px;*/
  margin: 0 auto;
  position: relative;
}

header.top-visual .top-visual-box > img {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

header.top-visual .top-visual-box > img.fade-in {
  opacity: 1;
  transform: translateY(0);
}

header.top-visual > img {
  width: 100%;
  height: auto;
}

.logo-text {
  position: absolute;
  bottom: 43.2%;
  left: 16%;
  transform: translateX(0);
  width: calc(100% - 65.6%);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 1;
}

.logo-text.fade-in.fade-zoom-in {
  opacity: 1;
  transform: scale(1);
}

header.top-visual .sec-text {
  position: absolute;
  top: 3.8%;
  left: 4.15%;
  transform: translateX(0);
  width: calc(100% - 95.6%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 1;
}

header.top-visual .sec-text.fade-in {
  opacity: 1;
  transform: translateY(0);
}

header.top-visual .sec-text img {
  vertical-align: middle;
}

.intro {
  padding: 3.75em 15% 0;
  width: 100%;
  margin: 0 auto;
  text-align: justify;
}

.intro-box {
  padding: 0 2.5em;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-box.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.intro h2 {
  font-size: 1.6em;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.3;
}

.intro p {
  font-size: .9em;
  font-weight: 400;
  padding: 1em 0 0 0;
}

.points {
  padding: 3.75em 15% 0;
}

.points h2 {
  padding: 0 0 3%;
  /* transform: translateX(0); */
  width: calc(100% - 92.92%);
  line-height: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.points h2.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.points-box {
  display: flex;
  flex-direction: column;
}

.point01-box > div {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.point01-box > div.fade-in.slide-up {
  opacity: 1;
  transform: translateY(0);
}

.ab-num-box {
  position: relative;
}

.ab-num-box > img {
  width: 100%;
  position: relative;
}

.ab-num {
  position: absolute;
  left: 0;
}

.point01-box .ab-num-box .ab-num {
  width: 8.5%;
  bottom: 0;
}

.points-box-flex .ab-num-box .ab-num {
  width: 20.615%;
   top: 0;
}

.point01-box > div:nth-child(n+2) {
  margin-top: 2em;
}

.point01-box ul {
  display: flex;
  margin-top: 1em;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.point01-box ul.fade-in.slide-up {
  opacity: 1;
  transform: translateY(0);
}

.point01-box ul li {
  width: 50%;
}

.point01-box ul li .point-text {
  padding: 3.75em;
}

.point-text {
  text-align: justify;
}

.points-box-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3.75em;
}

.points-box-flex > div {
  width: 49%;
}

.points-box-flex .point-text {
  padding: 2em 3.75em;
}

.point {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.point.fade-in.slide-up {
  opacity: 1;
  transform: translateY(0);
}

.point img {
  width: 100%;
  height: auto;
}

.point-text {
  font-size: .9em;
}

.product {
  padding: 3.75em 15% 0;
  width: 100%;
  margin: auto;
  position: relative;
}

.product h2 {
  padding: 0 0 3%;
  /* transform: translateX(0); */
  width: calc(100% - 88.845%);
  line-height: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.product h2.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.product-pd-box {
  padding: 2.5em;
  position: relative;
}
.product-box {
  display: flex;
  /*flex-direction: column;*/
  align-items: center;
  gap: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.product-box.fade-in.slide-up {
  opacity: 1;
  transform: translateY(0);
}

.product-box > div:first-child {
  width: 40%;
}

.product-box>div:last-child {
  width: 60%;
}

.product-desc {
  text-align: justify;
}

.product-box h3 {
  font-size: .9em;
  padding-bottom: .6em;
}

.product-box p {
  font-size: .6em;
  padding-top: 1.4em;
}

.footer-img {
  position: relative;
  text-align: center;
  padding: 3.75em 15% 0;
}

.footer-img .footer-img-box {
  width: 100%;
  margin: 0 auto;
  position: relative;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-img .footer-img-box.fade-in {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background-color: #446655;
  color: white;
  padding: 2.5em 2.5em 5.5em;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1239px) {
  .point01-box ul {
    flex-direction: column;
  }

  .point01-box ul li:first-child {
    order: 2;
  }

  .point01-box ul li:last-child {
    order: 1;
  }

  .point01-box ul li .point-text {
    padding: 2em 2.5em 0;
  }

  .points-box-flex .point-text {
    padding: 2em 2.5em;
  }
}

@media (max-width: 767px) {
  header.top-visual {
    padding: .8em 0;
  }

  .intro {
    padding: 3.75em 2.5em 2em;
  }
  
  .intro-box {
    padding: 0;
  }

  .points {
    padding: 3.75em 0 0;
  }

  .point01-box ul {
    flex-direction: column;
  }

    .point01-box ul li {
      width: 100%;
    }

  .point01-box ul li:first-child {
    order: 2;
  }

  .point01-box ul li:last-child {
    order: 1;
    padding: 0 5%;
  }

  .point01-box ul li .point-text {
    padding: 2em 2.5em;
  }

  .point01-box .ab-num-box .ab-num {
    width: 17.347%;
  }

  .points-box-flex {
    flex-direction: column;
    margin-top: 0;
  }

  .points-box-flex > div {
    width: 100%;
    margin-top: 7.5%;
  }

  .points-box-flex .point-text {
    padding: 2em 2.5em;
  }

  .product {
    padding: 3.75em 0 0;
  }

  .product-box {
    flex-direction: column;
  }

  .product-box > div:first-child, .product-box>div:last-child {
    width: 100%;
  }

  .footer-img {
    padding: 3.75em 0 0;
  }

  header.top-visual .sec-text {
    width: calc(100% - 91.25%);
  }

  .points h2 {
    width: calc(100% - 85.92%);
  }

  .product h2 {
    width: calc(100% - 77.82%);
  }
}