/* ===== Contact Page Styles ===== */
.contact-page-section { /* お問い合わせページ専用のセクションスタイル */
    padding-top: 40px;
    padding-bottom: 60px;
}

.contact-page-section h2 { /* 「お問い合わせ」タイトル */
    text-align: center;
    font-size: 2.2em; /* index.htmlのセクションタイトルと合わせる */
    margin-bottom: 40px;
}

.contact-details-wrapper {
    max-width: 800px; /* 内容の最大幅 */
    margin: 0 auto;   /* 中央寄せ */
    background-color: #FFFFFF;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

.contact-method {
    margin-bottom: 35px;
}
.contact-method:last-of-type {
    margin-bottom: 25px;
}

.contact-method h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.7em;
    color: #386641; /* ダークグリーン */
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E6EFE6; /* 薄いグリーン系の下線 */
}

.contact-item {
    font-size: 1.15em; /* 電話番号やメールアドレスを少し大きく */
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-icon {
    /* Font Awesomeなどのアイコンフォントを使用する場合のスタイル例 */
    /* content: '☎'; こちらはHTMLに直書きしているので不要 */
    font-size: 1.5em; /* アイコンサイズ */
    color: #386641;   /* ダークグリーン */
    margin-right: 12px;
    line-height: 1; /* アイコンとテキストの垂直位置調整 */
}
.contact-item .contact-icon { /* index.htmlのCTAアイコンと区別 */
    color: #6A994E; /* やや明るいグリーン */
}


.contact-link {
    color: #6A994E; /* やや明るいグリーン */
    font-weight: bold;
    text-decoration: none;
}
.contact-link:hover {
    color: #A7C957; /* ホバー時の明るいグリーン */
    text-decoration: underline;
}

.contact-supplement { /* 「土日祝日も対応」など補足情報 */
    font-size: 1em;
    color: #4A4A4A;
    margin-bottom: 10px;
    padding-left: calc(1.5em + 12px); /* アイコンの幅とマージン分インデント */
}

.contact-note { /* 注意書き */
    font-size: 0.9em;
    color: #5a5a5a; /* やや控えめな色 */
    line-height: 1.7;
    margin-bottom: 10px;
    padding-left: calc(1.5em + 12px); /* アイコンの幅とマージン分インデント (電話の注意書き用) */
}
.contact-method h3 + .contact-item + .contact-note, /* メールアドレス直下の注意書き用 */
.contact-method .contact-item + .contact-note {
    padding-left: calc(1.5em + 12px); /* メールアドレス下の注意書きにも適用 */
}
.contact-method > .contact-note:first-of-type { /* メールアドレス下の最初の注意書きで、アイコンがない場合 */
     padding-left: 0;
}
/* 上記の複雑なセレクタより、メールの注意書きにクラスを振る方が管理しやすいかもしれません */
.email-specific-note { /* 必要であればこのクラスをHTMLのメールの注意書きpタグに付与 */
    padding-left: 0;
}


.trial-lesson-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E0E0E0;
    text-align: center;
}
.trial-lesson-info p {
    font-size: 1.05em;
    margin-bottom: 20px;
}

.sp-only { display: none; } /* スマホでのみ表示する改行用 (デフォルト非表示) */

@media (max-width: 768px){
    /* ===== Contact Page Styles (Phone) ===== */
    .contact-page-section {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .contact-page-section h2 {
        font-size: 1.7em; /* スマホ向けに調整 */
        margin-bottom: 25px;
    }

    .contact-details-wrapper {
        padding: 20px 15px; /* スマホ向けにパディング調整 */
    }

    .contact-method h3 {
        font-size: 1.4em; /* スマホ向けに調整 */
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .contact-item {
        font-size: 1.05em; /* スマホ向けに調整 */
        align-items: flex-start; /* アイコンとテキストが複数行になる場合を考慮 */
    }
    .contact-item .contact-icon {
        font-size: 1.3em; /* スマホ向けに調整 */
        margin-right: 8px;
        margin-top: 2px; /* 微調整 */
    }

    .contact-supplement {
        font-size: 0.9em;
        padding-left: calc(1.3em + 8px); /* アイコン幅とマージンに合わせて調整 */
    }

    .contact-note {
        font-size: 0.85em; /* スマホ向けに調整 */
        line-height: 1.65;
        padding-left: calc(1.3em + 8px); /* アイコン幅とマージンに合わせて調整 */
    }
    .contact-method > .contact-note:first-of-type,
    .email-specific-note { /* メール下の注意書きでアイコンがないもの */
        padding-left: 0;
    }

    .trial-lesson-info {
        margin-top: 30px;
        padding-top: 25px;
    }
    .trial-lesson-info p {
        font-size: 0.95em;
    }
    .trial-lesson-info .btn {
        width: 90%;
        max-width: 280px;
        font-size: 0.95em;
        padding: 12px 15px;
    }

    .sp-only { display: block; } /* スマホでのみ改行を表示 */
}