/* ============================================================
   宮島大輔 オフィシャルサイト — サイト共通部品
   base.css（マクロズWEBデザイン正典トークン）の上に載せる。
   base.css / fx.css は正典のコピー＝原則編集しない。
   ============================================================ */

/* ---------- テキストロゴ（画像ロゴ非保有） ---------- */
.logo-type {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px; letter-spacing: 0.18em;
  color: var(--white);
  white-space: nowrap;
}
.logo-type .g { color: var(--green); }
.site-footer .logo-type { font-size: 22px; }

/* ============================================================
   v8 — ビジュアル増強（正典モノクロ素材）
   正典（マクロズWEBデザイン正典）の写真素材は全て彩度ゼロのモノクロで、
   ネオングリーンは HTML の文字にしか乗らない。その構造をここでも守る。
   画像は assets/ph_*.jpg（黒地・3:1帯）と assets/band_light.jpg（白地）。
   ============================================================ */

/* ---------- ページヘッダー帯（下層6ページ） ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background-color: var(--bg-dark);
  padding: 168px 0 120px;
}
.page-hero > * { position: relative; z-index: 2; }
/* 画像レイヤー */
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: var(--ph-img) center/cover no-repeat;
  opacity: 0.92;
}
/* 暗幕レイヤー: 中央を沈めて見出しの可読性を確保し、下辺は本文の黒へ溶かす */
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(68% 78% at 50% 44%, rgba(14,0,0,0.88) 0%, rgba(14,0,0,0.34) 58%, rgba(14,0,0,0) 100%),
    linear-gradient(180deg, rgba(14,0,0,0.62) 0%, rgba(14,0,0,0) 24%, rgba(14,0,0,0.88) 86%, var(--bg-dark) 100%);
}
.page-hero .display-sub { color: rgba(255,255,255,0.86); }

.ph-profile     { --ph-img: url(assets/ph_profile.jpg); }
.ph-service     { --ph-img: url(assets/ph_service.jpg); }
.ph-price       { --ph-img: url(assets/ph_price.jpg); }
.ph-development { --ph-img: url(assets/ph_development.jpg); }
.ph-media       { --ph-img: url(assets/ph_media.jpg); }
.ph-contact     { --ph-img: url(assets/ph_contact.jpg); }

/* ---------- 区切り帯（黒地・粒子の波） ---------- */
.band {
  position: relative; height: 260px; overflow: hidden;
  background: var(--bg-dark) url(assets/band_wave.jpg) center/cover no-repeat;
}
.band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(14,0,0,0.15) 34%, rgba(14,0,0,0.20) 62%, var(--bg-dark) 100%);
}
/* 白セクションに隣接する場合は、その側を白へ溶かす */
.band--to-light::after {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(14,0,0,0.15) 38%, rgba(255,255,255,0.10) 78%, var(--bg-light) 100%);
}
.band--from-light::after {
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(255,255,255,0.10) 22%, rgba(14,0,0,0.15) 62%, var(--bg-dark) 100%);
}

/* ============================================================
   正典 philosophy.html の2つの差し込み型を移植
   ① .statement/.thirty … 対の大数字＋緑▼＋色付きアート2枚
      （正典で色を使うのはこの型だけ。寒色＝守り／暖色＝攻め の意味の対比装置）
   ② .summary … 左テキスト×右フルブリード モノクロCG
   寸法は正典CSSの実測値をそのまま踏襲（t-num 128px / tri 24px / col 497px ほか）
   ============================================================ */

/* ---------- ① 対の宣言ブロック ---------- */
.statement { text-align: center; padding: 150px 0 130px; }
.statement .jp-head {
  font-size: 34px; font-weight: 700; letter-spacing: 0.35em; text-indent: 0.35em;
  line-height: 1.2; color: var(--white);
}
.statement .en-sub {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 400;
  font-size: 28px; letter-spacing: 0.25em; line-height: 1.3;
  color: var(--green);
}
.thirty { display: flex; justify-content: center; gap: 5px; margin-top: 88px; }
.thirty .col { width: 497px; max-width: calc(50% - 3px); text-align: center; }
.thirty .t-head { font-size: 38px; letter-spacing: 0.22em; }
.thirty .t-num {
  font-family: var(--font-digital); font-style: italic;   /* 本物のDSEG7 */
  font-size: 128px; line-height: 1.0; letter-spacing: 0.02em; margin-top: 8px;
}
.thirty .tri-down {
  width: 0; height: 0; margin: 18px auto 0;
  border-left: 24px solid transparent; border-right: 24px solid transparent;
  border-top: 24px solid var(--green);
}
.thirty figure { margin-top: 34px; position: relative; }
.thirty img { width: 100%; aspect-ratio: 468 / 242; object-fit: cover; display: block; }
/* 正典の半透明キャプションカード */
.thirty figcaption {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.72); color: var(--text-dark);
  padding: 20px 26px; border-radius: 3px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em; line-height: 2.0;
}
.thirty .t-note {
  margin-top: 22px; font-size: 13px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.62);
}

/* ---------- ② 左テキスト × 右フルブリード（正典 .summary 型） ---------- */
.summary { background: #efefef; color: var(--text-dark); position: relative; overflow: hidden; }
.summary .inner { position: relative; min-height: 700px; padding: 110px 0 120px; }
.summary .photo {
  position: absolute; right: 0; top: 0;
  width: 1013px; max-width: 55vw; height: 100%;
  object-fit: cover; object-position: left center;
}
.summary .text {
  position: relative; z-index: 2;
  width: var(--container); max-width: calc(100% - 80px); margin: 0 auto;
}
.summary .lead {
  font-size: 27px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.78; color: #1a1a1a;
}
.summary .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); margin: 50px 0 0 190px; }
.summary .body {
  margin-top: 33px; width: 486px; max-width: 100%;
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em; line-height: 2.1; text-align: justify;
}
.summary .btn-wrap { margin-top: 44px; }

@media (max-width: 980px) {
  .statement { padding: 90px 0 80px; }
  .statement .jp-head { font-size: 22px; letter-spacing: 0.2em; text-indent: 0.2em; }
  .statement .en-sub { font-size: 19px; }
  .thirty { flex-direction: column; align-items: center; gap: 56px; margin-top: 56px; }
  .thirty .col { width: 100%; max-width: 480px; }
  .thirty .t-head { font-size: 26px; }
  .thirty .t-num { font-size: 84px; }
  .summary .inner { min-height: 0; padding: 0 0 70px; }
  .summary .photo { position: relative; width: 100%; max-width: 100%; height: 300px; margin-bottom: 44px; object-position: center; }
  .summary .lead { font-size: 20px; }
  .summary .dot { margin-left: 0; }
  .summary .body { width: 100%; }
}

/* ---------- 黒地セクション共通 ---------- */
.sec { text-align: center; padding: 120px 0 70px; }
.sec .display--lg { margin-bottom: 26px; }
.sec .display-sub { margin-bottom: 60px; }
.sec .body { font-size: 15px; font-weight: 500; letter-spacing: 0.18em; line-height: 2.55; }
.sec .btn-wrap { margin-top: 64px; }

/* ---------- DSEG7統計（純数字のみ.digital） ---------- */
.stats { display: flex; justify-content: center; gap: 110px; margin-top: 76px; }
.stat .num {
  font-size: 64px; line-height: 1.1; color: var(--green);
  letter-spacing: 0.04em;
}
.stat .num .unit {
  font-family: var(--font-body); font-size: 22px; font-weight: 700;
  color: var(--white); margin-left: 10px; letter-spacing: 0.1em;
}
.stat .cap { margin-top: 14px; font-size: 13.5px; font-weight: 500; letter-spacing: 0.22em; }

/* ---------- 引用ブロック（メディア見出し・本人の言葉） ---------- */
.quote { max-width: 860px; margin: 0 auto; }
.quote .q-body {
  font-size: 26px; font-weight: 700; letter-spacing: 0.12em; line-height: 2.0;
}
.quote .q-src {
  margin-top: 26px;
  font-family: var(--font-nav); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.55);
}
.on-light .quote .q-src { color: rgba(17,17,17,0.55); }

/* ---------- メディア実績 行リスト（白反転で使用） ---------- */
.media-rows { max-width: 980px; margin: 60px auto 0; text-align: left; }
.media-row {
  display: flex; align-items: baseline; gap: 26px;
  padding: 26px 6px; border-bottom: 1px solid rgba(17,17,17,0.14);
}
.media-row .date {
  font-family: var(--font-nav); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.08em; flex: none; width: 86px;
}
.media-row .cat {
  flex: none; width: 96px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--font-nav); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; line-height: 1; padding: 6px 0;
}
.media-row .cat.tv { background: var(--green); border-color: var(--green); color: var(--text-dark); }
.media-row .outlet { flex: none; width: 210px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.media-row .ttl { font-size: 15px; font-weight: 400; letter-spacing: 0.03em; line-height: 1.9; }
a.media-row { color: inherit; text-decoration: none; transition: background .2s; }
a.media-row:hover { background: rgba(17,17,17,0.04); }
a.media-row:hover .ttl { text-decoration: underline; }
.media-note {
  max-width: 980px; margin: 34px auto 0; text-align: left;
  font-size: 13px; letter-spacing: 0.06em; color: rgba(17,17,17,0.6);
}
.sec-light {
  background: var(--bg-light); color: var(--text-dark); padding: 120px 0 110px;
  position: relative; overflow: hidden;
}
/* 白セクションの上辺に、正典ハイキー素材を淡く敷いて“紙の白”に空気感を出す */
.sec-light::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 220px; z-index: 0;
  background: url(assets/band_light.jpg) center top/cover no-repeat;
  opacity: 0.7; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 100%);
}
.sec-light > * { position: relative; z-index: 1; }
.sec-light .display, .sec-light .display .g + * { }
.sec-light .display { color: var(--text-dark); }
.sec-light.center { text-align: center; }

/* ---------- Contact CTA帯（ページ末尾・全ページ共通の締め絵） ---------- */
.ctas {
  padding: 96px 0 76px;
  position: relative; overflow: hidden;
  background: var(--bg-dark) url(assets/ph_contact.jpg) center 40%/cover no-repeat;
}
.ctas::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(62% 74% at 50% 50%, rgba(14,0,0,0.86) 0%, rgba(14,0,0,0.40) 60%, rgba(14,0,0,0.10) 100%),
    linear-gradient(180deg, var(--bg-dark) 0%, rgba(14,0,0,0.30) 26%, rgba(14,0,0,0.55) 72%, var(--bg-dark) 100%);
}
.ctas > * { position: relative; z-index: 1; }

/* ---------- 白反転セクション上での色の読み替え ---------- */
/* ネオングリーン #01fe12 は白地でコントラストが取れないため、白地では深緑に落とす
   （v7.6 で .dev-links に採用済みの #068a10 を踏襲） */
.sec-light .stat .num { color: #068a10; }
.sec-light .stat .num .unit { color: var(--text-dark); }
.sec-light .stat .cap { color: rgba(17,17,17,0.72); }
.sec-light .svc-card { border-color: rgba(17,17,17,0.16); }
.sec-light .svc-card .en { color: #068a10; }
.sec-light .svc-card .badge { border-color: #068a10; color: #068a10; }
.sec-light .svc-note { color: rgba(17,17,17,0.62); }

/* ---------- サービスカード ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  margin-top: 64px; text-align: left;
}
.svc-card {
  border-radius: 26px 8px 8px 8px;           /* 正典milestoneバーの非対称角丸を継承 */
  border: 1px solid rgba(255,255,255,0.22);
  padding: 40px 34px 36px;
}
.svc-card .en {
  font-family: var(--font-nav); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.22em; color: var(--green);
}
.svc-card h3 { margin-top: 16px; font-size: 19px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.8; }
.svc-card p { margin-top: 16px; font-size: 14px; letter-spacing: 0.04em; line-height: 2.15; }
.svc-card .badge {
  display: inline-block; margin-top: 20px;
  border: 1px solid var(--green); color: var(--green); border-radius: 999px;
  font-family: var(--font-nav); font-size: 12px; letter-spacing: 0.14em;
  line-height: 1; padding: 7px 16px;
}
.svc-note { margin-top: 44px; font-size: 13px; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }

/* ---------- 年表（TRACK RECORD） ---------- */
.tl { max-width: 860px; margin: 70px auto 0; text-align: left; }
.tl-item { display: flex; gap: 44px; padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.tl-item:first-child { border-top: 1px solid rgba(255,255,255,0.16); }
.tl-year { flex: none; width: 190px; }
.tl-year .digital { font-size: 44px; color: var(--green); letter-spacing: 0.04em; }
.tl-year .en {
  font-family: var(--font-display); font-size: 30px; letter-spacing: 0.16em; color: var(--green);
}
.tl-year .yr-cap {
  margin-top: 8px; font-family: var(--font-nav);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; color: rgba(255,255,255,0.5);
}
.tl-body h3 { font-size: 19px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.8; }
.tl-body p { margin-top: 12px; font-size: 14.5px; letter-spacing: 0.04em; line-height: 2.2; }

/* ============================================================
   レスポンシブ（正典は1920固定デザインのため本サイト側で吸収）
   ============================================================ */
@media (max-width: 1240px) {
  .site-header .inner, .container { width: auto; max-width: calc(100% - 60px); }
}
@media (max-width: 980px) {
  .site-header { height: auto; padding: 18px 0; }
  .site-header .inner { flex-direction: column; gap: 14px; }
  .global-nav { gap: 22px; }
  .global-nav a { font-size: 13px; padding: 8px 6px; }
  .display--xl { font-size: 54px; }
  .display--lg { font-size: 38px; }
  .display--md { font-size: 27px; }
  .page-hero { padding: 80px 0 60px; }
  .sec { padding: 80px 0 50px; }
  .stats { flex-wrap: wrap; gap: 48px; }
  .dot-divider { margin: 40px auto; }
  .svc-grid { grid-template-columns: 1fr; }
  .media-row { flex-wrap: wrap; gap: 10px 18px; padding: 22px 2px; }
  .media-row .outlet { width: auto; }
  .media-row .ttl { flex-basis: 100%; }
  .tl-item { flex-direction: column; gap: 16px; padding: 34px 0; }
  .site-footer .cols { flex-direction: column; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 560px) {
  .container, .site-header .inner { max-width: calc(100% - 40px); }
  .display--xl { font-size: 34px; }
  .display--lg { font-size: 26px; }
  .display--md { font-size: 21px; }
  .display-sub { letter-spacing: 0.3em; text-indent: 0.3em; }
  .logo-type { font-size: 15px; letter-spacing: 0.12em; }
  .global-nav { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .global-nav a { font-size: 12px; }
  .sec .body { letter-spacing: 0.1em; }
  .stat .num { font-size: 44px; }
  .quote .q-body { font-size: 19px; letter-spacing: 0.08em; }
}

/* ---------- フォーカス可視化 ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- 印刷対応 ---------- */
@media print {
  body, section, .sec { background: #fff !important; color: #111 !important; }
  .display, .display .g, .stat .num { color: #111 !important; text-shadow: none !important; }
  .site-header, .site-footer, .cta-jump, .fx-loader { display: none !important; }
}
