@charset "UTF-8";

/* ========================================================
   変数定義（女性向けエレガント・プレミアムダーク仕様）
======================================================== */
:root {
    /* 深みのあるプラム・ボルドー系の背景色 */
    --color-bg-dark: #1f141a;       
    --color-bg-panel: #2e1f26;      
    --color-text-main: #fdfafb;     
    --color-text-muted: #d9c5ce;    
    
    /* ローズピンク＆ピンクゴールド系のアクセンント */
    --color-accent: #e84a7d;        /* 上品で鮮やかなローズピンク */
    --color-accent-sub: #f4aabf;    /* 柔らかいピンクゴールド */
    
    --color-line: #06C755;
    --font-gothic: 'Noto Sans JP', sans-serif;
    --font-eng: 'Oswald', sans-serif;
}

/* ========================================================
   ベーススタイル
======================================================== */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-gothic);
    color: var(--color-text-main);
    background-color: var(--color-bg-dark);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}
h1, h2, h3, h4, strong { font-weight: 900; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2;
}
.text-center { text-align: center; }

/* ピンクゴールドのグラデーション＆グロウ */
.text-gradient {
    background: linear-gradient(90deg, var(--color-accent-sub), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-glow {
    color: var(--color-accent-sub);
    text-shadow: 0 0 15px rgba(232, 74, 125, 0.4);
}

.js-fadein, .js-fadein-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.js-fadein.is-active, .js-fadein-up.is-active {
    opacity: 1; transform: translateY(0);
}

.section { padding: 120px 0; position: relative; }
.section-desc { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 50px; }

.section-title {
    font-size: 2.8rem; line-height: 1.3; margin-bottom: 60px;
    position: relative; text-transform: uppercase;
}
.section-title::before {
    content: attr(data-en); position: absolute; top: -40px; left: -20px;
    font-family: var(--font-eng); font-size: 6rem; color: rgba(232, 74, 125, 0.05);
    z-index: -1; white-space: nowrap;
}
.section-title.text-center::before {
    left: 50%; transform: translateX(-50%);
}

/* ========================================================
   固定ヘッダー
======================================================== */
.global-header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(31, 20, 26, 0.85); backdrop-filter: blur(10px); z-index: 999;
    border-bottom: 1px solid rgba(232, 74, 125, 0.2); transition: all 0.3s ease; padding: 15px 0;
}
.global-header.is-scrolled {
    padding: 10px 0; background: rgba(31, 20, 26, 0.98); box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center;
}
.header-logo { font-family: var(--font-gothic); font-size: 1.4rem; color: #fff; font-weight: 900; letter-spacing: 0.05em; }
.logo-sub { font-size: 0.8rem; color: var(--color-accent-sub); margin-left: 10px; vertical-align: middle; }
.header-actions { display: flex; gap: 15px; }
.btn-header-contact {
    display: inline-block; background: var(--color-accent); color: #fff; padding: 8px 20px; font-size: 0.9rem; font-weight: 700; border-radius: 50px; box-shadow: 0 0 10px rgba(232, 74, 125, 0.3); transition: all 0.3s;
}
.btn-header-contact:hover { background: var(--color-accent-sub); box-shadow: 0 0 15px rgba(232, 74, 125, 0.6); color: #1f141a; }

/* ========================================================
   ヒーローセクション
======================================================== */
.hero {
    position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 60px;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* 家族や温かみのある画像を推奨 */
    background-image: url('../images/sv57.jpg');
    background-size: cover; background-position: center; filter: grayscale(20%);
    transform: scale(1.1); transition: transform 10s ease-out;
}
.hero-bg.is-active { transform: scale(1); }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(31,20,26,0.9) 0%, rgba(46,31,38,0.7) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; padding: 0 20px; }
.hero-sub .highlight-bg { background-color: var(--color-accent); color: #fff; padding: 5px 15px; font-size: 1.1rem; font-weight: 900; display: inline-block; margin-bottom: 20px; border-radius: 4px; }

/* メインコピー強調 */
.hero-title {
    margin-bottom: 30px; letter-spacing: 0.05em; line-height: 1.2;
}
.title-small {
    font-size: 3rem; color: #fff; text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.title-large {
    display: inline-block; font-size: 5.5rem; font-weight: 900; margin-top: 5px; padding: 10px 0;
    background: linear-gradient(90deg, #fff 0%, var(--color-accent-sub) 40%, var(--color-accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: textNeonPulse 2s infinite alternate;
}
@keyframes textNeonPulse {
    0% { filter: drop-shadow(0 0 10px rgba(232, 74, 125, 0.3)); transform: scale(1); }
    100% { filter: drop-shadow(0 0 20px rgba(244, 170, 191, 0.6)); transform: scale(1.03); }
}

.hero-lead { font-size: 1.2rem; color: #fdfafb; margin-bottom: 50px; font-weight: 700; line-height: 1.8; }
.btn-mega {
    display: inline-block; background: linear-gradient(45deg, var(--color-accent), var(--color-accent-sub)); color: #fff; font-size: 1.3rem; font-weight: 900; padding: 20px 60px; border-radius: 50px; box-shadow: 0 10px 30px rgba(232, 74, 125, 0.3); transition: all 0.3s ease; cursor: pointer;
}
.btn-mega:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(232, 74, 125, 0.5); color: #1f141a; }

/* ========================================================
   リスク・コンセプトセクション
======================================================== */
.concept-section { background-color: var(--color-bg-dark); position: relative; }
.concept-box {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.1); padding: 60px; border-radius: 20px; font-size: 1.2rem; backdrop-filter: blur(10px);
}
.concept-box .strong-text { font-size: 1.8rem; font-weight: 900; color: var(--color-accent-sub); text-align: center; margin: 40px 0; }

/* ========================================================
   お約束（メリット）
======================================================== */
.merits-section { background-color: var(--color-bg-panel); }
.merit-list { display: flex; flex-direction: column; gap: 60px; margin-top: 60px; }
.merit-row {
    display: flex; align-items: center; gap: 50px;
    background: rgba(255,255,255,0.03); border-radius: 20px; padding: 40px; border: 1px solid rgba(255,255,255,0.08);
}
.merit-row.reverse { flex-direction: row-reverse; }
.merit-img {
    flex: 1; position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.merit-img img {
    width: 100%; height: 350px; object-fit: cover; filter: brightness(0.9); transition: filter 0.5s;
}
.merit-row:hover .merit-img img { filter: brightness(1.1); transform: scale(1.03); }
.merit-num {
    position: absolute; bottom: -10px; right: 10px;
    font-family: var(--font-eng); font-size: 8rem; line-height: 1; font-weight: 900;
    color: rgba(244, 170, 191, 0.15); text-shadow: 1px 1px 0px rgba(0,0,0,0.3);
}
.merit-row.reverse .merit-num { right: auto; left: 10px; }
.merit-text { flex: 1; }
.merit-text h3 { font-size: 1.8rem; margin-bottom: 20px; line-height: 1.5; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.merit-text p { font-size: 1.1rem; color: var(--color-text-muted); }

/* ========================================================
   フロー（タイムライン）
======================================================== */
.flow-section { background-color: var(--color-bg-dark); }
.flow-timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 50px; }
.flow-timeline::before { content: ''; position: absolute; top: 0; left: 15px; width: 2px; height: 100%; background: rgba(255,255,255,0.1); }
.flow-step { position: relative; margin-bottom: 50px; background: var(--color-bg-panel); padding: 40px; border-radius: 15px; border-left: 4px solid var(--color-accent); }
.flow-step::before {
    content: ''; position: absolute; top: 45px; left: -42px; width: 14px; height: 14px;
    background: var(--color-accent); border-radius: 50%; box-shadow: 0 0 10px var(--color-accent-sub);
}
.step-badge {
    display: inline-block; background: var(--color-accent-sub); color: var(--color-bg-dark); font-family: var(--font-gothic);
    font-size: 0.9rem; padding: 5px 15px; border-radius: 50px; margin-bottom: 15px; font-weight: 900;
}
.step-content h3 { font-size: 1.4rem; margin-bottom: 15px; color: #fff; }
.step-content p { color: var(--color-text-muted); }

/* ========================================================
   お問合せフォーム用
======================================================== */
.contact-section { background-color: var(--color-bg-panel); overflow: hidden; }
.contact-bg-effect {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(232, 74, 125, 0.08) 0%, transparent 70%); z-index: 0; pointer-events: none;
}
.form-wrapper {
    max-width: 800px; margin: 0 auto; background: var(--color-bg-dark); padding: 50px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 2; box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.form-group { margin-bottom: 30px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; color: #fdfafb; }
.form-group .required { background: var(--color-accent); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 3px; margin-left: 10px; vertical-align: middle; }
.custom-form input[type="text"], .custom-form input[type="email"], .custom-form input[type="tel"], .custom-form select, .custom-form textarea {
    display: block; width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 15px; border-radius: 8px; font-size: 1rem; font-family: inherit; transition: all 0.3s;
}
.custom-form input:focus, .custom-form select:focus, .custom-form textarea:focus {
    outline: none; border-color: var(--color-accent-sub); box-shadow: 0 0 10px rgba(244, 170, 191, 0.2); background: rgba(255,255,255,0.08);
}
.form-submit { margin-top: 40px; }

/* 右下ボタン・モーダル等の流用スタイル */
.floating-actions.right-align { position: fixed; bottom: 30px; right: 30px; left: auto; z-index: 1000; display: flex; flex-direction: column; gap: 15px; }
.float-btn { width: 80px; height: 80px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.4); transition: transform 0.3s; border: 2px solid #fff; text-decoration: none; }
.float-btn:hover { transform: scale(1.1) translateX(-5px); }
.float-mail { background: linear-gradient(135deg, var(--color-accent-sub), var(--color-accent)); }
.float-line { background: linear-gradient(135deg, #00c300, #009900); }
.float-btn .icon { font-family: var(--font-eng); font-size: 1.4rem; font-weight: 900; color: #1f141a; line-height: 1; margin-bottom: 2px; }
.float-line .icon { color: #fff; }
.float-btn .text { font-size: 0.8rem; font-weight: 900; color: #1f141a; line-height: 1.2; }
.float-line .text { color: #fff; }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(31,20,26,0.9); z-index: 1001; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(5px); }
.modal.is-show { display: flex; opacity: 1; }
.modal-content { background-color: var(--color-bg-panel); padding: 60px 40px; border-radius: 20px; text-align: center; position: relative; max-width: 500px; width: 90%; border: 1px solid rgba(255,255,255,0.1); transform: translateY(30px) scale(0.95); transition: all 0.4s; }
.modal.is-show .modal-content { transform: translateY(0) scale(1); }
.close-btn { position: absolute; top: 15px; right: 25px; font-size: 2.5rem; cursor: pointer; color: #888; line-height: 1; }
.close-btn:hover { color: #fff; }

@media screen and (max-width: 768px) {
    .title-small { font-size: 1.8rem; }
    .title-large { font-size: 3.5rem; margin-top: 5px; }
    .section-title { font-size: 2rem; }
    .section-title::before { font-size: 3.5rem; top: -20px; }
    .merit-row, .merit-row.reverse { flex-direction: column; gap: 20px; padding: 25px; }
    .merit-img img { height: 200px; }
    .merit-num { font-size: 4rem; bottom: -5px; }
    .flow-timeline { padding-left: 30px; }
    .flow-timeline::before { left: 5px; }
    .flow-step::before { left: -32px; width: 12px; height: 12px; top: 25px; }
    .flow-step { padding: 25px 20px; }
    .floating-actions.right-align { bottom: 20px; right: 15px; gap: 10px; }
    .float-btn { width: 65px; height: 65px; }
    .float-btn .icon { font-size: 1.1rem; }
    .float-btn .text { font-size: 0.65rem; }
}

/* ========================================================
   カラーテーマ切り替え用クラス（後で削除可能）
======================================================== */
html.theme-plum {
    --color-bg-dark: #1f141a;
    --color-bg-panel: #2e1f26;
    --color-text-main: #fdfafb;
    --color-text-muted: #d9c5ce;
    --color-accent: #e84a7d;
    --color-accent-sub: #f4aabf;
}

html.theme-neon {
    --color-bg-dark: #0a0a0a;
    --color-bg-panel: #161616;
    --color-text-main: #f0f0f0;
    --color-text-muted: #a0a0a0;
    --color-accent: #ff007f;
    --color-accent-sub: #ff66b2;
}

html.theme-gold {
    --color-bg-dark: #0f172a;
    --color-bg-panel: #1e293b;
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-accent: #d4af37;
    --color-accent-sub: #fef08a;
}

html.theme-emerald {
    --color-bg-dark: #1c1917;
    --color-bg-panel: #292524;
    --color-text-main: #fafaf9;
    --color-text-muted: #a8a29e;
    --color-accent: #10b981;
    --color-accent-sub: #6ee7b7;
}


/* ========================================================
   カラーテーマ切り替え用クラス（後で削除可能）
======================================================== */

/* ▼▼▼ ダークテーマ群 ▼▼▼ */
html.theme-plum { /* プラム×ローズ（デフォルト） */
    --color-bg-dark: #1f141a; --color-bg-panel: #2e1f26; --color-text-main: #fdfafb; --color-text-muted: #d9c5ce; --color-accent: #e84a7d; --color-accent-sub: #f4aabf;
}
html.theme-neon { /* 漆黒×ネオンピンク */
    --color-bg-dark: #0a0a0a; --color-bg-panel: #161616; --color-text-main: #f0f0f0; --color-text-muted: #a0a0a0; --color-accent: #ff007f; --color-accent-sub: #ff66b2;
}
html.theme-gold { /* ネイビー×ゴールド */
    --color-bg-dark: #0f172a; --color-bg-panel: #1e293b; --color-text-main: #f8fafc; --color-text-muted: #94a3b8; --color-accent: #d4af37; --color-accent-sub: #fef08a;
}
html.theme-emerald { /* チャコール×エメラルド */
    --color-bg-dark: #1c1917; --color-bg-panel: #292524; --color-text-main: #fafaf9; --color-text-muted: #a8a29e; --color-accent: #10b981; --color-accent-sub: #6ee7b7;
}

/* ▼▼▼ ライトテーマ群（背景白） ▼▼▼ */
html[class*="theme-light"] {
    --color-bg-dark: #f9fafb;     /* 全体の背景：白に近いグレー */
    --color-bg-panel: #ffffff;    /* パネルの背景：純白 */
    --color-text-main: #1f2937;   /* メインテキスト：濃いグレー */
    --color-text-muted: #6b7280;  /* サブテキスト：グレー */
}
html.theme-light-pink { --color-accent: #e11d48; --color-accent-sub: #fb7185; }
html.theme-light-blue { --color-accent: #2563eb; --color-accent-sub: #60a5fa; }
html.theme-light-green{ --color-accent: #059669; --color-accent-sub: #34d399; }

/* ーー ライトテーマ適用時の自動デザイン補正 ーー */
html[class*="theme-light"] .global-header { background: rgba(255,255,255,0.95); border-bottom: 1px solid #e5e7eb; }
html[class*="theme-light"] .header-logo { color: #111827; }
html[class*="theme-light"] .hero-overlay { background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(243,244,246,0.6) 100%); }
html[class*="theme-light"] .title-small { color: #111827; text-shadow: none; }
html[class*="theme-light"] .title-large {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-sub) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: none; /* ライトテーマではネオン発光をOFF */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
html[class*="theme-light"] .hero-lead { color: #374151; }
/* 各種パネルや線の色を白背景用に変更 */
html[class*="theme-light"] .concept-box, 
html[class*="theme-light"] .merit-row, 
html[class*="theme-light"] .flow-step, 
html[class*="theme-light"] .voice-card, 
html[class*="theme-light"] .form-wrapper {
    background: #ffffff; border: 1px solid #e5e7eb; box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
html[class*="theme-light"] .merit-num { color: rgba(0,0,0,0.04); text-shadow: none; }
html[class*="theme-light"] .text-glow { color: var(--color-accent); text-shadow: none; }
html[class*="theme-light"] .voice-name, 
html[class*="theme-light"] .voice-catch { color: #111827; text-shadow: none; }
html[class*="theme-light"] .section-title::before { color: rgba(0,0,0,0.03); }
html[class*="theme-light"] .step-content h3 { color: var(--color-accent); }
html[class*="theme-light"] .flow-timeline::before { background: #e5e7eb; }
/* フォームの文字と背景 */
html[class*="theme-light"] .form-group label { color: #374151; }
html[class*="theme-light"] .custom-form input, 
html[class*="theme-light"] .custom-form select, 
html[class*="theme-light"] .custom-form textarea {
    background: #fdfdfd; border: 1px solid #d1d5db; color: #111827;
}
html[class*="theme-light"] .custom-form input:focus, 
html[class*="theme-light"] .custom-form textarea:focus {
    background: #fff; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(var(--color-accent), 0.2);
}
/* フッター（JS内）の補正 */
html[class*="theme-light"] .custom-footer { background: #f9fafb; border-top: 1px solid #e5e7eb; }
html[class*="theme-light"] .cf-heading, html[class*="theme-light"] .cf-title { color: #111827; }
html[class*="theme-light"] .cf-desc, html[class*="theme-light"] .cf-copyright { color: #6b7280; border-color: #e5e7eb; }