/* 基本リセットとフォント */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0faff; /* わずかにクリームがかった背景 */
    margin: 0;
    padding: 0;
}
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    color: #0077be; /* セピア（茶系）のリンク色 */
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #00a3af;
}

/* ヘッダーとナビゲーション */
.header {
    background-color: #008080; /* 濃いブラウン */
    color: white;
    padding: 10px 0;
border-bottom: 4px solid #90ee90; /* ライトグリーンのアクセント線 */

}

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

.header h1 {
    margin: 0;
    font-size: 1.8em;
    letter-spacing: 1px;
}

.header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header nav ul li {
    margin-left: 20px;
}

.header nav ul li a {
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
}

.header nav ul li a:hover {
    background-color: #00a3af;
}

/* ヒーローセクション (トップページ) */
.hero {
    background: url('images/school-bg.jpg') no-repeat center center/cover; /* 背景画像は適宜差し替えてください */
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 100, 150, 0.3); /* オーバーレイで文字を見やすく */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.catchphrase {
    font-size: 2.2em;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    background-color: #ffb300; /* アクセントカラー：ゴールド系 */
    color: fff;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
   

transition: background-color 0.3s, 
transform 0.2s;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #ffa000;
    transform: translateY(-2px);
}

.phone-info {
    margin-top: 20px;
    font-size: 1.1em;
}

.phone-info a {
    color: #ffeb3b;
    font-weight: bold;
}

/* 各セクション共通スタイル */
main section {
    padding: 60px 0;
}

h2 {
    font-size: 2em;
    color: #006064; /* 落ち着いた茶色 */
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    display: inline-block;
    padding-bottom: 5px;
}
/* 特徴セクション */
.feature-item {
    flex: 1;
    padding: 20px;
    border: 1px solid #b2ebf2; /* 明るい水色の枠線 */
    border-radius: 15px; /* 角を丸くして柔らかい印象に */
    background-color: white;
}

.feature-item h3 {
    color: #00897b; /* グリーン系 */
    font-size: 1.4em;
}

/* レッスン概要セクション */
.lesson-summary {
    text-align: center;
    background-color: #fffaf0; /* 暖色系の背景 */
}

.lesson-summary .price-range {
    font-size: 1.5em;
    font-weight: bold;
    color: #c0840b;
    margin: 15px 0 30px 0;
}

.learn-more-button {
    display: inline-block;
    border: 2px solid #5d4037;
    color: #5d4037;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.learn-more-button:hover {
    background-color: #5d4037;
    color: white;
}

/* レッスン詳細・お問い合わせページ共通 */
.lesson-info, .contact-methods {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

article {
    margin-bottom: 40px;
    border-left: 5px solid #c0840b;
    padding-left: 20px;
}

article h3 {
    color: #4a362a;
    font-size: 1.5em;
    margin-top: 0;
}

.note {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
}

/* 料金テーブル */
.price-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.price-table th, .price-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.price-table th {
    background-color: #f5f5f5;
    color: #5d4037;
}

/* お問い合わせ方法 */
.method-list {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.method-item {
    flex: 1;
    background-color: #e0f7fa;
    padding: 20px;
    border-radius: 8px;
}

.method-item h3 {
    border-bottom: 2px solid #4dd0e1;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.phone-number a {
    font-size: 1.5em;
    font-weight: bold;
    color: #d32f2f; /* 電話番号を強調 */
}

.line-btn {
    display: block;
    background: #06C755;
    color: #fff;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

/* フォームスタイル */
.email-form {
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #5d4037;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* paddingをwidthに含める */
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.reset-button {
    background-color: #777;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reset-button:hover {
    background-color: #555;
}

/* フッター */
.footer {
    background-color: #004d40; /* ヘッダーより少し濃いブラウン */
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
border-top: 5px solid #ffb300;

}

.footer p {
    margin: 5px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .header nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header nav ul li {
        margin: 5px 10px;
    }

    .catchphrase {
        font-size: 1.6em;
    }

    .feature-list, .method-list {
        flex-direction: column;
    }

    .feature-item, .method-item {
        margin-bottom: 20px;
    }
}


/* スマホ・タブレット向けの調整 */
@media screen and (max-width: 768px) {
    /* コンテナの幅を画面いっぱいに */
    .container {
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Googleマップ（iframe）を画面幅に合わせる */
    iframe {
        max-width: 100% !important;
        min-height: 350px; /* ここで高さを最低350px確保する */
    }

/* カレンダーを入れる箱の設定 */
.calendar-container {
    width: 100%;
    overflow: hidden; /* はみ出し防止 */
    position: relative;
    padding-bottom: 10px;
}

/* iframe自体がスマホで極端に小さくならないようにする */
.calendar-container iframe {
    max-width: 100%;
    min-height: 350px; /* ここで高さを最低350px確保する */
}
    /* 3つの特徴を縦に並べる */
    .feature-list {
        display: block !important;
    }
    .feature-item {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
}

    .feature-item {
        width: 100% !important;
        margin: 0 0 20px 0 !important;
    }

    /* メニューを折り返して表示する */
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }
}

