@charset "utf-8";

/* ============================================================
   home.css — Homepage-specific styles only
   Shared header/footer/sitemap styles are in components.css
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; overflow-x: hidden; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
  overflow-x: clip;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #06617f; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: #30a1af; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: clamp(25rem, 65vh, 43.75rem);
  overflow: hidden;
}

.hero__slides { position: absolute; inset: 0; }
.hero__slides > div {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 24s infinite;
}
.hero__slides > div:nth-child(1) { animation-delay: 0s; }
.hero__slides > div:nth-child(2) { animation-delay: 6s; }
.hero__slides > div:nth-child(3) { animation-delay: 12s; }
.hero__slides > div:nth-child(4) { animation-delay: 18s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 2;
}

.hero__text {
  color: #fff;
  font-size: clamp(1.25rem, 3.2vw, 2.375rem);
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 0.125rem 0.75rem rgba(0,0,0,0.5);
  max-width: 50rem;
}

.hero__cta { margin-top: 1.75rem; }
.hero__cta a {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  background: #06617f;
  color: #fff;
  border-radius: 3.125rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background .3s, transform .2s;
}
.hero__cta a:hover {
  background: #30a1af;
  color: #fff;
  transform: translateY(-0.125rem);
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section-pad { padding: 5rem 0; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 3.75rem;
  height: 0.1875rem;
  background: #30a1af;
  margin-top: 0.75rem;
  border-radius: 0.125rem;
}

/* ============================================================
   ANNOUNCEMENT
   ============================================================ */

.announce {
  background: #f7fbfc;
  border: 1px solid #30a1af;
  border-left-width: 0.3125rem;
  border-radius: 3.125rem;
  padding: 1.25rem 2.5rem;
  margin-bottom: 3rem;
}
.announce__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.announce__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #06617f;
  border: 1px solid #30a1af;
  border-radius: 0.25rem;
  background: #fff;
  padding: 0.25rem 0.625rem;
}
.announce__date { font-size: 0.8125rem; color: #646464; }
.announce__text { font-size: 1rem; line-height: 1.7; }
.announce__cta {
  margin-top: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.note--external { font-size: 0.75rem; color: #646464; }

/* ============================================================
   PRODUCT INTRO
   ============================================================ */

.product-intro { text-align: center; }
.product-intro__logo { margin: 0 auto 1rem; }
.product-intro__logo img { margin: 0 auto; width: 12.5rem; }
.product-intro__logo-hint { font-size: 0.8125rem; color: #646464; margin-top: 0.5rem; }
.product-intro__desc {
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.9;
  max-width: 46.25rem;
  margin: 0 auto 2.5rem;
}

.catalog-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 3.125rem;
  border: 0.125rem solid #06617f;
  background: #06617f;
  color: #fff;
  transition: background .25s, color .25s, transform .15s;
  cursor: pointer;
  line-height: 1.4;
}
.btn:hover {
  background: #fff;
  color: #06617f;
  transform: translateY(-0.0625rem);
}
.btn--outline { background: #06617f; color: #fff; }
.btn--outline:hover { background: transparent; color: #06617f; }
.btn--teal { background: #06617f; border-color: #06617f; }
.btn--teal:hover { background: #fff; color: #06617f; }

/* ============================================================
   NEWS
   ============================================================ */

.news-section { background: #fff; border-top: 1px solid #d0d0d0; }

.news-list { display: flex; flex-direction: column; }

.news-item {
  display: grid;
  grid-template-columns: 8.125rem auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #eee;
}
.news-item:last-child { border-bottom: none; }

.news-item__date { font-size: 0.875rem; color: #646464; white-space: nowrap; padding-top: 0.125rem; }
.news-item__tag {
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #d0d0d0;
  border-radius: 0.25rem;
  padding: 0.1875rem 0.75rem;
  text-align: center;
  white-space: nowrap;
  color: #646464;
}
.news-item__text { font-size: 0.9375rem; line-height: 1.6; }
.news-item__text a {
  color: #06617f;
  text-decoration: underline;
  text-decoration-color: rgba(6,97,127,0.3);
  text-underline-offset: 0.1875rem;
}
.news-item__text a:hover { text-decoration-color: #30a1af; color: #30a1af; }
.news-item__sub { margin-top: 0.375rem; font-size: 0.875rem; }
.news-item__sub a { color: #30a1af; }

/* Hidden news items */
.news-item--hidden { display: none; }

/* Show more / show less button */
.news-pager {
  text-align: center;
  padding-top: 1.5rem;
}
.news-pager__btn {
  display: inline-block;
  padding: 0.625rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: #06617f;
  border: 1px solid #06617f;
  border-radius: 3.125rem;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: inherit;
}
.news-pager__btn:hover {
  background: #fff;
  color: #06617f;
}

/* ============================================================
   ACCESS / CONTACT
   ============================================================ */

.access-section { background: #f1f0e8; }

/* Top bar: address | phone/email | button */
.access-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.access-info__address { font-size: 1rem; line-height: 1.8; }
.access-info__hours { font-size: 0.875rem; color: #646464; margin-top: 0.5rem; }

.access-contact .contact-row { margin-bottom: 0; }

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-row__item { display: flex; align-items: center; gap: 0.625rem; }
.contact-row__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #06617f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row__icon svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.contact-row__value {
  font-size: 1.375rem;
  font-weight: 600;
  color: #06617f;
  font-family: 'Roboto', "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}
.contact-row__value a { color: #06617f; }
.contact-row__value a:hover { color: #30a1af; }

/* Maps row: illustrated map + Google Maps side by side */
.access-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.access-illust-map {
  overflow: hidden;
}
.access-illust-map img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.access-google-map {
  border-radius: 0.625rem;
  overflow: hidden;
  min-height: 25rem;
}
.access-google-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   RESPONSIVE (homepage-specific)
   ============================================================ */

@media (max-width: 56.25rem) {
  .access-maps { grid-template-columns: 1fr; }
  .access-google-map { min-height: 18.75rem; }
  .news-item { grid-template-columns: 1fr; gap: 0.375rem; }
  .news-item__tag { justify-self: start; }
}

@media (max-width: 48rem) {
  .section-pad { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }
  .hero { height: clamp(18.75rem, 55vh, 31.25rem); }
  .hero__text { font-size: clamp(1.125rem, 5vw, 1.75rem); }
  .catalog-btns { flex-direction: column; align-items: center; }
  .contact-row { flex-direction: column; align-items: flex-start; }
  .contact-row__value { font-size: 1.125rem; }
}

@media (max-width: 30rem) {
  .hero { height: clamp(16.25rem, 50vh, 25rem); }
  .section-pad { padding: 2.5rem 0; }
  .announce { padding: 1rem; }
  .announce__text { font-size: 0.9375rem; }
  .btn { width: 100%; padding: 0.875rem 1.25rem; }
}
