/* ================================ */
/* 0. 基本設定 & 変数定義 */
/* ================================ */
@import url("https://fonts.googleapis.com/css2?family=Rounded+Mplus+1c:wght@700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

:root {
    /* メインパレット */
    --primary-color: #ff69b4;
    --accent-color: #fff9c4;
    --text-color: #3d3d3d;
    --light-text-color: #777777;
    --background-light: #fcfcfc;
    --background-dark: #ffffff;
    --border-color: #eaeaea;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);

    /* VTuberテーマカラー */
    --talent-color-kokono: #ffd700;
    --talent-color-rirumu: #50c878;
    --talent-color-rito: #c3b1e1;
    --talent-color-cs-black: #000000;
    --talent-color-cs-red: #c40d00;
    --talent-color-cs-aijiro: #c8deff;
    --talent-color-cs-spink: #ff84a7;

    /* サイズ変数 */
    --talent-logo-height-pc: 200px; 
    --talent-logo-height-sp: 120px;
}

/* 全体的なリセット */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll; 
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text-color);
    background-color: var(--background-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 見出しのフォント設定 */
h1, h2, h3, h4, h5, h6 {
    font-family: "Rounded Mplus 1c", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff8ac7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================ */
/* 1. ヘッダー */
/* ================================ */
.main-header {
    background-color: var(--background-dark); 
    box-shadow: 0 2px 10px var(--shadow-medium);
    padding: 8px 0;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; 
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 25px;
    width: auto;
}

.main-nav .nav-links {
    display: flex;
    gap: 25px;
}

.main-nav .nav-links a {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
}

.main-nav .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.is-active::after {
    width: 100%;
}

.main-nav .nav-links a.is-active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1100;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background-color: var(--text-color);
    margin-bottom: 6px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ================================ */
/* 2. 共通コンポーネント (ボタン・余白) */
/* ================================ */
.section-padding {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--primary-color), #ffa9d3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-jp-text {
    font-size: 1.2rem;
    color: #aaa;
    display: block;
}

/* --- ボタン設定をすべて「Special Thanks」の挙動（secondary）に統一 --- */
.cta-button, .button-more, .view-more {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease; 
    cursor: pointer;
    text-decoration: none;
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    color: var(--text-color) !important;
}

.cta-button:hover, .button-more:hover, .view-more:hover {
    background-color: var(--primary-color);
    color: #fff !important;
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(255, 105, 180, 0.3);
}

/* 以前使用していたクラスも継承するように設定 */
.cta-button.primary, .cta-button.secondary {
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    color: var(--text-color) !important;
}

/* ================================ */
/* 3. フッター */
/* ================================ */
.main-footer {
    background-color: var(--background-dark);
    color: var(--text-color);
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    max-height: 80px; 
    width: auto;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}

.footer-nav a {
    color: var(--text-color);
    font-size: 0.85rem;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 15px;
}

/* ================================ */
/* 4. レスポンシブ共通 (ヘッダー) */
/* ================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding-top: 80px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}