@charset "UTF-8";
/*
Theme Name: トットメイト 採用LP
Description: トワイライトスクール採用向けオリジナルLP
Author: miyabe
Version: 1.0
*/

/* ============================================
   基本設定・変数
   ============================================ */

/* カラーパレット定義 */
:root {
    /* メインカラー */
    --primary-color: #008C66; /* 濃い緑 */
    --accent-color:  #f5b1aa; /* ピンク */
    --secondary-green: #4CAF50; /* 薄い緑（装飾用） */
    
    /* 背景色 */
    --bg-beige: #fef8e0;
    --bg-light: #f4f8f6;
    --bg-pink:  #F9D2D9;
    --bg-blue:  #C7DEF3;

    --bg:   #F8FAFB;
    
    /* テキスト・ボーダー */
    --text-color: #333;
    --gray-border: #615B59;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

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

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

/* ============================================
   ユーティリティクラス
   ============================================ */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-p { background-color: var(--bg-pink) !important; }
.bg-b { background-color: var(--bg-blue) !important; }

.green { color: var(--primary-color); }
.bold  { font-weight: 700; }

.pd0  { padding: 0 !important; }
.pd20 { padding: 20px 0 !important; }

.pcmw40 { max-width: 40% !important;}
@media (max-width: 768px) {
    .pcmw40 { max-width: 90% !important;}
}

.pcmw35 { max-width: 35% !important;}
@media (max-width: 768px) {
    .pcmw35 { max-width: 80% !important;}
}

.spmw35 { max-width: 50% !important;}
@media (max-width: 768px) {
    .pcmw35 { max-width: 80% !important;}
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.btn-outline {
    background-color: #fff;
    border: 2px solid #666;
    color: #333;
}

/* タイトル画像ラッパー */
.title-wrap {
    max-width: 50%;
    margin: 20px auto 70px;
    text-align: center;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0 20px;
    }
    .btn {
        width: 100%;
        box-sizing: border-box;
    }
    .title-wrap {
        max-width: 100%;
        margin-bottom: 30px;
    }
}


/* ============================================
   ヘッダー
   ============================================ */
header {
    background: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: auto;
    width: 50%; /* お好みで調整 */
    display: block;
}

.header-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-btn {
        max-width: 100px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-tel-btn {
    background-color: #fff; 
    color: #008C66;
    border: 1px solid #008C66;
    padding: 8px 15px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 15px;
    }

    .header-logo img {
        height: 25px;
        width: auto;
    }


    .header-actions {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .header-tel-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        border: 1.5px solid #4CAF50;
        color: #4CAF50;
        border-radius: 50px;
    }

    .header-tel-btn span {
        display: none;
    }

    .header-tel-btn i {
        font-size: 1.2rem;
        margin-right: 0;
    }

    .header-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
        border-radius: 50px;
    }
}


/* ============================================
   FV (ヒーローエリア)
   ============================================ */
.hero {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    line-height: 0;
    background-color: var(--bg);
}

.hero .container {
    padding: 0;
    max-width: 100%;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.4;
    color: #333;
    margin: 0 0 20px;
}
.hero h1 span { color: var(--primary-color); }

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tag {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.img-placeholder {
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    border-radius: 10px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
}


/* ============================================
   コンセプト
   ============================================ */
.concept { background-color: var(--bg);}

.concept-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.concept-text { flex: 1; min-width: 300px; }
.concept-img  { flex: 1; min-width: 300px; }

.concept-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.concept-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 80px;
}

.concept-btns .btn {
    flex: 1;
    max-width: 280px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}

/* 青ボタン */
.concept-btns .btn-blue {
    background-color: var(--bg-blue);
    border: 2px solid var(--primary-color);
}
.concept-btns .btn-blue:hover {
    background-color: #A9CAE8;
}

/* 赤ボタン */
.concept-btns .btn-red {
    background-color: var(--bg-pink);
    border: 2px solid var(--primary-color);
}
.concept-btns .btn-red:hover {
    background-color: #F4B3BE;
}

@media (max-width: 768px) {
    .concept-content { flex-direction: column; }
    
    .concept-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    .concept-btns .btn {
        width: 100%;
        max-width: 100%;
        font-size: 0.9rem;
    }
    .concept-text h3 {
        font-size: 1.2rem;
    }
}


/* ============================================
   ターゲット
   ============================================ */
.target { background-color: #fff; }

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.target-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
}

.target-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.target-icon-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-icon-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


@media (max-width: 768px) {
    .target-item {
        padding: 20px 20px 20px 50px;
    }
}


/* ============================================
   施設一覧
   ============================================ */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.facility-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.facility-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-num {
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.8;
    position: relative;
    top: -3px;
}

.facility-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.facility-body {
    padding: 20px;
    font-size: 0.9rem;
}

.facility-row {
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.facility-label {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.tags-mini {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    flex-direction: column;
}

.tag-mini {
    font-size: 0.75rem;
    background: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
}

.tag-mini-area {
    font-size: 0.75rem;
    background: #FDEABE;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}


/* ============================================
   仕事内容
   ============================================ */
.job {
    background-color: var(--bg);
}

.job-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.job-left, .job-right {
    flex: 1;
    min-width: 300px;
}

/* コンテンツ（テキスト・リスト） */
.job-box {
    background: var(--bg-beige);
    padding: 30px;
    border-radius: 15px;
    height: 100%;
}

.job-box h3 {
    color: #d66;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
}

.job-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}
.job-list li::before {
    content: "●";
    color: #d66;
    position: absolute;
    left: 0;
}

/* スケジュール */
.schedule-list dt {
    float: left;
    clear: left;
    width: 60px;
    font-weight: bold;
    color: var(--primary-color);
}
.schedule-list dd {
    margin-left: 70px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .job-container { flex-direction: column; }
}


/* ============================================
   働く環境・待遇
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-card {
    border: 2px solid var(--gray-border);
    border-radius: 10px;
    padding: 20px;
    background: #fff;
}

.benefit-title {
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.7rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    letter-spacing: 0.05em;
}

.benefit-list li {
    font-size: 0.9rem;
    margin-bottom: 8px; 
    padding-left: 1.3em;
    position: relative;
    line-height: 1.6;
}

.benefit-list li::before {
    content: "●";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1rem;
    top: 0.65em;
    transform: translateY(-50%);
}

.salary {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.time {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}


/* ============================================
   トットメイトの強み
   ============================================ */
.strengths { background: var(--bg); }

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.strength-card {
    text-align: center;
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    border: 2px solid var(--gray-border);
}

.strength-num {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.strength-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 0 15px;
    letter-spacing: 0.05em;
}

.strength-text {
    font-size: 0.9rem;
    text-align: left;
}


/* ============================================
   よくある質問 (FAQ)
   ============================================ */
.faq {
    background-color: var(--bg);
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
}

.faq-q {
    padding: 15px;
    background: #f9f9f9;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Qアイコン */
.faq-q::before {
    content: "Q";
    background: var(--secondary-green);
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.faq-q::after {
    content: "＋";
    margin-left: auto;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.faq-item[open] .faq-q::after {
    content: "－";
    color: #999;
}

.faq-a {
    padding: 15px;
    display: flex;
    align-items: flex-start;
}

.faq-a::before {
    content: "A";
    background: var(--primary-color);
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .faq-q {
        pointer-events: none;
        cursor: default;
        list-style: none;
    }
    .faq-q::-webkit-details-marker { display: none; }
    
    .faq-q::after {
        display: none;
    }
}


/* ============================================
   応募の流れ
   ============================================ */
.flow-list {
    counter-reset: flow-num;
}

.flow-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    align-items: center;
}

.flow-step {
    background: var(--secondary-green);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-step span:first-child { font-size: 0.7rem; }
.flow-step span:last-child  { font-size: 1.4rem; font-weight: bold; }

.tel-link {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.flow-text i.fa-phone {
    margin-right: 0.5rem;
}

/* ============================================
   応募フォーム
   ============================================ */
.form-section {
    background: #e6f4ed;
    padding: 60px 0;
}

.form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.cf7-placeholder {
    border: 2px dashed #ccc;
    background: #f9f9f9;
    color: #666;
    padding: 50px;
    text-align: center;
    font-weight: bold;
}


/* ============================================
   フッター
   ============================================ */
footer {
    background-color: #5e5e5e;
    color: #fff;
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-col h3 a {
    color: #fff;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-text {
    font-size: 0.85rem;
    color: #ddd;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 矢印付きリンク */
.arrow-links a::after {
    content: " >";
    font-size: 0.8em;
    margin-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    color: #bbb;
    font-size: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 20px;
    }
    .footer-col:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   CF7 確認画面付きフォーム テンプレート
   ========================================================================== */

/* --- 1. フォーム全体・プレースホルダー --- */
.cf7-contact {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.cf7-placeholder {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* はみ出し防止 */
    box-sizing: border-box;
    padding: 30px 15px;
    background: #f9f9f9;
    border: 2px dashed #ccc;
    text-align: left; /* 入力欄が中央に寄らないように調整 */
}

/* --- 2. 入力欄とラベル (PC表示) --- */
.wpcf7-form .form-row {
    display: block;
    margin-bottom: 25px;
}

.form-label {
    display: block;      /* ラベルを一行占有させる */
    width: 100%;         /* 幅をいっぱいにする */
    margin-bottom: 10px; /* 入力欄との間のスキマ（重要！） */
    font-weight: bold;
    font-size: 1.05rem;
}

.form-label.required::after {
    content: "必須";
    font-size: 0.8em;
    color: #fff;
    background-color: #d9534f;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
}

.form-row .wpcf7-form-control-wrap,
.form-row .input-wrapper {
    display: block;
    width: 100%;
}

.input-text,
.input-textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* --- 3. バリデーション・エラー表示 --- */
.error-message {
    display: block;
    color: #d9534f;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 0.5rem;
}

.input-text.is-error {
    border-color: #d9534f !important;
    background-color: #fff8f8;
}

/* --- 4. 確認画面表示 (.js-confirmation-view) --- */
.confirmation-view ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.confirmation-view li {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.confirmation-view .conf-label {
    flex-shrink: 0;
    width: 240px;
    margin-right: 20px;
    font-weight: bold;
    color: #666;
}

.confirmation-view .conf-value {
    flex: 1;
    min-width: 0;
    font-size: 1.1em;
    white-space: pre-wrap;
    word-break: break-all;
}

/* --- 5. ボタン・Cloudflareエリア --- */
.cf-turnstile {
    max-width: 100% !important;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 0 auto 10px !important;
}

.js-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px auto 20px !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.js-firststep,
.js-secondstep {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* ボタン同士の隙間 */
}

/* ボタン共通設定 */
.js-confirm-btn, 
.js-return-btn, 
.wpcf7-submit {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.js-confirm-btn { background-color: #008C66; } /* メインカラーに統一 */
.js-confirm-btn:disabled { background-color: #ccc; cursor: not-allowed; }
.js-return-btn { background-color: #6c757d; }
.wpcf7-form [type="submit"] { background-color: #008C66;; color: #333; } /* アクセントカラー */

.form-footer-note {
    text-align: center !important;
    margin-top: 15px;
    font-size: 0.9em;
    color: #555;
}



/* --- 6. 状態管理（非表示と余白リセット） --- */
[aria-hidden="true"] {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* CF7自動挿入の空タグ対策 */
.wpcf7-form br,
.wpcf7-form p:empty {
    display: none !important;
}

.form-input-area,
.js-confirmation-view {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* --- 7. レスポンシブ (スマホ表示) --- */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 0;
    }
    .cf7-placeholder {
        padding: 20px 10px;
    }
    .wpcf7-form .form-row,
    .confirmation-view li {
        flex-direction: column;
        align-items: stretch;
    }
    .form-label,
    .confirmation-view .conf-label {
        width: 100%;
        margin: 0 0 0.5rem 0;
    }
    .js-confirm-btn, 
    .js-return-btn, 
    .wpcf7-submit {
        max-width: 100%; /* スマホでは横幅いっぱい */
    }
}

/* ==========================================================================
   サンクスページ専用スタイル
   ========================================================================== */
   .thanks-page {
    background-color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thanks-message {
    padding: 100px 20px;
    text-align: center;
    width: 100%;
}

.thanks-title {
    font-size: 2.4rem;
    color: var(--secondary-green);
    margin-bottom: 24px;
    font-weight: bold;
    line-height: 1.3;
}

.thanks-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-color);
    margin: 50px 0;
}

.thanks-back-btn {
    display: inline-block;
    background-color: #666;
    color: #fff !important;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.thanks-back-btn:hover {
    background-color: #444;
    opacity: 1;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .thanks-message {
        padding: 60px 15px;
    }

    .thanks-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .thanks-text {
        font-size: 1rem;
        text-align: left;
        line-height: 1.6;
    }

    .thanks-back-btn {
        width: 100%;
        padding: 15px 20px;
        box-sizing: border-box;
    }
}

/* プライバシーポリシーのテキスト・リンク装飾 */
.privacy-text {
    font-size: 0.9em;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
    padding-left: 1rem;
}

.privacy-text a {
    color: var(--primary-color); /* 緑色 */
    text-decoration: underline;
    font-weight: bold;
}

.privacy-text a:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* 個人情報行の下の余白を広めにとってボタンと区別する */
.privacy-row {
    margin-bottom: 30px !important;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; /* ここに薄い線を引くと区切りが分かりやすいです */
}

hr {
    margin: 20px;
}

/* アンカーリンクで飛んだ時の停止位置調整 */
#thanks {
    /* PCでの停止位置（少し余裕を持つ） */
    scroll-margin-top: 150px; 
}

/* スマホ用の調整 */
@media (max-width: 768px) {
    #thanks {
        /* スマホはヘッダーが相対的に大きく感じるので、もっと下げる */
        scroll-margin-top: 180px; 
    }
    
    .thanks-title {
        /* タイトルの上の余白自体も少し広げる */
        margin-top: 20px;
    }
}

/* 日付入力欄（date）のiPhoneはみ出し対策 */
input[type="date"].input-text {
    width: 100% !important;     /* 幅を親要素に強制的に合わせる */
    max-width: 100% !important; /* 絶対に突き抜けさせない */
    min-height: 2.8em;          /* 他の入力欄と高さを揃える */
    appearance: none;           /* iPhone独自のスタイルを一部解除 */
    -webkit-appearance: none;
    background-color: #fff;
    box-sizing: border-box;     /* パディングを含めて100%にする */
}

/* スマホでの微調整 */
@media (max-width: 768px) {
    .form-row [type="date"] {
        padding: 10px;          /* 内側の余白を整える */
        font-size: 16px;        /* iPhoneでズームされないための最低サイズ */
    }
}

/* 郵便番号の自動入力ポップアップ（吹き出し）を消す */
#autozip {
    display: none !important;
}