/* ============================================================
   リセット / ノーマライズ
   Andy Bell のモダンリセット＋selected normalize.css ルールを元にell's modern reset + selected normalize.css rules.
   Order matters: this block sets defaults; everything that follows
   (Tokens, Body type, Component styles) overrides as needed.
   Curated so the existing layout is NOT disturbed.
============================================================ */

/* 1. Box sizing & root behaviour */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

/* 2. Remove default margins on common elements */
body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
}

/* 3. Body baseline */
body {
  position: relative;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 4. Headings use design-system weights but inherit balanced typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

/* 5. Lists — remove default markers/padding when given a class */
ul, ol, dl {
  padding: 0;
  margin: 0;
}
ul[class], ol[class] {
  list-style: none;
}

/* 6. Anchors */
a {
  color: inherit;
  text-decoration: none;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* 7. Media elements responsive by default */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
  font-style: italic;
  /* alt属性が壊れた画像を視覚的に分かりやすくする */
  background-repeat: no-repeat;
  background-size: cover;
  vertical-align: middle;
}

/* 8. Forms inherit page typography */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}

/* 9. Tables baseline (in case a CMS injects one) */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 10. HR */
hr {
  height: 0;
  border: 0;
  border-top: 1px solid currentColor;
  color: inherit;
}

/* 11. SVG inherits color */
svg {
  fill: currentColor;
}

/* 12. Accessibility — keep visible focus rings, but only on keyboard */
:focus-visible {
  outline: 2px solid var(--accent, #ffd400);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: 0;
}

/* 13. Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  /* パララックスのオフセットを無効化（JS側でも更新を止めるが、
     念のためCSSでも固定する） */
  .hero-bg .hero-slide img {
    transform: scale(1.12) translate3d(0, 0, 0);
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 14. Hidden attribute */
[hidden] {
  display: none !important;
}

/* ============================================================
   ハリマ探針 — エディトリアルグリッドシステム
   黒 / 白 + 黄色アクセント
   Mobile-first, ruled lines via border-left/right (PC only)
   (Project-specific styles begin here)
============================================================ */

/* ---------- Project resets ----------
   下のモダンリセットでmargin・list-style等は概ね解除済み。
   ここはCMS等でクラスなしリストが入る場合に備えた無条件解除のみ。 */
ul, ol, dl {
  list-style: none;
}
dt {
  margin: 0;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0a0a;
  --ink-2: #222;
  --paper: #ffffff;
  --paper-2: #f5f4f1;
  --paper-3: #ebe9e3;
  --rule: #d9d6cf;
  /* 細い罫線 */
  --rule-strong: #0a0a0a;
  /* 強い罫線 */
  --grey-400: #8c8a83;
  --grey-500: #5f5d57;
  --grey-600: #3a3935;
  --accent: #ffd400;
  --font-jp: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --container: 1360px;

  /* 余白設計: pad-x = 本文の開始位置 / rule-offset = 縦罫線の位置。
     2つの差分が、罫線と本文の間の「ほどよいアキ」になる。 */
  --pad-x: 24px;
  --rule-offset: 12px;
}
@media (min-width: 600px) {
  :root {
    --pad-x: 40px;
    --rule-offset: 16px;
  }
}
@media (min-width: 900px) {
  :root {
    --pad-x: 56px;
    --rule-offset: 24px;
  }
}
@media (min-width: 1280px) {
  :root {
    --pad-x: 80px;
    --rule-offset: 32px;
  }
}

/* ---------- Body type ---------- */
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
}

.mono, .eyebrow, .num-en, .en-label {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

/* ============================================================
   コンテナ + 全幅縦罫線
   縦罫は <body> の絶対配置子。暗色背景・ヒーローCTA など
   罫線を自分の背景で覆いたいセクションは
   position:relative + z-index:1 を指定する。
============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.page-rule {
  display: none;
}
@media (min-width: 1024px) {
  .page-rule {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 1px solid var(--rule);
    pointer-events: none;
    z-index: 0;
  }
  .page-rule.is-left {
    left: var(--rule-offset);
  }
  .page-rule.is-right {
    right: var(--rule-offset);
  }
}

/* ============================================================
   ヘッダー
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
}
.site-header .header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 0;
  min-height: 64px;
}
@media (min-width: 1024px) {
  .site-header .header-inner {
    min-height: 72px;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 32px;
  border-right: 1px solid var(--rule);
}
@media (min-width: 1024px) {
  .brand {
    padding: 12px 50px 12px 60px;
  }
}
.brand img.logo-horizontal {
  height: 35px;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .brand img.logo-horizontal {
    height: 40px;
  }
}

/* ロゴ右の罫線と最初のナビ項目の左罫線が重なって二重に見えるのを防ぐ。
   最初のナビ項目だけ左罫線を消す。 */
@media (min-width: 1100px) {
  .primary-nav a:first-child {
    border-left: 0 !important;
  }
}

.primary-nav {
  display: none;
}
@media (min-width: 1100px) {
  .primary-nav {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
  }
  .primary-nav a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 100%;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.04em;
    border-left: 1px solid var(--rule);
    transition: background 0.2s, color 0.2s;
  }
  .primary-nav a:hover {
    background: var(--ink);
    color: var(--paper);
  }
}

.header-right {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  border-left: 1px solid var(--rule);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--accent);
  transition: background 0.2s;
  white-space: nowrap;
}
.header-cta:hover {
  background: #ffe24a;
}
@media (max-width: 539px) {
  .header-cta {
    padding: 0 16px;
    font-size: 12px;
  }
}

.hamburger {
  width: 64px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--rule);
  position: relative;
}
@media (min-width: 1024px) {
  /* ここでヘッダーが72pxになるので、箱幅も合わせて正方形を保つ */
  .hamburger {
    width: 72px;
  }
}
@media (min-width: 1100px) {
  .hamburger {
    display: none;
  }
}
.hamburger span {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s, opacity .25s, top .25s;
}
.hamburger span {
  left: 22px;
  right: 22px;
}
.hamburger span:nth-child(1) {
  top: calc(50% - 6px);
}
.hamburger span:nth-child(2) {
  top: 50%;
}
.hamburger span:nth-child(3) {
  top: calc(50% + 6px);
}
.hamburger.is-open span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
}
@media (min-width: 1024px) {
  .mobile-menu {
    inset: 72px 0 0 0;
  }
}
.mobile-menu {
  background: var(--paper);
  z-index: 49;
  transform: translateY(-110%);
  transition: transform .35s cubic-bezier(.7, 0, .2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-top: 1px solid var(--rule-strong);
}
.mobile-menu.is-open {
  transform: translateY(0);
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
}
.mobile-menu li {
  border-bottom: 1px solid var(--rule);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 17px;
  font-weight: 500;
}
.mobile-menu a::after {
  content: "→";
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--ink);
}
.mobile-menu-footer {
  margin-top: auto;
  padding: 24px;
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--grey-500);
  letter-spacing: 0.1em;
  border-top: 1px solid var(--rule);
}

/* 
   ヘッダー — 会員ページCTA削除後の調整。
   SP/中間ではハンバーガーが黄色。PC版はテキストナビ（黄色なし）。
 */
.header-right {
  border-left: 0;
}
@media (min-width: 1100px) {
  .header-right {
    display: none;
  }
}
.hamburger {
  background: var(--accent);
  border-left: 0;
}
.hamburger:hover {
  background: #ffe24a;
}
/* 1100〜1280pxでナビ9項目が収まるよう少し詰める */
@media (min-width: 1100px) and (max-width: 1320px) {
  .primary-nav a {
    padding: 0 13px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
}

/* ヘッダー（追加分） — ロゴ色 ＋ スクロールで透過→白へフェード */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent !important;
  /* 要望：ヒーロー上では横罫線を白に */
  border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header.is-scrolled {
  background-color: #ffffff !important;
  border-bottom-color: var(--rule-strong) !important;
}

/* ---- ロゴ：インラインSVG（file:// でも動作する。mask-image url() は不可）。
   色は path の fill で制御し、スクロールで白→黒へアニメーションさせる。 ---- */
.brand .brand-logo {
  display: block;
  width: auto;
  height: 32px;
}
@media (min-width: 1024px) {
  .brand .brand-logo {
    height: 32px;
  }
}
.brand .brand-logo path {
  fill: #ffffff;
  transition: fill 0.35s ease;
}
.site-header.is-scrolled .brand .brand-logo path {
  fill: var(--ink);
}

/* ナビ項目：初期は白、スクロール後は黒 */
.primary-nav a {
  color: #fff !important;
  border-left-color: rgba(255, 255, 255, 0.25) !important;
  transition: color 0.3s ease, background 0.2s, border-color 0.3s ease;
}
.site-header.is-scrolled .primary-nav a {
  color: var(--ink) !important;
  border-left-color: var(--rule) !important;
}
.primary-nav a:hover {
  background: rgba(0, 0, 0, 0.15) !important;
}
.site-header.is-scrolled .primary-nav a:hover {
  background: var(--ink) !important;
  color: var(--paper) !important;
}

/* ロゴ右の罫線＋header-right左の罫線：初期は白っぽく、スクロール後は通常罫線 */
.brand {
  border-right-color: rgba(255, 255, 255, 0.25) !important;
}
.site-header.is-scrolled .brand {
  border-right-color: var(--rule) !important;
}
.header-right {
  border-left-color: rgba(255, 255, 255, 0.25) !important;
}
.site-header.is-scrolled .header-right {
  border-left-color: var(--rule) !important;
}

/* ハンバーガーはSPで黄色のまま — どちらの状態でも視認可。左罫線は残す。 */
.hamburger {
  border-left-color: rgba(0, 0, 0, 0.15) !important;
}
.site-header.is-scrolled .hamburger {
  border-left-color: rgba(0, 0, 0, 0.15) !important;
}

/* ============================================================
   セクション 基本構造
============================================================ */
section.section {
  position: relative;
}
section.section .container {
  padding-top: 72px;
  padding-bottom: 72px;
}
@media (min-width: 768px) {
  section.section .container {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}
@media (min-width: 1024px) {
  section.section .container {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}
section.section+section.section .container {
  padding-top: 0;
}

/* ===== Horizontal rule classes =====
   section--ruled            … Full-width black rule at the top of the section.
   section--container-ruled  … Container-width rule (appears above .section-head).
   section--sp-ruled         … Force a full-width rule on SP only.
*/
section.section.section--ruled {
  border-top: 1px solid var(--rule-strong);
}
section.section.section--ruled+section.section.section--ruled {
  border-top: 0;
}

/* 罫線付きセクションの見出しが罫線に密着しないよう、上アキを戻す */
section.section+section.section--ruled .container,
section.section+section.section--container-ruled .container {
  padding-top: 56px;
}
@media (min-width: 1024px) {
  section.section+section.section--ruled .container,
  section.section+section.section--container-ruled .container {
    padding-top: 96px;
  }
}

@media (max-width: 767px) {
  .section--sp-ruled {
    border-top: 1px solid var(--rule-strong);
  }
  section.section.section--sp-ruled .container {
    padding-top: 64px;
  }
}

/* ----- セクション見出し（見出し列＋リード列の左右並び） -----
   PC幅以上では、見出し列（h2＋リード）が左右に並んで上下中央に揃う。
   欄外の欧文ラベル（.en）はh2の上に絶対配置されているため、
   上下中央の基準線（日本語見出しとリードの水平センター）には影響しない。
*/
.section-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
  padding-top: 64px;
}
@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 72px;
    padding-top: 80px;
  }
}

/* コンテナ幅の罫線（.section-head の上に表示） */
section.section--container-ruled .section-head {
  border-top: 1px solid var(--rule-strong);
}

.section-head h2 {
  position: relative;
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-head h2 .en {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  font-family: var(--font-en);
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  white-space: nowrap;
}
.section-head .lede {
  font-size: 15px;
  line-height: 2;
  /* PCでは右列の幅いっぱいに伸びて中途半端に折り返るのを防ぐため、
     読みやすい文幅に上限を設ける（1024px以上で適用）。 */
  color: var(--ink-2);
  max-width: 48ch;
}
@media (min-width: 1024px) {
  .section-head .lede {
    font-size: 16px;
    max-width: 34em;
  }
}

/* セクション末尾の「すべて見る」（上罫線なし） */
.section-foot {
  margin-top: 48px;
  display: flex;
  justify-content: flex-end;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.text-link:hover {
  background: var(--ink);
  color: var(--paper);
}
/* 外部サイト（note）へのリンク：右上向き矢印で「別サイトへ」を示す */
.text-link .ext-icon {
  font-family: var(--font-en);
  font-size: 14px;
  line-height: 1;
}

/* ============================================================
   ヒーロー — 全面写真＋テキストオーバーレイ
   PC用とSP用は別画像（<picture><source>でトリミングなし切り替え）。
============================================================ */
.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #111;
  min-height: 86svh;
  border-bottom: 1px solid var(--rule-strong);
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .hero {
    min-height: 92vh;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg .hero-slide.is-active {
  opacity: 1;
}
.hero-bg .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* パララックス用：少し拡大して余白を確保し、translateYで上下しても
     画像の端が見えないようにする。--hero-shift はJSが毎フレーム更新 */
  transform: scale(1.12) translate3d(0, var(--hero-shift, 0px), 0);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 96px var(--pad-x) 48px;
  color: #fff;
}
@media (min-width: 1024px) {
  .hero-content {
    padding: 140px var(--pad-x) 80px;
  }
}

.hero h1 {
  font-size: clamp(31px, 5.4vw, 72px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin-bottom: 32px;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}
/* 狭幅(≤405px)のときだけ「播磨に」のあとで改行する。
   通常はインライン継続（改行しない） */
.hero h1 .br-narrow {
  display: none;
}
@media (max-width: 405px) {
  .hero h1 .br-narrow {
    display: inline;
  }
}
@media (min-width: 1024px) {
  .hero h1 {
    margin-bottom: 56px;
  }
}
.hero h1 .accent {
  position: relative;
  white-space: nowrap;
  isolation: isolate;
  color: #fff;
}
.hero h1 .accent::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 6px;
  height: 22%;
  background: var(--accent);
  z-index: -1;
}

/* CTA — 黄色いブロック＋黒い矢印の正方形 */
.hero-content .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 16px 18px 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent);
  border: 0;
  width: auto;
  align-self: flex-start;
  min-width: 280px;
  flex: 0 0 auto;
  transition: background 0.2s, color 0.2s;
  text-shadow: none;
}
@media (min-width: 1024px) {
  .hero-content .hero-cta {
    padding: 22px 18px 22px 30px;
    font-size: 16px;
    min-width: 320px;
  }
}
.hero-content .hero-cta:hover {
  background: var(--ink);
  color: var(--accent);
}
.hero-content .hero-cta .arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.hero-content .hero-cta:hover .arrow {
  background: var(--accent);
  color: var(--ink);
}
.hero-content .hero-cta .arrow svg {
  width: 16px;
  height: 16px;
}

/* スクロール表示 — 要望により全幅で削除 */
.hero-scroll {
  display: none !important;
}
@media (max-width: 1023px) {
  .hero-scroll {
    display: none !important;
    position: absolute;
    right: 22px;
    bottom: 120px;
    z-index: 3;
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    align-items: center;
    gap: 14px;
  }
  .hero-scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: 64px;
    background: var(--accent);
  }
}

/* 
   ヒーロー — 透過ヘッダー分のブリード調整
 */
.hero {
  margin-top: 0;
}
.hero .hero-content {
  padding-top: 120px;
  /* 固定ヘッダー分を空ける */
}
@media (min-width: 1024px) {
  .hero .hero-content {
    padding-top: 180px;
  }
}

/* 
   ヒーロー — プレオープン告知バッジ（右端貼りつき・期間限定）
*/
.hero-badge {
  display: none !important;
  position: absolute;
  top: 128px;
  right: 0;
  z-index: 4;
  /* .hero-content(3) より前面 */
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #fff;
}
.hero-badge__eyebrow {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.25;
  color: var(--accent);
}
.hero-badge__jp {
  font-family: var(--font-jp);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: #fff;
}
.hero-badge__date {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hero-badge__day {
  font-size: 12px;
  font-weight: 700;
  margin-left: 0.28em;
}
@media (min-width: 1024px) {
  .hero-badge {
    top: 148px;
    gap: 20px;
    padding: 16px 24px;
  }
  .hero-badge__eyebrow {
    font-size: 10px;
  }
  .hero-badge__date {
    font-size: 26px;
  }
}

/* ============================================================
   お知らせ — トップのコンパクト帯（ヒーロー直下）
============================================================ */
/* お知らせ — 行ベース（トップのコンパクト帯と news.html 一覧の共通ベース） */
.news-list {
  border-top: 1px solid var(--rule-strong);
}
.news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
@media (min-width: 768px) {
  .news-item {
    grid-template-columns: 200px 1fr;
    column-gap: 32px;
    row-gap: 6px;
    align-items: baseline;
    padding: 28px 0;
  }
}
@media (min-width: 1024px) {
  .news-item {
    grid-template-columns: 240px 1fr;
    column-gap: 48px;
    padding: 32px 0;
  }
}
.news-item:hover {
  background: var(--paper-2);
}
/* 行全体をクリック可能に（h4内のリンクを行いっぱいに拡張） */
.news-item {
  position: relative;
}
.news-item h4 a.news-link {
  color: inherit;
}
.news-item h4 a.news-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.news-item .news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink);
}
.news-item .news-cat {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
}
.news-item .news-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-item h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  /* 見出しクランプ：SP=2行 / PC=1行。はみ出しは「…」。
     ※トップのコンパクト帯は .news-compact 側で同等指定して上書き。 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .news-item h4 {
    font-size: 18px;
  }
}
@media (min-width: 768px) {
  .news-item h4 {
    -webkit-line-clamp: 1;
  }
}
.news-item p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--grey-600);
}

.news-compact .container {
  padding-top: 36px;
  padding-bottom: 36px;
}
@media (min-width: 1024px) {
  .news-compact .container {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
.news-compact-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-strong);
}
.news-compact-head h2 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.news-compact-head h2 .en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
}
.news-compact .news-all {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--grey-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.news-compact .news-all:hover {
  color: var(--ink);
}
.news-compact .news-list {
  border-top: 0;
}
.news-compact .news-item {
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 13px 0;
}
.news-compact .news-item p {
  display: none;
}
.news-compact .news-item h4 {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  /* 見出しは文字数が伸びても帯を崩さない：SP=2行クランプ。はみ出しは「…」 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-compact .news-date {
  font-weight: 400;
}
@media (min-width: 768px) {
  .news-compact .news-item {
    grid-template-columns: 200px 1fr;
    column-gap: 32px;
    align-items: baseline;
    padding: 14px 0;
  }
  .news-compact .news-item h4 {
    font-size: 15px;
    /* PCは日付と1行で並ぶレイアウトのため1行クランプ */
    -webkit-line-clamp: 1;
  }
}
.news-compact .news-empty {
  padding: 24px 0;
  font-size: 14px;
  color: var(--grey-600);
}

/* ============================================================
   ハリマ探針について — マニフェスト / Co-* 3ブロック / 循環図
============================================================ */

/* ---- ① Mission manifesto ---- */
/* Aboutセクション上の全幅横罫線 */
section.about-section {
  border-top: 1px solid var(--rule-strong);
}
.mission {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .mission {
    grid-template-columns: 5fr 7fr;
    gap: 0;
  }
}
/* 上の横罫線と見出しの間にスペース（他セクションの罫線下アキに合わせる） */
.about-section .mission {
  margin-top: 80px;
}
/* 見出しブロック：アイブロー（ハリマ探針について）＋大見出し */
.mission-eyebrow {
  margin: 0;
}
.mission-eyebrow .en {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
}
.mission-eyebrow .jp {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 5px;
}
/* PC（左右2段組）では1行で。視覚順だけ「ハリマ探針について About Harima Probe」に
   入れ替える（1段組みの縦並びは DOM順どおり 英文→日本語 のまま）。 */
@media (min-width: 1024px) {
  .mission-eyebrow {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px;
  }
  .mission-eyebrow .jp {
    margin-top: 0;
    order: 0;
  }
  .mission-eyebrow .en {
    order: 1;
  }
}
.mission-title {
  margin-top: 30px;
}
.mission-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(12px, 1.05vw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
  margin-bottom: 12px;
}
.mission-title h3 {
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.mission-title .hl {
  background-image: linear-gradient(transparent 70%, var(--accent) 70%, var(--accent) 96%, transparent 96%);
}
@media (min-width: 1024px) {
  .mission-head {
    padding-right: 48px;
    /* アイブロー（ハリマ探針について）は上に固定、
       MISSION＋大見出しは本文の高さに対して上下中央に（アイブローは除外） */
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .mission-eyebrow {
    position: absolute;
    top: 0;
    left: 0;
    right: 48px;
  }
  .mission-title {
    margin-top: 0;
  }
}
.mission-body {
  max-width: 760px;
}
@media (min-width: 1024px) {
  .mission-body {
    padding-left: 56px;
    /* 中間サイズで本文が右端に詰まらないよう右アキを確保 */
    padding-right: 32px;
    border-left: 1px solid var(--rule);
  }
}
.mission-body p {
  font-size: 15.5px;
  line-height: 2.1;
  text-align: justify;
  word-break: normal;
  overflow-wrap: anywhere;
}
.mission-body p+p {
  margin-top: 1.4em;
}
.mission-body p.lead-out {
  font-weight: 700;
}
.mission-body .hl {
  background-image: linear-gradient(transparent 68%, var(--accent) 68%, var(--accent) 94%, transparent 94%);
}

/* ② の上のVISION小見出し（設備Facilitiesと同じ扱い） */
.co-block {
  margin-top: 32px;
}
.co-vision-head {
  padding-top: 40px;
  margin-bottom: 22px;
  padding-bottom: 0;
  border-top: 1px solid var(--rule-strong);
}
.co-vision-head h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
}
.co-vision-head h3 .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 500;
}

/* ---- ② Co-* trio (small photo, 3-col) ---- */
.co-trio {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .co-trio {
    grid-template-columns: repeat(3, 1fr);
  }
}
.co-item {
  padding: 32px 0;
}
.co-item+.co-item {
  border-top: 1px solid var(--rule);
}
@media (min-width: 768px) {
  .co-item {
    padding: 36px 28px;
  }
  .co-item+.co-item {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
  /* 3枚の写真を必ず同サイズに：左右paddingを全列そろえる
     （first/lastの片側0を入れると中央列だけ狭くなり写真が小さくなる） */
}
.co-photo {
  background: var(--paper-2);
  margin-bottom: 20px;
  /* 全列で同じ高さにする：枠を 4:3 に固定し、画像は充填 */
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.co-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-item .co-en {
  display: block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.co-item .co-jp {
  display: block;
  font-size: 12px;
  color: var(--grey-500);
  margin-top: 4px;
  margin-bottom: 14px;
}
.co-item p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
  text-align: justify;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* ---- ③ Infographic (image, swapped by viewport) ---- */
/* ③ Co-* の説明図版。3Coと1グループなので余白は下の専用ルールで制御 */
.infographic {
  margin-top: 0;
  margin-bottom: 0;
}
.infographic-img {
  display: block;
  width: 100%;
  margin: 0 auto;
}
.infographic-img img {
  display: block;
  width: 100%;
  height: auto;
}
/* SP/中間: 縦長画像（1000×1818）。幅を抑えて中央に */
.infographic-img {
  max-width: 420px;
}
/* PC版SVG（768px以上）を表示、SP版を隠す */
.infographic-pc {
  display: none;
}
.infographic-sp {
  display: block;
  width: 80%;
  height: auto;
}
@media (min-width: 768px) {
  .infographic-pc {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
  }
  .infographic-sp {
    display: none;
  }
}

.co-container {
  padding-bottom: 20px !important;
}
.infographic-container {
  padding-top: 0 !important;
  padding-bottom: 88px !important;
}
@media (min-width: 768px) {
  .co-container {
    padding-bottom: 24px !important;
  }
  .infographic-container {
    padding-bottom: 120px !important;
  }
}
@media (min-width: 1024px) {
  .co-container {
    padding-bottom: 56px !important;
  }
  .infographic-container {
    padding-top: 0 !important;
    padding-bottom: 144px !important;
  }
}

/* ============================================================
   フォトマーキー（無限ループ観光写真帯）
   ハリマ探針についてとフロアマップの間に配置。
   同一セットを2つ連結し translateX(-50%) で右から左へループ。
============================================================ */
.photo-marquee {
  position: relative;
  z-index: 1;
  /* 縦罫線より前面に出す */
  background: var(--paper);
  overflow: hidden;
  padding: 14px 0;
  /* 下罫線：すべての幅で共通 */
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 768px) {
  .photo-marquee {
    padding: 18px 0;
  }
}
@media (min-width: 1024px) {
  /* 1024px以上ではパディングを0にし、左右の縦罫線をスライダー画像に
     直接突き合わせる（上下に空白の帯を作らない）。 */
  .photo-marquee {
    padding: 0;
  }
  /* ABOUT→スライダー帯の間を詰める。スライダーが区切りとなるため。
     :has()で隔接のときだけ適用。 */
  section.section:has(+ .photo-marquee) .container {
    padding-bottom: 80px;
  }
}

/* ABOUTがFLOORの直前の兄弟要素でなくなったため、FLOORの上パディングを維持する
   （既存の section + section--ruled / + section--container-ruled ルールと同じ扱い）。 */
.photo-marquee+section.section--ruled .container,
.photo-marquee+section.section--container-ruled .container {
  padding-top: 56px;
}
@media (min-width: 1024px) {
  .photo-marquee+section.section--ruled .container,
  .photo-marquee+section.section--container-ruled .container {
    padding-top: 96px;
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
/* マウスオーバーでスライダーを止めない（要望による） */

.marquee-set {
  display: flex;
  flex-shrink: 0;
  gap: 3px;
  padding-right: 3px;
  /* セット1とセット2のつなぎ目のアキ */
}

.marquee-item {
  flex-shrink: 0;
  /* 4:3比率は width × height の明示指定で固定する（aspect-ratio だけに
     頼らない — フレックスアイテムの内在サイズ計算により、トラックの
     `width: max-content` がこの場合は不安定になるため）。 */
  width: clamp(120px, 17.3vw, 187px);
  height: clamp(90px, 13vw, 140px);
  overflow: hidden;
  background: var(--paper-2);
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.marquee-item.is-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.025) 0 8px, transparent 8px 16px),
    var(--paper-2);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 注：ここではあえて prefers-reduced-motion を無視している。
   このスライダーは装飾的な帯で、OSの「視差効果を減らす」設定が
   有効でも動かしてほしいという要望のため。 */

/* ============================================================
   フロアマップ + ギャラリー
============================================================ */
.floor-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .floor-wrap {
    grid-template-columns: 5fr 7fr;
    gap: 0;
  }
}

.floor-left {
  padding: 24px 0;
}
@media (min-width: 1024px) {
  .floor-left {
    padding: 32px 48px 32px 0;
    border-right: 1px solid var(--rule);
  }
}
.floor-map-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  /*padding-bottom: 12px;*/
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.floor-map-wrap {
  /*background: var(--paper-2);*/
  padding: 18px;
}
.floor-map {
  width: 100%;
  height: auto;
  display: block;
}
.floor-map .map-num circle {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 1.5;
  transition: fill 0.25s, stroke 0.25s;
}
.floor-map .map-num text {
  fill: var(--ink);
  font-weight: 700;
}
.floor-map .map-num.is-active circle {
  fill: var(--accent);
  stroke: var(--ink);
}

.floor-caption {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.floor-caption .caption-meta {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.floor-caption .caption-meta .num {
  background: var(--ink);
  color: var(--paper);
  padding: 3px 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.floor-caption h4 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 700;
}
.floor-caption p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--grey-600);
}

.floor-right {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .floor-right {
    padding: 32px 0 32px 48px;
  }
}
.floor-main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  overflow: hidden;
  margin-bottom: 16px;
}
.floor-main .layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.floor-main .layer.is-portrait {
  object-fit: contain;
}
.floor-main .layer.is-active {
  opacity: 1;
}
.floor-main .photo-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--ink);
  padding: 5px 12px;
  z-index: 2;
}

.thumbs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 8px;
}
.thumbs-row .count {
  color: var(--ink);
  font-weight: 600;
}
.thumbs-row .count .now {
  font-size: 16px;
}
.thumbs-row .swipe-hint {
  display: inline-block;
}
@media (min-width: 768px) {
  .thumbs-row .swipe-hint {
    display: none;
  }
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 767px) {
  .thumbs {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 22%;
  }
}
.thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ddd;
  border: 1px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
  opacity: 0.55;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb .num {
  position: absolute;
  top: 4px;
  left: 4px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 5px;
}
.thumb:hover {
  opacity: 0.85;
}
.thumb.is-active {
  opacity: 1;
  border-color: var(--ink);
}
.thumb.is-active .num {
  background: var(--accent);
  color: var(--ink);
}

.floor-map {
  width: 100%;
  height: auto;
  display: block;
}

/* 旧SVGのクラス指定ルール（安全のため残置。現行マークアップには
   無効だが害もない）。 */
.floor-map .st0 {
  fill: #cbc8c0;
}
/* 家具 */
.floor-map .st2 {
  fill: #ebe9e3;
}
/* 窓 */
.floor-map .st3 {
  fill: #ffffff;
}
/* 床 */
.floor-map .st4 {
  /* 壁 */
  fill: none;
  stroke: #0a0a0a;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.floor-map .st6 {
  fill: #0a0a0a;
}
/* 柱・トイレ記号 */
.floor-map #text path {
  fill: #3a3935;
}
/* 部屋・エリア名 */
.floor-map #text .st6 {
  fill: #0a0a0a;
}
/* トイレのピクトグラム */
/* 番号マーカー（ギャラリーと連動） */
.floor-map .map-num ellipse {
  fill: #ffffff;
  stroke: #0a0a0a;
  stroke-width: 1.5;
  /* 注：fill にトランジションをかけないこと。一部エンジンでは <ellipse> の
     fill トランジションが開始色のまま固まる。即時に切り替える。 */
  transition: stroke 0.2s;
}
.floor-map .map-num.is-active ellipse {
  fill: #ffd400;
}
.floor-map .map-num text,
.floor-map .map-num path {
  fill: #0a0a0a;
}

/* ============================================================
   設備
============================================================ */
.facilities {
  margin-top: 72px;
}
@media (min-width: 1024px) {
  .facilities {
    margin-top: 120px;
  }
}

.facilities-head {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 768px) {
  .facilities-head {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 32px;
  }
}
.facilities-head h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.facilities-head h3 .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 500;
}
.facilities-head p {
  font-size: 14px;
  color: var(--ink-2);
}

.fac-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .fac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .fac-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* SP：横並びレイアウト（アイコン｜名称＋説明） */
.fac-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 18px;
  row-gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.fac-item .fac-icon {
  width: 32px;
  height: 32px;
  color: var(--ink);
  grid-row: span 2;
  align-self: start;
}
.fac-item .fac-icon svg {
  width: 100%;
  height: 100%;
}
.fac-item .fac-name {
  font-size: 16px;
  font-weight: 700;
  align-self: end;
}
.fac-item .fac-desc {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--grey-600);
}

@media (min-width: 640px) {
  .fac-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
  }
  .fac-item .fac-icon {
    grid-row: auto;
  }
  .fac-grid>.fac-item:nth-child(odd) {
    border-right: 1px solid var(--rule);
  }
}
@media (min-width: 1024px) {
  .fac-item {
    border-right: 1px solid var(--rule);
    border-bottom: 0;
    min-height: 200px;
    padding: 28px 22px;
  }
  .fac-item:last-child {
    border-right: 0;
  }
  .fac-grid>.fac-item:nth-child(odd) {
    border-right: 1px solid var(--rule);
  }
}

/*  設備アイコン（SVG塗りつぶし、currentColorでテーマ切替） */
.fac-item .fac-icon {
  width: 34px;
  height: 34px;
}
.fac-item .fac-icon svg path {
  fill: currentColor;
}

/* ============================================================
   プランと料金
============================================================ */
.pricing-notice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  padding: 0 0 28px 0;
  /* 仕様により下罫線なし */
  margin-bottom: 0;
  background: transparent;
  border-bottom: 0;
}
@media (min-width: 768px) {
  .pricing-notice {
    grid-template-columns: auto 1fr;
    gap: 28px;
  }
}
.pn-tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  padding: 6px 12px;
  display: inline-block;
  justify-self: start;
}
.pricing-notice p {
  font-size: 14px;
}
.pricing-notice strong {
  font-weight: 700;
}

/* タブ */
.tabs {
  /* 罫線は .tab-list が持つ。.tabs は単なるラッパー */
}
/* 
   料金タブ — 罫線グリッド（二重線なし）。
   外枠はコンテナが所有。ボタンは
   SP（2×2）とPC（1×4）の両方で正しく動作する。
 */
.tab-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  /* 下罫線だけ付ける旧ルールを上書き */
}
@media (min-width: 900px) {
  .tab-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tab-btn {
  /* ボタン自体は既定で罫線を持たない。区切り線は隣接 / nth-child で
     必要な箇所にだけ追加する。 */
  border: 0 !important;
  display: flex;
  align-items: center;
  padding: 18px 16px;
  min-height: 60px;
  /* 選択・非選択で高さを揃える */
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  background: var(--paper-2);
  transition: color 0.2s, background 0.2s;
  line-height: 1.4;
}

/* PC：1×4 — 隣接ボタン間に縦の区切り線 */
@media (min-width: 900px) {
  .tab-btn+.tab-btn {
    border-left: 1px solid var(--rule) !important;
  }
}

/* SP：2×2 — 2列目に縦の区切り線、2行目に横の区切り線 */
@media (max-width: 899px) {
  .tab-btn:nth-child(2n) {
    border-left: 1px solid var(--rule) !important;
  }
  .tab-btn:nth-child(n+3) {
    border-top: 1px solid var(--rule) !important;
  }
}

.tab-btn.is-active {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 1px var(--ink);
}
.tab-btn:not(.is-active):hover {
  background: var(--paper-3);
}

.tab-panel {
  display: none;
  padding: 40px 0 0;
}
.tab-panel.is-active {
  display: block;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}
@media (min-width: 768px) {
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .plan-grid.is-2col {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-grid.is-4col {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  position: relative;
  padding: 28px 28px 32px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
@media (min-width: 768px) {
  .plan-card {
    border-right: 1px solid var(--rule);
  }
  .plan-grid>.plan-card:nth-child(2n) {
    border-right: 0;
  }
}
@media (min-width: 1100px) {
  .plan-grid:not(.is-2col):not(.is-4col)>.plan-card:nth-child(2n) {
    border-right: 1px solid var(--rule);
  }
  .plan-grid:not(.is-2col):not(.is-4col)>.plan-card:nth-child(3n) {
    border-right: 0;
  }
  .plan-grid.is-4col>.plan-card:nth-child(2n) {
    border-right: 1px solid var(--rule);
  }
  .plan-grid.is-4col>.plan-card:nth-child(4n) {
    border-right: 0;
  }
  .plan-grid.is-2col>.plan-card:nth-child(2n) {
    border-right: 0;
  }
}

.pre-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-en);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--accent);
  color: var(--ink);
  padding: 5px 10px;
}

.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.plan-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.plan-name small {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 500;
  margin-top: 4px;
}
.seats {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 4px 8px;
  white-space: nowrap;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.plan-price .now {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.plan-price .unit {
  font-size: 12px;
  color: var(--grey-500);
}
.plan-price .was {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--grey-400);
  text-decoration: line-through;
  margin-left: 6px;
}

.plan-specs {
  display: grid;
  gap: 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--rule);
}
.plan-specs li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px;
}
.plan-specs .k {
  color: var(--grey-500);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: center;
}
.plan-specs .v {
  color: var(--ink);
}
.plan-specs .v.no {
  color: var(--grey-400);
}
.plan-specs .yes-mark {
  color: var(--ink);
  font-weight: 600;
  margin-right: 4px;
}

/* ターゲット行の上に罫線を引かない */
.plan-card .target {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.7;
  color: var(--grey-600);
  padding-top: 12px;
}

.pricing-notes {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--paper-2);
  font-size: 12px;
  line-height: 1.9;
  color: var(--grey-600);
  border: 1px solid var(--rule);
}
.pricing-notes .pn-title {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 8px;
}
.pricing-notes strong {
  color: var(--ink);
  font-weight: 700;
}
.pricing-notes p {
  margin-bottom: 4px;
  /* 「・」で始まる行が折り返したとき、2行目をテキスト位置に揃える */
  padding-left: 1em;
  text-indent: -1em;
  /* bodyの palt（プロポーショナル詰め）を解除し、
     中黒「・」を本来の全角幅（1em）で表示させる。
     これで上の -1em と一致して折り返しが揃う */
  font-feature-settings: normal;
}
.pricing-notes p.pn-title {
  padding-left: 0;
  text-indent: 0;
}

/* 
   料金タブ — 選択時の矢印（アクティブ時に180°回転）
 */
.tab-btn {
  justify-content: space-between;
  gap: 12px;
}
.tab-label {
  flex: 1;
}
.tab-chev {
  display: inline-block;
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  /* ▼ */
  opacity: 0.5;
  transition: opacity 0.25s;
}
.tab-btn.is-active .tab-chev {
  transform: rotate(180deg);
  /* ▲ */
  opacity: 1;
}

/* 
   プランカード — 図版付き（イベントA / A+B）
   図版はカード上端に全幅で配置。縦横比は
 */
.plan-card.has-image {
  padding-top: 0;
}
.plan-card.has-image .pre-badge {
  z-index: 2;
}
.plan-image {
  aspect-ratio: 828 / 535;
  margin: 0 -28px 24px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.plan-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 
   プランカードグリッド — 罫線ルール（シンプル版）
   • 2列以上（≥1024px）：グリッド外枠に縦罫を置く。
   • 1列（SP）：左右の縦罫線はなし。カード間の区切りは黒の強罫線にして別項目として読ませる。
 */
.plan-grid {
  border-left: 0;
  border-right: 0;
}
@media (min-width: 768px) {
  .plan-grid {
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
  }
}
@media (max-width: 767px) {
  /* 1列レイアウトではカード間の区切り線を濃く */
  .plan-card {
    border-bottom-color: var(--rule-strong);
  }
}

/* 旧ABOUT（CVM）の .cvm-body h3 .hl アクセント下線は削除済み。
   現行ABOUTの黄色下線は .mission-body .hl を参照。 */
.plan-card.has-image {
  padding-top: 28px;
  /* 標準のパディングに戻す */
}
.plan-card.has-image .plan-image {
  /* 旧版（上端まで裁ち落とし）を上書き：パディング内に収める */
  margin: 4px 0 18px;
  aspect-ratio: 828 / 535;
  position: relative;
  display: grid;
  place-items: center;
}

/* ============================================================
   ご利用方法（黒ベタ背景セクション）
============================================================ */
.flow-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 1;
  /* 縦罫線を塗りつぶす（前面に出す） */
}
.flow-section .section-head {
  color: var(--paper);
  border-top-color: rgba(255, 255, 255, .2);
}
.flow-section .section-head h2 .en {
  color: rgba(255, 255, 255, .5);
}
.flow-section .section-head .lede {
  color: rgba(255, 255, 255, .85);
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
@media (min-width: 900px) {
  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.flow-step {
  padding: 32px 28px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 900px) {
  .flow-step {
    border-right: 1px solid rgba(255, 255, 255, .25);
    border-bottom: 0;
    min-height: 320px;
  }
  .flow-step:last-child {
    border-right: 0;
  }
}
.flow-num {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.flow-num .big {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.flow-num .label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.flow-step h3 {
  font-size: 20px;
  font-weight: 700;
}
.flow-step p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .8);
}

/* 
   ご利用方法 サブ — 会員登録なしの利用（スポット利用・スペース利用）
 */
.flow-alt {
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
@media (min-width: 900px) {
  .flow-alt {
    margin-top: 96px;
    padding-top: 48px;
  }
}

.flow-alt-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .flow-alt-intro {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 24px;
  }
}
.flow-alt-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.flow-alt-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: rgba(255, 255, 255, .95);
  letter-spacing: -0.005em;
}
.flow-alt-title--lg {
  font-size: clamp(22px, 2.6vw, 30px);
}
/* 会員利用の流れのリードは見出し直下に配置（上罫線なし） */
.flow-intro {
  margin-bottom: 28px;
}
@media (min-width: 900px) {
  .flow-intro {
    margin-bottom: 36px;
  }
}

.flow-alt-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
@media (min-width: 768px) {
  .flow-alt-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.flow-alt-card {
  position: relative;
  padding: 28px 4px 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 768px) {
  .flow-alt-card {
    padding: 32px 32px 32px 0;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, .2);
  }
  .flow-alt-card:nth-child(2) {
    padding-left: 32px;
    padding-right: 0;
    border-right: 0;
  }
}
.flow-alt-card:last-child {
  border-bottom: 0;
}

.flow-alt-tag {
  align-self: flex-start;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--accent);
  padding: 4px 10px;
}
.flow-alt-card h4 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.flow-alt-card p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
}
.flow-alt-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.2s;
  align-self: flex-start;
}
.flow-alt-link:hover {
  gap: 14px;
}

/* ============================================================
   アクセス
============================================================ */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 900px) {
  .access-grid {
    grid-template-columns: 7fr 5fr;
    border-top: 1px solid var(--rule-strong);
    border-bottom: 1px solid var(--rule-strong);
  }
}
.map-placeholder {
  aspect-ratio: 16 / 11;
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02) 0 14px, transparent 14px 28px),
    var(--paper-2);
  position: relative;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .map-placeholder {
    /* PCでは比率指定を解除：情報カラムの高さに追従させる。
       aspect-ratioのままだと右カラムの行数が増えたとき
       「高さ×16/11」の幅を要求してグリッドを押し広げてしまう */
    aspect-ratio: auto;
    min-height: 400px;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
}
.map-placeholder::after {
  content: "GOOGLE MAP PLACEHOLDER";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--grey-400);
}
/* iframe（Googleマップ）が入っているときはプレースホルダー文字を消し、
   枠いっぱいに地図を表示する */
.map-placeholder:has(iframe)::after {
  content: none;
}
.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Googleマップの彩色をサイトのモノクロ基調に合わせる。
     0〜1で調整可（0で元の色に戻る） */
  filter: grayscale(1);
  transition: filter 0.3s;
}
/* 操作中（ホバー時）だけ色を戻して見やすく */
.map-placeholder:hover iframe {
  filter: grayscale(0);
}
.access-info {
  padding: 32px 28px;
}
@media (min-width: 1024px) {
  .access-info {
    padding: 48px 40px;
  }
}
.access-info dl {
  display: grid;
  gap: 0;
}
.access-info dt {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
  padding-top: 18px;
  padding-bottom: 6px;
  border-top: 1px solid var(--rule);
}
.access-info dt:first-child {
  border-top: 0;
  padding-top: 0;
}
.access-info dd {
  font-size: 14px;
  line-height: 1.85;
  padding-bottom: 18px;
}
/* アクセス情報：ddは全幅で標準サイズ（営業時間だけ大きくしない） */
.access-info dd .big {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  letter-spacing: 0;
}

/* 
   アクセス — 外枠罫線を内側区切り線と同色・同太さに統一
 */
@media (min-width: 900px) {
  .access-grid {
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .map-placeholder {
    border-right-color: var(--rule);
  }
}

/* ============================================================
   note記事
============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 28px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
@media (min-width: 768px) {
  .post-card {
    border-right: 1px solid var(--rule);
    padding: 28px;
  }
  .card-grid>.post-card:nth-child(2n) {
    border-right: 0;
  }
}
@media (min-width: 1024px) {
  .card-grid>.post-card:nth-child(2n) {
    border-right: 1px solid var(--rule);
  }
  .card-grid>.post-card:nth-child(3n) {
    border-right: 0;
  }
}
.post-card:hover {
  background: var(--paper-2);
}
.post-image {
  aspect-ratio: 191 / 100;
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.025) 0 8px, transparent 8px 16px),
    var(--paper-2);
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.post-image .placeholder {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--grey-400);
}
/* RSS実画像差し込み用（noteサムネ）。aspect-ratio枠にトリミングして収める */
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.post-meta .cat {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 8px;
  font-weight: 600;
}
.post-meta .date {
  font-weight: 500;
}
.post-card h4 {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 10px;
  /* RSSタイトルは文字数が不定 → 2行でクランプ。こえた分は「…」。
     3枚横並びカードの高さを揃えるため。 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--grey-600);
  /* RSS本文は2行でクランプ。こえた分は「…」。 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   よくある質問
============================================================ */
.faq-list {
  border-top: 1px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
@media (min-width: 1024px) {
  .faq-q {
    font-size: 17px;
    padding: 28px 0;
  }
}
.faq-q-text {
  display: flex;
  gap: 20px;
  flex: 1;
}
.faq-q-text .label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grey-500);
  font-weight: 600;
  flex-shrink: 0;
  align-self: center;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 4px 8px;
  min-width: 48px;
  text-align: center;
}
.faq-q .icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.3s, background 0.2s;
}
.faq-q .icon svg {
  width: 12px;
  height: 12px;
}
.faq-item.is-open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--ink);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-a>.inner {
  overflow: hidden;
}
.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a .inner>div {
  padding: 0 0 24px 68px;
  font-size: 14px;
  line-height: 2;
  color: var(--grey-600);
}
@media (max-width: 640px) {
  .faq-a .inner>div {
    padding-left: 0;
  }
}

/* ============================================================
   お問い合わせ（トップページ）
============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--ink);
}
@media (min-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }
}
.contact-text {
  padding: 24px 28px;
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) {
  .contact-text {
    padding: 28px 40px;
  }
}
.contact-text h3 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-weight: 700;
}
.contact-cta {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}
@media (min-width: 768px) {
  .contact-cta {
    border-top: 0;
    border-left: 1px solid var(--ink);
    flex-direction: row;
  }
}
.contact-cta .btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  gap: 16px;
  white-space: nowrap;
}
.contact-cta .btn.is-primary {
  background: var(--accent);
}
.contact-cta .btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.contact-cta .btn.is-primary:hover {
  background: var(--ink);
  color: var(--accent);
}
.contact-cta .btn .arrow {
  font-family: var(--font-en);
  font-size: 18px;
}

/* お問い合わせCTA → フッター間のアキを広げる
   （一番狭いSPは約‖2倍、768px以上は約⁡1.5倍。フッター上辺のpadding-top:64pxと合算） */
#contact .container {
  padding-bottom: 208px;
}
@media (min-width: 768px) {
  #contact .container {
    padding-bottom: 176px;
  }
}
@media (min-width: 1024px) {
  #contact .container {
    padding-bottom: 212px;
  }
}

/* ============================================================
   フッター
============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 1;
  /* 縦罫線を塗りつぶす（前面に出す） */
}
.site-footer .container {
  padding-top: 64px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
}
/* 旧フッターロゴ img（フォールバック用に残置。現在は未使用で <span> に置換済み） */
.footer-brand img {
  width: 200px;
  height: auto;
  display: none;
}
/* 旧フッターロゴ img のサイズ指定（1024px以上では非表示のまま） */
@media (min-width: 1024px) {
  .footer-brand img {
    width: 240px;
  }
}

/* フッターの縦型ロゴ（黒地に常時白） */
.footer-brand .footer-logo {
  display: block;
  width: 96px;
  height: auto;
}
@media (min-width: 1024px) {
  .footer-brand .footer-logo {
    width: 120px;
  }
}
.footer-brand .footer-logo path {
  fill: #ffffff;
}
.footer-col h5 {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  /* 罫線なしのタイル。ホバーで黄色い正方形になる */
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  color: rgba(255, 255, 255, .85);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--ink);
}
/* 標準（正方形）アイコン：Instagram、Facebook */
.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

/* noteのロゴは横長 — 40pxタイル内の左右パディングを小さくして、
   ロゴを広く見せつつ視覚的なバランスを保つ。 */
.footer-social svg.note-logo {
  width: 30px;
  height: auto;
}

/* Facebookの「F」字 — タイルと一緒に色を反転させ、フッターの黒地（通常）と
   黄色のホバーの両方で視認できるようにする。 */
.footer-social .fb-glyph {
  fill: #0a0a0a;
}
.footer-social a:hover .fb-glyph {
  fill: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, .5);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-bottom a {
  color: rgba(255, 255, 255, .5);
}
.footer-bottom a:hover {
  color: var(--accent);
}
.footer-bottom .legal {
  display: flex;
  gap: 20px;
}

/* ハッシュリンクの飛び先が固定ヘッダーの裏に隠れないよう下げる */
section[id] {
  scroll-margin-top: 80px;
}

/* 
   フッター — FOLLOW列（SNSラベル）
 */
.footer-col--follow {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-col--follow h5 {
  margin-bottom: 4px;
}
.footer-follow-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.follow-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ============================================================
   タップエリア — サムネイルのヒット領域拡張（タッチ操作向け）
   見た目サイズはそのまま。padding でヒットボックスだけ数px拡大している。
============================================================ */
.thumb {
  touch-action: manipulation;
}
.tab-btn {
  touch-action: manipulation;
}

/* ============================================================
   スクロール出現アニメーション
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   その他ページ
   - ヒーローが無いのでヘッダーは常に白（markup側で .is-scrolled を付与）
   - fixedヘッダーの高さぶん main を下げる
============================================================ */
.subpage-main {
  padding-top: 64px;
}
@media (min-width: 1024px) {
  .subpage-main {
    padding-top: 72px;
  }
}
/* 下層ページ先頭セクション：section-head 側の padding に任せて詰める */
.subpage-main section.section:first-child .container {
  padding-top: 16px;
}
@media (min-width: 1024px) {
  .subpage-main section.section:first-child .container {
    padding-top: 24px;
  }
}

/* ============================================================
   PAGER（一覧ページのページ送り。totalCount > 10 のときのみ描画）
============================================================ */
.pager {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .pager {
    margin-top: 72px;
  }
}
.pager ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule-strong);
}
.pager li+li {
  border-left: 1px solid var(--rule);
}
.pager .pager-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
@media (min-width: 1024px) {
  .pager .pager-btn {
    width: 52px;
    height: 52px;
  }
}
.pager a.pager-btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.pager .pager-btn.current {
  background: var(--ink);
  color: var(--paper);
}
.pager .pager-btn.is-disabled {
  color: var(--grey-400);
  pointer-events: none;
}

/* ============================================================
   NEWS ARCHIVE（お知らせ一覧ページ、#news-archive のみに限定）
   .news-list は index.astro の .news-compact（トップのお知らせ帯）でも
   使い回しているため、他ページに影響しないよう #news-archive スコープに
   閉じて上書きする。
   リストとフッターの間のアキを広げる。既存の section 共通padding-bottom
   （SP=72px/768px+=96px/1024px+=120px）はSPで特に小さく窮屈だったため、
   SPを厚めに補って PC との差を縮めている。
============================================================ */
#news-archive .news-list {
  margin-bottom: 64px;
}
@media (min-width: 768px) {
  #news-archive .news-list {
    margin-bottom: 72px;
  }
}
@media (min-width: 1024px) {
  #news-archive .news-list {
    margin-bottom: 80px;
  }
}

/* ============================================================
   NEWS ARTICLE（お知らせ個別ページ）
   microCMSのリッチエディタ出力（.article-body 内のHTML）を想定
============================================================ */
.news-article {
  max-width: 760px;
  margin: 32px auto 0;
}
/* PC：テキスト主体＋右に控えめな写真カラムの2列組み。
   写真枚はカラム内に縦積み。写真なしのときはロゴパネルで枠を保持 */
@media (min-width: 1024px) {
  .news-article {
    max-width: 1040px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
      "head head"
      "body aside"
      "foot foot";
    column-gap: 56px;
  }
  .news-article .article-head {
    grid-area: head;
  }
  .news-article .article-aside {
    grid-area: aside;
    border-left: 1px solid var(--rule);
    padding-left: 32px;
  }
  .news-article .article-body {
    grid-area: body;
  }
  .news-article .article-foot {
    grid-area: foot;
  }
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: var(--ink);
}
.article-meta .news-cat {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
}
.article-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: 40px;
}
.article-head h1 {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* 写真カラム（SPでは本文の上にスタック） */
.article-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .article-aside {
    margin-bottom: 0;
  }
}
.aside-photo {
  margin: 0;
}
.aside-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.aside-photo figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--grey-600);
  line-height: 1.7;
}

/* 写真なし → 確保された枠に小さな縦ロゴ。
   2列組みが崩れるSPでは表示しない（写真なしの記事はテキストのみ） */
.aside-photo.is-fallback {
  display: none;
}
@media (min-width: 1024px) {
  .aside-photo.is-fallback {
    aspect-ratio: 4 / 3;
    background: var(--paper);
    display: grid;
    place-items: center;
  }
}
.aside-photo.is-fallback .fallback-logo {
  width: 100px;
  height: auto;
}
.aside-photo.is-fallback .fallback-logo path {
  fill: var(--ink);
  opacity: 0.8;
}

/* 本文（microCMSリッチエディタのHTMLがそのまま入る想定） */
.article-body p {
  font-size: 15px;
  line-height: 2.1;
  margin: 0 0 2em;
  text-align: justify;
}
.article-body h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin: 2.6em 0 1em;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.article-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin: 2.2em 0 0.9em;
}
.article-body ul,
.article-body ol {
  margin: 0 0 2em;
  padding-left: 1.4em;
  font-size: 15px;
  line-height: 2;
}
.article-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover {
  color: var(--grey-600);
}
/* 画像：1枚でも複数でも同じリズムで収まるよう上下マージンで統一 */
.article-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
}
.article-body figure {
  margin: 40px 0;
}
.article-body figure img {
  margin: 0;
}
.article-body figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--grey-600);
  line-height: 1.7;
}

/* 記事フッター（一覧へ戻る） */
.article-foot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: center;
}

/* ============================================================
   PRIVACY POLICY（個人情報保護方針）
   本文の組版は .article-body を流用。ここはページ固有の補助のみ
============================================================ */
.policy-doc {
  max-width: 760px;
  margin: 0 auto;
}
/* （1）（2）… の項目段落：通常段落より間隔を詰めてリストのリズムに */
.policy-doc .article-body p.item {
  margin-bottom: 1.1em;
}
/* 最終更新日 */
.policy-updated {
  font-size: 13px;
  color: var(--grey-600);
}
/* 末尾の連絡先情報（罫線リスト） */
.policy-info {
  margin-top: 24px;
  border-top: 1px solid var(--rule-strong);
}
.policy-info>div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 768px) {
  .policy-info>div {
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: baseline;
  }
}
.policy-info dt {
  font-size: 13px;
  font-weight: 700;
}
.policy-info dd {
  font-size: 14px;
  line-height: 1.8;
}

/* ============================================================
   お問い合わせフォーム（contact.html / SSGform想定）
============================================================ */
.contact-form-doc {
  max-width: 760px;
  margin: 0 auto;
}
.contact-form-lede {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 40px;
}
.form-field {
  margin-bottom: 28px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
/* 必須マーク（任意側には何も付けない） */
.req-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--paper);
  padding: 2px 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--paper);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--grey-400);
}
.form-textarea {
  min-height: 160px;
  resize: vertical;
}
/* select: 罫線トーンの矢印を自前で */
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.form-select {
  padding-right: 44px;
}

/* お問い合わせ種別：罫線セグメント（料金タブと同じ語彙） */
/* 種別の案内文：PC＝必須の右／SP＝必須の下（折り返し） */
.type-label {
  flex-wrap: wrap;
}
.choice-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--grey-500);
  flex-basis: 100%;
}
@media (min-width: 768px) {
  .choice-hint {
    flex-basis: auto;
  }
}
.type-choice {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--rule-strong);
}
@media (min-width: 768px) {
  .type-choice {
    grid-template-columns: 1fr 1fr;
  }
}
.type-choice label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: var(--paper-2);
  transition: background 0.2s, color 0.2s;
}
@media (min-width: 768px) {
  .type-choice label {
    justify-content: center;
  }
}
/* 選択印：非選択＝輪郭の□／選択中＝黄色■＋チェック
   （input を label の兄弟に置き、input:checked + label で確実に効かせる。
     labelに input を内包して :has() で組むと、一部ブラウザで背景が
     選択に追従しない不具合があったため。） */
.type-choice label::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: 12px;
  border: 1.5px solid currentColor;
  border-radius: 0;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  transition: background-color 0.2s, border-color 0.2s;
}
.type-choice input:checked+label::before {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3.1 3.1 6.5-7' fill='none' stroke='%230a0a0a' stroke-width='2.2' stroke-linecap='square'/%3E%3C/svg%3E");
}
.type-choice label+label {
  border-top: 1px solid var(--rule);
}
.type-choice label:last-child {
  border-top: 1px solid var(--rule);
}
@media (min-width: 768px) {
  .type-choice label+label {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
  .type-choice label:last-child {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}
.type-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.type-choice label:hover {
  background: var(--paper);
}
.type-choice input:checked+label {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}
.type-choice input:focus-visible+label {
  box-shadow: 0 0 0 2px var(--accent);
}

/* 入会申し込み時のみ表示する追加ブロック */
.join-fields {
  margin: 40px 0 0;
  padding: 36px 40px 40px;
  /* fieldsetの既定枠ではなくクリーンな1本罫の囲みに統一 */
  border: 1px solid var(--rule);
  min-width: 0;
}
@media (max-width: 767px) {
  .join-fields {
    padding: 28px 22px 32px;
  }
}
.join-fields[hidden] {
  display: none;
}
.join-fields-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}
.join-fields-head .eyebrow-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
}
.join-fields-head h3 {
  font-size: 18px;
  font-weight: 700;
}

/* 送信まわり */
.form-agree {
  font-size: 13px;
  color: var(--grey-600);
  line-height: 1.9;
  margin: 36px 0 24px;
}
.form-agree a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}
/* Cloudflare Turnstile：normalサイズ（横長）。他フォーム要素と同じ左揃えのまま、
   主張しすぎないよう上下の余白のみ確保する。 */
.cf-turnstile {
  margin: 20px 0;
  background: var(--paper);
}
.form-submit button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 48px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: var(--ink);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.form-submit button:hover {
  background: var(--ink);
  color: var(--accent);
}

/* サンクスページ */
.thanks-doc {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0 8px;
}
.thanks-doc .thanks-en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
}
.thanks-doc h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
}
.thanks-doc p {
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 40px;
}
.thanks-doc .thanks-foot {
  display: flex;
  justify-content: center;
}

/* ハニーポット（迷惑問い合わせ対策）：視覚・支援技術の両方から隠す */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   印刷 / PDF — パララックスのオフセットを無効化
============================================================ */
@media print {
  .hero-bg .hero-slide img {
    transform: scale(1.12) translate3d(0, 0, 0) !important;
  }
}