/* ==========================================
   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
----------------------------------------*/

main {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

.ttl {
    font-weight: 600;
}

h2 {
    font-weight: 200;
}

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

.emp {
    color: #04859b;
}

a {
    color: #04859b;
    text-decoration: none;
    transition: 0.5s;
    cursor: pointer;
}

a:hover {
    color: #f3f3f3;
}

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


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

/*----------------------------------------
	キービジュアル
----------------------------------------*/
.kv-container {
    min-height: 90vh;
    min-height: 90dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.inner {
    max-width: 1080px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.top-icon {
    margin: 0 auto 48px;
    width: 28px;
    /* PCでの表示幅 */
}

/* 画像のレスポンシブ制御 */
.top-icon img {
    width: 100%;
    height: auto;
    display: block;
}


/* メインコピー */
.main-copy {
    font-size: clamp(30px, 5vw, 35px);
    letter-spacing: 0.05em;
    margin-bottom: 64px;
    line-height: 1.4;
}

.highlight-teal {
    color: #00859b;
    font-weight: 600;
}

.wavy-underline {
    position: relative;
    display: inline-block;
    /* テキストの幅に合わせるために必要 */
}


/* 手書き風の波線 */
.wavy-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    /* 文字からの距離を調整 */
    width: 100%;
    height: 34px;
    /* 画像の高さに合わせて調整 */
    /* 背景画像として波線を指定 */
    background-image: url("../img/personal/line-orange.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: -100;
}

/* サブコピー */
.sub-copy-group {
    margin-bottom: 80px;
}

.sub-copy {
    font-size: clamp(15px, 2.5vw, 18px);
    line-height: 2.2;
    margin: 0;
    letter-spacing: 0.08em;
}

/* ロゴ部分 */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.logo img {
    width: 90px;
    /* ロゴの表示幅に合わせて調整 */
    height: auto;
    display: block;
}

.kv-people-all {
    margin-top: 150px;
}

.kv-people-all img {
    height: 230px;
    width: auto;
    object-fit: contain;
}




/* スマホ向けの微調整 */
@media (max-width: 767px) {
    .inner {
        padding: 10px 20px;
        width: 100%;
    }

    .main-copy {
        margin-bottom: 40px;
    }

    .sub-copy-group {
        margin-bottom: 60px;
    }

    .top-icon {
        width: 20px;
        margin-bottom: 30px;
    }

    .logo img {
        width: 70px;
    }

    .kv-people-all {
        margin-top: 50px;
    }
}

/*----------------------------------------
	価格表示セクション
----------------------------------------*/
.price-container {
    text-align: center;
    width: 100%;
    margin: 200px 0;
}


.price-section {
    position: relative;
    display: inline-block;
    color: #00859b;
}

/* 吹き出し（画像） */
.price-balloon {
    position: absolute;
    top: -120px;
    /* 位置の調整 */
    right: -50px;
    width: 336px;
    height: 184px;
    /* 背景として吹き出し画像をセット */
    background-image: url("../img/personal/price-balloon.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /* 中のテキストを中央寄せ */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.price-balloon-text {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    padding-bottom: 50px;
    transform: rotate(10deg);
    letter-spacing: 0.1em;
}

/* 価格カード（白丸枠） */
.price-card {
    background-color: #fff;
    padding: 30px 150px;
    border-radius: 100px;
    /* カプセル型 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-num {
    font-size: 70px;
    line-height: 1;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.price-unit {
    font-size: 24px;
}

.price-suffix {
    font-size: 24px;
    margin-left: 8px;
}

/* スマホ向けの微調整 */
@media (max-width: 767px) {
    .price-container {
        margin: 50px 0 150px 0;
    }

    .price-section {
        width: 100%;
    }

    .price-balloon {
        width: 220px;
        height: 120px;
        top: -90px;
        right: 0;
    }

    .price-balloon-text {
        font-size: 12px;
        padding-bottom: 30px;
    }

    .price-card {
        padding: 15px 10px;
        margin: 0 10px;
        border-radius: 50px;
    }

    .price-num {
        font-size: 38px;
    }

    .price-unit {
        font-size: 14px;
    }

    .price-suffix {
        font-size: 14px;
        margin-left: 2px;
    }
}

/*----------------------------------------
	お悩みセクション
----------------------------------------*/
.problem-solving {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* グリッドレイアウト（PC時：3カラム） */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 30px;
}

/* 基本カードスタイル */
.problem-card {
    min-height: 400px;
    position: relative;
    margin-bottom: 120px;
}

/* 見出しカード（青色） */
.header-card {
    width: 100%;
    max-width: 300px;
    height: 400px;
    background-color: #00859b;
    border-radius: 9px;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 40px;
    text-align: left;
    position: relative;
    /* 10pxの隙間を作ってから1pxの線を引く設定 */
    box-shadow: inset 0 0 0 10px #00859b, inset 0 0 0 11px rgba(243, 243, 243, 0.5);
}

.header-decoration {
    position: absolute;
    top: -40px;
    left: 25px;
    width: 24px;
    z-index: 0;
}

.header-decoration img {
    width: 100%;
    height: auto;
}

.card-content {
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

.header-sub {
    font-size: 20px;
    margin-bottom: 10px;
}

.header-main {
    font-size: 30px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.header-line {
    position: absolute;
    top: 50%;
    left: -60px;
    width: 160%;
    z-index: -1;
}

.header-line img {
    width: 100%;
}

/* 悩みカード（吹き出し＋人物） */
.card-bubble {
    border: 1px solid #00859b;
    border-radius: 9px;
    padding: 30px 20px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* クオーテーション装飾（画像に変更） */
.card-bubble::before, .card-bubble::after {
    content: "";
    /* テキストを消去 */
    position: absolute;
    width: 50px;
    /* 画像のサイズに合わせて調整 */
    height: 50px;
    background-image: url("../img/personal/quote.webp");
    background-repeat: no-repeat;
    background-size: contain;
}

/* 上のクオーテーション */
.card-bubble::before {
    top: -25px;
    left: 15px;
}

/* 下のクオーテーション：同じ画像を180度回転させて配置 */
.card-bubble::after {
    bottom: -25px;
    right: 15px;
    transform: rotate(180deg);
}

.bubble-text {
    color: #00859b;
    font-size: 20px;
    text-align: left;
    width: 100%;
    padding: 10px 0 10px 10px;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

.person-img {
    width: 100%;
    display: flex;
    justify-content: center;
}

.person-img img {
    position: absolute;
    bottom: -80px;
    left: 20px;
    height: auto;
}

/* 個別のサイズ設定 */
.person-01 img {
    max-width: 88px;
}

.person-02 img {
    max-width: 102px;
}

.person-03 img {
    max-width: 116px;
}

.person-04 img {
    max-width: 95px;
}

.person-05 img {
    max-width: 98px;
}



/* スマホ対応調整 */
@media (max-width: 991px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 30px;
    }
}

@media (max-width: 767px) {
    .problem-solving {
        padding: 0 20px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .problem-card {
        margin-bottom: 60px;
        /* スマホでも人物のはみ出しスペースを確保 */
    }

    .header-card {
        padding: 30px 20px;
        box-shadow: inset 0 0 0 6px #00859b, inset 0 0 0 7px rgba(243, 243, 243, 0.5);
        /* スマホ用に線を細く調整 */
        max-width: 100%;
    }

    .header-main {
        font-size: 30px;
    }

    .header-line {
        left: -30px;
        width: 130%;
    }

    .card-bubble {
        padding: 25px 15px;

    }

    /* 共通設定 */
    .card-bubble::before,
    .card-bubble::after {
        width: 40px;
        height: 40px;
    }

    /* Before（上）専用 */
    .card-bubble::before {
        top: -20px;
    }

    /* After（下）専用 */
    .card-bubble::after {
        top: auto;
        bottom: -20px;
    }


    .bubble-text {
        writing-mode: vertical-rl;
        text-orientation: upright;
        font-size: 22px;
        height: 260px;
        /* 縦書きの領域を固定 */
        width: auto;
        padding: 10px 0;
        margin: 0 20px 0 auto;
        line-height: 1.8;
        letter-spacing: 0.15em;
    }

    .person-img img {
        bottom: -20px;
        left: 20px;
    }

}

/* -----------------------------------------------------------
   スキルバナーセクション
----------------------------------------------------------- */
.skill-banner-section {
    overflow: hidden;
    margin-bottom: 250px;
}

.skill-banner-inner {
    margin: 0 auto;
    position: relative;
    /* テキストの絶対配置の基準 */
    display: flex;
    align-items: center;
    min-height: 605px;
}

/* --- 左側の画像 --- */
.skill-banner-image {
    width: 538px;
    height: 605px;
    line-height: 0;
}

.pattern02 .skill-banner-image {
    width: 600px;
    height: 723px;
    margin: 50px 0;
}

.skill-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 重なるテキストエリア --- */
.skill-banner-content {
    position: absolute;
    top: 40%;
    left: 400px;
    /* 画像と重なる位置に調整 */
    z-index: 10;
}

.pattern02 .skill-banner-content {
    left: 500px;
}

.skill-banner-heading {
    margin: 0;
}

/* 白い帯の共通設定 */
.text-line {
    display: inline-block;
    background-color: #fff;
    color: #142a42;
    padding: 15px 40px;
    font-size: 37px;
    font-weight: 300;
    letter-spacing: 0.1em;
    box-shadow: 10px 10px 0 #00859b;
    /* 右と下の影をラインとして利用 */
    transform: rotate(-3deg);
    /* 全体を右上がりに傾ける */
    margin-bottom: 20px;
}

/* 2行目の微調整 */
.line-2 {
    transform: rotate(1deg) translateX(20px);
    /* 少しずらして動きを出す */
    font-weight: 300;
}

.line-2 span {
    font-weight: 600;
    color: #00859b;
}


/* --- スマートフォン・タブレット用調整 (991px以下) --- */
@media (max-width: 991px) {
    .skill-banner-section {
        margin-bottom: 0;
        /* 下との余白を調整 */
    }

    .skill-banner-inner {
        min-height: auto;
        display: block;
        /* Flexを解除 */
        padding: 40px 15px 100px;
        /* 下側にテキストがはみ出すスペースを確保 */
    }

    .skill-banner-image,
    .pattern02 .skill-banner-image {
        width: 100%;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
    }



    /* --- 重なるテキストエリア --- */
    .skill-banner-content,
    .pattern02 .skill-banner-content {
        position: relative;
        left: 0;
        top: -100px;
        /* 画像の上に少し食い込ませる */
        width: 100%;
        padding: 0 10px;
    }

    .skill-banner-heading {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 白い帯の共通設定 */
    .text-line {
        font-size: 35px;
        /* 文字サイズをスマホ用に縮小 */
        padding: 10px 20px;
        box-shadow: 6px 6px 0 #00859b;
        /* 影（ライン）も少し細く */
        margin-bottom: 0;
        width: fit-content;
        /* 文字幅に合わせる */
        max-width: 95%;
        /* 画面端に当たらないように */
        white-space: nowrap;
        /* 勝手に改行されないように */
    }


    /* 2行目の微調整 */
    .line-2 {
        transform: rotate(-3deg);
        /* 1行目との対比で少し角度を変える */
        translateX: 0;
        /* 横移動はリセットした方が中央揃えが綺麗 */
    }
}

@media (max-width: 767px) {
    .text-line {
        font-size: 22px;
        padding: 10px 10px;
    }
}


/* さらに小さい画面（iPhoneSEなど）用 */
@media (max-width: 375px) {
    .text-line {
        font-size: 18px;
        letter-spacing: 0.05em;
    }
}





/*----------------------------------------
	研修フローセクション
----------------------------------------*/

.training-flow {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.training-flow-inner {
    margin: 0 auto;
    display: flex;
    position: relative;
}

.flow-header-card {
    margin-top: -20%;
}


.flow-steps {
    max-width: 700px;
    margin: 0 0 0 auto;
    text-align: left;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
}


.step-number {
    font-size: 80px;
    font-weight: 200;
    color: rgba(0, 133, 155, 0.08);
    line-height: 1;
    margin: -5px 10px 0 0;
    flex-shrink: 0;
    font-family: din-2014, sans-serif;
}

.step-body {
    flex-grow: 1;
}

.step-title-box {
    border: 1px solid #00859b;
    border-radius: 8px;
    padding: 15px 25px;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.step-title {
    color: #00859b;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.step-desc {
    color: rgba(20, 42, 66, 1);
    font-size: 16px;
    line-height: 2;
    padding: 0 50px;
    text-align: justify;
    text-justify: inter-character;
}

.step-free-badge {
    background: repeating-linear-gradient(45deg,
            #f3f3f3,
            #f3f3f3 7px,
            /* メインカラーの幅 */
            #fff 7px,
            /* ここから線色に切り替わる */
            #fff 9px
            /* 線の太さ（この場合2px厚の線になる） */
        );

    color: #00859b;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 12px 0;
    border-radius: 9px;
    /* 弱めの角丸 */
    width: 100%;
    max-width: 700px;
    /* タイトルボックスの横幅に合わせて調整 */
    margin: 0 auto 60px;
    /* 下のSTEP04との間隔を確保 */
    letter-spacing: 0.1em;
}

.flow-bottom-heading {
    margin-top: 50px;
    width: 100%;
}


/* --- スマートフォン用調整（767px以下） --- */
@media (max-width: 767px) {
    .training-flow {
        padding: 50px 0;
    }

    .training-flow-inner {
        flex-direction: column;
        align-items: center;
    }

    .flow-header-card {
        max-height: none;
        width: 100%;
        max-width: 100%;
        margin-bottom: 50px;
    }

    .flow-steps {
        max-width: 100%;
        margin: 0 auto;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }

    .step-number {
        margin: 0 0 10px 0;
    }

    .step-body {
        width: 100%;
    }

    .step-title-box {
        padding: 15px;
        text-align: center;
    }

    .step-title {
        font-size: 18px;
    }

    .step-desc {
        font-size: 15px;
        line-height: 1.8;
        padding: 0 10px;
        text-align: left;
    }

    .step-free-badge {
        font-size: 14px;
        width: 90%;
        margin-bottom: 40px;
        padding: 10px 0;
    }

    .flow-bottom-heading {
        margin-top: 30px;
    }
}

/*----------------------------------------
	それなら頼んでみっか
----------------------------------------*/
.skill-banner-reverse {
    overflow: hidden;
    padding: 80px 0 40px 0;
    margin-top: -100px;
}

.skill-reverse-inner {
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 600px;
}

.skill-reverse-image {
    position: absolute;
    top: 45%;
    right: 0;
    width: 552px;
    height: 592px;
    transform: translateY(-50%);
    line-height: 0;
    z-index: 1;
}

.skill-reverse-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill-reverse-content {
    position: relative;
    z-index: 10;
    padding-left: 50px;
    text-align: right;
}

.skill-reverse-content .text-line {
    transform: rotate(3deg);
}

.skill-reverse-content .line-2 {
    transform: rotate(-3deg) translateX(10px);
    margin-top: 20px;
}

/* --- スマートフォン・タブレット用調整 (991px以下) --- */
@media (max-width: 991px) {
    .skill-banner-reverse {
        padding: 40px 0;
        margin-top: -50px;
    }

    .skill-reverse-inner {
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding: 40px 15px 100px;
    }

    .skill-reverse-image {
        order: 1;
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
    }

    .skill-reverse-image img {
        width: 100%;
        height: auto;
    }

    .skill-reverse-content {
        order: 2;
        position: relative;
        left: 0;
        top: -100px;
        width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    .skill-banner-heading {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .skill-banner-reverse .text-line {
        font-size: 35px;
        padding: 10px 20px;
        box-shadow: 6px 6px 0 #00859b;
        width: fit-content;
        max-width: 95%;
        white-space: nowrap;
        margin-bottom: 0px;
    }

    .skill-banner-reverse .line-1 {
        transform: rotate(-3deg);
    }

    .skill-banner-reverse .line-2 {
        transform: rotate(-3deg);
        margin-top: 0px;
    }
}


@media (max-width: 767px) {
    .skill-banner-reverse .text-line {
        font-size: 23px;
    }
}


@media (max-width: 375px) {
    .skill-banner-reverse .text-line {
        font-size: 18px;
    }
}

/*----------------------------------------
	FAQ
----------------------------------------*/
.faq-section {
    padding: 10px;
}

.faq-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 60px;
    position: relative;
}


.faq-card {
    flex-shrink: 0;
    padding: 40px 30px;
    margin-left: -120px;
    margin-right: 60px;
    position: relative;
    z-index: 5;

}

.faq-card span {
    font-size: 12px;
}


.faq-accordion {
    flex-grow: 1;

    width: 70%;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-input {
    display: none;
    /* チェックボックスは隠す */
}

/* ラベル（質問部分） */
.accordion-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background-color: #00859b;
    color: #f3f3f3;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    letter-spacing: 0.05em;
    position: relative;
}

/* アイコン（＋と×） */
.accordion-label .icon {
    position: relative;
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.accordion-label .icon::before,
.accordion-label .icon::after {
    content: "";
    position: absolute;
    background-color: #f3f3f3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

/* 横棒 */
.accordion-label .icon::before {
    width: 18px;
    height: 3px;
}

/* 縦棒 */
.accordion-label .icon::after {
    width: 3px;
    height: 18px;
}

/* 回答部分（アニメーションの肝） */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s;
    /* visibilityも入れるとより安全 */
    visibility: hidden;
    overflow: hidden;
}

.content-inner {
    overflow: hidden;
    padding: 0 40px;
    font-size: 15px;
    line-height: 2.0;
    color: #142a42;
    text-align: justify;
}




.accordion-input:checked+.accordion-label+.accordion-content {
    grid-template-rows: 1fr;
    padding-top: 30px;
    padding-bottom: 30px;
    visibility: visible;
}

.accordion-input:checked+.accordion-label .icon {
    transform: rotate(45deg);
}


/* --- スマートフォン・タブレット用調整 (991px以下) --- */
@media (max-width: 1200px) {
    .faq-section {
        padding: 10px 15px;
        /* 外側の余白を確保 */
    }

    .faq-inner {
        flex-direction: column;
        /* 縦並びに変更 */
        align-items: center;
        padding: 40px 20px;
        /* 内側の余白をスマホサイズに縮小 */
    }

    .faq-card {
        margin-left: 0;
        /* 左の突き出しを解除 */
        margin-right: 0;
        /* 右の余白を解除 */
        margin-top: -80px;
        /* 上に少し突き出させてデザイン性を維持 */
        margin-bottom: 30px;
        /* 下（アコーディオン）との隙間 */


    }

    .faq-accordion {
        width: 100%;
        /* 横幅いっぱいまで広げる */
    }

    .accordion-label {
        padding: 15px 20px;
        /* ラベルを少しコンパクトに */
        font-size: 16px;
        /* 文字をスマホで見やすく */
    }

    .accordion-label .icon {
        width: 20px;
        /* アイコンを少し小さく */
        height: 20px;
    }

    .accordion-label .icon::before {
        width: 14px;
    }

    /* 横棒サイズ調整 */
    .accordion-label .icon::after {
        height: 14px;
    }

    /* 縦棒サイズ調整 */

    .content-inner {
        padding: 0 15px;
        /* 回答部分の左右余白を縮小 */
        font-size: 14px;
        /* テキストを読みやすく微調整 */
    }

    /* 開いた時のパディングも調整 */
    .accordion-input:checked+.accordion-label+.accordion-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* さらに小さい画面用（480px以下） */
@media (max-width: 480px) {
    .accordion-label {
        font-size: 14px;
        /* 1行に収まりやすく調整 */
    }
}

/*----------------------------------------
	申し込み
----------------------------------------*/

.entry-section {
    padding: 50px 0 350px;
    background-color: #fff;
}

.entry-inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    position: relative;
}

.entry-card {
    margin-top: -180px;
}

/* 右側：コンテンツ */
.entry-content {
    flex-grow: 1;
    margin-left: 50px;
    max-width: 600px;
}

.entry-text-box {
    line-height: 2;
    color: #142a42;
    font-size: 16px;
}

.entry-text-box p {
    margin-top: 20px;
}

.caution-text strong {
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #00859b;
}


.smf-text-control__control {
    width: 100%;
    margin-top: 150px;
    padding: 15px 25px !important;
    border: 1px solid #00859b !important;
    border-radius: 10px !important;
    font-size: 18px !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: 20px;
    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 (max-width: 991px) {
    .entry-section {
        /* 下の大きな余白を詰め、上下バランスよく配置 */
        padding: 60px 20px 200px;
    }

    .entry-inner {
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        width: 100%;
    }

    .entry-card {
        /* 上への突き出しをスマホ用に最適化 */
        margin-top: 0;
        margin-bottom: 30px;
        z-index: 10;
    }

    /* 右側：コンテンツエリア全体 */
    .entry-content {
        margin-left: 0;
        /* 左マージンを解除 */
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .entry-text-box {
        font-size: 16px;
        /* 文字を少し小さくして読みやすく */
        line-height: 1.8;
    }

    .entry-text-box p {
        margin-top: 15px;
    }

    .smf-action .smf-button-control__control {
        font-size: 18px;
        padding: 25px 40px;
    }
}

/* さらに小さい画面（480px以下）用 */
@media (max-width: 480px) {
    .entry-section {
        padding: 40px 15px;
    }

    .entry-text-box {
        font-size: 13px;
    }
}


.footer {
    margin-top: 0;
}

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

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

/* --- モーダル全体のオーバーレイ（背景） --- */
.smf-thanks-modal {
    display: none;
    /* 本番用: 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;
    }
}