/* 065 BLUEDOCK ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #070b18;
  --c-navy: #0f1d3d;
  --c-blue: #2659e6;
  --c-cyan: #5cc8ff;
  --c-light: #eef3ff;
  --c-accent-text: #1d4ed8;
  --c-on-dark: #c9d4ee;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Noto Sans JP", sans-serif;
  --font-en: "Unbounded", "Noto Sans JP", sans-serif;
  --font-script: "Mr Dafoe", cursive;
  --gutter: clamp(20px, 8vw, 160px);
  --head: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; color: var(--c-on-dark); background: var(--c-bg); }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
strong { color: #fff; font-weight: 700; border-bottom: 3px solid var(--c-cyan); }

/* 「スマホのまま横に延長」：PCでも1列。文字の列だけ読みやすい幅に、左に寄せる */
.col { max-width: calc(760px + var(--gutter)); padding: 0 20px 0 var(--gutter); }
.col > p + p { margin-top: 16px; }
@media (min-width: 1080px) { .col > p { font-size: 17px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 4px; white-space: nowrap; flex: none; transition: background-color .2s, color .2s; }
.btn--blue { background: var(--c-blue); color: #fff; }
.btn--blue:hover, .btn--blue:focus-visible { background: #fff; color: var(--c-bg); }
.btn--white { background: #fff; color: var(--c-bg); }
.btn--white:hover, .btn--white:focus-visible { background: var(--c-bg); color: #fff; }
.btn--lg { min-height: 64px; padding: 0 40px; font-size: 18px; }

/* ===== ヘッダー（PCでもスマホと同じ。ロゴ＋相談ボタン＋三本線） ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(7, 11, 24, .88); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(92, 200, 255, .25); }
.header__inner { display: flex; align-items: center; gap: 12px; height: var(--head); padding: 0 20px 0 var(--gutter); }
.logo { display: flex; align-items: center; min-height: 48px; font-family: var(--font-en); font-weight: 900; font-size: 20px; letter-spacing: .02em; color: #fff; text-decoration: none; white-space: nowrap; flex: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 4px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu:not([open]) .spmenu__nav { display: none; } /* 閉じている間は箱を作らない（閉じた中身の位置が右にはみ出して数えられるため） */
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.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: var(--c-bg); border-bottom: 2px solid var(--c-blue); padding: 8px 20px 24px var(--gutter); display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 56px; max-width: 760px; text-decoration: none; font-weight: 900; font-size: 20px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.spmenu__nav a:hover { color: var(--c-cyan); }

/* ===== 演出①（A04）：ロゴだけの幕 ===== */
.curtain { display: none; }
.is-intro .curtain { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.curtain__bg { position: absolute; inset: 0; background: var(--c-bg); }
.curtain__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-en); font-weight: 900; font-size: clamp(40px, 11vw, 150px); color: #fff; white-space: nowrap; transform-origin: 0 0; }
.is-intro .logo { opacity: 0; }

/* ===== メインビジュアル ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--c-bg); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 24, .2) 0%, rgba(7, 11, 24, .45) 45%, rgba(7, 11, 24, .95) 100%); }
.hero__copy { position: relative; z-index: 1; max-width: none; padding-top: 140px; padding-bottom: 72px; }
.hero__en { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .2em; color: var(--c-cyan); }
.hero__title { font-weight: 900; font-size: clamp(52px, 11vw, 168px); line-height: 1.08; letter-spacing: -.02em; color: #fff; margin: 12px 0 20px; }
.hero__lead { color: #e6ecfa; margin-bottom: 28px; font-size: 16px; }
@media (min-width: 1080px) { .hero__lead { font-size: 18px; } }

/* ===== 区切りと E05 の見出し ===== */
.sec { padding: 112px 0; }
.hd { position: relative; margin-bottom: 36px; }
.hd__script { display: block; width: min(92%, 520px); height: auto; margin-bottom: -10px; overflow: visible; }
@media (min-width: 900px) { .hd__script { margin-bottom: -26px; } }
.hd__script text { font-family: var(--font-script); font-size: 150px; fill: var(--c-cyan); stroke: var(--c-cyan); stroke-width: 1.5; }
.hd__sticker { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--c-cyan); color: var(--c-bg); font-family: var(--font-en); font-weight: 900; font-size: 16px; transform: rotate(-12deg); }
@media (min-width: 900px) { .hd__sticker { right: auto; left: 560px; width: 84px; height: 84px; font-size: 18px; } }
.hd__ja { position: relative; font-weight: 900; font-size: clamp(40px, 8.4vw, 116px); line-height: 1.12; letter-spacing: -.02em; color: #fff; }
/* 動く版：線で一筆書き→塗る→シールが弾む */
.is-motion .hd__script text { fill-opacity: 0; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.is-motion .hd__sticker { transform: scale(0) rotate(-12deg); }
.is-motion .hd.is-drawn .hd__script text { animation: draw 1.4s cubic-bezier(.6, 0, .3, 1) forwards, fillin .4s 1.1s forwards; }
.is-motion .hd.is-drawn .hd__sticker { animation: pop .5s 1.3s cubic-bezier(.3, 1.8, .5, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
@keyframes pop { to { transform: scale(1) rotate(-12deg); } }

/* ===== B05：積み重なるカード ===== */
.services { padding-bottom: 64px; }
.stack { padding: 0 12px; }
.card { position: sticky; top: calc(var(--head) + 16px + var(--i) * 20px); min-height: 440px; margin-bottom: 40px; border-radius: 24px; padding: 36px 20px 40px var(--gutter); overflow: hidden; transform-origin: 50% 0; }
.card:nth-child(1) { --i: 0; background: var(--c-navy); color: var(--c-on-dark); }
.card:nth-child(2) { --i: 1; background: var(--c-blue); color: #fff; }
.card:nth-child(3) { --i: 2; background: var(--c-cyan); color: var(--c-bg); }
.card:nth-child(4) { --i: 3; background: var(--c-light); color: var(--c-text); }
.card__no { font-family: var(--font-en); font-weight: 900; font-size: clamp(56px, 10vw, 140px); line-height: 1; opacity: .9; }
.card:nth-child(1) .card__no { color: var(--c-cyan); }
.card:nth-child(4) .card__no { color: var(--c-accent-text); }
.card h3 { font-weight: 900; font-size: clamp(32px, 6vw, 72px); line-height: 1.2; margin: 12px 0 14px; }
.card:nth-child(1) h3 { color: #fff; }
.card:nth-child(3) h3, .card:nth-child(4) h3 { color: var(--c-bg); }
.card > p { max-width: 760px; }
.card__tag { margin-top: 20px; font-weight: 700; font-size: 15px; }
.card__img { width: 100%; max-width: 760px; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
@media (min-width: 1080px) { .stack { padding: 0 24px; } .card { min-height: 520px; padding-top: 48px; } .card > p { font-size: 18px; } }

/* ===== 実績（scroll-snap・画面の端から端まで） ===== */
.works__lead { color: var(--c-on-dark); }
.works__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 20px var(--gutter); scroll-padding-left: var(--gutter); margin-top: 24px; scrollbar-color: var(--c-blue) transparent; }
.work { flex: 0 0 84vw; max-width: 760px; scroll-snap-align: start; background: var(--c-navy); border-radius: 16px; overflow: hidden; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work__body { padding: 20px 22px 26px; }
.work__cat { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .12em; color: var(--c-cyan); }
.work h3 { font-weight: 900; font-size: 22px; color: #fff; margin: 4px 0 6px; }
@media (min-width: 1080px) { .work { flex-basis: 46vw; } }
.works__btns { display: none; gap: 12px; margin-top: 8px; }
.is-js .works__btns { display: flex; }
.arrow { width: 56px; height: 56px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .45); background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .2s; }
.arrow:hover, .arrow:focus-visible { background: var(--c-blue); }
.arrow svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: square; }

/* ===== 数字（明るい区切り） ===== */
.numbers { background: var(--c-light); color: var(--c-text); padding: 96px 0; }
.numbers__list li { padding: 24px 0; border-bottom: 2px solid var(--c-bg); font-weight: 700; color: var(--c-text); }
.numbers__list li:first-child { border-top: 2px solid var(--c-bg); }
.numbers__n { display: block; font-family: var(--font); font-weight: 900; font-size: clamp(64px, 14vw, 180px); line-height: 1; color: var(--c-accent-text); }
.numbers__n small { font-family: var(--font); font-size: .3em; margin-left: .2em; color: var(--c-bg); }

/* ===== 進め方と費用 ===== */
.flow__list { counter-reset: f; border-left: 2px solid var(--c-blue); margin-left: 8px; }
.flow__list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 0 0 32px 20px; position: relative; }
.flow__list li::before { content: ""; position: absolute; left: -9px; top: 10px; width: 16px; height: 16px; background: var(--c-cyan); }
.flow__list span { font-family: var(--font-en); font-weight: 900; font-size: 22px; color: var(--c-cyan); }
.flow__list h3 { font-weight: 900; font-size: 22px; color: #fff; }
.price { margin: 32px 0 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.price div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.price dt { font-weight: 700; color: #fff; }
.price dd { font-weight: 700; color: var(--c-cyan); white-space: nowrap; }

.band img { width: 100%; height: 56vh; min-height: 300px; object-fit: cover; }

/* ===== 相談 ===== */
.contact { background: var(--c-blue); color: #fff; padding: 104px 0 112px; }
.contact .hd__script text { fill: var(--c-bg); stroke: var(--c-bg); }
.contact .hd__sticker { background: #fff; }
.contact .btn { margin-top: 28px; }
.contact__tel { margin-top: 20px; font-weight: 700; }
/* 「話しましょう。」の7文字が760pxの列に1行で入る大きさに（PCで「う。」だけ次の行に落ちた） */
.hd--contact .hd__ja { font-size: clamp(40px, 8.4vw, 104px); }

.footer { background: var(--c-bg); color: var(--c-on-dark); padding: 64px 0 32px; font-size: 15px; }
.footer__logo { font-family: var(--font-en); font-weight: 900; font-size: clamp(40px, 10vw, 120px); line-height: 1; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 20px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 16px; }

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