@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Outfit:wght@400;700;900&display=swap");

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
/* h1,
h2,
h3,
h4 {
  text-wrap: balance;
} */

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

:root {
  /* =========================
     PRIMARY
     ========================= */
  --primary: #039fff; /* fallback */
  --primary: oklch(68% 0.17 240);

  --primary-hover: #0279c9; /* fallback */
  --primary-hover: oklch(55% 0.16 240);

  /* =========================
     ACCENT
     ========================= */
  --accent: #ffe600;
  --accent: oklch(92% 0.18 100);

  --accent-hover: #ffef5d;
  --accent-hover: oklch(95% 0.15 100);

  /* =========================
     BACKGROUND
     ========================= */
  --bg: #ffffff;
  --bg: oklch(100% 0 0);

  --bg-sub: #f0f7fc;
  --bg-sub: oklch(96% 0.02 220);

  /* =========================
     TEXT
     ========================= */
  --text-main: #111111;
  --text-main: oklch(20% 0 0);

  --text-muted: #333333;
  --text-muted: oklch(35% 0 0);

  /* =========================
     🌫 GLASS / SHADOW
     ========================= */
  --glass: rgba(255, 255, 255, 0.85);
  --glass: oklch(100% 0 0 / 0.85);

  --shadow: 0 8px 12px rgba(0, 111, 182, 0.08);
  --shadow: 0 8px 12px oklch(55% 0.1 240 / 0.08);

  /* =========================
     TEXT SHADOW（そのまま）
     ========================= */
  --txt_shadow:
    #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px,
    #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px,
    #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px,
    #fff -2px -1px, rgba(0, 0, 0, 0.5) 3px 3px 3px;

  --txt_shadow-bk:
  /* 黒フチ */
    #000 2px 0, #000 -2px 0, #000 0 2px, #000 0 -2px, #000 2px 2px,
    #000 -2px 2px, #000 2px -2px, #000 -2px -2px,
    /* 白フチ（外側） */ #fff 4px 0, #fff -4px 0, #fff 0 4px, #fff 0 -4px,
    #fff 4px 4px, #fff -4px 4px, #fff 4px -4px, #fff -4px -4px;

  /* 垂直余白（Section Vertical Padding）
     最小 3.75rem(60px) / 最大 5rem(80px)
     計算基準: 375px〜1280px の間で可変 */
  --section-pv: clamp(3.75rem, 3.23rem + 2.21vw, 5rem);
}

/* 1rem = 16px Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
  background-color: var(--bg);
  margin: 0;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
.font-en {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
}

/* Texture (清潔感と安心感を与えるための微細なノイズ) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s;
}

/* アニメーション前の初期状態をCSSで定義 */
.js-fade-up {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform; /* ブラウザに最適化を促す */
}

.text-left {
  text-align: start;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: end;
}

/* color palette */
.dk-orenge {
  color: #f13405;
}

/* --- Layout Components --- */

.l-section {
  padding-top: var(--section-pv);
  padding-bottom: var(--section-pv);
  width: 100%;
}

.l-header {
  position: sticky;
  top: 0;
  z-index: 1010;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 111, 182, 0.1);
}

.l-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.l-header__title {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
}

.l-header__title a {
  font-family: var(--font-en);
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s;
}

.l-header__logo p {
  font-size: 1rem;
  margin: 0;
}

.l-header__nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-header__nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.3s;
}

.l-header__nav a:hover {
  color: var(--primary);
}

.l-header__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.l-header__cta .c-btn {
  min-width: auto;
  padding: 0.5rem 1rem;
}

/* --- Drawer Menu & Hamburger --- */
.c-drawer {
  position: fixed;
  top: 100px; /* ヘッダーの高さ */
  left: 0;
  width: 100%;
  height: calc(100vh - 100px);
  background: var(--glass);
  backdrop-filter: blur(10px);
  /* padding: 2rem; */
  z-index: 1000;
  overflow-y: auto;
  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.c-drawer.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.c-drawer__nav ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-drawer__nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.125rem;
}

.c-drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* Hamburger Button */
.c-hamburger {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.c-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

.c-hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.c-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.c-hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Key Visual (KV) Section
   ========================================================================== */
.p-kv {
  /* overflow: hidden; */
  padding: 4rem 0 5rem; /* 64px */
  position: relative;

  /* 既存の背景設定を維持 */
  background-color: var(--bg);
  background-image: url(../images/bg-img018_blue-1.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.p-kv__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem; /* 20px */
  position: relative;
  z-index: 2; /* 背景オーバレイの上に置く */

  /* デフォルト（スマホ等）は縦並び */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

/* PCサイズ（768px以上）で左右2カラムにする */
@media (min-width: 768px) {
  .p-kv__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* 左の文字エリアを少し広めに */
    align-items: center;
    gap: 0.5rem;
  }
}

/* --------------------------------------------------
   アニメーション関連（既存を維持）
-------------------------------------------------- */
.js-fade-up,
.p-kv__logo,
.js-kv-girl {
  opacity: 1;
  transform: none;
}

.will-animate {
  will-change: transform, opacity;
}

/* --------------------------------------------------
   左側：キャッチコピー
-------------------------------------------------- */
.p-kv__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* PCでは左寄せ */
}

.p-kv__copy {
  font-weight: 800;
  color: #ff4d4f; /* 既存の赤色を維持 */
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-shadow: var(--txt_shadow); /* 既存の影を維持 */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.p-kv__copy-line {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.75rem); /* レスポンシブに可変 */
}

/* 1行目（フリ）だけ少し小さく、色を落ち着かせる */
.p-kv__copy-line--sub {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.u-text-accent {
  color: #ff4d4f;
}

/* 「超」を圧倒的に強調するスタイル */
.p-kv__em {
  display: inline-block;
  font-size: 1.5em; /* 1.5倍大きく */
  color: var(--text-main);
  transform: rotate(-8deg) translateY(5px);
  /* 背景がブルー系とのことなので、赤文字＋白い縁取り風の影で目立たせます */
  text-shadow:
    3px 3px 0px #fef08a,
    -1px -1px 0px #fef08a,
    1px -1px 0px #fef08a,
    -1px 1px 0px #fef08a,
    1px 1px 0px #fef08a;
  margin-right: 0.2rem;
  line-height: 1;
}

/* --------------------------------------------------
   サブコピー（マーカー ＆ 傾き）
-------------------------------------------------- */
.p-kv__text {
  font-size: 1.375rem;
  color: var(--text-main);
  font-weight: 700;
  margin: 2.5rem 0;

  /* ▼ 2行を綺麗に並べて傾けるための設定 ▼ */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左端を揃える */
  gap: 0.5rem; /* 2行の間のスキマ */

  /* 「超」と同じ角度で傾ける */
  transform: rotate(-4deg);
  transform-origin: left center; /* 左側を軸にして傾ける（ズレ防止） */
}

/* 黄色マーカー装飾 */
.p-kv__text-hl {
  background: linear-gradient(transparent 60%, #fef08a 60%);
  display: inline-block;
  padding: 0 0.5rem; /* マーカーが文字ギリギリにならないよう、左右に少し余白を足す */
  line-height: 1.4;
}

/* --------------------------------------------------
   右側：ロゴ画像・キャラクター
-------------------------------------------------- */
.p-kv__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.p-kv__logo {
  max-width: 800px;
  width: 100%;
}

.p-kv__character {
  max-width: 400px;
  max-height: 250px;
}

/* --------------------------------------------------
   スマホ表示の調整（768px以下）
-------------------------------------------------- */
@media (max-width: 768px) {
  .p-kv__head {
    order: -1;
    margin-bottom: 0; /* 必要に応じてロゴとテキストの間の余白を調整 */
  }
  .p-kv__body {
    align-items: center; /* スマホでは中央寄せ */
    text-align: center;
  }

  .p-kv__copy-line {
    /* スマホでは文字が大きすぎないように微調整 */
    font-size: 1.375rem;
  }

  .p-kv__text {
    font-size: 1rem;
    margin-bottom: 1rem;

    /* ▼ スマホでは傾きをリセットし、中央寄せに戻す ▼ */
    transform: none;
    align-items: center;
    gap: 0.25rem;
  }

  .p-kv__character {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* ▼ 配置専用のラッパー ▼ */
.p-kv__actions-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 960px;
  /* Y軸（縦方向）に要素の高さの50%だけ下にずらす = 完璧に半分はみ出す */
  transform: translate(-50%, 50%);
  z-index: 10;
}

/* ▼ ボタン群本体（PCファースト） ▼ */
.p-mv__actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 3rem; /* ボタン同士の隙間 */
  padding: 0 1.25rem;
}

/* スマホ表示（縦並びに逆転） */
@media (max-width: 768px) {
  .p-kv__actions-wrapper {
    display: none; /* ラッパーごと完全に消す */
  }
  /* .p-mv__actions {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  } */
}

/* --------------------------------------------------
   MVボタン 共通スタイル（ポップ・アニメ調デザイン）
-------------------------------------------------- */
.c-btn-mv {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px; /* ボタンが大きくなりすぎるのを防ぐ */
  margin: 0 auto;
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;

  /* 画像に合わせた太い黒フチ */
  border: 3px solid var(--text-main);
  border-radius: 4px; /* ほんの少しだけ丸みを持たせる */

  /* ポップなベタ塗りの影（立体感の演出） */
  box-shadow: 4px 4px 0 var(--text-main);

  /* アニメーション設定 */
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

/* ホバーアクション：押し込まれる動き */
.c-btn-mv:hover {
  transform: translate(4px, 4px); /* 右下に沈み込む */
  box-shadow: 0px 0px 0 var(--text-main); /* 影を消すことで押した感覚を出す */
  color: #fff;
}

/* スマホでは画面幅いっぱいに広げたい場合 */
@media (max-width: 767px) {
  .c-btn-mv {
    max-width: 100%;
  }
}

/* --------------------------------------------------
   MVボタン カラーバリエーション
-------------------------------------------------- */
/* 青ボタン：無料査定 */
.c-btn-mv--blue {
  background-color: var(--primary); /* 既存のブルー変数 */
}

/* 緑ボタン：LINE査定 */
.c-btn-mv--green {
  background-color: var(--line-green, #06c755); /* 先ほど定義したLINEグリーン */
}

/* フローティングボタン（左側固定） */
.c-floating-btns {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ボタンが不必要に横に広がるのを防ぎ、左寄せにする */
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.c-floating-btns.is-active {
  opacity: 1;
  visibility: visible;
}

/* フローティングボタン内のボタンを縦長・左端ぴったりに調整 */
.c-floating-btns .c-btn {
  min-width: auto;
  writing-mode: vertical-rl;
  text-orientation: upright; /* アルファベット（LINEなど）を横倒しにしない */
  padding: 1.5rem 0.75rem;
  border-radius: 0 16px 16px 0; /* 右側だけ角丸 */
  border-left: none !important; /* 確実に左端の線を消して画面に密着させる */
}

/* フローティングボタンのスマホ（SP）対応：画面下部に横並びで固定 */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* フッターなどがボタンの下に隠れないように余白を追加 */
  }
  .c-floating-btns {
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    width: 100%;
    gap: 0;
  }
  .c-floating-btns .c-btn {
    flex: 1;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 1rem 0.5rem;
    border-radius: 0;
    border-top: 3px solid var(--text-main) !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 0.875rem; /* 小さい画面でも収まるように文字サイズを調整 */
  }
  .c-floating-btns .c-btn:first-child {
    border-right: 1.5px solid var(--text-main) !important;
  }
  .c-floating-btns .c-btn:last-child {
    border-left: 1.5px solid var(--text-main) !important;
  }
}

/* 共通ボタンパーツ（流用性確保） */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.5rem 2rem;
  border-radius: 999px;
  border: 3px solid var(--text-main);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
}

.c-btn--primary {
  background-color: var(--primary);
  color: #fff;
  border: 3px solid var(--text-main);
}

.c-btn--primary:hover {
  background-color: var(--primary-hover);
}

.c-btn--accent {
  background-color: var(--accent);
  color: var(--text-main);
  border: 3px solid var(--text-main);
  min-width: 100px;
}

.c-btn--accent:hover {
  background-color: var(--accent-hover);
}

/* LINE専用ボタン */
.c-btn--line {
  background-color: #06c755;
  color: #fff;
  border: 3px solid var(--text-main);
}

.c-btn--line:hover {
  background-color: #05b34c;
}

/* Utility */
.u-desktop {
  display: flex;
}
.u-mobile {
  display: none;
}
@media (max-width: 768px) {
  .u-desktop {
    display: none;
  }
  .u-mobile {
    display: flex;
  }
}

/* --- Common Layout & Components --- */
.l-container {
  max-width: 960px; /* 読みやすさのため少し幅を狭めに */
  margin: 0 auto;
  padding: 0 20px;
}

.c-sec-title {
  text-align: center;
  /* margin-bottom: 3rem; */
}

.c-sec-title__main {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  text-shadow: var(--txt_shadow);
}

.c-sec-title__sub {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  letter-spacing: 0.1em;
  margin: 0;
}

/* 強み */
.p-strength {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--bg-sub);
}

.p-strength__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.p-strength__card {
  background: var(--bg-sub);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 2px solid var(--primary);
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.p-strength__num {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--accent);
  color: var(--text-main);
  border: 2px solid var(--text-main);
  font-size: 0.9rem;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 100%;
}

.p-strength__card-title {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 15px;
}

.p-strength__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .p-strength__cards {
    grid-template-columns: 1fr;
  }

  .p-strength {
    padding: 60px 15px;
  }
}

/* --- Flow Section (買取の流れ) --- */
.p-flow {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.p-flow__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.p-flow__item {
  display: flex;
  gap: 2rem;
  background: var(--bg);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  align-items: center;
}

.p-flow__item img {
  width: auto;
  height: 150px;
  object-fit: cover;
}

/* 下向き矢印（最後以外） */
.p-flow__item:not(:last-child)::after {
  content: "\f0d7"; /* FontAwesome caret-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  bottom: -2.35rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--primary);
}

.p-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
}

.p-flow__step-sub {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.p-flow__step-num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.p-flow__content {
  flex: 1;
}

.p-flow__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.p-flow__text {
  margin: 0;
  line-height: 1.8;
}
.p-flow__text strong {
  color: #ff4d4f;
}

.section__btn {
  margin-top: 30px;
  text-align: center;
}

/* スマホ向け調整 */
@media (max-width: 768px) {
  .p-flow__item {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: left;
  }
  .p-flow__title {
    justify-content: center;
  }
}

/* --- product Section (買取商品) --- */
.p-purchase {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.p-purchase__grid {
  display: flex;
  gap: 2rem;
}

.p-purchase__box {
  flex: 1;
  background: var(--bg);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 6px solid var(--text-main);
}

.p-purchase__box--can {
  border-color: var(--primary);
}

.p-purchase__box--cannot {
  border-color: #ff4d4f; /* 警告を示す赤色 */
}

.p-purchase__box-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: left;
}

.p-purchase__box--can .p-purchase__box-title {
  color: var(--primary);
}

.p-purchase__box--cannot .p-purchase__box-title {
  color: #ff4d4f;
}

.p-purchase__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-purchase__list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
}

.p-purchase__box--can .p-purchase__list li::before,
.p-purchase__box--cannot .p-purchase__list li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
}

.p-purchase__box--can .p-purchase__list li::before {
  content: "\f00c"; /* check */
  color: var(--primary);
}

.p-purchase__box--cannot .p-purchase__list li::before {
  content: "\f00d"; /* xmark */
  color: #ff4d4f;
}

/* スマホ向け調整 (SP縦置き) */
@media (max-width: 768px) {
  .p-purchase__grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .p-purchase__box {
    padding: 1.5rem;
  }
}

/* キャンペーンセクション全体 */
.p-campaign {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background-color: #fff;
  overflow: hidden; /* スライダーのはみ出し防止 */
}

.p-campaign__content {
  text-align: center;
  margin-bottom: 3rem;
}

.p-campaign__copy {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--primary-hover);
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.p-campaign__copy .u-highlight {
  color: #f13405;
  font-size: 1.2em;
  text-shadow: var(--txt_shadow);
  margin: 0 0.2rem;
}

.p-campaign__copy small {
  display: block;
  font-size: 0.5em;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 0.5rem;
}

/* スライダー外枠 */
.p-campaign__slider {
  width: 100%;
  position: relative;
  /* 両端をぼかすモダンな手法 */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

/* スライダー本体 */
.p-campaign__track {
  display: flex;
  gap: 60px; /* ロゴ同士の間隔 */
  width: max-content; /* 中身の幅に合わせる */
}

.p-campaign__item {
  width: 160px; /* ロゴの幅 */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-campaign__item img {
  width: 100%;
  height: auto;
  filter: grayscale(0);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.p-campaign__item:hover img {
  filter: grayscale(1);
  opacity: 1;
}

.p-campaign__notes {
  margin-top: 2rem;
  text-align: center;
  padding: 0 20px;
}

.c-disclaimer {
  font-size: 0.875rem;
  color: var(--text-main);
  margin-top: 20px;
}

.c-disclaimer ul {
  padding: 0 24px;
  line-height: 1.5;
}

/* スマホではさらに小さくしてもOK */
@media (max-width: 768px) {
  .c-disclaimer {
    font-size: 0.75rem;
  }
}

/* まとめ売りセクション */

.p-bonus {
  padding: clamp(3rem, 8vw, 5rem) 0;
  margin-top: 3rem;
}

.p-bonus__intro {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.8;
}

/* テーブルの基本構造 */
.p-bonus__table-wrapper {
  border: 3px solid var(--text-main);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.p-bonus__grid {
  display: grid;
  /* スマホ：2列 */
  grid-template-columns: 1fr 1.5fr;
}

@media (min-width: 769px) {
  .p-bonus__grid {
    /* PC：枚数・金額のペアを3つ横に並べる（計6列） */
    grid-template-columns: repeat(3, 1fr 1.5fr);
  }
}

/* 共通セルスタイル */
.p-bonus__head,
.p-bonus__cell {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ヘッダーの装飾 */
.p-bonus__head {
  background-color: var(--primary); /* サイトのメインブルー */
  color: #fff;
  border-bottom: 3px solid var(--text-main);
  font-size: 1rem;
}

/* PC時：各ユニットの間に縦線を入れる */
/* @media (min-width: 769px) {
  .p-bonus__grid > *:nth-child(2n):not(:nth-child(6n)) {
    border-right: 2px solid var(--text-main);
  }
} */

/* 金額の強調 */
.u-price {
  font-family: "Outfit", sans-serif;
  color: #ff4d4f;
  font-size: 1.25rem;
}

/* 200枚（最後のセル）の強調 */
.u-highlight {
  background-color: var(--accent-hover);
}

/* スマホ用：もっと見るの設定 */
@media (max-width: 768px) {
  .p-bonus {
    margin-top: 0;
  }
  .p-bonus__intro {
    font-size: 0.75rem;
  }
  .p-bonus__table-wrapper {
    max-height: 480px; /* 初期表示の高さ */
    transition: max-height 0.5s ease;
  }
  .p-bonus__table-wrapper.is-open {
    max-height: none;
  }
  .p-bonus__overlap {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
    pointer-events: none;
  }
  .p-bonus__table-wrapper.is-open .p-bonus__overlap {
    display: none;
  }
}
/* もっと見るボタンの装飾 */
.p-bonus__btn-area.u-mobile {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%; /* 親の幅いっぱいに広げる */
  margin-top: -20px; /* オーバーラップに少し被せる */
  position: relative;
  z-index: 5;
}
.c-btn-more {
  background: var(--text-main);
  color: #fff;
  border: none;
  padding: 0.75rem 2.5rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  /* 3番目から6番目のヘッダーセルを非表示にする */
  .p-bonus__head:nth-child(3),
  .p-bonus__head:nth-child(4),
  .p-bonus__head:nth-child(5),
  .p-bonus__head:nth-child(6) {
    display: none !important;
  }
}

/* PC表示（769px以上）のとき */
@media (min-width: 769px) {
  /* PCではすべて表示（gridのアイテムとして復活させる） */
  .p-bonus__head {
    display: flex !important;
  }
  .p-bonus__btn-area.u-mobile {
    display: none;
  }
}

/* お客様の声 */

.p-results {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background-color: var(--bg);
}

/* ★タイトルとイラストのコンテナ（PC時のレイアウト） */
.c-sec-title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center; /* 上下中央揃え */
  gap: 2rem; /* イラストとタイトルの間隔（約32px） */
  margin-bottom: 3rem; /* セクション全体の余白 */
}

/* ★コンテナ内にある共通タイトルのマージンを打ち消す */
.c-sec-title-wrapper .c-sec-title-decor--left {
  margin-bottom: 0;
}

/* ★イラストの共通スタイル */
.c-sec-title-decor {
  max-width: 96px; /* イラストの最大幅（調整可能） */
  height: auto;
  flex-shrink: 0; /* タイトル幅を確保するため縮ませない */
}

@media (max-width: 768px) {
  /* ★イラストを非表示にする */
  .c-sec-title-decor {
    display: none;
  }

  /* ★コンテナのFlexレイアウトを解除して中央寄せに戻す */
  .c-sec-title-wrapper {
    display: block;
    text-align: center;
    margin-bottom: 2rem; /* スマホ時の余白調整 */
  }
}

.p-results__grid {
  display: grid;
  gap: 20px;
  /* スマホ1列、タブレット2列、PC3列 */
  grid-template-columns: 1fr;
}

@media (min-width: 769px) {
  .p-results__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .p-results__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* カードスタイル */
.p-results__item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 111, 182, 0.1);
  transition: transform 0.3s ease;
}

.p-results__item:hover {
  transform: translateY(-5px);
}

/* カード上部：実績エリア */
.p-results__head {
  padding: 1.5rem;
  background: var(--bg-sub);
  border-bottom: 2px dashed rgba(0, 111, 182, 0.2);
}

.p-results__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--primary);
}

.p-results__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
}

.p-results__count {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.p-results__amount {
  font-family: "Outfit", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ff4d4f; /* 赤系で強調 */
}

/* カード下部：声エリア */
.p-results__body {
  padding: 1.5rem;
  flex: 1;
  position: relative;
}

.p-results__voice {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text-main);
  /* 引用符の装飾 */
  position: relative;
  z-index: 1;
}

.p-results__body::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(0, 111, 182, 0.05);
  font-family: serif;
  line-height: 1;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.p-faq {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background-color: var(--bg-sub); /* 背景を少し変えて区別 */
}

.p-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-faq__item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 111, 182, 0.05);
  border: 1px solid rgba(0, 111, 182, 0.1);
  overflow: hidden;
}

/* 質問（ボタン）部分 */
.p-faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.p-faq__q:hover {
  background-color: rgba(3, 159, 255, 0.05);
}

.p-faq__icon {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  flex-shrink: 0;
}

.p-faq__icon--q {
  color: var(--primary);
}

.p-faq__icon--a {
  color: #f13405; /* 回答はアクセントカラーで差別化 */
}

.p-faq__text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  flex: 1;
  color: var(--text-main);
  margin: 0;
}

/* 開閉アイコン（＋と－の切り替え） */
.p-faq__arrow {
  color: var(--primary);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.p-faq__item.is-open .p-faq__arrow {
  transform: rotate(45deg); /* +を×にする */
}

/* ==========================================================================
   回答部分（最新のCSS Gridによる高さアニメーション）
   ========================================================================== */
.p-faq__a {
  display: grid;
  grid-template-rows: 0fr; /* 初期状態は高さゼロ */
  transition: grid-template-rows 0.3s ease-out;
}

.p-faq__item.is-open .p-faq__a {
  grid-template-rows: 1fr; /* 開くと中身の高さに合わせて広がる */
}

.p-faq__a-inner {
  overflow: hidden; /* 高さがゼロの時にはみ出さないようにする */
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  /* 開いた時のアニメーションとパディング */
  transition:
    padding 0.3s ease-out,
    opacity 0.3s ease-out;
  opacity: 0;
}

.p-faq__item.is-open .p-faq__a-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  opacity: 1;
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .p-faq__q {
    padding: 1rem;
  }
  .p-faq__item.is-open .p-faq__a-inner {
    padding: 0 1rem 1rem 1rem;
  }
  .p-faq__text {
    font-size: 0.9375rem;
  }
}
/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer {
  background-color: #111111; /* 信頼感を高めるダークトーン */
  color: #ffffff;
  padding: 4rem 0 2rem;
}

.l-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* --- 左側：店舗情報 --- */
.l-footer__logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary); /* ロゴはメインカラーで目立たせる */
  margin: 0 0 0.5rem 0;
  line-height: 1;
}

.l-footer__store {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 1.25rem 0;
  color: #dddddd;
}

.l-footer__address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #bbbbbb;
}

.l-footer__tel {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.l-footer__tel:hover {
  color: var(--primary);
}

/* --- 右側：ナビゲーション --- */
.l-footer__nav {
  display: flex;
  gap: 4rem; /* 2つのリストの間隔 */
}

.l-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.l-footer__nav-list li {
  margin-bottom: 1rem;
}

.l-footer__nav-list a {
  color: #bbbbbb;
  text-decoration: none;
  font-size: 0.9375rem;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.l-footer__nav-list a:hover {
  color: var(--primary);
  transform: translateX(4px); /* ホバーで少し右に動く */
}

/* --- 下部：ライセンスとコピーライト --- */
.l-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.l-footer__license {
  font-size: 0.75rem;
  color: #888888;
  margin: 0 0 0.5rem 0;
}

.l-footer__copy {
  font-size: 0.75rem;
  color: #888888;
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.05em;
}

/* --- スマホ用レスポンシブ --- */
@media (max-width: 768px) {
  .l-footer {
    padding: 3rem 0 2rem;
  }

  .l-footer__inner {
    flex-direction: column; /* 縦並びに変更 */
    gap: 3rem;
  }

  .l-footer__nav {
    flex-direction: column; /* リンクのリストも縦並びに */
    gap: 1.5rem;
  }

  .l-footer__nav-list li {
    margin-bottom: 1.25rem; /* タップしやすいように間隔を広げる */
  }

  .l-footer__nav-list a {
    font-size: 1rem; /* スマホでは文字を少し大きく */
  }
}
/* ==========================================================================
   Page Top Button
   ========================================================================== */
.c-pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 990; /* ドロワーメニュー(999)より下、一般コンテンツより上 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--text-main); /* 落ち着いた黒系 */
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  /* 初期状態は非表示（透明 ＆ 少し下にずらす） */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.c-pagetop:hover {
  background-color: var(--primary);
  transform: translateY(-3px); /* ホバーで少し浮く遊び心 */
}

/* JSで付与される表示用クラス */
.c-pagetop.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* スマホ向け調整：画面下部固定のボタンと被らないように！ */
@media (max-width: 768px) {
  .c-pagetop {
    right: 15px;
    bottom: 88px; /* スマホの下部固定ボタン群より上に配置 */
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Auth Section (ログイン / 登録)
   ========================================================================== */
.p-auth {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background-color: var(--bg-sub); /* LP背景と少し変えて浮かせる */
}

.p-auth__card {
  max-width: 800px; /* フォームが横に広がりすぎないように制限 */
  margin: 0 auto;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 111, 182, 0.08);
  overflow: hidden;
}

/* --- タブ切り替えボタン --- */
.p-auth__tabs {
  display: flex;
  background-color: #f1f5f9;
  border-bottom: 2px solid #e2e8f0;
}

.p-auth__tab {
  flex: 1;
  padding: 1.5rem 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.p-auth__tab.is-active {
  color: var(--primary);
  background-color: #fff;
}

/* アクティブなタブの下線アニメーション */
.p-auth__tab::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.p-auth__tab.is-active::after {
  transform: scaleX(1);
}

/* --- タブの中身 --- */
.p-auth__content {
  display: none; /* 初期状態は非表示 */
  padding: clamp(2rem, 5vw, 4rem);
}

.p-auth__content.is-active {
  display: block; /* アクティブなものだけ表示 */
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.p-auth__forgot {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   共通フォームスタイル (C-Form)
   ========================================================================== */
.c-form__lead {
  text-align: left;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  color: #ff4d4f;
}

.c-form__group {
  margin-bottom: 1.5rem;
}

.c-form__label {
  display: flex;
  align-items: center;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-main);
}

/* 必須・任意のバッジ */
.c-form__badge {
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 0.75rem;
  font-weight: 700;
  /* ▼ 縦書き（潰れ）を防止する2行を追加 ▼ */
  white-space: nowrap; /* 中の文字を絶対に改行させない */
  flex-shrink: 0;
}

.c-form__badge--req {
  background-color: #f13405; /* 赤 */
  color: #fff;
}

.c-form__badge--opt {
  background-color: #cbd5e1; /* グレー */
  color: var(--text-main);
}

/* 入力欄（テキスト、パスワード、日付等） */
.c-form__input,
.c-form__select,
.c-form__textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.c-form__textarea {
  resize: vertical; /* 縦方向のみリサイズ許可 */
  min-height: 120px;
}

.c-form__input:focus,
.c-form__select:focus,
.c-form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(3, 159, 255, 0.15);
}

/* セレクトボックスの矢印カスタマイズ */
.c-form__select-wrapper {
  position: relative;
}

.c-form__select-wrapper::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  pointer-events: none;
}

.c-form__select {
  appearance: none; /* デフォルトの矢印を消す */
  cursor: pointer;
}

/* ファイルアップロード */
.c-form__file {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

.c-form__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0 0;
}

.c-form__line {
  border: none;
  border-top: 1px dashed #cbd5e1;
  margin: 2.5rem 0;
}

.c-form__submit-area {
  margin-top: 3rem;
  text-align: center;
}

/* ※ボタン（.c-btn）は既存のLPスタイルを適用してください */
.c-btn--large {
  /* width: 100%; */
  /* max-width: 250px; */
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   MyPage Section
   ========================================================================== */
.p-mypage {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background-color: var(--bg-sub); /* 少しグレーがかった背景 */
}

/* ヘッダー周り */
.p-mypage__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
}

@media (min-width: 768px) {
  .p-mypage__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.p-mypage__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0;
}

.p-mypage__user {
  text-align: left;
}

@media (min-width: 768px) {
  .p-mypage__user {
    text-align: right;
  }
  /* .c-btn--large {
    max-width: 210px;
  } */
}

.p-mypage__greeting {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}

.p-mypage__status {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0;
}

/* ステータスバッジ共通 */
.c-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 999px;
  margin-left: 0.5rem;
}

.c-badge--warning {
  background-color: #fef08a;
  color: #854d0e;
} /* 審査中・未登録など */
.c-badge--success {
  background-color: #bbf7d0;
  color: #166534;
} /* 確認済・入金済など */
.c-badge--info {
  background-color: #bfdbfe;
  color: #1e40af;
} /* 査定中など */

/* グリッドレイアウト (PC: 2カラム / SP: 1カラム) */
.p-mypage__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .p-mypage__grid {
    grid-template-columns: 2fr 1fr; /* 左側を広く取る */
    align-items: start;
  }
}

/* カード共通 */
.p-mypage__card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.p-mypage__card:last-child {
  margin-bottom: 0;
}

.p-mypage__card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  border-bottom: 2px dashed #e2e8f0;
  padding-bottom: 0.75rem;
}

.p-mypage__card-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* アクションカード（目立たせる） */
.p-mypage__card--action {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 20px rgba(3, 159, 255, 0.15);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.p-mypage__card--action .p-mypage__card-title {
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
}

/* アラートカード（身分証アップロード促し等） */
.p-mypage__card--alert {
  background-color: #fffbeb;
  border-color: #fde68a;
}
.p-mypage__card--alert .p-mypage__card-title {
  color: #b45309;
  border-color: #fde68a;
}

/* 小さいアウトラインボタン */
.c-btn--outline {
  background-color: transparent;
  color: var(--text-main);
  border: 3px solid var(--text-main);
}
.c-btn--outline:hover {
  background-color: #f8fafc;
}
.c-btn--small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

/* 履歴リスト */
.p-mypage__history {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-mypage__history-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.p-mypage__history-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.p-mypage__history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.p-mypage__history-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 700;
}
.p-mypage__history-num {
  font-size: 0.9375rem;
  margin: 0;
  font-weight: 700;
}

/* ==========================================================================
   マイページ：査定結果ボックス
   ========================================================================== */
.p-mypage__assessment-box {
  margin-top: 1rem;
  padding: 1.5rem;
  background-color: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
}

.p-mypage__assessment-title {
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.p-mypage__assessment-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  margin-bottom: 1rem;
}

.p-mypage__assessment-price span {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
}

.p-mypage__assessment-price strong {
  font-size: 1.5rem;
  color: #e11d48; /* 目立つ赤色 */
}

.p-mypage__assessment-note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #fff;
  border-left: 4px solid #cbd5e1;
}

.p-mypage__assessment-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 600px) {
  .p-mypage__assessment-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

/* メニューリスト */
.p-mypage__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-mypage__menu li {
  border-bottom: 1px solid #e2e8f0;
}
.p-mypage__menu li:last-child {
  border-bottom: none;
}
.p-mypage__menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.5rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}
.p-mypage__menu a:hover {
  color: var(--primary);
}
.p-mypage__menu i {
  color: #cbd5e1;
}

/* ==========================================================================
   Order Form Section
   ========================================================================== */
.p-order {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background-color: var(--bg-sub);
}

.p-order__header {
  text-align: center;
  margin-bottom: 3rem;
}

.p-order__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.p-order__lead {
  font-size: 1rem;
  color: var(--text-muted);
}

.p-order__form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 111, 182, 0.08);
}

.p-order__fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* ラジオボタンを押しやすいボタン風に */
.p-order__radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .p-order__radio-group {
    flex-direction: row;
  }
}

.p-order__radio {
  flex: 1;
  position: relative;
  cursor: pointer;
}

.p-order__radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.p-order__radio span {
  display: block;
  text-align: center;
  padding: 1rem;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

/* ラジオボタンがチェックされた時のスタイル */
.p-order__radio input:checked + span {
  border-color: var(--primary);
  background-color: #f0f9ff;
  color: var(--primary);
}

/* 段ボール数量グリッド */
.p-order__box-details {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: #f8fafc;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}

.p-order__box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.p-order__box-item label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* =========================================================
   日時入力エリア（Gridレイアウト）
   ========================================================= */
.p-order__datetime {
  display: grid;
  grid-template-columns: 1fr; /* スマホ時は縦1列 */
  gap: 1.5rem; /* 縦横の隙間をしっかり取る */
  margin-top: 1rem;
}

/* PCサイズ（600px以上）の時は、均等な横2列にする */
@media (min-width: 600px) {
  .p-order__datetime {
    grid-template-columns: 1fr 1fr;
  }
}

.p-order__date,
.p-order__time {
  width: 100%; /* 親のGridの枠内にピッタリ収める */
  position: relative;
}

/* ==========================================================================
   Order Form - Shipping Method
   ========================================================================== */

/* 発送方法選択ラジオボタン */
.p-order__ship-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .p-order__ship-methods {
    flex-direction: row;
  }
}

.p-order__ship-method {
  flex: 1;
  cursor: pointer;
}
.p-order__ship-method input[type="radio"] {
  display: none; /* デフォルトの丸いラジオボタンを隠す */
}

/* 選択肢のカードデザイン */
.p-order__ship-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background-color: var(--bg);
  transition: all 0.2s ease;
  height: 100%;
  position: relative;
}

.p-order__ship-title {
  font-weight: 700;
  color: var(--text-main);
}

/* おすすめバッジ */
.p-order__ship-recom {
  font-size: 0.75rem;
  background-color: var(--accent); /* イエロー */
  color: var(--text-main);
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  font-weight: 800;
  position: absolute;
  top: -10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 選択状態のスタイル（青いフチと背景） */
.p-order__ship-method input[type="radio"]:checked + .p-order__ship-box {
  border-color: var(--primary);
  background-color: var(--bg-sub);
}
.p-order__ship-method
  input[type="radio"]:checked
  + .p-order__ship-box
  .p-order__ship-title {
  color: var(--primary);
}

/* 表示切り替えエリア */
.p-order__ship-area {
  display: none;
  animation: fadeIn 0.3s ease;
}
.p-order__ship-area.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* インラインで書かれていたスタイルの外部化 */
.p-order__address-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.p-order__address-label {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 700;
}
.p-order__address-text {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.5;
}

/* アラートボックス */
.p-order__alert {
  background-color: #fff1f2; /* 薄い赤 */
  border: 1px solid #fecdd3;
  padding: 1.5rem;
  border-radius: 8px;
}
.p-order__alert-title {
  color: #e11d48;
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.p-order__alert-text {
  color: #4c0519;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   Bulk & Estate Banner (大口・遺品整理バナー)
   ========================================================================== */
.p-banner-bulk {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background-color: var(--bg-sub);
  background-image: url(../images/generated_img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.p-banner-bulk__inner {
  max-width: 1000px;
  background-color: var(--accent);
  border-radius: 12px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--text-main);
  border: 3px solid var(--text-main);
}

.p-banner-bulk__content {
  flex: 1;
}

.p-banner-bulk__badge {
  display: inline-block;
  background-color: #ff4d4f; /* サイトのメインカラー */
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.p-banner-bulk__title {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.p-banner-bulk__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-main);
}

.p-banner-bulk__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 280px;
}

.p-banner-bulk__btn {
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.p-banner-bulk__note {
  font-size: 0.875rem;
  color: var(--text-main);
  text-align: center;
  margin-top: 0.75rem;
  text-align: center;
}

/* PC向けレイアウト（横並び） */
@media (min-width: 768px) {
  .p-banner-bulk__inner {
    flex-direction: row;
    align-items: center;
    padding: 3rem;
  }

  /* .p-banner-bulk__action {
    border-left: 1px dashed #475569;
    padding-left: 2rem;
  } */
}

/* スマホ表示時の改行制御 */
@media (max-width: 767px) {
  .u-hidden-sp {
    display: none;
  }
}

/* ==========================================================================
   Page Guide (初めてのお客様へ) - Variables Optimized
   ========================================================================== */

/* ページヘッダー：メインカラーのブルーを基調に */
.p-page-header {
  background-color: var(--primary);
  background-image: url(../images/bg-img018_blue-1.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-main);
  padding: 4rem 0;
  overflow: hidden; /* 画像がはみ出した際の崩れを防止 */
}

/* スマホ表示（デフォルト）は縦並び＆中央寄せ */
.p-page-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.p-page-header__content {
  width: 100%;
}

.p-page-header__title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.p-page-header__sub {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
  text-align: start;
}

/* 画像エリアの基本設定（スマホ用） */
.p-page-header__image {
  width: auto;
  height: 255px;
  margin: 0 auto;
}

.p-page-header__image img {
  width: 100%;
  height: 100%;
  display: block;
}

/* --------------------------------------------------
   PC表示のレイアウト（768px以上）
-------------------------------------------------- */
@media (min-width: 768px) {
  .p-page-header__inner {
    flex-direction: row; /* 横並びにする */
    justify-content: center; /* 左右の端ではなく、中央に寄せて配置 */
    align-items: center; /* 縦のラインを中央で揃える */
    gap: 3rem; /* ★テキストとイラストの「距離」を指定（縮めたい時はここを小さく） */
    text-align: left; /* PCでは左寄せ */
  }

  .p-page-header__content {
    flex: 0 1 auto; /* テキストエリアが無駄に広がるのを防ぐ */
    width: auto;
  }

  .p-page-header__image {
    flex-shrink: 0;
    width: auto;
    height: 255px; /* イラスト */
    margin: 0;
  }
}

/* ==========================================================================
   Problem Section (こんなお悩み) - PC First
   ========================================================================== */

.p-problem__header {
  text-align: center;
  margin-bottom: 3rem;
}

.p-problem__title {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 800;
  color: #ff4d4f;
  display: inline-block;
  position: relative;
}
/* タイトル下のアクセントライン */
.p-problem__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ff4d4f;
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* --------------------------------------------------
   PCレイアウト（デフォルト：横並び）
-------------------------------------------------- */
.p-problem__inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.p-problem__content {
  flex: 1;
  max-width: 500px;
}

.p-problem__image {
  flex: 1;
  max-width: 480px;
  width: 100%;
}

.p-problem__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* --------------------------------------------------
   スマホ表示（767px以下：縦並びに逆転）
-------------------------------------------------- */
@media (max-width: 767px) {
  .p-problem__inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .p-problem__image img {
    transform: none; /* スマホでは真っ直ぐに戻す */
  }
}

/* --------------------------------------------------
   お悩みリスト（吹き出しスタイル）
-------------------------------------------------- */
.p-problem__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-problem__item {
  position: relative;
  padding: 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.6;
  border: 3px solid var(--text-main);
  background-color: var(--accent-hover);

  /* ポップなドットパターン */
  background-image: radial-gradient(oklch(100% 0 0 / 80%) 2px, transparent 2px);
  background-size: 20px 20px;
}

/* ==========================================================================
   Solution Banner ( oklch(65% 0.2 250);)
   ========================================================================== */

/* ▼ 位置調整用の親要素（PCレイアウト） ▼ */
.p-problem__solution {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* 縦の中央で揃える */
  /* gap: 3rem;
  width: 100%; */
  padding: 1.125rem; /* 上下のpaddingを均一に */
  box-shadow: var(--shadow);
  font-size: 1rem;
  text-align: center;
  overflow: hidden;
}

.p-solution__decor {
  display: inline-block;
  font-size: 1.1em; /* 文字より少しだけ大きくして勢いを出す */
  font-weight: 900;

  /* ピョコッと跳ねるアニメーション */
  animation: decor-bounce 2s infinite ease-in-out;
}

/* 右側の「／」だけ跳ねるタイミングを少し遅らせる（動きにリズムを出す） */
.p-solution__decor:last-child {
  animation-delay: 0.5s;
}

/* 回転をなくし、Y軸（上下）の移動だけに修正 */
@keyframes decor-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px); /* 6pxだけ上にピョコッと上がる */
  }
}

.p-solution__title {
  font-size: clamp(1.5rem, 1rem + 2vw, 2rem);
  color: #ff4d4f;
  font-weight: 800;
}

/* --------------------------------------------------
   SP表示（768px以下）
-------------------------------------------------- */
@media (max-width: 768px) {
  .p-solution__title {
    font-size: 1.125rem;
  }
  .u-hidden-pc {
    display: none;
  }
}

/* --------------------------------------------------
   3ステップ
-------------------------------------------------- */
/* 背景色をサブ背景色（薄いブルー）に */
.p-guide-step.u-bg-sub {
  background-color: var(--bg-sub);
  padding: 5rem 0;
}

.p-guide-step__list {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .p-guide-step__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-guide-step__item {
  background-color: var(--bg);
  border-radius: 12px;
  padding: 3rem 2rem;
  position: relative;
  text-align: center;
  transition: transform 0.3s;
  /* 共通のシャドウを適用 */
  box-shadow: var(--shadow);
}
.p-guide-step__item:hover {
  transform: translateY(-5px);
}

/* ステップ番号：アクセントのイエローで目立たせる */
.p-guide-step__num {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--text-main);
  padding: 0.4rem 1.5rem;
  border-radius: 30px;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.p-guide-step__icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  /* アイコンが少し浮き出るようにドロップシャドウを適用 */
  filter: drop-shadow(0 4px 6px rgba(3, 159, 255, 0.2));
}

.p-guide-step__head {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.p-guide-step__text {
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
}

/* --------------------------------------------------
   選ばれる理由
-------------------------------------------------- */

.p-guide-merit__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.p-guide-merit__item {
  display: flex;
  gap: 1.5rem;
  /* グラスモーフィズム（透過）の変数を適用 */
  background-color: var(--glass);
  padding: 2rem;
  border-radius: 12px;
  align-items: center;
  box-shadow: var(--shadow);
  /* 透過背景をより綺麗に見せるためのブラー効果（対応ブラウザのみ） */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.p-guide-merit__image i {
  font-size: 3rem;
  color: var(--primary);
}

.p-guide-merit__body h3 {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-wrap: balance;
  line-height: 1.2;
}
.p-guide-merit__body p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------
   FAQ (Accordion)
-------------------------------------------------- */
.p-guide-faq.u-bg-sub {
  background-color: var(--bg-sub);
  padding: 5rem 0;
}

.p-guide-faq__list {
  max-width: 800px;
  margin: 3rem auto 0;
}
.p-guide-faq__item {
  border-bottom: 1px dashed #888888;
  padding: 1rem 0;
}
.p-guide-faq__q {
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
/* アイコンをメインカラーに */
.p-guide-faq__q::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  right: 0;
}
.p-guide-faq__item[open] .p-guide-faq__q::after {
  content: "\f068";
}
.p-guide-faq__a {
  padding: 1rem 0;
  color: #333;
  line-height: 1.6;
}

/* --------------------------------------------------
   CTA（アクション誘導）
-------------------------------------------------- */

.p-guide-cta__inner h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.p-guide-cta__btns {
  margin-top: 2rem;
}

/* ▼ CTA内のボタンがデフォルトで設定されていない場合用 ▼ */
.p-guide-cta__btns .c-btn--primary {
  background-color: var(--accent);
  color: var(--text-main);
}
.p-guide-cta__btns .c-btn--primary:hover {
  background-color: var(--accent-hover);
}

/* =========================================================
   p-guide-cta（アカウント作成CTA）のレイアウト
========================================================= */
.p-guide-cta__wrapper {
  background-color: var(--primary);
  background-image: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-hover) 100%
  );
  display: flex;
  flex-direction: column; /* SP時は縦並び */
  gap: 2rem; /* テキストと画像の間隔 */
  align-items: center;
  color: var(--bg);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.p-guide-cta__image img {
  max-width: 100%;
  width: auto;
  height: 180px;
  object-fit: cover;
}

/* PC向けのスタイル (768px以上で横並びに切り替え) */
@media screen and (min-width: 768px) {
  .p-guide-cta__wrapper {
    flex-direction: row; /* PC時は横並び */
    justify-content: space-between;
    text-align: left;
  }

  .p-guide-cta__inner {
    flex: 7; /* 70% */
    padding-left: 20px;
  }

  .p-guide-cta__image {
    flex: 3; /* 30% */
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* ==========================================================================
   LINE Assessment Page (LINE仮査定)
   ========================================================================== */

/* LINE専用ブランドカラー */
:root {
  --line-green: #06c755;
  --line-green-hover: #05b34c;
}

.p-line-guide__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  background-color: var(--bg);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .p-line-guide__inner {
    flex-direction: row;
    padding: 4rem;
    gap: 5rem;
  }
  .p-line-guide__content {
    flex: 1.2;
  }
  .p-line-guide__action {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

/* --------------------------------------------------
   ステップ部分
-------------------------------------------------- */
.p-line-guide__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.p-line-guide__steps li {
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--bg-sub);
}

.p-line-guide__steps .step-num {
  display: inline-block;
  background-color: var(--line-green);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.p-line-guide__steps h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.p-line-guide__steps p {
  color: var(--text-muted);
  line-height: 1.6;
}

.p-line-guide__steps small {
  display: block;
  margin-top: 0.5rem;
  color: #888;
  font-size: 0.85em;
}

/* --------------------------------------------------
   QR・アクション部分
-------------------------------------------------- */
.p-line-guide__qr-box,
.p-line-guide__sp-box {
  background-color: var(--bg-sub);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.p-line-guide__qr-title {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.p-line-guide__qr-box p,
.p-line-guide__sp-box p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.p-line-guide__qr-img {
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.p-line-guide__qr-img img {
  width: 160px; /* QRコードのサイズ */
  height: auto;
  display: block;
}

/* LINE専用ボタン */
.c-btn--line {
  background-color: var(--line-green);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background-color 0.3s,
    transform 0.3s;
  box-shadow: 0 6px 15px rgba(6, 199, 85, 0.3);
}

.c-btn--line i {
  font-size: 1.5rem;
}

.c-btn--line:hover {
  background-color: var(--line-green-hover);
  transform: translateY(-2px);
  color: #fff;
}

.photo-guide-link {
  color: #06c755;
  text-decoration: underline;
  transition: color 0.3s;
}

.photo-guide-link:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Photo Guide (LINE査定 写真の撮影基準)
   ========================================================================== */
.p-photo-guide {
  /* ローカル変数の定義 */
  --guide-green: #06c755; /* メイングリーン */
  --guide-red: #e11d48; /* 悪い例のレッド */
  --guide-border: #e2e8f0;
  padding-top: 0;
}

/* --------------------------------------------------
   ヘッダー部分
-------------------------------------------------- */
.p-photo-guide__header {
  display: flex;
  background-color: var(--guide-green);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.p-photo-guide__header-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem;
  color: #fff;
  gap: 1.5rem;
}

.p-photo-guide__header-icon {
  background-color: #fff;
  color: var(--guide-green);
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.p-photo-guide__header-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.p-photo-guide__header-text p {
  font-weight: 700;
  font-size: 1rem;
}

.p-photo-guide__header-points {
  background-color: #fff;
  margin: 0.5rem 0.5rem 0.5rem 0; /* 右側にだけ少し緑の隙間を残す */
  border-radius: 8px;
  padding: 1.5rem;
  min-width: 320px;
}

.p-photo-guide__header-points h3 {
  color: var(--guide-green);
  font-weight: 800;
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 1rem;
}

.p-photo-guide__header-points ul {
  list-style: none;
}
.p-photo-guide__header-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.p-photo-guide__header-points li i {
  color: var(--guide-green);
  margin-top: 0.2rem;
  font-size: 1.1em;
}

/* --------------------------------------------------
   メインカラム（良い例・悪い例）
-------------------------------------------------- */
.p-photo-guide__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.p-photo-guide__col {
  background-color: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.p-photo-guide__sec-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.p-photo-guide__num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: var(--guide-green);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
}

.p-photo-guide__sec-title h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.p-photo-guide__desc {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* 比較画像エリア */
.p-photo-guide__examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.p-photo-guide__badge {
  display: inline-block;
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.25rem 1rem;
  border-radius: 20px 20px 0 0;
}
.p-photo-guide__badge--good {
  background-color: var(--guide-green);
}
.p-photo-guide__badge--bad {
  background-color: var(--guide-red);
}

.p-photo-guide__figure {
  border: 2px solid;
  /* border-top: none; */
  border-radius: 0 0 8px 8px;
  padding: 1rem;
  background-color: var(--bg-sub);
  height: calc(100% - 28px); /* バッジの高さを引く */
  display: flex;
  flex-direction: column;
}
.p-photo-guide__figure--good {
  border-color: var(--guide-green);
}
.p-photo-guide__figure--bad {
  border-color: var(--guide-red);
}

.p-photo-guide__figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.p-photo-guide__figure figcaption {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  /* margin-top: auto; */
}
.p-photo-guide__figure--good figcaption {
  color: var(--guide-green);
}
.p-photo-guide__figure--bad figcaption {
  color: var(--guide-red);
}

/* --------------------------------------------------
   下部コンテンツ（注意点とその他の例）
-------------------------------------------------- */
.p-photo-guide__notes {
  background-color: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  padding: 2rem;
}

.p-photo-guide__notes-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.p-photo-guide__notes-title i {
  color: #eab308; /* 注意のイエロー */
  font-size: 1.25em;
}

.p-photo-guide__notes-list {
  list-style: none;
  padding-left: 0.5rem;
}
.p-photo-guide__notes-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
}
.p-photo-guide__notes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  background-color: var(--text-muted);
  border-radius: 50%;
}

/* その他の例 */
.p-photo-guide__others {
  background-color: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.p-photo-guide__others-title {
  background-color: var(--guide-green);
  color: #fff;
  display: inline-block;
  font-weight: 800;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.p-photo-guide__others-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.p-photo-guide__other-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.p-photo-guide__other-item figcaption {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  line-height: 1.4;
}
.p-photo-guide__other-item span {
  color: var(--text-muted);
  font-size: 0.9em;
}

/* --------------------------------------------------
   フッター（LINE誘導）
-------------------------------------------------- */
.p-photo-guide__footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #e6f6ec; /* 極薄い緑 */
  border-radius: 12px;
  padding: 1.5rem 2rem;
}

.p-photo-guide__footer-text {
  font-weight: 800;
  color: var(--guide-green);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------
   スマホ表示（逆転・上書き）
-------------------------------------------------- */
@media (max-width: 991px) {
  /* カラムを縦並びに */
  .p-photo-guide__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  /* ヘッダーの縦並び */
  .p-photo-guide__header {
    flex-direction: column;
  }
  .p-photo-guide__header-points {
    margin: 0;
    border-radius: 0;
  }

  /* 比較画像をスマホでも横並びに維持（見比べやすくするため） */
  .p-photo-guide__examples {
    gap: 0.5rem;
  }
  .p-photo-guide__figure {
    padding: 0.5rem;
  }
  .p-photo-guide__figure figcaption {
    font-size: 0.75rem; /* スマホでは文字を小さく */
  }

  /* その他の例を2カラムに */
  .p-photo-guide__others-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* フッターの縦並び */
  .p-photo-guide__footer {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .p-photo-guide__footer-text {
    font-size: 1rem;
    justify-content: center;
  }
}

/* ==========================================================================
   Modal (モーダルウィンドウ)
   ========================================================================== */
.p-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* 表示時のクラス */
.p-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.p-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
}

.p-modal__container {
  position: relative;
  background-color: var(--bg);
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  /* 下から少しスライドアップする動き */
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p-modal.is-active .p-modal__container {
  transform: translateY(0);
}

.p-modal__close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}
.p-modal__close-btn:hover {
  color: var(--primary);
}

.p-modal__title {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-main);
}

/* モーダル内のレイアウト（PCは横並び） */
.p-modal__content {
  display: grid;
  gap: 1.5rem;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .p-modal__content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.p-modal__box {
  background-color: var(--bg-sub);
  padding: 1.5rem;
  border-radius: 12px;
}
.p-modal__box--can .p-modal__box-title {
  color: var(--primary);
}
.p-modal__box--cannot .p-modal__box-title {
  color: #ff4d4f;
}

.p-modal__box-title {
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 0.75rem;
}

.p-modal__list {
  list-style: none;
}
ul.p-modal__list {
  padding-left: 20px;
}
.p-modal__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  font-weight: 700;
}
.p-modal__box--can .p-modal__list li::before {
  content: "\f00c"; /* FontAwesome Check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}
.p-modal__box--cannot .p-modal__list li::before {
  content: "\f00d"; /* FontAwesome Xmark */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ff4d4f;
}

/* ==========================================================================
   News (お知らせ共通・一覧・詳細)
   ========================================================================== */
.p-top-news {
  background-color: var(--bg-sub);
}

.p-news-list {
  list-style: none;
}

.p-news-list__item {
  border-bottom: 1px solid var(--primary);
  transition: background-color 0.3s;
}
.p-news-list__item:hover {
  background-color: #f0efef;
}

.p-news-list__link {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  text-decoration: none;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .p-news-list__link {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.p-news-list__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.p-news-list__date {
  font-family: Arial, sans-serif;
  color: var(--text-muted);
  font-weight: 700;
}

/* --- カテゴリラベルの色分け（スラッグ名に合わせる） --- */
.p-news-list__cat {
  font-size: 0.75rem;
  font-weight: 700;
  width: 100px;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background-color: var(--primary);
  color: #fff;
  text-align: center;
}
/* キャンペーン告知（例: slugを"campaign"にした場合） */
.p-news-list__cat--campaign {
  background-color: var(--accent);
  color: var(--text-main);
}
/* 重要（例: slugを"important"にした場合） */
.p-news-list__cat--important {
  background-color: #ff4d4f;
}

.p-news-list__title {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.3s;
}
.p-news-list__item:hover .p-news-list__title {
  color: var(--primary);
}

.p-top-news__btn {
  text-align: center;
  margin-top: 3rem;
}

/* --------------------------------------------------
   アーカイブ（一覧）のレイアウト
-------------------------------------------------- */
@media (min-width: 992px) {
  .p-archive-news__container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
  }
  .p-archive-news__main {
    flex: 1;
  }
  .p-archive-news__sidebar {
    width: 300px;
    flex-shrink: 0;
  }
  .p-news-list__title {
    margin: 0;
  }
}

/* サイドバーウィジェット */
.p-widget {
  background-color: var(--bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.p-widget__title {
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  color: var(--text-main);
}
.p-widget__list {
  list-style: none;
}
.p-widget__list li {
  border-bottom: 1px dashed var(--bg-sub);
}
.p-widget__list a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s;
}
.p-widget__list a:hover {
  color: var(--primary);
}

/* ページネーション */
.p-pagination {
  margin-top: 3rem;
  text-align: center;
}
.p-pagination .nav-links {
  display: inline-flex;
  gap: 0.5rem;
}
.p-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--bg-sub);
  border-radius: 8px;
  color: var(--text-main);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.p-pagination .page-numbers.current,
.p-pagination .page-numbers:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --------------------------------------------------
   シングル（詳細）のレイアウト
-------------------------------------------------- */
.l-container--narrow {
  max-width: 800px;
}
.p-single-news__article {
  background-color: var(--bg);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.p-single-news__header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--bg-sub);
  padding-bottom: 1.5rem;
}
.p-single-news__title {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 900;
  margin-top: 1rem;
  line-height: 1.4;
}
.p-single-news__content {
  line-height: 1.8;
  color: var(--text-main);
}
.p-single-news__content h2 {
  font-size: 1.5rem;
  border-left: 5px solid var(--primary);
  padding-left: 1rem;
  margin: 2rem 0 1rem;
}
.p-single-news__content p {
  margin-bottom: 1.5rem;
}

/* 前後ナビゲーション */
.p-single-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  gap: 1rem;
}
.p-single-nav__prev,
.p-single-nav__next {
  flex: 1;
}
.p-single-nav__next {
  text-align: right;
}
.p-single-nav__back {
  text-align: center;
  margin: 0 1rem;
}
.p-single-nav a:not(.c-btn) {
  color: var(--text-main);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}
.p-single-nav a:not(.c-btn):hover {
  color: var(--primary);
}

/* ==========================================================================
   Page About & 4-Row CTA (買取について ＆ 4連CTA) - PC First
   ========================================================================== */

/* --------------------------------------------------
   3つの約束セクション
-------------------------------------------------- */
.p-about-flow.u-bg-sub {
  background-color: var(--bg-sub);
}

.p-about-promises h2 {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  color: #f13405;
  margin-bottom: 4rem;
}

.p-about-promises__grid {
  display: flex;
  flex-direction: row;
  justify-content: cent;
}

.p-about-promises__item {
  flex: 1;
  background-color: var(--bg);
  border: 4px solid var(--text-main);
  border-radius: 16px;
  padding: 3.5rem 2rem 2.5rem;
  position: relative;
  box-shadow: 6px 6px 0 var(--text-main);
}

.p-about-promises__num {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  background-color: var(--accent);
  color: var(--text-main);
  border: 3px solid var(--text-main);
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 0.2rem 1rem;
  border-radius: 8px;
}

.p-about-promises__icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.p-about-promises__lead {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.p-about-promises__text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --------------------------------------------------
   宅配買取の流れ（タイムライン）
-------------------------------------------------- */
.p-about-flow__timeline {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
}

/* 中央を突き抜ける縦ライン（PC表示時のみ機能） */
.p-about-flow__timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 45px;
  width: 6px;
  height: 100%;
  background-color: var(--primary);
  /* border: 2px solid var(--text-main); */
  border-radius: 3px;
}

.p-about-flow__step {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  position: relative;
}
.p-about-flow__step:last-child {
  margin-bottom: 0;
}

.p-about-flow__step-num {
  width: 96px;
  height: 96px;
  background-color: var(--bg);
  border: 4px solid var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--text-main);
  box-shadow: 4px 4px 0 var(--primary);
  flex-shrink: 0;
  z-index: 2;
  line-height: 1;
}
.p-about-flow__step-num span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}

/* ステップごとに丸の色に変化をつけてポップにする例 */
.p-about-flow__step:nth-child(even) .p-about-flow__step-num {
  background-color: var(--bg-sub);
}

.p-about-flow__step-body {
  background-color: var(--bg);
  border: 4px solid var(--text-main);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 6px 6px 0 var(--text-main);
  flex: 1;
}

.p-about-flow__step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.p-about-flow__step-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --------------------------------------------------
   下部ターゲット別4連CTA
-------------------------------------------------- */
.p-about-cta__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PCは安定の2カラム×2列 */
  gap: 2.5rem;
  margin-top: 3rem;
}

.p-about-cta__card {
  border: 4px solid var(--text-main);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--text-main);
  overflow: hidden;
  background-color: var(--bg);
  display: flex;
}

.p-about-cta__card-inner {
  padding: 3rem 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.p-about-cta__badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 2px solid var(--text-main);
  background-color: var(--bg-sub);
  color: var(--text-main);
  margin-bottom: 1rem;
}

.p-about-cta__card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.p-about-cta__card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1; /* ボタンの位置を下に揃える */
}

/* 4連CTA専用のポップボタン定義 */
.c-btn-about {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-main);
  text-decoration: none;
  border: 3px solid var(--text-main);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--text-main);
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out;
}
.c-btn-about:hover {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 var(--text-main);
}

/* 各カード個別のキャラクター・アクセント処理 */
.p-about-cta__card--first {
  background-color: var(--bg-sub);
}
.p-about-cta__card--first .p-about-cta__badge {
  background-color: var(--accent);
}
.c-btn-about--accent {
  background-color: var(--accent);
}
.c-btn-about--accent:hover {
  background-color: var(--accent-hover);
}

.c-btn-about--white {
  background-color: var(--bg);
}
.c-btn-about--white:hover {
  background-color: var(--bg-sub);
}

.c-btn-about--blue {
  background-color: var(--primary);
  color: #fff;
}
.c-btn-about--blue:hover {
  background-color: var(--primary-hover);
  color: #fff;
}

.c-btn-about--green {
  background-color: var(--line-green, #06c755);
  color: #fff;
}
.c-btn-about--green:hover {
  background-color: var(--line-green-hover, #05b34c);
  color: #fff;
}

/* ==========================================================================
   スマホ表示（767px以下）の逆転・レスポンシブ上書き
   ========================================================================== */
@media (max-width: 767px) {
  /* 3つの約束：縦並び */
  .p-about-promises__grid {
    flex-direction: column;
    gap: 2.5rem;
  }

  /* タイムラインの縦ラインを左端に寄せる */
  .p-about-flow__timeline::before {
    left: 30px;
  }
  .p-about-flow__step {
    gap: 1rem;
  }
  .p-about-flow__step-num {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
    border-width: 3px;
  }
  .p-about-flow__step-num span {
    font-size: 0.6rem;
  }
  .p-about-flow__step-body {
    padding: 1.25rem;
    border-width: 3px;
  }

  /* 4連CTA：完全1カラム縦並び */
  .p-about-cta__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .p-about-cta__card-inner {
    padding: 2rem 1.5rem;
  }
  .c-btn-about {
    border-width: 3px;
  }
}

/* ==========================================================================
   Page FAQ (よくある質問) - PC First
   ========================================================================== */

/* 全体の最大幅を少し狭めて読みやすく */
.l-container--narrow {
  max-width: 900px;
}

/* ページ内スムーズスクロールのおまじない */
html {
  scroll-behavior: smooth;
}

/* --------------------------------------------------
   カテゴリナビゲーション（アンカーリンク群）
-------------------------------------------------- */
.p-faq-nav {
  margin-bottom: 4rem;
  /* 追従（sticky）設定をすべて削除 */
}

.p-faq-nav__list {
  display: grid;
  grid-template-columns: repeat(
    3,
    1fr
  ); /* PCは3列に分割（自動的に2行になります） */
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  /* 周辺の枠線や背景、シャドウを削除してスッキリと */
}

.p-faq-nav__link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%; /* グリッド内で高さを揃える */
  padding: 1.25rem 1rem;
  background-color: var(--bg);

  /* 黒からメインカラー（ブルー）へ変更 */
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);

  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease-out;

  /* シャドウもメインカラーに合わせて爽やかに */
  box-shadow: 4px 4px 0 var(--primary);
}

/* ホバーアクション：背景を青く塗りつぶす */
.p-faq-nav__link:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 var(--primary);
}

/* =========================================================
   スマホ表示（767px以下）用の上書き
========================================================= */
@media (max-width: 767px) {
  .p-faq-nav__list {
    grid-template-columns: repeat(2, 1fr); /* スマホは2列×3行に変更 */
    gap: 1rem;
  }

  .p-faq-nav__link {
    font-size: 0.85rem;
    padding: 0.875rem 0.5rem;
    line-height: 1.4;
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--primary);
  }

  .p-faq-nav__link:hover {
    transform: translate(3px, 3px);
  }
}

/* --------------------------------------------------
   各カテゴリセクション
-------------------------------------------------- */
.p-faq-category {
  background-color: var(--bg);
  border: 4px solid var(--primary);
  border-radius: 16px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  box-shadow: 6px 6px 0 var(--primary);
  /* アンカーで飛んできた時にヘッダー等に隠れないよう上に余白を持たせる */
  scroll-margin-top: 120px;
}

.p-faq-category__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px dashed var(--bg-sub);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.p-faq-category__title i {
  color: var(--primary);
  font-size: 1.2em;
}

/* --------------------------------------------------
   アコーディオン（Q&Aリスト）
-------------------------------------------------- */
.p-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-faq-item {
  border: 2px solid var(--bg-sub);
  border-radius: 8px;
  overflow: hidden;
}

.p-faq-q {
  font-weight: 800;
  color: var(--text-main);
  background-color: #f8fafc;
  padding: 1.25rem 3rem 1.25rem 3rem;
  cursor: pointer;
  list-style: none; /* デフォルトの三角形を消す */
  position: relative;
  transition: background-color 0.2s;
}

.p-faq-q::-webkit-details-marker {
  display: none; /* Safari用デフォルト三角形消し */
}

.p-faq-q:hover {
  background-color: #f1f5f9;
}

/* アコーディオンのプラス/マイナスアイコン */
.p-faq-q::after {
  content: "\f067"; /* FontAwesome Plus */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.p-faq-item[open] .p-faq-q {
  border-bottom: 2px dashed var(--bg-sub);
}

.p-faq-item[open] .p-faq-q::after {
  content: "\f068"; /* FontAwesome Minus */
  color: var(--accent-hover);
  transform: translateY(-50%) rotate(180deg);
}

/* Qのバッジ（装飾） */
.p-faq-q::before {
  content: "Q.";
  color: var(--primary);
  font-size: 1.2em;
  position: absolute;
  left: 1.5rem;
  top: 1.25rem;
}

/* アンサー部分 */
.p-faq-a {
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  color: var(--text-muted);
  line-height: 1.8;
  background-color: var(--bg);
  position: relative;
}

.p-faq-a::before {
  content: "A.";
  color: #ff4d4f; /* 赤系で目立たせる */
  font-weight: 900;
  font-size: 1.2em;
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
}

/* --------------------------------------------------
   ページの先頭へボタン
-------------------------------------------------- */
.p-faq-totop {
  text-align: right;
  margin-top: 1.5rem;
}

.p-faq-totop a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.p-faq-totop a:hover {
  color: var(--primary);
}

/* ==========================================================================
   スマホ表示（767px以下）
   ========================================================================== */
@media (max-width: 767px) {
  .p-faq-nav {
    top: 5px; /* スマホでは少し上に詰める */
  }

  .p-faq-nav__list {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .p-faq-nav__link {
    font-size: 0.75rem; /* スマホでは文字サイズを下げて2列に収める */
    padding: 0.4rem 0.75rem;
  }

  .p-faq-category {
    padding: 2rem 1.25rem;
    border-width: 3px;
    box-shadow: 4px 4px 0 var(--text-main);
  }

  .p-faq-category__title {
    font-size: 1.25rem;
  }

  .p-faq-q {
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 0.9375rem;
  }

  .p-faq-q::after {
    right: 1rem;
  }
}
/* ==========================================================================
   CSS Reset & Base (規約に基づく初期化実装)
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid #ea00ff; */ /* デバッグ用 */
}
html {
  font-size: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   Company & Law Table (一本化テーブル) - PC First
   ========================================================================== */
:root {
  /* 古いSafari等のためのRGBフォールバック */
  --co-brand-fallback: #039fff;
  --co-badge-alert: #ff4d4f;

  /* oklchでのカラー定義（主軸） */
  --co-brand: oklch(65% 0.2 250);
}

/* ブラウザがoklchに対応している場合の堅牢な保険 */
@supports (color: oklch(0% 0 0)) {
  :root {
    --co-brand-fallback: var(--co-brand);
  }
}

.l-container--narrow {
  max-width: 840px;
  margin: 0 auto;
}

.p-company__card {
  background-color: var(--bg, #fff);
  border: 4px solid var(--text-main, #000);
  border-radius: 16px;
  padding: 3.5rem;
  box-shadow: 6px 6px 0 var(--text-main, #000);
}

.p-company__table {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--bg-sub, #f1f5f9);
}

.p-company__row {
  display: flex;
  flex-direction: row;
  border-bottom: 2px solid var(--bg-sub, #f1f5f9);
  padding: 1.75rem 0;
}

/* 左カラム（見出し幅の安定化） */
.p-company__th {
  width: 260px;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--text-main, #000);
  display: flex;
  align-items: flex-start;
  padding-top: 0.1rem;
}

/* 右カラム（内容） */
.p-company__td {
  flex: 1;
  color: var(--text-main, #000);
  font-weight: 700;
  line-height: 1.7;
}

.p-company__td a {
  color: var(--co-brand-fallback);
  text-decoration: none;
  border-bottom: 1px dashed var(--co-brand-fallback);
}

.p-company__note {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.5rem;
  font-weight: 500;
}

.p-company__sub-note {
  font-size: 0.85rem;
  color: var(--co-brand-fallback);
  display: block;
  margin-top: 0.25rem;
}

/* --------------------------------------------------
   ポップな識別バッジ
-------------------------------------------------- */
.p-company__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.p-company__badge--law {
  background-color: var(--co-brand-fallback);
}
.p-company__badge--alert {
  background-color: var(--co-badge-alert);
}

.p-company__tel {
  color: inherit;
  text-decoration: none;
  pointer-events: none; /* デフォルト（PC）ではクリック（発信）を完全に無効化 */
  cursor: default;
}

/* ==========================================================================
   スマホ表示（767px以下）：1カラムの縦並びに美しく変形
   ========================================================================== */
@media (max-width: 768px) {
  .p-company__card {
    padding: 1.5rem 1rem;
    border-width: 3px;
    box-shadow: 4px 4px 0 var(--text-main, #000);
  }

  .p-company__row {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 0;
  }

  .p-company__th {
    width: 100%;
    color: var(--co-brand-fallback); /* スマホで見出しを視覚的にセパレート */
    font-size: 0.9375rem;
  }

  .p-company__td {
    font-size: 0.9375rem;
  }

  .p-company__tel {
    color: var(
      --co-brand-fallback
    ); /* スマホのみブランドカラーにしてリンクらしく */
    border-bottom: 1px dashed var(--co-brand-fallback);
    pointer-events: auto; /* スマホのみタップして電話をかけられるようにする */
    cursor: pointer;
  }
}

/* ==========================================================================
   Privacy Policy (プライバシーポリシー) - PC First
   ========================================================================== */
.p-privacy__card {
  background-color: var(--bg);
  border: 4px solid var(--text-main);
  border-radius: 16px;
  padding: 4rem;
  box-shadow: 6px 6px 0 var(--text-main);
  color: var(--text-main);
}

.p-privacy__intro {
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px dashed var(--bg-sub);
}

.p-privacy__sec {
  margin-bottom: 2.5rem;
}
.p-privacy__sec:last-child {
  margin-bottom: 0;
}

.p-privacy__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 5px solid var(--primary);
  line-height: 1.4;
}

.p-privacy__sec p {
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* 箇条書きリストのスタイル */
.p-privacy__list {
  list-style: none;
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}
.p-privacy__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.6;
}
.p-privacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* お問い合わせ先のボックス */
.p-privacy__contact-box {
  background-color: var(--bg-sub);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.p-privacy__info {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}
.p-privacy__info dt {
  width: 140px;
  font-weight: 700;
  flex-shrink: 0;
}
.p-privacy__info dd {
  width: calc(100% - 140px);
  font-weight: 500;
  margin: 0;
}

/* 制定日 */
.p-privacy__footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--bg-sub);
  text-align: right;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   スマホ表示（767px以下）
   ========================================================================== */
@media (max-width: 768px) {
  .p-privacy__card {
    padding: 2rem 1.25rem;
    border-width: 3px;
    box-shadow: 4px 4px 0 var(--text-main);
  }

  .p-privacy__title {
    font-size: 1.125rem;
    padding-left: 0.5rem;
    border-left-width: 4px;
  }

  .p-privacy__info dt,
  .p-privacy__info dd {
    width: 100%; /* スマホでは事業者名と内容を縦並びに */
  }
  .p-privacy__info dd {
    padding-left: 1rem;
    margin-bottom: 0.5rem;
  }
}

/* ==========================================================================
   Snow Monkey Forms - Contact Form (一般お問い合わせ)
   ========================================================================== */

/* フォーム全体をポップなカードデザインで包む */
.smf-form {
  background-color: var(--bg);
  border: 4px solid var(--text-main);
  border-radius: 16px;
  padding: 3rem 4rem;
  box-shadow: 6px 6px 0 var(--text-main);
  max-width: 800px;
  margin: 0 auto;
}

/* 各入力行の区切り */
.smf-item {
  margin-bottom: 2rem;
  /* padding-bottom: 2rem;
  border-bottom: 2px dashed var(--bg-sub); */
}
.smf-item:last-of-type {
  /* border-bottom: none; */
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ラベル（項目名） */
.smf-item__label {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.125rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------
   Modern CSS: :has() を用いた「必須」バッジの自動生成
-------------------------------------------------- */
/* .smf-item（入力行全体）の中に、
   [data-validations="required"]（必須属性）を持つ要素が存在する場合にのみ、
   その行のラベル（.smf-item__label）の後ろにバッジを生成する 
*/
.smf-item:has([data-validations*="required"]) .smf-item__label::after {
  content: "必須";
  display: inline-block;
  background-color: #ff4d4f; /* 目立つ赤色 */
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  line-height: 1;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* 任意の項目（必須ではない項目）にも「任意」バッジを付けたい場合のおまけ（不要なら削除可） */
.smf-item:not(:has([data-validations*="required"])) .smf-item__label::after {
  content: "任意";
  display: inline-block;
  background-color: var(--bg-sub);
  color: var(--text-muted);
  border: 1px solid #cbd5e1;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  line-height: 1;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* --------------------------------------------------
   入力フィールド（テキスト、メール、テキストエリア共通）
-------------------------------------------------- */
.smf-text-control input,
.smf-email-control input,
.smf-textarea-control textarea {
  width: 100%;
  padding: 1.25rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background-color: #f8fafc; /* 少しグレーがかった背景 */
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.2s ease-out;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.smf-textarea-control textarea {
  min-height: 200px;
  resize: vertical; /* 縦方向のみリサイズ許可 */
}

/* フォーカス時（入力中）のアクション */
.smf-text-control input:focus,
.smf-email-control input:focus,
.smf-textarea-control textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg);
  /* oklch非対応ブラウザへのフォールバックを含む青い光彩 */
  box-shadow: 0 0 0 4px var(--bg-sub);
}

/* プレースホルダー（入力のヒント文字） */
::placeholder {
  color: var(--text-muted);
  font-weight: 500;
  opacity: 0.7;
}

/* --------------------------------------------------
   送信・確認ボタンエリア
-------------------------------------------------- */
.smf-action {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 4px solid var(--text-main);
}

.smf-button-control button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--accent);
  color: var(--text-main);
  font-weight: 900;
  font-size: 1.25rem;
  padding: 1.25rem 4rem;
  border: 3px solid var(--text-main);
  border-radius: 50px;
  box-shadow: 6px 6px 0 var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease-out;
  appearance: none;
}

/* ホバーでガチャンと押し込まれるアニメーション */
.smf-button-control button:hover {
  transform: translate(6px, 6px);
  box-shadow: 0px 0px 0 var(--text-main);
  background-color: var(--accent-hover, #fde047);
}

/* ==========================================================================
   Contact Page (お問い合わせ・確認エリア)
   ========================================================================== */

/* フォームの下の余白調整 */
.p-contact__form-wrapper {
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------
   送信前の確認・プライバシーポリシー案内
-------------------------------------------------- */
.p-contact__notice {
  background-color: var(--bg);
  border: 3px dashed var(--text-main); /* フォームの太フチと差別化するため破線に */
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.p-contact__notice-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}
.p-contact__notice-text strong {
  color: #ff4d4f; /* 3営業日以内 を赤で強調 */
  font-size: 1.1em;
}

.p-contact__notice-privacy {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.6;
}

.p-contact__notice-privacy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
  margin: 0 0.25rem;
}
.p-contact__notice-privacy a:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   スマホ表示（768px以下）
   ========================================================================== */
@media (max-width: 768px) {
  .smf-form {
    padding: 2.5rem 1.5rem;
    border-width: 3px;
    box-shadow: 4px 4px 0 var(--text-main);
  }

  .smf-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .smf-item__label {
    font-size: 1rem;
  }

  .smf-text-control input,
  .smf-email-control input,
  .smf-textarea-control textarea {
    padding: 1rem;
    font-size: 0.9375rem;
  }

  .smf-button-control button {
    width: 100%; /* スマホではボタンを横幅いっぱいに */
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-width: 3px;
    box-shadow: 4px 4px 0 var(--text-main);
  }

  .smf-button-control button:hover {
    transform: translate(4px, 4px);
  }

  .p-contact__notice {
    padding: 1.5rem 1rem;
    border-width: 2px;
  }
  .p-contact__notice-text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .p-contact__notice-privacy {
    font-size: 0.85rem;
    text-align: left; /* スマホでは左寄せの方が読みやすい */
  }
}

/* ==========================================================================
   Snow Monkey Forms - Additional Fields (法人用フォーム追加対応)
   ========================================================================== */

/* --------------------------------------------------
   セレクトボックス（都道府県）
-------------------------------------------------- */
.smf-select-control select {
  width: 100%;
  padding: 1.25rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background-color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  appearance: none;
  /* オリジナルのドロップダウン矢印（黒フチ太線） */
  /* background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230f172a" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="6 9 12 15 18 9"%3E%3C/polyline%3E%3C/svg%3E'); */
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25em;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease-out;
}

.smf-select-control select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg);
  box-shadow: 0 0 0 4px var(--bg-sub);
}

/* --------------------------------------------------
   ラジオボタン・チェックボックス
-------------------------------------------------- */
.smf-radio-control,
.smf-checkbox-control {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}

.smf-radio-control label,
.smf-checkbox-control label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

/* モダンCSS：アクセントカラー機能でブランド色に一発変換 */
.smf-radio-control input[type="radio"],
.smf-checkbox-control input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  accent-color: var(--primary);
  cursor: pointer;
}

/* --------------------------------------------------
   ファイル添付エリア
-------------------------------------------------- */
.smf-file-control input[type="file"] {
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 1.5rem;
  border: 2px dashed var(--primary);
  border-radius: 8px;
  background-color: var(--bg-sub);
  width: 100%;
  cursor: pointer;
  color: var(--text-main);
}

/* 「ファイルを選択」ボタン部分のポップなカスタマイズ */
.smf-file-control input[type="file"]::file-selector-button {
  background-color: var(--primary);
  color: #fff;
  border: 2px solid var(--text-main);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 2px 2px 0 var(--text-main);
}

.smf-file-control input[type="file"]::file-selector-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--text-main);
}

/* --------------------------------------------------
   補足説明文（※自動承認の場合は〜等）
-------------------------------------------------- */
.smf-item__description {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .smf-select-control select {
    padding: 1rem;
    font-size: 0.9375rem;
  }
}
