/*
Theme Name: Koe to Kokoro
Description: Voice and Heart Communication Website - Updated Design
Version: 2.0
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

/* フォント読み込み最適化 */
@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans JP';
    font-display: swap;
}

/* ==========================================
   CSS変数定義
   ========================================== */
:root {
    --navy-dark: #3d5a80;
    --navy-primary: #4a6fa5;
    --navy-medium: #5b7fa8;
    --navy-light: #7ba3c7;
    --gold: #d4a574;
    --gold-light: #e8c9a1;
    --rose: #c69fa5;
    --rose-light: #e8d4d8;
    --white: #ffffff;
    --off-white: #fafbfc;
    --text-dark: #2c3e50;
    --soft-gray: #e9ecef;
    --tiffany-blue: #81d4e3;
    --tiffany-blue-dark: #5fb8c9;
    --tiffany-blue-light: #b4e7f0;
    --tiffany-blue-pale: #e8f7fa;
    --shadow: 0 4px 20px rgba(129, 212, 227, 0.15);
    --shadow-hover: 0 8px 30px rgba(129, 212, 227, 0.25);
    --transition: all 0.3s ease;
}

/* ==========================================
   リセット・基本設定
   ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}
*:focus { outline: 2px solid var(--tiffany-blue); outline-offset: 2px; }
::selection { background: var(--rose-light); color: var(--white); }
::-moz-selection { background: var(--rose-light); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--soft-gray); }
::-webkit-scrollbar-thumb { background: linear-gradient(135deg, var(--rose), var(--gold)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, var(--navy-light), var(--rose)); }

/* ==========================================
   共通レイアウト
   ========================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==========================================
   ヘッダー・ナビゲーション
   ========================================== */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 186, 181, 0.1);
    transition: var(--transition);
}
.main-header::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 186, 181, 0.02), rgba(127, 221, 218, 0.02));
    pointer-events: none;
}
.navbar { position: relative; z-index: 2; }
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img {
    height: 50px; width: auto; transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(129, 212, 227, 0.2));
}
.logo-img:hover { transform: scale(1.05); filter: drop-shadow(0 4px 12px rgba(129, 212, 227, 0.3)); }
.nav-menu { display: flex; list-style: none; align-items: center; gap: 10px; }
.nav-item { position: relative; animation: fadeInUp 0.6s ease forwards; }
.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }
.nav-item:nth-child(6) { animation-delay: 0.6s; }
.nav-link {
    display: flex; align-items: center; padding: 12px 20px;
    text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 14px;
    letter-spacing: 0.5px; border-radius: 25px; transition: var(--transition);
    position: relative; overflow: hidden;
}
.nav-link::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 186, 181, 0.1), transparent);
    transition: left 0.6s ease;
}
.nav-link:hover::before { left: 100%; }
.nav-link:hover {
    color: var(--tiffany-blue); background: rgba(129, 212, 227, 0.1);
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(129, 212, 227, 0.2);
}
.nav-link.active { color: var(--tiffany-blue); background: rgba(129, 212, 227, 0.1); font-weight: 600; }
.external-icon { margin-left: 4px; font-size: 12px; opacity: 0.7; transition: var(--transition); }
.nav-link:hover .external-icon { opacity: 1; transform: translate(2px, -2px); }
.nav-toggle {
    display: none; flex-direction: column; cursor: pointer;
    padding: 10px; border-radius: 8px; transition: var(--transition);
}
.nav-toggle:hover { background: rgba(129, 212, 227, 0.1); }
.nav-toggle span { width: 25px; height: 3px; background: var(--tiffany-blue); margin: 3px 0; transition: var(--transition); border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(9px, 9px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(9px, -9px); }
.main-content { margin-top: 80px; }

/* ==========================================
   ヒーローセクション（2列スライダー）
   ========================================== */
.hero {
    height: 100vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: none;
}

/* 2列スライダー本体 */
.slider-wrap {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 各行：高さ50vhで横スクロール */
.slider-row {
    height: 50vh;
    min-height: 50vh;
    max-height: 50vh;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.slider-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    will-change: transform;
}

/* 上段：左へ流れる */
.track-left  { animation: heroSlideLeft  36s linear infinite; }
/* 下段：右へ流れる */
.track-right { animation: heroSlideRight 40s linear infinite; }

@keyframes heroSlideLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes heroSlideRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* 各写真 */
.slide {
    width: 300px;
    min-width: 300px;
    height: 50vh;
    flex-shrink: 0;
    overflow: hidden;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
}
.slide img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block; filter: brightness(0.76); transition: filter 0.3s ease;
}
.slide:hover img { filter: brightness(0.94); }

/* オーバーレイ */
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(232, 212, 216, 0.80) 0%,
        rgba(184, 212, 232, 0.45) 52%,
        rgba(184, 212, 232, 0.05) 100%
    );
    pointer-events: none; z-index: 5;
}

/* テキストボックス */
.hero-content {
    position: relative; z-index: 10;
    padding: 0 0 0 clamp(28px, 7%, 100px);
    text-align: left; max-width: none; animation: none;
}
.hero-title {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-left: 5px solid var(--rose);
    padding: 32px 52px 36px 32px; max-width: 560px; margin: 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    border-radius: 0 12px 12px 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-english {
    display: block; font-family: 'Playfair Display', serif;
    font-size: clamp(0.85rem, 1.4vw, 1.05rem); font-weight: 400; font-style: italic;
    color: var(--navy-primary); letter-spacing: 0.05em; margin-bottom: 14px;
}
.hero-japanese {
    display: block; font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500;
    color: var(--navy-dark); line-height: 1.7; letter-spacing: 0.06em;
}

/* ==========================================
   メッセージセクション
   ========================================== */
.message-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    padding: 10rem 5%;
    position: relative; overflow: hidden;
}
.message-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(232, 212, 216, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(184, 212, 232, 0.3) 0%, transparent 50%);
    pointer-events: none;
}
.message-content { max-width: 1000px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.message-text { font-size: 1.2rem; line-height: 2.4; color: var(--text-dark); }
.message-line {
    display: block; opacity: 0; transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}
.message-line.emphasis {
    font-size: 1.4rem; font-weight: 600; color: var(--navy-dark);
    margin: 2rem 0; position: relative; display: inline-block;
}
.message-line.emphasis::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px;
    background: linear-gradient(to right, var(--rose), var(--gold));
    animation: expandLine 0.8s ease-out forwards; animation-delay: 0.5s;
}

/* タイムライン */
.ととのえる-section { position: relative; margin: 5rem 0; padding: 4rem 0; }
.timeline-line {
    position: absolute; top: 50%; left: 0; right: 0; height: 3px;
    background: linear-gradient(to right, var(--rose-light), var(--navy-light), var(--gold-light));
    transform: translateY(-50%); opacity: 0;
    animation: lineExpand 1.5s ease-out forwards; animation-delay: 0.5s;
}
.timeline-container {
    display: flex; justify-content: space-between; align-items: center;
    gap: 2rem; position: relative; z-index: 2;
}
.timeline-item {
    flex: 1; text-align: center; opacity: 0; transform: translateY(50px);
    animation: timelineItemFadeIn 0.8s ease-out forwards;
}
.timeline-item:nth-child(1) { animation-delay: 0.8s; }
.timeline-item:nth-child(2) { animation-delay: 1.2s; }
.timeline-item:nth-child(3) { animation-delay: 1.6s; }
.timeline-dot {
    width: 24px; height: 24px; margin: 0 auto 2rem; border-radius: 50%;
    background: var(--white); border: 4px solid; position: relative;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3); transition: all 0.3s ease;
}
.timeline-item:nth-child(1) .timeline-dot { border-color: var(--rose); }
.timeline-item:nth-child(2) .timeline-dot { border-color: var(--navy-light); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--gold); }
.timeline-item:hover .timeline-dot { transform: scale(1.3); box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.4); }
.timeline-dot::after {
    content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    width: 2px; height: 40px; background: inherit; border: none;
}
.timeline-icon { width: 120px; height: 120px; margin: 0 auto 2rem; position: relative; }
.timeline-number {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 300;
    opacity: 0.15; z-index: -1;
}
.timeline-item:nth-child(1) .timeline-number { color: var(--rose); }
.timeline-item:nth-child(2) .timeline-number { color: var(--navy-light); }
.timeline-item:nth-child(3) .timeline-number { color: var(--gold); }
.timeline-title { font-size: 1.5rem; font-weight: 600; color: var(--navy-dark); margin-bottom: 1rem; position: relative; }
.timeline-title::after {
    content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    width: 50px; height: 2px; border-radius: 2px;
}
.timeline-item:nth-child(1) .timeline-title::after { background: var(--rose); }
.timeline-item:nth-child(2) .timeline-title::after { background: var(--navy-light); }
.timeline-item:nth-child(3) .timeline-title::after { background: var(--gold); }
.timeline-description { font-size: 1rem; line-height: 1.8; color: var(--text-dark); opacity: 0.8; margin-top: 1.5rem; }

/* アイコン */
.icon-mind { position: relative; }
.icon-mind::before, .icon-mind::after {
    content: ''; position: absolute; width: 50px; height: 80px;
    border: 3px solid var(--rose); border-radius: 50px 50px 0 0; top: 10px;
}
.icon-mind::before { left: 15px; transform: rotate(-45deg); }
.icon-mind::after  { right: 15px; transform: rotate(45deg); }
.icon-mind .icon-center {
    position: absolute; width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--rose-light), var(--rose));
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
    box-shadow: 0 5px 20px rgba(198, 159, 165, 0.3);
}
.icon-breath { position: relative; }
.icon-breath .circle { position: absolute; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.icon-breath .circle-1 { width: 40px; height: 40px; background: linear-gradient(135deg, var(--navy-light), var(--navy-medium)); box-shadow: 0 5px 20px rgba(74, 111, 165, 0.3); }
.icon-breath .circle-2 { width: 60px; height: 60px; border: 3px solid var(--navy-light); opacity: 0.6; }
.icon-breath .circle-3 { width: 80px; height: 80px; border: 3px solid var(--navy-light); opacity: 0.4; }
.icon-breath .circle-4 { width: 100px; height: 100px; border: 2px solid var(--navy-light); opacity: 0.2; }
.icon-skill { position: relative; }
.icon-skill .step { position: absolute; background: linear-gradient(135deg, var(--gold), var(--gold-light)); box-shadow: 0 3px 10px rgba(212, 165, 116, 0.3); }
.icon-skill .step-1 { width: 35px; height: 20px; bottom: 10px; left: 10px; border-radius: 4px 4px 0 0; }
.icon-skill .step-2 { width: 35px; height: 35px; bottom: 10px; left: 32px; border-radius: 4px 4px 0 0; }
.icon-skill .step-3 { width: 35px; height: 50px; bottom: 10px; right: 10px; border-radius: 4px 4px 0 0; }
.icon-skill .arrow { position: absolute; top: 8px; right: 20px; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 18px solid var(--gold); }
.message-conclusion { margin-top: 4rem; font-size: 1.3rem; line-height: 2.2; color: var(--navy-dark); font-weight: 500; }

/* ==========================================
   セクション共通
   ========================================== */
.section-title {
    font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 600;
    color: var(--navy-dark); text-align: center; margin-bottom: 4rem;
    position: relative; padding-bottom: 1.5rem;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 3px; background: linear-gradient(to right, var(--rose), var(--gold)); border-radius: 2px;
}

/* ==========================================
   お知らせセクション
   ========================================== */
.news-section { background: var(--off-white); padding: 8rem 5%; }
.news-featured-summary {
    display: grid; grid-template-columns: 1fr 2fr; gap: 3rem;
    background: var(--white); border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); margin-bottom: 4rem; transition: all 0.3s ease;
}
.news-featured-summary:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); }
.featured-summary-image { overflow: hidden; }
.featured-summary-image img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: transform 0.3s ease; }
.news-featured-summary:hover .featured-summary-image img { transform: scale(1.05); }
.featured-summary-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.featured-summary-title { font-size: 1.8rem; font-weight: 600; margin-bottom: 1.5rem; }
.featured-summary-title a { color: var(--navy-dark); text-decoration: none; transition: color 0.3s ease; }
.featured-summary-title a:hover { color: var(--rose); }
.featured-summary-text { font-size: 1rem; line-height: 1.8; color: var(--text-dark); margin-bottom: 2rem; opacity: 0.9; }
.read-more-link { display: inline-flex; align-items: center; color: var(--rose); text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
.read-more-link:hover { color: var(--navy-dark); transform: translateX(5px); }
.news-wrapper { background: var(--white); padding: 3rem; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
.news-date { display: block; font-size: 0.9rem; color: var(--rose); margin-bottom: 0.5rem; font-weight: 500; }
.news-more { text-align: center; margin-top: 3rem; }
.news-more-link {
    display: inline-block; padding: 1rem 3rem; background: var(--rose); color: var(--white);
    text-decoration: none; border-radius: 50px; font-weight: 500; letter-spacing: 0.1em;
    transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(198, 159, 165, 0.3);
}
.news-more-link:hover { background: var(--rose-light); color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(198, 159, 165, 0.4); }

/* ==========================================
   活動内容セクション
   ========================================== */
.activity-section { background: linear-gradient(135deg, #5b7fa8 0%, #7ba3c7 100%); padding: 8rem 5%; position: relative; }
.activity-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--rose-light), transparent); }
.activity-section .section-title { color: var(--white); }
.activity-section .section-title::after { background: linear-gradient(to right, var(--rose-light), var(--gold-light)); }
.activity-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.activity-text { color: var(--off-white); }
.activity-text p { font-size: 1.1rem; line-height: 2; margin-bottom: 1.5rem; }
.activity-images { position: relative; height: 500px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); }
.image-slider { width: 100%; height: 100%; position: relative; }
.slider-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; }
.slider-image.active { opacity: 1; }

/* ==========================================
   講師紹介セクション
   ========================================== */
.instructor-section { background: var(--white); padding: 8rem 5%; }
.instructor-content { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.instructor-image { position: sticky; top: 120px; }
.instructor-photo { width: 100%; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); }
.instructor-text p { font-size: 1.05rem; line-height: 2; margin-bottom: 2rem; color: var(--text-dark); }

/* ==========================================
   コンセプトセクション
   ========================================== */
.concept-section { background: linear-gradient(135deg, #9dc2db 0%, #b8d4e8 100%); padding: 8rem 5%; position: relative; }
.concept-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--rose-light), transparent); }
.concept-section .section-title { color: var(--navy-dark); }
.concept-content { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: center; }
.concept-text { color: var(--navy-dark); }
.concept-text p { font-size: 1.15rem; line-height: 2.2; margin-bottom: 2rem; }
.concept-icon { position: relative; height: 400px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); }
.concept-icon img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================
   FAQセクション
   ========================================== */
.faq-section { background: var(--off-white); padding: 8rem 5%; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 1.5rem; border: 1px solid rgba(123, 163, 199, 0.2); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; background: var(--white); }
.faq-item:hover { border-color: var(--rose); }
.faq-question {
    width: 100%; background: #fafbfc; padding: 1.5rem 2rem; cursor: pointer;
    font-weight: 600; color: var(--navy-dark); font-size: 1.05rem;
    display: flex; justify-content: space-between; align-items: center;
    transition: all 0.3s ease; border: none; text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
}
.faq-question:hover { background: var(--rose-light); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--rose); transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; background: var(--white); color: var(--text-dark); line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 500px; padding: 1.5rem 2rem; }
.faq-answer p { margin: 0; font-size: 1rem; }

/* ==========================================
   フッター
   ========================================== */
.footer { background: var(--text-dark); color: var(--white); padding: 60px 0 20px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-title { font-size: 1.3rem; font-weight: 500; margin-bottom: 20px; color: var(--tiffany-blue); }
.footer-description { line-height: 1.7; color: #ccc; }
.footer-contact-form { display: flex; gap: 10px; margin-top: 15px; }
.footer-email-input { flex: 1; padding: 12px 15px; border: 1px solid #555; border-radius: 25px; background: #222; color: var(--white); font-size: 0.9rem; }
.footer-email-input::placeholder { color: #888; }
.footer-submit-btn { padding: 12px 20px; background: var(--tiffany-blue); color: var(--white); border: none; border-radius: 25px; cursor: pointer; transition: var(--transition); }
.footer-submit-btn:hover { background: var(--tiffany-blue-dark); }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 12px; }
.footer-nav-link { color: #ccc; text-decoration: none; transition: var(--transition); }
.footer-nav-link:hover { color: var(--tiffany-blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid #333; }
.footer-copyright p { color: #888; font-size: 0.9rem; }
.footer-social { display: flex; gap: 15px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #333; color: var(--white); border-radius: 50%; transition: var(--transition); }
.social-link:hover { background: var(--tiffany-blue); transform: translateY(-2px); }

/* ==========================================
   共通コンポーネント
   ========================================== */
.btn-primary { background: linear-gradient(135deg, var(--rose), var(--gold)); color: var(--white); border: none; padding: 12px 30px; border-radius: 25px; font-weight: 600; text-decoration: none; display: inline-block; transition: var(--transition); box-shadow: 0 4px 15px rgba(198, 159, 165, 0.3); }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold), var(--rose)); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(198, 159, 165, 0.4); }
.btn-secondary { background: transparent; color: var(--navy-dark); border: 2px solid var(--navy-dark); padding: 10px 28px; border-radius: 25px; font-weight: 600; text-decoration: none; display: inline-block; transition: var(--transition); }
.btn-secondary:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(61, 90, 128, 0.3); }
.fade-in-section { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   アニメーション
   ========================================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes expandLine { to { width: 80%; } }
@keyframes lineExpand { from { transform: translateY(-50%) scaleX(0); opacity: 0; } to { transform: translateY(-50%) scaleX(1); opacity: 1; } }
@keyframes timelineItemFadeIn { to { opacity: 1; transform: translateY(0); } }

/* ==========================================
   レスポンシブデザイン
   ========================================== */
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-container { padding: 0 15px; height: 70px; }
    .logo-img { height: 40px; }
    .nav-menu {
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: flex-start; align-items: center;
        padding-top: 50px; gap: 20px; transition: left 0.4s ease;
        border-top: 1px solid rgba(129, 212, 227, 0.1);
    }
    .nav-menu.active { left: 0; }
    .nav-item { width: 80%; max-width: 300px; }
    .nav-link { width: 100%; justify-content: center; padding: 15px 25px; font-size: 16px; border-radius: 12px; background: var(--soft-gray); margin-bottom: 5px; }
    .main-content { margin-top: 70px; }
}

@media (max-width: 768px) {
    /* ヒーロー */
    .slide { width: 200px; min-width: 200px; }
    .hero-content { padding: 0 0 0 20px; }
    .hero-title { padding: 22px 24px 26px 20px; max-width: calc(100vw - 40px); }
    .hero-english { font-size: 0.82rem; }
    .hero-japanese { font-size: 1.5rem; }

    /* メッセージ */
    .message-section { padding: 6rem 5%; }
    .message-text, .message-conclusion { font-size: 1rem; line-height: 2; }
    .message-line.emphasis { font-size: 1.15rem; }
    .timeline-line { display: none; }
    .timeline-container { flex-direction: column; gap: 4rem; }
    .timeline-item { padding: 0 1rem; }
    .timeline-dot { margin-bottom: 1rem; }
    .timeline-dot::after { height: 30px; }
    .timeline-number { font-size: 2.5rem; top: -15px; }
    .timeline-icon { width: 100px; height: 100px; margin-bottom: 1.5rem; }
    .timeline-title { font-size: 1.3rem; }
    .timeline-description { font-size: 0.95rem; }

    /* ニュース */
    .news-featured-summary { grid-template-columns: 1fr; }
    .featured-summary-image img { min-height: 250px; }
    .featured-summary-content { padding: 2rem 1.5rem; }
    .featured-summary-title { font-size: 1.4rem; }
    .featured-summary-text { font-size: 0.95rem; }
    .news-wrapper { padding: 2rem 1.5rem; }

    /* 活動・講師・コンセプト */
    .activity-content, .instructor-content, .concept-content { grid-template-columns: 1fr; gap: 3rem; }
    .activity-images, .concept-icon { height: 300px; }
    .instructor-image { position: relative; top: 0; }
    .activity-text p, .concept-text p, .instructor-text p { font-size: 1rem; }

    /* FAQ */
    .faq-question { font-size: 1rem; padding: 1.2rem 1.5rem; }

    /* フッター */
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .slide { width: 160px; min-width: 160px; }
    .hero-japanese { font-size: 1.3rem; }
    .hero-english { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .timeline-title { font-size: 1.2rem; }
    .message-text, .message-conclusion { font-size: 0.95rem; }
}

/* ==========================================
   印刷用スタイル
   ========================================== */
@media print {
    .main-header, .nav-toggle, .footer { display: none !important; }
    body { font-size: 12pt; line-height: 1.4; }
    .main-content { margin-top: 0; }
    .section-title::after { display: none; }
}

/* ==========================================
   ヒーロー 2列スライダー（競合回避のため専用クラス名）
   ========================================== */

.hero {
    height: 100vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: none;
}

.hero-slider-wrap {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
}

.hero-slider-row {
    height: 50vh;
    min-height: 50vh;
    max-height: 50vh;
    overflow: hidden;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.hero-slider-track {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    will-change: transform;
}

.hero-track-left  { animation: heroSlideLeft  36s linear infinite; }
.hero-track-right { animation: heroSlideRight 40s linear infinite; }

@keyframes heroSlideLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes heroSlideRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.hero-slide {
    width: 300px;
    min-width: 300px;
    height: 50vh;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    overflow: hidden;
    border-left: 2px solid rgba(255,255,255,0.12);
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.76);
    transition: filter 0.3s ease;
}

.hero-slide:hover img { filter: brightness(0.94); }

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(232,212,216,0.80) 0%,
        rgba(184,212,232,0.45) 52%,
        rgba(184,212,232,0.05) 100%
    );
    pointer-events: none;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 0 0 clamp(28px, 7%, 100px);
    text-align: left;
    max-width: none;
    animation: none;
}

.hero-title {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 5px solid var(--rose);
    padding: 32px 52px 36px 32px;
    max-width: 560px;
    margin: 0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    border-radius: 0 12px 12px 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}

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

.hero-english {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    font-weight: 400;
    font-style: italic;
    color: var(--navy-primary);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.hero-japanese {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 500;
    color: var(--navy-dark);
    line-height: 1.7;
    letter-spacing: 0.06em;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hero-slide { width: 200px; min-width: 200px; }
    .hero-content { padding: 0 0 0 20px; }
    .hero-title { padding: 22px 24px 26px 20px; max-width: calc(100vw - 40px); }
    .hero-english { font-size: 0.82rem; }
    .hero-japanese { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-slide { width: 160px; min-width: 160px; }
    .hero-japanese { font-size: 1.3rem; }
}