/* ============ base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
body {
  margin: 0;
  background: #fafafa;
  color: rgba(0, 0, 0, 0.87);
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
  overflow-x: hidden;
  min-width: 320px;
}
h1, h2, h3, h4, h5, h6 { font-family: "Zen Old Mincho", serif; font-weight: 900; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
section img { width: 100%; }
table, button, input, select, textarea { font-family: sans-serif; }
iframe { border: none; margin: 3rem auto; width: 100%; max-width: 600px; display: block; }
.App { margin: 0 auto; width: 100%; text-align: center; }

/* ============ header / nav ============ */
.site-header { position: sticky; top: 0; z-index: 1100; background: #212121; color: #fff; }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: .25rem 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.site-logo { margin: 0; line-height: 1; }
.site-logo a { display: inline-block; }
#nav_logo { max-width: 400px; width: 100%; }
@media screen and (max-width: 490px) { #nav_logo { width: 70vw; } }
.nav-links ul { list-style: none; display: flex; margin: 0; padding: 0; }
.nav-links li a {
  display: block; min-width: 120px; padding: 1rem 0; text-align: center;
  color: #fff; text-decoration: none;
}
.nav-links li a.current { color: #a0a0ff; }
#nav-menu-button, #nav-drawer-close {
  background: none; border: none; color: #fff; cursor: pointer; padding: .5rem;
}
#nav-menu-button { display: none; }
@media screen and (max-width: 767px) {
  .nav-links ul { display: none; }
  #nav-menu-button { display: block; }
}
.nav-drawer {
  position: fixed; top: 0; right: 0; width: 100%; height: 100dvh;
  background: #212121; z-index: 1200; overflow-y: auto;
  transform: translateX(100%); transition: transform 250ms ease;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer nav { display: flex; flex-direction: column; }
.nav-drawer a {
  color: #fff; text-decoration: none; text-align: center;
  padding: 1.25rem 1rem; border-bottom: 1px solid #696969;
  font-size: 1.05rem;
}

/* ============ jumbotron (TOP) ============ */
.jumbotron {
  background-attachment: fixed; background-color: #222d35; background-position: center;
  background-size: cover; color: #fff; min-height: 80vh;
  display: flex; justify-content: center; align-items: center; flex-direction: column;
}
#jumbotron-logo { max-width: 250px; }
.jumbotron header { color: #fff; background-color: rgba(0, 0, 0, 0.5); margin-top: 1rem; }
@media screen and (max-width: 31rem)  { .jumbotron header { padding: 1rem 3rem; } }
@media screen and (min-width: 50rem) { .jumbotron header { padding: 1rem 5rem; } }
.jumbotron h1, .jumbotron h2, .jumbotron h3, .jumbotron h4, .jumbotron h5, .jumbotron h6 {
  font-weight: 900; margin-bottom: 2rem;
}
@media screen and (max-width: 32rem) {
  .jumbotron h1 { font-size: 10vw; }
  .jumbotron h2 { font-size: 5.9vw; font-weight: 500; }
}

/* ============ page banner (sub pages) ============ */
.top-page-banner {
  margin-top: 5rem; min-height: 50vh; background-attachment: fixed;
  background-position: center; background-size: cover;
  background-color: rgba(0, 0, 0, 0.3); background-blend-mode: darken;
  display: flex; justify-content: center; align-items: center; flex-direction: column;
  text-align: center;
}
.top-page-banner h1, .top-page-banner h2 {
  margin-top: 5rem; width: 100%; font-size: 3.2em; line-height: 1.1;
  color: #fff; background-color: #222d35; padding: 1rem 0;
}
.top-page-banner h4 {
  color: #fff; background: transparent; margin: 0 2rem;
  font-size: min(calc(100vw / 16), 2.5rem); font-weight: 400;
}
.top-page-banner section { max-width: 800px; padding: 2rem; margin-bottom: 2rem; color: #fff; }
.top-page-banner section img { max-width: 50%; }
.top-page-banner h3 { color: #fff; }

/* ============ rich button ============ */
a.rich-btn {
  font-size: 90%; letter-spacing: 0.2em; font-family: sans-serif; color: #fff;
  background-color: #3a3a3a; padding: 0.5rem 1.3rem; border-radius: 2px;
  border: 3px solid #990;
  border-image-source: linear-gradient(10deg, #990 5%, #aaaa1e 10%, #990 15%, #990 25%, #bbc347 30%, #990 35%, #990 65%, #aaaa1e 70%, #990 72%, #990 85%, #aaaa1e 90%, #990 95%);
  border-image-slice: 1; box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
  transition: box-shadow 300ms, border-color 300ms;
  display: inline-block; margin-top: 1rem;
}
a.rich-btn:hover { box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); }

/* ============ article (sub pages) ============ */
#single-article { font-family: "Zen Old Mincho", serif; }
#single-article section { max-width: 900px; margin: 0 auto; padding: 2rem 1rem; text-align: left; }
#single-article section h2, #single-article section h3 { text-align: center; margin: 2rem 0 1rem; }
#single-article p { line-height: 1.9; }

/* ============ feature cards ============ */
.card-grid {
  width: 80%; margin: 0 auto; padding: 2rem 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1rem;
}
.feature-card {
  max-width: 345px; width: 100%; margin: 0 auto; background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); overflow: hidden; text-align: left;
}
.feature-card img { width: 100%; height: 200px; object-fit: cover; }
.feature-card-body { padding: 1rem 1.25rem; }
.feature-card-body h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.feature-card-body p { font-size: .95rem; line-height: 1.8; }
.feature-card-body ul { list-style: circle; padding-left: 1.5rem; font-size: 90%; margin: .5rem 0; }
.feature-card-body a { display: inline-block; margin-top: .5rem; color: #222d35; }

/* ============ tables ============ */
.facility-table, .detail-table { border-collapse: collapse; margin: 2rem auto; width: 100%; max-width: 800px; }
.facility-table th, .facility-table td, .detail-table th, .detail-table td {
  border-bottom: 1px solid rgba(224, 224, 224, 1); padding: .6rem .8rem;
  text-align: left; vertical-align: top;
}
.facility-table th { font-weight: bold; max-width: 10rem; width: 10rem; }
@media screen and (max-width: 460px) {
  .facility-table { min-width: 100vw !important; }
  .facility-table th { max-width: 5rem; }
  .facility-table td { max-width: calc(100vw - 5rem); }
}

/* ============ form (contact) ============ */
#plus-form {
  margin: 5rem auto; max-width: 800px; background: #fff;
  padding: 2rem 1rem; border-radius: 4px; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
#plus-form h2 { text-align: center; }
#plus-form > img { max-width: 300px; margin: 1rem auto; display: block; }
#plus-form .form-lead { text-align: center; max-width: 500px; margin: 0 auto 2rem; }
#plus_form_group { min-width: 300px; max-width: 500px; margin: 0 auto; }
.form-field { display: flex; flex-direction: column; gap: .3rem; margin: 1rem 0; }
.form-field label { font-size: .9rem; color: rgba(0, 0, 0, 0.65); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid rgba(0, 0, 0, 0.23); border-radius: 4px;
  padding: .8rem .9rem; font-size: 1rem; background: #fff; color: inherit;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: #222d35; outline: 2px solid rgba(34, 45, 53, 0.25);
}
.form-field textarea { resize: vertical; min-height: 7rem; }
.name-flex { display: flex; gap: 1rem; justify-content: space-around; }
.name-flex .form-field { flex: 1; }
.form-error { color: #d32f2f; font-size: .85rem; margin-top: .2rem; }
.form-error-summary {
  background: #fdecea; border: 1px solid #f5c6cb; border-radius: 4px;
  padding: 1rem 1.25rem; margin-bottom: 1rem; text-align: left; font-size: .95rem;
}
.plus_form_button {
  width: 100%; max-width: 5rem; margin: 2rem auto; display: block;
  border: 1px solid #888; background: transparent; padding: .7rem 1.2rem;
  font-size: 1rem; cursor: pointer;
}
.plus_form_button:hover { box-shadow: 2px 2px 4px #999; }

/* ============ CTA register (footer上の常設バナー) ============ */
.cta-register {
  margin: 5rem auto; max-width: 800px; background: #fff;
  padding: 2rem 1rem; border-radius: 4px; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.cta-register a { text-decoration: none; color: #333; display: block; text-align: center; }
.cta-register h2 { font-size: 2rem; }
.cta-register img { max-width: 300px; margin: 0 auto; }
.cta-register p { max-width: 500px; margin: 1rem auto; }
.cta-register-button {
  display: inline-block; margin-top: .5rem; background: #222d35; color: #fff;
  padding: .7rem 2.2rem; border-radius: 4px; font-family: sans-serif;
}

/* ============ footer ============ */
footer {
  background-color: #222d35; color: #fff; padding: 1rem 0;
  display: flex; flex-direction: column; flex-wrap: wrap; text-align: center;
}
footer h2 {
  font-family: sans-serif; letter-spacing: .1rem; margin-bottom: 10px;
  font-weight: lighter; width: 100%;
}
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; }
.store-card { display: inline-block; margin: 1rem; min-width: 300px; }
.store-card img { max-width: 300px; }
footer .store-card .small { font-size: 90%; }
footer .store-card a { color: #fff; }

/* ============ float button (TOPのみ) ============ */
.float-btn { position: fixed; bottom: 32px; right: 32px; z-index: 1000; }
.float-fab {
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: #222d35; color: #fff; text-decoration: none;
  font-size: 1rem; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}
