/* =========================================================
   Soleil d'Or — Beauty / Monochrome
   参考：MTG コーポレートサイトの構成
   ========================================================= */

:root {
  /* ===== カラートークン ===== */
  --bg: #fff;                 /* ページ背景 */
  --paper: #f5f5f5;           /* 一段グレーの背景 */
  --fg: #000;                 /* 見出し・強い線・反転ボタン */
  --ink: #222;                /* 本文 */
  --grey-600: #666;           /* 補足テキスト */
  --line: #e0e0e0;            /* 罫線 */
  --on-media: #fff;           /* 写真の上に載せる文字（常に白） */

  --inv-bg: #000;             /* 黒帯（タイル・Contact） */
  --inv-fg: #fff;
  --inv-muted: #bbb;
  --inv-line: #333;
  --inv-hover: #262626;
  --inv-edge: #000;

  --hero-shade: rgba(0, 0, 0, .55);
  --hero-glow: radial-gradient(ellipse at 72% 38%, #bdbdbd 0%, #6a6a6a 45%, #1c1c1c 100%);
  --ph-a: linear-gradient(130deg, #dcdcdc, #6e6e6e);
  --ph-b: linear-gradient(310deg, #e6e6e6, #4a4a4a);
  --ph-c: linear-gradient(200deg, #cfcfcf 0%, #8a8a8a 50%, #2c2c2c 100%);
  --img-filter: grayscale(1);

  --font-en: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(96px, 12vw, 160px);
  --header-h: 90px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}



/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 8px 16px;
}
.skip:focus { left: 16px; top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 見出し：小さな日本語 ＋ 大きな英字 ---------- */
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head__ja {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
}
.sec-head__en {
  margin-top: 4px;
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(52px, 7.5vw, 104px);
  line-height: 1;
  letter-spacing: .01em;
}

/* ---------- 英字の短いリンク（Company Info / News List） ---------- */
.more { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: flex-end; }
.more__link {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .08em;
}
.more__link::after {
  content: "";
  width: 44px; height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat;
  transition: background-color .3s, color .3s;
}
.more__link:hover::after { background-color: var(--fg); color: var(--bg); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--on-media);
  transition: background .4s, color .4s;
}
.header.is-scrolled,
.is-menu-open .header {
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; flex-direction: column; line-height: 1.1; position: relative; z-index: 60; }
.logo__en {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .24em;
}
.logo__ja { margin-top: 6px; font-size: 10px; letter-spacing: .2em; }

.gnav__list { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.gnav__item { position: relative; }
.gnav__item > a { font-size: 14px; letter-spacing: .12em; display: block; padding-block: 12px; }
.gnav__contact > a {
  padding: 10px 26px;
  border: 1px solid currentColor;
  transition: background .3s, color .3s;
}
.gnav__contact > a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ドロップダウン */
.gnav__sub {
  position: absolute; top: 100%; left: 50%;
  min-width: 280px;
  padding: 28px 32px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.has-sub:hover .gnav__sub,
.has-sub:focus-within .gnav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnav__sub-title {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--fg);
  font-size: 13px; font-weight: 500;
}
.gnav__sub-title span { font-family: var(--font-en); font-weight: 300; font-size: 20px; }
.gnav__sub li a { display: block; padding: 6px 0; font-size: 13px; color: var(--grey-600); }
.gnav__sub li a:hover { color: var(--fg); }

.menu-btn { display: none; }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  color: var(--on-media);
  overflow: hidden;
}
/* メインビジュアル：background を写真・動画に差し替え */
.hero__media {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--hero-shade), rgba(0,0,0,0) 55%),
    var(--hero-glow);
  filter: var(--img-filter);
}
.hero__logo {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero__logo img {
  width: clamp(240px, 46vw, 660px);
  height: auto;
}
.hero__news {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 2;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 28px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--line);
  font-size: 13px;
}
.hero__news-label { font-family: var(--font-en); font-weight: 500; letter-spacing: .1em; }
.hero__news time { font-family: var(--font-en); color: var(--grey-600); }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 0; z-index: 2;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .2em;
  writing-mode: vertical-rl;
  padding-bottom: 72px;
}
.hero__scroll::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 1px; height: 60px; background: currentColor;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media { transform: scale(1.08); animation: settle 2.4s var(--ease) forwards; }
  .hero__logo { opacity: 0; animation: fade 1.6s var(--ease) .5s forwards; }
}
@keyframes settle { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Service ---------- */
.service { padding-block: var(--section); }
.service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 64px);
}
.service-card { display: block; }
.service-card__img {
  aspect-ratio: 3 / 2;
  filter: var(--img-filter);
  transition: transform .8s var(--ease);
}
/* 画像：background を写真に差し替え */
.service-card__img--a { background: var(--ph-a); }
.service-card__img--b { background: var(--ph-b); }
.service-card:hover .service-card__img { transform: scale(1.03); }
.service-card > .service-card__img { overflow: hidden; }
.service-card__en {
  margin-top: 28px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.2;
}
.service-card__title { margin-top: 6px; font-size: 14px; font-weight: 500; letter-spacing: .12em; }
.service-card__text { margin-top: 18px; font-size: 14px; color: var(--grey-600); max-width: 34em; }

/* ---------- Company（画像） ---------- */
.company { background: var(--paper); }
.company__grid {
  display: block;
}
.company__visual { position: relative; }
.company__img {
  height: clamp(280px, 42vw, 560px);
  filter: var(--img-filter);
  /* 写真に差し替え */
  background: var(--ph-c);
}

/* リンクタイル */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--inv-bg);
}
.tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(200px, 22vw, 300px);
  padding: 36px var(--gutter) 36px clamp(24px, 3vw, 48px);
  color: var(--inv-fg);
  border-right: 1px solid var(--inv-line);
  transition: background .4s;
}
.tiles li:last-child .tile { border-right: 0; }
.tile:hover { background: var(--inv-hover); }
.tile__en { font-family: var(--font-en); font-weight: 200; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; }
.tile__ja { margin-top: 8px; font-size: 12px; letter-spacing: .14em; color: var(--inv-muted); }
.tile::after {
  content: ""; position: absolute; top: 36px; right: 36px;
  width: 10px; height: 10px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: right .3s var(--ease);
}
.tile:hover::after { right: 28px; }

/* ---------- News ---------- */
.news { padding-block: var(--section); }
.news__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); }
.news__list { border-top: 1px solid var(--line); }
.news__list li { border-bottom: 1px solid var(--line); }
.news__list a {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 24px;
  padding: 28px 0;
  transition: opacity .3s;
}
.news__list a:hover { opacity: .55; }
.news__list time { font-family: var(--font-en); font-size: 15px; color: var(--grey-600); }

/* ---------- Contact ---------- */
.contact { background: var(--inv-bg); color: var(--inv-fg); border-top: 1px solid var(--inv-edge); }
.contact__link {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--section) var(--gutter);
  transition: background .4s;
}
.contact__link:hover { background: var(--inv-hover); }
.contact__ja { font-size: 13px; letter-spacing: .16em; }
.contact__en {
  margin-top: 4px;
  font-family: var(--font-en); font-weight: 200;
  font-size: clamp(64px, 11vw, 160px); line-height: 1;
}
.contact__text { margin-top: 36px; max-width: 30em; color: var(--inv-muted); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer__top {
  display: flex; justify-content: space-between; gap: 56px; flex-wrap: wrap;
  padding-block: 80px 64px;
}
.footer__logo { font-family: var(--font-en); font-size: 26px; letter-spacing: .24em; line-height: 1; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 96px); flex-wrap: wrap; }
.footer__col-title { font-size: 14px; font-weight: 500; }
.footer__col-title + .footer__col-title { margin-top: 12px; }
.footer__col ul { margin-top: 12px; }
.footer__col li a { font-size: 13px; color: var(--grey-600); }
.footer a:hover { opacity: .6; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--grey-600);
}
.footer__bottom small { font-size: inherit; font-family: var(--font-en); letter-spacing: .06em; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .logo__en { font-size: 19px; }
  .logo__ja { font-size: 9px; }

  .menu-btn {
    display: block; position: relative; z-index: 60;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .menu-btn__line {
    position: absolute; left: 10px; width: 24px; height: 1px;
    background: currentColor; transition: transform .3s;
  }
  .menu-btn__line:nth-child(1) { top: 18px; }
  .menu-btn__line:nth-child(2) { top: 26px; }
  .is-menu-open .menu-btn__line:nth-child(1) { transform: translateY(4px) rotate(20deg); }
  .is-menu-open .menu-btn__line:nth-child(2) { transform: translateY(-4px) rotate(-20deg); }

  .gnav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 55;
    overflow-y: auto;
    padding: 24px var(--gutter) 48px;
    background: var(--bg); color: var(--fg);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; }
  .is-menu-open { overflow: hidden; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__item { border-bottom: 1px solid var(--line); }
  .gnav__item > a { padding-block: 18px; font-size: 15px; }
  .gnav__sub {
    position: static; min-width: 0; padding: 0 0 16px 16px;
    border: 0; opacity: 1; visibility: visible; transform: none;
  }
  .gnav__sub-title { display: none; }
  .gnav__contact { border-bottom: 0; margin-top: 32px; }
  .gnav__contact > a { text-align: center; padding: 16px; }

  .hero__news { left: var(--gutter); right: var(--gutter); bottom: 24px; }
  .hero__scroll { display: none; }

  .service__grid { grid-template-columns: 1fr; gap: 64px; }


  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--inv-line); }

  .news__grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .hero__news { flex-wrap: wrap; gap: 4px 16px; padding: 12px 20px; }
  .news__list a { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; }
  .footer__top { flex-direction: column; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}


/* =========================================================
   下層ページ共通・サービス概要
   ========================================================= */

/* 下層ページはヒーロー写真が無いので、ヘッダーは最初から白背景 */
.page-sub .header {
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid var(--line);
}

/* ---------- ページタイトル ---------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 56px));
  padding-bottom: clamp(24px, 4vw, 48px);
  background: var(--paper);
}
.page-head .sec-head { margin-bottom: 0; }
.breadcrumb { margin-bottom: clamp(48px, 7vw, 96px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 12px; letter-spacing: .1em; color: var(--grey-600); }
.breadcrumb li + li::before { content: "/"; margin-right: 12px; color: var(--grey-400, #a5a5a5); }
.breadcrumb a:hover { color: var(--fg); }

/* ---------- Intro ---------- */
.biz-intro { padding-block: clamp(72px, 9vw, 120px) 0; }
.biz-intro__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.biz-intro__title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .12em;
}
.biz-intro__text { margin-top: 28px; max-width: 32em; color: var(--grey-600); font-size: 14px; }

/* 各事業へのジャンプ */
.jump { border-top: 1px solid var(--fg); }
.jump li { border-bottom: 1px solid var(--line); }
.jump__link {
  position: relative;
  display: grid;
  grid-template-columns: 3.5em 1fr;
  grid-template-areas: "num en" "num ja";
  column-gap: 16px;
  align-items: center;
  padding: 28px 56px 28px 0;
  transition: padding .3s var(--ease);
}
.jump__link:hover { padding-left: 12px; }
.jump__link::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}
.jump__num { grid-area: num; font-family: var(--font-en); font-weight: 200; font-size: 32px; line-height: 1; }
.jump__en { grid-area: en; font-family: var(--font-en); font-weight: 300; font-size: 24px; line-height: 1.3; }
.jump__ja { grid-area: ja; font-size: 13px; letter-spacing: .12em; color: var(--grey-600); }

/* ---------- 事業セクション ---------- */
.biz { padding-block: var(--section); }
.biz--alt { background: var(--paper); }
.biz__lead {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 7vw, 112px);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.biz__catch {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .12em;
}
.biz__overview { max-width: 36em; font-size: 14px; }
.biz__list { margin-top: 28px; border-top: 1px solid var(--line); }
.biz__list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

/* 各項目（画像 ＋ テキスト） */
.biz-items { padding: 0; }
.biz-item {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.biz-item:nth-child(even) { grid-template-columns: 5fr 7fr; }
.biz-item:nth-child(even) .biz-item__img { order: 2; }
.biz-item:last-child { border-bottom: 0; padding-bottom: 0; }
/* 画像：background を写真に差し替え */
.biz-item__img { aspect-ratio: 3 / 2; filter: var(--img-filter); }
.biz-item__img--a { background: var(--ph-a); }
.biz-item__img--b { background: var(--ph-b); }
.biz-item__num { font-family: var(--font-en); font-weight: 200; font-size: 48px; line-height: 1; }
.biz-item__title { margin: 16px 0 20px; font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; letter-spacing: .1em; line-height: 1.7; }
.biz-item__text p:last-child { font-size: 14px; color: var(--grey-600); max-width: 30em; }

@media (max-width: 960px) {
  .biz-intro__grid,
  .biz__lead { grid-template-columns: 1fr; }
  .biz-item,
  .biz-item:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .biz-item:nth-child(even) .biz-item__img { order: 0; }
}
@media (max-width: 600px) {
  .jump__link { padding-right: 36px; }
  .jump__num { font-size: 26px; }
}


/* =========================================================
   企業情報（代表メッセージ ＋ 会社概要）
   ========================================================= */
.message { padding-block: var(--section); }
.message__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.message__body { grid-column: 2; max-width: 36em; }
.message__body p { line-height: 2.2; }
.message__body p + p,
.message__body p + .message__pair,
.message__pair + p { margin-top: 2em; }
.message__pair {
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--fg);
}
.message__pair p + p { margin-top: .6em; }
.message__body .message__sign {
  margin-top: 4em;
  display: flex; flex-direction: column; gap: 4px;
  text-align: right;
}
.message__sign-co { font-size: 13px; color: var(--grey-600); letter-spacing: .12em; }
.message__sign-name { font-size: 18px; letter-spacing: .2em; }

.profile { padding-block: var(--section); background: var(--paper); }
.profile__list { border-top: 1px solid var(--fg); }
.profile__row {
  display: grid;
  grid-template-columns: 12em 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.profile__row dt { font-size: 14px; font-weight: 500; letter-spacing: .12em; }
.profile__row dd { margin: 0; font-size: 15px; }
.profile__row li + li { margin-top: 4px; }

@media (max-width: 960px) {
  .message__grid { grid-template-columns: 1fr; }
  .message__body { grid-column: 1; }
}
@media (max-width: 600px) {
  .profile__row { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
}


/* =========================================================
   お問い合わせ／ニュース一覧／ニュース詳細
   ========================================================= */

/* ---------- 共通：ボタン ---------- */
.btn {
  display: inline-block;
  min-width: 300px;
  padding: 22px 40px;
  border: 1px solid currentColor;
  text-align: center;
  font-size: 14px;
  letter-spacing: .16em;
  transition: background .3s, color .3s;
}
.btn--solid {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
  font-family: inherit; cursor: pointer;
}
.btn--solid:hover { background: var(--bg); color: var(--fg); }

/* ---------- お問い合わせフォーム ---------- */
.form-sec { padding-block: clamp(72px, 9vw, 120px) var(--section); }
.form-sec__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.form-sec__title { font-size: clamp(20px, 2vw, 26px); font-weight: 400; letter-spacing: .14em; line-height: 1.7; }
.form-sec__text { margin-top: 24px; font-size: 14px; color: var(--grey-600); max-width: 26em; }

.form { border-top: 1px solid var(--fg); }
.form__row {
  display: grid;
  grid-template-columns: 13em 1fr;
  gap: 16px 32px;
  padding: 28px 0;
  border: 0; border-bottom: 1px solid var(--line);
  margin: 0; min-width: 0;
}
.form__label { padding-top: 12px; font-size: 14px; font-weight: 500; letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.form__req, .form__opt {
  font-size: 10px; font-weight: 400; letter-spacing: .08em; line-height: 1;
  padding: 5px 8px; border: 1px solid currentColor;
}
.form__req { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.form__opt { color: var(--grey-600); }

.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit; letter-spacing: .06em; color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .3s;
}
.form textarea { resize: vertical; min-height: 200px; line-height: 1.9; }
.form input:hover, .form textarea:hover { border-color: var(--grey-600); }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--fg); }

/* ラジオ：選択肢をタグ状に */
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: inline-block; padding: 12px 22px;
  font-size: 14px; letter-spacing: .08em;
  border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.choice:hover span { border-color: var(--fg); }
.choice input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 4px; }

.form__consent { padding: 36px 0 0; text-align: center; }
.check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--fg); }
.check a { text-decoration: underline; text-underline-offset: 4px; }
.form__submit { padding-top: 40px; text-align: center; }
.form__submit .btn { min-width: 320px; }

/* ---------- ニュース一覧 ---------- */
.news-archive { padding-block: clamp(56px, 7vw, 96px) var(--section); }
.news-archive .news__list a { grid-template-columns: 8em 1fr auto; align-items: center; }
.news__tag { font-size: 11px; padding: 2px 12px; border: 1px solid var(--line); color: var(--grey-600); line-height: 1.8; }

/* ---------- ニュース詳細 ---------- */
.page-head--article { padding-bottom: 0; background: var(--bg); }
.page-head--article .breadcrumb { margin-bottom: 40px; }
.article { padding-block: clamp(48px, 6vw, 80px) var(--section); }
.article__inner { max-width: calc(880px + var(--gutter) * 2); }
.article__head { padding-bottom: 32px; border-bottom: 1px solid var(--fg); }
.article__meta { display: flex; align-items: center; gap: 20px; }
.article__meta time { font-family: var(--font-en); font-size: 16px; color: var(--grey-600); }
.article__title { margin-top: 16px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; line-height: 1.6; letter-spacing: .1em; }
.article__body { padding-block: clamp(40px, 5vw, 64px); min-height: 200px; }
.article__body p { line-height: 2.2; max-width: 38em; }
.article__body p + p { margin-top: 1.8em; }
.article__nav { padding-top: 40px; border-top: 1px solid var(--line); display: flex; justify-content: center; }

@media (max-width: 960px) {
  .form-sec__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; padding: 22px 0; gap: 8px; }
  .form__label { padding-top: 0; }
  .form__submit .btn { min-width: 0; width: 100%; }
  .news-archive .news__list a { grid-template-columns: 1fr; gap: 6px; }
  .news-archive .news__tag { justify-self: start; }
}


/* =========================================================
   WordPress 用の追加スタイル
   ========================================================= */

/* 管理バー表示時にヘッダーが隠れないように */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.admin-bar .gnav { top: calc(var(--header-h) + 32px); }
@media (max-width: 960px) {
  .admin-bar .gnav { inset: calc(var(--header-h) + 32px) 0 0; }
}
@media (max-width: 782px) {
  .admin-bar .gnav { inset: calc(var(--header-h) + 46px) 0 0; }
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 日本語だけの大見出し（固定ページのタイトルなど） */
.sec-head__en--ja {
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: .12em;
  line-height: 1.5;
}

/* 投稿・固定ページの本文（エディタで入力した内容） */
.entry > * + * { margin-top: 1.8em; }
.entry h2 { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: .1em; line-height: 1.7; }
.entry h3 { margin-top: 2.4em; font-size: 17px; font-weight: 500; letter-spacing: .08em; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li + li { margin-top: .4em; }
.entry a { text-decoration: underline; text-underline-offset: 4px; }
.entry img { height: auto; }
.entry figure { margin-inline: 0; }
.entry blockquote { margin-inline: 0; padding-left: 24px; border-left: 1px solid var(--fg); }
.entry table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry th, .entry td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry .alignwide, .entry .alignfull { max-width: 100%; }

.page-body { padding-block: clamp(56px, 7vw, 96px) var(--section); }
.page-body .entry { max-width: 44em; }
.page-body .entry > *:first-child { margin-top: 0; }
.page-body .entry > h2:first-child { padding-top: 0; border-top: 0; }

/* ページネーション */
.pager { margin-top: clamp(40px, 5vw, 64px); }
.pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.pager .page-numbers {
  min-width: 44px; height: 44px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  font-family: var(--font-en); font-size: 15px; letter-spacing: .06em;
  transition: background .3s, color .3s, border-color .3s;
}
.pager a.page-numbers:hover { border-color: var(--fg); }
.pager .page-numbers.current { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pager .page-numbers.dots { border-color: transparent; }

/* 記事・一覧の補足 */
.news-empty { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--grey-600); font-size: 14px; }
.article__thumb { margin-bottom: clamp(32px, 4vw, 48px); }
.article__thumb img { width: 100%; height: auto; filter: var(--img-filter); }

/* フォームの結果メッセージ */
.form-notice {
  margin-bottom: 32px; padding: 20px 24px;
  border: 1px solid var(--fg);
  font-size: 14px; line-height: 1.9;
}
.form-notice--error { background: var(--paper); }
.form-notice--ok { background: var(--fg); color: var(--bg); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-plugin { border-top: 1px solid var(--fg); padding-top: 28px; }

/* 404 */
.notfound { padding-block: clamp(56px, 7vw, 96px) var(--section); }
.notfound p { max-width: 32em; color: var(--grey-600); }
.notfound .more { justify-content: flex-start; }
