/*
===============================================
マヤ暦サイト - メインスタイルシート
===============================================

目次:
1. リセットCSS
2. カスタムプロパティ（CSS変数）
3. 基本スタイル
4. アニメーション定義
5. ヘッダー
6. ヒーローセクション
7. セクション共通スタイル
8. マヤ暦紹介セクション
9. 講師紹介セクション
10. サービスセクション
11. お問い合わせセクション
12. フッターセクション
13. レスポンシブデザイン
14. ユーティリティクラス
15. 特別な機能クラス
16. サービス詳細ページ
17. 講師紹介ページ

*/

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

/* より包括的なリセット */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* HTML5要素の正規化 */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
    display: block;
}

/* リスト要素のリセット */
ul, ol {
    list-style: none;
}

/* テーブル要素のリセット */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* フォーム要素のリセット */
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

/* 画像要素の最適化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* リンク要素のリセット */
a {
    color: inherit;
    text-decoration: none;
}

/* フォーカス表示の改善 */
:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* ========================================
   カスタムプロパティ（CSS変数）
======================================== */
:root {
    /* カラーパレット */
    --primary-pink: #ff6b9d;
    --secondary-pink: #ffc3d8;
    --primary-purple: #8b5fbf;
    --secondary-purple: #c8a8e9;
    --primary-blue: #4ecdc4;
    --secondary-blue: #a8e6cf;
    --ocean-blue: #006ba6;
    --deep-purple: #5d4e75;
    
    /* グラデーション */
    --cosmic-gradient: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 50%, var(--primary-blue) 100%);
    --hero-gradient: linear-gradient(135deg, rgba(139, 95, 191, 0.9) 0%, rgba(255, 107, 157, 0.8) 50%, rgba(78, 205, 196, 0.9) 100%);
    --card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* テキスト */
    --text-primary: #2c2c2c;
    --text-secondary: #666666;
    --text-light: #ffffff;
    
    /* 背景 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9ff;
    --bg-dark: #1a1a2e;
    
    /* シャドウ */
    --shadow-soft: 0 10px 30px rgba(139, 95, 191, 0.1);
    --shadow-medium: 0 15px 40px rgba(139, 95, 191, 0.15);
    --shadow-strong: 0 20px 50px rgba(139, 95, 191, 0.2);
    
    /* フォント */
    --font-primary: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    --font-accent: 'Dancing Script', 'Times New Roman', cursive;
    --font-mayan: 'Kaisei Decol', 'Zen Old Mincho', 'Times New Roman', serif;
    --font-elegant: 'Zen Old Mincho', 'Times New Roman', serif;
    
    /* サイズ */
    --container-max-width: 1200px;
    --border-radius: 20px;
    --border-radius-small: 10px;
}

/* ========================================
   基本スタイル
======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    /* フォント読み込み最適化 */
    font-display: swap;
    text-rendering: optimizeSpeed;
}

/* フォント読み込み中の最適化 */
.fonts-loading {
    visibility: hidden;
}

.fonts-loaded {
    visibility: visible;
}

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

/* ========================================
   アニメーション定義
======================================== */
/* ヘッダーアニメーション */
@keyframes mysticalFlow {
    0%, 100% { 
        transform: translateX(0) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateX(10px) scale(1.05);
        opacity: 0.5;
    }
}

@keyframes starPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: translateY(-50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
}

/* ヒーローアニメーション */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes cosmic {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scroll {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

@keyframes heroFloatUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

@keyframes scaleDown {
    0% {
        opacity: 0;
        transform: scale(1.3);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

/* セクションアニメーション */
@keyframes elegantFlow {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateX(10px) translateY(-5px) scale(1.02);
        opacity: 0.8;
    }
}

@keyframes gentlePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(139, 95, 191, 0.1);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 25px 80px rgba(139, 95, 191, 0.15);
    }
}

/* 講師セクションアニメーション */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.2; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
    }
}

@keyframes glow {
    0% { 
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
        border-color: rgba(255, 215, 0, 0.6);
    }
    100% { 
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
        border-color: rgba(255, 215, 0, 0.9);
    }
}

/* サービスセクションアニメーション */
@keyframes serviceFlow {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateX(-8px) translateY(5px) scale(1.01);
        opacity: 0.9;
    }
}

/* お問い合わせセクションアニメーション */
@keyframes mysticalContactFlow {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.4;
    }
    33% { 
        transform: translateX(20px) translateY(-10px) scale(1.05);
        opacity: 0.6;
    }
    66% { 
        transform: translateX(-15px) translateY(15px) scale(0.95);
        opacity: 0.5;
    }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes contactGlow {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.6; }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* フッターセクションアニメーション */
@keyframes footerFlow {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateX(15px) translateY(-10px) scale(1.02);
        opacity: 0.5;
    }
}

@keyframes footerStarTwinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes bottomStars {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.1); }
}

/* 講師紹介ページ専用アニメーション */
@keyframes aboutFloatUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes aboutTextReveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softGlow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 0 25px 80px rgba(255, 215, 0, 0.2);
    }
}

@keyframes expandLine {
    0% { width: 0; }
    100% { width: 60px; }
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(139, 95, 191, 0.9) 50%, rgba(255, 107, 157, 0.85) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;
    box-shadow: 0 4px 30px rgba(139, 95, 191, 0.2);
    overflow: hidden;
    transform: translateY(0);
    will-change: transform;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="maya-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="5" cy="5" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="15" cy="15" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23maya-pattern)"/></svg>');
    opacity: 0.3;
    animation: mysticalFlow 20s ease-in-out infinite;
    pointer-events: none;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffb347, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    font-family: var(--font-elegant);
    letter-spacing: 0.05em;
    position: relative;
    transition: all 0.3s ease;

}

.logo a:hover h1 {
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.logo h1::after {
    content: '✦';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 1.2rem;
    animation: starPulse 2s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.4rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-mayan);
    letter-spacing: 0.02em;

}

.nav-menu a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 215, 0, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffffff);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--hero-gradient);
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="3" fill="url(%23a)"/><circle cx="800" cy="300" r="2" fill="url(%23a)"/><circle cx="400" cy="600" r="4" fill="url(%23a)"/><circle cx="700" cy="800" r="2" fill="url(%23a)"/><circle cx="100" cy="700" r="3" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.cosmic-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 95, 191, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(78, 205, 196, 0.2) 0%, transparent 50%);
    animation: cosmic 15s ease-in-out infinite alternate;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    animation: heroFloatUp 1.2s ease-out 0.6s forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-family: var(--font-elegant);
    letter-spacing: 0.08em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: heroTextReveal 1s ease-out 0.9s forwards;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 0;
    animation: scaleDown 1.2s ease-out 0.3s forwards;
}

.title-prefix {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    line-height: 3;
}

.title-accent {
    background: linear-gradient(45deg, #ffd700, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-elegant);
    font-size: 4rem;
    display: block;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    font-weight: 600;
    letter-spacing: 0.15em;
    position: relative;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    opacity: 0.6;
}

.title-main {
    font-family: var(--font-elegant);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    line-height: 1.6;
    opacity: 0;
    animation: heroTextReveal 1s ease-out 1.2s forwards;
}

.hero-line-spacing {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFloatUp 1s ease-out 1.5s forwards;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--cosmic-gradient);
    color: var(--text-light);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-purple);
    border: 2px solid var(--secondary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--text-light);
    border: 2px solid var(--primary-purple);
}

.btn-full {
    width: 100%;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    text-align: center;
    opacity: 0.8;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: var(--text-light);
    margin: 10px auto;
    animation: scroll 2s ease-in-out infinite;
}

/* ========================================
   セクション共通スタイル
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--cosmic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-mayan);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ========================================
   マヤ暦紹介セクション
======================================== */
.maya-intro {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 50%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.maya-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="elegant-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(139,95,191,0.05)"/><circle cx="7" cy="7" r="0.5" fill="rgba(255,107,157,0.03)"/><circle cx="23" cy="23" r="0.5" fill="rgba(78,205,196,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23elegant-pattern)"/></svg>');
    opacity: 0.6;
    animation: elegantFlow 30s ease-in-out infinite;
    pointer-events: none;
}

.maya-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.maya-text {
    padding: 2rem;
}

.maya-text h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-purple);
    font-family: var(--font-elegant);
    font-weight: 600;
    position: relative;
    text-shadow: 0 2px 10px rgba(139, 95, 191, 0.1);
}

.maya-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
    border-radius: 2px;
}

.maya-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-primary);
    font-weight: 400;
}

.maya-features {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(139, 95, 191, 0.08);
    border: 1px solid rgba(139, 95, 191, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 95, 191, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(139, 95, 191, 0.15);
    border-color: rgba(139, 95, 191, 0.2);
}

.feature-item:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 95, 191, 0.1), rgba(255, 107, 157, 0.1));
    border-radius: 50%;
    color: var(--primary-purple);
    border: 2px solid rgba(139, 95, 191, 0.2);
    position: relative;
    z-index: 2;
}

.feature-text {
    position: relative;
    z-index: 2;
}

.feature-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-purple);
    font-weight: 600;
}

.feature-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.maya-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.maya-visual img {
    width: 100%;
    max-width: 450px;
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 0 30px 25px rgba(255, 255, 255, 0.5);
    object-fit: cover;
    mask-image: 
      linear-gradient(
        to right,
        transparent 0%,
        black 20% 80%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        black 20% 80%,
        transparent 100%
      );
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        black 20% 80%,
        transparent 100%
      ),
      linear-gradient(
        to bottom,
        transparent 0%,
        black 20% 80%,
        transparent 100%
      );
    mask-composite: intersect;
}

.cosmic-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(139, 95, 191, 0.1) 0%, 
        rgba(255, 107, 157, 0.1) 50%, 
        rgba(78, 205, 196, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: gentlePulse 6s ease-in-out infinite;
    border: 3px solid rgba(139, 95, 191, 0.2);
    box-shadow: 0 20px 60px rgba(139, 95, 191, 0.1);
}

.inner-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-purple);
    box-shadow: 0 10px 40px rgba(139, 95, 191, 0.15);
    border: 2px solid rgba(139, 95, 191, 0.1);
    font-family: var(--font-elegant);
    text-align: center;
    line-height: 1.4;
}

/* ========================================
   講師紹介セクション
======================================== */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 2%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 2%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 2%),
                radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 2%),
                radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 2%),
                radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 2%);
    animation: twinkle 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.about-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
}

.star:nth-child(odd) {
    animation-delay: 1s;
}

.star:nth-child(3n) {
    animation-delay: 2s;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 講師紹介ページのレイアウト調整 - 本文を左揃えに */
.about-page-layout .about-text,
.about-page-layout .detailed-story {
    text-align: left;
}

/* 講師紹介ページの見出しはセンター揃え */
.about-page-layout .story-section h4,
.about-page-layout .about-page-title {
    text-align: center;
}

.about-image {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.instructor-photo {
    width: 100%;
    max-width: 350px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

/*
.instructor-photo:hover {
    transform: scale(1.05);
}
*/

.about-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 4px solid rgba(255, 215, 0, 0.6);
    border-radius: var(--border-radius);
    z-index: 1;
    animation: glow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

.about-text {
    position: relative;
    z-index: 3;
}

.instructor-name {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    font-family: var(--font-mayan);
}

.instructor-title {
    background: var(--cosmic-gradient);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(139, 95, 191, 0.3);
    font-family: var(--font-mayan);
}

.instructor-credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.credential-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.credential-label {
    font-weight: 600;
    color: #ffffff;
}

.credential-value {
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

/* デスクトップ版では詳細テキストを表示 */
.desktop-text {
    display: inline;
}

.mobile-text {
    display: none;
}

.instructor-message {
    margin-bottom: 2rem;
}

.instructor-message p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   サービスセクション
======================================== */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #fafbff 0%, #ffffff 50%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"><defs><pattern id="service-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(139,95,191,0.04)"/><circle cx="10" cy="10" r="0.8" fill="rgba(255,107,157,0.03)"/><circle cx="30" cy="30" r="0.8" fill="rgba(78,205,196,0.03)"/><path d="M15,15 L25,25 M25,15 L15,25" stroke="rgba(139,95,191,0.02)" stroke-width="0.5"/></pattern></defs><rect width="120" height="120" fill="url(%23service-pattern)"/></svg>');
    opacity: 0.7;
    animation: serviceFlow 35s ease-in-out infinite;
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 60px rgba(139, 95, 191, 0.08);
    border: 1px solid rgba(139, 95, 191, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 95, 191, 0.03), transparent);
    transition: left 0.8s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 25px 80px rgba(139, 95, 191, 0.15);
    border-color: rgba(139, 95, 191, 0.2);
}

.service-card:hover::before {
    left: 100%;
}

.service-card.featured {
    border: 2px solid var(--primary-pink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 70px rgba(255, 107, 157, 0.12);
}

.service-card.featured:hover {
    box-shadow: 0 30px 90px rgba(255, 107, 157, 0.18);
}

.service-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-purple);
    filter: drop-shadow(0 4px 15px rgba(139, 95, 191, 0.2));
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-purple);
    font-family: var(--font-mayan);
    font-weight: 600;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
    border-radius: 1px;
}

.service-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--primary-pink), #ff8fab);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.service-description {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1.05rem;
    text-align: center;
}

.service-features {
    margin-bottom: 2.5rem;
}

.service-features .feature {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features .feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-curriculum {
    margin-bottom: 2.5rem;
    background: rgba(139, 95, 191, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 95, 191, 0.1);
}

.curriculum-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 95, 191, 0.1);
}

.curriculum-item:last-child {
    border-bottom: none;
}

.curriculum-name {
    font-weight: 500;
    color: var(--text-primary);
}

.curriculum-price {
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 1.05rem;
}

.service-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(139, 95, 191, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(139, 95, 191, 0.1);
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-purple);
    font-family: var(--font-elegant);
}

.price-duration {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.service-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.service-card .btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* ボタングループを下部に配置 */
.service-card .btn:first-of-type {
    margin-top: auto;
}

.service-card .btn + .btn {
    margin-top: 0.5rem;
}

/* より確実なボタン下部配置 */
.service-card .service-content + .btn,
.service-card .service-content + a.btn {
    margin-top: auto;
}

.service-card a.btn:nth-last-child(1):not(:first-child) {
    margin-top: 0.5rem;
}

/* 複数ボタンでの配置調整 */
.service-card a.btn:last-child {
    margin-bottom: 0;
}

.service-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(139, 95, 191, 0.3);
}

.service-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 95, 191, 0.4);
}

.service-card .btn-secondary {
    background: rgba(139, 95, 191, 0.1);
    color: var(--primary-purple);
    border: 2px solid rgba(139, 95, 191, 0.2);
}

.service-card .btn-secondary:hover {
    background: rgba(139, 95, 191, 0.25);
    border-color: rgba(139, 95, 191, 0.3);
    transform: translateY(-2px);
}

/* 1カラム表示用の画像スタイル */
.course-image-full-width {
    grid-column: 1 / -1; /* グリッドの全幅を使用 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(139, 95, 191, 0.08);
    border: 1px solid rgba(139, 95, 191, 0.1);
    transition: all 0.3s ease;
}

/* スマホ版専用画像セクション */
.mobile-image-section {
    display: none; /* デスクトップでは非表示 */
}

.course-image-full-width:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 25px 80px rgba(139, 95, 191, 0.15);
    border-color: rgba(139, 95, 191, 0.2);
}

.course-image-standalone {
    max-width: 100%;
    width: 110%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 95, 191, 0.15);
    display: block;
    margin: 0 auto;
}

/* ========================================
   お問い合わせセクション
======================================== */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.95) 0%, 
        rgba(139, 95, 191, 0.9) 30%, 
        rgba(255, 107, 157, 0.8) 70%, 
        rgba(78, 205, 196, 0.85) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="maya-contact-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,215,0,0.1)"/><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><path d="M15,15 L25,25 M25,15 L15,25" stroke="rgba(255,215,0,0.05)" stroke-width="0.5"/></pattern></defs><rect width="200" height="200" fill="url(%23maya-contact-pattern)"/></svg>');
    opacity: 0.4;
    animation: mysticalContactFlow 25s ease-in-out infinite;
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact .section-title {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    position: relative;
}

.contact .section-title::after {
    content: '✦ ✧ ✦';
    display: none;
    font-size: 1.5rem;
    color: #ffd700;
    margin-top: 1rem;
    animation: starTwinkle 3s ease-in-out infinite;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(139, 95, 191, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: contactGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    font-family: var(--font-mayan);
    position: relative;
    z-index: 2;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contact-methods {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.contact-method:hover::before {
    left: 100%;
}

.method-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700, #ffb347, #ff6b9d);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 2;
}

.method-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffd700, #ffb347, #ff6b9d);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* LINEアイコン専用スタイル */
.method-icon.line-icon {
    background: linear-gradient(135deg, #06C755, #00B900);
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.3);
    color: white;
}

.method-icon.line-icon::after {
    background: linear-gradient(135deg, #06C755, #00B900);
}

.contact-method:hover .method-icon.line-icon::after {
    opacity: 0.7;
    box-shadow: 0 15px 40px rgba(6, 199, 85, 0.4);
}

/* Instagramアイコン専用スタイル */
.method-icon.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 10px 30px rgba(240, 148, 51, 0.3);
    color: white;
}

.method-icon.instagram-icon::after {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-method:hover .method-icon.instagram-icon::after {
    opacity: 0.7;
    box-shadow: 0 15px 40px rgba(240, 148, 51, 0.4);
}

/* フォームアイコン専用スタイル */
.method-icon.form-icon {
    background: linear-gradient(135deg, #ffd700, #ffb347, #ff6b9d);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    color: white;
}

.method-icon.form-icon::after {
    background: linear-gradient(135deg, #ffd700, #ffb347, #ff6b9d);
}

.contact-method:hover .method-icon.form-icon::after {
    opacity: 0.7;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.contact-method:hover .method-icon::after {
    opacity: 0.7;
    animation: iconPulse 1.5s ease-in-out infinite;
}

.method-info {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

.method-info h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.method-info a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.method-info a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(139, 95, 191, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        rgba(139, 95, 191, 0.05) 50%, 
        rgba(255, 107, 157, 0.05) 100%);
    pointer-events: none;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-purple);
    text-align: center;
    font-family: var(--font-mayan);
    position: relative;
    z-index: 2;
}

/* デスクトップ版では改行なし */
.break-mobile::before {
    content: none;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 1rem;
    position: relative;
}

.form-group label::after {
    content: '✦';
    color: #ffd700;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(139, 95, 191, 0.2);
    border-radius: 15px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #8b5fbf, #ff6b9d, #ffd700);
    border: none;
    border-radius: 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.contact-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 95, 191, 0.4);
}

.contact-form .btn:hover::before {
    left: 100%;
}

.contact-form .btn:active {
    transform: translateY(-1px);
}

/* ========================================
   フッターセクション
======================================== */
.footer {
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.98) 0%, 
        rgba(139, 95, 191, 0.95) 50%, 
        rgba(78, 205, 196, 0.9) 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="rgba(255,215,0,0.1)"/><circle cx="6" cy="6" r="0.8" fill="rgba(255,255,255,0.08)"/><circle cx="19" cy="19" r="0.8" fill="rgba(255,255,255,0.08)"/><path d="M8,8 L17,17 M17,8 L8,17" stroke="rgba(255,215,0,0.06)" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
    animation: footerFlow 30s ease-in-out infinite;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-main {
    flex: 1;
}

.footer-main h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    font-family: var(--font-elegant);
    position: relative;
}

.footer-main h3::after {
    content: '✦';
    color: #ffd700;
    margin-left: 0.5rem;
    font-size: 1.2rem;
    animation: footerStarTwinkle 2.5s ease-in-out infinite;
}

.footer-main p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-links a:hover {
    color: #ffd700;
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.footer-links a:hover::before {
    left: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    position: relative;
}

.footer-bottom::before {
    content: '✧ ✦ ✧';
    display: block;
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    animation: bottomStars 4s ease-in-out infinite;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.02em;
}

/* 協会リンクを控えめに表示 */
.footer-links a.association-link {
    opacity: 1;
    font-size: 0.9em;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-links a.association-link:hover {
    opacity: 1;
    color: #ffd700 !important;
    border-color: #ffd700 !important;
    background: rgba(255, 215, 0, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* ========================================
   サービスナビゲーション矢印
======================================== */
.services-container {
    position: relative;
}

.service-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(139, 95, 191, 0.9);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: none; /* デフォルトで非表示 */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(139, 95, 191, 0.3);
    backdrop-filter: blur(10px);
}

.service-nav-btn:hover {
    background: rgba(139, 95, 191, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 95, 191, 0.4);
}

.service-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.service-nav-prev {
    left: -25px;
}

.service-nav-next {
    right: -25px;
}

/* スマホ版でのみ表示 */
@media (max-width: 768px) {
    .service-nav-btn {
        display: flex;
    }
    
    /* services-containerにパディングを追加して矢印のスペースを確保 */
    .services-container {
        padding: 0 0;
    }
}

/* より小さな画面での調整 */
@media (max-width: 480px) {
    .service-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-nav-prev {
        left: -20px;
    }
    
    .service-nav-next {
        right: -20px;
    }
    
    /* 小さな画面でのパディング調整 */
    .services-container {
        padding: 0 30px;
    }
}

/* ========================================
   レスポンシブデザイン
======================================== */

/* ======== タブレット・iPad Pro (1024px以下) - ハンバーガーメニュー適用 ======== */
@media (max-width: 1024px) {
    .header {
        overflow: visible;
    }

    .logo {
        width: calc(100% - 50px); /* ハンバーガーメニュー分の余白を考慮 */
        text-align: center;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        left: auto;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(139, 95, 191, 0.95) 50%, rgba(255, 107, 157, 0.9) 100%);
        width: 100%;
        text-align: center;
        transition: right 0.2s ease-in-out;
        box-shadow: 0 10px 40px rgba(139, 95, 191, 0.3);
        backdrop-filter: blur(15px);
        padding: 2rem 0;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.3);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.1rem;
        padding: 12px 24px;
        border-radius: 25px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 215, 0, 0.2);
        color: #ffd700;
        transform: scale(1.05);
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    /* モバイル版でフォームタイトルを改行 */
    .break-mobile::before {
        content: '\A';
        white-space: pre;
    }
}

/* ======== タブレット・モバイル (768px以下) ======== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 0rem !important;
        padding-bottom: 10rem !important;
    }
    
    .hero-text {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .title-main {
        font-size: 1.8rem !important;
    }
    
    .title-accent {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2.5rem !important;
    }

    .image-container {
        width: 200px;
        height: 200px;
    }

    .image-decoration {
        position: absolute;
        top: -16px;
        left: -16px;
        right: -16px;
        bottom: -16px;
        border: 2px solid rgba(255, 215, 0, 0.5);
        border-radius: 50%;
        animation: rotate 20s linear infinite;
    }

    .maya-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Maya visual image adjustments for mobile */
    .maya-visual img {
        max-width: 350px !important;
        height: 450px !important;
    }

    /* Maya text adjustments for mobile */
    .maya-text h3 {
        font-size: 1.8rem !important;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
        padding: 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 200px;
        width: 40%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .instructor-photo {
        max-width: 100%;
        width: auto;
        height: auto;
        display: block;
    }

    .about-decoration {
        top: -18px;
        left: -18px;
        width: calc(100% + 36px);
        height: calc(100% + 36px);
        border-width: 3px;
    }
    
    .services-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(320px, 1fr);
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding: 1rem;
        gap: 1rem;
        padding: 0 1rem;
        margin: 0 -1rem;
    }

    /* スクロールバーを非表示 */
    .services-grid { scrollbar-width: none; }
    .services-grid::-webkit-scrollbar { display: none; }

    /* 各カードをスナップ対象に（中央配置） */
    .services-grid > * { 
        scroll-snap-align: center;
        opacity: 1 !important;
        transform: none !important;
    }

    /* services: mobile typography (<=768px) */
    .services .service-card { 
        display: flex; 
        flex-direction: column; 
        height: 100%; 
    }
    .services .service-icon { font-size: 2rem; }
    .services .service-card h3 { font-size: 1.15rem; }
    .services .service-description { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
    .services .service-features { margin-bottom: 1.2rem; }
    .services .service-features .feature { font-size: 0.9rem; }
    .services .curriculum-name { font-size: 0.9rem; }
    .services .curriculum-price { font-size: 0.95rem; }
    .services .price-amount { font-size: 2rem; }
    .services .price-duration { font-size: 0.95rem; }
    .services .service-price { margin-bottom: 0.8rem; padding: 1rem; }
    .services .service-note { font-size: 0.85rem; padding-bottom: 1rem; }
    .services .service-card .btn { 
        font-size: 0.95rem; 
        padding: 0.9rem 1rem; 
        align-self: stretch; 
    }
    
    .services .service-card .btn:first-of-type {
        margin-top: auto;
    }
    
    .services .service-card .btn + .btn {
        margin-top: 0.4rem;
    }
    
    .services .service-card .service-content + .btn,
    .services .service-card .service-content + a.btn {
        margin-top: auto;
    }

    .service-description {
        text-align: left;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card:hover {
        transform: none !important;
    }

    .service-card a.btn:last-child {
        margin-bottom: 1.2rem;
    }

    .course-image-full-width {
        opacity: 0 !important;
    }

    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 5rem;
    }
    
    /* モバイルでアニメーション遅延を短縮 */
    .hero-image {
        animation: scaleDown 1.2s ease-out 0.1s forwards;
    }
    
    .hero-text {
        animation-delay: 0.3s;
    }
    
    .hero-title {
        animation-delay: 0.5s;
    }
    
    .hero-subtitle {
        animation-delay: 0.7s;
    }
    
    .hero-buttons {
        animation-delay: 0.9s;
    }

    /* モバイル版でフォーム送信ボタンのフォントサイズを調整 */
    .contact-form .btn {
        font-size: 1rem;
    }
    
    .form-title {
        line-height: 1.4;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1.2rem;
    }
    
    .credential-value {
        text-align: right !important;
        font-size: 0.85rem;
    }
    
    .desktop-text {
        display: none;
    }
    
    .mobile-text {
        display: inline;
    }
    
    /* モバイル版では人気No.1バッジを縦並びに */
    .service-title-container {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .service-title-container h2 {
        margin-bottom: 0.5rem !important;
    }
    
    .service-title-container .service-badge-large {
        align-self: flex-end !important;
        padding: 0.6rem 1.2rem !important;
        font-size: 0.75rem !important;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Feature items responsive adjustments */
    .feature-item {
        padding: 1.5rem !important;
        gap: 1rem !important;
    }

    /* Feature icons responsive adjustments */
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        line-height: 60px !important;
        font-size: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .feature-text h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .feature-text p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .sidebar {
        position: static;
        order: -1;
    }
    
    /* サービス詳細ページではサイドバーをコンテンツの後に表示 */
    .service-detail-page .sidebar {
        order: initial;
    }
    
    .service-title {
        font-size: 2.2rem;
    }
    
    /* モバイルでのアニメーション調整 */
    .hero-text {
        animation: heroFloatUp 1.2s ease-out 0.3s forwards;
    }
    
    .hero-buttons {
        animation: heroFloatUp 1s ease-out 0.9s forwards;
    }
    
    /* スマホ版専用画像表示 */
    .mobile-image-section {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 4rem -1rem 0 -1rem;
        box-shadow: 0 8px 30px rgba(139, 95, 191, 0.08);
        transition: all 0.3s ease;
    }
    
    .mobile-guide-image {
        max-width: 100%;
        width: auto;
        height: auto;
        box-shadow: 0 8px 30px rgba(139, 95, 191, 0.12);
    }
}

/* ======== スマートフォン (480px以下) ======== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        margin-left: auto;
        margin-right: auto;
        width: 320px;
        margin-top: 10rem;
        margin-bottom: 1.5rem;
    }
    
    .title-prefix {
        font-size: 1rem !important;
        line-height: 2.5 !important;
        margin-bottom: 3rem !important;
    }
    
    .title-main {
        font-size: 1.5rem !important;
    }
    
    .title-accent {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 3rem !important;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    /* 480px以下では横スクロールカード幅を調整 */
    .services-grid {
        grid-auto-columns: minmax(260px, 1fr);
        padding: 0 0.5rem;
        margin: 0 -0.5rem;
    }

    /* services: iPhone縦画面対応 (<=480px) */
    .services .service-card { 
        padding: 0.8rem; 
        display: flex; 
        flex-direction: column; 
        height: 100%; 
    }
    .services .service-header { margin-bottom: 0.5rem; }
    .services .service-icon { font-size: 2em; margin-bottom: 0.3rem; }
    .services .service-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
    .services .service-badge { font-size: 0.6rem; padding: 0.2rem 0.5rem; margin-bottom: 0.4rem; top: -6px; right: -6px; }
    .services .service-description { font-size: 0.7rem; line-height: 1.3; margin-top: 1.5rem; margin-bottom: 1.5rem; }
    .services .service-features { margin-bottom: 0.5rem; }
    .services .service-features .feature { font-size: 0.65rem; margin-bottom: 0.1rem; padding-top: 0.1rem; padding-bottom: 0.1rem;}
    .services .service-features .feature::before { font-size: 0.65rem; }
    .services .service-curriculum { margin-bottom: 0.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem;}
    .services .curriculum-item { margin-bottom: 0.2rem; }
    .services .curriculum-name { font-size: 0.7rem; }
    .services .curriculum-price { font-size: 0.75rem; }
    .services .service-price { margin-top: 1.5rem; margin-bottom: 0.4rem; padding: 0.5rem; }
    .services .price-amount { font-size: 1.3rem; }
    .services .price-duration { font-size: 0.75rem; }
    .services .service-note { font-size: 0.65rem; margin-bottom: 0.5rem; }
    .services .service-card .btn { 
        font-size: 0.75rem; 
        padding: 0.5rem 0.7rem; 
        align-self: stretch; 
    }
    
    .services .service-card .btn:first-of-type {
        margin-top: auto;
    }
    
    .services .service-card .btn + .btn {
        margin-top: 0.3rem;
    }
    
    .services .service-card .service-content + .btn,
    .services .service-card .service-content + a.btn {
        margin-top: auto;
    }
    
    .cosmic-circle {
        width: 200px;
        height: 200px;
    }
    
    .inner-circle {
        width: 140px;
        height: 140px;
        font-size: 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }

    .about-image {
        padding: 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 160px;
        width: 40%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .image-container {
        width: 200px;
        height: 200px;
    }
    
    .about-decoration {
        top: -14px;
        left: -14px;
        width: calc(100% + 28px);
        height: calc(100% + 28px);
        border-width: 2px;
    }

    .instructor-message p {
        font-size: 1rem;
    }
    
    .method-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        flex-shrink: 0 !important;
        line-height: 60px !important;
        font-size: 2rem !important;
        border-radius: 50% !important;
    }

    .contact-methods {
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }

    .contact-method {
        padding: 1.5rem;
        gap: 1rem;
    }

    .method-info h4 {
        font-size: 1rem;
    }

    .method-info a {
        font-size: 0.9rem;
    }

    .footer-main h3 {
        font-size: 1.4rem;
    }

    /* Feature items further adjustments for small mobile */
    .feature-item {
        padding: 1.2rem !important;
        gap: 0.8rem !important;
    }

    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        flex-shrink: 0 !important;
        line-height: 50px !important;
        font-size: 24px !important;
    }

    .feature-text h4 {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .feature-text p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    /* Maya visual image further adjustments for small mobile */
    .maya-visual img {
        max-width: 280px !important;
        height: 360px !important;
    }

    /* Maya text further adjustments for small mobile */
    .maya-text h3 {
        font-size: 1.5rem !important;
    }

    .about-image {
        max-width: 250px !important;
    }
}

/* ========================================
   ユーティリティクラス
======================================== */
.emoji-fix {
    position: relative;
    top: -6px; /* 絵文字が少し上に表示されるように調整 */
}

/* ========================================
   特別な機能クラス
======================================== */
/* お問い合わせセクションのリンクブロック化 */
.contact-method-link {
    display: block; /* ブロック要素として扱う */
    text-decoration: none; /* 下線を消す */
    color: inherit; /* 親要素の色を継承 */
    border-radius: 15px; /* .contact-method と同じ角丸 */
    transition: all 0.3s ease;
}

.contact-method-link:hover .contact-method {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.contact-method-link:hover .contact-method::before {
    left: 100%;
}

.contact-method-link .method-info span {
    color: #ffd700; /* 元のリンクの色を再現 */
    font-weight: 500; /* 元のリンクの太さを再現 */
    transition: all 0.3s ease;
}

.contact-method-link:hover .method-info span {
    color: #ffffff; /* ホバー時の色を再現 */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* ========================================
   サービス詳細ページ
======================================== */
.service-detail-page {
    padding-top: 80px;
}

.service-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--hero-gradient);
    text-align: center;
}

.service-hero-content {
    color: white;
    z-index: 2;
    position: relative;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.3));
}

.service-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-elegant);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.service-badge-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-pink), #ff8fab);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.service-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.service-price-hero {
    font-size: 2rem;
    font-weight: 700;
}

.service-price-hero .price-duration {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.service-content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 50%, #f8f9ff 100%);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.main-content h2 {
    font-size: 2.2rem;
    color: var(--primary-purple);
    margin-bottom: 4rem;
    font-family: var(--font-mayan);
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 500;
}

.content-block {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(139, 95, 191, 0.08);
    border: 1px solid rgba(139, 95, 191, 0.1);
}

.content-block h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-block p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.7;
    border-bottom: 1px solid rgba(139, 95, 191, 0.1);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 1.1rem;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.recommend-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 95, 191, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(139, 95, 191, 0.1);
    transition: all 0.3s ease;
}

.recommend-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 95, 191, 0.15);
}

.recommend-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.recommend-item p {
    margin: 0;
    font-weight: 500;
    color: var(--text-primary);
}

.sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 60px rgba(139, 95, 191, 0.15);
    border: 1px solid rgba(139, 95, 191, 0.1);
    margin-bottom: 2rem;
}

.booking-card h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.booking-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 95, 191, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: 500;
    color: var(--text-secondary);
}

.info-item .value {
    font-weight: 600;
    color: var(--primary-purple);
}

.booking-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
}

.instructor-mini-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 15px 60px rgba(139, 95, 191, 0.15);
    border: 1px solid rgba(139, 95, 191, 0.1);
    text-align: center;
}

.instructor-mini-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid rgba(255, 215, 0, 0.5);
    display: block;
    margin: 0 auto 1rem auto;
}

.instructor-mini-card h4 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--font-mayan);
}

.instructor-mini-card .instructor-title {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: var(--font-mayan);
}

.instructor-mini-card .instructor-message {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.5;
}

.btn-small {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.related-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafbff 0%, #ffffff 50%, #f8f9ff 100%);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.related-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(139, 95, 191, 0.1);
    border: 1px solid rgba(139, 95, 191, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(139, 95, 191, 0.15);
}

.related-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.related-card h3 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.related-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.related-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

/* 関連講座セクションの講座名にKaisei Decolフォントを適用 */
.related-card h3 {
    font-family: var(--font-mayan);
}

/* 右カラムの見出しを通常フォントに変更 */
.booking-card h3,
.special-message-card h4 {
    font-family: var(--font-primary);
}

/* 質問ボックス */
.question-box {
    background: linear-gradient(135deg, rgba(139, 95, 191, 0.1), rgba(255, 107, 157, 0.1));
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px dashed rgba(139, 95, 191, 0.3);
    text-align: center;
}

.question-box h4 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-style: italic;
}

/* お客様の声・証言スタイル */
.testimonial-style {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #ffd700;
}

.testimonial-style p {
    color: var(--text-primary);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-style p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 特別メッセージカード */
.special-message-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 95, 191, 0.1));
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 15px 60px rgba(139, 95, 191, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 2rem;
    text-align: center;
}

.special-message-card h4 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.special-message-card p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.special-message-card .signature {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* コース・セッション画像スタイル */
.course-image-container {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(139, 95, 191, 0.03);
    border-radius: 10px;
}

.course-image-container.top-margin {
    margin: 2rem 0 0 0;
}

.course-image {
    max-width: 280px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(139, 95, 191, 0.1);
    display: block;
    margin: 0 auto;
}

.course-image-caption {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* サービスタイトルコンテナ */
.service-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-title-container h2 {
    margin: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
        order: -1;
    }
    
    .service-title {
        font-size: 2.2rem;
    }
    
    .recommend-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   講師紹介ページ
======================================== */

/* 講師紹介ページレイアウト */
.about-page-layout {
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: flex-start;
}

/* 講師紹介ページの写真アニメーション */
.about-page-layout .about-image {
    opacity: 0;
    animation: aboutFloatUp 1.2s ease-out 0.3s forwards;
}

.about-page-layout .instructor-photo {
    transition: all 0.4s ease;
    animation: softGlow 4s ease-in-out infinite;
}

/* 写真のホバーアニメーションは削除
.about-page-layout .instructor-photo:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}
*/

/* 講師紹介ページの文章アニメーション */
.detailed-story {
    opacity: 0;
    animation: aboutFloatUp 1.2s ease-out 0.6s forwards;
}

.about-page-title {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-elegant);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    opacity: 0;
    animation: aboutTextReveal 1s ease-out 0.9s forwards;
}

.story-section {
    margin-bottom: 3rem;
    opacity: 0;
    animation: aboutTextReveal 1s ease-out forwards;
}

.story-section:nth-child(2) { animation-delay: 1.2s; }
.story-section:nth-child(3) { animation-delay: 1.4s; }
.story-section:nth-child(4) { animation-delay: 1.6s; }
.story-section:nth-child(5) { animation-delay: 1.8s; }
.story-section:nth-child(6) { animation-delay: 2.0s; }

.story-section h4 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.story-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, transparent);
    animation: expandLine 0.8s ease-out 0.3s forwards;
}



.story-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.story-section p:hover {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.story-highlight-box {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 215, 0, 0.3);
    opacity: 0;
    animation: aboutFloatUp 1s ease-out 2.2s forwards;
    transition: all 0.4s ease;
}

.story-highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.story-highlight-box .highlight-title {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0;
    animation: aboutTextReveal 0.8s ease-out 2.5s forwards;
}

.story-highlight-box .highlight-text {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-style: italic;
    opacity: 0;
    animation: aboutTextReveal 0.8s ease-out 2.7s forwards;
}

.story-final-message {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 3rem;
    opacity: 0;
    animation: aboutFloatUp 1s ease-out 2.4s forwards;
    position: relative;
}

.story-final-message::before,
.story-final-message::after {
    content: '✦';
    position: absolute;
    color: rgba(255, 215, 0, 0.6);
    font-size: 1.5rem;
    animation: starTwinkle 3s ease-in-out infinite;
}

.story-final-message::before {
    left: -30px;
    animation-delay: 0.5s;
}

.story-final-message::after {
    right: -30px;
    animation-delay: 1s;
}

.story-actions {
    text-align: center;
    margin-top: 4rem;
    opacity: 0;
    animation: aboutFloatUp 1s ease-out 2.6s forwards;
}

.story-actions .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.story-actions .btn:hover::before {
    left: 100%;
}

/* 講師紹介ページのモバイル対応 */
@media (max-width: 768px) {
    .about-page-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .story-actions {
        text-align: center !important;
    }
    
    .about-image {
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .instructor-photo {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    
    .about-decoration {
        top: -14px !important;
        left: -14px !important;
        width: calc(100% + 28px) !important;
        height: calc(100% + 28px) !important;
        border-width: 2px !important;
    }
    
    /* モバイルでのアニメーション調整 */
    .story-final-message::before,
    .story-final-message::after {
        display: none; /* モバイルでは星を非表示 */
    }
    
    .story-section h4::after {
        width: 40px; /* モバイルでは線を短く */
    }
    
    /* アニメーション遅延を短縮（モバイルでは早めに表示） */
    .about-page-layout .about-image {
        animation: aboutFloatUp 1.2s ease-out 0.1s forwards;
    }
    
    .detailed-story {
        animation: aboutFloatUp 1.2s ease-out 0.3s forwards;
    }
    
    .about-page-title {
        animation-delay: 0.5s;
    }
    
    .story-section:nth-child(2) { animation-delay: 0.7s; }
    .story-section:nth-child(3) { animation-delay: 0.9s; }
    .story-section:nth-child(4) { animation-delay: 1.1s; }
    .story-section:nth-child(5) { animation-delay: 1.3s; }
    .story-section:nth-child(6) { animation-delay: 1.5s; }
    
    .story-highlight-box {
        animation: aboutFloatUp 1s ease-out 1.7s forwards;
    }
    
    .story-highlight-box .highlight-title {
        animation-delay: 1.9s;
    }
    
    .story-highlight-box .highlight-text {
        animation-delay: 2.1s;
    }
    
    .story-final-message {
        animation: aboutFloatUp 1s ease-out 1.8s forwards;
    }
    
    .story-actions {
        animation: aboutFloatUp 1s ease-out 2.0s forwards;
    }
    
    .question-box h4 {
        font-size: 1.0rem;
    }
    
    .testimonial-style {
        padding: 1.5rem;
    }
    
    .special-message-card {
        padding: 1.5rem;
    }
}

