/* 
  KIMONO GAME LP Stylesheet
  Theme: 上品（Elegant）, やわらかい（Soft）, 和風（Japanese style）
*/

:root {
    /* カラーパレット */
    --bg-color: #fdfaf5;       /* やわらかな生成り色（ベース） */
    --text-color: #3b352f;     /* 墨色・焦茶（メインテキスト） */
    --text-light: #706558;     /* 薄茶（サブテキスト） */
    --primary-color: #c97a7e;  /* 灰桜 / 淡い紅色（アクセント） */
    --secondary-color: #6a7c87;/* 藍鼠・くすみブルー（アクセント2） */
    --border-color: #e6dfd3;   /* 境界線 */
    
    /* フォント */
    --font-serif: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-serif);
    color: var(--text-color);
    background-color: var(--bg-color);
    /* ほんのり和紙風のテクスチャをCSSで表現 */
    background-image: radial-gradient(#ebe1d5 1px, transparent 1px);
    background-size: 24px 24px;
    line-height: 2;
    letter-spacing: 0.08em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

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

.pc-only {
    display: inline-block;
}
.sp-only {
    display: none;
}

/* 共通コンテナ */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 6%;
}

/* ダミー画像用プレースホルダー */
.placeholder {
    background-color: #f0e9df;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    border: 1px dashed #d1c5b4;
    letter-spacing: 0.1em;
}

/* =========================================================
   Typography
========================================================= */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 3.5rem;
    position: relative;
    line-height: 1.4;
}
.section-title span {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-family: sans-serif; /* 英語部分は少しモダンに */
    font-weight: 500;
}

/* =========================================================
   Header & Language Switcher
========================================================= */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 6%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    font-size: 1.1rem;
    font-family: sans-serif;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--text-color);
}

.lang-switch {
    display: flex;
    gap: 1rem;
    font-family: sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}
.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.2rem 0;
    position: relative;
    transition: color 0.3s;
}
.lang-btn.active {
    color: var(--text-color);
    font-weight: 500;
}
.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
}
.lang-btn:hover:not(.active) {
    color: var(--primary-color);
}

/* 翻訳要素の表示切り替え */
body.lang-ja [data-lang="en"],
body:not(.lang-en) [data-lang="en"] {
    display: none !important;
}

body.lang-en [data-lang="ja"] {
    display: none !important;
}

/* =========================================================
   Hero Section
========================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8rem 6% 6rem;
}
.hero-content {
    text-align: center;
    margin-bottom: 3rem;
    z-index: 2;
}
.hero-copy {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.hero-copy span {
    display: inline-block;
}
.hero-subcopy {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-color);
    line-height: 1.8;
}
.hero-note {
    margin-top: 1rem;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    color: var(--primary-color);
    letter-spacing: 0.12em;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* やわらかな角丸 */
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* 浮き出るような上品な影 */
}

/* 縦のスクロールインジケーター */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    font-family: sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}
.scroll-down .line {
    width: 1px;
    height: 60px;
    background-color: var(--text-light);
    margin-top: 15px;
    animation: scrollLine 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    40% { transform: scaleY(1); transform-origin: top; }
    40.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   About Section
========================================================= */
.about {
    padding: 10rem 0;
    text-align: center;
    position: relative;
}
/* 背景にうっすらと和柄風の丸を置く */
.about::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(201, 122, 126, 0.05); /* sakura color alpha */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
}
.about-content {
    max-width: 600px;
    margin: 0 auto;
}
.about .lead {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-weight: 500;
}
.about .text {
    font-size: 1.05rem;
}

/* =========================================================
   Game Lineup Section
========================================================= */
.game-lineup {
    padding: 10rem 0;
    background-color: rgba(255, 255, 255, 0.6);
}
.card-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.game-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 100%;
    max-width: 340px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    cursor: pointer;
}
.game-card:hover {
    transform: translateY(-5px);
}
.game-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 12px;
}
.game-card-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}
.card-icon {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    overflow: hidden;
}
.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.placeholder-icon {
    background: linear-gradient(135deg, #e8ded0 0%, #f5eee5 100%);
    color: var(--text-light);
    letter-spacing: 0.16em;
    font-family: sans-serif;
}
.card-content {
    padding: 2rem 1.5rem;
    text-align: left;
    position: relative;
    z-index: 2;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.status.highlight {
    background-color: rgba(201, 122, 126, 0.1);
    color: var(--primary-color);
}
.card-price {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background-color: rgba(106, 124, 135, 0.12);
    color: var(--secondary-color);
}
.card-price-soon {
    background-color: rgba(59, 53, 47, 0.08);
    color: var(--text-light);
}
.card-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}
.card-action {
    text-align: center;
}
.btn-card {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    border: 1px solid var(--primary-color);
    position: relative;
    z-index: 3;
    min-height: 52px;
    line-height: 1.4;
    align-content: center;
    box-shadow: 0 8px 18px rgba(201, 122, 126, 0.22);
}
.btn-card:hover {
    background-color: #b9686d;
    color: #fff;
    box-shadow: 0 10px 22px rgba(201, 122, 126, 0.28);
}
.btn-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}
.btn-card-disabled {
    background-color: #f3efe8;
    color: #9a9083;
    border-color: #ddd3c5;
    box-shadow: none;
    cursor: not-allowed;
}
.btn-card-disabled:hover {
    background-color: #f3efe8;
    color: #9a9083;
    box-shadow: none;
}

/* =========================================================
   Story Section
========================================================= */
.story {
    padding: 10rem 0;
}
.story-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 5rem 4rem;
    background-color: #fff;
    border: 1px solid var(--border-color);
    position: relative;
}
/* 四隅の装飾 (かすれた枠線のイメージ) */
.story-inner::before, .story-inner::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    opacity: 0.5;
}
.story-inner::before {
    top: 15px; left: 15px;
    border-right: none; border-bottom: none;
}
.story-inner::after {
    bottom: 15px; right: 15px;
    border-left: none; border-top: none;
}
.story-text p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.story-text p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   Message Section
========================================================= */
.message {
    padding: 6rem 0 0;
    text-align: center;
}
.message-box {
    max-width: 600px;
    margin: 0 auto;
}
.message-title {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    letter-spacing: 0.15em;
}

/* =========================================================
   Navigator Section
========================================================= */
.navigator {
    padding: 8rem 0 10rem;
}
.navigator-profile {
    max-width: 700px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px dashed rgba(201, 122, 126, 0.5); /* 上品な和風の枠線 */
}
.navigator-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--border-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    overflow: hidden;
}
.navigator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.navigator-info {
    text-align: left;
}
.navigator-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}
.navigator-desc {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* =========================================================
   Contact Section
========================================================= */
.contact {
    padding: 8rem 0;
    background-color: var(--text-color);
    color: #fff;
    text-align: center;
}
.contact .section-title {
    color: #fff;
}
.contact .section-title span {
    color: rgba(255,255,255,0.5);
}
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3.5rem 0 1.5rem;
}
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px; /* 角丸でやわらかく */
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #fff;
    border: none;
}

/* Instagram Button - 上品なグラデーション */
.btn-primary {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4);
    opacity: 0.9;
}

/* LINE Button - 分かりやすく上品なグリーン */
.btn-secondary {
    background-color: #06c755;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.2);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
    background-color: #05b54d;
}

.contact-sub-links {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.contact-sub-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-sub-links a:hover {
    color: #fff;
    text-decoration: underline;
}
.contact-sub-links .divider {
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

.contact-form-link a {
    color: rgba(255,255,255,0.6);
    text-decoration: underline;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.contact-form-link a:hover {
    color: #fff;
}

/* =========================================================
   Footer
========================================================= */
.footer {
    padding: 3rem 0;
    text-align: center;
    background-color: var(--text-color);
    color: rgba(255,255,255,0.4);
    font-family: sans-serif;
    letter-spacing: 0.1em;
}

/* =========================================================
   Animations
========================================================= */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.section-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ステップ項目を少しずらしてフェードインさせる場合の設定例 */
.how-to-play .steps .step:nth-child(1) { transition-delay: 0s; }
.how-to-play .steps .step:nth-child(2) { transition-delay: 0.2s; }
.how-to-play .steps .step:nth-child(3) { transition-delay: 0.4s; }

/* =========================================================
   Responsive Design
========================================================= */
@media (max-width: 768px) {
    .pc-only { display: none; }
    .sp-only { display: inline-block; }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    
    .hero {
        padding: 6rem 5% 4rem;
    }

    .about {
        padding: 6rem 0;
    }
    .about .lead {
        font-size: 1.2rem;
    }
    
    .game-lineup {
        padding: 6rem 0;
    }

    .story {
        padding: 6rem 0;
    }
    .story-inner {
        padding: 4rem 2rem;
    }
    .story-inner::before, .story-inner::after {
        width: 30px;
        height: 30px;
    }

    .navigator-profile {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }
    .navigator-info {
        text-align: center;
    }

    .message {
        padding: 4rem 0;
    }
    
    .contact {
        padding: 6rem 0;
    }
    .contact-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 0;
    }
}
