/* ===== 日本習字 神戸東灘 スタイル ===== */

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

:root {
    /* カラーテーマ - 和風テイスト */
    --primary: #8B4513;
    --primary-light: #A0522D;
    --primary-dark: #5D3A1A;
    --accent: #C41E3A;
    --accent-light: #DC143C;
    --gold: #B8860B;
    --text-dark: #2C2C2C;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-white: #FFFFFF;
    --bg-cream: #FDF8F3;
    --bg-light: #F5F0EB;
    --border-light: #E8E0D8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* ===== ヘッダー ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-medium);
    padding: 8px 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

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

/* ===== ヒーローセクション ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 40px 24px;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(42px, 10vw, 72px);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-locations {
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
    opacity: 0.9;
}

.hero-locations .divider {
    margin: 0 12px;
    opacity: 0.5;
}

.hero-btn {
    display: inline-block;
    padding: 18px 48px;
    background-color: #fff;
    color: var(--primary);
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: var(--primary-dark);
}

/* ===== 公式HPメインボタン ===== */
.official-cta {
    margin-top: 48px;
}

.official-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 48px;
    background: linear-gradient(135deg, #fff 0%, #f8f4f0 100%);
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    border-radius: 60px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.official-main-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    color: var(--primary-dark);
}

.official-main-btn .btn-icon {
    font-size: 32px;
}

.official-main-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.official-main-btn .btn-main {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.official-main-btn .btn-sub {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 2px;
}

.official-main-btn .btn-arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.official-main-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ===== セクション共通 ===== */
.section {
    padding: 100px 24px;
}

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

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 60px;
    letter-spacing: 0.08em;
}

.section-title .title-en {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

/* ===== 体験申し込みセクション ===== */
.section-trial {
    background-color: var(--bg-cream);
}

.trial-content {
    max-width: 800px;
    margin: 0 auto;
}

.trial-box {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.trial-lead {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.trial-lead strong {
    color: var(--primary);
}

.trial-note {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--border-light);
}

.trial-required {
    margin-bottom: 24px;
}

.trial-required p {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.trial-required ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trial-required li {
    font-size: 15px;
    color: var(--text-medium);
    padding: 8px 16px;
    background-color: var(--bg-light);
    border-radius: 20px;
}

.trial-required li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: bold;
}

.welcome {
    font-size: 20px;
    color: var(--primary);
    font-weight: 500;
}

.trial-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.trial-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.trial-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.trial-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.trial-card p {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.trial-card strong {
    color: var(--primary);
}

.trial-card .note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-light);
}

.trial-card ul {
    list-style: none;
    text-align: left;
    max-width: 200px;
    margin: 12px auto 0;
}

.trial-card li {
    font-size: 15px;
    color: var(--text-medium);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.trial-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.trial-message {
    text-align: center;
    margin-bottom: 40px;
}

.welcome {
    font-size: 22px;
    color: var(--primary);
    font-weight: 500;
}

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-btn.phone {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff;
}

.contact-btn.email {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #fff;
}

.contact-btn .icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.contact-btn .label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.contact-btn .value {
    font-size: 18px;
    font-weight: 600;
}

.trial-official {
    text-align: center;
    margin-top: 32px;
}

.trial-official-link {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.trial-official-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
    text-decoration: none;
    color: #fff;
}

/* ===== 教室案内セクション ===== */
.section-locations {
    background-color: var(--bg-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.location-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.location-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.location-card-header h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.location-card-header p {
    font-size: 13px;
    opacity: 0.9;
}

.location-card-body {
    padding: 20px;
    background-color: var(--bg-light);
}

.schedule-compact p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 6px;
    line-height: 1.6;
}

.schedule-compact strong {
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
    width: 24px;
}

.badge-sm {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
}

.address-compact {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-light);
}

.location-card-map {
    height: 180px;
}

.location-card-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.locations-official {
    text-align: center;
}

.locations-official-link {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.locations-official-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
    text-decoration: none;
    color: #fff;
}

.location-item {
    background-color: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.location-item:last-child {
    margin-bottom: 0;
}

.location-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 28px 32px;
    text-align: center;
}

.location-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.location-sub {
    font-size: 15px;
    opacity: 0.9;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.location-info {
    padding: 32px;
    background-color: var(--bg-white);
}

.schedule-card,
.address-card {
    margin-bottom: 24px;
}

.schedule-card:last-child,
.address-card:last-child {
    margin-bottom: 0;
}

.schedule-card h4,
.address-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table tr {
    border-bottom: 1px solid var(--border-light);
}

.schedule-table tr:last-child {
    border-bottom: none;
}

.schedule-table td {
    padding: 12px 8px;
    font-size: 15px;
}

.schedule-table .day {
    font-weight: 600;
    color: var(--primary);
    width: 70px;
}

.schedule-table .time {
    color: var(--text-medium);
}

.schedule-table .badge {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.schedule-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
    padding-left: 8px;
}

.address {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
}

.location-map {
    background-color: var(--bg-light);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

/* ===== お問い合わせセクション ===== */
.section-contact {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-white) 100%);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 24px;
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-item-large .icon {
    font-size: 36px;
}

.contact-item-large .info {
    text-align: left;
}

.contact-item-large .label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-item-large .value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.contact-item-large .value:hover {
    color: var(--primary-light);
}

.official-link {
    margin-top: 24px;
}

.official-btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.official-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
    text-decoration: none;
    color: #fff;
}

/* ===== フッター ===== */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 24px;
    text-align: center;
}

.footer-official {
    margin-bottom: 32px;
}

.footer-official-btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #fff;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.footer-official-btn:hover {
    background-color: var(--bg-cream);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--primary-dark);
}

.footer-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.footer-locations {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: none;
}

.copyright {
    font-size: 12px;
    opacity: 0.5;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .location-map iframe {
        min-height: 300px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-locations {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-locations .divider {
        display: none;
    }
    
    .official-main-btn {
        padding: 20px 32px;
    }
    
    .official-main-btn .btn-main {
        font-size: 18px;
    }
    
    .section {
        padding: 70px 20px;
    }
    
    .trial-info,
    .contact-buttons,
    .contact-info-large {
        grid-template-columns: 1fr;
    }
    
    .trial-box {
        padding: 28px 20px;
    }
    
    .trial-required ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .location-info {
        padding: 24px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0 16px;
        height: 60px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .trial-card {
        padding: 24px 20px;
    }
    
    .location-name {
        font-size: 22px;
    }
    
    .contact-btn {
        padding: 24px 20px;
    }
}

/* ===== アニメーション ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
