/* 079 橙経営研究所 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #111111;
  --c-paper: #f3ede4;
  --c-amber: #f2a33a;
  --c-orange: #ff6a13;
  --c-cream: #efe7da;
  --c-light: #bdb5a8;
  --c-accent-text: #a14a06;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: rgba(239, 231, 218, .18);
  --font: "Noto Sans JP", sans-serif;
  --font-ja: "Kaisei Tokumin", serif;
  --font-en: "Instrument Serif", serif;
  --col: 760px;
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.95; letter-spacing: .03em; color: var(--c-cream); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

/* スマホのまま横に延長：文字の列は最大 760px、写真と帯は端まで */
.col { width: 100%; max-width: calc(var(--col) + 40px); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.en { font-family: var(--font-en); font-size: 24px; color: var(--c-amber); margin-bottom: 4px; }
.en--paper { color: var(--c-accent-text); }
.h2 { font-family: var(--font-ja); font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: 1.2; color: #fff; margin-bottom: 40px; }
.h2--paper { color: var(--c-bg); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-weight: 700; text-decoration: none; letter-spacing: .06em; white-space: nowrap; flex: none; transition: background-color .2s, color .2s; }
.btn--amber { background: var(--c-amber); color: var(--c-bg); }
.btn--amber:hover, .btn--amber:focus-visible { background: #fff; }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 18px; }

/* ===== ヘッダー（最小。どの幅でも三本線） ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(17, 17, 17, .9); border-bottom: 1px solid var(--c-line); color: #fff; }
.header__inner { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; white-space: nowrap; flex: none; }
.logo__mark { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--c-amber) 50%, var(--c-orange) 50%); }
.logo__ja { font-family: var(--font-ja); font-weight: 800; font-size: 20px; letter-spacing: .06em; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (min-width: 1080px) { .header__inner { height: 80px; padding: 0 40px; } }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; }
.spmenu summary::-webkit-details-marker { 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: 26px; height: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -8px; } .spmenu__bar::after { top: 8px; }
.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); padding: 8px max(20px, calc(50% - var(--col) / 2)) 28px; display: flex; flex-direction: column; border-bottom: 2px solid var(--c-amber); }
.spmenu__nav a { display: flex; align-items: center; min-height: 56px; color: #fff; font-family: var(--font-ja); font-weight: 800; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--c-line); }

/* ===== メインビジュアル：タイポ＋A11 ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 200px; overflow: hidden; background: radial-gradient(ellipse at 70% 40%, #2a1a0c 0%, var(--c-bg) 60%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner { position: relative; z-index: 1; width: 100%; padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.hero__en { font-family: var(--font-en); font-size: 26px; color: var(--c-amber); }
.hero__title { font-family: var(--font-ja); font-weight: 800; font-size: clamp(88px, 21vw, 300px); line-height: 1.02; letter-spacing: -.02em; color: var(--c-cream); margin: 12px 0 28px; }
.hero__title span { display: block; }
.hero__title span + span { color: var(--c-amber); }
.hero__lead { max-width: 34em; font-size: 17px; color: var(--c-cream); }
.is-motion .hero__title { transition: color .9s var(--ease), opacity .9s; }
.is-motion .hero__title.is-wait { color: transparent; }
.is-motion .hero__title.is-wait span + span { color: transparent; }
@media (min-width: 1080px) { .hero__inner { padding: 0 64px; } .hero { padding-bottom: 120px; } }

/* E07：円に沿って並ぶ文字（回るのは動く版だけ） */
.ring { position: absolute; display: block; width: 160px; height: 160px; border-radius: 50%; text-decoration: none; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring text { font-family: var(--font); font-weight: 700; font-size: 19px; letter-spacing: .1em; fill: var(--c-amber); }
.ring circle { fill: var(--c-amber); transition: fill .2s; }
.ring__arrow { fill: none; stroke: var(--c-bg); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ring:hover circle, .ring:focus-visible circle { fill: #fff; }
.ring__rot { transform-origin: 100px 100px; }
.is-motion .ring__rot { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring--hero { z-index: 2; right: 20px; bottom: 28px; }
@media (min-width: 1080px) { .ring { width: 190px; height: 190px; } .ring--hero { right: 64px; bottom: auto; top: 120px; } }

/* ===== 3つの約束 ===== */
.promise { padding: 120px 0; border-top: 1px solid var(--c-line); }
.promises li { padding: 36px 0; border-top: 1px solid var(--c-line); display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; }
.promises__no { grid-row: span 2; font-family: var(--font-en); font-size: 76px; line-height: .9; color: var(--c-amber); }
.promises h3 { font-family: var(--font-ja); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.4; color: #fff; }
.promises p:last-child { color: var(--c-light); }

/* ===== C05：雑誌の見開き（紙色） ===== */
.method { background: var(--c-paper); color: var(--c-text); padding: 120px 0 96px; overflow: hidden; }
.method__hint { margin-top: -24px; font-size: 15px; color: var(--c-sub); }
.method__viewport { overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 40px; padding-bottom: 16px; }
.method__track { display: flex; width: max-content; gap: 20px; padding: 0 20px; }
.spread { width: 86vw; max-width: 1200px; flex: none; scroll-snap-align: center; display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid #ddd3c4; }
.spread > * { min-width: 0; }
.spread__photo { margin: 0; overflow: hidden; order: -1; }
.spread__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spread__text { padding: 28px 24px 36px; display: grid; grid-template-columns: auto 1fr; gap: 0 20px; align-items: start; }
.spread__no { grid-column: 1 / -1; font-family: var(--font-en); font-size: 22px; color: var(--c-accent-text); margin-bottom: 12px; }
.spread__title { writing-mode: vertical-rl; font-family: var(--font-ja); font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: 1.2; letter-spacing: .08em; color: var(--c-bg); }
.spread__text p:last-child { font-size: 17px; color: var(--c-text); }
@media (min-width: 900px) {
  .spread { width: 84vw; grid-template-rows: none; grid-template-columns: 1fr 1fr; min-height: 70vh; }
  .spread__photo { order: 0; }
  .spread__photo img { height: 100%; aspect-ratio: auto; }
  .spread--rev .spread__photo { order: -1; }
  .spread__text { padding: 56px 48px; grid-template-columns: auto 1fr; align-content: center; border-right: 1px solid #ddd3c4; }
  .spread__text p:last-child { font-size: 18px; padding-top: 8px; }
}
/* 動く版（PCだけ）：縦スクロールで見開きが横へ流れる */
.is-motion-pc .method { height: 100vh; padding: 0; display: flex; flex-direction: column; justify-content: center; }
.is-motion-pc .method__head { margin-left: 64px; margin-right: 0; max-width: none; }
.is-motion-pc .method__head .h2 { margin-bottom: 16px; font-size: 52px; }
.is-motion-pc .method__hint { margin-top: 0; }
.is-motion-pc .method__viewport { overflow: visible; scroll-snap-type: none; margin-top: 24px; }
.is-motion-pc .method__track { padding: 0 64px; gap: 48px; }
.is-motion-pc .spread { min-height: 0; height: calc(100vh - 300px); width: 72vw; }

/* ===== 支援の事例（スライド） ===== */
.cases { padding: 120px 0; overflow: hidden; }
.case { background: #1b1b1b; border-top: 3px solid var(--c-amber); }
.case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case__body { padding: 24px 24px 32px; }
.case__tag { font-size: 15px; color: var(--c-amber); font-weight: 700; }
.case h3 { font-family: var(--font-ja); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.4; color: #fff; margin: 8px 0 12px; }
.case__body > p:nth-of-type(2) { color: var(--c-light); }
.case__num { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--c-line); color: var(--c-light); font-size: 15px; }
.case__num span { display: block; font-family: var(--font-en); font-size: 56px; line-height: 1; color: var(--c-amber); }
.cases__note { margin-top: 24px; font-size: 15px; color: var(--c-light); }
.slider { margin-top: 0; }
.slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 16px; }
.slider__track { display: flex; gap: 16px; width: max-content; }
.slider__item { width: 84vw; max-width: 620px; flex: none; scroll-snap-align: center; }
.slider.is-swiper .slider__viewport { overflow: hidden; scroll-snap-type: none; padding: 0 20px; }
.slider.is-swiper .slider__track { gap: 0; width: auto; }
.slider.is-swiper .slider__item { width: auto; max-width: none; }
.slider__ctrl { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.slider__ctrl[hidden] { display: none; }
.slider__arrow { width: 56px; height: 56px; border: 2px solid var(--c-amber); background: transparent; color: var(--c-amber); cursor: pointer; position: relative; transition: background-color .2s, color .2s; }
.slider__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translate(-65%, -50%) rotate(45deg); }
.slider__prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.slider__arrow:hover, .slider__arrow:focus-visible { background: var(--c-amber); color: var(--c-bg); }
.slider__arrow.swiper-button-disabled { opacity: .3; }
.slider__dots, .slider__dots.swiper-pagination-horizontal { position: static; width: auto; transform: none; } 
.slider__dots { display: flex; }
.slider__dots .swiper-pagination-bullet { width: 36px; height: 44px; margin: 0 !important; background: transparent; opacity: 1; border-radius: 0; position: relative; }
.slider__dots .swiper-pagination-bullet::before { content: ""; position: absolute; left: 6px; right: 6px; top: 20px; height: 4px; background: #444; }
.slider__dots .swiper-pagination-bullet-active::before { background: var(--c-amber); }

/* ===== 料金（紙色） ===== */
.price { background: var(--c-paper); color: var(--c-text); padding: 120px 0; }
.fees { margin: 0; border-top: 3px solid var(--c-bg); }
.fees div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid #d6cbbb; }
.fees dt { font-family: var(--font-ja); font-weight: 800; font-size: 22px; color: var(--c-bg); }
.fees dt small { display: block; font-family: var(--font); font-weight: 400; font-size: 15px; color: var(--c-sub); }
.fees dd { margin: 0; font-weight: 700; font-size: 19px; color: var(--c-accent-text); white-space: nowrap; }
.fees__note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }

/* ===== ご相談 ===== */
.contact { padding: 140px 0; position: relative; overflow: hidden; }
.contact__title { font-family: var(--font-ja); font-weight: 800; font-size: clamp(56px, 10vw, 124px); line-height: 1.1; color: #fff; }
.contact__lead { margin: 28px 0 36px; font-size: 18px; }
.contact__row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ring--contact { position: relative; }
.contact__tel { margin-top: 28px; color: var(--c-light); }
.contact__tel a { color: var(--c-amber); text-decoration: none; font-family: var(--font-en); font-size: 26px; }

.office { padding: 0 0 96px; }
.office__list { margin: 0; border-top: 1px solid var(--c-line); }
.office__list div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.office__list dt { color: var(--c-amber); font-weight: 700; font-size: 15px; }
.office__list dd { margin: 0; }
@media (min-width: 768px) { .office__list div { grid-template-columns: 7em 1fr; gap: 24px; } }

.footer { background: #000; color: var(--c-light); padding: 56px 0 32px; font-size: 15px; border-top: 2px solid var(--c-amber); }
.footer__logo { font-family: var(--font-ja); font-weight: 800; font-size: 28px; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 16px 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; }
}
