/* ==========================================
   Modern Minimal Reset 2026 (Enhanced)
   ========================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

/* マージンの初期化（必要なものに絞る） */
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    /* スムーズスクロールを有効化（アンカーリンク用） */
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* フォーム要素の継承 */
input, button, textarea, select {
    font: inherit;
    color: inherit;
}

/* 画像とメディアの扱い */
img, picture, svg, video, canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* クリック要素のカーソル */
button, select, label, [role="button"] {
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

/* テキストエリアの調整 */
textarea {
    resize: vertical;
}

/* 水平線のリセット */
hr {
    border: none;
    border-top: 1px solid currentColor;
    margin: 0;
}

/* アンカーの装飾リセット（任意） */
a {
    text-decoration-skip-ink: auto;
    color: inherit;
}



/*----------------------------------------
	Base
----------------------------------------*/
html {
    font-size: 16px;
}

main {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: rgba(243, 243, 243, 1);
    font-family: "Hiragino Sans", "hiragino-kaku-gothic-pron", sans-serif;
}

.ttl {
    font-weight: 600;
}

h2 {
    font-weight: 200;
}

.en {
    font-family: din-2014, sans-serif;
}

.emp {
    color: #04859b;
}

a {
    text-decoration: none;
    transition: 0.5s;
    cursor: pointer;
}



@media screen and (max-width: 768px) {
    .pcOnly {
        display: none;
    }
}


@media screen and (min-width: 768px) {
    .spOnly {
        display: none;
    }
}

/*----------------------------------------
	cookieアラート
----------------------------------------*/
#cookieStatus {
    height: 100vh;
    width: 100vw;
    background-color: #152a42;
    color: #f3f3f3;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    z-index: 99999;
    padding: 3rem;
    text-align: center;
    line-height: 1.5;
}


/* ==========================================================================
   Hero Section (Main Navy Background with Slanted Bottom)
   ========================================================================== */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero-section {
    background-color: rgba(20, 42, 66, 1);
    position: relative;
}

.hero-svg-divider {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-height: 200px;
    line-height: 0;
    z-index: 10;
    overflow: hidden;
}

.hero-svg-divider img {
    width: 100%;
    height: auto;
    display: block;
}

/* BEFORE／AFTERsectionの下 */
.hero-svg-divider.is-flipped {
    transform: translateX(-50%) scaleX(-1);
}

.main-content {
    flex: 1;
    max-width: 700px;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    padding: 100px 100px 100px 0;
}

.title-container {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title-container::before {
    content: "";
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    width: 1200px;
    aspect-ratio: 3 / 1;

    background-image: url('../img/ppt-design-asset/brush_texture.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
    opacity: 0.8;
}

.sub-title {
    font-size: 1.25rem;
    letter-spacing: 0.25em;
    margin-bottom: 5px;
    font-weight: 700;
}

.highlight {
    color: rgba(255, 175, 38, 1);
    margin: 0 4px;
}

.main-title {
    font-size: 2rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin-bottom: 50px;
}

/* ロゴエリア全体のスタイリング */
.logo-area {
    margin: 100px;
}

/* ロゴ画像のサイズ調整 */
.logo-image {
    width: 80px;
    height: auto;
    display: block;
}

/* 価格部分 */
.price-area {
    border-top: 1px dotted rgba(255, 255, 255, 0.4);
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
    padding: 20px 0;
    text-align: center;
    width: 100%;

}

.pack-name {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2em;
}

.price {
    font-size: 4rem;
    letter-spacing: 0.05em;
    line-height: 0.8;
}

.currency {
    font-size: 1.5rem;
}

.side-gallery-marquee {
    width: 320px;
    height: 1100px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* サンプル画像が入る枠のスタリング */
.gallery-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.marquee-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    /* アニメーションを指定（30秒かけて上へ移動） */
    animation: scroll-vertical 60s linear infinite;
}

/* 無限ループのアニメーション設定 */
@keyframes scroll-vertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
        /* 1グループ分丸ごと上に上がったら0%に戻る */
    }
}



/* --- タブレット用調整 (画面幅 991px 以下) --- */
@media screen and (max-width: 991px) {
    .hero-section {
        /* ブラシ画像や横スクロールトラックのはみ出しを完全にカット */
        overflow: hidden;
        padding: 150px 0;
    }

    .container {
        padding: 0 30px;
        flex-direction: column;
        align-items: center;
    }

    .main-content {
        max-width: 100%;
        padding: 80px 0 60px 0;
        text-align: center;
    }

    .title-container::before {
        width: 90vw;
        max-width: 800px;
    }

    .logo-area {
        margin: 50px 0;
    }

    /* --- カルーセルを縦から「横スクロール」へ変換 --- */
    .side-gallery-marquee {
        width: 100vw;
        /* 画面の横幅いっぱいに広げる */
        height: auto;
        /* 縦幅は画像の高さに自動合わせ */
        flex-direction: row;
        /* 子要素を横並びに */
        margin-bottom: 120px;

        /* 画面左右の余白を無視して100%広げるためのトリミング */
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .marquee-track {
        flex-direction: row;
        /* 画像の並びを横に */
        padding-bottom: 0;
        padding-right: 20px;
        /* 右側の隙間 */

        /* 【重要】縦アニメーションを解除し、新設した「左から右」への横アニメーションを適用 */
        animation: scroll-horizontal 40s linear infinite;
    }

    .gallery-item {
        width: 240px;
        /* タブレット・スマホで見やすい横幅に固定 */
        flex-shrink: 0;
        /* 画面幅が狭まっても画像が潰れないように固定 */
    }
}

/* --- スマートフォン用調整 (画面幅 767px 以下) --- */
@media screen and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    .main-content {
        padding: 60px 0 40px 0;
    }

    .title-container {
        margin-bottom: 40px;
    }

    .title-container::before {
        width: 95vw;
        height: auto;
    }

    .sub-title {
        font-size: 1.05rem;
        letter-spacing: 0.15em;
    }

    .main-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .logo-area {
        margin: 40px 0;
    }

    .logo-image {
        width: 70px;
    }

    .price-area {
        padding: 15px 0;
    }

    .pack-name {
        font-size: 1rem;
    }

    .price {
        font-size: 2.8rem;
    }

    .currency {
        font-size: 1.2rem;
    }

    /* スマホ時の横スクロールの微調整 */
    .side-gallery-marquee {
        margin-bottom: 100px;
    }

    .marquee-track {
        gap: 15px;
        /* 画像同士の隙間を少し詰める */
        padding-right: 15px;
    }

    .gallery-item {
        width: 180px;
        /* スマホ画面に合わせて画像を少しコンパクトに */
    }
}

@keyframes scroll-horizontal {
    0% {
        /* 最初はマイナス（左側にはみ出た状態）からスタートさせることで、
           「左から右へ」流れる動きを作ります */
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ==========================================================================
   Features Section Base
   ========================================================================== */
.features-section {
    padding: 50px 0 150px 0;
    position: relative;
}

.features-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 各塊の親：コンテンツが連続するため下部に区切り線をデザイン */
.feature-card {
    position: relative;
    padding-bottom: 80px;
    border-bottom: 2px dotted rgba(2, 133, 155, 1.0);
}


.feature-visible {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    width: 100%;
}

/* 左側：グラフィック背景エリア（斜めの四角＋イラスト＋手書き線を統合した画像） */
.feature-visual-wrapper {
    width: 540px;
    height: 440px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    flex-shrink: 0;
}

/* ループアイテムごとの背景画像切り替え設定 */
.feature-bg-01 {
    background-image: url('../img/ppt-design-asset/feature-illust-01.webp');
}

.feature-bg-02 {
    background-image: url('../img/ppt-design-asset/feature-illust-02.webp');
}

.feature-bg-03 {
    background-image: url('../img/ppt-design-asset/feature-illust-03.webp');
}

/* 右側：リード文とボタンのラッパー */
.feature-lead-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    margin-left: -200px;
}

.feature-lead-text {
    width: 100%;
    font-size: 1.8rem;
    color: rgba(2, 133, 155, 1);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: left;
}

/* 開閉ボタンのスタイリング */
.accordion-trigger {
    background-color: transparent;
    border: 1px solid rgba(2, 133, 155, 1);
    color: rgba(2, 133, 155, 1);
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;

}

.accordion-trigger:hover {
    background-color: rgba(2, 133, 155, 1);
    color: #f3f3f3;
}

.feature-hidden {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
    overflow: hidden;
    padding-top: 0;
    transition: grid-template-rows 0.4s ease-out, padding-top 0.4s ease-out;
}

/* ボタンがアクティブ（開いた）状態のCSS命令 */
.feature-card.is-open .feature-hidden {
    grid-template-rows: 1fr;
    padding-top: 60px;
}

/* アコーディオンの内側の本尊（grid-template-rowsを動かすために必要） */
.feature-hidden-inner {
    min-height: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    padding: 0 50px;
}

/* 下段左側：ポイント説明文 */
.feature-point-desc {
    flex: 1;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.point-badge {
    margin-left: -50px;
}

/* ポイント画像バッジ */
.point-badge img {
    height: 110px;
    width: auto;
    margin-bottom: -20px;
    display: block;
}

.desc-text {
    font-size: 1.15rem;
    color: #333333;
    line-height: 1.7;
    letter-spacing: 0.05em;
    text-align: justify;
}

/* 下段右側：パワポスライドイメージ */
.feature-point-media {
    width: 480px;
    aspect-ratio: 16/9;
}

.feature-point-media img {
    width: 100%;
    height: auto;
}

/* --- タブレット用調整 (画面幅 991px 以下) --- */
@media screen and (max-width: 991px) {
    .features-section {
        overflow: hidden;
        /* はみ出しによる横スクロールの発生を完全ガード */
        padding: 40px 0 100px 0;
    }

    .features-container {
        padding: 0 30px;
        gap: 50px;
    }

    .feature-card {
        padding-bottom: 50px;
    }

    /* --- 上段エリアの縦並び化 --- */
    .feature-visible {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .feature-visual-wrapper {
        width: 100%;
        max-width: 480px;
        /* タブレット画面に合わせて少しコンパクトに */
        height: 380px;
    }

    .feature-lead-wrapper {
        width: 100%;
        align-items: center;
        /* ボタンも中央揃えに */
        gap: 25px;
        margin-left: 0;
        /* 【重要】PC用のマイナスマージンを引き戻す */
    }

    .feature-lead-text {
        text-align: center;
        font-size: 1.5rem;
        /* 文字サイズをデバイスに最適化 */
    }

    /* --- 下段エリア（アコーディオン内部）の縦並び化 --- */
    .feature-hidden-inner {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 20px;
        /* 左右の安全地帯を少し狭める */
    }

    .feature-point-desc {
        max-width: 100%;
        align-items: flex-start;
    }

    .point-badge {
        margin-left: 0;
    }

    .point-badge img {
        height: 90px;
        /* 吹き出しを少し縮小 */
        margin-bottom: -10px;
    }

    .desc-text {
        text-align: justify;
    }

    .feature-point-media {
        width: 100%;
        max-width: 480px;
        /* 横幅をイラストのサイズと統一 */
    }
}

/* --- スマートフォン用調整 (画面幅 767px 以下) --- */
@media screen and (max-width: 767px) {
    .features-container {
        padding: 0 20px;
        gap: 40px;
    }

    .feature-card {
        padding-bottom: 40px;
    }

    /* 開いた時の padding-top もスマホ用に少しキュッと詰める */
    .feature-card.is-open .feature-hidden {
        padding-top: 40px;
    }

    .feature-visual-wrapper {
        max-width: 100%;
        /* 画面幅いっぱいにフィットさせる */
        height: 280px;
        /* 高さをスマホ用にセーブ */
    }

    .feature-lead-text {
        font-size: 1.25rem;
        /* スマホで綺麗に2〜3行に収まるサイズ */
    }

    .accordion-trigger {
        width: 100%;
        max-width: 200px;
        /* ボタンが大きくなりすぎないように制限 */
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .feature-hidden-inner {
        padding: 0;
        /* スマホでは左右の安全余白を0にして画面を広く使う */
        gap: 30px;
    }

    .point-badge img {
        height: 80px;
        /* スマホ用にさらにひと回り縮小 */
    }

    .desc-text {
        font-size: 1rem;
        /* 可読性の高いスマホ用文字サイズ */
    }
}


/* ==========================================================================
   Comparison Section Base
   ========================================================================== */
.comparison-section {
    background-color: rgba(249, 249, 249, 1);
    padding: 120px 0 300px 0;
    position: relative;
}

/* 背面の巨大SVGテキストの配置 */
.bg-svg-text {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 2500px;
    z-index: 100;
    pointer-events: none;
    opacity: 0.7;
}

.bg-svg-text img {
    width: 100%;
    height: auto;
}

.comparison-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.comparison-title-wrap {
    margin: 200px 0 150px 0;
    position: relative;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}


.comparison-title-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    aspect-ratio: 3 / 1;
    background-image: url('../img/ppt-design-asset/brush_texture.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
    opacity: 0.1;
}


.comparison-title-wrap::after {
    content: "";
    position: absolute;
    top: -200%;
    left: 10%;
    width: 90px;
    height: 90px;
    background-color: rgba(243, 243, 243, 1);
    transform: rotate(-25deg);
}


.comparison-lead::before {
    content: "";
    position: absolute;
    /* 位置の調整 */
    bottom: -30px;
    left: -20%;
    /* サイズとデザイン */
    width: 165px;
    height: 165px;
    background-color: rgba(243, 243, 243, 1);
    transform: rotate(15deg);
    z-index: -1;
}


.comparison-lead::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20%;
    width: 280px;
    height: 280px;
    background-color: rgba(243, 243, 243, 1);
    transform: rotate(30deg);
    z-index: -1;
}

.comparison-lead {
    font-size: 2rem;
    color: rgba(2, 133, 155, 1);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}



.comparison-lead .bold {
    font-weight: 700;
    color: rgba(20, 42, 66, 1);
}


.slider-sync-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.comparison-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* BEFORE / AFTER ヘッダーラベル */
.column-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.outline-label {
    width: 190px;
    margin: 0 auto -2px;
    display: block;
}

.outline-label img {
    width: 100%;
    height: auto;
    display: block;
}

.sub-label-box {
    width: 100%;
    max-width: 380px;
    border: 1px solid rgba(2, 133, 155, 1);
    color: rgba(2, 133, 155, 1);
    padding: 8px 0;
    text-align: center;
    font-size: 1.5rem;
}

/* 下向きダブル矢印アイコン（擬似的にCSSで再現） */
.arrow-down-icon {
    font-size: 2rem;
    color: rgba(2, 133, 155, 1);
    margin-bottom: 20px;
    line-height: 0.8;
    letter-spacing: -2px;
}

/* スライド画像自体の枠組調整 */
.text-slider {
    width: 100%;
    border: 1px solid rgba(2, 133, 155, 0.5);
    /* カンプのスライド外枠線 */
    background-color: #ffffff;
}

.text-slider img {
    width: 100%;
    height: auto;
    display: block;
}

/* Splideのデフォルトの矢印とドットナビゲーションを隠す */
.text-slider .splide__arrows,
.text-slider .splide__pagination {
    display: none !important;
}


.custom-slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(20, 42, 66, 1);
    background-color: transparent;
    font-size: 1.5rem;
    color: rgba(20, 42, 66, 1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: rgba(20, 42, 66, 1);
    color: #f3f3f3;
    border-color: rgba(20, 42, 66, 1);
}


/* --- タブレット用調整 (画面幅 991px 以下) --- */
@media screen and (max-width: 991px) {
    .comparison-section {
        padding: 80px 0 200px 0;
    }

    /* 前後の境界線をまたぐ巨大文字の位置を調整 */
    .bg-svg-text {
        top: -40px;
        max-width: 140% !important;
        /* 画面を覆うダイナミックさをキープ */
    }

    .comparison-container {
        padding: 0 30px;
    }

    /* 背後のブラシテクスチャを画面幅に合わせて縮小 */
    .comparison-title-wrap::before {
        width: 200%;
        max-width: 650px;
    }

    /* ★ 3つの正方形オブジェクト：画面が狭いと文字に被るため、
       タブレットではサイズを小さくし、位置をテキストの外側に逃がします */
    .comparison-title-wrap::after {
        top: -120%;
        left: 2%;
        width: 60px;
        height: 60px;
    }

    .comparison-lead::before {
        left: -10%;
        width: 100px;
        height: 100px;
        bottom: -20px;
    }

    .comparison-lead::after {
        right: -10%;
        width: 160px;
        height: 160px;
        bottom: -15px;
    }

    /* タイトル文字サイズを最適化 */
    .comparison-lead {
        font-size: 1.7rem;
    }

    /* --- スライダーエリアの縦並び化 --- */
    .slider-sync-wrapper {
        flex-direction: column;
        gap: 60px;
        /* BEFOREとAFTERの間の縦の隙間 */
        margin-bottom: 50px;
    }

    .comparison-column {
        width: 100%;
        max-width: 600px;
        /* 縦並びのとき、スライドが広がりすぎないように制限 */
        margin: 0 auto;
    }

    .sub-label-box {
        max-width: 100%;
        /* 横幅いっぱいにフィット */
        font-size: 1.3rem;
    }
}

/* --- スマートフォン用調整 (画面幅 767px 以下) --- */
@media screen and (max-width: 767px) {
    .bg-svg-text {
        top: -25px;
        max-width: 180% !important;
    }

    .comparison-container {
        padding: 0 20px;
    }

    .comparison-title-wrap {
        margin: 60px 0 50px 0;
    }

    /* ★スマホでは文字の可読性を最優先にするため、3つの正方形オブジェクトを非表示に */
    .comparison-title-wrap::after,
    .comparison-lead::before,
    .comparison-lead::after {
        display: none !important;
    }

    .slider-sync-wrapper {
        gap: 100px;
    }

    /* BEFORE / AFTER の画像ラベルをスマホ用に少し縮小 */
    .outline-label {
        width: 150px;
    }

    .arrow-down-icon {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    /* 下部のカスタム丸矢印ボタンを少しコンパクトに */
    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   FAQ Section Base
   ========================================================================== */
.faq-section {
    padding: 0 0 120px 0;
    position: relative;
}

.faq-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
}


.faq-title-wrap {
    margin-bottom: 80px;
    text-align: center;
}

.faq-title {
    font-size: 2rem;
    color: rgba(2, 133, 155, 1);
    /* 指定の水色 */
    font-weight: 300;
    letter-spacing: 0.05em;
    display: inline-block;
}


.faq-list {
    max-width: 850px;
    /* カンプに合わせたスマートな横幅 */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* アコーディオン同士の隙間 */
}

.faq-item {
    border: 1px solid rgba(2, 133, 155, 1);
    transition: border-color 0.3s ease;
}

/* アコーディオンのボタン部分 */
.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-question-text {
    font-size: 1.2rem;
    color: rgba(2, 133, 155, 1);
    letter-spacing: 0.03em;
}


.faq-icon-plus {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* なめらかな回転 */
}

/* プラスの横棒 */
.faq-icon-plus::before,
.faq-icon-plus::after {
    content: "";
    position: absolute;
    background-color: rgba(2, 133, 155, 1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease;
}

/* 横線 */
.faq-icon-plus::before {
    width: 22px;
    height: 3px;
}

/* 縦線 */
.faq-icon-plus::after {
    width: 3px;
    height: 22px;
}

/* 開いた状態（is-open）の時の＋アイコン：45度回転して「×」になる */
.faq-item.is-open .faq-icon-plus {
    transform: rotate(45deg);
}



.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
    overflow: hidden;
}

/* 開いた状態（is-open）の時の回答エリア */
.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.faq-answer-text {
    padding: 0 30px 24px 30px;
    /* 横パディングを質問と揃え、下部に余白 */
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.7;
    text-align: justify;
}


.faq-slider {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(2, 133, 155, 0.3);
}

.faq-slider .splide__slide img {
    width: 100%;
    height: auto;
    display: block;
}

#faq-custom-prev, #faq-custom-next {
    margin: 30px 0;
}

@media screen and (max-width: 991px) {
    .faq-section {
        padding: 80px 0;
    }

    .faq-title-wrap {
        margin-bottom: 50px;
    }

    .faq-title {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 767px) {
    .faq-container {
        padding: 0 20px;
    }

    .faq-trigger {
        padding: 18px 20px;
    }

    .faq-question-text {
        font-size: 1rem;
        padding-right: 15px;
        /* アイコンとの被り防止 */
    }

    .faq-answer-text {
        padding: 0 20px 18px 20px;
        font-size: 0.95rem;
    }

    .faq-icon-plus {
        width: 18px;
        height: 18px;
    }

    .faq-icon-plus::before {
        width: 16px;
        height: 2px;
    }

    .faq-icon-plus::after {
        width: 2px;
        height: 16px;
    }

    .faq-slider {
        width: 90%;
    }
}

/* ==========================================
   5. Order Form（ご購入フォーム）
   ========================================== */

/* セクション全体の背景（FAQと同じ薄グレーを想定） */
.order-section {
    padding: 100px 20px;
    position: relative;
}

/* フォーム全体のコンテナ */
.order-container {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

/* ── 背景の飾りSVGテキスト ── */
.order-bg-text {
    position: absolute;
    top: -65px;
    /* 白いカードの上にハミ出すように配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 950px;
    z-index: 100;
    pointer-events: none;
    /* マウス反応を無効化 */
}

/* ── フォーム本体（白いカード） ── */
.order-card {
    background-color: #ffffff;
    padding: 200px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

/* ── 左側：タイトルエリア ── */
.order-title-area {
    width: 50%;
    padding: 50px;
    display: flex;
    justify-content: center;
}

.order-main-title {
    font-size: 2.1rem;
    font-weight: 300;
    color: rgba(20, 42, 66, 1);
    position: relative;
    display: inline-block;
    white-space: nowrap;
    z-index: 1;
}

/* オレンジの手書き線（背景画像） */
.order-main-title .orange-underline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -85px;
    width: 370px;
    height: 170px;
    /* ↓テーマ内のオレンジの手書き線画像のパスを指定してください */
    background: url('../img/ppt-design-asset/orange-underline.webp') no-repeat center center;
    background-size: 100% 100%;
    z-index: -1;

}

/* ── 右側：コンテンツエリア ── */
.order-content-area {
    width: 60%;

}

.order-desc {
    font-size: 1.1rem;
    color: rgba(20, 42, 66, 1);
    line-height: 1.8;
    margin-bottom: 150px;
}

.order-desc p {
    margin-top: 50px;
}

strong {
    font-weight: 600;
}

/* ── フォームパーツ ── */
.smf-text-control__control {
    width: 100%;
    padding: 15px 25px !important;
    border: 1px solid #00859b !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    color: #142a42 !important;
    outline: none !important;
}


.smf-text-control__control::placeholder {
    color: #ccc;
    letter-spacing: 0.1em;
}


/* ボタン本体を直接指定 */
.smf-action .smf-button-control__control {
    /* --- ブラウザ・テーマの標準スタイルをリセット --- */
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    box-shadow: none;

    /* --- 基本スタイル --- */
    display: inline-block;
    width: 100%;
    padding: 25px 60px;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 50px;
    cursor: pointer;
    text-align: center;
    min-width: 320px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;

    /* --- 初期状態 --- */
    background: #00859b !important;
    color: #f3f3f3 !important;
    border: #00859b 1px solid !important;

}

/* --- ななめスライドの背景部分 --- */
.smf-action .smf-button-control__control::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15%;
    width: 0;
    height: 100%;
    background-color: #142a42;
    transform: skewX(-25deg);
    transform-origin: left;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

/* --- ホバー時の挙動 --- */
.smf-action .smf-button-control__control:hover {
    color: #fff;
}

.smf-action .smf-button-control__control:hover::before {
    width: 130%;
}

/* --- クリックした瞬間のリアクション --- */
.smf-action .smf-button-control__control:active {
    transform: scale(0.98);
}

form .requestNumber {
    color: #142a42;
    display: none;
}

/* 捨てアド判定（システムエラー）のメッセージを加工 */
.smf-system-error-content {
    background-color: #fff5f5;
    border: 2px solid #ff4d4d;
    color: #cc0000;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.smf-system-error-content::before {
    content: "⚠️";
    display: block;
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* --- タブレット用調整 (画面幅 991px 以下) --- */
@media screen and (max-width: 991px) {

    /* 背面の巨大Order Formテキストの縮小 */
    .order-bg-text {
        top: -35px;
        max-width: 120% !important;
        /* 横幅いっぱいにダイナミックに */
    }

    .order-card {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* タイトルエリアの横幅を少し広げる */
    .order-title-area {
        width: 100%;
        padding: 20px;
    }

    .order-main-title {
        font-size: 1.8rem;
    }

    /* ★オレンジの手書き線：タブレット幅に合わせて一回り縮小し、
       カードからはみ出つつも画面外へはみ出さない絶妙なサイズに調整 */
    .order-main-title .orange-underline {
        bottom: -60px;
        width: 280px;
        height: 130px;
    }

    /* 右側コンテンツエリア */
    .order-content-area {
        width: 80%;

    }

    .order-desc {
        font-size: 1rem;
    }

    /* スパム注意書きの巨大な下マージンを縮小 */
    .order-alert-text {
        font-size: 0.95rem;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    /* 送信ボタンも少しコンパクトに */
    .order-submit-btn {
        height: 60px;
        border-radius: 30px;
        font-size: 1.1rem;
    }
}

/* --- スマートフォン用調整 (画面幅 767px 以下) --- */
@media screen and (max-width: 767px) {
    .order-section {
        padding: 50px 15px;
    }

    .order-bg-text {
        top: -25px;
        max-width: 160% !important;
        /* スマホでもしっかり文字感を残す */
    }

    /* ★スマホ時は「縦並び（1カラム）」へスイッチ */
    .order-card {
        padding: 60px 20px 40px 20px;
        gap: 0;
    }

    /* タイトルエリアを中央揃えに */
    .order-title-area {
        width: 100%;
        padding: 0;
        margin-bottom: 60px;
        /* 下の手書き線がハミ出す余白を確保 */
    }

    .order-main-title {
        font-size: 1.6rem;
        margin: 50px 0;
    }

    /* ★手書き線：スマホの画面幅（最短320px〜）でも絶対に横スクロールバグを
       起こさない安全サイズに縮小。かつ中央に配置します */
    .order-main-title .orange-underline {
        bottom: -50px;
        width: 240px;
        height: 110px;
    }

    .order-content-area {
        width: 100%;
    }

    .smf-action .smf-button-control__control {
        font-size: 1rem;
        min-width: none;
        padding: 20px 30px;



    }

}

/* ==========================================
   サンクス
   ========================================== */

/* --- 追加：モーダル表示中は裏のページのスクロールをロックする --- */
body.is-modal-open {
    overflow: hidden !important;
}

/* --- モーダル全体のオーバーレイ（背景） --- */
.smf-thanks-modal {
    display: block;
    /* 本番用: none */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 42, 66, 0.95);
    z-index: 10000;
    align-items: center;
    /* 画面中央に固定 */
    justify-content: center;
    opacity: 0;
    /* 本番用: 0 */
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* 本番用: none */
}

/* 表示時のスタイル */
.smf-thanks-modal.is-show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* --- モーダルコンテンツ（外枠） --- */
.smf-thanks-modal-content {
    background-color: #142a42;
    color: #f3f3f3;
    border: 1px solid #f3f3f3;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    max-height: calc(100vh - 140px);
    /* 画面高さから余白を引いた最大値 */
    position: relative !important;
    /* ★ズレ防止: 強力に基準にする */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.smf-thanks-modal.is-show .smf-thanks-modal-content {
    transform: scale(1);
}

/* --- スクロールエリア（中身） --- */
.smf-thanks-modal-body {
    width: 100%;
    flex: 1;
    /* ★追加：外枠の高さに合わせて自動で縮む */
    min-height: 0;
    /* ★追加：Flexboxの仕様回避（これがないとスクロールバーが出ない） */
    overflow-y: auto;
    /* ★モーダル内でのみ縦スクロールを許可 */
    padding: 80px 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
}

#smf-thanks-modal .smf-thanks-modal-close {
    position: absolute !important;
    /* ★配置計算を画像用に変更：画像の半分を基準にする */
    top: -60px;
    right: -60px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
}

/* 閉じるボタンの中の画像スタイル */
#smf-thanks-modal .smf-thanks-modal-close img {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- 画像エリア --- */
.smf-thanks-modal-image-area {
    margin-bottom: 40px;
    display: inline-block;
}

.smf-thanks-modal-image-area img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}

/* --- メッセージテキスト --- */
.smf-thanks-modal-main-message {
    font-size: 25px;
    line-height: 1.5;
    margin: 0 0 50px;
}

.smf-thanks-modal-sub-message {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.smf-thanks-modal-sub-message span {
    font-weight: 600;
    color: rgba(255, 175, 38, 1);
    font-size: 18px;
}


@media screen and (max-width: 768px) {
    .smf-thanks-modal-content {
        width: 85%;
        max-height: calc(100vh - 120px);
    }

    .smf-thanks-modal-body {
        padding: 50px 20px;
    }

    /* ★ズレ防止: スマホ用も同様にID追加と強力固定 */
    #smf-thanks-modal .smf-thanks-modal-close {
        width: 50px;
        height: 50px;
        top: -60px;
        right: 0;
    }

    .smf-thanks-modal-main-message {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .smf-thanks-modal-sub-message {
        font-size: 13px;
        text-align: left;
    }

    .smf-thanks-modal-image-area {
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 375px) {
    .smf-thanks-modal-main-message {
        font-size: 16px;
    }
}