  html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background-image: url("top-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

h1 {
    color: #ff69b4;
    font-size: 100px;
    text-align: center;
    margin-top: 100px;
    letter-spacing: 5px;
}
.card {
    background-color: rgba(255, 255, 255, 0.4);
    width: 500px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(217, 138, 203, 0.2);
}

.cloud {
    font-size: 80px;
    text-align: center;
}
.cloud {
    font-size: 50px;
    position: absolute;
    top: 50px;
    right: 100px;
    opacity: 0.5;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0);
    }
}
nav {
    text-align: right;
    padding: 30px 50px;
}

nav a {
    color: #d98acb;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    font-weight: bold;
}
nav a {
    transition: all 0.3s ease;
}

nav a:hover {
    color: #ff69b4;
    transform: translateY(-3px);
}
nav a {
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #ff69b4;
    transition: width 1s ease;
}

nav a:hover::after {
    width: 100%;
}
.hero-text {
    text-align: center;
    margin-top: 200px;
}
.hero-text h1 {
    transform: translateY(-40px);
    opacity: 0;
    animation: fadeIn 5.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.hero-text h1 {
    transform: translateY(-60px);
}
.hero-text p {
    color: #f195c8;
    opacity: 0;
    animation: fadeInCopy 2.5s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fadeInCopy {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.hero-links {
    text-align: center;
    margin-top: 80px;
}

.hero-links a {
    margin: 0 30px;
}
.hero-links a {
    font-family: inherit;
    color: #f195c8;
}
.hero-links a {
    text-decoration: none;
}

.hero-links a::after {
    display: none;
}
.hero-links {
    opacity: 0;
    animation: fadeInLinks 2s ease forwards;
    animation-delay: 2s;
}

@keyframes fadeInLinks {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.page-title {
    font-size: 70px;
    text-align: left;
    margin-left: 200px;
    opacity: 0;
    animation: slideInTitle 1.5s ease forwards;
}
.contact-hero .page-title {
    margin-left: 0;
}

@keyframes slideInTitle {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes cardTextIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 20px;

    opacity: 0;
    animation: aboutTextIn 2s ease forwards;
    animation-delay: 2s;
}
@keyframes aboutTextIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about-content {
    width: 100%;
    padding: 50px 0 150px;
}

.about-block.right {
    margin-left: auto;
    margin-right: 1%;
    text-align: left;
}

.about-block.left {
    margin-left: 20%;
    margin-right: auto;
    text-align: left;
}
.about-block p {
    color: #e38abf;
}

.about-block p {
    margin-bottom: 35px;
}
.about-content {
    width: 100%;
    padding: 50px 0 150px;
}

.about-block {
    width: 45%;
    margin: 200px 0;
}

.about-block p {
    color: #e38abf;
    margin-bottom: 35px;
}
.about-block.reveal .text-group {
    opacity: 0;
    transform: translateY(40px);
}

.about-block.reveal.show .text-group {
    animation: groupUp 1.5s ease forwards;
}


.about-block.reveal.show .text-group:nth-of-type(1) {
    animation-delay: 0.4s;
}

.about-block.reveal.show .text-group:nth-of-type(2) {
    animation-delay: 1.2s;
}

.about-block.reveal.show .text-group:nth-of-type(3) {
    animation-delay: 2s;
}

.about-block.reveal.show .text-group:nth-of-type(4) {
    animation-delay: 2.8s;
}

.about-block.reveal.show .text-group:nth-of-type(5) {
    animation-delay: 3.4s;
}

.about-block.reveal.show .text-group:nth-of-type(6) {
    animation-delay: 4.2s;
}

.about-block.reveal.show .text-group:nth-of-type(7) {
    animation-delay: 5s;
}

.about-block.reveal.show .text-group:nth-of-type(8) {
    animation-delay: 5.8s;
}

.about-block.reveal.show .text-group:nth-of-type(9) {
    animation-delay: 6.4s;
}


@keyframes groupUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-block.reveal h2 {
    opacity: 0;
    transform: translateY(30px);
}

.about-block.reveal.show h2 {
    animation: headingUp 1s ease forwards;
    animation-delay: 0s;
}

@keyframes headingUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about-content .about-block:first-child {
    margin-top: 50px;
}

/* PRODUCTページ */

.product-page {
    text-align: center;
    padding: 50px 20px 15px;
}

.product-hero {
    max-width: 900px;
    margin: 0 auto;
}

.product-catchcopy {
    color: #c85b98;
    font-size: 38px;
    line-height: 1.8;
    letter-spacing: 3px;
    margin-bottom: 35px;
}

.product-description {
    color: #e38abf;
    font-size: 22px;
    margin-bottom: 20px;
}

.product-feature {
    color: #d98acb;
    font-size: 18px;
    margin-bottom: 55px;
}

.product-message {
    color: #c85b98;
    font-size: 16px;
    letter-spacing: 2px;
}

.product-hero {
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.product-image {
    flex: 1;
    min-height: 400px;
}

.product-text {
    flex: 1;
    text-align: center;
}

/* PRODUCT：脳の仕組み */

.product-section {
    max-width: 1100px;
    margin: 150px auto 100px;
    padding: 60px 30px;
    text-align: center;
}

.product-section-title {
    color: #c85b98;
    font-size: 36px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.product-section-lead {
    color: #e38abf;
    font-size: 17px;
    line-height: 2;
    margin-bottom: 50px;
}

.brain-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 70px;
}

.brain-card {
    flex: 1;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(217, 138, 203, 0.12);
}

.brain-card h3 {
    color: #c85b98;
    font-size: 22px;
}

.brain-card p {
    color: #d77eaf;
    font-size: 15px;
    line-height: 2;
}

.product-section-message {
    color: #c85b98;
    font-size: 27px;
    margin-bottom: 25px;
}

.product-section-description {
    color: #e38abf;
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 25px;
}
.ingredient-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 35px;
    max-width: 850px;
    margin: 0 auto 15px;
    justify-items: center;
    align-items: center;
}


.ingredient-card {
    position: relative;
    width: 200px;
    height: 200px;
    box-sizing: border-box;
    padding: 25px 20px;
    border-radius: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        radial-gradient(
            ellipse at 28% 18%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.35) 8%,
            transparent 28%
        ),
        radial-gradient(
            ellipse at 75% 80%,
            rgba(210, 190, 255, 0.08) 0%,
            transparent 55%
        ),
        linear-gradient(
            135deg,
            rgba(255, 225, 242, 0.22),
            rgba(220, 235, 255, 0.12),
            rgba(240, 220, 255, 0.20)
        );

    border: 1px solid rgba(255, 255, 255, 0.95);

    box-shadow:
        inset 2px 2px 8px rgba(255, 255, 255, 0.9),
        inset -3px -3px 10px rgba(190, 155, 220, 0.08),
        0 8px 24px rgba(217, 138, 203, 0.12);

    backdrop-filter: blur(3px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ingredient-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow:
        inset 6px 6px 15px rgba(255, 255, 255, 0.95),
        0 16px 35px rgba(217, 138, 203, 0.28);
}


/* 3番目・6番目のカード：ピンク×ブルーのガラス風 */
.ingredient-card:nth-child(3),
.ingredient-card:nth-child(6) {
    background:
        radial-gradient(
            ellipse at 28% 18%,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.25) 8%,
            transparent 28%
        ),
        linear-gradient(
            135deg,
            rgba(210, 235, 255, 0.18),
            rgba(255, 220, 238, 0.18),
            rgba(225, 215, 255, 0.14)
        );

    border: 1px solid rgba(255, 255, 255, 0.95);

    box-shadow:
        inset 2px 2px 8px rgba(255, 255, 255, 0.85),
        inset -3px -3px 10px rgba(150, 190, 240, 0.05),
        0 8px 24px rgba(160, 190, 240, 0.10);
}

.ingredient-card:hover {
    transform: translateY(-8px);
}

.ingredient-card span {
    color: #c88ab7;
    font-size: 12px;
    letter-spacing: 2px;
}

.ingredient-card h3 {
    color: #b85b8d;
    font-size: 16px;
    line-height: 1.5;
    margin: 8px 0;
}

.ingredient-card p {
    color: #a875a0;
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}
.ingredient-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    max-width: 900px;
    margin: 70px auto 15px;
}

/* 7つの成分を円形に配置 */

.ingredient-list.ingredient-circle {
    position: relative;
    display: block;
    width: 1500px;
    height: 600px;
    max-width: 100%;
    margin: 0 auto 15px;
}

.ingredient-circle .ingredient-card {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
}

/* 1〜7番を円周上に配置 */
.ingredient-circle .ingredient-card:nth-child(1) {
    transform: translate(-50%, -50%) translate(0, -240px);
}

.ingredient-circle .ingredient-card:nth-child(2) {
    transform: translate(-50%, -50%) translate(260px, -150px);
}

.ingredient-circle .ingredient-card:nth-child(3) {
    transform: translate(-50%, -50%) translate(415px, 55px);
}

.ingredient-circle .ingredient-card:nth-child(4) {
    transform: translate(-50%, -50%) translate(145px, 198px);
}

.ingredient-circle .ingredient-card:nth-child(5) {
    transform: translate(-50%, -50%) translate(-150px, 195px);
}

.ingredient-circle .ingredient-card:nth-child(6) {
    transform: translate(-50%, -50%) translate(-410px, 65px);
}

.ingredient-circle .ingredient-card:nth-child(7) {
    transform: translate(-50%, -50%) translate(-260px, -150px);
}

/* シャボン玉がふわふわ浮かぶアニメーション */
@keyframes bubbleFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -15px;
    }
}

/* 7つのシャボン玉にアニメーションを設定 */
.ingredient-circle .ingredient-card {
    animation: bubbleFloat 4s ease-in-out infinite;
}

/* 円ごとに動くタイミングをずらす */
.ingredient-circle .ingredient-card:nth-child(2) {
    animation-delay: -1s;
}

.ingredient-circle .ingredient-card:nth-child(3) {
    animation-delay: -2.5s;
}

.ingredient-circle .ingredient-card:nth-child(4) {
    animation-delay: -0.8s;
}

.ingredient-circle .ingredient-card:nth-child(5) {
    animation-delay: -3s;
}

.ingredient-circle .ingredient-card:nth-child(6) {
    animation-delay: -1.8s;
}

.ingredient-circle .ingredient-card:nth-child(7) {
    animation-delay: -2.2s;
}

/* 商品情報セクション */
.product-info-section {
    max-width: 950px;
    margin: 0 auto;
    padding: 10px 20px 80px;
}

/* 商品情報の白いカード */
.product-info-card {
    max-width: 680px;
    margin: 35px auto 0;
    padding: 40px 45px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(230, 180, 210, 0.5);
    border-radius: 24px;

    box-shadow: 0 12px 35px rgba(190, 130, 170, 0.10);
}

/* 商品名 */
.product-info-card h3 {
    margin: 0 0 20px;
    color: #bd5b91;
    font-size: 30px;
    letter-spacing: 0.08em;
}

/* 商品の説明文 */
.product-info-copy {
    color: #a95080;;
    line-height: 1.9;
    margin: 12px 0;
}

/* 商品スペック一覧 */
.product-info-list {
    margin: 30px 0 0;
    text-align: left;
}

.product-info-list > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid #f0dce7;
}

.product-info-list > div:first-child {
    border-top: 1px solid #f0dce7;
}

.product-info-list dt {
    color: #a95080;
    font-weight: bold;
    line-height: 1.8;
}

.product-info-list dd {
    margin: 0;
    color: #a95080;;
    line-height: 1.8;
}

/* PRODUCTページのお問い合わせ案内 */
.product-contact {
    max-width: 800px;
    margin: 20px auto 80px;
    padding: 55px 25px;
    box-sizing: border-box;
    text-align: center;

    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(230, 180, 210, 0.5);
    border-radius: 24px;
}

/* 英字ラベル */
.product-contact-label {
    margin: 0 0 14px;
    color: #bd5b91;
    font-size: 28px;
    letter-spacing: 0.2em;
}

/* 見出し */
.product-contact h2 {
    margin: 0 0 18px;
    color: #bd5b91;
    font-size: 28px;
    line-height: 1.7;
}

/* 説明文 */
.product-contact-text {
    margin: 0 0 28px;
    color: #bd5b91;
    font-size: 15px;
    line-height: 1.9;
}

/* お問い合わせボタン */
.product-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 15px 28px;
    border: 1px solid #c86b9d;
    border-radius: 999px;

    background: #c86b9d;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.04em;

    transition: background 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

/* マウスを乗せたとき */
.product-contact-button:hover {
    background: #ffffff;
    color: #bd5b91;
    transform: translateY(-3px);
}
/* 配合成分セクションの上の余白を調整 */
.ingredients-section {
    padding-top: 0px;
}

/* 商品情報と購入案内を横並びにする */
.product-info-layout {
    display: flex;
    align-items: stretch;
     justify-content: space-between;
    gap: 45px;
    max-width: 1150px;
    margin: 35px auto 0;
}

/* 商品情報カード */
.product-info-layout .product-info-card {
    flex: 1.5;
    min-width: 0;
    margin: 0;
}

/* 購入案内カード */
.product-buy-card {
    flex: 1;
    min-width: 0;
    padding: 35px 25px;
    box-sizing: border-box;
    border: 1px solid rgba(230, 180, 210, 0.5);
    border-radius: 24px;
    background: rgba(255, 245, 251, 0.9);
    box-shadow: 0 12px 35px rgba(190, 130, 170, 0.10);
    text-align: center;
    align-self: center;
}

.product-buy-card h3 {
    color: #bd5b91;
    font-size: 23px;
    margin: 0 0 18px;
}

.product-buy-card p {
    color: #a95080;
    line-height: 1.8;
}

.product-buy-button {
    display: block;
    margin-top: 25px;
    padding: 15px 12px;
    border-radius: 30px;
    background: #dca0c1;
    color: #ffffff;
    font-weight: bold;
}

/* =========================
   CONTACTページ
========================= */

.contact-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 100px;
    box-sizing: border-box;
}

/* CONTACTのタイトル */
.contact-hero {
    text-align: left;
    margin-bottom: 50px;
}

.contact-hero > p:first-of-type {
    color: #bd5b91;
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 12px;
}

.contact-hero > p:last-of-type {
    color: #8f7890;
    line-height: 1.9;
}

/* セクションのタイトル */
.contact-section-title {
    color: #bd5b91;
    font-size: 28px;
    text-align: center;
    margin: 0 0 15px;
}

.contact-section-lead {
    color: #8f7890;
    text-align: center;
    line-height: 1.9;
    margin-bottom: 35px;
}

/* FAQ全体 */
.faq-section {
    margin-bottom: 90px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 質問カード */
.faq-item {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(230, 180, 210, 0.55);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(190, 130, 170, 0.08);
    overflow: hidden;
}

/* 質問部分 */
.faq-item summary {
    position: relative;
    padding: 22px 55px 22px 24px;
    color: #a95080;
    font-weight: bold;
    line-height: 1.8;
    cursor: pointer;
    list-style: none;
}

/* 標準の三角マークを非表示 */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* 右側の＋マーク */
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #bd5b91;
    font-size: 24px;
    font-weight: normal;
}

/* 開いたときは－マーク */
.faq-item[open] summary::after {
    content: "−";
}

/* 回答部分 */
.faq-item > p {
    margin: 0;
    padding: 0 24px 24px;
    color: #786879;
    line-height: 2;
}

/* お問い合わせ案内 */
.contact-guide {
    padding: 45px 30px;
    margin-bottom: 80px;
    text-align: center;
    background: linear-gradient(135deg, #fff3fa, #f3efff);
    border: 1px solid rgba(230, 180, 210, 0.4);
    border-radius: 28px;
}

.contact-guide h2 {
    color: #a95080;
    font-size: 25px;
    margin: 0 0 18px;
}

.contact-guide p {
    color: #8f7890;
    line-height: 2;
    margin-bottom: 28px;
}

/* お問い合わせボタン */
.contact-guide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 15px 30px;
    border-radius: 40px;
    background: #dca0c1;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.contact-guide-button:hover {
    background: #c77eaa;
    box-shadow: 0 8px 20px rgba(190, 130, 170, 0.2);
    transform: translateY(-2px);
}

/* お問い合わせフォームの案内 */
.contact-form-section {
    padding-top: 10px;
}

/* FAQカテゴリー見出し */
.faq-category-title {
    margin: 45px 0 20px;
    padding: 0 0 10px;
    color: #bd5b91;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 2px solid #eac5dc;
    line-height: 1.6;
}
/* =========================
   お問い合わせフォームページ
========================= */

.inquiry-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 24px 100px;
    box-sizing: border-box;
}

/* ページタイトル */
.inquiry-hero {
    text-align: center;
    margin-bottom: 50px;
}

.inquiry-hero > p:first-of-type {
    color: #bd5b91;
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 12px;
}

.inquiry-hero > p:last-of-type {
    color: #8f7890;
    line-height: 1.9;
}

/* フォーム全体 */
.inquiry-form-section {
    padding: 40px;
    background: linear-gradient(135deg, #fff7fb, #f8f5ff);
    border: 1px solid #f0dce9;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(190, 130, 170, 0.08);
}

/* 入力項目 */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.inquiry-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inquiry-form label {
    color: #a95080;
    font-weight: bold;
    line-height: 1.7;
}

.inquiry-form label span {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    color: #ffffff;
    background: #d98bb5;
    border-radius: 5px;
    font-size: 11px;
}

/* 入力欄 */
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
    border: 1px solid #e6cddd;
    border-radius: 12px;
    background: #ffffff;
    color: #66566a;
    font: inherit;
    outline: none;
    transition: 0.2s;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: #dca0c1;
    box-shadow: 0 0 0 3px rgba(220, 160, 193, 0.18);
}

.inquiry-form textarea {
    resize: vertical;
    line-height: 1.8;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #c2b2c1;
}

/* 送信ボタン */
.inquiry-submit-button {
    align-self: center;
    min-width: 220px;
    padding: 15px 30px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(100deg, #dca0c1, #b9a0e5);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.inquiry-submit-button:hover {
    box-shadow: 0 8px 20px rgba(190, 130, 170, 0.22);
    transform: translateY(-2px);
}

/* CONTACTページへ戻る */
.inquiry-back {
    margin-top: 35px;
    text-align: center;
}

.inquiry-back a {
    color: #bd5b91;
    text-decoration: none;
}

.inquiry-back a:hover {
    text-decoration: underline;
}
/* =========================
   お問い合わせページ
========================= */

.inquiry-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 24px 100px;
    box-sizing: border-box;
}

/* ページタイトル */
.inquiry-hero {
    text-align: center;
    margin-bottom: 45px;
}

.inquiry-hero > p {
    color: #8f7890;
    line-height: 1.9;
}

/* フォーム全体 */
.inquiry-form-section {
    padding: 40px;
    background: linear-gradient(135deg, #fff7fb, #f8f5ff);
    border: 1px solid #f0dce9;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(190, 130, 170, 0.08);
}

/* 入力項目 */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.inquiry-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inquiry-form label {
    color: #a95080;
    font-weight: bold;
}

.inquiry-form label span {
    margin-left: 6px;
    padding: 3px 8px;
    color: #ffffff;
    background: #d98bb5;
    border-radius: 5px;
    font-size: 11px;
}

/* 入力欄 */
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
    border: 1px solid #e6cddd;
    border-radius: 12px;
    background: #ffffff;
    color: #66566a;
    font: inherit;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: #dca0c1;
    box-shadow: 0 0 0 3px rgba(220, 160, 193, 0.18);
}

.inquiry-form textarea {
    resize: vertical;
    line-height: 1.8;
}

/* 送信ボタン */
.inquiry-submit-button {
    align-self: center;
    min-width: 220px;
    padding: 15px 30px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(100deg, #dca0c1, #b9a0e5);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* CONTACTページへ戻る */
.inquiry-back {
    margin-top: 35px;
    text-align: center;
}

.inquiry-back a {
    color: #bd5b91;
    text-decoration: none;
}
/* =========================
   共通フッター
========================= */

.site-footer {
    margin-top: 80px;
    padding: 50px 6% 20px;
    background: linear-gradient(120deg, #fff2f8, #f2edff);
    border-top: 1px solid #f0d9e9;
    color: #795d7c;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    color: #bd6e9d;
    font-size: 36px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.footer-message {
    margin: 0 0 20px;
    color: #8f7890;
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 28px;
}

.footer-nav,
.footer-subnav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px 24px;
}

.footer-nav a,
.footer-subnav a {
    color: #795d7c;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a {
    font-size: 14px;
    font-weight: bold;
}

.footer-subnav a {
    font-size: 13px;
}

.footer-nav a:hover,
.footer-subnav a:hover {
    color: #d58ab5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 35px auto 0;
    padding-top: 18px;
    border-top: 1px solid #e9d7e7;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #9b879c;
    font-size: 12px;
}
/* =========================
   Happip フッター デザインアップデート
========================= */

.site-footer {
    margin-top: 100px;
    padding: 65px 7% 24px;
    background: linear-gradient(
        135deg,
        #fff7fb 0%,
        #f9f2ff 55%,
        #f2f0ff 100%
    );
    border-top: 1px solid #f0e2f0;
    color: #78647f;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    color: #c17da8;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.7;
}

.footer-message {
    margin: 0;
    color: #8f7b95;
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
}

.footer-nav,
.footer-subnav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.footer-nav a,
.footer-subnav a {
    position: relative;
    color: #78647f;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-nav a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.footer-subnav a {
    font-size: 12px;
    letter-spacing: 0.03em;
}

.footer-nav a::after,
.footer-subnav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: #cb8bb5;
    transition: width 0.25s ease;
}

.footer-nav a:hover,
.footer-subnav a:hover {
    color: #c17da8;
}

.footer-nav a:hover::after,
.footer-subnav a:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1180px;
    margin: 48px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(193, 125, 168, 0.2);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #a392a8;
    font-size: 11px;
    letter-spacing: 0.08em;
}
/* =========================
   フッター微調整
========================= */

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 42px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.footer-message {
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.05em;
}
/* フッターメニューの文字を大きくする */

.footer-nav a {
    font-size: 16px;
}

.footer-subnav a {
    font-size: 14px;
}
/* =========================
   フッター文字カラー変更
========================= */

/* フッター全体の文字色 */
.site-footer {
    color: #853DEB;
}

/* Happipロゴ */
.footer-logo {
    color: #F044A0;
}

/* キャッチコピー */
.footer-message {
    color: #dd86c3;
}

/* 上段のメニュー */
.footer-nav a {
    color: #eb3db1;
}

/* 下段のリンク */
.footer-subnav a {
    color: #d644cc;
}

/* コピーライト */
.footer-bottom p {
    color: #C05AA7;
}

/* マウスを乗せたとき */
.footer-logo:hover {
    color: #D92F8B;
}

.footer-nav a:hover,
.footer-subnav a:hover {
    color: #F044A0;
}

/* リンク下線もピンクに */
.footer-nav a::after,
.footer-subnav a::after {
    background: #F044A0;
}
/* フッターの幅を調整 */
.site-footer {
    padding-top: 15px;
    padding-bottom: 5px;
}
/* =========================
   フッターの高さ・行間を調整
========================= */

/* フッター上下の余白 */
.site-footer {
    padding-top: 25px;
    padding-bottom: 15px;
}

/* 上段メニューと下段リンクの間隔 */
.footer-nav {
    margin-bottom: 10px;
}

.footer-subnav {
    margin-top: 0;
}
/* フッターの間隔を調整 */
.site-footer {
    padding-top: 25px;
    padding-bottom: 15px;
}

.footer-nav {
    margin-bottom: 0;
}

.footer-subnav {
    margin-top: 0;
}

/* 上段・下段の間隔を詰める */
.footer-brand,
.footer-nav,
.footer-subnav {
    row-gap: 10px;
}
/* フッターの上下の段の間隔を狭くする */
.footer-nav {
    margin-bottom: 0;
}

.footer-subnav {
    margin-top: 0;
}
/* フッターの上下2段の間隔を調整 */
.footer-links {
    gap: 12px;
}
/* フッター下段とコピーライトの間隔を調整 */
.footer-bottom {
    margin-top: 12px;
    padding-top: 12px;
}
/* TOPページの高さを画面いっぱいにする */
.hero {
    min-height: 100vh;
    box-sizing: border-box;
}
/* スマホ：Topページのフッター位置を調整 */
@media screen and (max-width: 768px) {
    body:has(.hero-text) .site-footer {
        margin-top: 20px;
    }
}
/* CONTACTタイトル専用 */
.contact-hero .page-title {
    margin-left: 0;
    animation: contactTitleSlide 1.5s ease forwards;
}

@keyframes contactTitleSlide {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* CONTACTタイトルの位置調整 */
.contact-hero .page-title {
    margin-left: 0;
    position: relative;
    left: -44px;
    top: -65px;
    animation: slideInTitle 1.5s ease forwards;
}

/* ABOUT：ゆるい手描き風の見出し */
.about-content .about-block h2 {
    display: inline-block;
    position: relative;
    color: #c85b98;
    font-family: inherit;
    font-size: 34px;
    font-weight: bold;
    transform: rotate(-7deg) !important;
transform-origin: left center;
    padding: 0 30px 18px 4px;
    margin-bottom: 20px;
}

/* 大きめの手描きハート */
.about-content .about-block h2::before {
    content: "";
    position: absolute;
    width: 38px;
    height: 36px;
    top: -23px;
    right: -10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 38'%3E%3Cpath d='M20 33 C15 28 4 20 5 11 C6 3 15 4 20 13 C25 2 36 5 35 14 C35 23 26 29 20 33 Z' fill='none' stroke='%23e78ab5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 12 C8 7 12 6 15 8' fill='none' stroke='%23e78ab5' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
    transform: rotate(15deg);
}

/* 長くてゆるい手描き風の波線 */
.about-content .about-block h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 100%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C14 1 22 14 36 8 S57 4 70 9 S93 14 107 7 S129 3 143 9 S166 14 180 7 S203 4 216 9 S231 12 238 6' fill='none' stroke='%23e78ab5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100% 12px;
}

/* ABOUT：画像のサイズ調整 */
.about-image {
    width: 280px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* ABOUT：Happipの画像を左側に配置 */
.about-content > .about-block.right:first-child {
    position: relative;
}

.about-content > .about-block.right:first-child .about-image {
    position: absolute;
    width: 75%;
    max-width: 650px;
    height: auto;
    left: -95%;
    top: 40%;
    transform: translateY(-50%);
    transform-origin: center center;
    border-radius: 24px;
}

@keyframes aboutImageFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 文章は既存の位置を維持 */
.about-content > .about-block.right:first-child .about-text {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin-left: 0;
}

/* Happip：ピンクのカスタムカーソル */
html,
body {
    cursor: none;
}

/* リンクに乗せたとき */
a,
button {
    cursor: pointer;
}

/* TOPメッセージ下のABOUT・STORYリンク */
.hero-links a {
    display: inline-block;
    position: relative;
    transition:
        color 0.4s ease,
        transform 0.4s ease,
        text-shadow 0.4s ease;
}

/* ABOUT・STORYのホバー演出 */
.hero-links a {
    display: inline-block;
    position: relative;
    isolation: isolate;
    transition:
        color 0.8s ease,
        transform 0.8s ease,
        text-shadow 0.8s ease;
}

/* 文字の下にふわっと広がるピンクの光 */
.hero-links a::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -20px;
    right: -20px;
    bottom: -14px;
    height: 150%;
    border-radius: 50%;
    background: radial-gradient(
    ellipse at center,
    rgba(255, 190, 220, 0.3) 0%,
    rgba(255, 190, 220, 0.12) 50%,
    rgba(255, 190, 220, 0) 100%
);
    filter: blur(18px);
    opacity: 0;
    transform: scale(0.7);
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
    pointer-events: none;
}

/* スパンコール風のラメ */
.hero-links a::after {
    content: "✧  · ✦ ·  ✧  · ⋆";
    position: absolute;
    z-index: 1;
    top: -22px;
    right: -32px;
    width: 100px;
    color: #ffe6f3;
    font-size: 15px;
    letter-spacing: 2px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    text-shadow:
        0 0 3px #fff,
        0 0 8px rgb(250, 246, 248);
}

/* マウスを乗せたとき */
.hero-links a:hover {
    color: #ff62c0;
    transform: translateY(-4px);
    text-shadow: 0 0 12px rgba(249, 135, 232, 0.932);
}

.hero-links a:hover::before {
    opacity: 1;
    transform: scale(1.15);
}

.hero-links a:hover::after {
    animation: heroSparkle 1.2s ease-in-out infinite;
}
/* ラメ粒子を表示するエリア */
.hero-links a {
    position: relative;
}

.sparkle-area {
    position: absolute;
    inset: -25px -30px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* 小さなラメの粒 */
.sparkle-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
   background: var(--sparkle-color);
box-shadow:
    0 0 2px #ffffff,
    0 0 5px rgba(255, 255, 255, 1),
    0 0 9px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(255, 240, 250, 0.7);
    opacity: 0;
    transform: scale(0.2);
}

/* カーソルを合わせると粒子が出現 */
.hero-links a:hover .sparkle-area {
    opacity: 1;
}

.hero-links a:hover .sparkle-particle {
    animation: sparkleBlink var(--duration) ease-in-out var(--delay) infinite alternate;
}

@keyframes sparkleBlink {
    0% {
        opacity: 0.1;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.25;
        transform: scale(0.7);
    }
}
/* 小さなダイヤモンド風のキラキラ */
.sparkle-diamond {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    pointer-events: none;
    opacity: 0;

    background: #ffffff;
    clip-path: polygon(
        50% 0%,
        62% 38%,
        100% 50%,
        62% 62%,
        50% 100%,
        38% 62%,
        0% 50%,
        38% 38%
    );

    filter: drop-shadow(0 0 2px #ffffff)
            drop-shadow(0 0 4px rgba(255, 255, 255, 0.9));
}

/* ダイヤが小さく瞬く */
.hero-links a:hover .sparkle-diamond {
    animation: diamondTwinkle 1.4s ease-in-out var(--delay) infinite;
}

@keyframes diamondTwinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }

    45%, 60% {
        opacity: 1;
        transform: scale(1) rotate(45deg);
    }
}

/* TOPページの雲を一時的に非表示 */
.cloud {
    display: none !important;
}

/* 配合成分の見出しを少し上へ */
.ingredients-section > .product-section-title {
    transform: translateY(-40px);
}
/* PRODUCTの画像と文章を横並びにする */
.product-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    margin: 60px auto;
    padding: 30px;
}

.product-hero .product-image {
    flex: 1;
    min-width: 0;
}

.product-hero .product-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
}

.product-hero .product-text {
    flex: 1;
    min-width: 0;
}
/* PRODUCTの画像と文章のバランス調整 */
.product-hero {
    gap: 30px;
}

.product-hero .product-image {
    flex: 1.5;
}

.product-hero .product-text {
    flex: 1;
    margin-left: 20px;
    transform: translateY(-100px);
    align-self: flex-end;
}
/* PRODUCTの文章を右に移動 */
.product-hero .product-text {
    position: relative;
    left: 90px;
}
/* PRODUCTの画像を少し上に移動 */
.product-hero .product-image {
    position: relative;
    top: -35px;
}
/* PRODUCT画像：奥からふわっと、なめらかにぴょんぴょん */
@keyframes productImageAppear {
    0% {
        opacity: 0;
        transform: perspective(1200px) translate3d(0, 20px, -650px) scale(0.3);
    }

    20% {
        opacity: 1;
        transform: perspective(1200px) translate3d(0, -30px, -350px) scale(0.6);
    }

    27% {
        transform: perspective(1200px) translate3d(0, 0, -300px) scale(0.65);
    }

    36% {
        transform: perspective(1200px) translate3d(0, -24px, -220px) scale(0.75);
    }

    43% {
        transform: perspective(1200px) translate3d(0, 2px, -170px) scale(0.81);
    }

    52% {
        transform: perspective(1200px) translate3d(0, -18px, -100px) scale(0.88);
    }

    59% {
        transform: perspective(1200px) translate3d(0, 2px, -60px) scale(0.93);
    }

    67% {
        transform: perspective(1200px) translate3d(0, -13px, -25px) scale(0.97);
    }

    74% {
        transform: perspective(1200px) translate3d(0, 1px, 0) scale(1);
    }

    81% {
        transform: perspective(1200px) translate3d(0, -8px, 0) scale(1.01);
    }

    88% {
        transform: perspective(1200px) translate3d(0, 1px, 0) scale(1);
    }

    94% {
        transform: perspective(1200px) translate3d(0, -3px, 0) scale(1.003);
    }

    100% {
        opacity: 1;
        transform: perspective(1200px) translate3d(0, 0, 0) scale(1);
    }
}
/* PRODUCT画像：奥からゆっくりズームイン */
@keyframes productImageZoom {
    0% {
        opacity: 0;
        transform: perspective(1200px) translate3d(0, 0, -500px) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: perspective(1200px) translate3d(0, 0, 0) scale(1);
    }
}

.product-hero .product-image img {
    animation: none;
    transform-origin: center center;
}

.product-hero .product-image img.is-visible {
    animation: productImageZoom 3s ease-out both;
}

/* カーソルの後ろにピンクの煙っぽい光 */
.cursor-trail-sparkle {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    line-height: 1;
    font-weight: bold;
    text-shadow:
        0 0 3px #ffffff,
        0 0 6px currentColor,
        0 0 12px rgba(255, 160, 220, 0.9);
    transform: translate(-50%, -50%);
    animation: sparkleTrailFade 0.9s ease-out forwards;
}

@keyframes sparkleTrailFade {
    0% {
        opacity: 0;
        scale: 0.4;
        filter: blur(2px) brightness(1);
    }

    20% {
        opacity: 1;
        scale: 1.3;
        filter: blur(0) brightness(1.8);
    }

    55% {
        opacity: 0.8;
        scale: 1;
        filter: blur(0.5px) brightness(1.4);
    }

    100% {
        opacity: 0;
        scale: 0.5;
        filter: blur(3px) brightness(1.2);
        translate: var(--drift) -18px;
    }
}

@keyframes glitterFade {
    0% {
        opacity: 0;
        scale: 0.3;
    }

    25% {
        opacity: 1;
        scale: 1;
    }

    100% {
        opacity: 0;
        scale: 0.2;
        translate: var(--glitter-drift) -10px;
    }
}

/* カーソルの後ろにピンクの煙 */
.cursor-glow {
    position: fixed;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(255, 170, 220, 0.45) 0%,
        rgba(255, 200, 235, 0.2) 45%,
        transparent 75%
    );
    animation: cursorGlowFade 0.7s ease-out forwards;
}

@keyframes cursorGlowFade {
    from {
        opacity: 1;
        scale: 0.6;
    }
    to {
        opacity: 0;
        scale: 2.2;
    }
}
/* 煙の中でキラッと光る極小ラメ */
.cursor-glitter {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    color: #fffaff;
    font-size: 5px;
    line-height: 1;
    text-shadow:
        0 0 2px #ffffff,
        0 0 4px #ffc0e3,
        0 0 6px rgba(255, 190, 235, 0.8);
    transform: translate(-50%, -50%);
    animation: cursorGlitterFade 0.65s ease-out forwards;
}

@keyframes cursorGlitterFade {
    0% {
        opacity: 0;
        scale: 0.3;
    }

    35% {
        opacity: 0.9;
        scale: 1;
    }

    100% {
        opacity: 0;
        scale: 0.4;
        translate: var(--glitter-drift) -8px;
    }
}
/* VISION画像の配置 */
.about-content .vision-block {
    position: relative;
}

.about-content .vision-block .vision-image {
    position: absolute;
    width: 75%;
    max-width: 500px;
    height: auto;
    left: -95%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 24px;
    opacity: 1;
    object-fit: cover;
}
/* ABOUTページの画像：フェードイン */
.fade-image {
    opacity: 0;
}

.fade-image.is-visible {
    animation: aboutImageFade 3s ease-out both;
}



/* MISSION：文章と写真を横並びに */
.mission-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.mission-text {
    flex: 1;
    min-width: 0;
}


/* MISSION：他の画像と同じ配置方法 */
.about-content .mission-layout {
    position: relative;
}

.about-content .mission-layout .mission-image {
    position: absolute;
    width: 75%;
    max-width: 540px;
    height: auto;
    right: -45%;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 24px;
    overflow: hidden;
}

.about-content .mission-layout .mission-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}


/* 心の自給率100%：画像と文章の配置 */
.about-content .heart-layout {
    position: relative;
}

.about-content .heart-layout .heart-image {
    position: absolute;
    width: 75%;
    max-width: 560px;
    height: auto;
    left: -95%;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 24px;
    overflow: hidden;
}

.about-content .heart-layout .heart-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}

/* ABOUT：画像がふわふわ浮かぶ */
@keyframes aboutImageFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }
}

/* MISSIONと心の自給率100%の画像を浮かせる */
.about-content .mission-image,
.about-content .heart-image {
    animation: aboutImageFloat 4s ease-in-out infinite;
    will-change: translate;
}

/* 動きを控えめにしたい環境では停止 */
@media (prefers-reduced-motion: reduce) {
    .about-content .mission-image,
    .about-content .heart-image {
        animation: none;
    }
}

/* STORY①：文章と画像を横並びにする */
.story-content .story-block {
    position: relative;
    width: 45%;
    min-height: 420px;
    display: flex;
    align-items: center;
}

/* STORY①：画像を左側に配置 */
.story-content .story-block .story-image {
    position: absolute;
    width: 50%;
    max-width: 420px;
    height: auto;
    left: -82%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 24px;
    object-fit: cover;
}

/* STORY①：文章を右側に配置 */
.story-content .story-block .text-group {
    position: relative;
    width: 100%;
    margin: 0;
}
/* STORY②：画像を右側に配置 */
.story-content .story-block-right {
    position: relative;
}

.story-content .story-block-right .story-image {
    position: absolute;
    width: 55%;
    max-width: 340px;
    height: auto;
    left: auto;
    right: -40%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 24px;
    object-fit: cover;
}
/* STORY③：画像を左側に配置 */
.story-content .story-block-left .story-image {
    left: -82%;
    right: auto;
}


.story-content .about-block.story-four .text-group {
    flex: 1;
    width: auto;
    min-width: 0;
    margin: 0;
}

.story-content .about-block.story-four .story-image {
    position: static !important;
    width: 35%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0;
    transform: none !important;
    flex-shrink: 0;
}


/* Happip ふわふわピンクカーソル */
body,
body * {
    cursor: url("./images/cursor.png") 1 1, auto !important;
}


/* Happip画像：ふわふわアニメーション */
.about-image-float {
    animation: happipFloat 4s ease-in-out infinite;
}

@keyframes happipFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

/* About：Happip画像のふわふわアニメーション */
@keyframes happipImageFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }
}
/* 幸感力の画像配置 */
.about-content .feeling-block {
    position: relative;
}



/* 幸感力の画像 */
.about-content .feeling-block .feeling-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
}
/* 幸感力の画像配置 */
.about-content .feeling-block .feeling-image-wrap {
    position: absolute;
    width: 75%;
    max-width: 500px;
    right: -45%;
    top: 50%;
    transform: translateY(-50%);
}

/* 幸感力の画像 */
.about-content .feeling-block .feeling-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
}
/* 幸感力：ふわふわアニメーション */
.about-content .feeling-block .feeling-image {
    animation: aboutImageFloat 4s ease-in-out infinite;
    will-change: translate;
}
/* STORY：画像をふわふわさせる */
.story-block .story-image,
.story-four .story-image {
    animation: happipImageFloat 4s ease-in-out infinite;
}

/* お問い合わせ完了画面 */
.inquiry-complete {
    max-width: 760px;
    margin: 80px auto;
    padding: 70px 24px;
    text-align: center;
    background: linear-gradient(135deg, #fff8fc, #f7f3ff);
    border-radius: 28px;
}

.complete-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5ddeb;
    color: #c47da9;
    font-size: 42px;
}

.complete-label {
    color: #b77ca5;
    letter-spacing: 0.25em;
    font-size: 13px;
    font-weight: bold;
}

.inquiry-complete h1 {
    margin: 20px 0;
    color: #51475b;
    line-height: 1.7;
    font-size: clamp(24px, 4vw, 34px);
}

.complete-message {
    color: #665e6d;
    line-height: 2;
}

.complete-note {
    margin: 28px 0;
    color: #928997;
    font-size: 12px;
    line-height: 1.8;
}

.complete-button {
    display: inline-block;
    margin-top: 12px;
    padding: 15px 30px;
    border-radius: 999px;
    background: #c98fb7;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.complete-button:hover {
    opacity: 0.8;
}
/* 特定商取引法・プライバシーポリシー共通 */

.legal-page {
    width: min(100% - 40px, 1000px);
    margin: 80px auto;
    color: #444;
    line-height: 1.9;
}

.legal-page h1 {
    margin-bottom: 40px;
    text-align: center;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 500;
}

.legal-intro {
    margin-bottom: 35px;
}

.legal-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.legal-table th,
.legal-table td {
    padding: 22px 16px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.legal-table th {
    width: 30%;
    font-weight: 600;
}

.legal-table a {
    color: inherit;
    overflow-wrap: anywhere;
}

.legal-note {
    margin-top: 30px;
    color: #777;
    font-size: 13px;
}

.back-link {
    display: inline-block;
    margin-top: 35px;
}

/* プライバシーポリシー */

.privacy-section {
    margin-top: 36px;
}

.privacy-section h2 {
    margin-bottom: 14px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.6;
}

.privacy-section p {
    margin: 0 0 16px;
    line-height: 1.9;
}

.privacy-section ul {
    padding-left: 1.5em;
    line-height: 1.9;
}

.privacy-date {
    margin-top: 40px;
    color: #777;
    font-size: 13px;
}

/* プライバシーポリシー・特定商取引法の白いボックス */
.legal-page {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
/* ========================================
   スマホ対応：基本の横幅調整
======================================== */

@media screen and (max-width: 768px) {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }
}
/* スマホ：Topページのフッターを下に配置 */
@media screen and (max-width: 768px) {
    body:has(.hero-text) {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    body:has(.hero-text) .site-footer {
        margin-top: auto;
    }
}

/* ========================================
   ABOUTページ：スマホレイアウト調整
======================================== */

@media screen and (max-width: 768px) {

    /* 各セクションを縦並びにする */
    .about-content > .about-block {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    /* Happip・MISSION・HEARTの文章 */
    .about-content > .about-block .about-text,
    .about-content > .about-block .mission-text,
    .about-content > .about-block .heart-text {
        order: 1;
        width: 100%;
        min-width: 0;
    }

    /* 画像を文章の下に配置 */
    .about-content > .about-block .about-image,
    .about-content > .about-block .mission-image,
    .about-content > .about-block .heart-image {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
        order: 2;
        width: 100%;
        max-width: 360px;
        height: auto;
        margin: 0 auto;
        opacity: 1;
        visibility: visible;
    }

    /* 画像本体の大きさを調整 */
    .about-content > .about-block .about-image,
    .about-content > .about-block .mission-image img,
    .about-content > .about-block .heart-image img {
        display: block;
        width: 100%;
        max-width: 360px;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        border-radius: 24px;
    }

    /* VISION・幸感力：文章を先、画像を後にする */
    .about-content > .about-block.vision-block,
    .about-content > .about-block.feeling-block {
        display: flex;
        flex-direction: column;
    }

    .about-content > .about-block.vision-block h2,
    .about-content > .about-block.feeling-block h2 {
        order: 0;
    }

    .about-content > .about-block.vision-block .text-group,
    .about-content > .about-block.feeling-block .text-group {
        order: 1;
    }

    .about-content > .about-block.vision-block .vision-image,
    .about-content > .about-block.feeling-block .feeling-image {
        order: 2;
    }

    /* MISSION・HEARTの画像枠も中央に配置 */
    .about-content > .about-block .mission-image,
    .about-content > .about-block .heart-image {
        flex: none;
    }
}

/* ABOUTページ：Happipだけスマホで縦並び */
@media screen and (max-width: 768px) {

    .about-content > .about-block.right:first-child {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .about-content > .about-block.right:first-child > .about-text {
        order: 1;
        width: 100%;
    }

    .about-content > .about-block.right:first-child > .about-image {
        position: static;
        order: 2;
        display: block;
        width: 100%;
        max-width: 360px;
        height: auto;
        margin: 0 auto;
        transform: none;
    }
}

/* PRODUCT：スマホでは画像→文章の順に縦並び */
@media screen and (max-width: 768px) {
    .product-page .product-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-page .product-hero .product-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .product-page .product-hero .product-image img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .product-page .product-hero .product-text {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        text-align: center;
    }
}



/* PRODUCT：スマホでは1個・2個を交互に配置 */
@media screen and (max-width: 768px) {

    .product-page .ingredient-list.ingredient-circle {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        align-items: center;
        justify-items: center;
        gap: 24px 12px;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-width: 0;
        margin: 0 auto 30px;
        padding: 30px 0;
        box-sizing: border-box;
    }

    .product-page .ingredient-circle .ingredient-card {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 155px;
        min-width: 0;
        margin: 0;
        transform: none;
        box-sizing: border-box;
        animation: bubbleFloat 4s ease-in-out infinite;
    }

    /* 1個ずつの段：中央に配置 */
    .product-page .ingredient-circle .ingredient-card:nth-child(1),
    .product-page .ingredient-circle .ingredient-card:nth-child(4),
    .product-page .ingredient-circle .ingredient-card:nth-child(7) {
        grid-column: 1 / -1;
        width: 155px;
    }

    /* 2個ずつの段：左右に配置 */
    .product-page .ingredient-circle .ingredient-card:nth-child(2),
    .product-page .ingredient-circle .ingredient-card:nth-child(5) {
        grid-column: 1;
    }

    .product-page .ingredient-circle .ingredient-card:nth-child(3),
    .product-page .ingredient-circle .ingredient-card:nth-child(6) {
        grid-column: 2;
    }

/* 中央の説明文字 */
.product-page .ingredient-circle .ingredient-center-text {
    position: relative;
    left: auto;
    top: auto;
    transform: none;

    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;

    font-size: 22px;
    font-weight: 600;
    line-height: 1.7;
    color: #b85b8d;

    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}
}

/* PRODUCT：PCの成分タイトルを中央に表示 */
@media screen and (min-width: 769px) {
    .product-page .ingredient-circle .ingredient-center-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: max-content;
        max-width: none;
        white-space: nowrap;
        text-align: center;
        font-size: 26px;
        font-weight: 600;
        line-height: 1.7;
        color: #b85b8d;
        z-index: 999;
        pointer-events: none;
    }
}


/* PRODUCT：スマホでは商品情報と購入案内を縦並びにする */
@media screen and (max-width: 768px) {

    .product-info-section {
        padding: 10px 16px 50px;
    }

    .product-info-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
        max-width: 100%;
        margin: 24px auto 0;
    }

    .product-info-layout .product-info-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 28px 22px;
        box-sizing: border-box;
    }

    .product-info-layout .product-info-card h3 {
        font-size: 26px;
        line-height: 1.5;
    }

    .product-info-layout .product-info-copy {
        font-size: 16px;
        line-height: 1.9;
    }

    .product-info-layout .product-info-list > div {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 0;
    }

    .product-info-layout .product-info-list dt,
    .product-info-layout .product-info-list dd {
        font-size: 14px;
        overflow-wrap: anywhere;
    }
}

/* スマホ版：商品情報と購入カードの横幅を統一 */
@media screen and (max-width: 768px) {
    .product-info-layout .product-info-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
}

/* PRODUCT：スマホでは購入カードも商品情報と同じ横幅にする */
@media screen and (max-width: 768px) {
    .product-info-layout .product-buy-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
        align-self: stretch;
    }
}

/* CONTACT：スマホではタイトルを中央に配置 */
@media screen and (max-width: 768px) {
    .contact-hero .page-title {
        width: 100%;
        margin-left: 0;
        text-align: center;
        transform: none;
        box-sizing: border-box;
    }
}

/* PRODUCT：スマホでは文章を中央に戻す */
@media screen and (max-width: 768px) {
    .product-page .product-hero .product-text {
        position: static;
        left: auto;
        margin-left: 0;
        transform: none;
        text-align: center;
    }
}
/* PRODUCT：PCでは中央のタイトルを泡より手前に表示 */
@media screen and (min-width: 769px) {
    .product-page .ingredient-circle {
        isolation: isolate;
    }

    .product-page .ingredient-circle .ingredient-card {
        z-index: 1;
    }

    .product-page .ingredient-circle .ingredient-center-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
        width: max-content;
        max-width: none;
        white-space: nowrap;
        text-align: center;
        color: #b85b8d;
        font-size: 26px;
        font-weight: 600;
        pointer-events: none;
    }
}
/* ========================================
   STORY：スマホ表示レイアウト
   文章が上・画像が下
======================================== */

@media screen and (max-width: 768px) {

    .story-content .story-block {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        width: 100%;
        max-width: 440px;
        margin: 0 auto 60px;
        padding: 0 24px;
        box-sizing: border-box;
    }

    /* 文章 */
    .story-content .story-block .text-group {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        font-size: 18px;
        line-height: 1.9;
    }

    /* 画像 */
    .story-content .story-block .story-image {
        order: 2;
        position: static;
        display: block;
        width: 85%;
        max-width: 320px;
        height: auto;
        margin: 0 0 0 auto;
        transform: none;
        object-fit: contain;
        box-sizing: border-box;
    }

}
/* ========================================
   STORY④：PC・スマホ表示
======================================== */

/* PC：文章と画像を横並び */
.story-content .about-block.story-four {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 50px;
    width: 55%;
    margin: 200px auto;
    position: relative;
    box-sizing: border-box;
}

.story-content .about-block.story-four .text-group {
    order: 1;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.story-content .about-block.story-four .story-image {
    order: 2;
    position: static !important;
    width: 35%;
    max-width: 300px;
    height: auto;
    margin: 0;
    transform: none !important;
    flex-shrink: 0;
    object-fit: cover;
}

/* スマホ：文章が上、画像が下 */
@media screen and (max-width: 768px) {

    .story-content .about-block.story-four {
        flex-direction: column !important;
        align-items: stretch;
        gap: 24px;
        width: 100%;
        max-width: 440px;
        margin: 0 auto 60px;
        padding: 0 24px;
        box-sizing: border-box;
    }

    .story-content .about-block.story-four .text-group {
        order: 1;
        flex: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        font-size: 18px;
        line-height: 1.9;
        box-sizing: border-box;
    }

    .story-content .about-block.story-four .story-image {
        order: 2;
        position: static !important;
        display: block;
        width: 85%;
        max-width: 320px;
        height: auto;
        margin: 0 0 0 auto;
        transform: none !important;
        object-fit: contain;
        box-sizing: border-box;
    }

}
/* ========================================
   脳の仕組みカード：スマホ表示
   縦1列に並べる
======================================== */

@media screen and (max-width: 768px) {

    /* カード全体を縦並びにする */
    .brain-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
        box-sizing: border-box;
    }

    /* 各カードの幅を整える */
    .brain-cards .brain-card {
        width: 100%;
        max-width: 360px;
        box-sizing: border-box;
        margin: 0;
    }

}
/* CONTACT：スマホ表示のタイトル調整 */
@media screen and (max-width: 768px) {
    .inquiry-hero .page-title {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 12px;
        box-sizing: border-box;

        font-size: clamp(28px, 7vw, 42px);
        line-height: 1.4;
        text-align: center;

        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
}


/* ========================================
   スマホ：横方向のはみ出しを防止
   ※PC表示には影響させない
======================================== */
@media screen and (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    body {
        min-width: 0;
    }
}

/* =========================
   ハンバーガーメニュー
========================= */

/* 三本線ボタン：PCでは非表示 */
.menu-toggle {
    display: none;
}

/* PC用ナビゲーション */
.main-nav {
    text-align: right;
    padding: 30px 50px;
}

.main-nav a {
    color: #d98acb;
    text-decoration: none;
    margin-left: 30px;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {

    /* 三本線ボタン */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 24px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        position: absolute;
        top: 25px;
        right: 20px;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #d98acb;
        border-radius: 3px;
    }

    /* メニューを閉じている状態 */
    .main-nav {
        display: none;
        position: absolute;
        top: 65px;
        right: 15px;
        width: 180px;
        padding: 20px;
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        box-sizing: border-box;
    }

    /* メニューを開いた状態 */
    .main-nav.is-open {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .main-nav a {
        margin: 0;
        text-align: center;
    }
}
/* ========================================
   ABOUT：スマホ表示の最終調整
======================================== */

@media screen and (max-width: 768px) {

    /* ABOUTタイトル：スマホ表示 */
body:has(.about-content) > .page-title {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 70px 0 0;
    padding: 0 16px;
    box-sizing: border-box;

    font-size: 36px;
    text-align: left;
padding-left: 40px;
    letter-spacing: 0;
    position: relative;
    left: -40;
    top: 0;
}
    /* ABOUT全体 */
    .about-content {
        width: 100%;
        padding: 30px 20px 80px;
        box-sizing: border-box;
    }

    /* 各ブロックの横幅と配置 */
    .about-content > .about-block {
        width: 100%;
        max-width: 440px;
        margin: 70px auto;
        padding: 0;
        box-sizing: border-box;
    }

    /* 左右配置を中央に統一 */
    .about-content > .about-block.right,
    .about-content > .about-block.left {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    /* 文章の横幅 */
    .about-content > .about-block .about-text,
    .about-content > .about-block .mission-text,
    .about-content > .about-block .heart-text {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

}
/* ABOUT：スマホの見出しと波線の幅を調整 */
@media screen and (max-width: 768px) {

    .about-content > .about-block > h2 {
        align-self: flex-start;
        width: fit-content;
        max-width: 100%;
    }

}
/* STORY：スマホ表示のタイトル調整 */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 36px;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding-left: 16px;
        padding-right: 16px;
    }
}
/* スマホ表示：フッターの横幅調整 */
@media screen and (max-width: 768px) {

    .site-footer {
    width: 100%;
    padding-left: 10px;
    padding-right: 5px;
    box-sizing: border-box;
}

    .footer-inner {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        box-sizing: border-box;
    }

    .footer-brand,
    .footer-links {
        width: 100%;
        box-sizing: border-box;
    }

       .footer-links {
        align-items: flex-end;
    }

    .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
}

.footer-nav a {
    text-align: right;
}
}
.footer-subnav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
}

.footer-subnav a {
    text-align: right;
}
/* PRODUCTページのスマホ用タイトル調整 */
@media screen and (max-width: 768px) {

    body:has(.product-page) > .page-title {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 70px 0 0;
        padding: 0 16px 0 40px;
        box-sizing: border-box;

        font-size: 36px;
        text-align: left;
        letter-spacing: 0;
        white-space: nowrap;
        position: relative;
        left: 0;
        top: 0;
    }

    .product-page {
        padding-top: 30px;
    }

}

/* STORYタイトル：スマホ表示 */
@media screen and (max-width: 768px) {

    body:has(.story-content) > .page-title {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 70px 0 0;
        padding: 0 16px;
        box-sizing: border-box;

        font-size: 36px;
        text-align: left;
        padding-left: 40px;
        letter-spacing: 0;
        position: relative;
        left: 0;
        top: 0;
    }
.story-content {
        padding-top: 30px;
    }

}
/* PRODUCT：スマホ用の文章レイアウト調整 */
@media screen and (max-width: 768px) {

    .product-page .product-catchcopy {
        width: 100%;
        font-size: 28px;
        line-height: 1.7;
        letter-spacing: 1px;
        margin-bottom: 30px;
        box-sizing: border-box;
    }

    .product-page .product-description {
        width: 100%;
        font-size: 15px;
        line-height: 1.8;
        letter-spacing: 0;
        margin-bottom: 24px;
        box-sizing: border-box;
    }

}
/* PRODUCT：スマホ用の文章調整② */
@media screen and (max-width: 768px) {

    .product-section-lead {
        font-size: 16px;
        line-height: 1.8;
    }

}
/* スマホだけ改行を表示 */
.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}
/* PRODUCT：成分タイトルのスマホ表示 */
@media screen and (max-width: 768px) {
    .product-section-title {
        font-size: 33px;
    }
}
/* PRODUCT：お召し上がりかたを少し小さく */
@media screen and (max-width: 768px) {

    .product-info-layout .product-info-list > div:last-child dt,
    .product-info-layout .product-info-list > div:last-child dd {
        font-size: 12px !important;
    }

}
/* PRODUCT：スマホで画像と文章の距離を調整 */
@media screen and (max-width: 768px) {

    .product-page .product-hero {
        gap: 16px;
        margin: 20px auto 0;
        padding: 0 20px;
    }

    .product-page .product-hero .product-image {
        min-height: 0;
        top: 0;
    }

    .product-page .product-hero .product-text {
        margin-top: 0;
    }

}

/* ABOUT：スマホ本文の文字サイズ調整 */
@media screen and (max-width: 768px) {

    .about-content > .about-block .about-text,
    .about-content > .about-block .mission-text,
    .about-content > .about-block .heart-text {
        font-size: 20px;
        line-height: 2;
    }

}
/* プライバシーポリシー：スマホ用タイトル調整 */
@media screen and (max-width: 768px) {
    .legal-page.privacy-page h1 {
        font-size: 21px !important;
    }
}
/* 特定商取引法：スマホ用タイトル調整 */
@media screen and (max-width: 768px) {
    .legal-page > h1 {
        font-size: 17px !important;
    }
}
/* 特定商取引法：スマホ用の縦並びレイアウト */
@media screen and (max-width: 768px) {

    .legal-table {
        display: block;
        width: 100%;
    }

    .legal-table tbody {
        display: block;
        width: 100%;
    }

    .legal-table tr {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid #ddd;
        box-sizing: border-box;
    }

    .legal-table th,
.legal-table td {
    display: block;
    width: 100%;
    padding: 5px 0;
    text-align: left;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    border: none;
}

    .legal-table th {
        font-size: 16px;
        font-weight: bold;
    }

    .legal-table td {
        font-size: 16px;
        line-height: 1.8;
    }
}
/* ABOUT：VISION・幸感力のスマホ本文サイズ調整 */
@media screen and (max-width: 768px) {
    .vision-block .text-group,
    .feeling-block .text-group {
        font-size: 20px;
        line-height: 2;
    }
}
/* CONTACT：FAQのスマホ文字サイズ調整 */
@media screen and (max-width: 768px) {

    .faq-item summary {
        font-size: 13px;
    }

    .faq-item p {
        font-size: 13px;
        line-height: 1.9;
    }

}
/* お問い合わせ：スマホ用説明文サイズ調整 */
@media screen and (max-width: 768px) {
    .inquiry-hero > p:first-of-type {
        font-size: 16px !important;
        line-height: 1.8;
        font-weight: normal;
    }
}
/* ABOUT：Happip・VISION画像のふわふわアニメーション */
.about-content > .about-block.right:first-child > .about-image,
.about-content .vision-block > .vision-image {
    animation: aboutImageFloat 4s ease-in-out infinite;
    will-change: translate;
}

/* ABOUT：幸感力のスマホ画像配置 */
@media screen and (max-width: 768px) {

    .about-content .feeling-block .feeling-image-wrap {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
        order: 2;
        width: 100%;
        max-width: 360px;
        margin: 20px auto 0;
    }

    .about-content .feeling-block .feeling-image {
        display: block;
        width: 100%;
        max-width: 360px;
        height: auto;
        margin: 0 auto;
    }

}
