@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;700&family=Jost:wght@300;400;600;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

:root {
    --bg-light: #FAFAFA;
    --text-main: #1A1A1A;
    --text-light: #888888;
    --text-inverse: #FFFFFF;
    --accent: #E63946;
}

body, html {
    margin: 0; padding: 0;
    font-family: 'Noto Serif JP', serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.bg-typography-wrapper { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding-top: 72px; }
.bg-word { display: block; font-family: 'Jost', 'Arial Black', sans-serif; font-weight: 900; line-height: 0.82; letter-spacing: -0.03em; white-space: nowrap; margin: 0; padding: 0; margin-left: -0.3vw; user-select: none; background: linear-gradient(135deg, #405de6 0%, #5851db 20%, #833ab4 45%, #c13584 70%, #e1306c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.sp-cta-btn { display: none; }
.logo-platform { font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 0.12em; color: var(--text-light); border-left: 1px solid rgba(0,0,0,0.12); padding-left: 10px; margin-left: 2px; }

.header { padding: 25px 5vw; display: flex; justify-content: space-between; align-items: center; position: fixed; top: 0; left: 0; width: 100%; box-sizing: border-box; z-index: 1000; background: rgba(250, 250, 250, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo { font-family: 'Jost', sans-serif; font-size: 18px; font-weight: 600; color: var(--text-main); text-decoration: none; }
.version-badge { font-family: 'Jost'; font-size: 10px; color: var(--text-light); background: rgba(0,0,0,0.04); padding: 3px 8px; border-radius: 4px; }

.menu-trigger { display: none; width: 30px; height: 20px; position: relative; cursor: pointer; z-index: 1100; }
.menu-trigger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text-main); transition: 0.3s; }
.menu-trigger span:nth-child(1) { top: 0; }
.menu-trigger span:nth-child(2) { top: 9px; }
.menu-trigger span:nth-child(3) { bottom: 0; }

.header-sns { display: flex; gap: 18px; }
.header-sns a { color: var(--text-main); font-size: 16px; transition: 0.3s; }
.header-sns a:hover { color: var(--accent); transform: translateY(-2px); }

.sp-x-icon { display: none; }

.drawer-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1050; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.drawer-menu.is-active { transform: translateY(0); }
.drawer-close { position: absolute; top: 25px; right: 5vw; font-size: 30px; color: var(--text-main); cursor: pointer; }
.drawer-nav { text-align: center; }
.drawer-nav a { display: block; font-family: 'Jost', sans-serif; font-size: 28px; font-weight: 600; color: var(--text-main); text-decoration: none; margin: 25px 0; letter-spacing: 0.1em; }
.drawer-sns { position: absolute; bottom: 50px; display: flex; gap: 20px; }
.drawer-sns a { font-size: 20px; color: var(--text-main); transition: 0.3s; }

.main-wrapper { position: relative; z-index: 10; }
.hero { display: flex; align-items: flex-start; padding: 120px 5vw 80px; box-sizing: border-box; gap: 5vw; position: relative; z-index: 10; }
.fade-in { animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
.hero-text { flex: 1; position: relative; padding-top: 5vh; }
.hero-text h1 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.3; margin: 0 0 30px; font-weight: 700; }
.hero-text p { font-size: 15px; line-height: 2.2; color: var(--text-light); }
.text-block { display: inline-block; }
.hero-box { flex: 1.2; background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&q=80&w=1200'); background-size: cover; background-attachment: fixed; box-shadow: 0 30px 80px rgba(0,0,0,0.12); border-radius: 8px; overflow: hidden; }
.hero-box-overlay { background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 40px 35px; color: var(--text-inverse); box-sizing: border-box; }

.slider-container { width: 100%; overflow: hidden; }
.slider-wrapper { display: flex; width: 200%; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); flex-wrap: nowrap; }
.slide-panel { width: 50%; flex-shrink: 0; padding-right: 20px; box-sizing: border-box; }
.form-header { margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 15px; }
.form-title { font-size: 20px; font-weight: 400; margin: 0 0 5px; letter-spacing: 0.05em; }
.q-block { margin-bottom: 25px; }
.q-meta { font-family: 'Jost'; font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; display: block; margin-bottom: 4px; }
.q-block h2 { font-size: 15px; font-weight: 400; line-height: 1.5; margin: 0; }
.text-small-muted { font-size: 11px; color: rgba(255,255,255,0.3); display: block; margin-bottom: 3px; }
.text-highlight { color: var(--text-inverse); font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.5); }
.opt-group { display: flex; flex-direction: row; gap: 30px; margin-top: 10px; }
.opt-group input { display: none; }
.opt-label { cursor: pointer; font-size: 13px; color: rgba(255,255,255,0.4); transition: 0.3s; padding-left: 0; display: flex; align-items: center; }
.opt-group input:checked + .opt-label { color: var(--text-inverse); font-weight: 700; padding-left: 25px; position: relative; }
.opt-group input:checked + .opt-label::before { content: ''; position: absolute; left: 0; top: 50%; width: 15px; height: 1px; background: var(--accent); }
.action-area { display: flex; justify-content: flex-end; margin-top: 30px; }
.submit-btn { background: transparent; border: none; color: var(--text-inverse); font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; font-family: inherit; padding: 0; }
.submit-btn:hover { color: var(--accent); transform: translateX(8px); }

.result-view { text-align: center; position: relative; padding: 30px 10px 10px; }
.result-header { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 0.4em; margin-bottom: 30px; color: rgba(255,255,255,0.4); }
.result-score { display: flex; justify-content: center; align-items: flex-start; line-height: 1; margin-bottom: 40px; }
.score-huge { font-family: 'Jost', sans-serif; font-size: clamp(100px, 12vw, 150px); font-weight: 300; letter-spacing: -0.02em; transition: 0.5s; display: inline-block; transform-origin: center center; }
.score-percent-huge { font-family: 'Jost', sans-serif; font-size: clamp(30px, 4vw, 50px); font-weight: 300; margin-left: 5px; opacity: 0.5; color: #FFF; }

@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
@keyframes pulse-ring { 0% { transform: scale(0.85); opacity: 0.7; } 70% { transform: scale(1.35); opacity: 0; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes pulse-ring2 { 0% { transform: scale(0.85); opacity: 0.5; } 70% { transform: scale(1.55); opacity: 0; } 100% { transform: scale(1.55); opacity: 0; } }

.pulse-container { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.pulse-ring { position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 2px solid rgba(139, 0, 0, 0.7); animation: pulse-ring 1s cubic-bezier(0.2, 0, 0.8, 1) infinite; top: 50%; left: 50%; margin-top: -70px; margin-left: -70px; pointer-events: none; }
.pulse-ring2 { position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 1.5px solid rgba(192, 0, 26, 0.4); animation: pulse-ring2 1s cubic-bezier(0.2, 0, 0.8, 1) 0.3s infinite; top: 50%; left: 50%; margin-top: -70px; margin-left: -70px; pointer-events: none; }

.phase-0 { color: #fff; text-shadow: 0 0 40px rgba(255,255,255,0.25); font-weight: 300; }
.phase-1 { background: linear-gradient(135deg, #405de6 0%, #5851db 20%, #833ab4 45%, #c13584 70%, #e1306c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 300; }
.phase-2 { background: linear-gradient(135deg, #5851db 0%, #833ab4 30%, #c13584 60%, #e1306c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 300; }
.phase-3 { background: linear-gradient(135deg, #7b2d8b 0%, #a0206a 35%, #c0002a 65%, #e1306c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 300; filter: drop-shadow(0 0 10px rgba(160,0,80,0.4)); }
.phase-4 { background: linear-gradient(160deg, #ff4d4d 0%, #e60000 50%, #990000 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 300; filter: drop-shadow(0 0 15px rgba(255,0,0,0.7)) drop-shadow(0 2px 5px rgba(0,0,0,0.8)); }
.phase-5 { background: linear-gradient(160deg, #ff1a1a 0%, #cc0000 50%, #660000 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 300; filter: drop-shadow(0 0 25px rgba(255,0,0,0.9)) drop-shadow(0 0 10px rgba(255,0,0,0.5)); letter-spacing: -0.03em; }

.pulse-ring--fast { animation: pulse-ring 0.4s cubic-bezier(0.2,0,0.8,1) infinite !important; }
.pulse-ring2--fast { animation: pulse-ring2 0.4s cubic-bezier(0.2,0,0.8,1) 0.1s infinite !important; }

.result-advice-box { margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 35px; margin-bottom: 20px; }
.result-advice-box h3 { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700; margin: 0 0 15px; color: var(--text-inverse); letter-spacing: 0.05em; }
.result-advice-box p { font-size: 13px; line-height: 2.4; opacity: 0.8; margin: 0; text-align: justify; color: var(--text-inverse); }

/* 𝕏フォロー応援枠のデザイン */
.result-follow-box { margin-top: 20px; padding: 25px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; text-align: center; }
.follow-msg { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.8); margin-bottom: 15px; text-align: center; }
.follow-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 0; background: #fff; color: #000; font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 700; border-radius: 6px; text-decoration: none; transition: all 0.3s; }
.follow-btn:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

.result-follow-box--line { box-sizing: border-box; width: 100%; margin: 8px 0 8px; padding: 10px 20px 30px; background: rgba(6, 199, 85, 0.05); border: 1px solid #06C755; border-radius: 12px; text-align: center; }
.follow-msg--line { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 15px; }
.follow-btn--line { background: #06C755; color: #fff; border: none; }
.follow-btn--line i { font-size: 18px; }
.follow-btn--line:hover { background: #06C755; color: #fff; filter: brightness(1.05); }


.result-share-section { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.result-share-label { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: 0.3em; color: rgba(255,255,255,0.35); text-align: center; margin-bottom: 4px; }
.result-share-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 20px; border-radius: 6px; font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); transition: background 0.2s, border-color 0.2s; box-sizing: border-box; }
.result-share-btn i { font-size: 16px; }
.result-share-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(193,53,132,0.6); color: #fff; }
.result-share-btn--ghost { background: transparent; border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); font-weight: 400; font-size: 12px; }
.result-share-btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: transparent; }

.information { background: #0a0a0a; padding: 28px 5vw 24px; position: relative; z-index: 10; }
.info-label { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: 0.3em; color: rgba(255,255,255,0.25); text-align: center; margin-bottom: 20px; }
.info-wide { max-width: 900px; margin: 0 auto; }
.info-row { display: flex; align-items: baseline; gap: 24px; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 12px 0; }
.info-date { font-family: 'Jost', sans-serif; font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; white-space: nowrap; }
.info-text { font-family: 'Noto Serif JP', serif; font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.6; }

.community-report { padding: 56px 5vw; position: relative; z-index: 10; background: transparent; }
.community-inner { max-width: 900px; margin: 0 auto; border-top: 1px solid rgba(221, 42, 123, 0.3); border-bottom: 1px solid rgba(221, 42, 123, 0.3); padding: 32px 0; }
.community-label { font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: 0.3em; color: #bbb; text-align: center; margin-bottom: 28px; }
.community-body { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.community-text { flex: 1; }
.community-title { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; color: var(--text-main); line-height: 1.7; margin-bottom: 12px; }
.community-desc { font-family: 'Noto Serif JP', serif; font-size: 13px; color: var(--text-light); line-height: 2.0; }
.community-note { font-size: 11px; opacity: 0.7; }
.community-action { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; position: relative; }
.community-btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 38px; background: linear-gradient(135deg, #1a2a6c 0%, #4a148c 40%, #880e4f 100%); color: #FFFFFF; font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-decoration: none; white-space: nowrap; transition: all 0.4s ease; border-radius: 2px; border: none; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.community-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); filter: brightness(1.1); }
.community-btn-note { font-size: 10px; color: #bbb; letter-spacing: 0.1em; position: absolute; top: 100%; margin-top: 12px; white-space: nowrap; opacity: 0.5; }

.banner-section { padding: 20px 5vw 100px; position: relative; z-index: 10; }
.banner-header { text-align: center; margin-bottom: 40px; padding: 0 5vw; }
.bh-sub { font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 0.2em; color: #bbb; display: block; margin-bottom: 8px; }
.bh-title { font-family: 'Noto Serif JP', serif; font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; color: #2D004D; letter-spacing: 0.1em; margin: 0; }
.banner-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: row; gap: 15px; }
.banner-list-item { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(221, 42, 123, 0.12); border-radius: 6px; padding: 25px 20px; text-decoration: none; position: relative; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box; }
.banner-list-item:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.95); border-color: rgba(193, 53, 132, 0.4); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }

/* ★ 運営おすすめバナー用のハイライト装飾 */
.banner-list-item--pickup { border: 1px solid rgba(193, 53, 132, 0.5); background: rgba(255, 255, 255, 0.95); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(193, 53, 132, 0.08); }
.banner-pickup-badge { position: absolute; top: -12px; right: 15px; background: linear-gradient(135deg, #c13584 0%, #e1306c 100%); color: #fff; font-family: 'Noto Serif JP', serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 5px 16px; border-radius: 20px; box-shadow: 0 4px 12px rgba(193, 53, 132, 0.4); z-index: 2; }

.banner-pr { position: absolute; top: 6px; left: 10px; font-size: 8px; font-family: 'Jost', sans-serif; color: #ccc; letter-spacing: 0.1em; }
.bl-content { margin-top: 5px; margin-bottom: 15px; }
.bl-tag { font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 600; color: var(--accent); letter-spacing: 0.12em; display: block; margin-bottom: 6px; }
.bl-title { font-family: 'Noto Serif JP', serif; font-size: 14px; font-weight: 700; color: #2D004D; margin: 0; letter-spacing: 0.03em; line-height: 1.6; min-height: 3.2em; }
.bl-badge { display: inline-block; font-size: 9px; font-weight: 700; color: #c13584; background: rgba(193, 53, 132, 0.08); padding: 2px 8px; border-radius: 4px; margin-top: 10px; letter-spacing: 0.05em; border: 1px solid rgba(193, 53, 132, 0.15); }
.bl-action { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600; color: #bbb; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 12px; width: 100%; }
.banner-list-item:hover .bl-action { color: #c13584; }

.site-footer { padding: 40px 5vw; display: flex; justify-content: space-between; align-items: center; background: var(--bg-light); border-top: 1px solid rgba(0,0,0,0.05); position: relative; z-index: 10; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { font-size: 12px; color: var(--text-light); text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-family: 'Jost', sans-serif; font-size: 11px; color: #aaa; }

.floating-cta { display: none; }


/* 共通ヘッダー・ページ補助 */
.logo-inline { display: flex; align-items: center; gap: 8px; }
.logo-icon { height: 44px; width: auto; mix-blend-mode: multiply; }
.header-controls { display: flex; align-items: center; gap: 18px; }
.icon-left { margin-right: 8px; }

/* index.php 専用 */
.philosophy-link { margin-top: 40px; display: inline-block; }
.philosophy-link a { color: #666; text-decoration: none; font-size: 13px; letter-spacing: 0.1em; border-bottom: 1px solid rgba(102, 102, 102, 0.3); padding-bottom: 4px; transition: all 0.3s ease; }
.philosophy-link a:hover { color: #000; border-bottom-color: #000; padding-left: 5px; }
.form-subtitle { font-family: 'Jost', sans-serif; font-size: 12px; opacity: 0.6; margin: 0; }
.action-area--between { justify-content: space-between; }
.action-area--center { justify-content: center; margin-top: 40px; display: flex; }
.submit-btn--muted { color: #666; }
.result-score-animated { animation-name: heartbeat; animation-duration: var(--beat-speed); animation-iteration-count: infinite; animation-timing-function: ease-in-out; }

/* 下層ページ共通 */
.page-wrapper { position: relative; z-index: 10; padding: 180px 10vw 100px; margin: 0 auto; box-sizing: border-box; }
.page-wrapper--faq { max-width: 900px; }
.page-wrapper--philosophy { max-width: 1100px; }
.page-head { text-align: center; }
.page-head h1 { font-family: 'Jost', sans-serif; font-size: clamp(40px, 5vw, 64px); font-weight: 400; letter-spacing: 0.15em; margin: 0; color: var(--text-main); }
.page-wrapper--faq .page-head { margin-bottom: 80px; }
.page-wrapper--philosophy .page-head { margin-bottom: 100px; }

/* faq.php 専用 */
.faq-list { display: flex; flex-direction: column; gap: 40px; }
.faq-item h3 { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700; color: #2D004D; margin: 0 0 15px; line-height: 1.6; padding-left: 15px; border-left: 3px solid var(--accent); }
.faq-item p { font-family: 'Noto Serif JP', serif; font-size: 14px; line-height: 2.2; color: var(--text-main); opacity: 0.8; margin: 0; padding-left: 18px; text-align: justify; }
.back-btn-area { text-align: center; margin-top: 80px; }
.back-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 40px; background: rgba(0,0,0,0.05); color: var(--text-main); font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-decoration: none; border-radius: 30px; transition: 0.3s; }
.back-btn:hover { background: rgba(0,0,0,0.1); transform: translateY(-2px); }

/* philosophy.php 専用 */
.lang-section { margin-bottom: 120px; color: var(--text-main); }
.lang-section h2 { font-family: 'Jost', sans-serif; font-size: 14px; letter-spacing: 0.15em; margin-bottom: 20px; font-weight: 600; border-left: 2px solid var(--accent); padding-left: 15px; opacity: 0.7; }
.lang-section h3 { font-family: 'Noto Serif JP', serif; font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; margin-bottom: 50px; line-height: 1.5; letter-spacing: 0.05em; }
.lang-section p { font-family: 'Noto Serif JP', serif; font-size: 15px; line-height: 2.6; margin-bottom: 2em; letter-spacing: 0.06em; text-align: justify; opacity: 0.9; }
.en-section h3 { font-family: 'Jost', sans-serif; font-weight: 400; font-size: clamp(22px, 3vw, 30px); }
.en-section p { font-family: 'Jost', sans-serif; font-size: 16px; line-height: 1.9; letter-spacing: 0.03em; }

/* terms.php / privacy.php 専用 */
.legal-container { max-width: 900px; margin: 0 auto; padding: 180px 5vw 100px; position: relative; z-index: 10; flex: 1; }
.legal-box { box-sizing: border-box; width: 100%; background: rgba(10, 10, 10, 0.88); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 80px 60px; border-radius: 4px; color: var(--text-inverse); box-shadow: 0 40px 100px rgba(0,0,0,0.2); }
.legal-box h1 { font-size: 32px; margin-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 20px; font-weight: 700; }
.legal-box h2 { font-size: 20px; margin-top: 50px; margin-bottom: 25px; color: var(--accent); font-weight: 700; }
.legal-box p, .legal-box li { font-size: 15px; line-height: 2; color: rgba(255,255,255,0.8); margin-bottom: 20px; word-break: break-word; }
.legal-box ul { padding-left: 20px; margin-bottom: 30px; }
.legal-box .date { margin-top: 60px; text-align: right; font-family: 'Jost', sans-serif; font-size: 13px; color: rgba(255,255,255,0.4); }
.legal-contact-area { margin-top: 60px; padding: 30px; background: rgba(255, 255, 255, 0.03); border-left: 2px solid var(--accent); }
.legal-contact-title { margin-top: 0; }
.legal-mail-link { color: var(--accent); text-decoration: underline; font-weight: 700; }
.legal-notice { font-size: 14px; color: var(--accent); font-weight: 700; margin-top: 20px; }
.legal-company-link { color: inherit; text-decoration: underline; }
.legal-back-btn { text-decoration: none; color: #FFF; border: 1px solid rgba(255,255,255,0.2); padding: 10px 20px; border-radius: 4px; }

@media (max-width: 900px) {
    .sp-cta-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 24px 0 20px; padding: 16px 0; background: linear-gradient(135deg, #405de6 0%, #833ab4 50%, #e1306c 100%); color: #fff; font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.1em; border-radius: 8px; text-decoration: none; box-shadow: 0 8px 24px rgba(131,58,180,0.35); transition: opacity 0.2s, transform 0.2s; }
    .sp-cta-btn:active { opacity: 0.85; transform: scale(0.96); }
    .sp-cta-btn span { font-size: 18px; line-height: 1; }
    .bg-typography-wrapper { position: absolute; }
    .bg-word { line-height: 0.80; }
    .header { padding: 18px 5vw; }
    .header-sns { display: none; }
    .sp-x-icon { display: block; font-size: 20px; color: var(--text-main); transition: 0.3s; }
    .sp-x-icon:active { transform: scale(0.9); opacity: 0.7; }
    .logo-platform { display: none; }
    .menu-trigger { display: flex; flex-direction: column; justify-content: space-between; }
    .hero { flex-direction: column; padding: 88px 5vw 60px; gap: 0; } 
    .hero-text { position: static; transform: none; padding: 28px 0 32px; text-align: left; }
    .hero-text h1 { font-size: 30px; line-height: 1.35; margin-bottom: 14px; }
    .hero-text p { font-size: 13px; line-height: 2.0; }
    .hero-text h1::before { content: 'Instagram / Threads'; display: block; font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 0.18em; color: #c13584; margin-bottom: 10px; opacity: 0.8; }
    .hero-box { width: 100vw; margin-left: -5vw; border-radius: 12px 12px 0 0; border: none; background-attachment: scroll; margin-top: -8px; }
    .hero-box-overlay { padding: 32px 6vw 40px; }
    .form-title { font-size: 18px; }
    
    .q-block { margin-bottom: 0; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .q-block:last-of-type { border-bottom: none; }
    .q-block h2 { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
    .opt-group { display: flex; flex-direction: row; gap: 12px; margin-top: 0; }
    .opt-group label { flex: 1; margin: 0; position: relative; }
    
    .opt-label { 
        display: flex; align-items: center; justify-content: center; min-height: 48px; 
        background: rgba(255, 255, 255, 0.03); 
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; 
        font-size: 14px; color: rgba(255,255,255,0.45); width: 100%; 
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: scale(1);
        box-sizing: border-box;
        padding: 0 !important; 
    }

    .opt-group input[value="1"] + .opt-label:active { background: rgba(75, 0, 130, 0.6) !important; transform: scale(0.95); border-color: #833ab4; }
    .opt-group input[value="1"]:checked + .opt-label { color: #fff; font-weight: 600; background: rgba(75, 0, 130, 0.25); border-color: rgba(131, 58, 180, 0.8); box-shadow: inset 0 0 15px rgba(75, 0, 130, 0.3); padding-left: 0 !important; }

    .opt-group input[value="0"] + .opt-label:active { background: rgba(64, 93, 230, 0.4) !important; transform: scale(0.95); border-color: #5851db; }
    .opt-group input[value="0"]:checked + .opt-label { color: #fff; font-weight: 600; background: rgba(64, 93, 230, 0.15); border-color: rgba(64, 93, 230, 0.6); box-shadow: inset 0 0 15px rgba(64, 93, 230, 0.15); padding-left: 0 !important; }
    
    .opt-group input:checked + .opt-label::before { display: none; }
    
    .action-area { margin-top: 32px; justify-content: center; }
    .submit-btn { font-size: 14px; padding: 16px 32px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 30px; justify-content: center; width: 100%; letter-spacing: 0.05em; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
    .submit-btn:active { transform: scale(0.96); background: rgba(255,255,255,0.15); } 

    .score-huge { font-size: 90px; }
    .score-percent-huge { font-size: 30px; }
    .result-share-btn { font-size: 14px; padding: 16px 20px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    .result-share-btn:active { transform: scale(0.96); }
    .result-share-btn--ghost { font-size: 13px; }
    
    .information { padding: 24px 5vw 20px; }
    .info-row { flex-direction: column; gap: 4px; }
    .info-date { font-size: 10px; }
    .info-text { font-size: 12px; }
    
    .community-report { padding: 36px 5vw; }
    .community-inner { padding: 24px 0; border-top: 1px solid rgba(221, 42, 123, 0.3); border-bottom: 1px solid rgba(221, 42, 123, 0.3); }
    .community-body { flex-direction: column; gap: 24px; padding: 0; }
    .community-text { text-align: center; }
    .community-title { font-size: 17px; }
    .community-action { width: 100%; }
    .community-btn { width: 100%; justify-content: center; box-sizing: border-box; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    .community-btn:active { transform: scale(0.96); }
    .community-btn-note { position: static; margin-top: 12px; display: block; }
    
    .banner-section { padding: 32px 5vw 72px; }
    .banner-inner { flex-direction: column; gap: 16px; }
    .banner-list-item { padding: 20px; }
    
    .site-footer { padding: 28px 5vw 60px; flex-direction: column; gap: 12px; text-align: center; }
    .footer-links { gap: 20px; }

    .floating-cta {
        display: flex; justify-content: center; align-items: center;
        position: fixed; bottom: 25px; right: 20px;
        left: auto; transform: none;
        width: 56px; height: 56px;
        padding: 0;
        background: linear-gradient(135deg, #2d3b8e 0%, #4a148c 50%, #880e4f 100%);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
        z-index: 9999;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .floating-cta span { display: none; }
    .floating-cta i { font-size: 22px; color: #fff; margin: 0; }
    
    .floating-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateY(30px) scale(0.8); }
    .floating-cta:active { transform: scale(0.92); background: linear-gradient(135deg, #1f2a6a 0%, #350f68 50%, #610a38 100%); }
}

@media (max-width: 900px) {
    .page-wrapper { padding: 120px 6vw 80px; }
    .page-wrapper--faq .page-head { margin-bottom: 50px; }
    .page-wrapper--philosophy .page-head { text-align: center; margin-bottom: 60px; }
    .faq-list { gap: 35px; }
    .faq-item h3 { font-size: 15px; padding-left: 12px; }
    .faq-item p { font-size: 13px; padding-left: 15px; }
    .back-btn-area { margin-top: 60px; }
    .lang-section h3 { font-size: 20px; margin-bottom: 40px; }
    .lang-section p { font-size: 14px; line-height: 2.2; }
    .en-section p { font-size: 14px; }
    .legal-container { padding: 120px 0 100px; }
    .legal-box { padding: 40px 6vw; border-radius: 0; width: 100%; margin: 0; }
}

/* =====================================================
   PR説明文の位置調整
   ※ style.css の一番下にそのまま追加
===================================================== */

.banner-section .banner-pr-note {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 720px;
    margin: 14px auto 24px;
    padding: 0 20px;
    font-family: 'Noto Serif JP', serif;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.04em;
    text-align: center;
    color: rgba(45, 0, 77, 0.58);
}

/* PR文が banner-header の外にある場合でも中央に整える */
.banner-section > .banner-pr-note {
    margin-top: -20px;
    margin-bottom: 26px;
}

/* PR文が banner-header の中にある場合はこちらを優先 */
.banner-header .banner-pr-note {
    margin: 14px auto 0;
    padding: 0 20px;
}

/* スマホ表示 */
@media (max-width: 900px) {
    .banner-section .banner-pr-note {
        max-width: 100%;
        margin: 12px auto 22px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 1.7;
        letter-spacing: 0.02em;
    }

    .banner-section > .banner-pr-note {
        margin-top: -12px;
        margin-bottom: 22px;
    }

    .banner-header .banner-pr-note {
        margin: 12px auto 0;
        padding: 0 12px;
    }
}

/* フッター中央寄せ用の追加コード */
.site-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    text-align: center !important;
}

.footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
}
/* =====================================================
   ヘッダーページナビ（PC版のみ・左ロゴ右ナビ構成）
===================================================== */
.header-page-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-page-link {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-light);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: color 0.25s, border-color 0.25s, background 0.25s;
    white-space: nowrap;
}
.header-page-link:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}
.header-page-link--active {
    color: var(--text-main);
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}
.header-page-divider {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.15);
    user-select: none;
    padding: 0 2px;
}

/* SP版：ナビ非表示（ドロワーに任せる） */
@media (max-width: 900px) {
    .header-page-nav { display: none; }
}