/* ---------------------------
    共通パーツ
----------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

.section__inner {
  padding: 90px 40px 60px;
}

.efficacy .section__inner,
.vitamin .section__inner {
  padding: 90px 40px;
}

.section__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section__title small {
  font-size: 16px;
  font-weight: 600;
}

@media screen and (max-width: 750px) {
  html {
    scroll-padding-top: 9rem;
  }

  .section__inner {
    padding: 6rem 3.1rem;
  }

  .efficacy .section__inner,
  .vitamin .section__inner {
    padding: 6rem 3rem;
  }
}

/* ---------------------------
    メインコンテンツ
----------------------------- */
/* head */
.head {
  background: url("../images/material/bgHead.webp") no-repeat center center / cover;
  background-attachment: fixed;
  background-size: cover;
  width: 100%;
}

.head__text {
  margin-top: 60px;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.1;
  letter-spacing: 0.7px;
}

@media screen and (max-width: 750px) {
  .head__text {
    margin-top: 3rem;
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
  }
}

/* スーパービタミンC */
.vitamin {
  background: #F6F7FF;
}

.vitamin .page__title {
  border-color: #7C77D1;
}

.vitamin__text {
  margin-top: 60px;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.1;
  letter-spacing: 0.7px;
}

.vitamin__text span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
}

@media screen and (max-width: 750px) {
  .vitamin__text {
    margin-top: 3rem;
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
  }
  .vitamin__text span {
    font-size: 1rem;
  }
}

/* ビタミンC誘導体の７つの美肌効果 */
.efficacy {
  background: #FCFEFF;
}

.efficacy__layout {
  margin-top: 90px;
  padding: 0 65px;
  display: flex;
  gap: 30px;
}

.efficacy__contents {
  flex: 1;
}

.efficacy__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px 14px;
  counter-reset: item-counter;
}

.efficacy__list-item {
  counter-increment: item-counter;
  position: relative;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #EC7070;
  background: #FCFEFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  height: 120px;
  padding: 10px 10px 5px;
}

.efficacy__list-item::before {
  content: counter(item-counter);
  position: absolute;
  top: -25px;
  left: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  background: #EC7070;
  color: #F2F8FD;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 1.5px;
  transform: translateX(-50%);
  border-radius: 50%;
}

.efficacy__list-item h3 {
  color: #EC7070;
  font-size: 16px;
  font-weight: 600;
}

.efficacy__list-item p {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.6px;
}

.efficacy__list-item:nth-child(2) {
  border-color: #E68135;
}

.efficacy__list-item:nth-child(2) h3 {
  color: #E68135;
}

.efficacy__list-item:nth-child(2)::before {
  background: #E68135;
}

.efficacy__list-item:nth-child(3) {
  border-color: #91AC3E;
}

.efficacy__list-item:nth-child(3) h3 {
  color: #91AC3E;
}

.efficacy__list-item:nth-child(3)::before {
  background: #91AC3E;
}

.efficacy__list-item:nth-child(4) {
  border-color: #D57EBC;
}

.efficacy__list-item:nth-child(4) h3 {
  color: #D57EBC;
}

.efficacy__list-item:nth-child(4)::before {
  background: #D57EBC;
}

.efficacy__list-item:nth-child(5) {
  border-color: #5BA3E1;
}

.efficacy__list-item:nth-child(5) h3 {
  color: #5BA3E1;
}

.efficacy__list-item:nth-child(5)::before {
  background: #5BA3E1;
}

.efficacy__list-item:nth-child(6) {
  border-color: #59BCAF;
}

.efficacy__list-item:nth-child(6) h3 {
  color: #59BCAF;
}

.efficacy__list-item:nth-child(6)::before {
  background: #59BCAF;
}

.efficacy__list-item:nth-child(7) {
  border-color: #7C77D1;
}

.efficacy__list-item:nth-child(7) h3 {
  color: #7C77D1;
}

.efficacy__list-item:nth-child(7)::before {
  background: #7C77D1;
}

.efficacy__img {
  width: 41.9%;
}

.efficacy__img img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 840px) {
  .efficacy__list-item {
    height: 140px;
  }
}

@media screen and (max-width: 750px) {

  .efficacy__layout {
    margin-top: 3rem;
    padding: 0;
    gap: 5rem;
    flex-direction: column-reverse;
  }

  .efficacy__contents {
    flex: none;
  }

  .efficacy__list {
    gap: 3.1rem 1.1rem;
  }

  .efficacy__list-item {
    border-radius: 0.8rem;
    gap: 0.5rem;
    height: 9.8rem;
    padding: 0;
  }

  .efficacy__list-item::before {
    top: -0.8em;
    left: 50%;
    width: 3.7rem;
    height: 3.7rem;
    font-size: 2.5rem;
    letter-spacing: 0.12px;
  }

  .efficacy__list-item h3 {
    color: #EC7070;
    font-size: 1.4rem;
  }

  .efficacy__list-item p {
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: 0.05rem;
  }

  .efficacy__img {
    width: 83%;
    margin: 0 auto;
  }
}

/* about */
.about {
  position: relative;
}

.fixed-bg__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip: rect(auto, auto, auto, auto);
  z-index: -1;
}

.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  background-image: url(../images/material/bgAbout.webp);
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
}

.navigation__list {
  display: flex;
  gap: 20px;
  padding: 0 72px;
}

.navigation__list-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  padding-top: 3em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: .5s ease;
}

.navigation__list-item:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.navigation__list-item:nth-child(1) {
  color: #4AA6E7;
}

.navigation__list-item:nth-child(2) {
  color: #7C77D1;
}

.navigation__list-item:nth-child(3) {
  color: #E68135;
}

.navigation__list-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  z-index: -1;
}

.navigation__list-item:nth-child(1)::after {
  background: url("../images/material/bgNvigation01.webp") no-repeat center center / cover;
}

.navigation__list-item:nth-child(2)::after {
  background: url("../images/material/bgNvigation02.webp") no-repeat center center / cover;
}

.navigation__list-item:nth-child(3)::after {
  background: url("../images/material/bgNvigation03.webp") no-repeat center center / cover;
}

.about__layout {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about__box {
  padding: 90px 60px;
  border-radius: 30px;
}

.about__box:nth-child(1) {
  background: #F2F8FD;
}

.about__box:nth-child(2) {
  background: #F6F7FF;
}

.about__box:nth-child(3) {
  background: #FAF6EC;
}

.about__box-inner {
  max-width: 630px;
  margin: 0 auto;
}

.about__box-head {
  display: flex;
  gap: 4%;
}

.about__box-title {
  width: 47%;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.about__box-text {
  width: 49%;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.14;
  letter-spacing: 0.7px;
}

.about__box:nth-child(1) .about__box-text,
.about__box:nth-child(1) .about__card-title {
  color: #4AA6E7;
}

.about__box:nth-child(2) .about__box-text,
.about__box:nth-child(2) .about__card-title {
  color: #5A54CE;
}

.about__box:nth-child(3) .about__box-text,
.about__box:nth-child(3) .about__card-title {
  color: #E68135;
}

.about__box-contents {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* box内のcard */
.about__card {
  padding: 60px 65px;
  border-radius: 30px;
  background: #FFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__card-title {
  display: flex;
  flex-direction: column;
}

.about__card-title .en {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.about__card-title .ja {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
}

.about__card-headding {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.about__card-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.66;
  letter-spacing: 0.6px;
}

@media screen and (max-width: 750px) {
  .about .section__inner {
    padding: 6rem 0 0;
  }
  .fixed-bg {
    background-image: url(../images/material/bgAboutSp.webp);
  }

  .navigation__list {
    display: flex;
    gap: 1.5rem;
    padding: 0 3.1rem;
  }

  .navigation__list-item {
    gap: 0.8rem;
    font-size: 1.2rem;
    line-height: 1.16;
    padding-top: 1em;
  }

  .navigation__list-item svg {
    width: 0.8576rem;
    height: 1.2151rem;
  }

  .navigation__list-item::after {
    left: -15%;
    width: 130%;
  }

  .about__layout {
    margin-top: 6rem;
    gap: 0;
  }

  .about__box {
    padding: 6rem 1.5rem;
    border-radius: 0;
  }

  .about__box-head {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .about__box-title {
    width: 100%;
    font-size: 2rem;
    letter-spacing: 0.1rem;
    padding-bottom: 1rem;
  }

  .about__box:nth-child(1) .about__box-title {
    border-bottom: 1px solid var(--color-light-blue);
  }

  .about__box:nth-child(2) .about__box-title {
    border-bottom: 1px solid #5A54CE;
  }

  .about__box:nth-child(3) .about__box-title {
    border-bottom: 1px solid #E68135;
  }

  .about__box-text {
    width: 100%;
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
  }

  .about__box-contents {
    margin-top: 4rem;
    gap: 2rem;
  }

  /* box内のcard */
  .about__card {
    padding: 3rem 2.5rem;
    border-radius: 0;
    gap: 1rem;
  }

  .about__card-title .en {
    font-size: 2.4rem;
    letter-spacing: 0.12rem;
  }

  .about__card-title .ja {
    margin-top: 1rem;
    font-size: 1.2rem;
    letter-spacing: 0.06rem;
  }

  .about__card-headding {
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.07rem;
  }

  .about__card-text {
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: 0.07rem;
  }
}