/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0d174f;
  --blue: #0052ff;
  --blue-dark: #0037b5;
  --mint: #00f0c2;
  --mint-dark: #00b89a;
  --light-blue: #b0c4de;
  --text-secondary: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 82, 255, 0.15);
  --container: 1200px;
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Hiragino Sans', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', YuGothic,
    'Meiryo UI', Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 64px 0; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header .container {
  height: 100%;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  gap: 8px;
}

.header__nav-btn {
  background: none;
  border: none;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}

.header__nav-btn:hover { color: var(--blue); }

.header__menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  padding: 8px;
  border-radius: var(--radius-sm);
}

.header__menu-btn svg { display: block; }

/* Mobile Drawer */
.drawer {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.drawer.is-open { max-height: 400px; }

.drawer__list {
  list-style: none;
  padding: 8px 0 16px;
}

.drawer__item button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1rem;
  padding: 14px 24px;
  transition: background 0.2s;
}

.drawer__item button:hover {
  background: rgba(0, 82, 255, 0.05);
  color: var(--blue);
}

/* Spacer */
.header-spacer { height: var(--header-h); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, #0052ff 0%, #0037b5 100%);
  color: var(--white);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #0037b5 0%, #001f7d 100%);
  color: var(--white);
}

.btn--secondary {
  background: linear-gradient(135deg, #00f0c2 0%, #00b89a 100%);
  color: var(--navy);
}

.btn--secondary:hover {
  background: linear-gradient(135deg, #00b89a 0%, #008076 100%);
}

.btn--outline {
  background: none;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}

.btn--outline:hover {
  background: rgba(0, 82, 255, 0.05);
  color: var(--blue);
}

.btn--sm {
  font-size: 0.875rem;
  padding: 8px 16px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header__label {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.section-header__title {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-header__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== HERO BANNER ===== */
.hero {
  position: relative;
  min-height: 80vh;
  padding: 192px 0 128px;
  background-image: url('../images/1748761900_background_image.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 23, 79, 0.65);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 66.666%;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--light-blue);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ===== ABOUT SECTION ===== */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about__label {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.about__title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.4;
}

.about__body {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ===== FEATURES SECTION ===== */
.features { background: var(--bg-light); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 82, 255, 0.15);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--blue);
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== STORES SECTION ===== */
.stores { background: var(--white); }

.stores__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.stores__tabs {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-tab {
  width: 100%;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
  transition: all 0.2s;
  cursor: pointer;
}

.store-tab:hover:not(.is-active) {
  background: rgba(0, 82, 255, 0.05);
  border-color: var(--blue);
}

.store-tab.is-active {
  background: linear-gradient(135deg, #0052ff 0%, #0037b5 100%);
  border-color: transparent;
  color: var(--white);
}

.store-tab__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.store-tab.is-active .store-tab__name { color: var(--white); }

.store-tab__addr,
.store-tab__tel {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 2px;
}

.store-tab.is-active .store-tab__addr,
.store-tab.is-active .store-tab__tel { color: rgba(255,255,255,0.9); }

.stores__content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.stores__content-panel { display: none; }
.stores__content-panel.is-active { display: block; }

.store-info__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.store-info__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.store-info__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.store-info__row svg {
  width: 20px;
  height: 20px;
  fill: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.store-info__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.store-info__body {
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

/* ===== ONLINE SHOP SECTION ===== */
.online-shop {
  background: var(--bg-light);
  padding: 80px 0;
}

.online-shop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.shop-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 82, 255, 0.15);
}

.shop-card__img-wrap {
  padding: 16px 16px 0;
}

.shop-card__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}

.shop-card:hover .shop-card__img { transform: scale(1.02); }

.shop-card__body {
  padding: 16px;
  flex: 1;
}

.shop-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.shop-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.shop-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact { background: var(--bg-light); }

.contact__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact__card-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact__card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact__card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 82, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact__card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--blue);
}

.contact__card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact__card-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.2s;
}

a.contact__card-value:hover { color: var(--blue); }

.contact__card-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--light-blue);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 500px;
}

.footer__social-x {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--light-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__social-x:hover { color: var(--mint); }

.footer__social-x-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.footer__social-x:hover .footer__social-x-icon {
  background: rgba(0, 240, 194, 0.15);
}

.footer__social-x-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__social-x-handle {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}

.footer__social-x-followers {
  display: block;
  font-size: 0.8125rem;
  opacity: 0.65;
  margin-top: 2px;
}

.footer__col-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--light-blue);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-align: left;
  transition: color 0.2s;
  text-decoration: none;
}

.footer__link:hover { color: var(--mint); }

.footer__link-chevron {
  width: 16px;
  height: 16px;
  fill: var(--mint);
  flex-shrink: 0;
}

.footer__divider {
  border: none;
  border-top: 1px solid #2a3f5f;
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--light-blue);
}

.footer__legal-link {
  font-size: 0.875rem;
  color: var(--light-blue);
  transition: color 0.2s;
}

.footer__legal-link:hover { color: var(--mint); }

/* ===== LEGAL PAGE ===== */
.legal-hero {
  background: var(--bg-light);
  padding: 64px 0 32px;
  text-align: center;
}

.legal-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
}

.legal-content {
  background: var(--bg-light);
  padding: 32px 0 80px;
}

.legal-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table tr {
  border-bottom: 1px solid var(--border);
}

.legal-table tr:last-child {
  border-bottom: none;
}

.legal-table th {
  width: 30%;
  padding: 16px;
  background: #f5f5f5;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--navy);
  text-align: left;
  vertical-align: top;
}

.legal-table td {
  padding: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  vertical-align: top;
}

.legal-table td a {
  color: #0052ff;
  transition: text-decoration 0.2s;
}

.legal-table td a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header__logo img { height: 32px; }
  .header__nav { display: none; }
  .header__menu-btn { display: flex; }

  .hero { background-attachment: scroll; padding: 120px 0 80px; }
  .hero__inner { max-width: 100%; }

  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__img-wrap img { height: 280px; }

  .features__grid { grid-template-columns: 1fr 1fr; }

  .stores__grid { grid-template-columns: 1fr; }
  .stores__tabs { position: static; }

  .online-shop__grid { grid-template-columns: 1fr; }

  .contact__cards { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }

  .legal-table th { width: 40%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .features__grid { grid-template-columns: 1fr; }
  .section-pad { padding: 48px 0; }
}
