/* 005 Nexorbit株式会社 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #ffffff;
  --c-bg2: #f5f3ff;
  --c-dark: #1e1338;
  --c-main: #6d28d9;
  --c-main-dark: #5b21b6;
  --c-accent: #f59e0b;
  --c-accent-dark: #d97706;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #e9e5f5;
  --radius: 20px;
  --font: "M PLUS 1p", sans-serif;
  --font-en: "Space Grotesk", sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.8; color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-main); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--tint { background: var(--c-bg2); }
@media (min-width: 1080px) { .section { padding: 120px 0; } }

.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head__en { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-main); }
.sec-head__title { font-weight: 800; font-size: clamp(26px, 4.5vw, 40px); color: var(--c-dark); line-height: 1.4; margin-top: 8px; }
.note { margin-top: 24px; text-align: center; font-size: 15px; color: var(--c-sub); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--main { background: var(--c-main); color: #fff; }
.btn--main:hover { background: var(--c-main-dark); }
.btn--accent { background: var(--c-accent); color: var(--c-dark); }
.btn--accent:hover { background: #fbbf24; }
.btn--ghost { border: 2px solid rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }

/* ヘッダー */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background-color .3s, color .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(255, 255, 255, .96); color: var(--c-dark); box-shadow: 0 1px 0 var(--c-line); }
.header__inner { max-width: 1320px; margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; font-family: var(--font-en); font-weight: 700; font-size: 22px; color: inherit; text-decoration: none; }
.logo__mark { width: 30px; height: 30px; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (min-width: 1080px) {
  .header__inner { height: 84px; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; font-weight: 700; font-size: 15px; }
  .gnav a:hover { color: var(--c-accent); }
  .header__btn { margin-left: 0; padding: 0 24px; }
}

/* メインビジュアル */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 80% 20%, #3b1d7a 0%, var(--c-dark) 60%); color: #fff; padding: 140px 0 96px; }
.hero__shapes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__inner { position: relative; }
@media (max-width: 767px) { .hero__shapes .pc-only { display: none; } }
.hero__en { font-family: var(--font-en); font-weight: 500; letter-spacing: .12em; color: #c4b5fd; font-size: 15px; text-transform: uppercase; }
.hero__title { font-weight: 800; font-size: clamp(38px, 8vw, 80px); line-height: 1.25; margin: 16px 0 24px; letter-spacing: .01em; }
.hero__title .word { display: inline-block; }
.hl { background: linear-gradient(rgba(245, 158, 11, .85), rgba(245, 158, 11, .85)) no-repeat 0 82% / 100% .28em; padding: 0 .08em; }
.hero__lead { font-size: clamp(15px, 2vw, 18px); color: #ede9fe; max-width: 34em; }
.hero__btns { display: grid; gap: 12px; margin-top: 36px; max-width: 360px; }
@media (min-width: 768px) {
  .hero__shapes { opacity: 1; }
  .hero__btns { display: flex; max-width: none; }
}
@media (min-width: 1080px) { .hero { padding: 200px 0 160px; min-height: 92vh; } }

/* お悩み */
.bubbles { display: grid; gap: 16px; }
.bubble {
  position: relative; display: flex; gap: 12px; align-items: flex-start;
  background: var(--c-bg2); border-radius: var(--radius); padding: 20px 22px; font-weight: 700; color: var(--c-dark);
}
.bubble::after { content: ""; position: absolute; left: 32px; bottom: -10px; border: 10px solid transparent; border-bottom: 0; border-top-color: var(--c-bg2); }
.bubble__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c-main); display: grid; place-items: center; margin-top: 1px; }
.bubble__icon::before { content: "?"; color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 16px; line-height: 1; }
.worries__answer { margin-top: 48px; text-align: center; font-size: clamp(18px, 3vw, 24px); font-weight: 700; color: var(--c-dark); }
.worries__answer strong { color: var(--c-main); }
@media (min-width: 768px) { .bubbles { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* できること */
.services { display: grid; gap: 20px; }
.service { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 10px 30px rgba(76, 29, 149, .07); }
.service__icon { width: 64px; height: 64px; margin-bottom: 16px; }
.service h3 { font-weight: 800; font-size: 21px; color: var(--c-dark); margin-bottom: 8px; }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* 実績 */
.works { display: grid; gap: 24px; }
.work { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--c-line); }
.work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.work__body { padding: 24px; }
.work__tag { display: inline-block; font-size: 15px; font-weight: 700; color: var(--c-main); background: var(--c-bg2); padding: 2px 12px; border-radius: 999px; }
.work h3 { font-weight: 800; font-size: 20px; color: var(--c-dark); margin: 12px 0 8px; }
.work__result strong { font-family: var(--font-en); font-size: 30px; color: var(--c-main); }
@media (min-width: 1080px) { .works { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* 進め方：線が伸びる */
.flow { position: relative; }
.flow__line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 4px; background: var(--c-line); border-radius: 4px; }
.flow__fill { position: absolute; inset: 0; background: linear-gradient(var(--c-main), var(--c-accent)); border-radius: 4px; transform-origin: top; }
.flow__list { position: relative; display: grid; gap: 28px; }
.flow__list li { padding-left: 72px; position: relative; min-height: 48px; }
.flow__no { position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--c-main); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 16px; box-shadow: 0 0 0 6px var(--c-bg2); }
.flow h3 { font-weight: 800; font-size: 20px; color: var(--c-dark); }
@media (min-width: 1080px) {
  .flow__line { left: 25px; right: 25px; top: 23px; bottom: auto; width: auto; height: 4px; }
  .flow__fill { transform-origin: left; }
  .flow__list { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .flow__list li { padding: 72px 0 0; }
}

/* 料金 */
.prices { display: grid; gap: 20px; align-items: stretch; }
.price { position: relative; border: 2px solid var(--c-line); border-radius: var(--radius); padding: 32px 28px; background: #fff; }
.price h3 { font-weight: 800; font-size: 20px; color: var(--c-dark); }
.price__value { font-family: var(--font-en); font-weight: 700; font-size: 32px; color: var(--c-main); margin: 8px 0 12px; }
.price--pick { border-color: var(--c-main); box-shadow: 0 16px 40px rgba(109, 40, 217, .14); }
.price__badge { position: absolute; top: -16px; left: 24px; background: var(--c-accent); color: var(--c-dark); font-weight: 700; font-size: 15px; padding: 2px 14px; border-radius: 999px; }
@media (min-width: 1080px) { .prices { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* よくある質問 */
.faq { max-width: 820px; }
.qa { background: #fff; border-radius: 16px; margin-bottom: 12px; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 16px 56px 16px 20px; position: relative; font-weight: 700; color: var(--c-dark); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; font-family: var(--font-en); color: var(--c-main); font-size: 20px; }
.qa summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--c-main); border-bottom: 3px solid var(--c-main); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { padding: 0 20px 20px 52px; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--c-dark); color: #ede9fe; padding: 96px 0; text-align: center; }
.cta__shapes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.cta__inner { position: relative; }
.cta__title { color: #fff; font-weight: 800; font-size: clamp(26px, 4.5vw, 42px); line-height: 1.5; margin-bottom: 16px; }
.cta .btn { margin-top: 32px; }

/* フッター */
.footer { background: #140c27; color: #ddd6fe; padding: 56px 0 28px; font-size: 15px; }
.footer__inner { display: grid; gap: 16px; }
.footer__logo { font-family: var(--font-en); font-weight: 700; font-size: 20px; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer__nav a { color: inherit; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.footer__nav a:hover { color: var(--c-accent); }
.footer__fiction { text-align: center; margin-top: 32px; }


/* スマホのメニュー（JSが無くても開閉できる details 要素） */
.spmenu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; font-weight: 700; font-size: 15px; color: inherit;
}
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 4px 20px 20px; box-shadow: 0 12px 24px rgba(0, 0, 0, .1); display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: var(--c-dark); text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.spmenu { flex: none; }
.spmenu summary { white-space: nowrap; min-width: 44px; justify-content: center; }
.header__btn { flex: none; white-space: nowrap; }
/* 狭い画面では三本線だけ（「メニュー」は読み上げ用に残す） */
@media (max-width: 479px) {
  .spmenu summary { padding: 0 10px; }
  .spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1080px) { .spmenu { display: none; } }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
.spmenu summary { padding-right: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 390px 幅でヘッダーが収まるように（2026-10-04 仕上げ） */
@media (max-width: 479px) {
  .header__inner { gap: 10px; padding: 0 16px; }
  .logo { font-size: 19px; gap: 6px; }
  .logo__mark { width: 26px; height: 26px; }
  .header__btn { padding: 0 14px; }
}
