@charset "UTF-8";
/* =========== 基本設定 =========== */
:root {
  --c-text: #1e1e1e;
  --c-muted: #6b7280;
  --c-bg: #ffffff;
  --c-bg-alt: #d9d9d9;
  --c-key: #306ed2;
  --c-key-ink: #fff;
  --c-card-bg: #dbeafe;
  --c-card-gray-bg: #f5f5f5;
  --c-best: #f7931e;
  /* オレンジ枠 */
  --c-best-bg: #fcf2e8;
  /* クリーム背景 */
  --c-heiwajima: #f4621f;
  --c-haneda: #bbe26b;
  --c-kamata: #6db1ff;
  --radius: 16px;
  --container: 980px;
  --container-sm: 700px;
}

section {
  margin: 2rem 0;
}

/* =========== ヒーロー =========== */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  overflow: hidden;
  min-height: clamp(420px, 70vh, 860px);
}
.hero__slider {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}
.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
}
.hero__slide.is-leaving {
  opacity: 0;
  z-index: 1;
}
.hero__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transform: translateX(5%) scale(1.2);
  transform-origin: center;
  animation: heroDrift 12s linear infinite;
  animation-play-state: paused;
}
.hero__slide.is-active .hero__img, .hero__slide.is-leaving .hero__img {
  animation-play-state: running;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem 1rem;
  color: #fff;
}
.hero__catch {
  font-size: clamp(28px, 3.33vw, 48px);
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  color: var(--c-text);
  text-shadow: 0px 0px 8px #ffffff;
  line-height: 1.2;
  position: absolute;
  top: 30%;
  z-index: 100;
}
.hero__catch .hero__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
}
.hero__catch--animated .hero__char {
  animation: heroCatchReveal 0.55s ease forwards;
  animation-delay: calc(var(--char-index) * 0.05s);
}

@media (max-width: 768px) {
  .site-main {
    overflow: hidden;
  }
  .hero .hero__form {
    display: none;
  }
  .hero {
    min-height: 100vh;
    overflow: hidden;
  }
  .hero__slider {
    min-height: 100vh;
    height: 100vh;
  }
  .hero__img {
    height: 100%;
  }
  .hero__catch {
    top: 38%;
    transform: translateY(-50%);
  }
  .hero__overlay {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1.25rem 6rem;
    box-sizing: border-box;
  }
}
@keyframes heroDrift {
  from {
    transform: translateX(2.5%) scale(1.08);
  }
  to {
    transform: translateX(-2.5%) scale(1.08);
  }
}
@keyframes heroCatchReveal {
  from {
    opacity: 0;
    transform: translateY(0.4em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroPanMobile {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(-30%);
  }
}
.choose--flex {
  display: flex;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .choose--flex {
    flex-direction: column;
    gap: 2rem;
  }
}

/* =========== マップ =========== */
.map {
  display: grid;
  place-items: center;
}

:root {
  --area-orange: #f4621f;
  /* 円・線・ラベルのベース色（オレンジ） */
  --area-orange-weak: #fda75a;
  /* 薄めの線用 */
}

/* ===== 地図レイヤー ===== */
.map__frame {
  position: relative;
  display: inline-block;
}

.map__img {
  display: block;
  width: 100%;
  height: auto;
}

/* JSが線を描くSVG */
.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  /* 画像の上、スポットの下 */
}

/* クリック可能なスポット群（円＋ラベル） */
.map-spots {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.spot {
  /* カラーとサイズ（色はmodifierで上書き） */
  --c: #f97316;
  /* 本色 */
  --c-weak: #fda75a;
  /* 薄色（線の色にJS側が使う） */
  --dot: 100px;
  /* 円の直径 */
  position: absolute;
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  /* 位置は「円の中心」で合わせる */
  transform: translate(-50%, -50%);
  /* 円 */
  /* ラベル（線はJSが描くのでラベルだけ） */
}
.spot .spot__dot {
  position: relative;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--c);
  z-index: 3;
  /* ピコーン */
}
.spot .spot__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--c) 60%, transparent);
  animation: pulse 2.2s ease-out infinite;
}
.spot .spot__label {
  background: var(--c);
  padding: 0.5rem 1rem;
  font-weight: 900;
  white-space: nowrap;
  margin-left: 0.5rem;
  z-index: 3;
}
.spot .spot__heiwajima {
  margin-left: 180px;
  margin-bottom: 2.9rem;
  margin-top: 0.1rem;
}
.spot .spot__kamata {
  margin-right: 70px;
  margin-bottom: 2.9rem;
  margin-top: 0.1rem;
}
.spot .spot__haneda {
  margin-top: 3rem;
  margin-right: 140px;
}
.spot:hover .spot__label {
  opacity: 0.9;
}

.spot--orange {
  --c: #f97316;
  --c-weak: #f97316;
}

.spot--blue {
  --c: #60a5fa;
  --c-weak: #60a5fa;
}

.spot--green {
  --c: #bfe56a;
  --c-weak: #bfe56a;
}

/* ===== 配置（円の中心座標を%で）===== */
.spot--heiwajima {
  top: 29.5%;
  left: 62.3%;
}

.spot--kamata {
  top: 42%;
  left: 27.5%;
}

.spot--haneda {
  top: 58.5%;
  left: 33%;
}

/* ピコーン */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--c) 60%, transparent);
  }
  70% {
    box-shadow: 0 0 0 36px color-mix(in oklab, var(--c) 0%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--c) 0%, transparent);
  }
}
/* 低減モーション */
@media (prefers-reduced-motion: reduce) {
  .spot__dot::after {
    animation: none;
  }
}
/* =========== ベストレート保証 =========== */
.best-rate {
  background: var(--c-best);
  padding: 0.5rem;
}
.best-rate__inner {
  background: var(--c-best-bg);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--c-best);
}
.best-rate__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.best-rate__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.best-rate__text {
  margin: 0 0 0 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.9;
}
@media (max-width: 768px) {
  .best-rate__inner {
    gap: 1rem;
    padding: 1.25rem;
    flex-direction: column;
    text-align: center;
  }
  .best-rate__text {
    margin: 0;
    text-align: left;
  }
}

/* =========== お知らせ一覧 =========== */
.news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .news {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
}

.news__item {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  align-items: baseline;
  padding-bottom: 10px;
}

.news__date {
  font-size: 0.8rem;
  font-weight: 600;
}

.news__link {
  color: #111;
  text-decoration: underline;
}
.news__link:hover {
  text-decoration: none;
}

.section-more {
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .news__item {
    flex-direction: row;
    gap: 1rem;
  }
}
/* =========== バナー =========== */
.banner-links {
  margin-top: 4rem;
}
.banner-links__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .banner-links__grid {
    grid-template-columns: 1fr;
  }
}
.banner-links__item {
  position: relative;
  display: block;
  overflow: hidden;
}
.banner-links__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  aspect-ratio: 16/5;
  /* 高さを揃える */
  transition: transform 0.3s ease;
}
.banner-links__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  /* 黒 10% */
}
.banner-links__item:hover img {
  transform: scale(1.05);
}
.banner-links__label {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  z-index: 1;
}/*# sourceMappingURL=front-page.css.map */