/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #4A3B32; /* 濃いブラウン */
    background-color: #FAF7F2; /* 米色/生成り */
}

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

/* ヘッダー */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #8B5A2B; /* 麹の黄金色/アンティークゴールド */
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #4A3B32;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #D38E43; /* アクセントオレンジ */
}

.online-btn {
    background-color: #D38E43;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.online-btn:hover {
    background-color: #B57530;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #4A3B32;
    margin: 3px 0;
    transition: 0.3s;
}

/* メインビジュアル */
.hero {
    margin-top: 70px;
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.4;
}

.hero-content p {
    font-size: 20px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    margin-bottom: 30px;
}

/* What's セクション */
.whats-section {
    padding: 100px 0;
    background-color: white;
}

.whats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.whats-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #4A3B32;
    position: relative;
    display: inline-block;
}

.accent-line {
    width: 60px;
    height: 3px;
    background-color: #D38E43;
    margin-bottom: 40px;
}

.whats-text p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 24px;
    color: #5D4D44;
}

.cta-button {
    background-color: #D38E43;
    color: white;
    padding: 14px 36px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-block;
    letter-spacing: 0.1em;
}

.cta-button:hover {
    background-color: #B57530;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 142, 67, 0.3);
}

.whats-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* 3ステップ (Program) セクション */
.lesson-section {
    padding: 100px 0;
    background-color: #FAF7F2;
}

.lesson-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #4A3B32;
    letter-spacing: 0.05em;
}

.lesson-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lesson-card {
    background-color: white;
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lesson-card:hover {
    transform: translateY(-8px);
}

/* ステップ番号装飾 */
.lesson-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.lesson-card.step1::before { background-color: #8B5A2B; }
.lesson-card.step2::before { background-color: #D38E43; }
.lesson-card.step3::before { background-color: #A4B494; /* 抹茶/葉色 */ }

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFAF0;
}

.card-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.lesson-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #4A3B32;
}

.lesson-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    text-align: left;
}

/* Merit セクション */
.merit-section {
    padding: 100px 0;
    background-color: white;
}

.merit-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #4A3B32;
    letter-spacing: 0.05em;
}

.merit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.merit-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.merit-card:hover {
    transform: translateY(-4px);
}

.merit-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.merit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.merit-card:hover .merit-image img {
    transform: scale(1.08);
}

.merit-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0 16px;
    color: #4A3B32;
    padding: 0 10px;
}

.merit-card p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
    padding: 0 10px;
}

/* 講師紹介セクション */
.instructor-section {
    background: #FDFBF7;
    padding: 100px 0;
}

.instructor-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #4A3B32;
}

.instructor-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.instructor-image {
    flex: 0 0 350px;
}

.instructor-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 10px 10px 0px #E6DCCF;
}

.instructor-content {
    flex: 1;
}

.instructor-content h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #4A3B32;
    border-bottom: 1px solid #D38E43;
    padding-bottom: 15px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.instructor-content h3 span {
    font-size: 16px;
    color: #888;
    font-weight: normal;
}

.instructor-title {
    font-size: 15px;
    color: #D38E43;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.instructor-bio {
    line-height: 1.9;
    color: #555;
}

.instructor-bio h4 {
    font-size: 18px;
    margin: 30px 0 15px;
    color: #4A3B32;
    position: relative;
    padding-left: 15px;
}

.instructor-bio h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #D38E43;
}

.instructor-bio ul {
    list-style: none;
    padding: 0;
}

.instructor-bio ul li {
    margin-bottom: 10px;
    padding-left: 1.2em;
    text-indent: -1.2em;
}
.instructor-bio ul li::before {
    content: "・";
    color: #D38E43;
}

.instructor-message {
    font-style: italic;
    background: white;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #EEE;
    margin-top: 30px;
}

/* 体験レッスン セクション */
.trial-lesson {
    position: relative;
    height: 450px;
    overflow: hidden;
    margin-top: 0;
}

.trial-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.trial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 59, 50, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trial-content {
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 20px;
}

.trial-content h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 30px;
}

.trial-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.trial-button {
    background-color: #D38E43;
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.trial-button:hover {
    background-color: #EF9F4D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ギャラリー セクション */
.gallery-section {
    padding: 100px 0;
    background-color: #FDFBF7;
}

.gallery-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    position: relative;
    height: 250px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* Voices (受講生の声) セクション */
.voices-section {
    padding: 100px 0;
    background-color: #FDFBF7;
    position: relative;
}

.voices-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#D38E43 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.voice-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(74, 59, 50, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(230, 220, 207, 0.5);
}

.voice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 59, 50, 0.1);
}

.voice-card h3 {
    color: #D38E43;
    font-size: 18px;
    margin-bottom: 20px;
    border-left: 4px solid #D38E43;
    padding-left: 15px;
    line-height: 1.4;
}

.voice-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* フッター */
.footer {
    background-color: #4A3B32;
    color: #E6DCCF; /* 薄いベージュ */
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-nav a {
    color: #E6DCCF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #D38E43;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #999;
    border-top: none;
    padding-top: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu { display: none; }
    
    .hero-content h2 { font-size: 32px; }
    .hero-content p { font-size: 16px; }
    
    .whats-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .lesson-cards, .merit-cards, .gallery-cards, .voices-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .voices-section {
        padding: 60px 0;
    }

    .instructor-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .instructor-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
