@charset "utf-8";

/* ==========================================
  Common
============================================*/

:root {
  --font-serif: "Shippori Mincho", serif;
  --font-rich: "Josefin Sans", sans-serif;
  --color-navy: #0f3956;
  --color-blue: #1e8ad5;
  --color-red: #e24a4a;
}

/* basic settings */
.reuse_newlife {
  font-size: var(--sz-27);
  line-height: normal;
  box-shadow: 0 3px 5px 3px var(--color-container-shadow);

  @media (min-width: 1200px) {
    font-size: 25px;
  }
}

/* ==========================================
  Component
============================================*/
:where(.reuse_newlife) {

  /* button */
  & .btn {
    box-shadow: 4px 4px 8px 0px rgba(73, 142, 115, 0.25);
    margin-inline: auto;
  }

  & .btn-white {
    border-radius: var(--sz-10);
    border: var(--sz-5) solid var(--color-blue);
    background-color: var(--bs-white);
    color: var(--color-blue);
    text-align: center;
    font-size: var(--sz-32);
    font-weight: bold;
    letter-spacing: 0.02em;
    width: 100%;
    max-width: 691px;
    line-height: 1;
    aspect-ratio: 691 / 105;
    display: flex;
    justify-content: center;
    align-items: center;

    & i {
      position: absolute;
      top: 50%;
      right: 2em;
      transform: translateY(-50%);
    }

    &:hover,
    &:active,
    &:focus-visible {
      color: var(--bs-white);
      background-color: var(--color-blue);
    }
  }

  & .btn-detail {
    border-radius: 100vh;
    background: var(--color-navy);
    color: var(--bs-white);
    font-size: var(--sz-24);
    letter-spacing: 0.02em;
    aspect-ratio: 334 / 65;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    margin-top: auto;

    & i {
      position: absolute;
      top: 52%;
      right: 1.75em;
      transform: translateY(-50%);
    }

    &:hover,
    &:active,
    &:focus-visible {
      background-color: var(--bs-white);
      color: var(--color-navy);
      border: var(--sz-5) solid var(--color-navy);
    }
  }

  & .btn-magazine {
    border-radius: 100vh;
    background: var(--color-navy);
    color: var(--bs-white);
    font-size: var(--sz-30);
    letter-spacing: 0.03em;
    aspect-ratio: 690 / 106;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    margin-top: auto;
    max-width: 690px;

    & i {
      position: absolute;
      top: 50%;
      left: 20%;
      transform: translateY(-50%);
      font-size: var(--sz-32);
    }

    &:hover,
    &:active,
    &:focus-visible {
      background-color: var(--bs-white);
      color: var(--color-navy);
      border: var(--sz-5) solid var(--color-navy);
    }
  }

  @media (min-width: 1200px) {
    & .btn-detail {
      font-size: 24px;
      aspect-ratio: 430 / 65;
    }

    & .btn-magazine {
      font-size: 30px;
      aspect-ratio: 690 / 97;
    }
  }
}

/* ==========================================
  Layout
============================================*/

.reuse_newlife {
  max-width: 750px;
  margin-inline: auto;

  /* inner */
  & .inner {
    padding-inline: var(--sz-30);
    margin-inline: auto;

    @media (min-width: 1200px) {
      padding-inline: 0;
      max-width: 1360px;
    }
  }
}

@media (min-width: 1200px) {
  .reuse_newlife {
    max-width: 1920px;
  }
}

/* PC表示対応 */
@media (min-width: 1200px) and (max-width: 1299px) {
  .reuse_newlife {
    zoom: 62.5%;
  }
}

@media (min-width: 1300px) and (max-width: 1399px) {
  .reuse_newlife {
    zoom: 67.5%;
  }
}

@media (min-width: 1400px) and (max-width: 1499px) {
  .reuse_newlife {
    zoom: 72.5%;
  }
}

@media (min-width: 1500px) and (max-width: 1549px) {
  .reuse_newlife {
    zoom: 79%;
  }
}

@media (min-width: 1550px) and (max-width: 1599px) {
  .reuse_newlife {
    zoom: 80%;
  }
}

/* ==========================================
  Header
============================================*/
:where(.reuse_newlife) {
  & .header {
    padding: var(--sz-29);
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
  }

  & .header__logo {
    & img {
      width: var(--sz-299);
    }
  }

  @media (min-width: 1200px) {
    & .header {
      padding: 24px;
    }

    & .header__logo {
      & img {
        width: 223px;
      }
    }
  }
}

/* ==========================================
  FV
============================================*/

:where(.reuse_newlife) {
  & .fv {
    background: #eff9f5 url(../img/sp/bg-fv.jpg);
    background-size: cover;
    aspect-ratio: 375 / 343;
    padding-top: var(--sz-110);
  }

  & .fv__copy {
    margin-bottom: var(--sz-39);

    & img {
      width: 97.68%;
    }
  }

  & .fv__pic {
    & img {
      width: 98.98%;
    }
  }

  @media (min-width: 1200px) {
    & .fv {
      background-image: url(../img/pc/bg-fv.jpg);
      aspect-ratio: 1920 / 779;
      padding-top: 101px;
    }

    & .fv__copy {
      margin-bottom: 0;

      & img {
        width: 800px;
      }
    }

    & .fv__pic {
      & img {
        width: 873px;
      }
    }
  }
}

/* ==========================================
  Intro
============================================*/

:where(.reuse_newlife) {
  & .intro {
    background-color: #eff9f5;
    padding-top: var(--sz-37);
    padding-bottom: var(--sz-124);
  }

  & .intro__heading {
    padding-top: var(--sz-37);
    text-align: center;
    font-family: var(--font-serif);
    font-size: var(--sz-58);
    font-weight: 500;
    line-height: 1.41;
    margin-bottom: var(--sz-35);
  }

  & .intro__body {
    text-align: center;
    font-weight: normal;
    line-height: 1.85;
    --mb-p: var(--sz-23);

    & p:last-of-type {
      margin-bottom: var(--sz-50);
    }
  }

  @media (min-width: 1200px) {
    & .intro {
      padding-top: 52px;
      padding-bottom: 168px;
      background-image: url(../img/pc/pic-leaf1.png), url(../img/pc/pic-leaf2.png);
      background-repeat: no-repeat;
      background-size: 235px, 313px;
      background-size: 12.24%, 16.3%;
      background-position: top 167px left 158px, top 700px right 100px;
    }

    & .intro__heading {
      font-size: 58px;
      line-height: 1.46;
      margin-bottom: 55px;
    }

    & .intro__body {
      line-height: 2.32;
      --mb-p: 30px;

      & p:last-of-type {
        margin-bottom: 77px;
      }
    }
  }
}

/* ==========================================
  Feature
============================================*/

:where(.reuse_newlife) {
  & .feature {
    background-color: var(--bs-white);
    padding-top: var(--sz-80);
    padding-bottom: var(--sz-90);
  }

  & .feature__heading {
    margin-bottom: var(--sz-38);
    text-align: center;
    font-size: var(--sz-45);
    font-weight: 500;
    line-height: 1.44;

    & img {
      width: var(--sz-201);
    }
  }

  & .feature__list {
    display: flex;
    flex-wrap: wrap;
    --gap: var(--sz-14);
    gap: var(--gap);
    margin-bottom: var(--sz-50);
  }

  & .feature__item {
    margin: unset;
    width: calc((100% - var(--gap)) / 2);
    border-radius: var(--sz-5);
    border: var(--sz-5) solid var(--color-navy);
    background-color: var(--bs-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    aspect-ratio: 338 / 390;

    & picture,
    & figcaption {
      flex: 0 0 50%;
    }

    & picture {
      display: flex;
      justify-content: center;
      align-items: flex-end;
    }

    &:nth-child(1) img {
      width: var(--sz-185);
    }

    &:nth-child(2) img {
      width: var(--sz-168);
    }

    &:nth-child(3) img {
      width: var(--sz-141);
    }

    &:nth-child(4) img {
      width: var(--sz-159);
    }
  }

  & .feature__cap {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  & .feature__annotation {
    font-size: var(--sz-24);
    font-weight: normal;
    --mb-p: 0;
  }

  @media (min-width: 1200px) {
    & .feature {
      padding-top: 100px;
      padding-bottom: 113px;
    }

    & .feature__heading {
      margin-top: 52px;
    }

    & .feature__list {
      --gap: 20px;
      margin-bottom: 53px;
    }

    & .feature__item {
      aspect-ratio: 325 / 350;
      width: calc((100% - 3 * var(--gap)) / 4);

      &:nth-child(1) img {
        width: 160px;
      }

      &:nth-child(2) img {
        width: 145px;
      }

      &:nth-child(3) img {
        width: 122px;
      }

      &:nth-child(4) img {
        width: 128px;
      }
    }

    & .feature__cap {
      line-height: 1.33;
    }

    & .feature__annotation {
      text-align: center;
    }
  }
}

/* ==========================================
  Lineup
============================================*/

:where(.reuse_newlife) {
  & .lineup {
    background-color: #eff9f5;
    padding-top: var(--sz-123);
    padding-bottom: var(--sz-24);
  }

  & .lineup__heading {
    text-align: center;
    font-size: var(--sz-48);
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: var(--sz-44);
  }

  & .lineup__body {}

  & .lineup__lead {
    border-top: var(--sz-3) solid #e24a4a;
    border-bottom: var(--sz-3) solid #e24a4a;
    background-color: #ffe6e6;
    color: #e24a4a;
    text-align: center;
    font-size: var(--sz-30);
    line-height: 1.66;
    letter-spacing: 0.02em;
    padding: 0.67em;
    --mb-p: 0;
  }

  & .lineup__annotation {
    margin-top: var(--sz-53);
    margin-bottom: var(--sz-104);
    font-size: var(--sz-24);
    font-weight: normal;
    line-height: 1.66;
    letter-spacing: 0.02em;
  }

  & .lineup__suffix {
    font-size: var(--sz-45);
    text-align: center;
    background: url(../img/common/icon-down.svg), url(../img/common/icon-down.svg);
    background-repeat: no-repeat;
    background-size: var(--sz-32);
    background-position: center left, center right;
    width: fit-content;
    margin-inline: auto;
    padding-inline: var(--sz-52);
    margin-bottom: 0;
  }

  @media (min-width: 1200px) {
    & .lineup {
      padding-top: 143px;
      padding-bottom: 46px;
    }

    & .lineup__heading {
      font-size: 45px;
      margin-bottom: 30px;
    }

    & .lineup__body {}

    & .lineup__lead {
      font-size: 28px;
      line-height: 1.78;
    }

    & .lineup__annotation {
      margin-top: 66px;
      margin-bottom: 121px;
      font-size: 25px;
      line-height: 1.72;
    }

    & .lineup__suffix {
      font-size: 45px;
      background-size: 32px;
      padding-inline: 52px;
    }
  }

  /* category */
  & .category {
    padding-top: var(--sz-92);
  }

  & .category__heading {
    background-color: #ceebff;
    width: fit-content;
    margin-left: calc(-1 * var(--sz-30));
    color: var(--color-blue);
    font-size: var(--sz-35);
    font-weight: bold;
    padding: 0.3em var(--sz-114) 0.3em var(--sz-30);
    clip-path: polygon(0 0, calc(100% - var(--sz-45)) 0, 100% 100%, 0 100%);
    margin-bottom: var(--sz-15);
  }

  & .category__lead {
    color: var(--color-blue);
    font-size: var(--sz-28);
    margin-bottom: var(--sz-44);
  }

  @media (min-width: 1200px) {
    & .category {
      padding-top: 109px;
    }

    & .category__heading {
      margin-left: 0;
      margin-bottom: 18px;
      font-size: 35px;
    }

    & .category__lead {
      font-size: 30px;
      letter-spacing: 0.05em;
      margin-bottom: 40px;
    }
  }

  /* products */
  & .products {
    display: flex;
    flex-wrap: wrap;
    --gap: var(--sz-22);
    gap: var(--sz-60) var(--gap);
    margin-bottom: var(--sz-88);
  }

  & .product {
    width: calc((100% - var(--gap)) / 2);
    display: flex;
    flex-direction: column;
  }

  & .product__head {
    & img {
      aspect-ratio: 334 / 295;
      object-fit: cover;
      width: 100%;
      filter: drop-shadow(0px 0px var(--sz-5) rgba(0, 0, 0, 0.25));
    }

    &:hover img {
      opacity: 0.8;
    }
  }

  & .product__body {
    padding-top: var(--sz-30);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  & .product__link {
    color: inherit;
    text-decoration: none;
  }

  & .product__name {
    margin-bottom: var(--sz-5);
    font-size: var(--sz-30);

    & img {
      width: var(--sz-141);
      margin: unset;
    }
  }

  & .product__price {
    font-size: var(--sz-30);
    margin-bottom: var(--sz-24);

    & .num {
      font-size: 140%;
    }
  }

  @media (min-width: 1200px) {
    & .products {
      --gap: 35px;
      gap: 70px var(--gap);
      margin-bottom: 115px;
    }

    & .product {
      width: calc((100% - 2 * var(--gap)) / 3);
    }

    & .product__head {
      & img {
        aspect-ratio: 430 / 295;
      }
    }

    & .product__body {
      padding-top: 32px;
    }

    & .product__name {
      font-size: 30px;
      letter-spacing: -0.03em;

      & img {
        width: 148px;
      }
    }

    & .product__price {
      font-size: 30px;
      margin-bottom: 24px;
    }
  }
}

/* ==========================================
  Store
============================================*/

:where(.reuse_newlife) {
  & .store {
    background-color: #ffffff;
    /* background: #eff9f5 url(../img/sp/bg-store.jpg);
    background-image: linear-gradient(hsl(205deg 70% 20% / 50%), hsl(205deg 70% 20% / 50%)), url(../img/sp/bg-store.jpg); */
    padding-top: var(--sz-116);
    padding-bottom: var(--sz-97);
    background-size: cover;
    aspect-ratio: 750 / 1237;
  }

  & .store__heading {
    color: var(--bs-white);
    text-align: center;
    font-size: var(--sz-46);
    font-weight: bold;
    line-height: 1.52;
    margin-bottom: var(--sz-38);
  }

  & .store__body {
    color: var(--bs-white);

    & dl {
      display: flex;
      align-items: flex-start;
      gap: var(--sz-29);
      margin-bottom: 1.4rem;

      &:last-of-type {
        margin-bottom: var(--sz-66);
      }
    }

    & dt {
      color: var(--color-navy);
      background-color: var(--bs-white);
      /* width: var(--sz-146); */
      aspect-ratio: 146 / 50;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 6rem;
      font-size: 1.2rem;
      letter-spacing: 0.1em;
    }

    & dd {
      font-size: 1.2rem;
      line-height: 1.83;
      margin-bottom: 0;

      & span {
        line-height: 1;
      }
    }
  }

  @media (min-width: 1200px) {
    & .store {
      background-color: #ffffff;
      /* background-image: linear-gradient(hsl(205deg 70% 20% / 50%), hsl(205deg 70% 20% / 50%)), url(../img/pc/bg-store.jpg); */
      /* aspect-ratio: 1920 / 1278; */
      aspect-ratio: 1920 / 800;
      padding-top: 134px;
      padding-bottom: 112px;

      & .inner {
        max-width: 1154px;
      }
    }

    & .store__heading {
      font-size: 46px;
      margin-bottom: 60px;
      display: flex;
      justify-content: center;
      align-items: baseline;
      gap: 51px;
      white-space: nowrap;

      &::before,
      &::after {
        content: "";
        height: 1px;
        width: 163px;
        background-color: #fff;
        display: block;
      }
    }

    & .store__body {
      & dl {
        gap: 32;
        gap: 32px;
        margin-bottom: 1.4rem;

        &:last-of-type {
          margin-bottom: 72px;
        }
      }

      & dt {
        width: 6rem;
        font-size: 1.2rem;
      }

      & dd {
        font-size: 1.2rem;
        line-height: 1.71;

        & span {}
      }
    }
  }
}

/* カードレイアウト店舗情報 */

/* カードレイアウト部分をラッピングし、
Flexboxを指定"space-between"で各アイテムを均等に配置し、
最初と最後のアイテムを端に寄せます。*/
#cardlayout-wrap {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  margin: 2em auto;
  max-width: 1400px;
  width: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
}

/* リンクテキストの下線を非表示 */
a.card-link {
  text-decoration: none;
}

/* カードレイアウト内の画像を幅いっぱいに表示 */
#cardlayout-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
}

.card-figure {
  margin: 0;
  padding: 0;
}

/* カードレイアウトのタイトル部分 */
.card-title {
  margin: 0 0 0.6em;
  color: #0f3956;
  text-align: center;
  font-size: 1.1em;
}

/* カードレイアウトの説明文部分 */
.card-text-tax {
  margin: 0;
  padding: 0.8em;
  color: #0f3956;
}

.card-text-tax dd {
  color: #0f3956;
  font-size: 90%;
}

/* .card-text-tax dt {
  background-color: var(--color-navy);
  color: var(--bs-white);
  aspect-ratio: 146 / 50;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.1em;
} */
 
@media all and (max-width: 700px) {
  .card-text-tax {
    font-size: 130%;
    /* 100%幅を2で割るという指定 */
  }

  .card-text-tax .btn-detail {
    font-size: 80%;
  }
}

/* カードレイアウトを1カラムで配置 */
.card-list {
  margin: 0.5em auto;
  padding: 0;
  width: 196%;
  background: #f0f0f0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* 画面幅768px以上の場合カードレイアウトを2カラムで配置 */
@media all and (min-width: 768px) {
  .card-list {
    margin: 0.5em 0;
    width: calc(96% / 2);
    /* 100%幅を2で割るという指定 */
  }
}

/* 画面幅992px以上の場合カードレイアウトを3カラムで配置 */
@media all and (min-width: 992px) {
  .card-list {
    width: calc(96% / 3);
    /* 100%幅を3で割るという指定 */
  }

  /* 最後の行が3列より少ない場合左寄せにレイアウトさせる */
  #cardlayout-wrap::after {
    content: "";
    display: block;
    width: calc(96% / 3);
  }
}


/* ==========================================
  CTA
============================================*/

:where(.reuse_newlife) {
  & .cta {
    background-color: #eff9f5;
    padding-top: var(--sz-87);
    padding-bottom: var(--sz-97);
  }

  & .cta__lead {
    text-align: center;
    font-size: var(--sz-35);
    letter-spacing: 0.03em;
    margin-bottom: var(--sz-24);
    background: url(../img/common/fig-slash-l.svg), url(../img/common/fig-slash-r.svg);
    background-repeat: no-repeat;
    background-size: var(--sz-21);
    background-position: bottom left, bottom right;
    width: fit-content;
    margin-inline: auto;
    padding-inline: var(--sz-35);
  }

  & .cta__banner {
    margin-top: var(--sz-97);
    display: block;
    max-width: 690px;
    margin-inline: auto;
  }

  @media (min-width: 1200px) {
    & .cta {
      padding-top: 112px;
      padding-bottom: 122px;
    }

    & .cta__lead {
      font-size: 30px;
      background-size: 11px;
      padding-inline: 30px;
      margin-bottom: 37px;
    }

    & .cta__banner {
      margin-top: 102px;
      max-width: 858px;
      box-shadow: 4px 4px 8px 0px rgba(73, 142, 115, 0.25);
    }
  }
}

/* ==========================================
  Floating
============================================*/

:where(.reuse_newlife) {
  & .floating {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    width: 100%;
    max-width: 750px;
  }

  & .floating__link {
    width: 100%;
    border: 2px solid var(--bs-white);
    color: var(--bs-white);
    background-color: #025171;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    aspect-ratio: 250 / 90;
    transition: 0.3s;
    font-size: var(--sz-28);

    &:nth-child(1) {
      background-color: #1881c9;
    }

    &:nth-child(2) {
      background-color: #3676a2;
    }

    &:nth-child(3) {
      background-color: #025171;
      display: none;
    }

    &:hover {
      filter: brightness(1.2);
    }

    & i {
      position: absolute;
      top: 50%;
      right: 2em;
      transform: translateY(-50%);
    }
  }

  @media (min-width: 1200px) {
    & .floating {
      left: unset;
      bottom: 50%;
      right: 0;
      transform: translateY(50%);
      width: fit-content;
      flex-direction: column;
      display: flex !important;
      opacity: 1 !important;
    }

    & .floating__link {
      width: fit-content;
      writing-mode: vertical-rl;
      aspect-ratio: unset;
      font-size: 25px;
      width: 80px;
      padding: 28px 0 67px;
      letter-spacing: 0.2em;

      & i {
        right: 50%;
        bottom: 24px;
        top: unset;
        transform: translateX(50%);
      }
    }
  }
}

/* ==========================================
  Footer
============================================*/
:where(.reuse_newlife) {
  & .footer {
    padding-block: var(--sz-115);
    background-color: var(--bs-white);
    color: inherit;
  }

  & .footer__logo {
    margin-bottom: var(--sz-98);

    & img {
      width: var(--sz-383);
    }
  }

  & .footer__menu {
    margin-bottom: var(--sz-91);
    flex-wrap: wrap;

    & a {
      font-size: var(--sz-32);
      font-weight: 500;
    }
  }

  & .footer__social {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: var(--sz-78);

    & a {
      background-color: var(--bs-white);
      filter: drop-shadow(0px 0px var(--sz-5) rgba(0, 0, 0, 0.25));
      border-radius: 100vh;
      --size: var(--sz-98);
      width: var(--size);
      height: var(--size);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    & img {
      width: var(--sz-50);
    }
  }

  & .footer__copy {
    font-size: var(--sz-25);
    font-weight: normal;
  }

  @media (min-width: 1200px) {
    & .footer {
      padding-block: 102px;
    }

    & .footer__logo {
      margin-bottom: 72px;

      & img {
        width: 346px;
      }
    }

    & .footer__menu {
      margin-bottom: 86px;

      & a {
        font-size: 25px;
      }
    }

    & .footer__social {
      gap: 40px;
      margin-bottom: 67px;

      & a {
        --size: 98px;
      }

      & img {
        width: 50px;
      }
    }

    & .footer__copy {
      font-size: 23px;
    }
  }
}

    .sp-none {
      display: none !important;
    }

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