@charset "UTF-8";

:root {
    --bg-main: #F9F3F4;
    --bg-sub: #F2F1E6;
    --accent-dark: #2A3449;
    --accent-red: #A7221A;
    --max-width: 1200px;
    --font-base: 'Zen Kaku Gothic New', sans-serif;
    --font-line: 'M PLUS 1p', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-base);
    background-color: var(--bg-main);
    color: var(--accent-dark);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.03em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.bg-white { background-color: #ffffff; }
.bg-main { background-color: var(--bg-main); }

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.site-logo { height: 50px; width: auto; }
.nav-list { display: flex; align-items: center; list-style: none; gap: 25px; }
.nav-list a { font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.nav-list a:hover { color: var(--accent-red); }
.nav-icons { display: flex; gap: 15px; font-size: 1.1rem; }

/* Hamburger & Modal Navigation */
.menu-trigger, .menu-close { display: none; }

@media (max-width: 992px) {
    .menu-trigger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }
    .menu-trigger span {
        width: 100%;
        height: 2px;
        background-color: var(--accent-dark);
        transition: 0.3s;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(42, 52, 73, 0.98);
        z-index: 2000;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-nav.is-active { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .nav-list a {
        color: #fff;
        font-size: 1.2rem;
        letter-spacing: 0.2em;
    }
    .nav-icons { color: #fff; margin-top: 20px; justify-content: center; }

    .menu-close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 3rem;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
        line-height: 1;
    }
}

/* Hero */
.hero-img { width: 100%; height: 550px; object-fit: cover; }

/* Section Common */
.section { padding: 60px 0; }
.text-center { text-align: center; }
.decorative-text { font-family: serif; font-style: italic; font-size: 1.8rem; color: var(--accent-red); display: block; margin-bottom: 8px; opacity: 0.6; }
.section-title { font-size: 2.2rem; margin-bottom: 40px; letter-spacing: 0.1em; font-weight: 700; }

.title-sub {
    font-size: 1.4rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
    opacity: 0.9;
}

.section-desc { margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* About Us Layout Fix */
.about-text-wrapper {
    max-width: 55%;
    margin: 0 auto;
}
.about-content {
    text-align: left;
    margin-bottom: 40px;
}

/* Buttons */
.btn { display: inline-block; padding: 16px 70px; border-radius: 0px; font-weight: 700; letter-spacing: 0.1em; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background-color: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
.btn-primary:hover { background-color: transparent; color: var(--accent-dark); }
.btn-outline { border: 1px solid var(--accent-dark); color: var(--accent-dark); }
.btn-outline:hover { background-color: var(--accent-dark); color: #fff; }

/* Seminar Grid */
.seminar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.seminar-card { display: flex; flex-direction: column; transition: 0.3s; }
.seminar-card:hover { transform: translateY(-5px); }
.thumb-wrap { aspect-ratio: 3 / 2; overflow: hidden; }

.card-content {
    padding: 30px 20px;
    background-color: var(--bg-sub);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.seminar-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 25px; }
.s-date { font-size: 0.9rem; color: #666; }
.s-title { font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.s-sub { font-size: 0.85rem; color: #444; }

.btn-sub { display: inline-block; background-color: var(--accent-red); color: #fff; padding: 10px 30px; font-weight: 700; font-size: 0.8rem; width: fit-content; margin: 0 auto; }
.btn-bottom-area { margin-top: 80px; }

/* Class Section */
.flex-row { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.class-image, .class-text { flex: 1; min-width: 320px; }
.class-image { aspect-ratio: 4 / 3; box-shadow: 20px 20px 0 var(--bg-sub); }

/* Media */
.podcast-container { margin-top: 40px; text-align: center; }

/* Footer */
.site-footer { background-color: var(--accent-dark); color: #fff; text-align: center; padding: 17px 0; font-size: 0.8rem; }
.footer-sub-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}
.footer-sub-nav li a {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer-sub-nav li a:hover { color: #fff; text-decoration: underline; }

/* 公式LINE固定ボタン */
.line-fixed-btn {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #06C755;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: 0.3s;
    font-family: var(--font-line);
}
.line-fixed-btn i { font-size: 2.2rem; }
.line-fixed-btn:hover { background-color: #05a346; transform: translateY(-3px); color: #fff; }

.line-btn-text { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.line-small { font-size: 0.75rem; font-weight: 400; }
.line-large { font-size: 1.15rem; font-weight: 700; }

@media (min-width: 769px) {
    .line-fixed-btn { right: 30px; bottom: 30px; padding: 18px 30px; border-radius: 12px; }
}

@media (max-width: 768px) {
    .site-logo { height: 40px; }
    .hero-img { height: 350px; }
    .section-title { font-size: 1.8rem; }
    .about-text-wrapper { max-width: 100%; }
    
    /* 文章の左寄せを徹底 */
    .about-content { text-align: left !important; }
    .section-desc { text-align: left !important; }
    
    .class-image { box-shadow: none; }
    
    /* Classセクション等の横並びブロックの中央寄せを解除 */
    .flex-row { text-align: left !important; gap: 30px; }
    
    .btn-bottom-area { margin-top: 40px; }
    .line-fixed-btn { left: 0; bottom: 0; width: 100%; padding: 15px 0; border-radius: 0; }
    .line-fixed-btn i { font-size: 1.8rem; }
    .line-large { font-size: 1.05rem; }
    body { padding-bottom: 80px; }
}

/* --- About Page 固有スタイル --- */
.theme-card .card-content { justify-content: center; min-height: 200px; }
.theme-info { display: flex; flex-direction: column; gap: 5px; }
.t-main { font-size: 1.5rem; font-weight: 700; color: var(--accent-dark); }
.t-deco { font-family: serif; font-style: italic; font-size: 0.9rem; color: var(--accent-red); opacity: 0.7; margin-bottom: 10px; }
.t-desc { font-size: 0.9rem; line-height: 1.6; color: #444; }
.policy-grid { margin-bottom: 60px; align-items: center; }
.policy-grid img { height: auto; margin: 0 auto; }
.map-wrapper { margin: 0 auto; }
.map-img { width: 100%; height: auto; }

@media (min-width: 769px) {
    .policy-grid img { width: 90%; }
    .map-wrapper { width: 68%; }
}
@media (max-width: 768px) {
    .policy-grid img { width: 70%; }
    .map-wrapper { width: 95%; }
    .policy-grid { gap: 20px; }
}

/* --- Class Page 固有スタイル --- */
.category-title { font-size: 1.25rem; color: var(--accent-dark); border-left: 4px solid var(--accent-red); padding-left: 15px; margin-bottom: 20px; display: flex; align-items: baseline; gap: 15px; }
.category-title span { font-size: 0.85rem; font-weight: 400; color: #666; }
.pc-menu-table { margin: 0 auto; width: 100%; margin-bottom: 30px; }
.custom-table { width: 100%; border-collapse: collapse; background: #fff; }
.custom-table th, .custom-table td { padding: 18px 15px; border-bottom: 1px solid var(--bg-sub); text-align: left; }
.custom-table th { background-color: var(--accent-dark); color: #fff; font-weight: 700; font-size: 0.85rem; }
.custom-table td { font-size: 0.9rem; }
.custom-table .text-right { text-align: right; font-weight: 700; }
.font-bold { font-weight: 700; }
.sp-menu-cards { display: none; }
.menu-category-tag { font-family: serif; font-style: italic; color: var(--accent-red); margin-bottom: 10px; margin-top: 30px; font-size: 1.2rem; border-bottom: 1px solid var(--accent-red); display: inline-block; }
.table-note { font-size: 0.75rem; color: #666; margin-top: 10px; padding-left: 5px; line-height: 1.5; text-align: left; }

@media (max-width: 768px) {
    .pc-menu-table, .category-title { display: none; }
    .sp-menu-cards { display: block; }
    .menu-item-card { background: #fff; padding: 20px; margin-bottom: 15px; border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
    .m-label { font-weight: 700; color: var(--accent-dark); margin-bottom: 10px; font-size: 1rem; }
    .m-detail { font-size: 0.8rem; margin-bottom: 5px; }
    .m-detail span { font-weight: 700; width: 70px; display: inline-block; }
    .m-price { font-weight: 700; color: var(--accent-red); text-align: right; margin-top: 10px; font-size: 1.1rem; }
    .table-note { padding-left: 0; margin-top: 15px; border-top: 1px dotted rgba(0,0,0,0.1); padding-top: 10px; }
    .outline-table-section .custom-table th, .history-section .custom-table th, .outline-table-section .custom-table td, .history-section .custom-table td { display: block; width: 100% !important; border-bottom: none; }
    .outline-table-section .custom-table th, .history-section .custom-table th { padding-bottom: 5px; background-color: transparent; color: var(--accent-red); font-size: 0.75rem; }
    .outline-table-section .custom-table td, .history-section .custom-table td { padding-top: 0; padding-bottom: 15px; border-bottom: 1px solid var(--bg-sub); }
}

/* --- Outline Page 固有スタイル --- */
.message-box { max-width: 800px; margin: 0 auto; padding: 50px; background-color: var(--bg-sub); position: relative; }
.message-box::before { content: "“"; position: absolute; top: 20px; left: 20px; font-size: 5rem; font-family: serif; color: var(--accent-red); line-height: 1; opacity: 0.2; }
.message-lead { font-size: 1.6rem; font-weight: 700; margin-bottom: 30px; line-height: 1.4; color: var(--accent-red); }
.message-content p { margin-bottom: 1.5em; text-align: justify; }
.signature { text-align: right; margin-top: 40px; font-weight: 700; }
.officer-flex { display: flex; flex-direction: column; gap: 40px; max-width: 900px; margin: 0 auto; }
.officer-card { display: flex; align-items: center; background-color: #fff; padding: 30px; gap: 40px; }
.officer-img { flex: 0 0 200px; aspect-ratio: 1024 / 1016; overflow: hidden; }
.officer-img img { width: 100%; height: 100%; object-fit: cover; }
.officer-info { flex: 1; }
.officer-post { font-size: 0.75rem; color: var(--accent-red); font-weight: 700; letter-spacing: 0.1em; }
.officer-name { font-size: 1.5rem; font-weight: 700; margin: 5px 0 15px; }
.officer-name span { font-size: 0.8rem; font-weight: 400; color: #999; margin-left: 15px; font-family: serif; }
.officer-profile { font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 768px) {
    .message-box { padding: 40px 20px; }
    .message-lead { font-size: 1.3rem; }
    .officer-card { flex-direction: column; padding: 20px; text-align: center; }
    .officer-img { flex: 0 0 150px; width: 150px; margin: 0 auto; }
    .officer-name span { display: block; margin-left: 0; margin-top: 5px; }
}