/* ========================================
   香葉スタジオ - Global Styles
   古民家ピラティス・ヨガ・ハーブティー・お香
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #5C4033;
    --color-secondary: #8B6914;
    --color-accent: #A0826D;
    --color-gold: #B8860B;
    --color-bg: #FAF6F0;
    --color-bg-warm: #F5EDE3;
    --color-bg-dark: #3E2723;
    --color-text: #3E2723;
    --color-text-light: #6D5D53;
    --color-border: #D7CCC8;
    --color-white: #FFFFFF;
    --color-success: #66BB6A;
    --color-error: #EF5350;
    --font-main: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', 'HG明朝E', serif;
    --font-body: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'YuGothic', 'メイリオ', Meiryo, sans-serif;
    --header-height: 60px;
    --shadow-sm: 0 1px 3px rgba(62,39,35,.06);
    --shadow-md: 0 4px 16px rgba(62,39,35,.08);
    --shadow-lg: 0 8px 32px rgba(62,39,35,.1);
    --transition-smooth: cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-bg);
    padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* ========================================
   Header（常にトップ固定）
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    z-index: 1000;
    border-bottom: 1px solid rgba(215,204,200,.5);
    transition: box-shadow .4s var(--transition-smooth);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(62,39,35,.08);
}

.header-inner {
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* ハンバーガーボタン */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ロゴ */
.header-logo a {
    display: flex;
    align-items: center;
}

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

.logo-text {
    font-family: var(--font-main);
    font-size: 1.4rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
}

/* 予約ボタン */
.header-reserve-btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all .35s var(--transition-smooth);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(92,64,51,.15);
}

.header-reserve-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(92,64,51,.2);
}

/* ========================================
   Mobile Navigation（スライドメニュー）
   ======================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    pointer-events: none;
}

.mobile-nav.open {
    pointer-events: all;
}

.mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.open .mobile-nav-overlay {
    opacity: 1;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--color-bg);
    padding: 80px 30px 30px;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.open .mobile-nav-content {
    left: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text);
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-list a {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--color-text);
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
    color: var(--color-secondary);
}

.nav-instagram {
    display: inline-flex;
    align-items: center;
}

.instagram-icon {
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.instagram-icon:hover {
    color: var(--color-secondary);
}

/* ========================================
   共通セクション
   ======================================== */
.page-section {
    min-height: 100vh;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-main);
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
}

.section-header::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    margin: 1.2rem auto 0;
    opacity: .5;
}

/* ========================================
   1. Hero（縦書きタイトル + 背景写真）
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 500px;
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg-dark);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(62,39,35,.15) 0%,
        rgba(62,39,35,.35) 50%,
        rgba(62,39,35,.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-title-vertical {
    font-family: var(--font-main);
    font-size: 3rem;
    color: var(--color-white);
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.3em;
    line-height: 1.6;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
    font-weight: 300;
    animation: heroFadeIn 1.2s var(--transition-smooth) both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   2. Concept（スクロールアニメ付きギャラリー）
   ======================================== */
.concept-section {
    background: var(--color-white);
}

.concept-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.concept-lead {
    font-family: var(--font-main);
    font-size: 1.2rem;
    line-height: 2.2;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

.concept-scroll-gallery {
    margin-bottom: 4rem;
}

.concept-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.concept-row-left {
    transform: translateX(-60px);
}

.concept-row-right {
    transform: translateX(60px);
    flex-direction: row-reverse;
}

.concept-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.concept-image-wrapper {
    flex: 1;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.concept-image-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--color-bg-warm);
    transition: transform .6s var(--transition-smooth);
}

.concept-image-wrapper:hover img {
    transform: scale(1.03);
}

.concept-text-block {
    flex: 1;
    min-width: 0;
}

.concept-text-block p {
    font-family: var(--font-main);
    font-size: 1.05rem;
    line-height: 2;
    color: var(--color-text);
    letter-spacing: 0.03em;
}

.concept-statement {
    text-align: center;
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.3em;
    margin: 3.5rem 0;
    position: relative;
    padding: 1.5rem 0;
}

.concept-statement::before,
.concept-statement::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto;
    opacity: .4;
}

.concept-statement::before { margin-bottom: 1.5rem; }
.concept-statement::after { margin-top: 1.5rem; }

.concept-closing {
    text-align: center;
}

.concept-closing p {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text-light);
}

/* ========================================
   3. Features（動と食）
   ======================================== */
.features-section {
    background: var(--color-bg-warm);
}

.feature-block {
    margin-bottom: 4rem;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.feature-content-right {
    flex-direction: row-reverse;
}

.feature-image-wrapper {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-image-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background: var(--color-accent);
    transition: transform .6s var(--transition-smooth);
}

.feature-image-wrapper:hover img {
    transform: scale(1.03);
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-title {
    font-family: var(--font-main);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.3em;
    position: relative;
    display: inline-block;
}

.feature-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--color-accent);
    margin-top: .5rem;
    opacity: .5;
}

.feature-text p {
    margin-bottom: 1rem;
    line-height: 2;
    font-size: 0.95rem;
}

/* ========================================
   4. Reservation（予約カレンダー + フォーム）
   ======================================== */
.reservation-section {
    background: var(--color-white);
    padding: 5rem 0;
}

.reservation-hero-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.reservation-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background: var(--color-accent);
}

.lesson-description {
    margin-bottom: 3rem;
}

.lesson-desc-block {
    max-width: 700px;
    margin: 0 auto;
}

.lesson-desc-block h3 {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.lesson-desc-block p {
    margin-bottom: 0.8rem;
    line-height: 1.9;
    font-size: 0.95rem;
}

/* カレンダーエリア */
.reservation-calendar-area {
    background: var(--color-bg);
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.reservation-area-title {
    font-family: var(--font-main);
    font-size: 1.4rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
}

/* レッスンタイプ */
.lesson-type-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.lesson-type-btn {
    padding: 10px 24px;
    border: 2px solid var(--color-border);
    border-radius: 30px;
    background: var(--color-white);
    color: var(--color-text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.lesson-type-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.lesson-type-btn:hover:not(.active) {
    border-color: var(--color-accent);
    background: var(--color-bg-warm);
}

/* 受講方法 */
.attendance-type-selector {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.attendance-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

.attendance-option input[type="radio"] {
    accent-color: var(--color-primary);
}

/* カレンダー */
.calendars-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.calendar-month {
    background: var(--color-white);
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s var(--transition-smooth);
}

.calendar-month:hover {
    box-shadow: var(--shadow-md);
}

.calendar-month-header {
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.calendar-day-header {
    text-align: center;
    padding: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all .25s var(--transition-smooth);
    border: 1px solid transparent;
    font-weight: 400;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: var(--color-accent);
    color: var(--color-white);
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.selected {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: bold;
}

.calendar-day.today {
    border: 2px solid var(--color-gold);
}

/* タイムスロット */
.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.time-slot {
    padding: 10px 22px;
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 30px;
    cursor: pointer;
    transition: all .3s var(--transition-smooth);
    text-align: center;
    font-size: 0.9rem;
}

.time-slot:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(160,130,109,.2);
}

.time-slot.selected {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(92,64,51,.2);
}

/* 予約フォーム */
.reservation-form {
    max-width: 500px;
    margin: 0 auto;
}

.selected-datetime {
    background: var(--color-bg-warm);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.selected-datetime p {
    font-weight: 500;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.required {
    color: var(--color-error);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color .3s var(--transition-smooth), box-shadow .3s var(--transition-smooth);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(92,64,51,.08);
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92,64,51,.2);
}

.btn-large {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

/* パーソナルレッスン */
.personal-lesson-block {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.personal-lesson-image {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
}

.personal-lesson-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--color-accent);
}

.personal-lesson-text {
    flex: 1;
    min-width: 0;
}

.personal-lesson-text h3 {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.personal-lesson-text p {
    margin-bottom: 0.8rem;
    line-height: 1.9;
    font-size: 0.95rem;
}

/* 予約補足 */
.reservation-note {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-bg-warm);
    border-radius: 10px;
}

.reservation-note p {
    margin-bottom: 0.8rem;
    line-height: 1.9;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ========================================
   5. Price（料金表）
   ======================================== */
.price-section {
    background: var(--color-bg-warm);
}

.price-intro {
    max-width: 750px;
    margin: 0 auto 3rem;
    text-align: center;
}

.price-intro p {
    margin-bottom: 0.6rem;
    line-height: 1.9;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.price-card {
    background: var(--color-white);
    border-radius: 14px;
    padding: 2rem 2.2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .35s var(--transition-smooth), transform .35s var(--transition-smooth);
    border: 1px solid rgba(215,204,200,.3);
}

.price-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.price-card:last-child {
    margin-bottom: 0;
}

.price-card-title {
    font-family: var(--font-main);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.price-card-title small {
    font-size: 0.8em;
    font-weight: normal;
}

.price-card-desc {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.price-table th,
.price-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.price-table th {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-primary);
}

.price-value {
    font-weight: 600;
    color: var(--color-secondary);
    text-align: right;
}

.price-value small {
    font-weight: normal;
    font-size: 0.85em;
    color: var(--color-text-light);
}

.price-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.3rem;
}

/* ========================================
   6. Instructor（インストラクター紹介）
   ======================================== */
.instructor-section {
    background: var(--color-white);
}

.instructor-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.instructor-image {
    flex: 0 0 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.instructor-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: var(--color-accent);
    transition: transform .6s var(--transition-smooth);
}

.instructor-image:hover img {
    transform: scale(1.02);
}

.instructor-text {
    flex: 1;
    min-width: 0;
}

.instructor-text p {
    margin-bottom: 1rem;
    line-height: 2;
    font-size: 0.95rem;
}

/* ========================================
   7. Access（アクセス情報 + Googleマップ）
   ======================================== */
.access-section {
    background: var(--color-bg-warm);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.access-map iframe {
    width: 100%;
    min-height: 380px;
}

.access-info {
    padding: 1rem 0;
}

.access-info h3 {
    font-family: var(--font-main);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.access-info address {
    font-style: normal;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.access-detail {
    margin-bottom: 1.5rem;
}

.access-detail h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--color-primary);
}

.access-detail p {
    line-height: 1.8;
    font-size: 0.95rem;
}

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

/* ========================================
   8. Footer（ナビ + コピーライト）
   ======================================== */
.site-footer {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #2d1b16 100%);
    color: var(--color-white);
    padding: 3.5rem 0 2rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-white);
}

.footer-nav svg {
    fill: rgba(255, 255, 255, 0.8);
    transition: fill 0.3s ease;
}

.footer-nav a:hover svg {
    fill: var(--color-white);
}

.footer-copy {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Modal（予約完了ダイアログ）
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalIn .3s var(--transition-smooth) both;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-content h2 {
    font-family: var(--font-main);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.modal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.close-modal {
    float: right;
    font-size: 1.8rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--color-primary);
}

/* ========================================
   Responsive（スマホ対応）
   ======================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    .hero-title-vertical {
        font-size: 2.4rem;
    }

    .concept-row {
        flex-direction: column !important;
    }

    .concept-row-right {
        flex-direction: column !important;
    }

    .concept-image-wrapper img {
        height: 200px;
    }

    .concept-statement {
        font-size: 1.5rem;
    }

    .feature-content,
    .feature-content-right {
        flex-direction: column !important;
    }

    .feature-image-wrapper img {
        height: 250px;
    }

    .feature-title {
        font-size: 2rem;
    }

    .calendars-container {
        grid-template-columns: 1fr;
    }

    .personal-lesson-block {
        flex-direction: column;
    }

    .personal-lesson-image img {
        height: 220px;
    }

    .instructor-content {
        flex-direction: column;
    }

    .instructor-image {
        flex: none;
        width: 100%;
    }

    .instructor-image img {
        height: 300px;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .page-section {
        padding: 3rem 0;
        min-height: auto;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .price-card {
        padding: 1.5rem;
    }

    .reservation-calendar-area {
        padding: 1rem;
    }

    .lesson-type-selector {
        gap: 0.3rem;
    }

    .lesson-type-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .time-slots {
        flex-direction: column;
        align-items: stretch;
    }

    .header-reserve-btn {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .header-inner {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .hero-title-vertical {
        font-size: 2rem;
    }

    .concept-lead {
        font-size: 1rem;
    }

    .price-table th,
    .price-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}
