#wrapper {
  display: block;
  grid-template-rows: none;
  grid-template-columns: none;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

#main {
  width: 100%;
}

@media screen and (max-width: 960px) {
  #main {
    width: 98%;
    margin: 0 auto;
  }
}

.main-nav {
  padding-bottom: 8px;
}

/*サービスエリア*/
:root {
  --ink: #333;
  --line: #e6e6e6;
  --free: #16a34a1a;
  --k1: #2563eb1a;
  --k2: #f59e0b1a;
}

.area-cards {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink)
}

.area-cards .area-head {
  font-size: clamp(20px, 3.5vw, 28px);
  margin: 0 0 18px;
  text-align: center
}

/* グループ */
.area-cards .groups {
  display: grid;
  gap: 16px;
  width: 98%;
  margin: 0 auto;
  margin-bottom: 50px;
}


@media(min-width:1024px) {
  .area-cards .groups {
    grid-template-columns: repeat(3, 1fr)
  }
}

.area-cards .group {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden
}

.area-cards .group__head {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-weight: 800;
  border-radius: 6px 6px 0 0;
  margin-bottom: 8px;
  color: #333;
  border: 1px solid transparent;
}

/* 無料エリア */
.area-cards .group__head.free {
  background: var(--free);
  border-color: #16a34a33;
  /* 同じ薄緑系の枠 */
  color: #046c4e;
}

/* ¥1,000エリア */
.area-cards .group__head.k1 {
  background: var(--k1);
  border-color: #2563eb33;
  /* 同じ青系の枠 */
  color: #1e3a8a;
}

/* ¥2,000エリア */
.area-cards .group__head.k2 {
  background: var(--k2);
  border-color: #f59e0b33;
  /* 同じオレンジ系の枠 */
  color: #92400e;
}



.area-cards .pill {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700
}

.area-cards .pill.free {
  background: var(--free);
  border-color: #16a34a33
}

.area-cards .pill.k1 {
  background: var(--k1);
  border-color: #2563eb33
}

.area-cards .pill.k2 {
  background: var(--k2);
  border-color: #f59e0b33
}

.pill-icon {
  width: 16px;
  /* アイコンの大きさ調整 */
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

.area-cards .group__body {
  padding: 12px 14px
}

/* 地図（無料エリアのみ） */
.area-cards .mapbox {
  position: relative;
  width: 100%;
  aspect-ratio: 581/438;
  border: 1px dashed var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  margin-bottom: 12px
}

.area-cards .mapbox img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block
}

.area-cards .mapbox svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.area-cards .region {
  fill: #16a34a33;
  stroke: #0f766e;
  stroke-width: 1.2;
  cursor: pointer;
  transition: filter .12s ease, fill .12s ease
}

.area-cards .region:hover,
.area-cards .region.is-hot {
  filter: brightness(1.1);
  fill: #16a34a55
}

/* チップ */
.area-cards .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.area-cards a.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  font-weight: 600
}

.area-cards a.chip.free {
  background: var(--free);
  border-color: #16a34a33
}

.area-cards a.chip.k1 {
  background: var(--k1);
  border-color: #2563eb33
}

.area-cards a.chip.k2 {
  background: var(--k2);
  border-color: #f59e0b33
}

.area-cards a.chip.is-hot {
  box-shadow: 0 0 0 3px #16a34a44 inset
}

/*料金*/
.area-link {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 50px;
}

.area-link .btn-price {
  display: inline-flex;
  /* ← flexboxに変更 */
  justify-content: center;
  /* 水平方向中央 */
  align-items: center;
  /* 垂直方向中央 */
  min-width: 200px;
  /* ボタン幅（調整可） */
  min-height: 60px;
  /* ボタン高さ（調整可） */
  padding: 0 32px;
  /* 左右だけpadding */

  font-weight: 700;
  font-size: 18px;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  background-image: url("../image/s-navi-a.jpg");
  background-size: cover;
  /* 背景画像をフィット */
  background-position: center;
  border: none;
  transition: opacity 0.3s ease;
  text-align: center;
}

.area-link .btn-price:hover {
  opacity: 0.85;
  /* ホバー時に少し暗く */
}

.btn-price img {
  width: 30px;
  padding-left: 30px;
}
