@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  /* Colors */
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --primary: #3b82f6; /* 信頼のブルー */
  --primary-glow: rgba(59, 130, 246, 0.5);
  --accent: #f59e0b; /* 品質のゴールド */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.15);
  --glass: rgba(30, 41, 59, 0.7);
  --radius: 12px;
  --container: 1080px;
  --danger: #fb7185;
  --success: #34d399;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
  color: var(--text-main);
  line-height: 1.6;
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
img { max-width: 100%; display: block; }

/* Utilities */
.container { width: 90%; max-width: var(--container); margin: 0 auto; }
.hidden { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.05em;
  transition: all 0.3s ease; cursor: pointer; text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: white; box-shadow: 0 4px 20px var(--primary-glow); border: 1px solid transparent;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--primary-glow); }
.btn--ghost {
  background: transparent; border: 1px solid var(--text-muted); color: var(--text-main);
}
.btn--ghost:hover { border-color: var(--text-main); background: rgba(255,255,255,0.05); }
.btn--full { width: 100%; }
.btn--lg { font-size: 16px; padding: 16px 32px; }
.btn--sm { font-size: 13px; padding: 8px 16px; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 16px 0;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; }
.topbar__brand { display: flex; flex-direction: column; line-height: 1; }
.brandMark { font-size: 24px; font-weight: 900; letter-spacing: 0.05em; color: white; }
.brandSub { font-size: 11px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.topbar__nav { display: flex; gap: 24px; }
.topbar__nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.topbar__nav a:hover { color: var(--primary); }
.topbar__cta { display: flex; gap: 12px; }
.topbar__cta .btn { padding: 10px 20px; font-size: 13px; }

/* Mobile Menu */
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; transition: 0.3s; }
.mobileNav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-darker); border-bottom: 1px solid var(--border);
  padding: 20px; text-align: center;
}
.mobileNav a { display: block; padding: 12px; color: var(--text-main); font-weight: 700; }
@media (max-width: 768px) {
  .topbar__nav, .topbar__cta { display: none; }
  .hamburger { display: flex; }
}

/* Hero */
.hero { padding: 80px 0; position: relative; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.badgeRow { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.badge {
  font-size: 12px; padding: 6px 12px; border-radius: 4px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-muted);
}
.badge--soft {
  color: var(--primary); border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1); font-weight: 700;
}
h1 {
  font-size: 42px; line-height: 1.3; font-weight: 900; margin: 0 0 24px;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.accent { color: var(--primary); -webkit-text-fill-color: var(--primary); }
.lead { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; }
.lead strong { color: white; border-bottom: 1px solid var(--primary); }
.hero__actions { display: flex; gap: 16px; margin-bottom: 40px; }
.hero__proof { display: flex; gap: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.proofItem .proofNum { font-size: 24px; font-weight: 900; color: white; }
.proofItem .proofTxt { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.fineprint { font-size: 11px; color: var(--text-muted); margin-top: 20px; line-height: 1.6; }

/* Hero Card */
.card--glass {
  background: linear-gradient(145deg, rgba(30,41,59,0.6), rgba(15,23,42,0.8));
  backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 30px; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
}
.card__title { font-weight: 700; font-size: 18px; margin-bottom: 20px; text-align: center; }
.checkList { list-style: none; padding: 0; margin: 0 0 24px; }
.checkList li {
  position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 14px;
}
.checkList li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--primary); }
.card__split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px;
  background: rgba(0,0,0,0.2); padding: 15px; border-radius: 10px;
}
.mini__k { font-size: 11px; color: var(--text-muted); }
.mini__v { font-size: 13px; font-weight: 700; margin-top: 2px; }
.micro { font-size: 11px; text-align: center; color: var(--text-muted); margin-top: 10px; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } h1 { font-size: 32px; } }

/* Section Generic */
.section { padding: 80px 0; }
.section--muted { background: var(--bg-darker); }
.sectionHead { text-align: center; margin-bottom: 50px; }
.sectionHead h2 { font-size: 28px; font-weight: 900; margin: 0 0 16px; }
.sectionHead p { color: var(--text-muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: rgba(30, 41, 59, 0.3); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; transition: 0.3s;
}
.card:hover { border-color: var(--primary); background: rgba(30, 41, 59, 0.5); }
.card h3 { margin: 0 0 12px; font-size: 18px; color: white; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.tagRow { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 4px 8px; background: rgba(255,255,255,0.1); border-radius: 4px; color: var(--text-muted); }
.callout {
  margin-top: 40px; background: linear-gradient(to right, rgba(59,130,246,0.1), transparent);
  border-left: 4px solid var(--primary); padding: 20px; border-radius: 0 8px 8px 0;
}
.callout__title { font-weight: 700; font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.callout__text { font-size: 14px; margin: 0; }
@media (max-width: 768px) { .grid3, .grid2 { grid-template-columns: 1fr; } }

/* Plans */
.priceToggle { text-align: center; margin-bottom: 40px; }
.toggleWrap { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 50px; }
.toggle {
  width: 48px; height: 26px; background: var(--text-muted); border-radius: 20px;
  position: relative; border: none; cursor: pointer; transition: 0.3s;
}
.toggle[aria-pressed="true"] { background: var(--primary); }
.toggle__knob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: white;
  border-radius: 50%; transition: 0.3s;
}
.toggle[aria-pressed="true"] .toggle__knob { left: 25px; }
.toggleHint { font-size: 12px; color: var(--accent); margin-top: 8px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.plan {
  background: var(--bg-dark); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px; position: relative; overflow: hidden;
}
.plan--light { border-top: 4px solid var(--text-muted); }
.plan--pro {
  border-color: var(--primary); background: linear-gradient(to bottom, #1e293b, #0f172a);
  box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15);
}
.plan__ribbon {
  position: absolute; top: 12px; right: -30px; transform: rotate(45deg);
  background: var(--accent); color: black; font-size: 10px; font-weight: 800;
  padding: 5px 30px; width: 100px; text-align: center;
}
.plan__name { font-size: 20px; font-weight: 900; }
.plan__sub { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.plan__price { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.priceRow { display: flex; gap: 20px; align-items: baseline; }
.price { display: flex; align-items: baseline; }
.price__yen { font-size: 14px; margin-right: 2px; }
.price__num { font-size: 28px; font-weight: 700; color: white; }
.price__unit { font-size: 12px; color: var(--text-muted); margin-left: 4px; }
.anchor { font-size: 11px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }
.featureList { list-style: none; padding: 0; margin: 0 0 30px; }
.featureList li {
  padding: 10px 0; font-size: 14px; border-bottom: 1px dashed rgba(255,255,255,0.1);
  display: flex; gap: 10px;
}
.featureList li::before { content: "•"; color: var(--primary); }
.featureList li strong { color: white; }
.noteBox {
  margin-top: 60px; background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  border: 1px solid var(--border); border-radius: 16px; padding: 32px; text-align: center;
}
.noteBox h3 { font-size: 18px; margin: 0 0 16px; color: white; }
.noteBox p { font-size: 14px; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* Tabs */
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.tab {
  background: transparent; border: 1px solid var(--border); color: var(--text-muted);
  padding: 10px 24px; border-radius: 50px; cursor: pointer; transition: 0.3s;
}
.tab.is-active { background: var(--primary); color: white; border-color: var(--primary); }
.tabPanels .panel { display: none; animation: fadeIn 0.4s; }
.tabPanels .panel.is-active { display: block; }
.panelGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.miniList { padding-left: 20px; font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.disclaimer { font-size: 11px; color: var(--text-muted); margin-top: 20px; text-align: center; }

/* Process */
.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: rgba(255,255,255,0.03); padding: 20px; border-radius: 12px; }
.step__num { font-size: 24px; font-weight: 900; color: rgba(255,255,255,0.1); line-height: 1; }
.step__title { font-weight: 700; color: white; margin-bottom: 4px; }
.step__text { font-size: 13px; color: var(--text-muted); }

/* Apply & FAQ & Footer */
.apply {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
  background: linear-gradient(to right, #1e293b, #0f172a);
  border-radius: 24px; padding: 40px; border: 1px solid var(--border);
}
.applyCard {
  background: rgba(0,0,0,0.3); padding: 20px; border-radius: 12px;
  margin-bottom: 16px; border: 1px solid var(--border);
}
.applyCard--strong { border-color: var(--primary); background: rgba(59,130,246,0.1); }
.applyCard__title { font-weight: 700; margin-bottom: 4px; font-size: 15px; }
.applyCard__desc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.sep { height: 1px; background: var(--border); margin: 20px 0; }

.faqItem { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.faqItem summary {
  padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faqItem summary::after { content: "+"; color: var(--primary); font-size: 20px; }
.faqItem[open] summary::after { content: "−"; }
.faqBody { padding-bottom: 16px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.finalCta {
  text-align: center; margin-top: 60px; padding: 40px;
  background: var(--primary); border-radius: 20px; color: white;
}
.finalCta__title { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.finalCta .btn--ghost { background: rgba(0,0,0,0.2); border: none; color: white; }
.finalCta .btn--primary { background: white; color: var(--primary); }
.finalCta__btns { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }

.footer { padding: 40px 0; border-top: 1px solid var(--border); margin-top: 80px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; }
.footer__note { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.footer__right a { color: var(--text-muted); font-size: 13px; margin-left: 20px; }

/* Form Styles (for meo-a.html / meo-b.html) */
.page { padding: 40px 0 80px; }
.page-head { margin-bottom: 30px; text-align: center; }
.page-head h1 { font-size: 28px; margin: 16px 0 10px; }
.pill2 {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 50px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.05);
  font-size: 12px; color: var(--text-muted);
}
.pill2 strong { color: var(--text-main); margin-left: 8px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.fields { display: grid; gap: 20px; margin-top: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.req { color: var(--accent); font-size: 11px; margin-left: 6px; }
input, textarea, select {
  width: 100%; padding: 14px; border-radius: var(--radius);
  border: 1px solid var(--border); background: rgba(0,0,0,0.2);
  color: var(--text-main); font-size: 14px; outline: none; transition: 0.3s;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); background: rgba(0,0,0,0.4); }
textarea { min-height: 120px; resize: vertical; }

.choices { display: grid; gap: 10px; }
.choices label {
  font-weight: 500; display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  border-radius: var(--radius); cursor: pointer;
}
.choices input { width: auto; margin-top: 4px; }

.hintbox {
  margin-top: 20px; padding: 16px; border-radius: var(--radius);
  border: 1px solid rgba(59,130,246,0.3); background: rgba(59,130,246,0.1);
  color: var(--text-muted); font-size: 12px; line-height: 1.7;
}
.hintbox strong { color: white; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chip {
  font-size: 11px; padding: 4px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.1); color: var(--text-muted);
}
.bar { display: flex; gap: 16px; margin-top: 30px; align-items: center; }

/* Status Messages */
.error, .ok {
  display: none; margin-top: 20px; padding: 16px; border-radius: var(--radius); font-size: 14px;
}
.error { border: 1px solid rgba(251,113,133,0.3); background: rgba(251,113,133,0.1); color: #fda4af; }
.ok { border: 1px solid rgba(52,211,153,0.3); background: rgba(52,211,153,0.1); color: #6ee7b7; }

/* Modal */
.done {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 200;
  backdrop-filter: blur(4px); padding: 20px;
}
.done .panel {
  width: min(600px, 90vw); margin: 10vh auto 0;
  background: var(--bg-dark); border: 1px solid var(--border); border-radius: 20px;
  padding: 30px; box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}
.done h3 { margin: 0 0 16px; font-size: 20px; color: white; }
.done .actions { display: flex; gap: 12px; margin-top: 24px; }

@media (max-width: 900px) {
  .plans, .form-grid, .row2, .apply { grid-template-columns: 1fr; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* Compare Box (Price Anchor) */
.compareBox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 24px 0 32px;
}
.compareItem {
  flex: 1;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.compareItem--general {
  background: rgba(255,255,255,0.03);
}
.compareItem--olioa {
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(59,130,246,0.05));
  border-color: var(--primary);
  position: relative;
  transform: scale(1.05);
  box-shadow: 0 10px 30px -10px rgba(59,130,246,0.2);
}
.compareHead {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.compareItem--olioa .compareHead {
  color: var(--primary);
}
.comparePrice {
  font-size: 24px;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}
.cp-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-right: 2px;
  font-weight: normal;
}
.cp-unit {
  font-size: 14px;
  font-weight: normal;
}
.compareDesc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
}
.compareArrow {
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--text-muted);
  border-right: 2px solid var(--text-muted);
  transform: rotate(45deg);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .compareBox {
    flex-direction: column;
    gap: 16px;
  }
  .compareArrow {
    transform: rotate(135deg); /* 下向き */
  }
  .compareItem--olioa {
    transform: scale(1);
  }
}
/* --- 文字の見やすさ調整 --- */
/* 全体の文字色を明るく */
body { color: #f1f5f9; }

/* 見出しをより明るく強調 */
h1, h2, h3 { color: #ffffff; font-weight: 700; }

/* 説明文や補足のグレーを少し明るくして読みやすく */
.micro, .fs-body p, .level-tab span { color: #cbd5e1; }

/* テキストエリア（テンプレート）内の文字を白く */
textarea.tpl-text { color: #ffffff; font-weight: 500; }

/* タブの文字色 */
.level-tab { color: #e2e8f0; }

/* アラートボックス内の文字 */
.manual-alert { color: #f8fafc; }
/* ------------------------- */
/* --- 追加スタイル：ビジュアル重視レイアウト --- */

/* 画像プレースホルダー（本番では img タグの src を指定してください） */
.img-placeholder {
  width: 100%;
  height: 300px;
  background-color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
  border-radius: 16px;
  border: 2px dashed var(--border);
  overflow: hidden;
  position: relative;
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ジグザグレイアウト（画像＋テキスト） */
.zig-zag {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 80px 0;
}
.zig-zag:nth-child(even) {
  flex-direction: row-reverse;
}
.zig-zag__img {
  flex: 1;
}
.zig-zag__content {
  flex: 1;
}
.zig-zag__title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
  color: white;
  line-height: 1.4;
}
.zig-zag__text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* 抽象的な価値訴求カード */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.value-card {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(145deg, rgba(30,41,59,0.4), rgba(15,23,42,0.6));
  border: 1px solid var(--border);
  border-radius: 20px;
}
.value-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
  padding: 15px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  color: var(--primary);
}

/* スマホ対応 */
@media (max-width: 900px) {
  .zig-zag {
    flex-direction: column !important; /* スマホでは縦並び統一 */
    gap: 30px;
    margin: 60px 0;
  }
  .img-placeholder {
    height: 200px;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
}