@charset "UTF-8";
/* src/scss/base.scss
   サイト全体の共通スタイル＋軽いリセット
*/
/* --- リセット＆共通 --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans CJK JP", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #0e0e0e;
  -webkit-font-smoothing: antialiased;
  font-size: clamp(11px, 0.28vw + 9.9px, 14px);
}

/* 画像・動画系 */
img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* リンク共通（各ページで上書き前提） */
a {
  color: inherit;
  text-decoration: none;
}

/* フォーム系はサイト側のフォントを使う */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* リストは基本リセット（ナビなどは各CSSで再指定） */
ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 見出しも margin リセットしておく */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  font-size: 1em;
  font-weight: inherit;
}

/* 画面内のコンテンツ幅を揃えたい時に使う汎用コンテナ（今後用） */
.l-container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* =========================
   Utilities (u- クラス)
   ========================= */
.u-br-sp {
  display: none;
}

@media (max-width: 767px) {
  .u-br-sp {
    display: block; /* or inline */
  }
}
/* ========================================
   共通：dt / dd 横並びレイアウト
   使い方：<dl class="u-dlRow">…</dl>
   ======================================== */
.u-dlRow {
  margin: 0;
}

.u-dlRow dt,
.u-dlRow dd {
  margin: 0;
}

/* PC / SP 共通で2カラムグリッドにする */
.u-dlRow {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.5em;
  row-gap: 0.4em;
}

/* ラベル幅をある程度そろえたい場合（オプション） */
.u-dlRow--fixedLabel {
  grid-template-columns: 6em 1fr;
}

/* ================================
   SP：dl（u-dlRow）の dt / dd をセンター揃え
   ================================ */
@media (max-width: 767px) {
  .u-dlRow {
    /* 2カラムのまま、全体を中央寄せ */
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    column-gap: 2.5em;
    row-gap: 0.6em;
    text-align: center;
  }
  .u-dlRow dt,
  .u-dlRow dd {
    justify-self: center;
  }
}
/* 共通：無効リンク */
.gnav__item--disabled .gnav__link--disabled,
.spNav__item--disabled .spNav__link--disabled {
  cursor: default;
  pointer-events: none; /* ★クリックできなくする */
  opacity: 0.4; /* 少し薄くする */
}

/* 「準備中」ラベルを小さく */
.gnav__label {
  display: inline-block;
  margin-left: 0.5em;
  font-size: 0.8em;
}

/* ===== Policy consent (common) ===== */
.is-policy-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.policy-consent__checkbox {
  accent-color: #111;
  border-radius: 0;
}

.policy-consent__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}

.policy-consent__checkbox {
  width: 18px;
  height: 18px;
}

.policy-consent__link {
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.85em;
  line-height: 1.4;
}

.policy-consent__text {
  font-size: 0.85em;
  text-align: center;
}

.policy-error {
  margin: 0 0 1rem 0;
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 767px) {
  .policy-error {
    white-space: pre-line;
  }
}
/* ===== Policy modal (common) ===== */
/* ========== Privacy Policy Modal ========== */
/* ===== Privacy Policy Modal ===== */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  padding: 24px;
}
.policy-modal.is-open {
  display: grid;
  place-items: center;
}

/* 背景（透過黒） */
.policy-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* パネル本体 */
.policy-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100vw - 48px);
  max-height: min(80vh, 720px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  color: #111;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  outline: none;
}

/* ヘッダー（黒帯 + 白文字） */
.policy-modal__header {
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.policy-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.policy-modal__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
}
.policy-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 本文（ここだけ縦スクロール） */
.policy-modal__body {
  padding: 18px 20px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.policy-modal__body p {
  margin: 0 0 14px;
  line-height: 1.8;
}

/* ol/ul を読みやすく */
.policy-modal__list {
  margin: 14px 0 18px;
  padding-left: 1.4em;
}

.policy-modal__item {
  margin: 0 0 14px;
}

.policy-modal__itemTitle {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.policy-modal__subList {
  list-style: disc;
  margin: 10px 0 0;
  padding-left: 1.2em;
}
.policy-modal__subList li {
  list-style: disc;
  margin: 0 0 6px;
  line-height: 1.2;
}

.policy-modal__contactTitle {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.policy-modal__address {
  font-style: normal;
  line-height: 1.8;
}

/* SP 微調整 */
@media (max-width: 767px) {
  .policy-modal {
    padding: 14px;
  }
  .policy-modal__panel {
    width: calc(100vw - 28px);
    max-height: 82vh;
  }
  .policy-modal__body {
    padding: 14px 14px;
  }
}
