@charset "utf-8";

/* =========================================================
   基本設定（モバイルファースト）
========================================================= */
body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4fff4; /* 倉塾のテーマカラー（薄いグリーン） */
    line-height: 1.8;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: #00873F;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* =========================================================
   レイアウトの骨組み
========================================================= */
.container {
    max-width: 800px; /* PCで見たときの最大幅 */
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.05); /* ページ全体に薄い影をつけて浮かせる */
}

/* =========================================================
   各パーツのデザイン
========================================================= */
/* ヘッダーロゴ */
header {
    text-align: center;
    padding: 5px 0; /* 20pxから5pxくらいに減らす（0にしてもOK） */
}
header h1 {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* 見出しデザイン */
h2 {
    font-size: 1.5rem;
    color: #fff;
    background-color: #00873F; /* 倉塾グリーン */
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 1em;
    border-left: 8px solid #005A2A; /* 左に濃い緑のアクセント */
}
h3 {
    font-size: 1.2rem;
    color: #00873F;
    border-bottom: 2px solid #00c43e;
    padding-bottom: 5px;
    margin-top: 1.5em;
}

/* 目立たせるボックス（概要など） */
.info-box {
    border: 2px solid #7ADE89;
    background-color: #fafffa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 写真とキャプション */
.photo-center {
    text-align: center;
    margin: 20px 0;
}
.photo-center img {
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.photo-center p {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* スケジュール表（スマホでも見やすいように） */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.schedule-table th, .schedule-table td {
    border: 1px solid #7ADE89;
    padding: 10px;
    text-align: left;
}
.schedule-table th {
    background-color: #e4f9e6;
    color: #00873F;
    font-weight: bold;
}

/* PC向けの調整 */
@media (min-width: 768px) {
    .container {
        margin-top: 30px;
        margin-bottom: 30px;
        border-radius: 10px;
    }
}

/* =========================================================
   料金表・道具表などの基本テーブル
========================================================= */
.basic-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
}
.basic-table th, .basic-table td {
    border: 1px solid #7ADE89;
    padding: 12px;
}
.basic-table th {
    background-color: #e4f9e6;
    color: #00873F;
    font-weight: bold;
    text-align: left;
	white-space: nowrap; /* ★これを追加（文字の折り返しを禁止して幅をキープ） */
}

/* スマホ用：テーブルの見出し幅を調整 */
@media (min-width: 768px) {
    .basic-table th {
        width: 25%; /* PCの時は見出し幅を固定して美しく */
    }
}

/* =========================================================
   Web Shop バナー
========================================================= */
.shop-banner {
    display: block;
    text-align: center;
    background-color: #fafffa;
    border: 2px dashed #2DB541;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    transition: background-color 0.3s;
}
.shop-banner:hover {
    background-color: #e4f9e6;
}
.shop-banner p {
    margin: 0 0 10px 0;
    color: #00873F;
    font-weight: bold;
}

/* =========================================================
   個別講習会エリア
========================================================= */
.private-lesson {
    border: 2px solid #005A2A;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    margin-top: 20px;
}
.private-lesson h4 {
    color: #005A2A;
    border-bottom: 1px solid #005A2A;
    padding-bottom: 5px;
    margin-top: 1.5em;
    margin-bottom: 10px;
}
.private-price {
    font-size: 1.1em;
    background-color: #f4fff4;
    padding: 10px;
    border-radius: 5px;
}
.private-price span {
    font-weight: bold;
    color: #e60012; /* 合計金額を目立たせる赤 */
	font-size: 1.2em; /* ★文字を少し大きく */
}

/* =========================================================
   よくあるご質問（アコーディオン形式）
========================================================= */
.faq-list {
    margin: 20px 0;
}
.faq-item {
    border-bottom: 1px solid #7ADE89;
    margin-bottom: 10px;
}
.faq-item:first-of-type {
    border-top: 1px solid #7ADE89;
}
.faq-title {
    font-weight: bold;
    color: #00873F;
    padding: 15px 30px 15px 10px; /* 右側に+の余白を空ける */
    cursor: pointer;
    position: relative;
    list-style: none; /* デフォルトの三角マークを消す */
}
/* Safariなどで三角マークを消すおまじない */
.faq-title::-webkit-details-marker {
    display: none;
}
/* 「Q.」のマークをつける */
.faq-title::before {
    content: "Q.";
    color: #fff;
    background-color: #00873F;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 0.9em;
}
/* 右端の「＋」マーク */
.faq-title::after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}
/* 開いた時に「＋」を「×」にするアニメーション */
.faq-item[open] .faq-title::after {
    transform: translateY(-50%) rotate(45deg);
}
/* 答えのエリア */
.faq-content {
    padding: 0 10px 20px 45px; /* Q.の分だけ字下げして揃える */
    line-height: 1.7;
    position: relative;
}
/* 「A.」のマークをつける */
.faq-content::before {
    content: "A.";
    color: #00873F;
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 10px;
}

/* =========================================================
   会場アクセス・地図
========================================================= */
.access-info {
    background-color: #fff;
    border: 2px solid #e4f9e6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
/* Googleマップをスマホ画面にピッタリ合わせるための魔法の箱 */
.map-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9の比率にする */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
    margin-top: 20px;
}
.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* =========================================================
   申し込みフォーム
========================================================= */
.application-form {
    background-color: #fafffa;
    border: 2px solid #7ADE89;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-weight: bold;
    color: #00873F;
    margin-bottom: 8px;
}
/* 入力欄（テキスト、電話番号、メール、テキストエリア）のデザイン */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* paddingを含めて100%にする魔法 */
    font-size: 1rem;
    font-family: inherit;
}
/* ラジオボタン（選択肢）のデザイン */
.radio-group label {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    line-height: 1.5;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.2s;
}
.radio-group label:hover {
    background-color: #e4f9e6;
}
.radio-group input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2); /* ラジオボタンを少し大きくして押しやすく */
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}
.submit-btn {
    background-color: #00873F;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 50px;
    border: none;
    border-radius: 50px; /* 丸みのあるボタン */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.submit-btn:hover {
    background-color: #005A2A;
    transform: translateY(-2px); /* マウスを乗せると少しフワッと浮く */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* =========================================================
   フッター
========================================================= */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #e4f9e6; /* 薄いグリーン */
    color: #005A2A;
    font-size: 0.9em;
    border-top: 2px solid #7ADE89;
}

/* =========================================================
   動画リンクボタン
========================================================= */
.video-btn {
    display: inline-block;
    background-color: #e60012; /* YouTube風の赤色 */
    color: #ffffff !important;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    text-decoration: none;
    margin-top: 8px; /* 文字との間に少し隙間を空ける */
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.video-btn:hover {
    background-color: #bf000f; /* マウスを乗せたら少し暗い赤に */
    transform: translateY(-2px); /* 少しフワッと浮く */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-decoration: none;
}
/* 動画へのリンクボタン */
.video-btn {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 15px;
    background-color: #005A2A; /* 濃いグリーン */
    color: #fff !important; /* 文字を白に */
    font-size: 0.9rem;
    border-radius: 20px; /* 丸みを持たせる */
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}
.video-btn:hover {
    background-color: #00873F;
    text-decoration: none;
}