@charset "utf-8";

/* ==========================================================================
   合同会社OJO コーポレートサイト
   デザイン「案H」の実装。デザインは1440px固定のアートボードだったため、
   タイポグラフィと余白を clamp() で流動化し、4段階のブレークポイントを持たせている。
   ========================================================================== */

:root {
  /* 配色 */
  --bg:        #F6F3EC;
  --ink:       #191A17;
  --ink-2:     #5A5750;
  --ink-3:     #6E6A61;
  --label:     #8F8B80;
  --amber:     #FFAF00;
  --amber-2:   #FFCE63;
  --amber-ink: #7A5600;
  --hover:     #A16A00;
  --line:      #C9C2B2;
  --line-2:    #D9D3C6;
  --sand:      #E6DFD1;
  --band:      #ECE6D8;

  /* 余白 */
  --pad: clamp(20px, 4.2vw, 60px);
  --max: 1440px;
  --gap-section: clamp(64px, 7.2vw, 104px);

  /* 和文はApple端末のヒラギノを優先し、それ以外は Zen Kaku Gothic New（SIL OFL）*/
  --font: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN",
          "Hiragino Sans", "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 余白は各コンポーネント側で明示するため、既定のマージンは持たせない */
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hover); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- 骨格 */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-top: var(--gap-section); }

/* 背景色を切り替えて、内容の切り替わりを分かりやすくする帯。
   前のセクションに直接つなげないと、色の変わり目が境界として読めない */
.section--band {
  background: var(--band);
  padding-block: clamp(52px, 5.4vw, 78px);
  margin-top: clamp(52px, 5.4vw, 78px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--band + .section { padding-top: clamp(52px, 5.4vw, 78px); }

/* --------------------------------------------------------------- 文字 */

.lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--label);
}

.h1 {
  font-size: clamp(32px, 4.6vw, 66px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.015em;
  margin: 0;
}
.h2 {
  font-size: clamp(24px, 3.05vw, 44px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.012em;
  margin: 0;
}
.h3 {
  font-size: clamp(21px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.01em;
  margin: 0;
}
.lead {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
}
.num {
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.marker {
  background: linear-gradient(transparent 72%, var(--amber-2) 72%, var(--amber-2) 96%, transparent 96%);
  padding: 0 .04em;
}

/* --------------------------------------------------------------- ボタン */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--dark  { background: var(--ink); color: var(--bg); padding: 17px 34px; }
.btn--dark:hover  { background: #33342F; color: var(--bg); }
.btn--amber { background: var(--amber); color: var(--ink); padding: 14px 30px; }
.btn--amber:hover { background: var(--amber-2); color: var(--ink); }
.btn--line  { border-color: var(--line); color: var(--ink); }
.btn--line:hover  { border-color: var(--ink); color: var(--ink); }
.btn__arrow { display: inline-block; }

/* --------------------------------------------------------------- ヘッダー */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.logo__text { font-size: 17px; font-weight: 700; letter-spacing: .2em; }

.gnav { display: flex; gap: 32px; align-items: center; }
.gnav a.lbl { color: var(--ink); }
.gnav a.lbl:hover { color: var(--hover); }
.gnav__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--bg);
  background: var(--ink);
  padding: 12px 26px;
  border-radius: 999px;
  white-space: nowrap;
}
.gnav__cta:hover { background: #33342F; color: var(--bg); }

/* ハンバーガー：デスクトップでは隠す */
.navtoggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.navtoggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: background-color .2s ease;
}
.navtoggle span::before,
.navtoggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform .25s ease;
}
.navtoggle span::before { top: -7px; }
.navtoggle span::after  { top: 7px; }
.navtoggle[aria-expanded="true"] span { background: transparent; }
.navtoggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- ヒーロー */

.hero { position: relative; overflow: hidden; }
/* padding ショートハンドは .container の左右余白を打ち消すため、padding-block を使う */
.hero__inner { position: relative; padding-block: 40px 56px; }
.hero__text { position: relative; max-width: 700px; }
.hero__lead { margin-top: 26px; max-width: 450px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__art {
  position: relative;
  margin: 40px auto 0;
  width: min(78vw, 340px);
  aspect-ratio: 1;
}
.mission {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* 円が小さい幅では内側の余白を詰めないと、文字が途中で折り返してしまう */
  padding-inline: 22px;
}
.mission__lbl { color: var(--amber-ink); }
.mission__copy {
  /* 3行に収める。円の内寸に対して大きすぎると余計な折り返しが出る */
  font-size: clamp(15px, 5vw, 22px);
  font-weight: 700;
  line-height: 2.05;
  letter-spacing: -.005em;
  margin-top: 12px;
}
/* 円の縁にまたがる装飾。円の内側に完全に収まっていると、
   ただの描画ミスに見えてしまうため縁を跨がせる */
.hero__ring { display: none; }

/* --------------------------------------------------------------- 媒体マーキー */

.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding: 20px 0;
  margin-top: clamp(32px, 4vw, 0px);
  overflow: hidden;
}
.marquee__viewport { display: flex; width: 100%; }
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee__track > span {
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.marquee__track > i {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); flex: 0 0 auto;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__viewport { overflow-x: auto; }
}

/* --------------------------------------------------------------- 見出しブロック */

/* セクションの始まりを示す目印。細い線では弱かったので塗りのブロックにした */
.headline__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--amber);
  color: var(--ink);
  padding: 7px 15px;
  letter-spacing: .2em;
}

.headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(20px, 4.4vw, 64px);
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 2px solid var(--ink);
}
.headline__title { margin-top: 8px; }
.headline__lead { padding-bottom: 6px; }

/* --------------------------------------------------------------- サービス */

.svc { padding-top: clamp(40px, 3.9vw, 56px); }
/* 2つ目以降は上の余白が広い */
.svc ~ .svc { padding-top: clamp(56px, 5.6vw, 80px); }
.svc__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 4.4vw, 64px);
  margin-top: 12px;
  align-items: center;
}
.svc--flip .svc__body { grid-template-columns: 320px minmax(0, 1fr); }
.svc--flip .svc__art  { order: -1; }
.svc__desc { margin-top: 16px; max-width: 560px; }
.svc__link { margin-top: 24px; }
.svc__label { display: flex; align-items: center; gap: 14px; }
.tag-new {
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  background: var(--amber); color: var(--ink);
  padding: 4px 12px; line-height: 1.6;
}

/* 円のグラフィック。--size で全体を拡縮する */
.svc__art { position: relative; height: calc(var(--size) + 20px); --size: 280px; }
.disc {
  position: absolute; top: 10px;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  background: var(--sand);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding-inline: 8%;
}
.disc--dark { background: var(--ink); color: var(--bg); }
.disc--dark .lbl { color: var(--label); }
.disc__num { display: flex; align-items: baseline; gap: 3px; }
.disc__num .num { font-size: calc(var(--size) * .264); line-height: 1; }
.disc__unit { font-size: calc(var(--size) * .104); font-weight: 700; }
.disc__note { font-size: 12.5px; color: var(--ink-3); line-height: 1.8; }
.disc--dark .disc__note { color: var(--line); }
.disc__copy {
  font-size: calc(var(--size) * .082);
  font-weight: 700;
  line-height: 1.9;
  margin-top: 6px;
}
.disc__sub {
  position: absolute; top: calc(var(--size) * .464);
  width: calc(var(--size) * .5); height: calc(var(--size) * .5);
  border-radius: 50%; background: var(--amber); opacity: .3;
}
/* 円は左右交互。右寄せが既定、--flip 側で左寄せにする */
.svc__art .disc     { right: 0; }
.svc__art .disc__sub{ right: calc(var(--size) * .786); }
.svc--flip .svc__art .disc      { left: 0; right: auto; }
.svc--flip .svc__art .disc__sub { left: calc(var(--size) * .714); right: auto; }

/* A / B の要点 */
.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0px, 3.9vw, 56px);
  margin-top: 24px;
  padding-top: 8px;
}
.point {
  display: flex; gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
}
.badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; font-size: 12px; font-weight: 700;
}
.point__title { font-size: 18px; font-weight: 700; line-height: 1.7; }
.point__desc  { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }

/* --------------------------------------------------------------- バリュー */

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 2.4vw, 34px);
  margin-top: 40px;
}
.value__num {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.value__title { font-size: 20px; font-weight: 700; margin-top: 16px; }
.value__desc  { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }

/* --------------------------------------------------------------- 実績 */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.stat__row { display: flex; align-items: baseline; gap: 4px; }
.stat__row .num { font-size: clamp(30px, 2.6vw, 36px); }
.stat__unit { font-size: 18px; font-weight: 700; }
.stat__note { font-size: 12.5px; color: var(--ink-3); line-height: 1.8; }

/* --------------------------------------------------------------- CTA */

.cta {
  position: relative;
  margin-top: var(--gap-section);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding-block: clamp(56px, 6.7vw, 96px) clamp(60px, 6.9vw, 100px);
}
.cta__disc {
  position: absolute; right: -140px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: var(--amber);
}
.cta__ring {
  position: absolute; right: 300px; bottom: -160px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid #45484A;
}
.cta__inner { position: relative; max-width: 720px; }
.cta__lbl { color: var(--ink); }
.cta__title {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.015em;
  margin-top: 14px;
}
.cta__desc { font-size: 14.5px; color: #A9AEB0; margin-top: 18px; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn--light { background: var(--bg); color: var(--ink); padding: 17px 36px; }
.btn--light:hover { background: #FFFFFF; color: var(--ink); }
.btn--ghost { color: var(--bg); border-color: #4B4E50; padding: 16px 34px; }
.btn--ghost:hover { color: var(--bg); border-color: var(--bg); }

/* --------------------------------------------------------------- フッター */

.footer { padding-block: clamp(48px, 5.4vw, 72px) 44px; }
.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.9vw, 56px);
  align-items: start;
}

.newsitem {
  display: flex; gap: 20px; align-items: baseline;
  margin-top: 12px; padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.newsitem__date { font-size: 12.5px; color: var(--label); letter-spacing: 0; flex: 0 0 auto; }
.newsitem__title { font-size: 16px; font-weight: 700; }

.deflist { margin-top: 12px; border-top: 1px solid var(--ink); font-size: 13.5px; }
.deflist__row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px;
  padding: 9px 0; border-bottom: 1px solid var(--line-2);
}
.deflist__row:last-child { border-bottom: 0; }
.deflist__key { color: var(--label); }

.footer__nav {
  display: flex; flex-wrap: wrap; gap: 4px 28px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}
/* 指で押せる高さを確保する（文字だけだと21pxしかない） */
.footer__nav a { color: var(--ink); padding-block: 10px; }
.footer__nav a:hover { color: var(--hover); }

.footer__bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-top: 28px;
}
.wordmark { display: flex; align-items: center; gap: clamp(10px, 1.1vw, 16px); }
.wordmark__mark {
  width: clamp(34px, 3.8vw, 56px); height: clamp(34px, 3.8vw, 56px);
  flex: 0 0 auto;
}
.wordmark__text {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 700; letter-spacing: .14em; line-height: 1;
  white-space: nowrap;
}

/* --------------------------------------------------------------- 出現アニメーション */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.4, .4, 0, 1), transform .7s cubic-bezier(.4, .4, 0, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   ブレークポイント（現行サイトに合わせて 1140 / 840 / 540）
   ========================================================================== */

@media (min-width: 1024px) {
  .hero__inner { min-height: 672px; padding-block: 0; }
  .hero__text { padding-top: clamp(64px, 6.9vw, 100px); }
  .hero__art {
    position: absolute;
    top: 40px;
    right: 0;
    margin: 0;
    width: min(600px, 44vw);
  }
  .mission { padding-inline: clamp(48px, 6.4vw, 92px); }
  .mission__copy { font-size: clamp(20px, 1.9vw, 26px); }
  .hero__ring {
    display: block;
    position: absolute;
    left: 0;
    bottom: 8%;
    width: 30%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    opacity: .55;
  }
  .marquee { margin-top: 0; }
}

@media (min-width: 1300px) {
  /* アートボードどおり、円を画面端へ少しはみ出させる */
  .hero__art { right: -56px; }
}

@media (max-width: 1139px) {
  .svc__art { --size: 240px; }
  .svc__body,
  .svc--flip .svc__body { grid-template-columns: minmax(0, 1fr) 260px; }
  .svc--flip .svc__body { grid-template-columns: 260px minmax(0, 1fr); }
}

@media (max-width: 1023px) {
  .gnav { display: none; }
  .navtoggle { display: flex; }

  .headline { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .headline__lead { padding-bottom: 0; }

  .svc__body,
  .svc--flip .svc__body { grid-template-columns: minmax(0, 1fr); }
  .svc__art { --size: 260px; order: 0; margin: 8px auto 0; width: 100%; max-width: 420px; }
  .svc--flip .svc__art { order: 0; }
  /* 大きい円と副円を合わせた全体を中央に置く。
     大きい円だけを中央にすると、副円が画面外へはみ出す */
  .svc__art .disc,
  .svc--flip .svc__art .disc {
    left: 50%; right: auto;
    transform: translateX(calc(-50% + var(--size) * .143));
  }
  .svc__art .disc__sub,
  .svc--flip .svc__art .disc__sub {
    left: 50%; right: auto;
    margin-left: calc(var(--size) * -.643);
  }

  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  /* 装飾の円が本文に重なると読めなくなるため、下部の余白側へ逃がす */
  .cta { padding-bottom: 168px; }
  .cta__ring { display: none; }
  .cta__disc {
    top: auto; bottom: -150px; right: -90px;
    width: 280px; height: 280px;
  }
}

@media (max-width: 767px) {
  body { font-size: 14.5px; line-height: 1.95; }
  .points { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .hero__lead { max-width: none; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .marquee__track { gap: 28px; padding-right: 28px; }
  .footer__inner { justify-content: flex-start; }
}

@media (max-width: 539px) {
  /* 円が小さくなるぶん、内側の余白をさらに詰めて3行に収める */
  .mission { padding-inline: 16px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .svc__art { --size: 210px; }
  .deflist__row { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .newsitem { flex-direction: column; gap: 2px; }
  .footer__nav { gap: 14px 18px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta__disc { right: -120px; }
}

/* --------------------------------------------------------------- スマホメニュー */

.mobilenav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s cubic-bezier(.4, .4, 0, 1), visibility 0s linear .3s;
  overflow-y: auto;
}
.mobilenav.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s cubic-bezier(.4, .4, 0, 1), visibility 0s linear 0s;
}
.mobilenav__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 112px var(--pad) 56px;
}
.mobilenav__inner a {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.mobilenav__inner a:last-child { border-bottom: 0; }
.mobilenav__sub {
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-top: 12px;
}
/* メニューを開いている間もハンバーガーが押せるよう、ヘッダーを前面に置く */
.header { position: relative; z-index: 110; }

@media (min-width: 1024px) {
  .mobilenav { display: none; }
}

/* ==========================================================================
   下層ページ用の部品
   ========================================================================== */

/* --------------------------------------------------------------- ページ見出し */

.phero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  padding-block: clamp(48px, 6vw, 88px) clamp(44px, 5.4vw, 76px);
}
.phero__inner { position: relative; max-width: 820px; }
.phero__title {
  font-size: clamp(38px, 6.2vw, 88px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-top: 14px;
}
.phero__sub { font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; margin-top: 10px; }
.phero__lead { margin-top: 22px; max-width: 620px; }
.phero__disc {
  position: absolute;
  right: -90px; top: -70px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--amber);
  opacity: .18;
}
@media (max-width: 767px) { .phero__disc { width: 210px; height: 210px; right: -70px; top: -60px; } }

/* --------------------------------------------------------------- パンくず */

.breadcrumb { padding-block: 10px; font-size: 12px; color: var(--ink-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb a, .breadcrumb [aria-current] { display: inline-block; padding-block: 9px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a:hover { color: var(--hover); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------- 長文 */

.prose { max-width: 760px; font-size: 15px; }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 44px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose ul { display: flex; flex-direction: column; gap: 4px; }
.prose li { color: var(--ink-2); padding-left: 20px; position: relative; }
.prose li::before {
  content: ""; position: absolute; left: 4px; top: .95em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- 一覧 */

.list { border-top: 1px solid var(--ink); }
.list__item {
  display: grid;
  grid-template-columns: 110px 150px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
}
.list__date { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.list__cat {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  background: var(--sand); color: var(--ink);
  padding: 4px 12px; justify-self: start; line-height: 1.6;
}
.list__title { font-size: 17px; font-weight: 700; line-height: 1.7; }
.list__item:hover .list__title { color: var(--hover); }
@media (max-width: 767px) {
  .list__item { grid-template-columns: auto 1fr; gap: 8px 14px; }
  .list__title { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------- カード列 */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
  margin-top: 40px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: clamp(24px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 10px;
}
.section--band .card { background: #FBF9F4; }
.card__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-bottom: 4px;
}
.card__title { font-size: 18px; font-weight: 700; line-height: 1.7; }
.card__desc { font-size: 13.5px; color: var(--ink-3); }
/* 4枚のときは 3+1 で割れるより 2×2 のほうが収まりが良い */
.cards--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px)  { .cards { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- 進め方（縦の流れ） */

.flow { margin-top: 40px; display: flex; flex-direction: column; }
.flow__step {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: 28px 0;
  border-top: 1px solid var(--ink);
}
.flow__step:last-child { border-bottom: 1px solid var(--ink); }
.flow__no { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--label); }
.flow__title { font-size: 20px; font-weight: 700; line-height: 1.6; }
.flow__desc { font-size: 14px; color: var(--ink-3); margin-top: 6px; max-width: 720px; }
@media (max-width: 639px) { .flow__step { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* --------------------------------------------------------------- 定義表（会社概要） */

.table { border-top: 1px solid var(--ink); margin-top: 32px; }
.table__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
}
.table__key { color: var(--ink-3); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
@media (max-width: 639px) { .table__row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* --------------------------------------------------------------- フォーム */

.form { max-width: 720px; margin: 40px auto 0; }
.form__field { display: block; margin-bottom: 26px; }
.form__label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.form__name { font-size: 14px; font-weight: 700; }
.form__req {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  background: var(--amber); color: var(--ink); padding: 3px 8px; line-height: 1.6;
}
.form__opt {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  border: 1px solid var(--line); color: var(--ink-3); padding: 2px 8px; line-height: 1.6;
}
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: #FDFCF9;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { min-height: 190px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 175, 0, .28);
}
.form ::placeholder { color: #A9A499; }
.form__select { position: relative; }
.form__select select { appearance: none; padding-right: 44px; }
.form__select::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); pointer-events: none;
}
.form__consent {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; margin: 32px 0;
  padding: 20px; border: 1px solid var(--line-2); background: #FDFCF9; border-radius: 6px;
}
.form__consent input { width: 20px; height: 20px; margin-top: 4px; flex: 0 0 auto; accent-color: var(--amber); }
.form__consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__submit { display: flex; justify-content: center; }
.form__submit .btn { min-width: 280px; justify-content: center; }
.form__error {
  margin-bottom: 26px; padding: 16px 20px;
  border: 1px solid #B4462F; background: #FBEFEC; color: #B4462F;
  font-size: 14px; border-radius: 6px;
}
.form__note { font-size: 13px; color: var(--ink-3); margin-top: 18px; text-align: center; }

/* --------------------------------------------------------------- 完了・エラー画面 */

.result { max-width: 640px; margin-inline: auto; text-align: center; padding-block: clamp(40px, 6vw, 80px); }
.result__mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--amber); margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700;
}
.result__title { font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; line-height: 1.6; }
.result__desc { font-size: 15px; color: var(--ink-2); margin-top: 18px; }
.result__actions { margin-top: 36px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------- ミッション表示 */

.mission-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4.4vw, 64px);
  margin-top: 44px;
  align-items: start;
}
.mission-block__copy { line-height: 1.6; }
.mission-block__text { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
@media (max-width: 1023px) { .mission-block { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- 媒体一覧 */

.medialist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.medialist span {
  font-size: 14px; font-weight: 700;
  background: #FBF9F4; border: 1px solid var(--line-2);
  padding: 9px 18px; border-radius: 999px;
}

/* --------------------------------------------------------------- サービス詳細 */

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4.4vw, 64px); align-items: center; }
.detail__text { display: flex; flex-direction: column; gap: 20px; }
.detail__text .lead { font-size: 16px; line-height: 2.05; }
@media (max-width: 1023px) {
  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail .svc__art { margin: 8px auto 0; width: 100%; max-width: 420px; }
}

/* --------------------------------------------------------------- 想定される課題 */

.issues { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.issue {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-top: 1px solid var(--line-2);
  font-size: 15.5px; font-weight: 700; line-height: 1.8;
}
.issue:last-child { border-bottom: 1px solid var(--line-2); }
.issue::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber); flex: 0 0 auto; margin-top: .6em;
}

/* --------------------------------------------------------------- 記事 */

.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.article__title {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.015em;
  margin-top: 14px;
}
.article__back { margin-top: 48px; }

.link-underline { text-decoration: underline; text-underline-offset: 3px; }
