:root {
  --font-body: "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-heading: "Zen Kaku Gothic New", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-display: "Barlow Condensed", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
}

body {
  background: #ffffff;
  color: #172033;
  font-family: var(--font-body);
  font-feature-settings: "palt";
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.product-price,
.product-detail-price,
.section-kicker,
.brand-subtitle,
.product-count {
  font-family: var(--font-heading);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #132238;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
}

p {
  line-height: 1.85;
}

.text-muted {
  color: #66788f !important;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(11, 61, 117, 0.12);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.site-header .navbar {
  padding: 0.85rem 0;
}

.navbar-brand {
  color: #0b3d75;
  font-weight: 900;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
}

.brand-logo {
  height: 2.4rem;
  object-fit: contain;
  width: 2.4rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  color: #073763;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-subtitle {
  color: #2f77b5;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-link {
  color: #31516f;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-link:hover,
.nav-link:focus {
  color: #0b66b2;
}

.btn-header-cart {
  background: #073763;
  border: 1px solid #073763;
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 0.45rem 1rem;
}

.btn-header-cart:hover,
.btn-header-cart:focus {
  background: #f5c542;
  border-color: #f5c542;
  color: #073763;
}

.hero-section {
  background:
    linear-gradient(135deg, rgba(7, 55, 99, 0.97) 0%, rgba(11, 102, 178, 0.94) 52%, rgba(38, 157, 213, 0.88) 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.hero-section::after {
  background: linear-gradient(90deg, transparent 0%, rgba(245, 197, 66, 0.32) 100%);
  bottom: 0;
  content: "";
  height: 0.35rem;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-layout {
  min-height: 34rem;
  padding: 3.5rem 0;
}

.page-heading {
  background: #f1f8ff;
  border-bottom: 1px solid #dbe7f5;
}

.store-heading {
  background:
    linear-gradient(135deg, rgba(7, 55, 99, 0.98) 0%, rgba(11, 102, 178, 0.95) 58%, rgba(38, 157, 213, 0.9) 100%);
  color: #ffffff;
  position: relative;
}

.store-heading::after {
  background: linear-gradient(90deg, rgba(245, 197, 66, 0.95), rgba(245, 197, 66, 0.18));
  bottom: 0;
  content: "";
  height: 0.3rem;
  left: 0;
  position: absolute;
  right: 0;
}

.store-heading-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 13rem;
  padding: 2.75rem 0;
}

.store-title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.18;
}

.store-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.9;
}

.store-heading-badge {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #f5c542;
  display: flex;
  flex: 0 0 auto;
  font-size: 2.4rem;
  font-weight: 900;
  height: 7rem;
  justify-content: center;
  width: 7rem;
}

.store-heading-badge img {
  border-radius: 50%;
  clip-path: circle(44% at 50% 49%);
  display: block;
  height: 112%;
  object-fit: contain;
  width: 112%;
}

.store-section,
.product-detail-section {
  background: #f7fbff;
  padding: 3.5rem 0 4rem;
}

.section-kicker {
  color: #f5c542;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 37rem;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.store-heading h1,
.store-heading h2,
.store-heading h3 {
  color: #ffffff;
}

.hero-section .section-kicker,
.store-heading .section-kicker {
  color: #ffd95a;
  text-shadow: 0 1px 0 rgba(0, 24, 48, 0.16);
}

.home-day-hero {
  background:
    linear-gradient(90deg, #f7fbff 0%, #e8f6ff 48%, #d9efff 100%);
  min-height: 34rem;
  overflow: hidden;
  position: relative;
}

.home-day-hero-image {
  height: 100%;
  left: 50%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(100%, 1672px);
}

@supports not (width: min(100%, 1672px)) {
  .home-day-hero-image {
    max-width: 1672px;
    width: 100%;
  }
}

.home-day-hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 36%, rgba(255, 255, 255, 0.1) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(5, 45, 91, 0.16) 100%);
  inset: 0;
  position: absolute;
}

.home-day-hero-content {
  align-items: center;
  display: flex;
  min-height: 34rem;
  padding-bottom: 4rem;
  padding-top: 4rem;
  position: relative;
  z-index: 1;
}

.home-day-copy {
  max-width: 48rem;
}

.home-day-copy .section-kicker {
  color: #0b66b2;
  text-shadow: none;
}

.home-hero-title {
  color: #073763;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  -webkit-text-stroke-color: #f5c542;
  -webkit-text-stroke-width: 0.045em;
  paint-order: stroke fill;
  text-shadow:
    0 0.035em 0 #ffffff,
    0 0.08em 0.22em rgba(7, 55, 99, 0.22);
  white-space: nowrap;
}

.home-hero-subtitle {
  color: #073763;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.home-hero-lead {
  color: #173756;
  font-size: 1.18rem;
  font-weight: 900;
}

.service-strip {
  background: #ffffff;
  border-bottom: 1px solid #d9e6f6;
  border-top: 1px solid #d9e6f6;
}

.service-strip .col-md-4:not(:last-child) {
  border-right: 1px solid #d9e6f6;
}

.service-item {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  min-height: 5.4rem;
  padding: 1rem 1.25rem;
}

.service-icon {
  align-items: center;
  background: #eaf4ff;
  border: 1px solid #cfe4f8;
  border-radius: 50%;
  color: #073763;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 900;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.service-item h2 {
  color: #073763;
  font-weight: 900;
}

.service-item p {
  color: #66788f;
  font-size: 0.88rem;
  line-height: 1.5;
}

.home-products-section {
  background: #ffffff;
  padding: 3.25rem 0 3.75rem;
}

.home-products-section .section-kicker {
  color: #1768ac;
}

.home-product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-product-card {
  background: #ffffff;
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  box-shadow: 0 0.5rem 1.25rem rgba(23, 32, 51, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-product-card:hover {
  box-shadow: 0 1rem 2rem rgba(23, 32, 51, 0.1);
  transform: translateY(-2px);
}

.home-product-image-wrap {
  background: #f4f8fc;
  border-bottom: 1px solid #e3edf8;
}

.home-product-image {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.home-product-body {
  padding: 0.85rem;
}

.home-product-title {
  color: #132238;
  font-weight: 900;
  line-height: 1.45;
  min-height: 2.9em;
}

.home-night-section {
  background:
    radial-gradient(circle at 82% 22%, rgba(245, 197, 66, 0.18) 0, transparent 24%),
    linear-gradient(135deg, #051b35 0%, #062f5c 55%, #00152a 100%);
  color: #ffffff;
  overflow: hidden;
  padding: 4rem 0;
  position: relative;
}

.home-night-section::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 18%),
    repeating-linear-gradient(90deg, transparent 0 5.8rem, rgba(255, 255, 255, 0.08) 5.8rem 5.9rem);
  bottom: 0;
  content: "";
  height: 38%;
  left: 0;
  opacity: 0.6;
  position: absolute;
  right: 0;
}

.night-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.22;
}

.night-copy {
  color: rgba(255, 255, 255, 0.86);
  max-width: 43rem;
}

.night-mascot-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  display: flex;
  gap: 1.1rem;
  padding: 1.25rem;
  position: relative;
  z-index: 1;
}

.night-mascot-card img {
  background: #ffffff;
  border-radius: 50%;
  height: 6.5rem;
  object-fit: cover;
  width: 6.5rem;
}

.night-mascot-card h3 {
  color: #ffffff;
}

.night-mascot-card p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary {
  background: #0b66b2;
  border-color: #0b66b2;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0;
}

.hero-section .btn-primary {
  background: #f5c542;
  border-color: #f5c542;
  color: #073763;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #073763;
  border-color: #073763;
}

.hero-section .btn-primary:hover,
.hero-section .btn-primary:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: #073763;
}

.btn-outline-primary {
  border-color: #0b66b2;
  color: #0b66b2;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: #0b66b2;
  border-color: #0b66b2;
}

.btn-outline-light {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0;
}

.hero-visual {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 2rem 4rem rgba(0, 24, 48, 0.28);
  overflow: hidden;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.brand-section {
  background: #f7fbff;
  padding: 3.5rem 0;
}

.brand-panel {
  background: #ffffff;
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  height: 100%;
  padding: 1.5rem;
}

.brand-panel .section-kicker,
.mascot-callout .section-kicker,
.recommended-section .section-kicker,
.store-section .section-kicker {
  color: #1768ac;
}

.mascot-callout {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
}

.mascot-callout img {
  border-radius: 50%;
  height: 5rem;
  object-fit: cover;
  width: 5rem;
}

.recommended-section {
  padding-bottom: 4rem;
  padding-top: 3.5rem;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card {
  border-color: #d9e6f6;
  border-radius: 8px;
  box-shadow: 0 0.5rem 1.25rem rgba(23, 32, 51, 0.06);
}

.product-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  box-shadow: 0 1rem 2rem rgba(23, 32, 51, 0.1);
  transform: translateY(-2px);
}

.store-product-card {
  overflow: hidden;
}

.card-title {
  color: #172033;
  font-weight: 900;
  line-height: 1.45;
}

.product-image-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #edf7ff 100%);
  border-bottom: 1px solid #d9e6f6;
  overflow: hidden;
}

.product-card-image,
.product-card-placeholder {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-image {
  background: #f1f8ff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.product-card-placeholder {
  align-items: center;
  background: #eaf3ff;
  color: #0d2b4c;
  display: flex;
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  justify-content: center;
}

.product-price {
  color: #0b3d75;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.product-count {
  background: #ffffff;
  border: 1px solid #d9e6f6;
  border-radius: 999px;
  color: #31516f;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.85rem;
  text-transform: uppercase;
}

.product-meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.category-pill {
  background: #eaf4ff;
  border: 1px solid #cfe4f8;
  border-radius: 999px;
  color: #0b66b2;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.4;
  padding: 0.28rem 0.65rem;
}

.stock-mini {
  color: #187545;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
}

.stock-mini-empty {
  color: #b42318;
}

.product-detail-media {
  background: #ffffff;
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  box-shadow: 0 1rem 2rem rgba(23, 32, 51, 0.08);
  overflow: hidden;
}

.product-detail-image,
.product-detail-placeholder {
  aspect-ratio: 4 / 3;
  background: #f1f8ff;
  object-fit: cover;
  width: 100%;
}

.product-detail-panel {
  background: #ffffff;
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  box-shadow: 0 1rem 2rem rgba(23, 32, 51, 0.08);
  padding: 1.5rem;
}

.product-detail-price {
  color: #073763;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.product-detail-placeholder {
  align-items: center;
  background: #eaf3ff;
  border-radius: 8px;
  color: #0d2b4c;
  display: flex;
  font-size: 4rem;
  font-family: var(--font-display);
  font-weight: 900;
  justify-content: center;
}

.empty-state {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.purchase-box {
  background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  padding: 1rem;
}

.purchase-row {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(7rem, 9rem) 1fr;
}

.quantity-input {
  font-weight: 750;
  max-width: 9rem;
}

.purchase-button {
  min-height: 3rem;
}

.product-description {
  border-top: 1px solid #d9e6f6;
  padding-top: 1.25rem;
}

.stock-label {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
}

.stock-available {
  background: #e8f7ee;
  color: #187545;
}

.stock-empty {
  background: #fff0f0;
  color: #b42318;
}

.cart-quantity-input {
  max-width: 6rem;
}

.cart-summary {
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: flex;
  font-size: 1.18rem;
  line-height: 1.4;
  justify-content: space-between;
  margin-left: auto;
  margin-top: 1.5rem;
  max-width: 20rem;
  padding: 1rem;
}

.cart-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.cart-product {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.cart-product img {
  border-radius: 6px;
  height: 3.5rem;
  object-fit: cover;
  width: 3.5rem;
}

.site-footer {
  border-top: 1px solid #d9e6f6;
  color: #5b7087;
  padding: 1.5rem 0;
}

@media (max-width: 767.98px) {
  .home-day-hero,
  .home-day-hero-content {
    min-height: 30rem;
  }

  .home-day-hero-image {
    object-position: 62% center;
  }

  .home-day-hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 54%, rgba(255, 255, 255, 0.24) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(5, 45, 91, 0.16) 100%);
  }

  .home-day-hero-content {
    padding-bottom: 3rem;
    padding-top: 3rem;
  }

  .home-day-copy {
    max-width: 20rem;
  }

  .home-hero-title {
    font-size: clamp(2.25rem, 10.2vw, 3rem);
    -webkit-text-stroke-width: 0.035em;
  }

  .home-hero-lead {
    font-size: 1rem;
  }

  .service-strip .col-md-4:not(:last-child) {
    border-bottom: 1px solid #d9e6f6;
    border-right: 0;
  }

  .service-item {
    min-height: 4.8rem;
    padding-left: 0;
    padding-right: 0;
  }

  .home-products-section {
    padding: 2.5rem 0 3rem;
  }

  .home-product-grid {
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-body {
    padding: 0.75rem;
  }

  .home-product-title {
    min-height: 3.9em;
  }

  .home-night-section {
    padding: 3rem 0;
  }

  .night-mascot-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-heading-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .store-heading-badge {
    height: 5rem;
    width: 5rem;
  }

  .hero-layout {
    min-height: auto;
    padding: 2.5rem 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .mascot-callout {
    align-items: flex-start;
  }

  .purchase-row {
    grid-template-columns: 1fr;
  }

  .purchase-button {
    width: 100%;
  }

  .cart-actions,
  .cart-summary {
    max-width: none;
    width: 100%;
  }

  .cart-actions {
    flex-direction: column;
  }

  .cart-actions .btn {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.portfolio-notice {
  background: #0b2a4a;
  color: #eaf3ff;
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 0.4rem 0;
  text-align: center;
}

.footer-notice {
  font-size: 0.8rem;
  line-height: 1.6;
}
