/* ─── Root Vars ─── */
:root {
  --mugen-color-primary: #ecb739;
  --mugen-color-dark: #212934;
  --mugen-color-text: #333;
  --logo-h-sp: 28px;
  --logo-h-tab: 36px;
  --logo-h-pc: 42px;

  --gold: #ecb739;
  --navy: #212934;
}




/* ─── Base ─── */

html, body {
  overflow-x: hidden;      /* ← 追加 */
}

*, *:before, *:after {
  box-sizing: border-box;f
}
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--mugen-color-text);
  line-height: 1.6;
  overflow-x: hidden; /* ←★追加：横スクロール防止 */
  padding-top: 60px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ─── Header ─── */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e5e5e5;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1rem, 3vw, 3rem);
  padding-block: .6rem;
}
.site-logo img {
  display: block;
  width: auto;
  height: var(--logo-h-sp);
  margin-block: .4rem;
}
@media(min-width: 768px) {
  .site-logo img {
    height: var(--logo-h-tab);
  }
}
@media(min-width: 1024px) {
  .site-logo img {
    height: var(--logo-h-pc);
  }
}

/* nav */
.primary-nav {
  display: none;
}
.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.primary-menu a {
  position: relative;
  font-weight: 600;
}
.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--mugen-color-primary);
  transition: width .3s;
}
.primary-menu a:hover::after {
  width: 100%;
}
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #000;
}
#mobileNav {
  position: fixed;
  inset: 0 0 0 auto;
  width: 80%;
  max-width: 280px;
  background: #fff;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.5rem;
  box-shadow: -4px 0 10px rgba(0, 0, 0, .1);
}
#mobileNav a {
  font-weight: 600;
}
body.is-nav-open #mobileNav {
  transform: translateX(0);
}
body.is-nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(2px);
}
@media(min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
  .primary-nav {
    display: block;
  }
  #mobileNav {
    display: none;
  }
}

/* ─── Section base ─── */
.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.section-inner {
  width: 100%;
  /* ← 92vw をやめて全幅 */
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem); /* 左右余白をパディングで */
}

.lead {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
}

/* ─── Hero ─── */
#hero {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}
#hero .section-inner {
  position: relative;
  z-index: 1;
}
.hero-copy {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* 水平2px, 垂直2px, ぼかし8px */
}
.hero-copy .hero-break {
  display: block;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .25s, color .25s, border .25s;
}
.btn-primary {
  background: var(--mugen-color-primary);
  color: #000;
}
.btn-primary:hover {
  filter: brightness(1.1);
}
.btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* ─── Intro ─── */
/* --------------------------------------------------
   モバイル（〜599px）レイアウト微調整
   -------------------------------------------------- */
@media (max-width: 599px) {

  /* ① アイコンとリード文の間隔を 10px に */
  .intro-flex {
    flex-direction: column;
    gap: 0px !important;              /* ← ここが上下の余白 10px */
    text-align: center;
  }

  /* アイコンサイズ＆余白調整（任意）*/
  .intro-icon {
    width: 140px;           /* 好みで 120〜160px */
    margin: 0 auto;         /* 横センター */
  }
  .intro-icon img {
    width: 100%;
    height: auto;
  }

  /* リード文の外側余白をゼロに＋下だけ 10px（見た目を合わせる） */
  #intro .lead {
    margin: 0 0 10px;
  }

  /* ② “信頼できる査定／中間コストなし” を
       ・縦 1 列
       ・ブロックごと中央寄せ  */
  .intro-features {
    display: flex;              /* グリッド → flex */
    flex-direction: column;
    align-items: center;        /* 横方向センター */
    gap: 12px;
  }
  .intro-feature {
    justify-content: center;    /* カード内を中央寄せ */
    width: 100%;
    max-width: 320px;           /* スマホでの横幅 */
    text-align: center;
    margin: 0 auto;             /* カード自体も中央寄せ */
  }
}
@media (max-width: 599px) {

  /* --- アイコンとリード文の間隔が詰まらない対策 ------------------- */
  /* ❶ アイコン下に不要な余白が入るのを明示的になくす */
  .intro-icon {
    margin-bottom: 0;          /* ← ここを追加 */
  }

  /* ❷ リード文の上余白もカットして “アイコン〜リード” を 10px に */
  #intro .lead {
    margin-top: 0;             /* ← ここを追加 */
  }

  /* --- カードが右に寄るのを修正 ------------------------------------ */
  /* UL にブラウザ標準の padding が残っているのが原因です */
  .intro-features {
    list-style: none;
    padding: 0;                /* ← ★これで左右の余白を消す */
    margin: 0 auto;            /* ブロックごと中央寄せ */
  }
}
#intro {
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #fff 45%, #fff9e7 100%);
}
.intro-bg-deco {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: url('/images/circuit_pattern.svg') no-repeat center/contain;
  opacity: .15;
  pointer-events: none;
  transform: rotate(25deg);
}
.intro-flex {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.intro-icon {
  flex: 0 0 180px;
  text-align: center;
}
.intro-text {
  flex: 1 1 320px;
}
.intro-feature {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .9rem 1.2rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}
.intro-feature i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mugen-color-primary);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.accent {
  color: var(--mugen-color-primary);
  font-weight: 700;
}

/* ─── Strengths ─── */
.section-title {
  position: relative;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: .05em;
  color: var(--navy);
  margin: 0 0 3rem;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ecb739 0%, #ffdb6e 100%);
  box-shadow: 0 0 0 0px #fff inset;
}
.strength-grid {
  display: grid;
  gap: clamp(1rem, 4vw, 2rem);
  /* 画面幅で変わる gap */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.strength-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem 1.4rem 2rem;
  background: var(--bg) center/cover no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  transform: translateY(0);
  transition: transform .4s, box-shadow .4s;
  transform-origin: center center;
}
.strength-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}
.strength-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}
.strength-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, .4);
}
.strength-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}


/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(25px);
}
.fade-up-start {
  animation: fadeUp .7s ease-out forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeImg {
  0% { opacity: 0; transform: scale(.92); }
  100% { opacity: 1; transform: scale(1); }
}
.fade-img {
  opacity: 0;
  transform: scale(.92);
}
.fade-img-start {
  animation: fadeImg .8s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@media(max-width: 767px) {
  .strength-card:hover {
    transform: translateY(-4px);      /* scale をカット */
  }
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.2rem;
  border-radius: 40px;
  background: var(--mugen-color-primary);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-cta i {
  font-size: 1.1rem;
}
.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* モバイルはもう少し大きめに */
@media(max-width: 599px) {
  .floating-cta {
    padding: 1rem 1.4rem;
  }
}


#items .item-carousel {
  display: grid;
  gap: 2rem;
  /* 幅に合わせて列数を変化 */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  /* 各セルの中身を中央寄せ */
  justify-items: center;
  padding: 0;
}

#items .item-card {
  position: relative;
  background: var(--bg) center/cover no-repeat;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  padding: 1.5rem 1rem;
  /* 幅を明示しておくと動きが安定します */
  max-width: 240px;
  width: 100%;
}

#items .item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#items .item-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: block;
}

#items figcaption {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  /* 白文字に変更 */
  color: #fff;
}

/* モバイル (599px 以下) は１列表示＋中央寄せ */
@media (max-width: 599px) {
  #items .item-carousel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* ================= Items – Carousel Layout ================= */

/* ラッパー：横スクロール + スナップ */
.item-carousel {
  display: flex;
  gap: 1.2rem;                 /* カード間余白 */
  overflow-x: auto;
  padding: .5rem .2rem 1.2rem; /* 下に余白 → 影も切れない */
  scroll-snap-type: x mandatory;   /* スナップ */
  -webkit-overflow-scrolling: touch; /* iOS なめらか */
}

/* カード共通 */
.item-card {
  flex: 0 0 180px;             /* 幅固定（モバイル）*/
  height: 180px;
  border-radius: 14px;
  position: relative;
  scroll-snap-align: center;   /* スナップ位置 */
  background: var(--bg) center/cover no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  transition: transform .3s ease;
}
.item-card:hover {
  transform: translateY(-4px);
}

/* オーバーレイ(グラデ)で文字を読みやすく  */
.item-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: 0;
}

/* 円形アイコンを中央に */
.item-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  padding: 10px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
  z-index: 1;
}

/* キャプション */
.item-card figcaption {
  position: absolute;
  bottom: .8rem;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .4);
}

/* ─── PC/タブレットではグリッドに戻す ─── */
@media (min-width: 768px) {
  .item-carousel {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .item-card {
    width: auto;
    height: auto;
    /* グリッドに合わせて伸縮 */
    aspect-ratio: 1 / 1;
  }
}

/* ========== Items (買取対象品目) ========== */
/* ── モバイル：横スクロール・スナップ ── */
/* ─── 基本：常に縦に積む ─── */
.item-carousel {
  display: flex;
  flex-direction: column;   /* ← ここを column に変更 */
  align-items: center;      /* 横方向センター */
  gap: 1.5rem;              /* カード間余白 */
  overflow-x: visible;      /* 横スクロール不要 */
  padding: 0;               /* 余白もリセット */
}

.item-card {
  width: 180px;             /* 幅固定（以前と同じ）*/
  height: 180px;
  border-radius: 14px;
  position: relative;
  background: var(--bg) center/cover no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  transition: transform .3s ease;
}
.item-card:hover {
  transform: translateY(-4px);
}

.item-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%,
                                   rgba(0, 0, 0, .15) 60%,
                                   rgba(0, 0, 0, 0)   100%);
  z-index: 0;
}

/* 円形アイコン */
.item-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  padding: 10px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .10);
  z-index: 1;
}

/* キャプション */
.item-card figcaption {
  position: absolute;
  bottom: .8rem;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .4);
}

/* ── 768 px 以上：グリッドに戻す ── */
@media (min-width: 768px) {
  .item-carousel {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    overflow-x: visible;
    padding: 0;
  }
  .item-card {
    flex: 1 1 auto;                  /* flex 固定を解除 */
    height: auto;
    aspect-ratio: 1 / 1;             /* 正方形カードを維持 */
  }
}

/* ===== Items Buttons ===== */
.item-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.item-btn {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--mugen-color-primary);
  color: #000;
  border-radius: 6px;
  text-align: center;
  transition: filter .2s;
}
.item-btn:hover {
  filter: brightness(1.1);
}
@media (max-width: 599px) {
  .item-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .item-btn {
    width: 100%;
  }
}

/* ================================================================= */
/* 「買取対象品目」セクション下の詳細ボタン配置                        */
/* ================================================================= */
.items-more {
  text-align: center;     /* ボタンを中央寄せ */
  margin-top: 2rem;       /* 上に余白を確保 */
}
.items-more .btn-primary {
  padding: .85rem 1.6rem;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 600;
}

/* ========== FAQ ========== */
.faq-list {
  display: grid;
  gap: 1.2rem;
}

/* details 全体 */
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item[open] {
  border-color: var(--mugen-color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

/* summary 見出し */
.faq-item summary {
  list-style: none;           /* デフォルト ▶ を消す */
  cursor: pointer;
  padding: 1.1rem 1rem;
  font-weight: 700;
  display: flex;
  gap: .6rem;
  align-items: center;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
} /* Safari */

/* Q アイコン */
.faq-q-icon {
  flex: 0 0 24px;
  color: var(--mugen-color-primary);
  font-size: 1.15rem;
}

/* 開閉アイコン（＋ / －） */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform .35s ease;
}
.faq-item[open] summary::after {
  content: "–";              /* en dash で横線 */
  transform: translateY(-50%) rotate(0);
}

/* Answer 本文 */
.faq-a {
  padding: 0 1rem 1.1rem 2.2rem;  /* 左を少し奥へ */
  line-height: 1.6;
  font-size: .95rem;
  color: #555;
  border-top: 1px dashed #e0e0e0;
  background: #fafafa;
}

/* モバイルで余白を調整 */
@media(max-width: 599px) {
  .faq-a {
    padding: 0 .9rem 1rem 1.9rem;
  }
}

/* 代表メッセージ */
.message-section {
  padding: 80px 20px;
  background-color: #fff;
  color: #333;
}

@media screen and (min-width: 768px) {
  .message-section {
    max-width: 70%;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); /* 自然な外側の影 */
    border-radius: 8px; /* 角を少し丸く（任意） */
    background-color: #fff; /* 背景が透明でない場合は白推奨 */
  }
}

.message-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.message-content p {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1rem;
  /* 既存の1.1rem→1remにダウン */
  line-height: 1.8;
}

.message-content p:first-child {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

.ceo-name {
  text-align: right;
  font-weight: bold;
  margin-top: 2rem;
}


/* ===== 代表メッセージ（画像表示用） ===== */
.message-section {
  padding: 60px 0 0 0;               /* 上下余白はお好みで調整 */
  background: transparent;  /* 背景色が不要であれば透明に */
}

.message-section .container {
  padding: 0;               /* 内側余白を消す */
  max-width: none;          /* もし制限があれば解除 */
}

.message-section .message-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;        /* 縦横比は維持しつつ枠にフィット */
}



.site-footer {
  background: #222;
  color: #eee;
  padding: 60px 20px 20px;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-info p,
.footer-contact p {
  margin-bottom: 0.6rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #eee;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact h4,
.footer-links h4 {
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

/* ===== ヘッダー共通 ===== */
.site-header {
  position: fixed;
  /* fixed に変更 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* 必要に応じて調整 */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo img {
  max-height: 40px;
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav .current {
  color: #29b2ae;
}

/* ===== フッター共通 ===== */
.site-footer {
  background: #222;
  color: #eee;
  padding: 60px 20px 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo-img {
  max-width: 160px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: #eee;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact .small-text {
  font-size: 0.85rem;
  color: #ccc;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

/* ===== モバイル対応 ===== */
@media (max-width: 768px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 10px;
  }
}

/* ─── Layout for about.html ─── */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Base */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  border-top: 1px solid #e5e5e5;
}

/* Page Header */
.page-header {
  background: #f9f9f9;
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  border-top: none; /* avoid double border */
}
.page-header .page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.page-header .page-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #666;
}

/* Representative Message */
.about-message .section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--navy);
}
.about-message p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Differences List */
.about-difference .section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--navy);
}
.difference-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.difference-list li {
  background: #fff;
  border-left: 4px solid var(--mugen-color-primary);
  padding: 1.25rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: clamp(0.95rem, 2vw, 1rem);
  line-height: 1.6;
}

/* Local Commitment */
.about-local .section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--navy);
}
.about-local p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  text-align: justify;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .difference-list {
    display: flex;
    flex-direction: column;
  }
  .about-message p,
  .about-local p {
    text-align: left;
  }
}

/* デフォルトは非表示 */
.mobile-br {
  display: none;
}

/* モバイル（768px以下）でだけ表示 */
@media (max-width: 768px) {
  .mobile-br {
    display: inline;
  }
}

/* ===== Contact Page Styles ===== */

/* セクション全体 */
#contact {
  background: #f9f9f9;
}
#contact .section-inner {
  max-width: 800px;
  margin: 0 auto;
  /* 上パディングを 2rem、左右は 1.5rem、下パディングを 4rem に */
  padding: 0rem 1.5rem 4rem;
  text-align: center;
}

/* タイトル・リード */
#contact .page-title,
#contact .section-title {
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
#contact .lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--mugen-color-text);
}

/* フォーム */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* 各フォームグループ */
.form-group {
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.form-group .required {
  color: var(--mugen-color-primary);
}

/* 入力フィールド */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="file"],
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--mugen-color-dark);
  background: #fff;
}
.contact-form textarea {
  resize: vertical;
}

/* ファイル入力 */
.contact-form input[type="file"] {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ボタン */
.form-actions .btn-primary {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 6px;
}

/* エラーメッセージ（必要に応じて使用） */
.form-error {
  color: #d9534f;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* モバイル対応 */
@media (max-width: 600px) {
  #contact .section-inner {
    padding: 3rem 1rem;
  }
  .form-actions .btn-primary {
    width: 100%;
  }
}

.mobile-br {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-br {
    display: inline !important;
  }
}

/* contact.html 用にセクション上下を狭くする */
#contact.section {
  /* 上下の余白をそれぞれ小さく上書き */
  padding-top: 0rem;    /* お好みで調整 */
  padding-bottom: 2rem;   /* 必要に応じて調整 */
}

/* 以前に上書きした .section-inner も合わせて調整 */
#contact .section-inner {
  /* すでに設定しているなら、このまま数値をさらに小さく */
  padding: 0rem 1.5rem 2rem;
}


/* ========== Product Grid ========== */
/* ─── Product.html（対象品目ページ）固有のスタイル ─── */
/* ========== Product.html（対象品目ページ）固有スタイル ========== */
.category {
  margin-bottom: 4rem;
}
.category-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--mugen-color-dark);
  border-left: 4px solid var(--mugen-color-primary);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

/* グリッド全体を上揃えに */
.item-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  grid-auto-rows: auto;
}

/* 各カード */
.item-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform .3s, box-shadow .3s;
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* 画像領域を固定高さに */
.item-img {
  width: 100%;
  height: 160px;
  /* ★すべて同じ高さ */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
  /* 縮まない */
}

/* タイトル */
.item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mugen-color-dark);
  margin: 0.5rem 0;
  position: relative;
}
.item-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: var(--mugen-color-primary);
  border-radius: 2px;
}

/* 金額 */
.item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mugen-color-primary);
  margin-bottom: 0.75rem;
}

/* 説明リストを下へ詰める */
.item-desc {
  list-style: disc;
  padding-left: 1.2rem;
  text-align: left;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: auto;
}
/* モバイル：1列→幅調整 */
@media (max-width: 599px) {
  .item-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 480px;
  }
  .item-card {
    padding: 0.75rem;
  }
  .item-img {
    height: 220px;   /* モバイル時の高さも調整 */
    margin-bottom: 0.5rem;
  }
  .item-title { font-size: 1.15rem; }
  .item-price { font-size: 1rem; }
  .item-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* ================================================================= */
/* | index.html 用：買取対象品目レイアウト復旧（#product セクション） | */
/* ================================================================= */
#product {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: #fff;
}
#product .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
#product .section-title {
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  color: var(--mugen-color-dark);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
#product .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--mugen-color-primary);
  border-radius: 2px;
}

/* カテゴリブロック */
#product .category {
  margin-bottom: 4rem;
}
#product .category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mugen-color-dark);
  border-left: 4px solid var(--mugen-color-primary);
  padding-left: .75rem;
  margin-bottom: 1.5rem;
}

/* アイテムグリッド */
#product .item-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}
@media (max-width: 599px) {
  #product .item-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* 各カード */
#product .item-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .3s, box-shadow .3s;
}
#product .item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 画像 */
#product .item-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: .75rem;
  flex-shrink: 0;
}
@media (max-width: 599px) {
  #product .item-img {
    height: 220px;
  }
}

/* タイトル */
#product .item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mugen-color-dark);
  margin: .5rem 0;
  position: relative;
}
#product .item-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--mugen-color-primary);
  border-radius: 2px;
}

/* 金額 */
#product .item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mugen-color-primary);
  margin-bottom: .75rem;
}

/* 説明リスト */
#product .item-desc {
  list-style: disc;
  padding-left: 1.2rem;
  text-align: left;
  color: #555;
  font-size: .95rem;
  line-height: 1.6;
  margin-top: auto;
}

/* ================= Product.html 固有スタイル (最終ブロック) ================= */
.category .item-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 2rem !important;
  align-items: start !important;
  grid-auto-rows: auto !important;
}

.category .item-list .item-card {
  /* グローバル定義を上書き */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1rem;
  transition: transform .3s, box-shadow .3s;
}

.category .item-list .item-card .item-img {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  border-radius: 4px;
  margin-bottom: .75rem;
  flex-shrink: 0 !important;
}

.category .item-list .item-card .item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mugen-color-dark);
  margin: .5rem 0;
  position: relative;
}
.category .item-list .item-card .item-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: var(--mugen-color-primary);
  border-radius: 2px;
}

.category .item-list .item-card .item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mugen-color-primary);
  margin-bottom: .75rem;
}

.category .item-list .item-card .item-desc {
  list-style: disc;
  padding-left: 1.2rem;
  text-align: left;
  color: #555;
  font-size: .95rem;
  line-height: 1.6;
  margin-top: auto;
}

/* モバイル調整（599px以下） */
@media (max-width: 599px) {
  .category .item-list {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 480px;
    margin: 0 auto;
  }
  .category .item-list .item-card {
    padding: .75rem !important;
  }
  .category .item-list .item-card .item-img {
    height: 140px !important;
    margin-bottom: .5rem;
  }
  .category .item-list .item-card .item-title {
    font-size: 1.15rem;
  }
  .category .item-list .item-card .item-price {
    font-size: 1rem;
  }
  .category .item-list .item-card .item-desc {
    font-size: .9rem;
    line-height: 1.5;
  }
}

/* ─── Product.html 固有スタイル 上書き(最終ブロック) ─── */

/* グラデーションオーバーレイ自体を無効化 */
.category .item-list .item-card::before {
  content: none !important;
}

/* カード本体 */
.category .item-list .item-card {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  padding: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18) !important;
  transition: transform .3s, box-shadow .3s !important;
}

/* ホバー時 */
.category .item-list .item-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22) !important;
}

/* 画像をより高く */
.category .item-list .item-card .item-img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  margin-bottom: .75rem !important;
  flex-shrink: 0 !important;
}

/* モバイル時の画像高さ */
@media (max-width: 599px) {
  .category .item-list .item-card .item-img {
    height: 220px !important;
  }
}

/* ─── item-title 高さ調整 ─── */
.category .item-list .item-card .item-title {
  /* 行間を広げる */
  line-height: 2.2;        /* デフォルトより大きめに */
}


/* ================================================================= */
/* │ INDEX.PHP／index.html 用「買取の流れ」カードレイアウト │*/
/* ================================================================= */

/* ─── flow.html 用タイムラインレイアウト（#purchase-flow.timeline） ─── */
#purchase-flow.timeline {
  position: relative;
  padding-left: 0;           /* 内側余白は不要 */
}

/* 縦線（before 擬似要素） */
#purchase-flow.timeline::before {
  content: "";
  position: absolute;
  /* STEP丸の中心に合わせて左からオフセット（丸の半分＝1.5rem）＋カード側パディング */
  left: calc(1.5rem + 1rem + 16px) !important;
  /* タブの直下から線をスタート */
  top: 6rem !important;
  bottom: 1rem;              /* 最後のカード少し残して終端を切る */
  width: 2px;
  background: var(--mugen-color-primary);
  opacity: 0.3;
  z-index: 0;
}

/* 各ステップ */
#purchase-flow.timeline .flow-step {
  position: relative;
  z-index: 1;                /* 縦線の前面に来る */
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* STEPマーカー（丸） */
#purchase-flow.timeline .step-marker {
  position: relative;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  margin-right: 1rem;
}
#purchase-flow.timeline .step-marker .step-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--mugen-color-primary);
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#purchase-flow.timeline .step-marker .step-circle small {
  font-size: .6rem;
  color: var(--mugen-color-primary);
}
#purchase-flow.timeline .step-marker .step-circle span {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--mugen-color-primary);
}

/* STEPマーカー下の線（カード内では使わず before で描画するため省略） */
/* ※もし個別に線を引きたい場合は .step-line は不要です */

/* 本文エリア */
#purchase-flow.timeline .step-body {
  flex: 1;
}
#purchase-flow.timeline .step-body h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
  color: var(--mugen-color-primary);
}
#purchase-flow.timeline .step-body p {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

/* ─── タブ ─── */
.flow-tabs {
  display: flex;
  position: relative;
  z-index: 2;               /* タブを縦線より手前に */
  background: #fff;
  border-bottom: 2px solid #ddd;
  margin-bottom: 1rem;
  padding-left: calc(1.5rem + 1rem);  /* 縦線と揃える */
}
.flow-tabs li {
  margin-right: 1rem;
}
.flow-tabs a {
  display: block;
  padding: .75rem 1.25rem;
  color: #333;
  font-weight: 600;
  border: 2px solid transparent;
  border-bottom: none;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.flow-tabs li.active a {
  background: #fff;
  border-color: #ddd;
  border-bottom: 2px solid var(--mugen-color-primary);
  color: var(--mugen-color-primary);
}
.flow-tabs a:hover {
  color: var(--mugen-color-primary);
}

/* ─── コンテンツ切替 ─── */
.flow-content {
  display: none;
}
.flow-content.active {
  display: block;
}

/* スマホ／タブで縦線の top を少し下げたい場合は @media で調整 */
@media (min-width: 768px) {
  #purchase-flow.timeline::before {
    top: calc(3rem + 2px);
	     background: var(--mugen-color-primary);
  }
}

@media (min-width: 1024px) {
  /* PCビューでだけ step-line を右にずらす */
  #purchase-flow.timeline::before {
    /* 既存スタイルをそのまま残しつつ */
    flex-grow: 1;
    width: 2px;
    background: var(--mugen-color-primary);
    opacity: .6;
    margin-top: .25rem;
    /* ← ここで右に10px移動 */
    margin-left: 14px !important;
  }
}

/* index.html の「買取の流れ」アイコンサイズ調整 */
#flow .flow-icon {
  width: 40px;    /* お好みで 40px → 50px などに調整 */
  height: 40px;
  margin-bottom: 0.75rem;  /* テキストとの間隔 */
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* index.html の flow セクション専用アイコン装飾 */
#flow .flow-card {
  /* 上部にアイコン用スペースを確保 */
  padding-top: 3rem;
  position: relative;
}
#flow .flow-icon {
  /* サイズ調整 */
  width: 60px;
  height: 60px;
  /* 白背景の円を作る */
  background: #fff;
  border: 2px solid var(--mugen-color-primary);
  border-radius: 50%;
  /* 内側余白（アイコンとの間） */
  padding: 8px;
  /* より立体的に */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* 中央揃え */
  display: block;
  margin: 0 auto 1rem;
  /* アイコン画像は中に収める */
  object-fit: contain;
}

/* ─── index.html「買取の流れ」専用スタイル ─── */
#flow {
  background: #fff;
}
#flow .flow-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}
@media(max-width: 768px) {
  #flow .flow-grid {
    grid-template-columns: 1fr;
  }
}
#flow .flow-card {
  position: relative;
  padding: 3rem 1.5rem 1.5rem;   /* 上にアイコン用スペース */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
#flow .flow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* ① アイコンを円形の白バック + 境界線 + シャドウ */
#flow .flow-icon {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  padding: 8px;                           /* アイコン自体の余白 */
  background: #fff;
  border: 2px solid var(--mugen-color-primary);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: contain;
}

/* ② STEPラベル */
#flow .flow-step {
  display: inline-block;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  background: var(--mugen-color-primary);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: .25rem 1.2rem;
}

/* ③ 見出し */
#flow .flow-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mugen-color-dark);
}

/* ④ 説明文 */
#flow .flow-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: #555;
}

/* ⑤ 「詳細はこちら」ボタン */
#flow .flow-more {
  text-align: center;
  margin-top: 2.5rem;
}
#flow .flow-more .btn-primary {
  display: inline-block;
  padding: .85rem 1.6rem;
  background: var(--mugen-color-primary);
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  transition: filter .2s;
}
#flow .flow-more .btn-primary:hover {
  filter: brightness(1.1);
}

/* ─── index.html：PCプレビュー用調整 ─── */
@media (min-width: 768px) {
  /* セクションタイトルとカード群のあいだに余白を追加 */
  #flow .section-title {
    margin-bottom: 4rem;  /* お好みで増減してください */
  }

  /* グリッドアイテム（カード）を同じ高さに揃える */
  #flow .flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: stretch; /* ここで全カードを同じ高さに */
  }

  /* カード自体を高さ100%に */
  #flow .flow-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  /* カード内コンテンツの配置調整 */
  #flow .flow-icon {
    margin-bottom: 1.5rem; /* アイコンまわりの余白 */
  }
  #flow .flow-step {
    margin-bottom: .75rem;
  }
  #flow .flow-card h3 {
    margin-bottom: .75rem;
  }
  #flow .flow-card p {
    flex: 1;               /* 説明文を伸ばして揃える */
  }
}


/* ===== about.html / 代表あいさつ セクション ===== */
.about-message {
  background: transparent; /* 背景は白や透過でOK */
  padding: 0;              /* 余白は必要に応じて調整 */
}

.about-message .section-inner,
.about-message .container {
  padding: 0;       /* 横余白をリセット */
  max-width: none;  /* 制限を解除 */
}

.about-message .section-title {
  /* 必要ならここでマージンを調整 */
  margin-bottom: 0.5rem;
}

.about-message .message-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 0;   /* タイトル直下に詰める */
}

/* about.html の代表あいさつセクション */
.about-message .section-title {
  /* 上に余白を追加 */
  margin-top: 2rem;   /* お好みの値に調整してください */
  margin-bottom: 0.5rem;
}

/* 親コンテナとのマージン潰れを防ぐ場合は、親にもpaddingを少し入れる */
.about-message .container {
  /* 上に少しパディングを戻すと確実です */
  padding-top: 1rem;  /* 必要に応じて増減してください */
}


/* ================================================================= */
/* ========== 共通：ページタイトルスタイル ========== */
/* ================================================================= */
.page-title-common {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--navy);
  text-align: center;
}
.page-title-common::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 0.5rem auto 2rem;
  background: linear-gradient(90deg, var(--mugen-color-primary) 0%, #ffdb6e 100%);
  border-radius: 3px;
}


/* corporate.html のお問い合わせボタン ********************************/
.contact-cta {
  text-align: center;
  margin: 4rem 0;                /* 上下の余白を調整 */
}

/* corporate.html のお問い合わせボタン */
.contact-cta .contact-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;                         /* ← ここを黒に */
  background: var(--mugen-color-primary);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.contact-cta .contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}


/* ─── FAQリンクを強制非表示 ─── */
.primary-menu a[href="#faq"],
#mobileNav a[href="#faq"],
.footer-links a[href="#faq"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ─── タブデザイン ─── */
.flow-tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}
.flow-tabs li {
  margin-right: 1rem;
}
.flow-tabs a {
  display: block;
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  border-bottom: none;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.flow-tabs li.active a {
  background: #fff;
  border-color: #ddd;
  border-bottom: 2px solid #ecb739;
  color: #ecb739;
}
.flow-tabs a:hover {
  color: #ecb739;
}

/* ─── コンテンツ切替 ─── */
.flow-content { display: none; }
.flow-content.active { display: block; }

/* ========== purchase-flow タイムライン調整 ========== */

/* タブを常に前面に出す */
.flow-tabs {
  position: relative;
  z-index: 2;
  background: #fff; /* タブの背後に線が見えないように */
}


#purchase-flow.timeline .step-marker .step-line {
  position: absolute;
  top: 50%;                 /* 円の真ん中からスタート */
  bottom: 1rem;             /* 下の余白（STEP本文との隙間） */
  left: 50%;                /* 横位置は円の中心 */
  transform: translateX(-50%);
  width: 2px;
  background: var(--mugen-color-primary);
  opacity: .6;
  z-index: 0;               /* STEPカードより下に */
}

/* STEP丸自体は上に来るように */
#purchase-flow.timeline .step-marker .step-circle {
  position: relative;
  z-index: 1;
}