/* =============================================== */
/* サイト全体の共通スタイル                          */
/* =============================================== */

/* --- 初期設定と変数 --- */
:root {
    --primary-color: #3d8bfd;
    --secondary-color: #ff8a00;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white-color: #fff;
    --text-color: #555;
    --font-family: 'Helvetica Neue', Arial, 'Hirino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-family); line-height: 1.7; color: var(--text-color); background-color: var(--white-color); }
h1, h2, h3 { color: var(--dark-color); line-height: 1.3; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
a { text-decoration: none; color: var(--primary-color); }
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- ヘッダー --- */
.header { background-color: var(--white-color); box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.header-logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: bold; color: var(--dark-color); }
.header-logo img { height: 40px; }
.header-logo .site-name { font-size: 1.5rem; font-weight: bold; color: var(--dark-color); }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.nav-menu li { margin-left: 20px; }
.nav-menu a { color: var(--dark-color); font-weight: bold; transition: color 0.3s ease; }
.nav-menu a:hover { color: var(--primary-color); }
.nav-toggle { display: none; }

/* --- ヒーローセクション --- */
.hero { color: var(--white-color); display: flex; justify-content: center; align-items: center; text-align: center; padding: 20px; }
.hero h1 { color: var(--white-color); margin-bottom: 0.5em; }
.main-hero { min-height: 70vh; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-main.jpg') no-repeat center center/cover; }

/* --- 汎用クラス --- */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.page-header { background-color: var(--light-color); text-align: center; padding: 40px 20px; }
.page-header h1 { margin-bottom: 0.2em; }
.bg-light { background-color: var(--light-color); }
.btn { display: inline-block; padding: 12px 28px; background-color: var(--primary-color); color: var(--white-color); border-radius: 5px; font-weight: bold; transition: all 0.3s ease; }
.btn:hover { opacity: 0.8; transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-large { padding: 15px 40px; font-size: 1.2rem; }
.text-center { text-align: center; }
.bold-text { font-weight: bold; font-size: 1.2em; }

/* --- LP誘導セクション --- */
.cta-section { background: linear-gradient(45deg, var(--primary-color), #5f4aff); color: var(--white-color); text-align: center; }
.cta-section h2 { color: var(--white-color); }
.cta-section .btn { background-color: var(--secondary-color); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.cta-section-alt { background: var(--secondary-color); color: var(--white-color); text-align: center; }
.cta-section-alt h2 { color: var(--white-color); }
.cta-section-alt .btn { background-color: var(--primary-color); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

/* --- フッター --- */
.footer { background-color: var(--dark-color); color: var(--light-color); text-align: center; padding: 20px 0; }


/* =============================================== */
/* ▼▼▼ 各ページの専用スタイル ▼▼▼                */
/* =============================================== */

/* --- Aboutページ --- */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: flex-start; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.about-content h2 { margin-top: 0; }
.about-content h3 { color: var(--text-color); margin-top: -15px; margin-bottom: 30px; font-weight: normal; }
.about-content h4 { margin-top: 40px; }
.about-content ul { list-style: none; padding-left: 0; }
.about-content ul li { padding-left: 1.5em; position: relative; margin-bottom: 10px; }
.about-content ul li::before { content: '✔'; position: absolute; left: 0; color: var(--primary-color); }
.about-cta { margin-top: 40px; display: flex; gap: 15px; }

/* --- Contactページ --- */
.form-container { max-width: 700px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; font-family: var(--font-family); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 5px rgba(61, 139, 253, 0.5); }
.form-group button { width: 100%; border: none; cursor: pointer; }
.contact-sns { margin-top: 60px; text-align: center; border-top: 1px solid #eee; padding-top: 40px; }

/* --- Worksページ --- */
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.work-card { background-color: var(--white-color); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.work-card:hover { transform: translateY(-5px); }
.work-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.work-content { padding: 20px; }
.work-content h3 { margin-top: 0; font-size: 1.3rem; }
.work-content p { margin-bottom: 20px; }
.works-category { margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid #eee; }
.works-category:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.works-category-title { font-size: 2rem; margin-bottom: 15px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }
.works-description { margin-bottom: 30px; color: var(--text-color); }
.video-container { position: relative; width: 100%; padding-top: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.thumbnail-gallery { display: flex; overflow-x: auto; flex-wrap: nowrap; gap: 20px; padding: 10px 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #ccc #f1f1f1; }
.thumbnail-gallery::-webkit-scrollbar { height: 8px; }
.thumbnail-gallery::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.thumbnail-gallery::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.thumbnail-gallery::-webkit-scrollbar-thumb:hover { background: #aaa; }
.thumbnail-gallery img { width: 280px; height: 157px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); scroll-snap-align: start; flex-shrink: 0; }

/* --- Blogページ --- */
.loading-text { text-align: center; color: #888; padding: 40px 0; }
.article-card { display: flex; background-color: #fff; border: 1px solid #eee; border-radius: 8px; margin-bottom: 25px; text-decoration: none; color: inherit; overflow: hidden; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.article-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.1); transform: translateY(-5px); }
.article-thumbnail { width: 200px; height: auto; object-fit: cover; flex-shrink: 0; }
.article-content { padding: 20px 25px; }
.article-date { font-size: 0.9em; color: #888; margin: 0 0 10px; }
.article-title { font-size: 1.3em; margin: 0 0 10px; color: #333; }
.article-description { font-size: 0.9em; line-height: 1.7; color: #666; margin: 0; }

/* --- FunkLoveページ (ファンクラブ誘導) --- */
.cta-fanclub { background-color: #f9f8f6; padding: 60px 0; text-align: center; border-top: 1px solid #eee; }
.cta-fanclub h2 { font-size: 1.8rem; margin-top: 0; margin-bottom: 15px; color: #333; }
.cta-fanclub p { margin-top: 0; margin-bottom: 30px; color: #666; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-fanclub .btn { background-color: #41c9b4; color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.cta-fanclub .btn:hover { background-color: #38b2a0; opacity: 1; }

/* --- Vtuber向けLP --- */
.lp-header .nav-menu { display: block; }
.lp-header .nav-toggle { display: none; }
.lp-header .btn { background-color: var(--secondary-color); }
.lp-hero { min-height: 80vh; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-lp.jpg') no-repeat center center/cover; }
.problem-list { list-style: none; padding-left: 0; text-align: left; display: inline-block; margin-top: 40px; margin-bottom: 20px; }
.problem-list li { background: #f3f3f3; padding: 10px 15px 10px 40px; border-radius: 8px; margin-bottom: 10px; position: relative; }
.problem-list li::before { content: '✔'; position: absolute; left: 15px; color: var(--primary-color); font-weight: bold; }
.pricing-card { background: var(--white-color); padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); margin-bottom: 40px; text-align: left; }
.pricing-card h3 { margin-top: 0; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; margin-bottom: 20px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.plan-grid.two-cols { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.plan-item { background: var(--light-color); padding: 15px; border-radius: 5px; text-align: center; }
.plan-item h4 { margin: 0 0 10px; font-size: 1rem; }
.plan-item p { margin: 0; font-size: 1.2rem; font-weight: bold; color: var(--dark-color); text-align: center; }
.plan-item p small { display: block; font-size: 0.8rem; font-weight: normal; color: var(--text-color); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.package-card { background: var(--white-color); padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); text-align: center; border-top: 5px solid var(--primary-color); position: relative; }
.package-card.recommend { border-top-color: var(--secondary-color); transform: scale(1.05); }
.package-tag { position: absolute; top: 15px; left: -10px; background-color: var(--primary-color); color: var(--white-color); padding: 5px 15px; font-size: 0.9rem; font-weight: bold; border-radius: 3px; }
.package-card.recommend .package-tag { background-color: var(--secondary-color); }
.package-price { font-size: 2.5rem; font-weight: bold; color: var(--dark-color); margin: 20px 0 0; }
.package-price small { font-size: 1rem; }
.package-discount { color: var(--text-color); margin-top: -10px; margin-bottom: 20px; }
.package-card ul { list-style: none; padding: 0; margin-top: 20px; text-align: left; display: inline-block; }
.package-card ul li { padding-left: 1.5em; position: relative; margin-bottom: 10px; }
.package-card ul li::before { content: '✔'; position: absolute; left: 0; color: var(--primary-color); }

/* --- ボイトレLP --- */
.boitore-hero { min-height: 80vh; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-boitore.jpg') no-repeat center center/cover; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.problem-card { background: var(--light-color); padding: 20px 30px; border-radius: 8px; }
.problem-card h3 { border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; }
.problem-card ul { padding-left: 20px; }
.boitore-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: stretch; }
.boitore-pricing-card { background: var(--white-color); border: 1px solid #eee; padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: center; display: flex; flex-direction: column; }
.boitore-pricing-card.recommend { border-color: var(--secondary-color); transform: scale(1.05); }
.boitore-pricing-card .price { font-size: 2.8rem; font-weight: bold; color: var(--dark-color); margin: 10px 0 0; }
.boitore-pricing-card .price small { font-size: 1.2rem; }
.boitore-pricing-card .duration { font-size: 1.1rem; font-weight: bold; color: var(--primary-color); margin-top: -10px; margin-bottom: 20px; }
.boitore-pricing-card p { text-align: center; flex-grow: 1; }
.boitore-pricing-card .btn { margin-top: 20px; }
.studio-fee-note { text-align: center; margin-top: 40px; padding: 20px; background: var(--light-color); border-radius: 8px;}


/* =============================================== */
/* ▼▼▼ ファンクラブページ専用スタイル ▼▼▼        */
/* =============================================== */

.page-fanclub-dark { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; line-height: 1.8; }
.page-fanclub-dark .fanclub-page { max-width: 800px; margin: 0 auto; padding: 20px; }
.page-fanclub-dark h2 { font-size: 1.2em; color: #a39e93; }
.page-fanclub-dark .section-subtitle { text-align: center; color: #888; margin-top: -5px; margin-bottom: 50px; line-height: 1.7; }
.page-fanclub-dark .fc-header { text-align: center; padding: 40px 0; }
.page-fanclub-dark .welcome-text { color: #b9b5ad; letter-spacing: 2px; font-size: 0.9em; }
.page-fanclub-dark .header-message-box { max-width: 600px; margin: 0 auto; padding: 25px; text-align: left; font-size: 0.95em; }
.page-fanclub-dark .fc-experience { padding: 60px 0; }
.page-fanclub-dark .experience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.page-fanclub-dark .experience-card { padding: 30px; }
.page-fanclub-dark .card-icon { font-size: 2em; margin-bottom: 15px; }
.page-fanclub-dark .experience-card h3 { font-size: 1.2em; margin-bottom: 10px; }
.page-fanclub-dark .fc-join { padding: 60px 0; }
.page-fanclub-dark .plan-cards-container { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: 30px; }
.page-fanclub-dark .plan-card { padding: 30px; width: 280px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
.page-fanclub-dark .plan-price { font-size: 2.2em; margin: 15px 0; }
.page-fanclub-dark .plan-price span { font-size: 0.5em; font-weight: normal; }
.page-fanclub-dark .join-button { display: block; padding: 15px 20px; margin-top: 20px; border-radius: 50px; text-decoration: none; transition: all 0.3s ease; }
body.page-fanclub-dark { background-color: #2c2c2c; color: #dcdcdc; }
.page-fanclub-dark .header { background-color: transparent; box-shadow: none; border-bottom: 1px solid #555; }
.page-fanclub-dark .header .nav-menu a, .page-fanclub-dark .header .header-logo, .page-fanclub-dark .header .site-name { color: #ffffff; }
.page-fanclub-dark .header .nav-menu a:hover { color: #cccccc; }
.page-fanclub-dark .header .nav-toggle span { background-color: #ffffff; }
.page-fanclub-dark .fc-header h1, .page-fanclub-dark .experience-card h3, .page-fanclub-dark .plan-name { color: #f0f0f0; }
.page-fanclub-dark .header-message-box, .page-fanclub-dark .experience-card, .page-fanclub-dark .plan-card { background-color: #3a3a3a; border: 1px solid #555; }
.page-fanclub-dark .welcome-text, .page-fanclub-dark .section-subtitle { color: #888; }
.page-fanclub-dark .experience-card p, .page-fanclub-dark .plan-price span { color: #bbb; }
.page-fanclub-dark .plan-price { color: #41c9b4; }
.page-fanclub-dark .join-button { background-color: #41c9b4; color: #fff; font-weight: bold; }
.page-fanclub-dark .join-button:hover { background-color: #38b2a0; transform: translateY(-2px); }
.page-fanclub-dark .join-note { color: #aaa; }


/* =============================================== */
/* レスポンシブ (モバイル表示)                     */
/* =============================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; } h2 { font-size: 1.8rem; }
    .nav-menu { position: fixed; top: 70px; right: -100%; width: 100%; height: calc(100vh - 70px); flex-direction: column; align-items: center; padding-top: 40px; background-color: var(--white-color); transition: right 0.3s ease-in-out; }
    .nav-menu.active { right: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-menu li { margin: 20px 0; }
    .nav-toggle { display: block; background: none; border: none; cursor: pointer; padding: 0; width: 30px; height: 22px; position: relative; z-index: 101;}
    .nav-toggle span { display: block; width: 100%; height: 3px; background-color: var(--dark-color); position: absolute; left: 0; transition: all 0.3s ease; }
    .nav-toggle span:nth-child(1) { top: 0; }
    .nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .nav-toggle span:nth-child(3) { bottom: 0; }
    .profile-snippet { flex-direction: column; text-align: center; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { text-align: center; margin-bottom: 30px; }
    .about-image img { max-width: 300px; }
    .article-card { flex-direction: column; }
    .article-thumbnail { width: 100%; height: 180px; }
    .problem-grid { grid-template-columns: 1fr; }
    .boitore-pricing-card.recommend { transform: scale(1); }
    .card-grid { grid-template-columns: 1fr; }
}