/* ===== ROOT ===== */
:root {
  --color-text: #0d0d0d;
  --color-text-soft: #2c2c2c;
  --color-muted: #7a7a7a;
  --color-line: rgba(13,13,13,0.10);
  --color-bg: #ffffff;
  --color-bg-soft: #f7f6f3;
  --color-navy: #1a4fc4;
  --color-navy-mid: #2259d4;
  --color-accent: #2e62e8;
  --color-accent-light: #5580f4;
  --color-white: #ffffff;

  --color-store-r: #bf0000;
  --color-store-ya: #e07000;
  --color-store-a: #1a1206;
  --color-store-q: #1a7de0;
  --color-store-dark: #1c1c1c;

  --container-max: 1240px;
  --header-height: 68px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.13);
  --transition: 0.22s ease;
}

/* ===== RESET ===== */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0 10%;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
table { width: 100%; border-collapse: collapse; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 999;
  padding: 8px 14px; background: #fff; color: #000;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

/* ===== LAYOUT ===== */
.container {
  width: min(100% - 48px, var(--container-max));
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10, 28, 90, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header__inner {
  min-height: var(--header-height);
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.site-brand {
  display: flex; flex-direction: column; gap: 2px;
  text-decoration: none;
}
.site-brand__ja {
  color: #fff; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.1em; line-height: 1.1;
}
.site-brand__en {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* Desktop nav */
.site-nav {
  display: flex; flex-wrap: wrap; gap: 32px;
}
.site-nav a {
  position: relative; padding-bottom: 3px;
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  transition: color var(--transition);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: #fff;
  transition: width var(--transition);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,0.85);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-height) 0 0 0;
  background: rgba(10, 28, 90, 0.98);
  flex-direction: column; align-items: center;
  justify-content: center; gap: 40px; z-index: 199;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: #fff; }

/* ===== HERO ===== */
.hero {
  background: var(--color-navy);
  margin-top: 16px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--header-height));
}
.hero__content {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 56px 80px clamp(28px, 4vw, 64px);
}
.hero__content::before {
  content: "TATSU";
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: "Playfair Display", serif;
  font-size: clamp(10rem, 14vw, 14rem);
  line-height: 1;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
}
.hero__visual {
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow: hidden;
}
.hero__visual img {
  width: 85%; height: auto;
  object-fit: cover; object-position: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 24px;
  font-family: "DM Mono", monospace;
  font-size: 0.68rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--color-white);
}
.hero__eyebrow span {
  display: inline-block; width: 32px; height: 1px;
  background: currentColor;
}
.hero__title {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.18; color: #fff;
}
.hero__title em {
  font-style: italic; color: rgba(255,255,255,0.70);
}
.hero__text {
  max-width: 460px; margin: 0 0 40px;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem; font-weight: 300;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* ===== BUTTON ===== */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 13px 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; transition: var(--transition); cursor: pointer;
}
.button--primary { color: var(--color-navy); background: #fff; }
.button--primary:hover { background: rgba(255,255,255,0.90); }
.button--ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.28); background: transparent;
}
.button--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.50); color: #fff;
}

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; }
.section--light { background: #fff; }
.section--soft  { background: var(--color-bg-soft); }
.section--dark  { background: var(--color-navy); }
.section--store { padding: 0; }

.section-heading { margin-bottom: 56px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-family: "DM Mono", monospace;
  font-size: 0.65rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--color-muted);
}
.section-eyebrow--light { color: rgba(255,255,255,0.45); }
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}
.section-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.22; color: var(--color-text);
}
.section-title--light { color: #fff; }
.section-lead {
  max-width: 680px; margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.95rem; font-weight: 300; line-height: 1.95;
}
.section-lead--light { color: rgba(255,255,255,0.68); }

/* ===== DIVIDER ===== */
.section-divider {
  width: 48px; height: 2px;
  background: var(--color-accent);
  margin: 20px 0 0; border: none;
}

/* ===== ABOUT ===== */
.about-layout {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 72px; align-items: start;
}
.about-message__box {
  padding: 32px 36px;
  background: var(--color-bg-soft);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-message__box p {
  margin: 0; font-size: 1.05rem; font-weight: 500;
  line-height: 1.8; color: var(--color-text-soft);
}
.about-message__box small {
  display: block; margin-top: 14px;
  color: var(--color-muted); font-size: 0.82rem; line-height: 1.85;
}
.company-table tr { border-bottom: 1px solid var(--color-line); }
.company-table tr:first-child { border-top: 1px solid var(--color-line); }
.company-table th, .company-table td { padding: 18px 0; vertical-align: top; }
.company-table th {
  width: 140px; padding-right: 24px;
  color: var(--color-muted); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.06em;
  text-align: left; white-space: nowrap;
}
.company-table td { color: var(--color-text-soft); font-size: 0.92rem; line-height: 1.75; }
.company-table__sub { color: var(--color-muted); font-size: 0.78rem; }

/* ===== BUSINESS CARDS ===== */
.business-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md); overflow: hidden;
}
.business-card {
  padding: 40px 28px 44px;
  background: var(--color-navy-mid);
  transition: background var(--transition);
}
.business-card:hover { background: #3370e8; }
.business-card__number {
  margin: 0 0 20px;
  font-family: "DM Mono", monospace;
  font-size: 0.85rem; letter-spacing: 0.22em;
  color: #ffffff; font-weight: 400;
}
.business-card h3 {
  margin: 0 0 12px; color: #ffffff;
  font-size: 1rem; line-height: 1.55; font-weight: 600;
}
.business-card p {
  margin: 0; color: rgba(255,255,255,0.88);
  font-size: 0.88rem; font-weight: 300; line-height: 1.85;
}

/* ===== STORE ===== */
.store-section { padding: 0; }

.store-platform { margin-bottom: 4px; }
.store-platform__header {
  background: #fff; padding: 40px 0 24px;
  border-bottom: 1px solid var(--color-line);
}
.store-platform__header .container {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px;
}
.store-platform__logo img { height: 36px; width: auto; object-fit: contain; }
.store-platform__label {
  font-family: "DM Mono", monospace;
  font-size: 0.64rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--color-muted);
}

.store-intro { padding: 64px 0 0; background: #fff; }
.store-intro .section-heading { margin-bottom: 5px; }

.store-body { padding: 32px 0 48px; }
.store-body--rakuten { background: linear-gradient(160deg, #e03030 0%, #b81010 100%); }
.store-body--yahoo   { background: linear-gradient(160deg, #f07820 0%, #d05a00 100%); }
.store-body--amazon  { background: linear-gradient(160deg, #3a4a5e 0%, #243040 100%); }
.store-body--other   { background: linear-gradient(160deg, #3a72c8 0%, #1e52a0 100%); }
.store-body--dark    { background: linear-gradient(160deg, #4a4a4a 0%, #2a2a2a 100%); }

.store-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.store-grid--2 { grid-template-columns: repeat(2, 1fr); }
.store-grid--4 { grid-template-columns: repeat(4, 1fr); }

.store-card { display: block; border-radius: var(--radius-md); overflow: hidden; }
.store-card__inner {
  height: 100%; padding: 28px 24px 36px; text-align: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.store-card:hover .store-card__inner {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.20);
  box-shadow: var(--shadow-hover);
}
.store-card__name {
  margin: 0 0 8px; font-size: 0.70rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}
.store-card h3 {
  margin: 0 0 20px; font-size: 0.93rem;
  line-height: 1.6; color: #fff; font-weight: 500; min-height: 3em;
}
.store-card__thumb {
  width: min(80%, 280px); margin: 0 auto;
  padding: 12px; background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.store-card__thumb img { width: 100%; height: 80px; object-fit: contain; }
.store-card__link {
  margin: 18px 0 0; font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.10em; color: rgba(255,255,255,0.80);
}

/* ===== 実店舗バナー ===== */
.store-section--physical .section-heading { margin-bottom: 32px; }
.physical-banner {
  margin-bottom: 24px;
  border-top: 2px solid rgba(26,79,196,0.35);
  border-bottom: 2px solid rgba(26,79,196,0.35);
}
.physical-banner--last { margin-bottom: 56px; }
.physical-banner a { display: block; transition: opacity var(--transition); }
.physical-banner a:hover { opacity: 0.88; }
.physical-banner img { width: 100%; height: auto; display: block; }

/* ===== カテゴリバナー ===== */
.category-banner {
  margin-bottom: 24px;
  border-top: 2px solid rgba(26,79,196,0.35);
  border-bottom: 2px solid rgba(26,79,196,0.35);
}
.category-banner--last { margin-bottom: 0; }
.category-banner a { display: block; transition: opacity var(--transition); }
.category-banner a:hover { opacity: 0.88; }
.category-banner img { width: 100%; height: auto; display: block; }

/* ===== 選ばれる理由 ===== */
.reason-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.reason-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  transition: background var(--transition), border-color var(--transition);
}
.reason-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}
.reason-card__number {
  margin: 0 0 16px; font-family: "DM Mono", monospace;
  font-size: 0.80rem; letter-spacing: 0.20em;
  color: #ffffff; font-weight: 400;
}
.reason-card h3 {
  margin: 0 0 10px; color: #ffffff;
  font-size: 0.97rem; font-weight: 600; line-height: 1.5;
}
.reason-card p {
  margin: 0; color: rgba(255,255,255,0.88);
  font-size: 0.86rem; font-weight: 300; line-height: 1.85;
}

/* ===== ACCESS ===== */
#access { margin-bottom: 16px; }
.access-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.65fr) 1fr;
  gap: 64px; align-items: start;
}
.access-info__company { margin-bottom: 48px; }
.access-info__name-ja {
  margin: 0 0 4px; color: #fff;
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.06em; line-height: 1.5;
}
.access-info__name-en {
  margin: 0; color: rgba(255,255,255,0.45);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.access-list { margin: 0; }
.access-list__row {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 16px; padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.access-list__row dt {
  color: rgba(255,255,255,0.40); font-size: 0.80rem;
  letter-spacing: 0.06em; white-space: nowrap; padding-top: 2px;
}
.access-list__row dd {
  margin: 0; color: rgba(255,255,255,0.90);
  font-size: 0.92rem; font-weight: 400; line-height: 1.80;
}
.access-list__row dd a {
  color: var(--color-accent-light);
  transition: opacity var(--transition);
}
.access-list__row dd a:hover { opacity: 0.75; }
.access-map-area { display: flex; flex-direction: column; gap: 12px; }
.access-map__frame { overflow: hidden; border-radius: var(--radius-md); }
.access-map__frame iframe { display: block; width: 100%; border: 0; }
.access-map__frame--map    iframe { height: 320px; }
.access-map__frame--street iframe { height: 260px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0a1c5a;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.site-footer__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 28px 0;
}
.site-footer__brand {
  margin: 0; font-family: "DM Mono", monospace;
  font-size: 0.62rem; letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}
.site-footer__copy {
  margin: 0; font-size: 0.74rem;
  color: rgba(255,255,255,0.45); letter-spacing: 0.06em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid   { grid-template-columns: repeat(2, 1fr); }
  .store-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about-layout  { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .access-layout { grid-template-columns: 1fr; gap: 48px; }
  .store-grid    { grid-template-columns: 1fr; }
  .store-grid--2 { grid-template-columns: 1fr; }
  .store-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .store-card h3 { min-height: auto; }
}

@media (max-width: 768px) {
  body { padding: 0 4%; }
  .site-nav   { display: none; }
  .nav-toggle { display: flex; }
  .container  { width: min(100% - 32px, var(--container-max)); }
  .section    { padding: 72px 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { padding: 72px 28px 40px; }
  .hero__content::before { display: none; }
  .hero__visual { padding: 20px; }
  .business-grid { grid-template-columns: 1fr; }
  .reason-grid   { grid-template-columns: 1fr; }
  .store-grid--4 { grid-template-columns: 1fr; }
  .store-platform__header .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.4rem; }
  .access-list__row { grid-template-columns: 1fr; gap: 4px; }
  .access-list__row dt { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
