/* ==========================
   共通
========================== */
body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.7;
  color: #333;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  margin: 12px 0;
}

h2 {
  font-size: 24px;
  margin-bottom: 16px;
  text-align: center;
}

section {
  padding: 48px 0;
}

/* 背景（色だけにする：paddingは各セクションで持つ） */
.bg-light {
  background: #f7f7f7;
}

/* ボタン */
.btn-primary {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  background: #003a8f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* ==========================
   ヘッダー
========================== */
.site-header {
  background: #fff;
}

.site-header .inner {
  display: flex;
  justify-content: center;
}

.site-logo img {
  height: 36px;
  display: block;
}

/* ==========================
   FV（背景分離型）
========================== */
.section-fv {
  background: #e8f0fb; /* FV全体のベース背景 */
  overflow: hidden;
  padding: 0;
}

/* ==========================
   画像エリア
========================== */
.fv-image {
  text-align: center;
}

/* PCのみ：背景装飾 */
@media (min-width: 768px) {
  .fv-image {
    background:
      url("../img/fv_bg.png") center top / cover no-repeat;
    padding: 56px 16px 40px;
  }
}

/* メイン画像 */
.fv-image img {
  width: 100%;
  height: auto;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}

/* ==========================
   テキストエリア（黄色背景）
========================== */
.fv-text {
  background: #ffdd55; /* ★指定どおり黄色 */
  text-align: center;
  padding: 40px 16px;
}

.fv-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
  color: #45c6b4;
}

.fv-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

/* ==========================
   PC調整
========================== */
@media (min-width: 768px) {
  .fv-title {
    font-size: 38px;
  }

  .fv-lead {
    margin-top: 30px;
    font-size: 22px;
    line-height: 2.0;
    text-align: center;
  }

  .fv-text {
    padding: 60px 16px;
  }
}
/* ==========================
   メリット
========================== */
.section-merit {
  background: #0586a0;
  padding: 48px 0;
}

.section-merit .inner {
  max-width: 800px;
}

.merit-list,
.memart-list,
.howto-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.merit-item img,
.memart-item img,
.howto-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 影なし */
.merit-item.no-shadow img,
.memart-item.no-shadow img,
.howto-item.no-shadow img {
  box-shadow: none;
}

/* ==========================
   ポイント利用先スライダー（section-mile）
========================== */

/* 背景色など必要ならここで（参考サイト寄せなら薄い背景もアリ） */
.section-mile {
  background: #fffbea;
  padding: 48px 0 0;
}

.section-mile p {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  margin: 0 auto 50px;
}

/* ★スライダーだけ全幅（100vw） */
.mile-swiper-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* 端の余白：全幅でも左右に少し空気を入れる */
  padding: 0 clamp(12px, 3vw, 40px);
  box-sizing: border-box;
}

/* Swiper本体：下にドット分の余白 */
.mile-swiper {
  padding: 8px 0 28px;
}

/* カード化（クリック導線も作りやすい） */
.mile-card {
  display: block;
  text-decoration: none;
  color: inherit;

  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* 既存の影トーンに合わせた */
}

/* 画像：正方形で統一 */
.mile-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 商品名 */
.mile-card .item-name {
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;

  /* 長い商品名の保険：2行まで */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ドット位置を下固定 */
.mile-pagination {
  bottom: 0 !important;
}

/* スマホ微調整 */
@media (max-width: 767px) {
  .mile-swiper {
    padding: 6px 0 24px;
  }
  .mile-card .item-name {
    font-size: 13px;
  }
}

.section-memart {
  background: #fffbea;
  padding: 3px 0 48px;
}

/* ===== section-mile ボタン ===== */
.mile-btn-wrap {
  text-align: center;
  margin: 14px 0 18px;
}

.mile-btn-wrap p {
  font-size: 16px;
  padding-top: 20px;
}

/* ===== 矢印付きボタン本体 ===== */
.mile-btn {
  /* 色（必要ならここだけ変える） */
  --accent: #009c8c;

  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;

  display: inline-flex;                 /* ★重要：アイコンと並べる */
  align-items: center;
  justify-content: center;

  position: relative;                   /* ★疑似要素の基準 */
  padding: 20px 92px 20px 60px;         /* 右はアイコン分、左は見た目バランス */
  border-radius: 999px;

  border: 2px solid var(--accent);
  background: #fff;
  color: var(--accent);

  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

/* 右の丸アイコン（背景丸） */
.mile-btn::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);

  width: 1em;
  height: 1em;
  border-radius: 999px;

  background: var(--accent);
}

/* 丸の中の「＞」矢印 */
.mile-btn::before {
  content: "";
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);

  /* V字の片側を作って「>」に見せる */
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;

  /* 丸の中心へ */
  margin-right: 16px;  /* right(18px) + 16px ≒ 44px丸の中央寄せ */
  z-index: 2; /* ★上（これが重要） */
}

/* ホバー（PC） */
.mile-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ホバー時：丸は白抜きにしても可（任意） */
.mile-btn:hover::after {
  background: #fff;
}
.mile-btn:hover::before {
  border-right-color: var(--accent);
  border-bottom-color: var(--accent);
}


/* フォーカス */
.mile-btn:focus-visible {
  outline: 3px solid rgba(0,156,140,.35);
  outline-offset: 3px;
}

/* スマホ微調整 */
@media (max-width: 767px) {
  .mile-btn {
    font-size: 20px;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    padding: 16px 70px 16px 22px; /* 右アイコン分を確保 */
  }

  .mile-btn::after {
    right: 44px;
    width: 1em;
    height: 1em;
  }

  .mile-btn::before {
    right: 38px;
    margin-right: 14px;
    width: 6px;
    height: 6px;
    border-right-width: 2px;
    border-bottom-width: 2px;
  }

  .section-mile p {
    margin: 0 auto 30px;
  }

  .mile-btn-wrap p {
  text-align: left;
  padding: 10px;
}
}

/* ==========================
   参加対象条件
========================== */
/* このセクションは bg-light を使わず、専用背景にする */
.section-terms {
  background: #afe3f1;
  padding: 64px 20px;
}

.section-terms .inner {
  max-width: 750px;
  background: #fff;
  border: 2px solid #238149;
  border-radius: 32px;
  padding: 48px 40px;
}

.section-terms .inner_no {
  max-width: 750px;
  border-radius: 32px;
  margin: 0 auto;
  padding: 0;
}

.section-terms .inner_no img {
  width: 100%;
}

/* 見出し */
.section-terms .section-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #238149;
  margin: 0 0 35px;
  position: relative;
}

/* リスト */
.terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.terms-list li {
  text-align: justify;
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.8;
  color: #222;
}

.terms-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #6b5b52;
}

/* 注意書き */
.terms-note {
  text-align: justify;
  color: #e6452f;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 16px;
  font-weight: bold;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .section-terms .inner {
    padding: 32px 20px;
  }

  .section-terms .section-title {
    font-size: 22px;
  }

  .terms-note {
    line-height: 1.5;
  }

  .terms-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 16px;
  }
}

/* ==========================
   参加方法（電話受付）
========================== */
.section-howto {
  background: #b5e8bd;
  padding: 60px 0 80px;
  text-align: center;
}

.howto-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.howto-lead {
    font-size: 24px;
    font-weight: bold;
    margin: 40px 0 50px;
}

.howto-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 24px 32px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.howto-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82c4;
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 20px;
}

.howto-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.howto-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.howto-tel img {
  width: 48px;
  height: auto;
}

.howto-tel a {
  font-size: 40px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .howto-title {
    font-size: 24px;
  }

  .howto-lead {
    font-size: 20px;
  }

  .howto-label {
    top: -18px;
    left: 26%;
    transform: translateX(-14%);
    font-size: 18px;
}

  .howto-text {
    text-align: left;
    font-size: 16px;
  }

  .howto-tel {
    flex-direction: column;
    gap: 8px;
  }

  .howto-tel a {
    font-size: 30px;
  }
}

/* ==========================
   FAQ
========================== */
.qa-section {
  background: #fff2df;
  padding: 48px 0;
}

.qa-section .inner {
  max-width: 800px;
}

.qa-item {
  margin-bottom: 25px;
}

.qa-question {
  width: 100%;
  background: #009c8c;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 24px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左寄せの基本 */
  cursor: pointer;
}

.q-icon {
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.875rem;
}

.q-text {
  flex: 1;
  text-align: left;
}

.qa-toggle {
  font-size: 1.875rem;
  margin-left: 12px;
}

.qa-answer {
  display: none;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  margin-top: 8px;
  font-size: 16px;
}

/* ==========================
   キャンペーン規約（スクロール枠）
========================== */
.section-outline {
  background: #ffffff;
  padding: 48px 0;
}

/* 枠（スクロール部分） */
.outline-box {
  background: #fbf7ea;            /* 薄いクリーム色 */
  border: 2px solid #6a1816;      /* 緑の枠線 */
  padding: 18px 18px;
  overflow: auto;

  /* スマホ基準：画面に合わせて高さ制限 */
  max-height: 55vh;
}

/* 規約本文 */
.outline-date {
  margin: 0 0 12px;
  font-size: 14px;
  color: #5a514a;
  font-weight: 700;
}

.outline-body {
  font-size: 15px;
  line-height: 1.9;
  color: #3b332e;
}

.outline-body h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.outline-body p {
  margin: 0 0 10px;
}

.outline-body ul {
  margin: 0 0 12px 1.2em;
  padding: 0;
}

.outline-body li {
  margin: 6px 0;
}

/* PC：スクロール枠をもう少し高く */
@media (min-width: 768px) {
  .outline-box {
    padding: 40px;
    max-height: 520px; /* PCは固定のほうが見栄えが安定 */
  }
}

/* =========================
   お問い合わせ
========================= */
.section-inquire {
  background: #eef3f6;
  padding: 60px 16px;
}

.section-inquire .inner {
  max-width: 1000px;
  text-align: center;
  padding: 0 10px;
}

.section-title {
  font-size: 18px;
  margin-bottom: 24px;
}

.inquire-box {
  background: #fff;
  padding: 24px 16px;
}

.inquire-text {
  font-size: 16px;
  margin-bottom: 25px;
}

/* 電話番号まわり */
.inquire-tel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.inquire-tel img {
  height: 28px;
  width: auto;
}

.tel-number {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.inquire-time {
  font-size: 14px;
  color: #555;
}

.inquire-note {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

.sub-tel {
  font-weight: bold;
  color: #005bbb;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .inquire-text {
    text-align: left;
  }
}
/* =========================
   フッター
========================= */
.site-footer {
  background: #0e6c35;
  padding: 32px 16px;
  font-size: 14px;
}

.site-footer .inner {
  max-width: 1000px;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-weight: bold;
}

.footer-links li {
  margin-bottom: 8px;
}

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

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

.copyright {
  font-size: 12px;
  color: #ffffff;
}

/* =========================
   PC調整
========================= */
@media (min-width: 768px) {
  .site-logo img {
    height: 60px;
  }

  h2 {
    font-size: 28px;
  }

  .section-title {
    font-size: 22px;
  }

  .tel-number {
    font-size: 42px;
  }

  .inquire-tel img {
    height: 50px;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
  }

  .footer-links li {
    margin-bottom: 0;
  }
}

/* =========================
   共通ルール・ユーティリティ
========================= */
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}

.pc-only {
  display: inline;
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}
