/* 7works ホームページ */

:root {
  --bg: #0a0a0d;
  --bg-alt: #111116;
  --card: #16161c;
  --text: #ececf1;
  --muted: #9b9ba8;
  --line: #262630;
  /* 七色のグラデーション */
  --rainbow: linear-gradient(90deg, #ff4d6d, #ff8a3d, #ffd23f, #3ddc84, #2ec4d6, #6b74ff, #b45cff);
  --header-h: 72px;
  --en: "Outfit", "Noto Sans JP", sans-serif;
  --head: "Dela Gothic One", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, dl, dd { margin: 0; padding: 0; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp { display: none; }
.pc { display: inline; }

/* ---------- アイコン（線画＋七色） ---------- */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  display: block;
  fill: none;
  stroke: url(#g-rainbow);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
/* 見えたときに線が描かれていく */
.icon [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(.4,.1,.2,1) 0.3s;
}
.reveal.is-visible .icon [pathLength] { stroke-dashoffset: 0; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
/* スクロール後の背景。header 本体にぼかしをかけるとスマホのメニューが
   ヘッダーの中に閉じ込められるので、うしろの板（::before）にかける */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 13, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.3s;
}
.header.is-scrolled::before { opacity: 1; }

.logo {
  font-family: var(--en);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
}
.logo-seven {
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav a {
  position: relative;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover,
.nav a.is-current { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--rainbow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav a:hover::after,
.nav a.is-current::after { transform: scaleX(1); }

.nav .nav-contact {
  color: var(--text);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--rainbow) border-box;
}
.nav .nav-contact::after { display: none; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.menu-btn span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, top 0.3s;
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.nav-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- 紹介動画（トップ） ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  /* 文字を読みやすくする暗いかぶせ */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,13,0.25) 0%, rgba(10,10,13,0.45) 60%, var(--bg) 100%);
}

/* 仮の映像：ぼかした光の玉がゆっくり動く */
.hero-placeholder {
  position: absolute;
  inset: 0;
  background: #07070a;
  overflow: hidden;
}
.orb {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.orb1 { background: #ff4d6d; top: -12%; left: -8%;  animation: drift1 18s ease-in-out infinite alternate; }
.orb2 { background: #ffb23f; top: 30%;  left: 40%;  animation: drift2 22s ease-in-out infinite alternate; opacity: 0.4; }
.orb3 { background: #3ddc84; top: 55%;  left: -10%; animation: drift3 20s ease-in-out infinite alternate; opacity: 0.35; }
.orb4 { background: #b45cff; top: -20%; left: 55%;  animation: drift4 24s ease-in-out infinite alternate; }

@keyframes drift1 { to { transform: translate(25vw, 20vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-30vw, -15vh) scale(0.85); } }
@keyframes drift3 { to { transform: translate(35vw, -25vh) scale(1.2); } }
@keyframes drift4 { to { transform: translate(-20vw, 30vh) scale(0.9); } }

.hero-temp {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  font-size: 12px;
  color: rgba(236, 236, 241, 0.5);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-label {
  font-family: var(--en);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero-copy {
  font-family: var(--head);
  font-size: clamp(40px, 7.4vw, 92px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.01em;
}
.hero-copy .line:nth-child(2) {
  background: linear-gradient(90deg, #ff8a5c, #ffd23f 30%, #6be8c8 65%, #8f97ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .line { display: block; }
.hero-sub {
  margin-top: 28px;
  font-size: clamp(14px, 1.6vw, 17px);
  color: #cfcfd8;
}

/* 最初に表示されるときの動き */
.hero-label,
.hero-copy .line,
.hero-sub {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-copy .line:nth-child(1) { animation-delay: 0.25s; }
.hero-copy .line:nth-child(2) { animation-delay: 0.45s; }
.hero-sub { animation-delay: 0.75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  padding-bottom: 56px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 48px;
  background: var(--rainbow);
  animation: cue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- 各セクション共通 ---------- */
.section { padding: 128px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 56px; }
.section-en {
  font-family: var(--en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3em;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.section-head h2 {
  margin-top: 8px;
  font-family: var(--head);
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 18px;
  border-radius: 2px;
  background: var(--rainbow);
}

/* スクロールで表示 */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 7worksについて ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.about-lead {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.8;
}
.about-text p + p { margin-top: 1.2em; }
.about-text { color: #cfcfd8; }

/* ---------- サービス ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px 32px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, opacity 0.9s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--rainbow);
  opacity: 0.7;
}
.service-card:hover { border-color: #3a3a46; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--en);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: #3e3e4a;
}
.service-icon {
  width: 72px;
  height: 72px;
  stroke-width: 1.8;
}
.service-card h3 {
  margin: 24px 0 14px;
  font-size: 20px;
  font-weight: 700;
}
.service-card p:last-child {
  font-size: 15px;
  color: var(--muted);
}

.price-note {
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #cfcfd8;
  font-size: 15px;
}
.price-note span {
  display: inline-block;
  margin-right: 16px;
  font-weight: 700;
  color: var(--text);
}

/* ---------- 依頼の流れ ---------- */
.flow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: none;
}
.flow-list li {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.flow-list li:not(:last-child)::after {
  /* 次の手順へつなぐ線 */
  content: "";
  position: absolute;
  top: 36px;
  left: calc(50% + 44px);
  right: calc(-50% + 36px);
  height: 1px;
  background: var(--line);
}
.flow-list li:nth-child(2) { transition-delay: 0.08s; }
.flow-list li:nth-child(3) { transition-delay: 0.16s; }
.flow-list li:nth-child(4) { transition-delay: 0.24s; }
.flow-list li:nth-child(5) { transition-delay: 0.32s; }
.flow-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
}
.flow-icon .icon {
  width: 36px;
  height: 36px;
  stroke-width: 2.2;
}
.flow-step {
  margin-top: 16px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.flow-list h3,
.flow-list h4 {
  margin: 2px 0 6px;
  font-size: 17px;
}
.flow-list p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 実績 ---------- */
.works-empty {
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed #34343f;
  border-radius: 16px;
  color: var(--muted);
}
.works-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}

/* ---------- 会社概要 ---------- */
.company-table {
  max-width: 760px;
  border-top: 1px solid var(--line);
}
.company-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.company-table dt {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- お問い合わせ ---------- */
.contact-lead {
  color: #cfcfd8;
  margin-bottom: 32px;
}
.form-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px dashed #34343f;
  border-radius: 16px;
  color: var(--muted);
}
.form-embed {
  width: 100%;
  height: 1250px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

/* ---------- フッター ---------- */
.footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer-logo {
  font-family: var(--en);
  font-weight: 700;
  font-size: 22px;
}
.copyright {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 900px) {
  .service-list { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }

  .flow-list { grid-template-columns: 1fr; gap: 0; }
  .flow-list li {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 20px;
    text-align: left;
    padding: 0 0 28px;
  }
  .flow-list li .flow-icon { grid-row: span 3; width: 64px; height: 64px; }
  .flow-icon .icon { width: 32px; height: 32px; }
  .flow-step { margin-top: 4px; }
  .flow-list h3,
.flow-list h4 { margin: 0 0 2px; }
  .flow-list li:not(:last-child)::after {
    top: 68px; bottom: 4px;
    left: 32px; right: auto;
    width: 1px; height: auto;
  }
}

@media (max-width: 860px) {
  .header { padding: 0 16px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    font-size: 18px;
    background: rgba(10, 10, 13, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav a { color: var(--text); }
}

@media (max-width: 600px) {
  .container, .hero-inner { padding: 0 16px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .sp { display: inline; }
  .pc { display: none; }
  .company-table div { grid-template-columns: 96px 1fr; }
  .hero-temp { right: 16px; }
}

/* 動きを減らす設定のときは、動きを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .scroll-cue::after { animation: none; }
  .hero-label, .hero-copy .line, .hero-sub { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .icon [pathLength] { stroke-dashoffset: 0; transition: none; }
}

/* =====================================================
   2026-10 追加：WebCM・ホームページ代行の内容
   ===================================================== */

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid #3a3a46;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.btn:hover { border-color: #6a6a78; transform: translateY(-1px); }
.btn-main {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--rainbow) border-box;
}
.btn-large { min-height: 60px; padding: 14px 44px; font-size: 17px; }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s cubic-bezier(.2,.7,.2,1) 1s forwards;
}

/* ---------- 共通の文章パーツ ---------- */
.lead {
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 500;
  line-height: 1.8;
}
.sub-head {
  margin: 88px 0 28px;
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sub-head::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--rainbow);
  background-size: 100% 700%;
}
.check-list,
.cross-list,
.note-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li,
.cross-list li {
  position: relative;
  padding-left: 30px;
  margin-top: 10px;
  color: #cfcfd8;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 13px;
  height: 7px;
  border-left: 2px solid #3ddc84;
  border-bottom: 2px solid #3ddc84;
  transform: rotate(-45deg);
}
.cross-list li::before,
.cross-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.9em;
  width: 14px;
  height: 2px;
  background: #ff6b81;
  transform: rotate(45deg);
}
.cross-list li::after { transform: rotate(-45deg); }

.note-list { margin-top: 24px; }
.note-list li {
  position: relative;
  padding-left: 1.2em;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.note-list li::before { content: "※"; position: absolute; left: 0; }

.text-link {
  border-bottom: 1px solid #5a5a68;
  transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--text); }

/* ---------- WebCM：紹介とサンプル ---------- */
.cm-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.cm-text p + p { margin-top: 1em; color: #cfcfd8; }
.cm-text .check-list { margin-top: 24px; }

.cm-sample { margin: 0; text-align: center; }
.phone {
  width: min(280px, 72vw);
  margin: 0 auto;
  padding: 10px;
  border-radius: 34px;
  background: #1d1d24;
  border: 1px solid #34343f;
  box-shadow: 0 30px 80px -30px rgba(180, 92, 255, 0.35), 0 20px 60px -30px rgba(255, 138, 61, 0.35);
}
.phone video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background: #000;
  object-fit: cover;
}
.cm-sample figcaption {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
}
.cm-sample figcaption span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 料金カード ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-grid.two { grid-template-columns: repeat(2, 1fr); }
.price-card,
.plan-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
}
.price-card.is-feature,
.plan-card.is-feature {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--rainbow) border-box;
}
.price-grid .price-card:nth-child(2),
.plan-grid .plan-card:nth-child(2) { transition-delay: 0.08s; }
.price-grid .price-card:nth-child(3),
.plan-grid .plan-card:nth-child(3) { transition-delay: 0.16s; }

.price-icon { width: 56px; height: 56px; margin-bottom: 18px; stroke-width: 1.8; }
.price-name,
.plan-name {
  font-weight: 700;
  font-size: 17px;
}
.price {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}
.price .yen {
  font-family: var(--en);
  font-size: clamp(34px, 3.6vw, 42px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-right: 2px;
}
.price .small {
  font-size: 15px;
  margin-right: 4px;
  color: var(--muted);
}
.price-monitor {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.12);
  color: #ffd86b;
  font-size: 13px;
  line-height: 1.7;
}
.price-monitor strong { font-size: 15px; white-space: nowrap; }
.price-desc,
.plan-desc {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.price-extra {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}
.price-extra div { display: flex; gap: 14px; flex-wrap: wrap; }
.price-extra dt { color: var(--muted); }
.price-extra dd { font-weight: 700; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-card { text-align: center; }

.flow-note {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.free {
  display: inline-block;
  margin-left: 6px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.14);
  color: #6be8a4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

/* ---------- ホームページ：含まれること・受けないこと ---------- */
.hp-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}
.info-box {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.info-box h3 { font-size: 18px; margin-bottom: 8px; }
.info-box.is-muted { background: transparent; }
.small-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- そのほかのご相談 ---------- */
.other-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.other-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.other-card h3 { font-size: 18px; margin-bottom: 8px; }
.other-card p { font-size: 15px; color: var(--muted); }
.other-card.is-soon { background: transparent; border-style: dashed; border-color: #3a3a46; }
.soon-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text) !important;
}

/* ---------- よくある質問 ---------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 40px;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q";
  position: absolute;
  left: 4px;
  top: 20px;
  font-family: var(--en);
  font-weight: 700;
  font-size: 18px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 30px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq-list details p {
  padding: 0 16px 24px 40px;
  color: #cfcfd8;
  font-size: 15px;
}

/* ---------- お問い合わせ ---------- */
.contact-mail {
  text-align: center;
  margin-bottom: 40px;
}
.contact-mail p {
  margin-top: 12px;
  font-family: var(--en);
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- フッター ---------- */
.footer-links { margin-top: 10px; font-size: 13px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ---------- 特定商取引法のページ ---------- */
.sub-page main { padding-top: var(--header-h); }
.back-link { font-size: 14px; color: var(--muted); }
.back-link:hover { color: var(--text); }
.legal-table { max-width: 860px; }
.legal-table div { grid-template-columns: 200px 1fr; }
.legal-table dd { font-size: 15px; line-height: 1.9; }

/* ---------- スマホ・タブレット（追加分） ---------- */
@media (max-width: 900px) {
  .cm-intro { grid-template-columns: 1fr; gap: 48px; }
  .price-grid,
  .price-grid.two,
  .plan-grid,
  .hp-info,
  .other-list { grid-template-columns: 1fr; }
  .sub-head { margin-top: 72px; }
}
@media (max-width: 600px) {
  .hero-btns .btn { flex: 1 1 100%; }
  .price-card, .plan-card, .info-box, .other-card { padding: 26px 20px; }
  .price-extra { padding: 16px 18px; }
  .legal-table div { grid-template-columns: 1fr; gap: 4px; }
  .faq-list summary { padding-left: 32px; padding-right: 36px; }
  .faq-list details p { padding-left: 32px; padding-right: 4px; }
  .btn-large { width: 100%; padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-btns { animation: none; opacity: 1; transform: none; }
}

/* =====================================================
   2026-10-17 改訂：サービスごとの色・大きな見出し・フォーム
   ===================================================== */

/* ---------- サービスごとの色 ---------- */
.theme-warm {
  --accent: #ff9a52;
  --accent-soft: rgba(255, 138, 61, 0.14);
  --theme-grad: linear-gradient(90deg, #ff4d6d, #ff8a3d, #ffc53f);
  --card: #1b1513;
  --line: #33261f;
  background:
    radial-gradient(ellipse 70% 45% at 92% 0%, rgba(255, 120, 60, 0.20), transparent 70%),
    radial-gradient(ellipse 55% 35% at 0% 55%, rgba(255, 77, 109, 0.10), transparent 70%),
    #120c0b;
}
.theme-cool {
  --accent: #5fd6e6;
  --accent-soft: rgba(46, 196, 214, 0.13);
  --theme-grad: linear-gradient(90deg, #2ec4d6, #5a8cff, #8f6bff);
  --card: #111720;
  --line: #1f2a38;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(46, 196, 214, 0.18), transparent 70%),
    radial-gradient(ellipse 55% 35% at 100% 60%, rgba(107, 116, 255, 0.13), transparent 70%),
    #090d14;
}
.theme-warm .icon { stroke: url(#g-warm); }
.theme-cool .icon { stroke: url(#g-cool); }
.service .sub-head::before { background: var(--theme-grad); }
.service .price-card.is-feature,
.service .plan-card.is-feature {
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--theme-grad) border-box;
}
.service .flow-icon { background: var(--card); border-color: var(--line); }
.service .flow-list li:not(:last-child)::after { background: var(--line); }
.service .price-extra,
.service .info-box { border-color: var(--line); }

/* ---------- サービスの大見出し ---------- */
.service { padding-top: 150px; }
.service-head { margin-bottom: 72px; }
.service-no {
  font-family: var(--en);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.35em;
  color: var(--accent);
}
.service-title {
  margin-top: 10px;
  font-family: var(--head);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 112px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  background: var(--theme-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.service-catch {
  margin-top: 28px;
  font-size: clamp(21px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.btn-warm {
  border: 1px solid transparent;
  background: linear-gradient(#140d0c, #140d0c) padding-box, linear-gradient(90deg, #ff4d6d, #ffb23f) border-box;
}
.btn-cool {
  border: 1px solid transparent;
  background: linear-gradient(#0a0e15, #0a0e15) padding-box, linear-gradient(90deg, #2ec4d6, #8f6bff) border-box;
}

/* ---------- WebCM：流れる場所・役割分担 ---------- */
.place-list { list-style: none; margin: 24px 0 0; padding: 0; }
.place-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-weight: 500;
}
.place-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a0f0a;
  font-size: 12px;
  font-weight: 900;
}

.role-split {
  display: grid;
  grid-template-columns: 1fr 48px 1.25fr;
  align-items: stretch;
  margin-top: 88px;
}
.role-box {
  padding: 30px 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: transparent;
}
.role-box.is-ours {
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--theme-grad) border-box;
  border: 1px solid transparent;
}
.role-label { font-weight: 900; font-size: 18px; margin-bottom: 12px; }
.role-box.is-ours .role-label { color: var(--accent); }
.role-box ol { margin: 0; padding-left: 1.4em; }
.role-box li { margin-top: 8px; color: #d6d0cc; }
.role-box li span { display: block; font-size: 13px; color: var(--muted); }
.role-arrow { position: relative; }
.role-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translate(-70%, -50%) rotate(45deg);
}

/* ---------- ホームページ：SNSとの比較・メリット ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}
.compare-col {
  padding: 30px 28px;
  border-radius: 16px;
  border: 1px dashed #2c3646;
}
.compare-col.is-hp {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--theme-grad) border-box;
}
.compare-label { font-weight: 900; font-size: 18px; margin-bottom: 10px; color: var(--muted); }
.compare-col.is-hp .compare-label { color: var(--accent); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { position: relative; margin-top: 10px; padding-left: 26px; color: #b5bcc6; }
.compare li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.75em;
  width: 12px;
  height: 2px;
  background: #5c6573;
}
.compare-col.is-hp li { color: #e1e8ef; }
.compare-col.is-hp li::before {
  top: 0.5em;
  width: 12px;
  height: 7px;
  background: none;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.merit-card {
  padding: 28px 26px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.merit-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.merit-card h4 { font-size: 18px; margin-bottom: 6px; }
.merit-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.merit-grid .merit-card:nth-child(2) { transition-delay: 0.08s; }
.merit-grid .merit-card:nth-child(3) { transition-delay: 0.16s; }

/* ---------- ホームページ：2つの形 ---------- */
.sub-lead { margin: -12px 0 28px; color: #cdd5de; font-size: 16px; }
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.type-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.type-figure { text-align: center; }
.mock-cap { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* 1ページ型：縦長の1枚 */
.mock-one {
  width: 92px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 10px;
  border: 1.5px solid var(--accent);
  display: grid;
  gap: 5px;
}
.mock-one span {
  height: 22px;
  border-radius: 4px;
  background: rgba(95, 214, 230, 0.16);
}
.mock-one .m-top { height: 34px; background: rgba(95, 214, 230, 0.35); }

/* ページ独立型：トップ＋4ページ */
.mock-multi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 140px;
  margin: 0 auto;
}
.mock-multi .m-home {
  grid-column: 1 / -1;
  justify-self: center;
  width: 64px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1.5px solid var(--accent);
  background: rgba(95, 214, 230, 0.2);
  font-size: 11px;
  font-weight: 700;
}
.mock-multi .m-line {
  grid-column: 1 / -1;
  height: 14px;
  margin: -6px 15px 0;
  border: 1.5px solid var(--accent);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
}
.mock-multi .m-page {
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 1.5px solid rgba(95, 214, 230, 0.6);
  background: rgba(95, 214, 230, 0.1);
  font-family: var(--en);
  font-size: 12px;
  margin-top: -6px;
}
.type-name { font-weight: 900; font-size: 20px; }
.type-for {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.type-card .check-list li { margin-top: 4px; font-size: 14px; }
.type-eg {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.type-why {
  margin-top: 20px;
  padding: 18px 24px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 15px;
  color: #d8e2ea;
}
.type-why strong { display: inline-block; margin-right: 16px; color: var(--text); }

/* ---------- ご依頼・お問い合わせフォーム ---------- */
.contact-section {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(180, 92, 255, 0.12), transparent 70%),
    var(--bg);
}
.order-form {
  max-width: 860px;
  padding: 44px 40px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, #3a3a46, #2a2a33) border-box;
}
.order-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q { margin-bottom: 36px; }
.q legend,
.q-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0;
  font-weight: 700;
  font-size: 17px;
}
.q-no {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rainbow);
  color: #0a0a0d;
  font-family: var(--en);
  font-weight: 700;
  font-size: 14px;
}
.q legend em,
.q-label em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 4px;
  background: #ff4d6d;
  color: #fff;
}
.q legend small { font-size: 13px; font-weight: 400; color: var(--muted); }
.q-help { margin: -6px 0 12px; font-size: 13px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #3a3a46;
  background: #0f0f13;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.chips label:hover span { border-color: #6a6a78; }
.chips input:checked + span {
  border-color: transparent;
  background: linear-gradient(#24242e, #24242e) padding-box, var(--rainbow) border-box;
  font-weight: 700;
}
.chips input:checked + span::before {
  content: "";
  width: 10px;
  height: 6px;
  margin-right: 10px;
  border-left: 2px solid #3ddc84;
  border-bottom: 2px solid #3ddc84;
  transform: rotate(-45deg) translateY(-2px);
}
.chips input:focus-visible + span { outline: 2px solid #6b74ff; outline-offset: 2px; }

.field {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #3a3a46;
  background: #0f0f13;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.7;
}
.field::placeholder { color: #6c6c78; }
.field:focus { outline: none; border-color: #6b74ff; box-shadow: 0 0 0 3px rgba(107, 116, 255, 0.2); }
textarea.field { resize: vertical; }
.field.is-error,
.q.is-error .chips span { border-color: #ff4d6d; }

.branch[hidden] { display: none; }
.sub-branch {
  margin: -12px 0 36px;
  padding: 26px 24px 0;
  border-left: 3px solid #3a3a46;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.02);
}
.sub-branch .q { margin-bottom: 26px; }
.sub-branch legend { font-size: 15px; }

.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.privacy { font-size: 13px; color: var(--muted); margin: -10px 0 28px; }
.form-submit { text-align: center; }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 1.5em; }
.form-msg.is-error { color: #ff7a90; }
.form-msg.is-ok { color: #6be8a4; }
.contact-mail-alt { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* ---------- スマホ・タブレット（改訂分） ---------- */
@media (max-width: 900px) {
  .role-split { grid-template-columns: 1fr; }
  .role-arrow { height: 40px; }
  .role-arrow::before { transform: translate(-50%, -70%) rotate(135deg); }
  .compare, .merit-grid, .type-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .service { padding-top: 104px; }
  .service-head { margin-bottom: 48px; }
  .type-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; }
  .order-form { padding: 30px 18px; }
  .q-row { grid-template-columns: 1fr; gap: 0; }
  .chips span { font-size: 14px; padding: 8px 16px; }
  .sub-branch { padding: 22px 14px 0; }
  .role-box, .compare-col, .merit-card { padding: 26px 20px; }
}
.order-form fieldset.q { margin: 0 0 36px; }
.sub-branch fieldset.q { margin-bottom: 26px; }
