@charset "UTF-8";
/* ==========================================================
   トップページ
   ========================================================== */

/* ---------- hero ---------- */
.hero {
  max-width: 1840px;
  margin: 8px auto 0;
  padding: 0 24px;
}
.hero__frame {
  position: relative;
}
.hero__svg { display: block; width: 100%; height: auto; }
.hero__circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(120px, 24.2%, 440px); /* カンプ実測: hero幅比24.2%。背景の白丸はhero__svg内のpath(.hero__badge)側で描画 */
  aspect-ratio: 1;
  overflow: hidden;
}
.hero__circle {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__circle img { width: 68%; height: auto; }

/* ---------- news ---------- */
.featured-news { margin-top: 96px; }
.featured-news__list { display: grid; gap: 24px; max-width: 1040px; margin: 0 auto; }
.featured-news__card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  border: 2px solid var(--c-primary);
  border-radius: 19px;
  overflow: hidden;
  background: #fff;
}
.featured-news__image { width: 100%; height: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.featured-news__body { min-width: 0; padding: clamp(20px, 2.5vw, 40px); align-self: center; }
.featured-news__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; font-size: 16px; }
.featured-news__body h3 { font-size: clamp(20px, 1.6vw, 28px); line-height: 1.6; margin: 16px 0; overflow-wrap: anywhere; }
.featured-news__more { color: var(--c-primary); }
.featured-news__card:hover h3 { color: var(--c-primary); }
.featured-news__card:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 5px; }

.top-news { margin-top: 96px; }
.top-news__list {
  max-width: 820px;
  margin: 0 auto;
}
.top-news__list li + li { margin-top: 18px; }
.top-news__list a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px; /* カンプ実測 */
}
.top-news__list a:hover .top-news__title { color: var(--c-primary); }
.top-news__list .tag { flex-shrink: 0; align-self: center; }
.top-news__list time { flex-shrink: 0; }
.top-news__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.top-news__more { text-align: center; margin-top: 36px; }

/* ---------- shops ---------- */
/* ニュースと共通の.inner幅で、見出し・写真・リンクの両端を揃える。 */
.top-shops { margin-top: 96px; }
.top-shops__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 6vw, 115px);
  margin: 0 auto;
}
.shop-card__img {
  border: 2px solid #1a1a1a;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 43 / 26.5;
}
.shop-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.shop-card a:hover .shop-card__img img { transform: scale(1.05); }
.shop-card__name { font-size: 22px; margin: 10px 0 4px; } /* カンプ実測 */
.top-shops__foot {
  position: relative;
  margin: 36px auto 0;
  text-align: center;
}
.top-shops__recruit {
  position: absolute;
  right: 0; bottom: 0;
  font-size: 14px;
}

/* ---------- access ---------- */
.top-access { margin: 96px auto 120px; }
.top-access__map {
  border: 2px solid #1a1a1a;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1736 / 579;
}
.top-access__map img,
.top-access__map iframe {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .top-shops__list { gap: 24px; }
}

@media (max-width: 767px) {
  .hero { padding: 0 12px; }
  .hero__circle { width: 26%; }
  .top-news, .top-shops, .featured-news { margin-top: 64px; }
  .featured-news__card { grid-template-columns: minmax(0, 1fr); }
  .featured-news__image { height: auto; }
  .featured-news__meta { font-size: 13px; }
  .sec-title { font-size: 22px; }
  .sec-title .en { font-size: 16px; }
  .top-news__list a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    font-size: 12px;
  }
  .top-news__list li + li { margin-top: 16px; }
  .top-news__list .tag {
    font-size: 11px;
    line-height: 1.6;
    padding: 0 9px;
  }
  .top-news__list time { font-size: 12px; }
  .top-news__title {
    grid-column: 1 / -1;
    width: 100%;
    font-size: 16px;
  }
  .top-shops__list { grid-template-columns: 1fr; }
  .top-shops__foot { padding-bottom: 40px; }
  .top-shops__recruit { right: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .top-access { margin: 64px auto 80px; }
  .top-access__map { aspect-ratio: 4 / 3; }
}

/* ---------- ローディング / トップのふわっと表示 ---------- */
.top-loading { display: none; }
.top-loading.is-active {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #fff;
  animation: loading-exit .45s ease 3.8s forwards;
}
.top-loading__logo { display: block; width: min(560px, 76vw); height: auto; }
.top-loading__rise { animation: loading-rise 3s ease-in-out both; }
.top-loading__wave { animation: loading-wave 1.2s linear infinite; }
@keyframes loading-rise { from { transform: translateY(148px); } to { transform: translateY(-12px); } }
@keyframes loading-wave { to { transform: translateX(-274px); } }
@keyframes loading-exit { to { opacity: 0; visibility: hidden; } }
.top-reveal-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.top-reveal-ready.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .top-loading.is-active { display: none; }
  .top-reveal-ready { opacity: 1; transform: none; transition: none; }
}
@media print {
  .top-loading.is-active { display: none; }
  .top-reveal-ready { opacity: 1; transform: none; }
}
