@charset "UTF-8";
/* ============================
   LEC鳥取千代水校 メインスタイル
   ============================ */

/* ---------- CSS変数（カラーパレット） ---------- */
:root {
    --lec-red: #e60012;
    --lec-red-dark: #ab1717;
    --lec-red-light: #ff2200;
    --lec-gold: #f08309;
    --lec-gold-light: #edad19;
    --lec-cream: #fae9d1;
    --lec-pink-bg: #fdf3f0;
    --lec-light-gray: #f5f5f5;
    --lec-border: #d6d6d6;
    --text-main: #333;
    --text-sub: #666;
    --white: #fff;
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
    --transition: 0.3s ease;
}

/* ---------- ベース ---------- */
body {
    font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background: var(--white);
    font-size: 16px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--lec-red);
    transition: opacity var(--transition);
}
a:hover {
    opacity: 0.75;
}

/* ---------- 共通レイアウト ---------- */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 5%;
}
.section-bg {
    background: var(--lec-pink-bg);
}
.section-bg .section {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.section-bg .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    position: relative;
    letter-spacing: 0.05em;
}
.section-title::after {
    content: "";
    display: block;
    width: 14rem;
    height: 2px;
    background: #858585;
    margin: 1rem auto 0;
}

.lead-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ---------- ヘッダー ---------- */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 4%;
    max-width: 1300px;
    margin: 0 auto;
}
.logo {
    display: block;
    max-width: 220px;
    width: 18vw;
    min-width: 140px;
}
.logo img {
    width: 100%;
    height: auto;
}
.header-cta {
    display: flex;
    align-items: center;
}
.btn-top-cta {
    display: inline-block;
    background: linear-gradient(180deg, #f9c350 0%, #f08309 50%, #c4660a 100%);
    color: var(--white) !important;
    padding: 0.9rem 1.8rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid #fff5d8;
}
.btn-top-cta:hover {
    opacity: 1;
    filter: brightness(1.05);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-left: 1rem;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--lec-red);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* グローバルナビ */
.g-nav {
    background: linear-gradient(0deg, var(--lec-red-dark), #cf3018 30%, var(--lec-red-light));
}
.g-nav ul {
    display: flex;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}
.g-nav li {
    flex: 0 1 auto;
}
.g-nav a {
    display: block;
    color: var(--white);
    padding: 1rem 1.6rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition);
}
.g-nav a:hover {
    background: rgba(0, 0, 0, 0.15);
    opacity: 1;
}

/* ---------- メインビジュアル ---------- */
.main-visual {
    position: relative;
    background: url('../images/top.png') center/cover no-repeat;
    min-height: 460px;
    display: flex;
    align-items: center;
    padding: 3rem 5%;
}
.main-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 60%, rgba(255,255,255,0.2) 100%);
}
.mv-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
}
.mv-content h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}
.mv-content h1 .accent {
    color: var(--lec-red);
}
.mv-tagline {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 0.6rem 1rem;
    border-left: 4px solid var(--lec-red);
    margin-top: 1rem;
}
.mv-tagline strong { color: var(--lec-red); }

.mv-badge {
    position: absolute;
    right: 6%;
    bottom: 2rem;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #ffe683, #f5c84b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-main);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

/* ---------- LEC提携校とは？ ---------- */
.concept-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.concept-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.concept-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: var(--white);
}
.concept-list li::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url('../images/check_red.png') center/contain no-repeat;
    margin-top: 3px;
}
.concept-list strong {
    color: var(--lec-red);
    margin-right: 0.4rem;
}

/* ---------- 選ばれる理由 ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-item {
    background: var(--white);
    border: 1px solid #e2e2e2;
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: transform var(--transition);
}
.feature-item:hover {
    transform: translateY(-4px);
}
.feature-num {
    display: block;
    color: var(--lec-red);
    font-size: 1.8rem;
    font-weight: bold;
    font-family: "Georgia", serif;
    margin-bottom: 0.5rem;
}
.feature-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--lec-pink-bg);
    border: 2px solid #fde0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 1.2rem;
}
.feature-icon i {
    font-size: 48px;
    color: var(--lec-red);
    line-height: 1;
}
.feature-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--lec-red);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    min-height: 3.3em;
}
.feature-item p {
    font-size: 0.92rem;
    text-align: left;
    line-height: 1.7;
}

/* ---------- 比較表 ---------- */
.compare-table-wrap {
    max-width: 900px;
    margin: 3rem auto 0;
    overflow-x: auto;
}
.compare-table {
    width: 100%;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
    padding: 0.9rem 1rem;
    border: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: middle;
}
.compare-table thead th {
    background: var(--lec-cream);
    font-weight: bold;
    text-align: center;
}
.compare-table thead th.col-ours {
    background: #ffe9c2;
    color: var(--lec-red);
}
.compare-table tbody th {
    background: #f8f8f8;
    font-weight: bold;
    width: 22%;
    text-align: center;
}
.compare-table .mark-bad {
    color: #d32f2f;
    font-weight: bold;
    margin-right: 0.3rem;
}
.compare-table .mark-good {
    color: #2e7d32;
    font-weight: bold;
    margin-right: 0.3rem;
}

/* ---------- 講座案内 ---------- */
.courses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}
.course-box {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ececec;
}
.course-header {
    background: var(--lec-cream);
    padding: 0.7rem 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.05rem;
    color: #5e3a00;
}
.course-body {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.course-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lec-pink-bg);
    border-radius: 50%;
}
.course-icon i {
    font-size: 28px;
    color: var(--lec-red);
    line-height: 1;
}
.course-body ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    flex: 1;
}
.course-body li {
    background: var(--lec-light-gray);
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
}
.course-body li a {
    display: block;
    padding: 0.45rem 0.5rem;
    color: var(--text-main);
}
.course-body li a:hover {
    background: var(--lec-cream);
    opacity: 1;
}
.course-body li a .ext-icon {
    font-size: 0.65rem;
    margin-left: 0.4rem;
    color: var(--lec-red);
    opacity: 0.65;
    vertical-align: middle;
    transition: opacity var(--transition);
}
.course-body li a:hover .ext-icon {
    opacity: 1;
}
.lead-text small {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--text-sub);
}

/* ---------- ボタン ---------- */
.center-btn {
    text-align: center;
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.btn-red {
    display: inline-block;
    background: var(--lec-red);
    color: var(--white) !important;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(230, 0, 18, 0.25);
    transition: var(--transition);
}
.btn-red:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.btn-outline {
    display: inline-block;
    background: var(--white);
    color: var(--lec-red) !important;
    border: 2px solid var(--lec-red);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--lec-red);
    color: var(--white) !important;
    opacity: 1;
}

/* ---------- 自習スペース紹介 ---------- */
.study-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.study-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}
.study-item.reverse {
    direction: rtl;
}
.study-item.reverse > * {
    direction: ltr;
}
.study-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}
.study-info .tag {
    display: inline-block;
    background: var(--lec-cream);
    color: #5e3a00;
    font-weight: bold;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.study-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--lec-red);
}
.study-info p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---------- 面接対策 ---------- */
.interview-lead {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.interview-lead .highlight {
    color: var(--lec-red);
    font-weight: bold;
}
.interview-list {
    max-width: 760px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.interview-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: var(--white);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--lec-red);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.interview-list li::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url('../images/check_green.jpg') center/contain no-repeat;
    margin-top: 3px;
}
.interview-list strong {
    color: var(--lec-red);
    margin-right: 0.4rem;
}

/* ---------- 受講相談バナー ---------- */
.consult-banner {
    max-width: 900px;
    margin: 3rem auto 0;
    background: linear-gradient(135deg, var(--lec-gold-light), var(--lec-gold));
    color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(240, 131, 9, 0.3);
}
.consult-banner h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.consult-banner p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ---------- 当校について（フッター上部） ---------- */
.about-section {
    background: var(--lec-pink-bg);
    padding: 4rem 5%;
}
.about-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
.about-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}
.about-info h3 {
    color: var(--lec-red);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--lec-red);
}
.about-info dl {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.6rem 1rem;
    margin-top: 1rem;
}
.about-info dt {
    font-weight: bold;
    color: var(--text-sub);
}
.about-info dd {
    line-height: 1.7;
}
.about-info .tel-note {
    font-size: 0.78rem;
    color: var(--text-sub);
}
.about-info .hours {
    margin-top: 1rem;
    background: var(--lec-pink-bg);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}
.about-info .hours strong {
    color: var(--lec-red);
    display: block;
    margin-bottom: 0.5rem;
}
.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.hours-table th,
.hours-table td {
    padding: 0.35rem 0.5rem;
    text-align: left;
    border-bottom: 1px dashed #f0c8c0;
    vertical-align: middle;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td {
    border-bottom: none;
}
.hours-table th {
    font-weight: bold;
    width: 4.5rem;
    color: var(--text-main);
    white-space: nowrap;
}
.hours-table td {
    white-space: nowrap;
}
.hours-table .staff-on {
    color: #2e7d32;
    font-size: 0.78rem;
    font-weight: bold;
    background: #e9f7ea;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}
.hours-table .staff-off {
    color: #888;
    font-size: 0.78rem;
    background: #ececec;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}
.hours-table .closed {
    color: var(--lec-red);
    font-weight: bold;
}
.about-map {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    background: #e0e0e0;
}
.about-btns {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ---------- フッター ---------- */
.footer {
    background: var(--white);
}
.copyright {
    background: var(--lec-red);
    color: var(--white);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.85rem;
}

/* ---------- お問合わせフォーム ---------- */
.contact-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
}
.contact-lead {
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}
.form-row {
    margin-bottom: 1.5rem;
}
.form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.form-row label .required {
    background: var(--lec-red);
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}
.form-row label .optional {
    background: #999;
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: var(--white);
    transition: border-color var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--lec-red);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}
.form-row textarea {
    min-height: 140px;
    resize: vertical;
}
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    margin-top: 0.5rem;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: normal;
    cursor: pointer;
}
.form-submit {
    text-align: center;
    margin-top: 2rem;
}
.form-submit button {
    background: var(--lec-red);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
    transition: var(--transition);
}
.form-submit button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-top: 1rem;
}

/* ---------- プライバシーポリシーページ ---------- */
.privacy-section {
    max-width: 880px;
    margin: 0 auto;
    padding: 4rem 5%;
}
.privacy-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    font-size: 0.95rem;
}
.privacy-intro {
    line-height: 1.9;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--lec-pink-bg);
}
.privacy-article {
    margin-bottom: 2rem;
}
.privacy-article h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--lec-red);
    border-left: 4px solid var(--lec-red);
    padding-left: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}
.privacy-article p {
    line-height: 1.9;
    margin-bottom: 0.8rem;
}
.privacy-article ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
}
.privacy-article ul li {
    line-height: 1.85;
    margin-bottom: 0.3rem;
}
.privacy-contact-box {
    background: var(--lec-pink-bg);
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}
.privacy-contact-box p { margin: 0.3rem 0; line-height: 1.7; }
.privacy-meta {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--lec-pink-bg);
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-sub);
}
.privacy-meta .privacy-signature {
    margin-top: 1rem;
    color: var(--text-main);
    font-weight: bold;
}
.privacy-link {
    color: var(--lec-red);
    text-decoration: underline;
    font-weight: bold;
}
.privacy-link:hover {
    opacity: 0.75;
}
.privacy-notice {
    background: var(--lec-pink-bg);
    border-left: 3px solid var(--lec-red);
    padding: 0.7rem 1rem;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.7;
    border-radius: 4px;
}

/* ---------- フッター内リンク ---------- */
.footer-links {
    background: #fff;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
}
.footer-links a {
    color: var(--text-sub);
    text-decoration: none;
    margin: 0 0.8rem;
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--lec-red);
}
.footer-links .sep {
    color: #ddd;
}

/* ---------- 送信完了ページ ---------- */
.thanks-box {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.thanks-icon {
    font-size: 4.5rem;
    color: #2e7d32;
    margin-bottom: 1rem;
    line-height: 1;
}
.thanks-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--lec-red);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.thanks-lead {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}
.thanks-lead small {
    display: inline-block;
    margin-top: 0.8rem;
    color: var(--text-sub);
    font-size: 0.85rem;
    line-height: 1.7;
}
.thanks-info {
    background: var(--lec-pink-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}
.thanks-info p { margin: 0.3rem 0; }
.thanks-info small { color: var(--text-sub); }
.thanks-tel {
    font-size: 1.6rem !important;
    font-weight: bold;
    color: var(--lec-red);
    letter-spacing: 0.05em;
}
.thanks-tel i {
    margin-right: 0.4rem;
}

/* ---------- レスポンシブ（タブレット 〜960px） ---------- */
@media (max-width: 960px) {
    .section { padding: 3.5rem 5%; }
    .section-title { font-size: 1.5rem; }
    .feature-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .feature-item h3 { min-height: auto; }
    .courses-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-map { min-height: 260px; }
    .mv-content h1 { font-size: 1.5rem; }
    .mv-badge { width: 90px; height: 90px; font-size: 0.85rem; right: 4%; }
}

/* ---------- レスポンシブ（スマホ 〜640px） ---------- */
@media (max-width: 640px) {
    body { font-size: 15px; }
    .section { padding: 3rem 5%; }
    .section-title { font-size: 1.35rem; }
    .section-title::after { width: 10rem; }

    .header-inner { padding: 0.6rem 4%; }
    .logo { min-width: 110px; width: 130px; }
    .btn-top-cta { padding: 0.6rem 1rem; font-size: 0.85rem; }
    .header-cta .btn-top-cta { display: none; }
    .hamburger { display: flex; }

    .g-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition);
    }
    .g-nav.open { max-height: 400px; }
    .g-nav ul {
        flex-direction: column;
        padding: 0.5rem 0;
    }
    .g-nav a {
        padding: 0.85rem 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-visual { min-height: 360px; }
    .mv-content h1 { font-size: 1.3rem; }
    .mv-tagline { font-size: 0.9rem; }
    .mv-badge { width: 80px; height: 80px; font-size: 0.75rem; bottom: 1rem; }

    .compare-table { font-size: 0.85rem; }
    .compare-table th, .compare-table td { padding: 0.6rem 0.5rem; }
    .compare-table tbody th { width: 30%; }

    .course-body { flex-direction: column; }
    .course-icon { width: 48px; height: 48px; }
    .course-body ul { width: 100%; }

    .study-item, .study-item.reverse { grid-template-columns: 1fr; direction: ltr; }
    .study-item > * { direction: ltr; }

    .consult-banner h3 { font-size: 1.2rem; }
    .consult-banner p { font-size: 0.9rem; }

    .about-info { padding: 1.5rem; }
    .about-info dl { grid-template-columns: 5rem 1fr; }

    .contact-form { padding: 1.5rem; }
    .form-submit button { width: 100%; padding: 1rem; }
}
