@charset "UTF-8";

/* 全体リセット */
* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    color: #444342;
    font-family: '游明朝体', 'Yu Mincho', 'ヒラギノ明朝 ProN W3', serif;
}

@font-face {
    font-family: 'Antro Vectra';
    src: url('fonts/Antro_Vectra.otf') format('opentype');
}

/* アニメーション（上から下に一度だけ流れる） */
@keyframes scroll {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }
    100% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }
}

.wrapper {
    box-sizing: border-box;
    position: relative;
    width: 72.4rem;
    max-width: 100vw;
    margin: 0 auto;
    height: auto;
}

section {
    box-sizing: border-box;
    width: 100%;
    max-width: 72.4rem;
    margin: 0 auto;
    overflow-x: hidden; /* はみ出し防止 */
}

/* セクション1 */
.section-1 img {
    display: block;
    width: 100%;
    max-width: 72.4rem;
    height: auto;
    margin: 0 auto;
}

/* セクション2 */
.section-2 .content {
    max-width: 72.4rem;
    margin: 0 auto;
    font-weight: bold;
}

.section-2 .intro {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.section-2 .intro-text {
    width: 100%;
    text-align: center;
    font-family: the-seasons, sans-serif;
}

.section-2 .intro-image {
    width: 100%;
    max-width: 72.4rem;
    height: min(100vw, 67.83rem);
    background-color: #ddd;
    background-image: url("img/ingredients.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* メインテキスト */
.section-2 .main-text {
    width: 100%;
    text-align: center;
}

.section-2 .main-text p {
    margin: 0;
    font-family: the-seasons, sans-serif;
    font-size: min(5vw, 3.62rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    line-height: 1.338;
    padding: 17.69% 0 4.46% 0;
}

/* サブテキスト */
.section-2 .sub-text {
    width: 100%;
    text-align: center;
}

.section-2 .sub-text p {
    margin: 0;
    font-family: the-seasons, sans-serif;
    font-size: min(1.85vw, 1.355rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    line-height: 2.083;
    padding: 0 0 12.45% 0;
}

.section-2 .features {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
}

.section-2 .features p.features-text {
    text-align: left;
    font-size: min(3.8vw, 2.896rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.575;
    padding-left: 0;
    margin-left: 7.5%;
}

.section-2 .features .sub {
    text-align: center;
    font-size: min(2.4vw, 1.737rem);
    padding-top: 19.56%;
    font-family: the-seasons, sans-serif;
    letter-spacing: 0.12em;
}

.section-2 .features h2 {
    line-height: 1;
    font-size: min(7vw, 5.068rem);
    padding-bottom: 18.1%;
    letter-spacing: 0.02em;
    line-height:1.285;
}

.section-2 .features p {
   text-align: left;
   font-size: min(4vw, 2.896rem);
   font-weight: 500;
   letter-spacing: 0.12em;
   line-height:1.575;
}

.section-2 .features span {
    font-weight: bold;
    font-size: min(4.4vw, 3.258rem);
}

.section-2 .highlight {
    width: 100%;
    padding-top: 12.35%;
}

.section-2 .highlight img {
    width: 21.8%;
    height: auto;
    display: block;
    margin: 0 auto 0;
}

.section-2 .ingredients {
    margin-top: -1.39%;
    text-align: center;
}

.section-2 .ingredient-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-2 .ingredients h2 {
    font-size: min(7vw, 5.068rem);
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 0 0 12.25% 0;
}

.section-2 .ingredient-group {
    position: relative;
    width: 100%;
}

.section-2 .image-text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.section-2 .ingredients img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.section-2 .ingredient-group .image-first {
    width: 81%;
    height: auto;
    padding-bottom: 17.2%;
}

.section-2 .ingredient-group .sedation-title {
    width: 14.1%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 7.8%;
}

.section-2 .ingredient-group .regeneration-title {
    width: 21.3%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 7.8%;
}

.section-2 .ingredient-group .transparency-title {
    width: 21.3%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 7.8%;
}

.section-2 .ingredient-group .sedation-explanation {
    width: 83.4%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 8.2%;
}

.section-2 .ingredient-group .regeneration-explanation {
    width: 87.4%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 8.2%;
}

.section-2 .ingredient-group .transparency-explanation {
    width: 87.4%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 8.2%;
}

.section-2 .ingredient-group .sedation-ingredient {
    width: 80.8%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 18.1%;
}

.section-2 .ingredient-group .regeneration-ingredient {
    width: 60.3%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 18.1%;
}

.section-2 .ingredient-group .transparency-ingredient {
    width: 82.2%;
    margin-left: 9.6%;
    margin-right: 0;
    padding-bottom: 18.1%;
}

.section-2 .vertical-text-wrapper {
    position: absolute;
    right: 0;
    top: 3.85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 9.5%;
    height: 100%;
}

.section-2 .vertical-text-wrapper::before {
    content: '';
    width: min(0.18vw, 0.1rem);
    height: 15.8%;
    background-color: #0C0C0C;
    margin-top: 2.3vw;
    order: 2;
    transform: scale(1, 0); /* 初期状態で非表示 */
    transform-origin: 0 0;
    animation: none; /* 初期状態でアニメーションなし */
}

.section-2 .vertical-text-wrapper.animate::before {
    animation: scroll 2s forwards; /* forwardsで最終状態を保持 */
}

.section-2 .vertical-text {
    font-size: min(4vw, 2.9rem);
    color: #333333;
    font-weight: 400;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    text-align: center;
    padding-left: 7%;
    order: 1;
}

.features{
    font-size: 3.258rem;
}

.features p span {
    position: relative;
    display: inline-block;
}

.features p span::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 0;
    height: min(2.48vw, 1.8rem);
    background-color: #D7E0EB;
    transition: width var(--animation-duration, 2s) ease-out; /* デフォルト2s */
    z-index: -1;
}

.features p span.underline::after {
    width: 100%;
}

.section-2 .feature-header {
    width: 100%;
    box-sizing: border-box;
}

.section-2 .toggle-btn {
    width: 82%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.9rem;
    font-family: '游明朝体';
    color: #333333;
    border-top: 0.05rem solid #444342;
    border-bottom: 0.05rem solid #444342;
    transition: 0.3s ease;
    position: relative;
    letter-spacing: 0.15em;
    margin: 0 auto;
}

.section-2 .toggle.open .toggle-btn {
    border-bottom: none; /* 開いた時に下線削除 */
}

.section-2 .toggle {
    text-align: center;
    margin-bottom: 16%;
}

.section-2 .toggle-text {
    text-align: center;
    padding-top: 5.83%;
    padding-bottom: 6.84%;
    font-weight: 400;
    font-size: min(4vw, 2.89rem);
}

.section-2 .toggle-icon {
    font-size: min(4vw, 2.89rem);
    transition: transform 0.3s ease;
    position: absolute;
    right: 5.8%;
    padding: 0 0.5rem;
    display: inline-block;
    transform-origin: center;
    font-weight: normal;
}

.section-2 .toggle-content {
    display: none;
    font-size: min(3vw, 2.172rem);
    max-width: 82%;
    margin: 0 auto;
    font-family: '游明朝体';
    line-height: 2;
    font-weight: normal;
    text-align: left;
}

.section-2 .toggle-content p {
    border-bottom: 0.05rem solid #444342;
    padding-bottom: 13.05%;
    margin: 0;
    text-align: left;
    letter-spacing: 0.12em;
}

.section-2 .toggle.open .toggle-icon {
    transform: rotate(45deg); /* + が × に */
}

.section-2 .toggle.open .toggle-content {
    display: block;
}

/* セクション3 */
.section-3 .content {
    max-width: 72.4rem;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.section-3 .image-text-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.section-3 .mask-fabric-image {
    display: block;
    width: 82.2%;
    height: auto;
    margin-left: 11.9%;
    margin-right: 5.9%;
    padding-top: 12%; /* 1000pxで120px → 12% */
}

.section-3 .vertical-text-wrapper {
    position: absolute;
    left: 0;
    top: 6.6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 11.9%;
    height: 100%;
    padding-left: 0.41%;
}

.section-3 .vertical-text-wrapper::after {
    content: '';
    width: min(0.18vw, 0.1rem);
    height: 35%;
    background-color: #0C0C0C;
    margin-top: 4.07vw;
    order: 2;
    transform: scale(1, 0); /* 初期非表示 */
    transform-origin: top center;
    animation: none; /* アニメーションオフ */
}

.section-3 .vertical-text-wrapper.animate::after {
    animation: scroll 3s forwards;
}

.section-3 .vertical-text {
    font-size: min(2.73vw, 1.9rem);
    font-family: the-seasons, sans-serif;
    color: #333333;
    font-weight: 400;
    letter-spacing: 0.04em;
    writing-mode: vertical-rl;
    text-align: center;
    order: 1;
}

.section-3 .mask-content {
    padding: 0 0 14.43% 5.92%;
    text-align: left;
    width: calc(72.4rem - 4.286rem);
    box-sizing: border-box;
    max-width: 100%;
}

.section-3 .mask-first-padding {
    padding: 12.27% 0 0 5.92%;
}

.section-3 .mask-first {
    font-size: min(3.59vw, 2.6rem);
    font-family: the-seasons, sans-serif;
    color: #A8BCDA;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.section-3 .mask-content h3 {
    font-size: min(7vw, 5.068rem);
    letter-spacing: 0.02em;
}

.section-3 .mask-second {
    font-size: min(3vw, 2.172rem);
    color: #333333;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.section-3 .material {
    margin-bottom: 2rem;
    text-align: center;
}

.section-3 .material.material-first,
.section-3 .material.material-second {
    width: 86.6%;
    max-width: 72.4rem;
    background-color: transparent;
    position: relative;
    margin: 0 auto;
}

.section-3 .material-list {
    list-style: none;
}

.section-3 .material-image {
    width: 100%;
    height: auto;
    display: block;
}

.section-3 .material.material-first {
    padding-bottom: 10.5%;
}

.section-3 .material.material-second {
    padding-bottom: 13.7%;
}

/* セクション4 */
.section-4 {
    width: 100%;
    max-width: 72.4rem;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

/* メイン背景 */
.section-4 .background-main {
    width: 100%;
    max-width: 72.4rem;
    height: 0;
    padding-bottom: 168.16%;
    background-image: url('img/patent-background.webp');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
}

/* セカンド画像 */
.section-4 .background-image {
    width: 100%;
    max-width: 72.4rem;
    height: auto;
    display: block;
}

.section-4 .second-image {
    padding-bottom: 13.98%;
}

/* テキストのスタイル */
.section-4 .text-group {
    position: absolute;
    text-align: center;
    width: 100%;
}

.section-4 .overlay-text {
    margin: 0;
    letter-spacing: 0.1em;
}

/* グループ1 */
.section-4 .group-1 {
    top: 10.48%;
    text-align: center;
    width: 100%;
}

.section-4 .number-image {
    display: block;
    margin: 0 auto;
    width: min(24.5vw, 17.74rem);
    height: auto;
}

/* グループ2 */
.section-4 .group-2 {
    top: 27.4%;
    text-align: center;
    width: 100%;
}

.section-4 .english {
    font-size: min(3.0vw, 2.172rem);
    letter-spacing: 0.06em;
    text-indent: 0.06em;;
    font-family: the-seasons, sans-serif;
    color: #6E7073;
}

.section-4 .japanese {
    font-size: min(7.0vw, 5.068rem);
    letter-spacing: 0.02em;
    margin-top: 0.23em;
}

.section-4 .short {
    font-size: min(3.5vw, 2.534rem);
    letter-spacing: 0.02em;
    line-height: 1.0;
    margin-top: 0.1em;
}

/* グループ3 */
.section-4 .group-3 {
    top: 57%;
    text-align: center;
    width: 100%;
}

.section-4 .group-3 .overlay-text {
    font-size: min(5.0vw, 3.62rem);
    background-color: rgba(68, 67, 66, 0.84);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: min(81.3vw, 58.861rem);
    height: 1.72em;
    letter-spacing: 0.02em;
}

/* グループ4 */
.section-4 .group-4 {
    text-align: center;
    width: 100%;
    top: 65.8%; 
    color:#333333;
}

.section-4 .medium {
    font-size: min(5.0vw, 3.62rem);
    width: 100%; 
    line-height: 1.4em;
    margin-bottom: 0.8em;
    padding-left: 0.1em;
}

.section-4 .long {
    font-size: min(3.0vw, 2.172rem);
    width: 100%; 
    line-height: 1.68em;
    letter-spacing: 0.02em;
    padding-left: 0.04em;
}

.section-4 .long .highlight {
    font-weight: 600;
}

/* セクション5 */
.section-5 .content {
    width: 100%;
    max-width: 72.4rem;
    margin: 0 auto;
    text-align: center;
    background-color: #F1F1F1;
}

.section-5 .content * {
    line-height: 1;
    letter-spacing: 0.02em;
    text-indent: 0.02em;
}

.section-5 h2 {
    font-size: min(9vw, 6.516rem);
    font-family: the-seasons, sans-serif;
    color: #A8BCDA;
    padding: 23.93% 0 4.9%;
}

.section-5 .first {
    font-size: min(4vw, 2.896rem);
    padding-bottom: 2.36%;
    letter-spacing: 0.04em;
    text-indent: 0.04em;
    line-height: 1.375;
}

.section-5 .second {
    font-size: min(2.4vw, 1.736rem);
    font-family: the-seasons, sans-serif;
    padding-bottom: 6.51%; 
    color: #A8BCDA;
    letter-spacing: 0.04em;
    text-indent: 0.04em;
}

/* スライダー全体 */
.section-5 .slider {
    width: 100%;
    max-width: 72.4rem;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* スライドコンテナ */
.section-5 .slides {
    display: flex;
    width: calc(100% * 4);
    transition: transform 0.5s ease;
    transform: translateX(0);
}

/* 各スライド */
.section-5 .slide {
    width: 100%;
    text-align: center;
}

/* 画像 */
.section-5 .slide img {
    width: min(92.5%, 92.5vw);
    height: auto;
    max-width: 67rem;
    object-fit: contain;
}

.section-5 .dots {
    display: flex;
    justify-content: center;
    padding: 5.89% 0 12.9%;
}

.section-5 .dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #bbb;
    border-radius: 50%;
    margin: 0 1.66%;
    cursor: pointer;
}

.section-5 .dot.active {
    background-color: #444342;
}

/* セクション6 */
.section-6 .content {
    width: 100%;
    max-width: 72.4rem;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.section-6 .content * {
    box-sizing: border-box;
    max-width: 100%;
    padding-inline-start: 0;
}

.section-6 .voice-title {
    font-size: min(5vw, 3.62rem);
    padding: 15.74% 0 2.86%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-6 h2 {
    margin: 0;
}

.section-6 .customer-voice {
    font-family: 'Antro Vectra', sans-serif;
    font-weight: 400;
    font-size: min(5.25vw, 3.804rem);
    margin: 0 auto;
    text-align: center;
}

.section-6 .voice-text {
    margin-top: 2.08%;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
}

.section-6 .reviews {
    display: flex;
    flex-direction: column;
    align-items: center; 
    list-style: none;
    margin: 0;
}

.section-6 .review {
    width: 88.67%;
}

.section-6 .review img {
    width: 100%;
    height: auto;
    display: block;
    padding-bottom: 5.4%;
}

.section-6 .reviews .review:last-child img {
    padding-bottom: 12.26%;
}

/* セクション7 */
.section-7 {
    overflow: hidden;
}

.section-7 .content {
    width: 100%;
    max-width: 72.4rem;
    margin: 0 auto;
    text-align: center;
    color: #222222;
}

.section-7 .content * {
    box-sizing: border-box;
    max-width: 100%;
}

.section-7 .title {
    font-size: min(9vw, 6.516rem);
    margin: 0;
    font-family: the-seasons, sans-serif;
    line-height: 1;
    max-width: 72.4rem;
    padding: 10.15% 0 9.04%;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}

.section-7 .main-image {
    width: 100%;
    max-width: 72.4rem;
    height: auto;
    display: block;
}

.section-7 .name {
    font-size: min(4vw, 2.896rem);
    font-family: the-seasons, sans-serif;
    margin: 0;
    max-width: 72.4rem;
    padding: 9.22% 0 9.5%;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    line-height: 1;
}

.section-7 .name span {
    font-family: '游明朝体';
    font-weight: 500;
    padding-top: 1.66%;
    display: block;
}

.section-7 .subtitle {
    width: 85%;
    height: min(8.9vw, 6.45rem);
    border: 0.05rem solid #5C5C5C;
    margin:auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-7 .subtitle p {
    font-size: min(4vw, 2.896rem);
    margin: 0;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}

.section-7 .price-image {
    width: min(100vw, 72.4rem);
    height: auto;
    margin: auto; 
    padding: 5.44% 0 3.97%;
}

.section-7 .note-image {
    width: 65%;
    height: auto;
    margin: auto; 
    padding-bottom: 7.82%;
}

.section-7 .regular-image {
    width: 100%;
    max-width: 72.4rem;
    height: auto;
    padding: 5.24% 0 9.3%;
}

.section-7 .buy-button-wrapper {
    text-align: center;
    padding-bottom: 9.5%;
}

.section-7 .buy-button-second {
    padding-bottom: 8.95%;
}

.section-7 .buy-button {
    display: inline-block;
}

.section-7 .buy-button img {
    width: 72.37%;
    height: auto;
    display: block;
    margin: auto;
}

.section-7 .regular {
    width: 85%;
    height: min(8.9vw, 6.45rem);
    border: 0.05rem solid #5C5C5C;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-7 .regular p {
    font-size: min(4vw, 2.896rem);
    margin: 0;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}

.section-7 .buy-button img:hover {
    filter: brightness(1.07);
    background-color: rgba(255, 255, 255, 0.3);
}

/* フェードイン対象の初期状態 */
.fade-in {
    opacity: 0;
    transform: translateY(20px); /* 下から20px浮かせておく */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 表示状態（JSで付与するクラス） */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}