@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================================
   Contact Form 7 - 堅実なフォームデザイン
========================================= */

/* フォーム全体を囲む枠 */
.custom-form-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

/* 各質問項目のグループ */
.form-group {
    margin-bottom: 28px;
}

/* 質問のタイトル（ラベル） */
.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1e293b; /* 落ち着いたダークトーン */
    font-size: 16px;
    line-height: 1.5;
}

/* 必須マークの装飾 */
.required-badge {
    display: inline-block;
    background-color: #ef4444; /* 視認性の高い赤 */
    color: #ffffff;
    font-size: 12px;
    font-weight: normal;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* テキスト入力・テキストエリアの共通スタイル */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #f8fafc;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* 入力中（フォーカス時）のスタイル */
.form-control:focus {
    border-color: #3b82f6; /* 爽やかなブルー */
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ラジオボタン・チェックボックスの並び調整（CF7のデフォルト要素を利用） */
.form-radio-wrap .wpcf7-list-item,
.form-checkbox-wrap .wpcf7-list-item {
    margin-right: 24px;
    margin-bottom: 10px;
    display: inline-block;
    color: #334155;
}

/* 注記・補足テキスト */
.form-note {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* 個人情報保護方針のボックス */
.privacy-policy-text {
    background-color: #f1f5f9;
    padding: 16px;
    border-radius: 4px;
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.6;
    border: 1px solid #e2e8f0;
}

/* 同意チェックボックスのエリア */
.form-acceptance-wrap {
    text-align: center;
    margin-top: 16px;
    font-weight: bold;
    font-size: 15px;
    color: #1e293b;
}

/* 送信ボタンの親要素（中央配置用） */
.form-submit-wrap {
    text-align: center;
    margin-top: 40px;
}

/* 送信ボタンのスタイル */
.form-submit-btn {
    background-color: #0f172a; /* 信頼感のある濃いネイビー */
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    padding: 16px 48px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    width: 100%;
    max-width: 320px; /* PCでは幅を制限 */
    letter-spacing: 0.05em;
}

/* 送信ボタンホバー（マウスオーバー）時 */
.form-submit-btn:hover {
    background-color: #334155;
}

/* 送信ボタンクリック時 */
.form-submit-btn:active {
    transform: scale(0.98);
}

/* スマホ閲覧時のレスポンシブ対応 */
@media (max-width: 600px) {
    .custom-form-wrap {
        padding: 24px 16px; /* スマホでは余白を少し狭める */
        border: none;       /* 枠線を消してスッキリさせる */
        box-shadow: none;
    }
    
    .form-radio-wrap .wpcf7-list-item,
    .form-checkbox-wrap .wpcf7-list-item {
        display: block; /* スマホでは選択肢を縦並びにして押しやすく */
        margin-right: 0;
        margin-bottom: 12px;
    }

    .form-submit-btn {
        max-width: 100%; /* スマホでは横幅いっぱいに */
    }
}



  :root {
      --bg: #f6f3ee;
      --paper: #fffdfa;
      --ink: #1f2937;
      --muted: #6b7280;
      --line: #e5ded3;
      --accent: #6a8a7a;
      --accent-deep: #4f6d5f;
      --accent-soft: #eef4f0;
      --warm: #8b6f47;
      --shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
      --radius-xl: 24px;
      --radius-lg: 18px;
      --radius-md: 14px;
      --max: 1120px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at top right, rgba(106,138,122,0.13), transparent 28%),
        radial-gradient(circle at top left, rgba(139,111,71,0.09), transparent 24%),
        var(--bg);
      line-height: 1.75;
    }
    a { color: inherit; }
    img { max-width: 100%; display: block; }
    .wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
    .hero { padding: 72px 0 48px; }
    .hero-card { background: rgba(255,253,250,0.88); backdrop-filter: blur(10px); border: 1px solid rgba(229,222,211,0.9); border-radius: 32px; box-shadow: var(--shadow); overflow: hidden; }
    .hero-main { padding: 46px 44px 40px; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 28px; align-items: center; }
    .hero-copy { max-width: 720px; }
    .hero-visual { display: flex; justify-content: center; }
    .hero-visual-frame { width: 100%; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,245,248,.88)); border: 1px solid rgba(229,222,211,0.9); box-shadow: 0 18px 42px rgba(31, 41, 55, 0.10); }
    .hero-visual-frame img { width: 100%; height: auto; display: block; }
    .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; font-size: 24px; letter-spacing: 0.02em; }
    h1 { margin: 20px 0 16px; font-size: clamp(1.55rem, 3.2vw, 2.55rem); line-height: 1.18; letter-spacing: -0.02em; }
    .lead { margin: 0 0 24px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.1rem); }
    .hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
    .point { padding: 14px 14px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); min-height: 86px; }
    .point strong { display: block; font-size: 1.08rem; margin-bottom: 3px; }
    .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background: var(--accent-deep); color: #fff; box-shadow: 0 12px 30px rgba(79,109,95,.24); }
    .btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
    section.block { padding: 28px 0; }
    .section-head { max-width: 760px; margin-bottom: 22px; }
    .section-head .label { font-size: 13px; font-weight: 700; color: var(--accent-deep); letter-spacing: .04em; text-transform: uppercase; }
    .section-head h2 { margin: 8px 0 10px; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.3; }
    .section-head p { margin: 0; color: var(--muted); }
    .grid-3, .grid-2, .grid-4 { display: grid; gap: 18px; }
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card { background: rgba(255,253,250,0.88); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; box-shadow: 0 8px 24px rgba(31,41,55,0.04); }
    .card h3 { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.45; }
    .card p, .card li { color: var(--muted); }
    .phase-card { position: relative; padding-top: 48px; }
    .phase-badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 700; }
    .quote-box { padding: 26px 24px; border-radius: 22px; background: linear-gradient(180deg, rgba(106,138,122,.10), rgba(255,255,255,.7)); border: 1px solid rgba(106,138,122,.18); color: var(--ink); }
    .quote-box strong { display: block; margin-bottom: 8px; font-size: 1.06rem; }
    .profile { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
    .profile .person { background: rgba(255,253,250,0.88); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
    .person .name { font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
    .person .role { color: var(--accent-deep); font-weight: 700; margin-bottom: 14px; font-size: .98rem; }
    .faq-item { padding: 20px; border-radius: 18px; background: rgba(255,253,250,0.88); border: 1px solid var(--line); }
    .faq-item h3 { margin: 0 0 8px; font-size: 1rem; }
    .form-block { margin: 28px 0 56px; background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,245,240,.96)); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
    .form-shell { display: grid; grid-template-columns: 0.92fr 1.08fr; }
    .form-copy, .form-area { padding: 32px; }
    .form-copy { background: linear-gradient(180deg, rgba(106,138,122,.12), rgba(255,255,255,.55)); border-right: 1px solid var(--line); }
    .list-clean { list-style: none; padding: 0; margin: 18px 0 0; }
    .list-clean li { position: relative; padding-left: 22px; margin: 0 0 10px; color: var(--muted); }
    .list-clean li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-deep); font-weight: 800; }
    form { display: grid; gap: 16px; }
    .field { display: grid; gap: 8px; }
    label { font-weight: 700; font-size: .96rem; }
    .req { color: #b45309; font-size: .85em; margin-left: 6px; }
    input, select, textarea { width: 100%; border: 1px solid #d6d3cd; background: #fff; border-radius: 14px; padding: 14px 14px; font: inherit; color: var(--ink); }
    textarea { min-height: 120px; resize: vertical; }
    input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(106,138,122,.12); }
    .checkline { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid #d6d3cd; border-radius: 14px; }
    .checkline input { width: 18px; height: 18px; margin-top: 4px; padding: 0; border-radius: 6px; accent-color: var(--accent-deep); }
    .consent-note, .small { color: var(--muted); font-size: .92rem; }
    .submit-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
    footer { padding: 8px 0 48px; color: var(--muted); font-size: .94rem; }

    /* モーダルのスタイル */
    .modal-overlay {
      display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(31, 41, 55, 0.6); backdrop-filter: blur(4px); z-index: 9999;
      align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease;
    }
    .modal-overlay.is-active { display: flex; opacity: 1; }
    .modal-content {
      background: var(--paper); padding: 48px 32px; border-radius: var(--radius-xl);
      box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center;
      max-width: 560px; width: 100%; transform: translateY(20px); transition: transform 0.3s ease;
    }
    .modal-overlay.is-active .modal-content { transform: translateY(0); }
    .modal-content h2 { margin: 16px 0; font-size: 1.5rem; }
    .close-modal-btn {
      background: none; border: none; color: var(--muted); text-decoration: underline;
      cursor: pointer; font-size: 0.92rem; padding: 8px;
    }
    .close-modal-btn:hover { color: var(--ink); }

    @media (max-width: 980px) {
      .form-shell, .profile, .grid-4, .grid-3, .grid-2, .hero-grid { grid-template-columns: 1fr; }
      .form-copy { border-right: 0; border-bottom: 1px solid var(--line); }
    }
    @media (max-width: 720px) {
      .hero { padding-top: 38px; }
      .hero-main, .form-copy, .form-area { padding: 24px 20px; }
      .hero-points { grid-template-columns: 1fr; }
      .wrap { width: min(var(--max), calc(100% - 20px)); }
      .btn { width: 100%; }
      .submit-row .btn { width: auto; }
      .hero-grid { gap: 22px; }
      .hero-visual { order: -1; }
    }