/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

:root {
    /* 明るい木目調カラーパレット - 洗練されたリッチな印象 */
    --wood-dark: #8b6e47;        /* 明るい木材色（濃） */
    --wood-main: #b8956f;        /* 明るい木材色（メイン） */
    --wood-light: #d4b896;       /* 明るい木材色（薄） */
    --bamboo-dark: #7d8c5a;      /* 竹の濃い緑 */
    --bamboo-main: #9bb26f;      /* 竹のメイン色 */
    --bamboo-light: #b5c788;     /* 竹の明るい色 */
    --washi: #faf8f4;            /* 上質な和紙色 */
    --washi-dark: #f0ede6;       /* 和紙の影色 */
    --tatami: #e8d4b8;           /* 明るい畳色 */
    --tatami-dark: #d4b896;      /* 畳の濃い色 */
    --gold: #e8c97a;             /* 優雅な金色 */
    --gold-dark: #dab85f;        /* 濃い金色 */
    --gold-light: #f2d896;       /* 明るい金色 */
    --gold-metallic: #f5e6a8;    /* メタリック金色 */
    --rose-gold: #e8b4a0;        /* ローズゴールド */
    --rose-pink: #f4d2c7;        /* 優しいピンク */
    --silver: #d4d0c8;           /* 銀色 */
    --indigo: #6b7c9c;           /* 柔らかい藍色 */
    --vermillion: #e67e5c;       /* 優しい朱色 */
    --charcoal: #5a5048;         /* 炭色（文字色） */
    --charcoal-light: #6b5f54;   /* 明るい炭色 */
    --white: #ffffff;
    --off-white: #fcfcfc;
    --bg-light: #faf8f4;         /* ライト背景 */
    --text-dark: #5a5048;        /* ダーク文字 */
    --text-medium: #6b5f54;      /* ミディアム文字 */
    --text-white: #ffffff;       /* 白文字 */
    
    /* 影とボーダー */
    --shadow: 0 4px 12px rgba(139, 110, 71, 0.15);
    --shadow-wood: 0 6px 20px rgba(139, 110, 71, 0.2);
    --shadow-heavy: 0 8px 24px rgba(139, 110, 71, 0.25);
    --shadow-golden: 0 4px 16px rgba(232, 201, 122, 0.3);
    --shadow-rose: 0 4px 16px rgba(232, 180, 160, 0.25);
    --border-radius: 8px;
    --border-radius-large: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'M PLUS 1p', system-ui, -apple-system, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--washi) 0%, var(--off-white) 100%);
    position: relative;
    font-weight: 400;
    letter-spacing: 0.05em;
    font-feature-settings: "palt" 1;
    width: 100%;
    min-width: 320px;
}

/* 伝統的な和風背景パターン */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 麻の葉模様（六角形パターン） */
        radial-gradient(
            circle at 25% 25%,
            rgba(196, 164, 132, 0.025) 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 75% 75%,
            rgba(196, 164, 132, 0.02) 2px,
            transparent 3px
        ),
        /* 青海波（波模様） */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 12px,
            rgba(75, 0, 130, 0.008) 12px,
            rgba(75, 0, 130, 0.008) 14px
        ),
        /* 木目の縦線 */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 4px,
            rgba(196, 164, 132, 0.03) 4px,
            rgba(196, 164, 132, 0.03) 6px
        ),
        /* 木目の年輪模様 */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(196, 164, 132, 0.02) 40px,
            rgba(196, 164, 132, 0.02) 42px
        ),
        /* 桜の花びら散り */
        radial-gradient(
            circle at 15% 85%,
            rgba(227, 66, 52, 0.01) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 85% 15%,
            rgba(227, 66, 52, 0.008) 1px,
            transparent 2px
        );
    background-size: 
        30px 30px,
        45px 45px,
        24px 24px,
        12px 12px, 
        50px 50px,
        150px 150px,
        200px 200px;
    z-index: -1;
    pointer-events: none;
}

/* Modern Typography System */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    font-family: 'Noto Serif JP', 'Zen Kaku Gothic New', serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(45, 24, 16, 0.1);
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    font-family: 'Noto Serif JP', 'Zen Kaku Gothic New', serif;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgba(45, 24, 16, 0.1);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-family: 'Noto Serif JP', 'Zen Kaku Gothic New', serif;
    color: var(--wood-dark);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: 
        0 2px 4px rgba(45, 24, 16, 0.1),
        0 0 10px rgba(212, 175, 55, 0.2);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--rose-gold), var(--gold-light), var(--rose-gold));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.section-title::before {
    content: '※ ❋ ※';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--rose-gold);
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(232, 180, 160, 0.4);
    letter-spacing: 0.5rem;
    font-weight: 300;
}

.bg-light {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--washi) 50%, var(--off-white) 100%);
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* 七宝模様（円の重なり） */
        radial-gradient(circle at 0% 0%, transparent 20px, rgba(196, 164, 132, 0.02) 20px, rgba(196, 164, 132, 0.02) 25px, transparent 25px),
        radial-gradient(circle at 50% 50%, transparent 20px, rgba(196, 164, 132, 0.015) 20px, rgba(196, 164, 132, 0.015) 25px, transparent 25px),
        /* 亀甲模様（六角形） */
        linear-gradient(30deg, transparent 40%, rgba(75, 0, 130, 0.005) 40%, rgba(75, 0, 130, 0.005) 60%, transparent 60%),
        linear-gradient(-30deg, transparent 40%, rgba(75, 0, 130, 0.005) 40%, rgba(75, 0, 130, 0.005) 60%, transparent 60%),
        /* 和紙の繊維模様 */
        radial-gradient(circle at 20% 50%, rgba(196, 164, 132, 0.04) 2px, transparent 2px),
        radial-gradient(circle at 80% 50%, rgba(196, 164, 132, 0.03) 2px, transparent 2px),
        radial-gradient(circle at 40% 20%, rgba(196, 164, 132, 0.02) 1px, transparent 1px);
    background-size: 
        50px 50px,
        75px 75px,
        40px 40px,
        40px 40px,
        30px 30px, 
        35px 35px, 
        20px 20px;
    z-index: 1;
}

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

.bg-primary {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-main) 100%);
    color: var(--text-white);
    position: relative;
}

.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* 木目調のテクスチャ */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(196, 164, 132, 0.1) 3px,
            rgba(196, 164, 132, 0.1) 4px
        ),
        linear-gradient(90deg, transparent 30%, rgba(184, 134, 11, 0.15) 50%, transparent 70%);
    z-index: 1;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose-gold), var(--gold-light));
    color: var(--text-white);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-rose);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, var(--gold-light), var(--rose-pink));
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--rose-gold);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--rose-gold);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--text-white);
    box-shadow: var(--shadow-wood);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--washi);
    color: var(--wood-main);
    border: 1px solid var(--tatami);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-wood);
    border-color: var(--rose-gold);
    color: var(--wood-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(248, 245, 240, 0.95), rgba(250, 248, 243, 0.95));
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(45, 24, 16, 0.15);
}

#header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tatami-dark), var(--tatami), var(--tatami-dark));
}

.navbar {
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.logo-icon {
    height: 50px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(107, 76, 58, 0.2));
    transition: var(--transition);
    display: block;
}

.logo-icon:hover {
    transform: scale(1.05);
    filter: drop-shadow(3px 3px 6px rgba(107, 76, 58, 0.3));
}

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

.nav-menu a {
    color: var(--wood-main);
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--tatami);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--tatami-dark);
    background: rgba(196, 164, 132, 0.1);
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--wood-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-main) 100%);
    position: relative;
    color: var(--text-white);
    padding-top: 100px;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* 流水模様 */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(75, 0, 130, 0.03) 15px,
            rgba(75, 0, 130, 0.03) 18px,
            transparent 18px,
            transparent 25px
        ),
        /* 竹の模様 */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 80px,
            rgba(196, 164, 132, 0.1) 80px,
            rgba(196, 164, 132, 0.1) 85px
        ),
        /* 檜垣模様（格子） */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 30px,
            rgba(107, 124, 58, 0.02) 30px,
            rgba(107, 124, 58, 0.02) 32px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 30px,
            rgba(107, 124, 58, 0.02) 30px,
            rgba(107, 124, 58, 0.02) 32px
        ),
        /* 木目調 */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(74, 55, 40, 0.1) 3px,
            rgba(74, 55, 40, 0.1) 4px
        );
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184, 149, 111, 0.75) 0%, rgba(212, 184, 150, 0.65) 50%, rgba(232, 212, 184, 0.55) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

.hero-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--gold-light);
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-family: 'Zen Kaku Gothic New', 'M PLUS 1p', sans-serif;
    font-style: normal;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-subtitle::before {
    content: '— ';
    color: var(--gold);
    font-weight: 300;
}

.hero-subtitle::after {
    content: ' —';
    color: var(--gold);
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.95;
}

.hero-description strong {
    color: var(--gold-light);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    min-width: 0;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.4),
        0 0 25px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(107, 76, 58, 0.05) 8px,
            rgba(107, 76, 58, 0.05) 10px
        );
    z-index: 1;
}

.stat-item > * {
    position: relative;
    z-index: 2;
}

.stat-number {
    display: block;
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-white);
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(4px 4px 8px rgba(107, 76, 58, 0.3));
    transition: var(--transition);
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(6px 6px 12px rgba(107, 76, 58, 0.4));
}

/* About Section */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 0;
    position: relative;
    padding: 1.5rem;
    background: rgba(248, 245, 240, 0.3);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--tatami);
}

/* Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.concept-card {
    background: var(--washi);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-wood);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--wood-light);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(196, 164, 132, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(196, 164, 132, 0.06) 1px, transparent 1px);
    background-size: 25px 25px, 35px 35px;
    z-index: 1;
}

.concept-card > * {
    position: relative;
    z-index: 2;
}

.concept-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        var(--shadow-heavy),
        0 0 20px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--washi) 0%, #faf8f3 100%);
}

.concept-icon {
    font-size: 3.5rem;
    color: var(--tatami-dark);
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 2px 4px rgba(107, 76, 58, 0.2));
    transition: var(--transition);
    position: relative;
}

.concept-card:hover .concept-icon {
    color: var(--gold-dark);
    transform: scale(1.1) rotate(5deg);
    filter: 
        drop-shadow(3px 3px 8px rgba(107, 76, 58, 0.3))
        drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.concept-card h3 {
    color: var(--wood-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
}

.concept-card h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--tatami);
    margin: 0.5rem auto;
}

.concept-card p {
    color: var(--text-dark);
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* System Section */
.system-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 0;
}

.pricing-card {
    background: var(--washi);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-wood);
    overflow: hidden;
    border: 2px solid var(--wood-light);
}

.main-plan {
    border: 3px solid var(--tatami-dark);
    position: relative;
    margin-top: 0;
    overflow: visible;
}


.pricing-header {
    background: linear-gradient(135deg, var(--tatami-dark), var(--tatami));
    color: var(--text-white);
    padding: 2rem;
    text-align: center;
    position: relative;
    border-top-left-radius: calc(var(--border-radius-large) - 2px);
    border-top-right-radius: calc(var(--border-radius-large) - 2px);
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(107, 76, 58, 0.1) 10px,
            rgba(107, 76, 58, 0.1) 12px
        );
    z-index: 1;
}

.pricing-header h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.currency {
    font-size: 1.5rem;
    color: var(--text-white);
}

.unit {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--text-white);
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.pricing-features i {
    color: var(--tatami-dark);
}

.system-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.detail-item {
    background: var(--washi);
    padding: 1.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-wood);
    border: 2px solid var(--wood-light);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(196, 164, 132, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(196, 164, 132, 0.04) 1px, transparent 1px);
    background-size: 20px 20px, 30px 30px;
    z-index: 1;
}

.detail-item > * {
    position: relative;
    z-index: 2;
}

.detail-item h4 {
    color: var(--wood-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item i {
    color: var(--tatami-dark);
}

.detail-item p {
    color: var(--text-dark);
}

/* Rules Section */
.rules-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(248, 245, 240, 0.3);
    border-radius: var(--border-radius);
    border: 2px dashed var(--tatami);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.rule-item {
    background: var(--washi);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-wood);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
    border-left: 4px solid var(--tatami);
    border: 2px solid var(--wood-light);
    position: relative;
    overflow: hidden;
}

.rule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(196, 164, 132, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(196, 164, 132, 0.03) 1px, transparent 1px);
    background-size: 25px 25px, 40px 40px;
    z-index: 1;
}

.rule-item > * {
    position: relative;
    z-index: 2;
}

.rule-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--tatami);
}

.rule-number {
    background: linear-gradient(135deg, var(--tatami-dark), var(--tatami));
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: var(--shadow-wood);
    border: 2px solid var(--wood-light);
}

.rule-content h4 {
    color: var(--wood-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.rule-content p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* Access Section */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.store-info h3 {
    color: var(--wood-dark);
    margin-bottom: 2rem;
    font-family: 'Noto Sans JP', serif;
    position: relative;
}

.store-info h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--tatami-dark), var(--tatami));
    margin-top: 0.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--washi);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-wood);
    border: 2px solid var(--wood-light);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(196, 164, 132, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.info-item > * {
    position: relative;
    z-index: 2;
}

.info-item i {
    color: var(--tatami-dark);
    font-size: 1.3rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    filter: drop-shadow(1px 1px 2px rgba(107, 76, 58, 0.2));
}

.info-item strong {
    color: var(--wood-dark);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-dark);
    margin: 0;
}

.info-item a {
    color: var(--tatami-dark);
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-wood);
    border: 3px solid var(--wood-main);
    width: 100%;
    height: 625px;
    margin-top: 4.5rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: calc(var(--border-radius-large) - 3px);
}

/* App Section */
.app-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.app-description h3 {
    color: var(--wood-dark);
    margin-bottom: 1rem;
    font-family: 'Noto Sans JP', serif;
    position: relative;
}

.app-description h3::before {
    margin-right: 0.5rem;
}

.app-description p {
    color: var(--text-dark);
}

.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--washi);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--wood-light);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-wood);
    border-color: var(--tatami);
}

.feature i {
    color: var(--tatami-dark);
}

.feature span {
    color: var(--text-dark);
}

.app-download h4 {
    color: var(--wood-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.app-download h4::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--tatami);
    margin: 0.5rem auto 0;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--wood-dark), var(--wood-main));
    color: var(--text-white);
    border-radius: var(--border-radius-large);
    transition: var(--transition);
    border: 2px solid var(--wood-light);
    position: relative;
    overflow: hidden;
}

.download-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;
}

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

.download-btn:hover {
    background: linear-gradient(135deg, var(--tatami-dark), var(--tatami));
    transform: translateY(-2px);
    box-shadow: var(--shadow-wood);
}

.download-btn i {
    font-size: 2rem;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.download-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.download-btn span {
    font-size: 0.8rem;
    opacity: 0.8;
    color: var(--text-white);
}

.download-btn strong {
    font-size: 1.1rem;
    color: var(--text-white);
}

/* Reservation Section */
.reservation-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.reservation-content h2 {
    margin-bottom: 1rem;
    font-family: 'Noto Sans JP', serif;
}

.reservation-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* SNS Section */
.sns-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.sns-item h3 {
    color: var(--wood-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.sns-item h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--tatami), transparent);
    position: absolute;
    bottom: -8px;
    left: 0;
}

.sns-item h3 i {
    color: var(--tatami-dark);
    filter: drop-shadow(1px 1px 2px rgba(107, 76, 58, 0.2));
}

.sns-embed {
    background: transparent;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-wood);
    overflow: hidden;
    border: 2px solid var(--wood-light);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge */
}

/* Chrome, Safari, Opera */
.sns-embed::-webkit-scrollbar {
    display: none;
}

.placeholder-sns {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-medium);
    font-size: 1.1rem;
    position: relative;
}

.placeholder-sns::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 40%, rgba(196, 164, 132, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Footer */
#footer {
    background: linear-gradient(135deg, var(--wood-dark), var(--wood-main));
    color: var(--text-white);
    padding: 3rem 0 1rem;
    border-top: 4px solid var(--tatami);
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* 竹の模様 */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(196, 164, 132, 0.08) 60px,
            rgba(196, 164, 132, 0.08) 65px
        ),
        /* 木目調 */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 4px,
            rgba(74, 55, 40, 0.1) 4px,
            rgba(74, 55, 40, 0.1) 5px
        );
    z-index: 1;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-family: 'Noto Sans JP', serif;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    position: relative;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(2px 2px 4px rgba(107, 76, 58, 0.2));
}

.footer-logo h3::before {
    content: '🍶';
    margin-right: 0.5rem;
}

.footer-logo p {
    color: var(--gold-light);
    font-style: italic;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    color: var(--text-white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(248, 245, 240, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-white);
    border: 2px solid rgba(196, 164, 132, 0.3);
}

.footer-social a:hover {
    background: var(--tatami);
    color: var(--text-white);
    transform: translateY(-3px);
    border-color: var(--wood-light);
    box-shadow: var(--shadow-wood);
}

.footer-bottom {
    border-top: 2px solid rgba(196, 164, 132, 0.3);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

/* Responsive Design */
/* タブレット・モバイル対応 */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
        letter-spacing: 0.03em;
    }

    .logo-icon {
        height: 45px;
    }

    .hero-stats {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .stat-item {
        padding: 1.2rem 0.8rem;
        min-width: 0;
    }

    .stat-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        bottom: 0;
        flex-direction: column;
        background: 
            /* 和紙の繊維模様 */
            radial-gradient(circle at 30% 40%, rgba(196, 164, 132, 0.06) 1px, transparent 1px),
            radial-gradient(circle at 70% 60%, rgba(196, 164, 132, 0.04) 1px, transparent 1px),
            /* ベース背景 */
            linear-gradient(135deg, var(--washi) 0%, #faf8f3 100%);
        background-size: 25px 25px, 35px 35px, 100% 100%;
        width: 100%;
        height: calc(100vh - 440px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 
            var(--shadow),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        padding: 1rem 0;
        border-top: 2px solid var(--wood-light);
        backdrop-filter: blur(10px);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }

    .hero-buttons {
        justify-content: center;
    }

    .system-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .access-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .map-container {
        margin-top: 0.3rem;
    }

    .app-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .concept-grid {
        grid-template-columns: 1fr;
    }

    .concept-card {
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .concept-card p {
        flex-grow: 1;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .sns-embed {
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-wood);
        border: 2px solid var(--wood-light);
        overflow: hidden;
    }

    .sns-embed iframe {
        height: 330px !important;
        width: 100%;
        display: block;
        border-radius: calc(var(--border-radius) - 2px);
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        justify-content: center;
    }

    .hero-logo {
        max-width: 250px;
    }

    .hero-stats {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 2rem;
        min-width: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .stat-label {
        font-size: 1rem;
        line-height: 1.2;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        text-align: right;
        flex: 1;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 0.08em;
        margin-bottom: 3rem;
        text-shadow: 
            0 1px 3px rgba(45, 24, 16, 0.15),
            0 0 8px rgba(212, 175, 55, 0.2);
    }

    .section-title::before {
        top: -30px;
        font-size: 1rem;
        letter-spacing: 0.3rem;
    }

    .section {
        padding: 4rem 0;
    }

    /* モバイル専用の和風装飾 */
    .concept-card::after {
        content: '';
        position: absolute;
        top: 10px;
        right: 10px;
        width: 20px;
        height: 20px;
        background: 
            radial-gradient(circle, var(--gold-light) 30%, transparent 30%),
            radial-gradient(circle at 30% 30%, var(--gold) 2px, transparent 2px);
        border-radius: 50%;
        opacity: 0.6;
    }

    .rule-item::after {
        content: '';
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 15px;
        height: 15px;
        background: linear-gradient(45deg, var(--tatami), var(--tatami-dark));
        transform: rotate(45deg);
        opacity: 0.4;
    }

    /* SNS Section - スマホ対応 */
    .sns-embed {
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-wood);
        border: 2px solid var(--wood-light);
        overflow: hidden;
    }

    .sns-embed iframe {
        height: 335px !important;
        max-height: 335px !important;
        border-radius: calc(var(--border-radius) - 2px);
        width: 100% !important;
        display: block;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .sns-embed {
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-wood);
        border: 2px solid var(--wood-light);
        overflow: hidden;
        height: 335px !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 335px;
    }

    .sns-content {
        overflow: hidden;
    }

    .sns-item {
        overflow: hidden;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Advanced Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 和風パーティクルアニメーション */
@keyframes sakura-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes golden-shimmer {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold-metallic);
    animation: spin 1s ease-in-out infinite;
}

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

/* 特殊ホバーエフェクト */
.japanese-glow {
    position: relative;
    overflow: hidden;
}

.japanese-glow::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%
    );
    transform: scale(0);
    transition: transform 0.6s ease;
    z-index: 1;
}

.japanese-glow:hover::before {
    transform: scale(1);
}

/* パーティクル要素 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--gold-light), transparent);
    border-radius: 50%;
    animation: floating 4s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 0.5s; }
.particle:nth-child(3) { left: 30%; animation-delay: 1s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 50%; animation-delay: 2s; }
.particle:nth-child(6) { left: 60%; animation-delay: 2.5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 3s; }
.particle:nth-child(8) { left: 80%; animation-delay: 3.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 4s; }