/* =========================================================
   人気の7方面から選べる！夏休みサキドリSALE
   - フォントポリシー v1（明朝基調 + JTRIPフォント英字アクセント）
   - SPガイドライン v1.4（BP: 767px / 1000px, iPhone SE 375px基準）
   - エリアカラー：共有版フォントポリシー準拠
   - imgタグ: width/height属性 + max-width:100%; height:auto;
========================================================= */

/* JTRIPフォント（英字アクセント） */
@font-face {
  font-family: "JTRIP";
  src: url("http://www.jtrip.co.jp/J-TRIP-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
.jFont {
  font-family: "JTRIP", "Times New Roman", serif;
  letter-spacing: 0.04em;
}

/* リセット（セクション内に限定） */
.c-sakidori,
.c-sakidori * {
  box-sizing: border-box;
}
.c-sakidori ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.c-sakidori figure {
  margin: 0;
}

/* imgタグの基本ルール（はみ出し防止 / CLS対策） */
.c-sakidori img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* セクション全体 */
.c-sakidori {
  background: #ffffff;
  color: #000;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "YuMincho",
               "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",
               "ＭＳ Ｐ明朝", "MS PMincho", serif;
  padding: 64px 16px;
}
.c-sakidori__inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* 見出しエリア */
.c-sakidori__head {
  text-align: center;
  margin-bottom: 40px;
}
.c-sakidori__eyebrow {
  font-size: 14px;
  color: #D80C18;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
}
.c-sakidori__title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.35;
  margin: 0 0 16px;
}
.c-sakidori__title-strong {
  display: inline-block;
  color: #D80C18;
  font-size: 1.15em;
  margin-top: 4px;
}
.c-sakidori__lead {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
}

/* バッジ群 */
.c-sakidori__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 8px;
}
.c-sakidori__badge {
  font-size: 12px;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "游ゴシック",
               Arial, Helvetica, sans-serif;
  background: #FFF;
  border: 1px solid #E66169;
  color: #A80913;
  border-radius: 999px;
  padding: 4px 12px;
  line-height: 1.4;
}

/* グリッド：PC 3列 / タブレット 2列 / SP 1列 */
.c-area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* カード本体 */
.c-area-card {
  background: #FFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  border: 1px solid #EEE;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.c-area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* カード全体リンク */
.c-area-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

/* メディア（画像）エリア */
.c-area-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;     /* 比率固定でCLS防止 */
  background: #F2F2F2;
}
.c-area-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.c-area-card:hover .c-area-card__media img {
  transform: scale(1.04);
}

/* 画像の上にオーバーレイされるラベル（エリア名 + OFFバッジ） */
.c-area-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #FFF;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}
.c-area-card__name {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.c-area-card__off {
  font-size: 12px;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "游ゴシック",
               Arial, Helvetica, sans-serif;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.95);
  color: #D80C18;
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}

/* カード本文 */
.c-area-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.c-area-card__title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 10px;
}
.c-area-card__text {
  font-size: 15px;
  line-height: 1.6;
  margin: 4px 0 18px !important;
  flex: 1;
}

/* ボタン共通（aの中にあるためspanで擬似ボタン化） */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #FFF;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "游ゴシック",
               Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  box-sizing: border-box;
  white-space: normal;
  transition: opacity 0.2s ease;
}
.c-area-card:hover .c-btn {
  opacity: 0.92;
}
.c-btn__arrow {
  margin-left: 8px;
  font-family: "JTRIP", serif;
}

/* ===== エリアカラー（共有版フォントポリシー準拠） ===== */

/* 沖縄 */
.c-area-card--okinawa  { border-top: 4px solid #B3246C; }
.c-btn--okinawa        { background: #E62E8B; }
/* 北海道 */
.c-area-card--hokkaido { border-top: 4px solid #00659F; }
.c-btn--hokkaido       { background: #0081CC; }
/* 東京・関東 */
.c-area-card--tokyo    { border-top: 4px solid #348628; }
.c-btn--tokyo          { background: #45B035; }
/* 関西 */
.c-area-card--kansai   { border-top: 4px solid #6A7F02; }
.c-btn--kansai         { background: #ABCD03; }
/* 九州 */
.c-area-card--kyushu   { border-top: 4px solid #C06A00; }
.c-btn--kyushu         { background: #F39800; }
/* 南西 */
.c-area-card--nansei   { border-top: 4px solid #B74233; }
.c-btn--nansei         { background: #EA5541; }
/* 中四国 */
.c-area-card--chushikoku { border-top: 4px solid #7F7800; }
.c-btn--chushikoku       { background: #D3C800; }
/* ゴルフ */
.c-area-card--golf  { border-top: 4px solid #0a4934; }
.c-btn--golf        { background: #007c53; }
/* ダイビング */
.c-area-card--diving  { border-top: 4px solid #142668; }
.c-btn--diving        { background: #324fba; }
/* スキー */
.c-area-card--sik { border-top: 4px solid #00659F; }
.c-btn--sik       { background: #0081CC; }


/* =========================================================
   タブレット（768〜1000px）：2カラム
========================================================= */
@media screen and (min-width: 768px) and (max-width: 1000px) {
  .c-area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .c-sakidori {
    padding: 56px 20px;
  }
  .c-sakidori__title {
    font-size: 26px;
  }
  .c-btn {
    box-sizing: border-box;
    white-space: normal;
  }
}

/* =========================================================
   SP（〜767px）：1カラム / iPhone SE 375pxに収まる
========================================================= */
@media screen and (max-width: 767px) {
  .c-sakidori {
    padding: 40px 16px;
  }
  .c-sakidori__head {
    margin-bottom: 28px;
  }
  .c-sakidori__eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
  }
  .c-sakidori__title {
    font-size: 24px;
    line-height: 1.3;
  }
  .c-sakidori__lead {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }
  .c-sakidori__badges {
    gap: 6px;
  }
  .c-sakidori__badge {
    font-size: 11px;
    padding: 3px 10px;
  }

  .c-area-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .c-area-card__media {
    aspect-ratio: 16 / 9;     /* SPは少しワイドに */
  }
  .c-area-card__label {
    padding: 8px 12px;
  }
  .c-area-card__name {
    font-size: 20px;
  }
  .c-area-card__off {
    font-size: 11px;
  }
  .c-area-card__body {
    padding: 14px 14px 16px;
  }
  .c-area-card__title {
    font-size: 18px;
  }
  .c-area-card__text {
    font-size: 14px;
    line-height: 1.55;
  }

  .c-btn {
    width: 100%;
    min-height: 48px;        /* タップ領域 48px 確保 */
    font-size: 14px;
    box-sizing: border-box;
    white-space: normal;
  }
}
