@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Zen+Maru+Gothic:wght@500;700&display=swap');

:root {
    --bg-color: #fcf9f5;
    --text-color: #332d27;
    --primary-color: #8b5a2b;
    /* 木の温かみ */
    --accent-green: #2ecc71;
    --accent-yellow: #f1c40f;
    --accent-blue: #3498db;
    --accent-red: #e74c3c;
    --card-bg: rgba(255, 255, 255, 0.8);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ヘッダー */
header {
    background: rgba(252, 249, 245, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ナビゲーションメニュー */
header nav {
    display: flex;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}


.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-dots {
    display: flex;
    gap: 6px;
}

.logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.logo-dot.green {
    background-color: var(--accent-green);
}

.logo-dot.yellow {
    background-color: var(--accent-yellow);
}

.logo-dot.blue {
    background-color: var(--accent-blue);
}

.logo-dot.red {
    background-color: var(--accent-red);
}


/* ヒーローセクション */
.hero {
    padding: 150px 5% 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, #f5efe6, var(--bg-color));
    min-height: 100vh;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 40px;
    color: #665c52;
}

.hero-image {
    max-width: 800px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* 特徴セクション */
.features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(139, 90, 43, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px-40px rgba(139, 90, 43, 0.15);
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 4ボタンのビジュアル */
.buttons-showcase {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
}

.btn-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 8px 0 #bbb;
    transition: all 0.1s;
    cursor: pointer;
}

.btn-green {
    background-color: var(--accent-green);
    box-shadow: 0 8px 0 #27ae60;
}

.btn-yellow {
    background-color: var(--accent-yellow);
    box-shadow: 0 8px 0 #f39c12;
}

.btn-blue {
    background-color: var(--accent-blue);
    box-shadow: 0 8px 0 #2980b9;
}

.btn-red {
    background-color: var(--accent-red);
    box-shadow: 0 8px 0 #c0392b;
}

.btn-circle:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 #888;
}

/* プレイスタイル */
.styles {
    background-color: #f5efe6;
    padding: 100px 5%;
}

.styles-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* 想い・レクリエーション */
.philosophy {
    padding: 120px 5%;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-color), #fff);
}

.philosophy-text {
    font-size: 1.5rem;
    color: #554a3d;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 2;
}

/* フッター */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .buttons-showcase {
        gap: 15px;
    }

    .btn-circle {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    header {
        flex-direction: column;
        gap: 10px;
        padding: 15px 5%;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* アニメーション用 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 声のフレーム（疑問の声セクション用） */
.voice-grid {
    margin-bottom: 40px;
}

.voice-frame {
    padding: 30px 20px;
    border-radius: 15px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 2px solid transparent;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.voice-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.frame-green {
    background-color: rgba(46, 204, 113, 0.08);
    border-color: var(--accent-green);
    color: #27ae60;
}

.frame-yellow {
    background-color: rgba(241, 196, 15, 0.08);
    border-color: var(--accent-yellow);
    color: #b78a00;
}

.frame-blue {
    background-color: rgba(52, 152, 219, 0.08);
    border-color: var(--accent-blue);
    color: #2980b9;
}

.frame-red {
    background-color: rgba(231, 76, 60, 0.08);
    border-color: var(--accent-red);
    color: #c0392b;
}


/* リンク・お問い合わせセクション */
.links-section {
    padding: 60px 5%;
    background-color: var(--bg-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.link-item {
    width: 100%;
    max-width: 600px;
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(139, 90, 43, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 90, 43, 0.1);
}

.link-label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    text-align: left;
}

.link-url {
    color: #3498db;
    text-decoration: none;
    word-break: break-all;
    font-weight: 700;
}

.link-url:hover {
    text-decoration: underline;
}

.contact-box {
    margin-top: 40px;
    padding: 40px;
    background: #f5efe6;
    border-radius: 25px;
    border: 2px dashed var(--primary-color);
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.contact-box p {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.2);
}

.contact-btn:hover {
    background-color: #724924;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 90, 43, 0.3);
    color: #fff;
}

/* バリエーションセクション */
.variation {
    padding: 60px 5%;
}

.variation-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.variation-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(139, 90, 43, 0.1);
    transition: var(--transition);
}

.variation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 90, 43, 0.1);
}

.variation-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.nagomicon_wood {
    width: 100%;
    max-width: 400px;
    /* 横400pxほど */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 使用シーンのカードスタイル */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.scene-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(139, 90, 43, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.scene-card:hover {
    transform: translateY(-8px);
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(139, 90, 43, 0.12);
}

.scene-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.scene-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.scene-card p {
    font-size: 1rem;
    color: #665c52;
    line-height: 1.6;
    margin: 0;
}

/* ゲームカード用の追加スタイル */
.card-image-wrap {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--primary-color);
    border-radius: 16px;
    padding: 15px;
    overflow: hidden;
}

.card-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.scene-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.game-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.2);
}

.game-link:hover {
    background-color: #724924;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 43, 0.3);
    color: #fff;
}