@charset "UTF-8";
/* =========================================================
   common.css  —  日本住宅塗装保証
   全ページ共通（変数 / リセット / 基本 / ヘッダー / フッター / ローディング）
   モバイルファースト（PCは min-width で上書き）
   ========================================================= */

/* ---------- CSS変数 ---------- */
:root {
  /* color */
  --c-primary: #00873c;
  --c-primary-accent: #008f3f;
  --c-primary-dark: #1d5e44;
  --c-text: #333333;
  --c-white: #ffffff;
  --c-bg: #ffffff;
  --c-bg-gray: #f2f2f2;
  --c-border: #edf0ed;
  --c-border-green: #d8e5dc;
  --grad-green: linear-gradient(15deg, #1d5e44 3%, #00873c 95%);
  --grad-green-r: linear-gradient(247deg, #1d5e44 2%, #00873c 96%);

  /* font */
  --f-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", meiryo, sans-serif;
  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-en: "Helvetica Neue", helvetica, arial, sans-serif;

  /* layout */
  --container: 1440px;
  --inner: 1200px;
  /* インナー（コンテンツ列）共通幅：プロブレム／ヒーローインナー／ソリューションインナーで統一 */
  --inner-w: 1040px;
  --radius: 20px;
  --radius-sm: 10px;
  --header-h: 76px;
  /* 下層はヒーローが無く上に詰めるため、ヘッダーを低くする */
  --header-h-sub: 60px;

  /* easing */
  --ease: cubic-bezier(0.25, 0.8, 0.3, 1);
  --ease-inout: cubic-bezier(0.7, 0, 0.2, 1);
}

@media (min-width: 768px) {
  :root {
    --header-h: 120px;
    --header-h-sub: 84px;
  }
}

/* ---------- リセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body {
    font-size: 1.6rem;
  }
}

h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

address {
  font-style: normal;
}

/* ---------- 共通ユーティリティ ---------- */
/* インナー（コンテンツ列）：最大1040px幅で中央寄せ。
   ★これがサイト全体のデフォルトの左右余白（＝トップのプロブレムと同じ）。
   ヒーロー／ソリューションカード／フッターのような全幅パーツだけが例外的に上書きする。
   画面が大きくなると左右の余白が自動的に増える（コンテンツが端に寄らない）。 */
.inner {
  width: 100%;
  max-width: calc(var(--inner-w) + 40px);
  padding-inline: 20px;
  margin-inline: auto;
}

.en-label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--f-en);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.en-label__ic {
  flex: none;
  width: 60px;
  height: 52px;
  margin-right: -12px;
  color: currentColor;
  fill: currentColor;
  opacity: 0.2;
}

@media (min-width: 768px) {
  .en-label {
    font-size: 1.6rem;
  }
}

.sec-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--c-text);
}

@media (min-width: 768px) {
  .sec-title {
    /* 画面幅に応じて可変（1300前後で大きすぎないように）。最大4rem */
    font-size: clamp(2.8rem, 2.8vw, 4rem);
    line-height: 1.4;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* PCのみ改行させる br */
.br-pc {
  display: none;
}

@media (min-width: 768px) {
  .br-pc {
    display: inline;
  }
}

/* ---------- ローディング ---------- */
.loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-green);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loading.is-hidden {
  visibility: hidden;
  opacity: 0;
}

/* 小さな「LOADING...」が横に流れる（マーキー） */
.loading__track {
  display: flex;
  flex: none;
  white-space: nowrap;
  /* フッターのマーキーと同じ流速（px/秒）に合わせた（1セット幅≒フッター1語幅なので同じ48s） */
  animation: loading-scroll 48s linear infinite;
}

.loading__track span {
  flex: none;
  padding-inline: 44px;
  font-family: var(--f-en);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-white);
}

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

/* ---------- ヘッダー ---------- */
.header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding-top: 16px;
  padding-inline: 20px;
}

.header__logo {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--c-white);
}

/* ドロワー展開中：ヘッダーをビューポート上部に固定してロゴを常に表示
   （通常はabsoluteで、スクロール＋body位置固定により画面外へ出てロゴが消えるため） */
body.is-locked .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* ドロワー展開中はロゴを濃色に（白背景で視認性確保） */
body.is-locked .header__logo {
  color: var(--c-primary);
}

/* ---------- 下層ページ用ヘッダー ----------
   トップはヒーロー画像の上に白文字で乗るが、下層は白背景のため濃色へ反転する。
   さらに下層はヒーローが無いぶん、ロゴ・メニューの位置を上へ詰める。 */
.header--sub {
  height: var(--header-h-sub);
  padding-top: 6px;
}

/* ※ ハンバーガーの下層用スタイルは .hamburger 定義より後ろに置く必要があるため
   （同じ詳細度で後勝ちになる）、ハンバーガーのセクション内に記述している。 */

.header--sub .header__logo {
  color: var(--c-primary);
}

.header--sub .gnav a {
  color: var(--c-text);
}

.header--sub .gnav a::after {
  background: var(--c-text);
}

/* CTAは白背景だと視認できないため、緑ベタ＋白文字に反転（ホバーの左スライドは維持） */
.header--sub .header__cta {
  background: var(--c-primary);
}

.header--sub .header__cta::before {
  background: var(--c-white);
}

.header--sub .header__cta span {
  color: var(--c-white);
}

@media (min-width: 768px) {
  .header--sub {
    padding-top: 16px;
  }
}

@media (hover: hover) {
  .header--sub .header__cta:hover span {
    color: var(--c-primary);
  }
}

.header__logo a {
  display: block;
}

.header__logo svg {
  width: 132px;
  height: auto;
}

@media (min-width: 768px) {
  .header {
    padding-top: 34px;
    padding-inline: 50px;
  }
  .header__logo svg {
    width: 177px;
  }
}

/* PCナビ */
.header__nav {
  display: none;
}

.gnav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.gnav a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.03em;
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--c-white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-inout);
}

.header__cta {
  position: relative;
  z-index: 0;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 4px 18px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-primary);
  background: var(--c-white);
  border-radius: 6px;
  overflow: hidden;
}

.header__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--c-primary);
  transform: translateX(-101%);
  transition: transform 0.32s var(--ease-inout);
}

.header__cta span {
  position: relative;
  z-index: 1;
  transition: color 0.32s var(--ease-inout);
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
  }
  .header__cta {
    display: inline-flex;
    margin-left: 14px;
  }
}

@media (hover: hover) {
  .gnav a:hover::after { transform: scaleX(1); }
  .header__cta:hover::before { transform: translateX(0); }
  .header__cta:hover span { color: var(--c-white); }
}

/* ハンバーガー（SPのみ）：追従（fixed）／円＋ドット／背面色で色が変化 */
.hamburger {
  position: fixed;
  top: 24px;
  right: 20px;
  z-index: 130;
  display: grid;
  place-content: center;
  width: 46px;
  height: 46px;
  color: var(--c-white);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  /* 背景に応じて自動反転（白背景では黒、暗い背景では白に見える） */
  mix-blend-mode: difference;
}

/* 下層はヒーローが無くヘッダーを上に詰めるため、ボタンも合わせて上へ
   （.hamburger と同詳細度なので、必ずこの後ろに置くこと） */
.hamburger--sub {
  top: 10px;
}

/* 閉じ状態：小さめの縦2ドット（中央寄せ）／開くと横線に伸びて回転し×に変形（morph） */
.hamburger__dots {
  position: relative;
  width: 16px;
  height: 16px;
}

.hamburger__dots span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  transition: width 0.4s var(--ease-inout), height 0.4s var(--ease-inout),
              border-radius 0.4s var(--ease-inout), transform 0.4s var(--ease-inout);
}

.hamburger__dots span:nth-child(1) { transform: translate(-50%, -50%) translateY(-3.5px); }
.hamburger__dots span:nth-child(2) { transform: translate(-50%, -50%) translateY(3.5px); }

/* 開き状態：2つのドットが横線に伸び、重なって回転＝×に変形 */
.hamburger.is-open .hamburger__dots span {
  width: 15px;
  height: 1.6px;
  border-radius: 1px;
}
.hamburger.is-open .hamburger__dots span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.hamburger.is-open .hamburger__dots span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* SPドロワー */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 100px 28px 48px;
  background: var(--c-white);
  visibility: hidden;
  opacity: 0;
  overflow-y: auto;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}

.drawer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 36px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-primary);
  border-radius: 8px;
}

/* コピーライトは加盟ボタンのすぐ下に */
.drawer__copy {
  margin-top: 20px;
  font-family: var(--f-en);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #888;
}

/* 最下部に流れる英字（フッターのマーキーと同じ／ドロワー左右・下の余白を無視して全幅）
   ※ width:100%だと左右paddingぶん内側に寄るため、padding(28px×2)分を足して全幅にする。
   .marquee--footer が後方で width:100% 等を指定するため、詳細度を上げて上書き */
.drawer .marquee--drawer {
  width: calc(100% + 56px);
  margin-top: auto;
  margin-inline: -28px;
  margin-bottom: -48px;
  padding-top: 24px;
  opacity: 0.2; /* 薄く（約20%） */
}

@media (min-width: 768px) {
  .drawer { display: none; }
}

/* body固定（ドロワー展開時） */
body.is-locked {
  overflow: hidden;
}

/* ---------- フッター ---------- */
.footer {
  position: relative;
  padding: 40px 0 0;
  background: var(--c-bg-gray);
  overflow: hidden;
}

/* フッター内側：ヒーローカードの左右に合わせる（SP 10px / PC 20px・大画面でも狭いまま） */
.footer__inner {
  width: 100%;
  padding-inline: 10px;
  margin-inline: auto;
}

/* SP：各カードに隙間（縦積み） */
.footer__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__row--top {
  margin-bottom: 16px;
}

.footer__card {
  background: var(--c-white);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
}

/* フッターナビ */
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.footer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
  overflow: hidden;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: left;
  color: var(--c-text);
}

.footer-nav a::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--c-primary);
  border-radius: 50%;
}

.footer-nav__label {
  margin-right: auto;
}

.footer-nav .arrow {
  flex: none;
  display: inline-block;
  color: var(--c-primary);
}

@keyframes nav-arrow {
  0% { transform: translateX(0); opacity: 1; }
  35% { transform: translateX(150%); opacity: 0; }
  50% { transform: translateX(-150%); opacity: 0; }
  85% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

.footer__privacy {
  margin-top: 20px;
}

.footer__privacy a {
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: underline;
}

/* CONTACT ブロック（ホバー時は矢印だけ変化・カード全体は色反転しない） */
.footer__card--contact {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.footer-contact {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--c-text);
}

.footer-contact__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.footer-contact .en-label,
.footer-contact__title,
.footer-contact__lead,
.footer-contact__arrow {
  transition: color 0.35s var(--ease-inout);
}

.footer-contact__title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
}

.footer-contact__lead {
  margin-top: 16px;
  font-size: 1.4rem;
  line-height: 1.7;
}

/* SP：矢印は見出し（お問い合わせ）と横軸を合わせて右上に配置 */
.footer-contact__arrow {
  position: absolute;
  right: 0;
  top: 14px;
  display: inline-grid;
  place-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  color: var(--c-primary);
}

.footer-contact__arrow svg {
  position: relative;
  z-index: 1;
  width: 27px; /* ≒1.2倍 */
  height: auto;
}

/* ホバー時：矢印の中央から緑の丸が生える。一回でかくなって少し萎む（オーバーシュート） */
.footer-contact__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%) scale(0);
  background: var(--c-primary);
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.34, 1.9, 0.5, 1);
  z-index: 0;
}

/* 会社情報 */
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-company__label {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-primary);
}

.footer-company__name {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-text);
}

.footer-company__addr,
.footer-company__note {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.7;
}

.footer-company__copy {
  margin-top: 12px;
  font-family: var(--f-en);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #888;
}

/* ロゴカードは中央寄せ（SP・PC共通） */
.footer__logo {
  display: grid;
  place-items: center;
}

.footer__logo img {
  width: 200px;
  height: auto;
}

/* UPボタン（共通見た目） */
.footer-up {
  display: grid;
  place-items: center;
  color: var(--c-primary);
  background: var(--c-white);
  border-radius: var(--radius-sm);
  transition: background 0.28s var(--ease-inout), color 0.28s var(--ease-inout);
}

.footer-up__icon,
.footer-up__text {
  transition: color 0.28s var(--ease-inout);
}

/* フロート版UPはスマホでは不要（非表示）。PCはフッター内インライン版を使用 */
.footer-up--float {
  display: none;
}

/* インライン版（PCフッターのカード）：SPでは非表示 */
.footer-up--inline {
  display: none;
}

.footer-up__icon {
  width: 20px;
  height: 20px;
}

.footer-up__text {
  font-family: var(--f-en);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (hover: hover) {
  .footer-nav a:hover { color: var(--c-primary); }
  .footer-nav a:hover .arrow { animation: nav-arrow 0.42s var(--ease); }
  .footer__privacy a:hover { color: var(--c-primary); }

  /* CONTACTカード：ホバーで矢印中央から丸が生え、矢印が白に（カード全体は変化なし） */
  .footer-contact:hover .footer-contact__arrow::before { transform: translate(-50%, -50%) scale(1); }
  .footer-contact:hover .footer-contact__arrow { color: var(--c-white); }

  .footer-up:hover { background: var(--c-primary); color: var(--c-white); }
  .footer-up:hover .footer-up__icon,
  .footer-up:hover .footer-up__text { color: var(--c-white); }
}

/* ---------- フッター 流れる英字（緑・右→左へループ） ---------- */
.marquee--footer {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 0;
  overflow: hidden;
  line-height: 0.82;
}

.marquee--footer__track {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-scroll 48s linear infinite;
}

.marquee--footer__track span {
  flex: none;
  padding-right: 0.28em;
  font-family: var(--f-en);
  font-size: clamp(4rem, 18vw, 15.7rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-primary);
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee--footer__track { animation: none; }
}

/* ---------- PC フッターレイアウト ---------- */
@media (min-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }
  .footer__inner {
    padding-inline: 20px;
  }
  .footer__row {
    display: grid;
    gap: 28px;
  }
  .footer__row--top {
    grid-template-columns: minmax(0, 634fr) minmax(0, 758fr);
    margin-bottom: 28px;
  }
  .footer__card {
    padding: 44px 56px;
  }
  .footer-nav {
    max-width: 560px;
  }
  .footer-nav a {
    font-size: 1.6rem;
  }
  .footer-contact__title { font-size: clamp(3.2rem, 3.2vw, 4.6rem); }
  .footer-contact__lead { font-size: 1.6rem; padding-right: 100px; }
  .footer-contact {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
  }
  .footer-contact__arrow {
    position: absolute;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    margin: 0;
    width: 64px;
    height: 64px;
  }
  .footer-contact__arrow svg { width: 44px; } /* ≒2倍 */
  .footer-contact__arrow::before { width: 76px; height: 76px; }
  .footer__row--bottom {
    grid-template-columns: 400fr 860fr 122fr;
    align-items: stretch;
  }
  .footer__logo {
    display: grid;
    place-items: center;
  }
  .footer__card--company {
    display: flex;
    align-items: center;
  }
  .footer-company {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 40px;
    align-content: center;
    width: 100%;
    position: relative;
  }
  .footer-company__name {
    font-size: 2.4rem;
  }
  .footer-company__col + .footer-company__col {
    border-left: 1px solid var(--c-border);
    padding-left: 40px;
  }
  .footer-up--float {
    display: none;
  }
  .footer-up--inline {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    min-height: 279px;
  }
  .footer-up__text { font-size: 3rem; }
  .footer-up__icon { width: 26px; height: 26px; }
}

/* ---------- モーダル（保証対象について） ---------- */
.solution__note-link {
  font: inherit;
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: opacity 0.3s var(--ease-inout);
}

@media (hover: hover) {
  .solution__note-link:hover { opacity: 0.65; }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease-inout), visibility 0.3s var(--ease-inout);
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 15, 0.55);
  cursor: pointer;
}

.modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 44px 24px 32px;
  background: var(--c-white);
  border-radius: var(--radius-sm);
  transform: translateY(16px);
  transition: transform 0.35s var(--ease-inout);
}

.modal.is-open .modal__box {
  transform: none;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--c-text);
  border-radius: 50%;
  transition: background 0.25s var(--ease-inout);
}

@media (hover: hover) {
  .modal__close:hover { background: var(--c-bg-gray); }
}

.modal__label {
  font-family: var(--f-en);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.modal__title {
  margin-top: 4px;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-text);
}

.modal__body {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--c-text);
}

.modal__body h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-primary);
}

.modal__body ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal__body li {
  position: relative;
  padding-left: 18px;
}

.modal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
}

.modal__note {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #666;
}

@media (min-width: 768px) {
  .modal__box { padding: 48px 44px 40px; }
  .modal__title { font-size: 2.8rem; }
  .modal__body { font-size: 1.6rem; }
}
