/*
Theme Name: colonD
Theme URI: https://colond.co.jp/
Author: コロンディー株式会社
Description: コロンディー株式会社のコーポレートサイト用テーマ。白地に極太ゴシックとオレンジ。ページの中身はテンプレートに持たせているので、ビルダーに依存しません。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: colond
*/
/* コロンディー株式会社
   白地・極太ゴシック・オレンジ。明朝は使わない。
   文は短く、言い切る。説明を足すより、削る。 */

:root {
  --ink: #111418;
  --body: #3f4854;
  --mute: #616b78;
  --line: #e8e5e0;
  --pale: #f2eeea;
  /* 飾りの大きな英字・番号。大きな文字の基準 3:1 を満たす濃さ */
  --ghost: #8f8679;
  --wash: #faf8f6;
  --orange: #ff6b4a;
  --orange-deep: #e04f2e;
  --navy: #16233c;

  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

:lang(ja) { word-break: auto-phrase; line-break: strict; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
img, svg { max-width: 100%; }
a { color: var(--orange-deep); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── ヘッダー ─────────────────────────
   英語ラベルを小さくオレンジで、日本語を太字で下に置く2段組 */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: stretch; justify-content: space-between;
  height: 66px; padding-left: 26px;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 32px; width: auto; display: block; }

.nav { display: flex; align-items: stretch; }
.nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; padding: 0 17px; text-decoration: none; line-height: 1.3;
  border-bottom: 3px solid transparent; transition: border-color .18s;
}
.nav a .en { font-size: 9.5px; font-weight: 700; color: var(--orange); letter-spacing: .04em; }
.nav a .ja { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }

.nav .cta {
  background: var(--orange); padding: 0 26px; border-bottom: 0;
}
.nav .cta .en, .nav .cta .ja { color: #fff; }
.nav .cta:hover { background: var(--orange-deep); border-bottom: 0; }

/* ── ヒーロー ───────────────────────── */

.hero { position: relative; overflow: hidden; background: #fff; padding: 92px 0 84px; }
.hero::before {
  content: ""; position: absolute; right: -90px; top: -40px;
  width: 520px; height: 520px;
  background: url("assets/logo-mark.svg") center / contain no-repeat;
  opacity: .05;
}
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(40px, 8vw, 92px);
  font-weight: 800; line-height: 1.22; letter-spacing: .01em;
  color: var(--ink); margin: 0 0 28px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 15px; max-width: 30em; margin: 0 0 34px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── ボタン ───────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-size: 13.5px; font-weight: 700;
  text-decoration: none; border-radius: 2px; transition: background .18s, color .18s;
}
.btn::after { content: "→"; font-size: 12px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-line { border: 2px solid var(--ink); color: var(--ink); padding: 13px 28px; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ── セクション ─────────────────────────
   巨大な英字、オレンジの短い下線、日本語の小見出し */

section { padding: 96px 0; }
section.wash { background: var(--wash); }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .en {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800; letter-spacing: .01em; line-height: 1;
  color: var(--ghost); margin: 0;
}
.sec-head .bar { display: block; width: 74px; height: 3px; background: var(--orange); margin: 14px auto 18px; }
.sec-head .ja { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.sec-head p { max-width: 40em; margin: 0 auto; font-size: 14.5px; }

.sec-head.left { text-align: left; }
.sec-head.left .bar { margin-left: 0; }
.sec-head.left p { margin-left: 0; }

/* ── 事業 ───────────────────────── */

.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.biz > article {
  padding: 38px 30px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  transition: background .2s;
}
.biz > article:first-child { border-left: 1px solid var(--line); }
.biz > article:hover { background: var(--wash); }
.biz .no { font-size: 32px; font-weight: 800; color: var(--ghost); line-height: 1; display: block; margin-bottom: 16px; }
.biz h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 12px; line-height: 1.55; }
.biz p { margin: 0; font-size: 14px; }

/* ── サービス ───────────────────────── */

.svc { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.svc h3 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; color: var(--ink); margin: 0 0 20px; line-height: 1.4; }
.svc .kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--orange); padding: 5px 12px; margin-bottom: 18px; }
.svc ul { margin: 22px 0 30px; padding: 0; list-style: none; }
.svc li { border-top: 1px solid var(--line); padding: 12px 0; font-size: 13.5px; }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.shot { border-radius: 3px; overflow: hidden; background: #06050c; box-shadow: 0 16px 44px rgba(17,20,24,.16); }
/* height を指定しないと width/height 属性の高さが残り、画像の上下に黒い帯が出る */
.shot img { display: block; width: 100%; height: auto; }

/* ── 表 ───────────────────────── */

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 20px 6px; border-bottom: 1px solid var(--line); }
.table th { width: 210px; font-weight: 700; color: var(--ink); }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--line); }

/* ── 下部の誘導 ───────────────────────── */

.band { background: var(--ink); color: #fff; padding: 74px 0; text-align: center; }
.band h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 0 0 14px; color: #fff; line-height: 1.4; }
.band p { color: #b9c0c9; margin: 0 auto 30px; max-width: 32em; }

/* ── フッター ───────────────────────── */

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 50px 0 30px; font-size: 13px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 32px; }
.site-footer img { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer .addr { color: var(--mute); font-size: 12px; line-height: 1.85; }
.site-footer nav { display: flex; flex-direction: column; gap: 9px; }
.site-footer nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 12.5px; }
.site-footer nav a:hover { color: var(--orange-deep); }
.copyright { border-top: 1px solid var(--line); padding-top: 20px; color: var(--mute); font-size: 11px; }

/* ── 下層の見出し ───────────────────────── */

.page-head { border-bottom: 1px solid var(--line); padding: 62px 0 46px; position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -30px; bottom: -70px; width: 230px; height: 230px;
  background: url("assets/logo-mark.svg") center / contain no-repeat; opacity: .05;
}
.page-head .en { font-size: clamp(40px, 6.6vw, 70px); font-weight: 800; color: var(--ghost); margin: 0; line-height: 1; }
.page-head .bar { display: block; width: 74px; height: 3px; background: var(--orange); margin: 12px 0 16px; }
.page-head h1 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0; }

/* ── 条文 ───────────────────────── */

.doc h2 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 42px 0 12px; padding-left: 12px; border-left: 4px solid var(--orange); }
.doc h2:first-child { margin-top: 0; }
.doc p { margin: 0 0 14px; }
.doc ol, .doc ul { padding-left: 1.4em; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.note { background: var(--wash); border-left: 4px solid var(--orange); padding: 18px 22px; font-size: 13.5px; margin: 26px 0; }

/* ── 狭い画面 ───────────────────────── */

@media (max-width: 900px) {
  .biz { grid-template-columns: 1fr; }
  .biz > article { border-left: 1px solid var(--line); }
  .svc { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 64px 0; }
  .hero { padding: 60px 0 56px; }
  .hero::before { width: 300px; height: 300px; right: -100px; }
  .site-header .inner { height: 58px; padding-left: 16px; }
  .site-header .logo img { height: 26px; }
  .nav a { padding: 0 10px; }
  .nav a .en { display: none; }
  .nav .cta { padding: 0 16px; }
  .nav .hide-sp { display: none; }
  .table th { width: 118px; }
}
