/* --- 変数定義 --- */
:root {
    --primary-color: #e88486; /* メインカラー: 鮮やかなピンク */
    --primary-dark: #ea4749;
    --accent-color2: #ff9800;  /* アクセントカラー */
    --accent-color: #ed6062;
    --text-color: #333333;
    --bg-light: #fdf5f5;      /* 背景色: 薄い青みがかったグレー */
    --white: #ffffff;
    --max-width: 1200px;
    --header-height: 70px;
}

/* --- リセット & 基本スタイル --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'M PLUS 1', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* --- ユーティリティクラス --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

.section__title {
    font-size: 8vw;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
}

.text-primary {
    color: var(--accent-color);
}

/* レスポンシブ改行制御 */
.sp {
    display: block;
}
.pc {
    display: none;
}

/* --- ボタンコンポーネント --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 200;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 3px 4px 8px rgba(0, 145, 234, 0.3);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn--header {
    font-size: 0.9rem;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
}

.btn--white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn--outline-white {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn--lg {
    min-width: 360px;
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn--full {
    width: 100%;
    display: block;
}

.btn--outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn--outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- ヘッダー --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    width: 100%;
    height: var(--header-height);
    /* Liquid Glass Style (White) */
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.header__logo {
    width: 80px;
    height: auto;
    object-fit: contain;
}

/* --- ヒーローエリア --- */
.hero {
    height: 100vh;
    margin-top: var(--header-height);
    padding: 40px 0 40px;
    background: linear-gradient(180deg, #fff0fe 0%, #ffffff 100%);
}

.hero__container {
    display: flex;
    flex-direction: column-reverse; /* モバイルは画像を下に */
    align-items: center;
    gap: 20px;
}

.hero__content {
    text-align: center;
}

.hero__title {
    font-size: 8vw;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero__title-sub {
    font-size: 0.6em;
    font-weight: 500;
}

.hero__title .highlight {
    background: linear-gradient(transparent 60%, #e6e6e6 60%);
    color: var(--accent-color);
}

.hero__desc {
    font-size: 3.6vw;
    margin-bottom: 80px;
    color: #555;
}

.hero__image {
    text-align: center;
}

.hero__image img {
    padding: 20px;
}

/* --- iLundの由来セクション (Slider) --- */
.origin {
    background-color: var(--white);
    overflow: hidden;
}

.origin__slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 20px 30px; /* 下部に影用の余白 */
    -webkit-overflow-scrolling: touch;
}

/* スクロールバーを非表示にする */
.origin__slider::-webkit-scrollbar {
    display: none;
}
.origin__slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.origin__slide {
    flex: 0 0 80%; /* モバイルで次のスライドを少し見せる */
    max-width: 350px;
    scroll-snap-align: center;
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.origin__img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.origin__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origin__letter {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.origin__word {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.origin__desc {
    font-size: 0.9rem;
    color: #666;
}

/* --- 提案セクション --- */
.proposal {
    background-color: var(--bg-light);
}

.proposal__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 0 auto;
    padding: 0 20px;
}

.proposal__item {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 10px rgba(0, 92, 212, 0.08);
}

.proposal__image {
    margin-bottom: 20px;
}

.proposal__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
}


/* --- 解決策セクション --- */
.solution {
    background-color: var(--white);
    padding:  80px 20px;
}

.solution__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.solution__content {
    flex: 1;
}

.solution__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.solution__desc {
    font-size: 4vw;
    text-align: left;
    color: #555;
    margin-bottom: 20px;
}

.solution__img {
    flex: 1;
}

.solution__img img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.solution__divider {
    font-size: 5vw;
    color: var(--accent-color);
    font-weight: 700;
}

/* --- 特徴セクション --- */
.feature {
    background-color: var(--bg-light);
    padding: 80px 20px;
}

.feature__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature__card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s;
    box-shadow: 0 10px 10px rgba(0, 92, 212, 0.08);
}

.feature__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.feature__body {
    padding: 25px;
}

.feature__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    text-align: center;
}

.feature__desc {
    font-size: 0.95rem;
    color: #666;
}

/* --- ユーザーの声セクション --- */
.case {
    background-color: var(--white);
    padding: 80px 20px;
}

.case__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.case__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 10px 10px rgba(0, 92, 212, 0.08);
}

.case__img {
    height: 400px;
    background: #eee;
    object-fit: cover;
}

.case__body {
    padding: 20px;
}

.case__cat {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #0484d3;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #ffffff;
}

.case__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0064b7;
}

.case__text {
    font-size: 1rem;
    color: #666;
}

/* --- 料金プランセクション --- */
.pricing {
    background-color: var(--bg-light);
    padding: 80px 20px;
}

.pricing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing__card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 92, 212, 0.08);
}

.pricing__card--featured {
    border: 2px solid var(--primary-color);
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 145, 234, 0.15);
}

.pricing__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing__name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.pricing__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.pricing__unit {
    font-size: 0.9rem;
    color: #666;
    margin-top: -20px;
    margin-bottom: 30px;
}

.pricing__period {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
}

.pricing__features {
    /* margin-bottom: 30px; */
    flex: 1;
    text-align: left;
}

.pricing__features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: #666;
}

.pricing__features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* --- 流れセクション --- */
.flow {
    background-color: var(--bg-light);
    padding: 80px 20px;
}

.flow__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    counter-reset: flow-counter;
}

.flow__item {
    flex: 1;
    position: relative;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 10px rgba(0, 92, 212, 0.08);
}

.flow__icon {
    font-size: 6rem;
    margin-bottom: 15px;
}

.flow__note {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #888;
    line-height: 1.4;
}

.flow__step {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 700;
}

.flow__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.flow__desc {
    font-size: 1.2rem;
    color: #666;
}

/* --- FAQセクション --- */
.faq {
    background-color: var(--white);
    padding: 80px 20px;
}

.faq__container {
    max-width: 800px;
}

.faq__item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.faq__item[open] .faq__q::after {
    transform: rotate(180deg);
}

.faq__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    font-size: 1rem;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q::before {
    content: 'Q.';
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.faq__q::after {
    content: '▼';
    font-size: 0.8rem;
    color: #ccc;
    transition: transform 0.3s;
}

.faq__a {
    margin-top: 15px;
    padding-left: 30px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- 代表挨拶セクション --- */
.message {
    background-color: var(--white);
    padding: 80px 20px;
    position: relative; /* 画像配置の基準 */
    overflow: hidden;   /* はみ出し防止 */
}

/* 背景画像（imgタグ）のスタイル */
.message__bg-img {
    position: absolute;
    bottom: 0px;
    right: -100px;
    width: 280px;
    height: auto;
    z-index: 0;        /* 最背面へ */
}

.message__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    position: relative; /* 重なり順の制御 */
    z-index: 1;         /* 画像より手前に表示 */
}

.message__image {
    width: 100%;
    max-width: 400px;
}

.message__image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.message__body {
    flex: 1;
}

.message__role {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    padding-bottom: 20px;
}

.message__name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.message__lead {
    font-size: 5.4vw;
    text-align: left;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.message__text {
    color: #666;
    line-height: 1.8;
}

/* --- お問い合わせセクション --- */
.contact {
    background-color: var(--bg-light);
}

.contact__container {
    max-width: 800px;
}

.contact__form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact__item {
    margin-bottom: 25px;
}

.contact__label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact__required {
    display: inline-block;
    background: #ff5252;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.contact__input,
.contact__select,
.contact__textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 145, 234, 0.1);
}

.contact__textarea {
    resize: vertical;
}

.contact__submit {
    text-align: center;
    margin-top: 40px;
}

/* --- フローティングボタン --- */
.floating-btn {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
    /* Liquid Glass Style (共通) */
    background: linear-gradient(135deg, rgba(232, 132, 134, 0.75), rgba(232, 132, 134, 0.85));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;

    /* モバイルファースト設定 (520px未満) */
    width: calc(100% - 40px);
    left: 20px;
    bottom: 10px;
    padding: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.floating-btn__icon {
    font-size: 1.8rem;
}
.floating-btn__text {
    font-weight: 700;
    font-size: 4vw;
}

/* --- モーダル --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}
.modal.is-active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}
.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.modal__content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    z-index: 1;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.modal__close:hover {
    color: #333;
}
/* モーダル内のフォーム調整 */
.modal .contact__form {
    box-shadow: none;
    padding: 0;
}
.modal .section__title {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* --- お問い合わせ完了メッセージ --- */
.contact__success {
    display: none;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}
.contact__success.is-active {
    display: block;
}
.contact__success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1;
}
.contact__success-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}
.contact__success-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

/* --- CTAセクション --- */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.cta__title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta__desc {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* --- Footer --- */
.footer {
    padding: 40px 10px 20px;
    background-color: #ffffff;
    color: #fff;
    font-size: 0.8rem;
    margin-bottom: 60px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer__logo {
    max-width: 120px;
    width: 100%;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    text-align: center;
    color: #555;
}

.footer__copyright {
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* ================================================== */

/* --- メディアクエリ (520px以上) --- */
@media (min-width: 520px) {
    /* フッターリンク */
    .footer__links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        gap: 20px;
    }
    /* ボタン */
    .btn--lg {
        min-width: 460px;
        padding: 20px 80px;
        font-size: 1.4rem;
    }
    .btn--outline-primary {
        font-size: 1.4rem;
        padding: 10px 40px;
    }
    .btn--primary {
        font-size: 1.4rem;
        padding: 10px 40px;
    }
    /* セクションタイトル */
    .section__title {
        font-size: 8vw;
        margin-bottom: 40px;
    }
    /* ヒーローエリア */
    .hero__image img {
        padding: 30px;
        width: 100%;
        max-width: 600px;
        
    .hero__title {
        font-size: 8vw;
        margin-bottom: 40px;
    }
    .hero__title-sub {
        font-size: 0.6em;
        font-weight: 500;
    }
    .hero__desc {
        font-size: 1.2rem;
        margin-bottom: 60px;
        padding: 0px;
    }
    /* 提案セクション */
    .proposal__text {
        font-size: 1.2rem;
    }
    /* 解決策セクション */
    .feature__title {
        font-size: 1.4rem;
    }
    .feature__desc {
        font-size: 1.2rem;
    }
    /* ユーザーの声セクション */
    .case__cat {
        padding: 6px 14px;
        font-size: 1rem;
    }
    /* 料金プランセクション */
    .pricing__name {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    .pricing__price {
        font-size: 3.4rem;
    }
    .pricing__period {
        font-size: 1.6rem;
    }
    .pricing__features li {
        padding-left: 40px;
        position: relative;
        font-size: 1.2rem;
    }

    /* 背景画像（imgタグ）のスタイル */
    .message__bg-img {
        bottom: 0px;
        right: -100px;
        width: 380px;
        height: auto;
    }
}

/* --- メディアクエリ (740px以上) --- */
@media (min-width: 740px) {
    /* プライマリボタン */
    .btn--primary {
        padding: 12px 80px;
    }
    .btn--lg {
        min-width: 600px;
        padding: 20px 80px;
        font-size: 1.8rem;
    }
    /* ヒーローエリア */
    .hero__desc {
        font-size: 1.6rem;
    }
    /* 提案セクション */
    .proposal {
        padding: 100px 20px;
    }
    .proposal__text {
        font-size: 1.6rem;
    }
    /* 解決策・コンセプトセクション */
    .solution__desc {
        padding: 0 20px;
    }
    .solution__title {
        font-size: 2.6rem;
        line-height: 1.6;
        font-weight: 500;
    }
    .solution__divider {
        font-size: 2rem;
    }
    /* 特徴・解決策セクション */
    .feature {
        padding: 100px 40px;
    }
    .feature__grid {
        gap: 60px;
    }
    .feature__title {
        font-size: 2.2rem;
    }
    .feature__desc {
        font-size: 1.6rem;
    }
    /* ユーザーの声セクション */
    .case {
        padding: 100px 40px;
    }
    .case__cat {
        padding: 12px 20px;
        font-size: 1.6rem;
    }
    .case__title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .case__text {
        font-size: 1.4rem;
    }
    /* 料金プランセクション */
    .pricing {
        padding: 100px 40px;
    }
    .pricing__name {
        font-size: 2rem;
    }
    .pricing__price {
        font-size: 3.8rem;
    }
    .pricing__period {
        font-size: 1.8rem;
    }
    .pricing__features li {
        font-size: 1.6rem;
    }
    .btn--outline-primary {
        font-size: 1.8rem;
        padding: 12px 60px;
    }
    .btn--primary {
        font-size: 1.8rem;
        padding: 12px 80px;
    }
    /* 利用開始ステップセクション */
    .flow {
        padding: 100px 40px;
    }
    .flow__step {
        margin-bottom: 20px;
        padding: 12px 60px;
        border-radius: 50px;
        font-size: 1.6rem;
    }
    .flow__title {
        font-size: 2rem;
    }
    .flow__desc {
        font-size: 1.6rem;
    }
    .flow__note {
        font-size: 1rem;
    }
    /* FAQセクション */
    .faq {
        padding: 100px 40px;
    }
    .faq__q::before {
        font-size: 1.6rem;
    }
    .faq__q {
        gap: 14px;
        font-weight: 700;
        font-size: 1.2rem;
    }
    .faq__a {
        margin-top: 20px;
        padding-left: 46px;
        font-size: 1rem;
    }
    /* 代表挨拶セクション */
    .message {
        padding: 100px 40px;
    }
    .message__bg-img {
        width: 400px;  /* PCでのサイズ */
        bottom: 0px;  /* PCでの位置 */
        right: -100px;   /* PCでの位置 */
    }
    .message__role {
        font-size: 1.4rem;
    }
    .message__name {
        font-size: 2.2rem;
    }
    .message__text {
        font-size: 1.25rem;
        line-height: 1.8;
    }
    /* ctaセクション */
    .cta {
        padding: 120px 40px;
    }
    .cta__title {
        font-size: 2.8rem;
    }
    .cta__desc {
        font-size: 1.4rem;
    }
    /* フッター */
    .footer {
        padding: 60px 40px;
    }
    .footer__logo {
        max-width: 180px;
    }
    .footer__links {
        gap: 20px;
        font-size: 1rem;
    }
}

/* --- メディアクエリ (840px以上) --- */
@media (min-width: 840px) {
    /* レスポンシブ改行制御 */
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }

    /* フローティングボタン */
    .floating-btn {
        width: auto;
        left: auto;
        right: 30px;
        bottom: 30px;
        width: auto;
        padding: 15px 25px;
        border-radius: 50px;
        
        /* PC用 Glass Style 強調 */
        background: linear-gradient(135deg, rgba(232, 132, 134, 0.45), rgba(232, 132, 134, 0.8));
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    }
    .floating-btn:hover {
        transform: translateY(-3px);
        background: linear-gradient(135deg, rgba(232, 132, 134, 1), rgba(232, 132, 134, 0.9));
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.35);
    }
    .floating-btn__icon {
        font-size: 1.2rem;
    }
    .floating-btn__text {
        font-size: 1.4rem;
    }


    /* セクションタイトル */
    .section__title {
        font-size: 4rem;
    }

    /* プライマリボタン */
    .btn--lg {
        min-width: 400px;
        padding: 20px 60px;
        font-size: 1.8rem;
    }

    /* ヒーローエリア */
    .hero {
        height: 70vh;
        width: 100%;
        padding: 80px 0 40px;
    }
    .hero__container {
        flex-direction: row;
        text-align: left;
        padding: 0 20px;
        gap: 30px;
    }
    .hero__content {
        flex: 1;
        text-align: left;
        max-width: 460px;
    }
    .hero__desc {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    .hero__image {
        flex: 1;
    }
    .hero__image img {
        padding: 10px;
    }
    .hero__title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    .btn--primary {
        font-size: 1.2rem;
        padding: 10px 60px;
        min-width: 440px;
    }

    /* iLundの由来セクション */
    .origin__slider {
        justify-content: center; /* PCでは中央寄せ */
    }
    
    /* 特徴セクション */
    .feature {
        padding: 120px 40px;
    }
    .feature__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .feature__body {
        padding: 16px;
    }
    .feature__title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    .feature__desc {
        font-size: 1.2rem;
    }

    /* 提案セクション */
    .proposal__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin: 0 auto;
        padding: 0px;
    }
    .proposal__item {
        padding: 14px;
    }
    .proposal__image img {
        aspect-ratio: 1 / 1;
        border-radius: 8px;
    }
    .proposal__text {
        font-size: 1.2rem;
    }

    /* 解決策・コンセプトセクション */
    .solution {
        padding: 120px 20px;
    }
    .solution__container {
        gap: 30px;
    }
    .solution__desc {
        font-size: 2rem;
    }
    .solution__title {
        font-size: 2.4rem;
        margin-bottom: 0px;
        margin-top: 20px;
    }

    /* ユーザーの声 & 流れセクション */
    .case {
        padding: 120px 20px;
    }
    .case__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .case__img {
        height: 280px;
        background: #eee;
        object-fit: cover;
    }
    .case__body {
        padding: 16px;
    }
    .case__cat {
        padding: 6px 16px;
        font-size: 1rem;
    }
    .case__title {
        font-size: 1.2rem;
    }
    .case__text {
        font-size: 1rem;
    }

    /* 料金プランセクション */
    .pricing__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        align-items: stretch;
    }   
    .pricing {
        padding: 120px 20px;
    }
    .pricing__card {
        padding: 40px 10px;
    }
    .pricing__name {
        font-size: 1.4rem;
    }
    .pricing__price {
        font-size: 2rem;
    }
    .pricing__period {
        font-size: 1.2rem;
    }
    .pricing__features li {
        font-size: 1.2rem;
        padding-left: 30px;
    }
    .pricing__card .btn--outline-primary {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
    .pricing__card .btn--primary {
        font-size: 1.2rem;
        padding: 10px 60px;
        min-width: 100%;
    }

    
    /* 代表挨拶セクション */
    .message__container {
        flex-direction: row;
        align-items: center;
    }

    /* CTAセクション */
    .cta__buttons {
        flex-direction: row;
        justify-content: center;
    }
    .cta__buttons .btn--lg {
        max-width: 400px;
        padding: 20px;
        font-size: 1.6rem;
    }
    
    /* フッター */
    .footer {
        padding: 40px 20px;
    }
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* --- メディアクエリ (1020px以上) --- */
@media (min-width: 1020px) {
    /* セクションタイトル */
    .section__title {
        font-size: 4.2rem;
        margin-bottom: 60px;
    }

    /* ヒーローセクション */
    .hero {
        height: 80vh;
        padding: 80px 0 40px;
    }
    .hero__container {
        gap: 30px;
        max-width: 1200px;
    }
    .hero__content {
        flex: 1;
        text-align: left;
        max-width: 560px;
    }
    .hero__title {
        font-size: 3.4rem;
        margin-bottom: 20px;
    }
    .hero__title-sub {
        font-size: 2rem;
    }
    .hero__desc {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    .hero__image img {
        width: 100%;
        max-width: 800px;
    }

    /* 提案セクション */
    .proposal {
        padding: 140px 40px;
    }
    .proposal__item {
        padding: 20px 20px 40px;
    }

    /* 解決策・コンセプトセクション */
    .solution {
        padding: 140px 40px;
    }
    .solution__desc {
        font-size: 1.6rem;
        padding: 0 20px;
        text-align: center;
        line-height: 2;
    }
    .solution__img img {
        width: 100%;
        max-width: 1000px;
    }
    .solution__title {
        font-size: 2rem;
    }
    .solution__divider {
        font-size: 2.6rem;
    }

    /* 特徴・解決策セクション */
    .feature {
        padding: 140px 40px;
    }

    /* ユーザーの声セクション */
    .case {
        padding: 140px 40px;
    }
    .case__body {
        padding: 20px;
    }
    .case__title {
        font-size: 1.6rem;
    }
    .case__text {
        font-size: 1.2rem;
    }

    /* 料金プランセクション */
    .pricing {
        padding: 140px 40px;
    }
    .pricing__grid {
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    .pricing__card {
        padding: 40px 20px;
    }

    /* 利用開始ステップ */
    .flow {
        padding: 140px 40px;
    }
    .flow__list {
        flex-direction: row;
        gap: 20px;
        max-width: 1200px;
    }
    .flow__item {
        padding: 16px;
    }
    .flow__step {
        padding: 8px 50px;
        font-size: 1rem;
    }
    .flow__title {
        font-size: 1.4rem;
    }
    .flow__desc {
        font-size: 1rem;
        text-align: left;
    }
    .flow__note {
        font-size: 0.8rem;
    }

    /* よくある質問セクション */
    .faq {
        padding: 140px 40px;
    }

    /* 代表挨拶セクション */
    .message__role {
        font-size: 1.2rem;
    }
    .message__lead {
        font-size: 2.4rem;
        line-height: 1.4;
        margin-bottom: 30px;
    }
    .message__text {
        font-size: 1.2rem;
        line-height: 2;
    }
    .message__bg-img {
        width: 400px;  /* PCでのサイズ */
        bottom: 0px;  /* PCでの位置 */
        right: -100px;   /* PCでの位置 */
    }

    /* フッター */
    .footer {
        padding: 40px 40px 0 20px;
        margin-bottom: 10px;
    }


}


/* --- メディアクエリ (デスクトップ表示) --- */
@media (min-width: 1280px) {
    .section__title {
        font-size: 3.8rem;
    }

    /* プライマリ */
    .btn--primary {
        font-size: 1.4rem;
        padding: 18px 60px;
        min-width: 480px;
    }

    /* ヘッダー */
    .header {
        padding: 40px 0;
    }
    .header__inner {
        max-width: 1400px;
    }

    /* ヒーローセクション */
    .hero {
        height: 90vh;
        padding: 140px 0 0;
        margin-top: 80px;
    }
    .hero__container {
        flex-direction: row;
        gap: 20px;
        max-width: 1400px;
    }
    .hero__content {
        max-width: 780px;
    }
    .hero__image {
        margin: 40px 0;
    }
    .hero__image img {
        max-width: 800px;
    }
    .hero__title-sub {
        font-size: 2.4vw;
    }
    .hero__title {
        font-size: 3.6vw;
        letter-spacing: 0.25rem;
    }   
    .hero__desc {
        font-size: 1.4vw;
        margin-bottom: 30px;
    }

    /* 提案セクション */
    .proposal .container {
        max-width: 1400px;
    }

    /* 背景画像（imgタグ）のスタイル */
    .message__bg-img {
        bottom: 0px;
        right: 200px;
    }
}

/* --- メディアクエリ (デスクトップ表示) --- */
@media (min-width: 1920px) {
    /* 調整 */
    .hero {
        height: 90vh;
    }
    .hero__title-sub {
        font-size: 2.8rem;
    }
    .hero__title {
        font-size: 3.6rem;
    }   
    .hero__desc {
        font-size: 1.75rem;
    }

    /* 背景画像（imgタグ）のスタイル */
    .message__bg-img {
        bottom: 0px;
        right: 300px;
    }

}

/* ================================================== */
/* --- 下層ページ・文書ページ用スタイル --- */
/* ================================================== */

.page-header {
    padding: 120px 0 40px;
    text-align: center;
}

.page-header__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.document-container {
    max-width: 800px;
}

.document-body {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

@media (min-width: 740px) {
    .document-body {
        padding: 60px;
    }
}

.document-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--primary-color);
}

.document-body h3:first-child {
    margin-top: 0;
}

.document-body p {
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

.document-body ul {
    list-style: disc;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
    color: #555;
}

.document-body li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

/* ================================================== */
/* --- スクロールアニメーション --- */
/* ================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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