/* ========================================
   リセット & 基本設定
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
:root {
    --color-primary: #c9b020;
    --color-primary-light: #ffff7f;
    --color-bg: #ffffff;
    --color-bg-card: #fffce8;
    --color-bg-white: #ffffff;
    --color-text: #3d3d3d;
    --color-text-light: #777777;
    --color-border: #f5f0c8;
    --font-main: 'Noto Sans JP', sans-serif;
    --content-width: 1100px;
    --header-height: 70px;
}
 
html { scroll-behavior: smooth; }
 
body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    font-size: 16px;
}
 
img { max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
 
/* ========================================
   共通パーツ
   ======================================== */
.section {
    padding: 80px 20px;
    max-width: var(--content-width);
    margin: 0 auto;
}
 
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--color-text);
    position: relative;
}
 
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 10px auto 0;
    border-radius: 2px;
}
 
.btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}
 
.btn:hover {
    background-color: var(--color-primary-light);
    color: #fff;
}
 
.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
 
.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}
 
/* 情報テーブル（共通） */
.info-table {
    width: 100%;
    border-collapse: collapse;
}
 
.info-table th,
.info-table td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    font-size: 0.9rem;
    color: var(--color-text);
}
 
.info-table th {
    width: 120px;
    color: var(--color-primary);
    font-weight: 500;
}
 
/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}
 
.header-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
 
.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}
 
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}
 
.nav-list a {
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.3s;
}
 
.nav-list a:hover {
    color: var(--color-primary);
}
 
/* ハンバーガーメニュー */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}
 
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}
 
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }
 
/* 現在のページのナビリンクをハイライト */
.page-home .nav-home,
.page-courses .nav-courses,
.page-instructors .nav-instructors,
.page-access .nav-access {
    color: var(--color-primary) !important;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 3px;
}
 
/* ========================================
   ヒーロー（テキスト + 画像）
   ======================================== */
.hero-text-section {
    margin-top: var(--header-height);
    padding: 80px 20px 60px;
    text-align: center;
    background-color: var(--color-bg);
}

.hero-text-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.7;
    letter-spacing: 0.08em;
    margin-bottom: 0;
}

.hero-school-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}

.hero-tagline {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 0.08em;
    line-height: 1.9;
}

.hero-image-section {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px 60px;
}

.hero-image-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-text-section { padding: 50px 20px 40px; }
    .hero-heading { font-size: 1.4rem; line-height: 1.6; }
    .hero-school-name { font-size: 0.9rem; }
    .hero-tagline { font-size: 0.8rem; }
    .hero-image-section { width: 100%;
}
}
/* ========================================
   ページタイトルバー（下層ページ共通）
   ======================================== */
.page-title-bar {
    margin-top: var(--header-height);
    padding: 15px 10px;
    text-align: center;
}
 
.page-title-bar h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.15em;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--color-primary);
}
 
.page-title-bar + .section,
.page-title-bar + .course-section {
    padding-top: 30px;
}
 
/* ========================================
   コース紹介（トップ）
   ======================================== */
.courses-overview {
    background-color: var(--color-bg);
    max-width: none;
    padding: 80px 20px;
}
 
.courses-overview .section-title,
.courses-overview .course-cards {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}
 
.course-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
 
.course-card {
    background: var(--color-bg-card);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
 
.course-card-img {
    height: 180px;
    background-color: var(--color-border);
}
 
.course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
.course-card h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: var(--color-text);
}
 
.course-card p {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 20px;
    padding: 0 15px;
}
 
/* ========================================
   講師紹介（トップ）
   ======================================== */
.instructor-preview {
    display: flex;
    gap: 40px;
    align-items: center;
}
 
.instructor-photo-placeholder {
    width: 280px;
    height: 350px;
    background-color: var(--color-border);
    border-radius: 15px;
    flex-shrink: 0;
}
 
.instructor-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
 
.instructor-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-text);
}
 
.instructor-info p {
    margin-bottom: 10px;
    color: var(--color-text);
}
 
.instructor-info .instructor-instruments {
    color: var(--color-primary);
}
 
.instructor-info .btn {
    align-self: center;
    margin-top: 15px;
}
 
.instructor-kana {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-left: 5px;
}
 
.instructor-motto {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: 15px;
    margin: 20px 0;
    line-height: 1.8;
}
 
.instructor-profile p + p {
    margin-top: 15px;
}
 
/* ========================================
   イベント情報
   ======================================== */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
 
.event-card {
    display: flex;
    gap: 25px;
    background: var(--color-bg-card);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    align-items: center;
}
 
.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    border-radius: 12px;
    color: #fff;
    flex-shrink: 0;
}
 
.event-month { font-size: 0.7rem; font-weight: 400; line-height: 1; }
.event-day { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
 
.event-tag {
    display: inline-block;
    font-size: 0.75rem;
    background-color: rgba(196, 162, 78, 0.15);
    color: var(--color-primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}
 
.event-info h3 { font-size: 1.05rem; margin-bottom: 5px; color: var(--color-text); }
.event-info p { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.6; }
 
/* ========================================
   アクセス（トップ）
   ======================================== */
.access-content { display: flex; gap: 40px; }
 
.map-placeholder,
.map-embed {
    flex: 1;
    min-height: 300px;
    background-color: var(--color-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}
 
.access-info, .access-info-detail { flex: 1; }
.access-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
.access-info p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--color-text);
}
 
.access-info .btn {
    display: block;
    text-align: center;
    margin-top: 15px;
}
 
/* ========================================
   お問い合わせ
   ======================================== */
.contact {
    background-color: var(--color-bg);
    max-width: none;
    padding: 80px 20px;
}
 
.contact .section-title {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}
 
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: var(--content-width);
    margin: 0 auto;
}
 
.contact-cards-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}
 
.contact-cards-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}
 
.contact-card-detail {
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
 
.contact-card-detail h3 { font-size: 1.1rem; color: var(--color-primary); margin-bottom: 8px; }
.contact-card-detail p { font-size: 0.85rem; color: var(--color-text-light); margin-bottom: 15px; }
.contact-links { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
 
/* ブランドカラーボタン */
.btn-line {
    background-color: #06C755;
    color: #fff;
}
 
.btn-line:hover {
    background-color: #05b34c;
    color: #fff;
}
 
.btn-youtube {
    background-color: #FF0000;
    color: #fff;
}
 
.btn-youtube:hover {
    background-color: #cc0000;
    color: #fff;
}
 
.btn-note {
    background-color: #fff;
    color: #3d3d3d;
    border: 2px solid #3d3d3d;
}
 
.btn-note:hover {
    background-color: #3d3d3d;
    color: #fff;
}
 
/* ========================================
   コース詳細ページ
   ======================================== */
.course-section {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 80px 20px;
}
 
.course-section-alt {
    background-color: var(--color-bg);
    max-width: none;
}
 
.course-section-alt .section-title,
.course-section-alt .course-intro,
.course-section-alt .price-cards {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}
 
.course-intro { margin-bottom: 50px; }
.course-intro p { color: var(--color-text); }
.course-intro p + p { margin-top: 15px; }
 
.course-catchcopy {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: 15px;
    margin-bottom: 25px;
    line-height: 1.8;
}
 
.price-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
 
.price-card {
    background: var(--color-bg-card);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
 
.price-card h3 { font-size: 1.15rem; color: var(--color-primary); margin-bottom: 5px; }
.price-sub { font-size: 0.85rem; color: var(--color-text-light); margin-bottom: 15px; }
.price-note { font-size: 0.8rem; color: var(--color-text-light); margin-top: 12px; line-height: 1.6; }
.price-card-wide { grid-column: 1 / -1; }
 
.price-features {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(196, 162, 78, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.8;
}
 
.price-features p:first-child { font-weight: 500; color: var(--color-text); margin-bottom: 5px; }
.price-features p + p { margin-top: 3px; color: var(--color-text); }
 
.subsection-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 10px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}
 
.lecturer-section { margin-bottom: 25px; }
 
/* ========================================
   講師詳細ページ
   ======================================== */
.instructor-card-full {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}
 
.instructor-photo-large {
    width: 300px;
    height: 380px;
    background-color: var(--color-border);
    border-radius: 15px;
    flex-shrink: 0;
}
 
.instructor-profile h2 { font-size: 1.4rem; margin-bottom: 10px; color: var(--color-text); }
.instructor-instruments { color: var(--color-primary); font-weight: 500; margin-bottom: 15px; }
.instructor-profile p { line-height: 2; color: var(--color-text); }
 
/* ========================================
   アクセス詳細ページ
   ======================================== */
.access-detail {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 60px 20px;
}
 
.access-map { margin-bottom: 40px; }
.access-map .map-embed { height: 400px; }
 
/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.85rem;
}
 
.footer-inner { max-width: var(--content-width); margin: 0 auto; }
.footer-nav { margin-top: 15px; display: flex; justify-content: center; gap: 20px; }
.footer-nav a { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }
.footer-nav a:hover { color: #fff; }
 
/* ========================================
   アコーディオン
   ======================================== */
.accordion-toggle { cursor: pointer; border: none; position: relative; }
 
.accordion-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s;
}
 
.accordion-toggle.active::after { transform: rotate(180deg); }
 
.accordion-toggle.active {
    background-color: var(--color-text-light);
    color: #fff;
}
 
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
 
.accordion-inner { padding: 20px 20px 10px; text-align: left; }
.accordion-inner p { font-size: 0.9rem; color: var(--color-text); margin-bottom: 15px; line-height: 1.8; }
.accordion-inner .info-table { margin-bottom: 10px; }
.accordion-inner .price-note { margin-top: 8px; color: var(--color-text); }
 
/* ========================================
   パンダアニメーション
   ======================================== */
.panda-container {
    display: none;
    justify-content: center;
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
}
 
.panda {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
 
.nav.active .panda-container { height: 100px; }
.nav.active .panda { transform: translateY(0); }
 
.panda-face {
    width: 70px; height: 65px; background: #fff;
    border-radius: 50% 50% 45% 45%;
    position: relative; margin: 15px auto 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
 
.panda-ear { width: 24px; height: 24px; background: #3a3a3a; border-radius: 50%; position: absolute; top: -8px; }
.panda-ear-left { left: 2px; }
.panda-ear-right { right: 2px; }
 
.panda-eye { width: 20px; height: 18px; background: #3a3a3a; border-radius: 50%; position: absolute; top: 18px; }
.panda-eye-left { left: 10px; }
.panda-eye-right { right: 10px; }
 
.panda-pupil {
    width: 8px; height: 8px; background: #fff; border-radius: 50%;
    position: absolute; top: 5px; left: 7px;
    animation: pandaBlink 3s infinite;
}
 
.panda-nose { width: 10px; height: 7px; background: #3a3a3a; border-radius: 50%; position: absolute; top: 35px; left: 50%; transform: translateX(-50%); }
.panda-mouth { width: 16px; height: 8px; border-bottom: 2px solid #3a3a3a; border-radius: 0 0 50% 50%; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); }
 
.panda-cheek { width: 12px; height: 8px; background: rgba(255, 180, 180, 0.4); border-radius: 50%; position: absolute; top: 36px; }
.panda-cheek-left { left: 6px; }
.panda-cheek-right { right: 6px; }
 
@keyframes pandaBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}
 
.panda.hide {
    transform: translateY(100%); opacity: 0;
    transition: transform 0.3s ease-in, opacity 0.3s ease-in;
}
 
.nav.active .panda-container:has(.panda.hide) {
    height: 0;
    transition: height 0.3s ease 0.2s;
}
 
/* ========================================
   レスポンシブ（タブレット・スマホ）
   ======================================== */
@media (max-width: 768px) {
    .nav-list { display: none; }
    .hamburger { display: block; }
 
    .hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
 
    .nav.active .nav-list {
        display: flex; flex-direction: column; position: fixed;
        top: var(--header-height); left: 0; right: 0;
        background: var(--color-bg-white); padding: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); gap: 0; z-index: 999;
    }
 
    .nav.active .nav-list li { border-bottom: 1px solid var(--color-border); }
    .nav.active .nav-list a { display: block; padding: 18px 25px; font-size: 1rem; }
    .nav.active .nav-list a:hover { background-color: var(--color-bg-card); }
 
    .logo {
        font-size: 0.65rem;
        white-space: nowrap;
        color: var(--color-text);
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
 
    .hero { height: 85vh; min-height: 500px; }
    .hero-heading { font-size: 1.4rem; }
    .hero-school-name { font-size: 0.8rem; }
    .hero-tagline { font-size: 0.7rem; }
 
    .section { padding: 50px 15px; }
    .section-title { font-size: 1.4rem; margin-bottom: 30px; }
 
    .course-cards,
    .contact-cards-grid,
    .contact-cards-grid.two-col,
    .contact-cards-grid.three-col,
    .price-cards { grid-template-columns: 1fr; }
 
    .instructor-preview, .access-content,
    .course-detail-card, .instructor-card-full { flex-direction: column; }
 
    .instructor-photo-placeholder, .instructor-photo-large,
    .course-detail-img { width: 100%; height: 220px; }
 
    .info-table th { width: 100px; }
    .footer-nav { flex-direction: column; gap: 10px; }
 
    .event-card { flex-direction: column; align-items: flex-start; gap: 15px; }
    .event-date { flex-direction: row; width: auto; min-width: auto; height: auto; padding: 8px 15px; gap: 8px; }
    .event-month { font-size: 0.8rem; }
    .event-day { font-size: 1.1rem; }
 
    .panda-container { display: flex; }
    .nav.active .panda-container { padding: 0 0 5px; }
}
 
@media (min-width: 769px) {
    .panda-container { display: none !important; }
}
 
.instructor-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}