:root {
  --brand: #155879;
  --brand-dark: #0e4059;
  --ink: #17313f;
  --muted: #60717a;
  --line: #dce5e9;
  --tint: #f3f7f9;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
.container { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 820px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: 190px; height: 30px; overflow: hidden; }
.brand img { display: block; width: 190px; height: auto; transform: translateY(-37px); }
nav { display: flex; gap: 28px; }
nav a { color: var(--ink); font-size: 14px; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--brand); }

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(247, 251, 253, .90) 46%, rgba(225, 241, 248, .52) 100%),
    url("hero-osaka-office.webp") 68% center / cover no-repeat;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  inset: -35% -25%;
  background:
    radial-gradient(circle at 22% 42%, rgba(255, 255, 255, .98) 0 13%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 72% 58%, rgba(122, 190, 218, .18) 0 12%, rgba(122, 190, 218, 0) 35%);
  filter: blur(4px);
  animation: light-drift 16s ease-in-out infinite alternate;
}
.hero::after {
  top: -45%;
  left: -35%;
  width: 42%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  filter: blur(24px);
  transform: rotate(14deg);
  animation: light-sweep 19s ease-in-out infinite;
}
.hero-inner { position: relative; z-index: 1; padding: 90px 0; }
@keyframes light-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(4%, 2%, 0) scale(1.05); }
}
@keyframes light-sweep {
  0%, 12% { transform: translateX(0) rotate(14deg); opacity: 0; }
  30%, 70% { opacity: .7; }
  88%, 100% { transform: translateX(360%) rotate(14deg); opacity: 0; }
}
.eyebrow, .section-label { margin: 0 0 12px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
h1 { margin: 0 0 22px; color: var(--brand); font-size: clamp(48px, 7vw, 82px); line-height: 1.2; letter-spacing: .04em; }
.hero p:last-child { margin: 0; font-size: clamp(17px, 2vw, 21px); }

.section { padding: 100px 0; scroll-margin-top: 70px; }
.section-tint { background: var(--tint); }
h2 { margin: 0 0 30px; font-size: clamp(28px, 4vw, 38px); letter-spacing: .04em; }
.lead { margin: 0; font-size: 18px; }

.store-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.store-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 20px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.store-card span:first-child { grid-column: 1; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.store-card strong { grid-column: 1; font-size: 20px; }
.store-card span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--brand); font-size: 24px; }
.store-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.store-card-amazon {
  background:
    linear-gradient(90deg, rgba(9, 31, 41, .82), rgba(9, 31, 41, .48)),
    url("amazon-store-bg.jpg") center 43% / cover no-repeat;
  border-color: transparent;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.store-card-amazon span:first-child { color: rgba(255, 255, 255, .78); }
.store-card-amazon span:last-child { color: var(--white); }
.store-card-amazon:hover { border-color: transparent; }
.store-card-rakuten {
  background:
    linear-gradient(90deg, rgba(9, 31, 41, .78), rgba(9, 31, 41, .42)),
    url("rakuten-store-bg.webp") center / cover no-repeat;
  border-color: transparent;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.store-card-rakuten span:first-child { color: rgba(255, 255, 255, .78); }
.store-card-rakuten span:last-child { color: var(--white); }
.store-card-rakuten:hover { border-color: transparent; }

.company-list { margin: 0; border-top: 1px solid var(--line); }
.company-list div { display: grid; grid-template-columns: 150px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.company-list dt { font-weight: 700; }
.company-list dd { margin: 0; }

.form-wrap { max-width: 640px; }
#contact { padding: 72px 0; }
.form-wrap h2 { margin-bottom: 22px; }
.form-wrap > p:not(.section-label) { margin: -10px 0 24px; color: var(--muted); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 5px; font-weight: 700; }
.field label span { margin-left: 8px; color: var(--brand); font-size: 12px; }
input, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bdcbd2;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid rgba(21, 88, 121, .22); border-color: var(--brand); }
textarea { resize: vertical; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button {
  min-width: 180px;
  padding: 14px 28px;
  border: 1px solid var(--brand);
  border-radius: 2px;
  background: var(--brand);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: var(--brand-dark); }
button:disabled { opacity: .65; cursor: wait; }
.form-status { min-height: 1.8em; margin: 16px 0 0; color: var(--brand-dark); }
.form-status.error { color: #a32f2f; }

footer { padding: 44px 0; border-top: 1px solid var(--line); }
footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
footer img { width: 150px; height: auto; margin: -29px 0 -34px; }
footer small { color: var(--muted); }

@media (max-width: 720px) {
  .header-inner { min-height: 64px; }
  .brand { width: 150px; height: 24px; }
  .brand img { width: 150px; transform: translateY(-29px); }
  nav { display: none; }
  .hero { min-height: 430px; }
  .hero {
    background-position: center, 62% center;
  }
  .hero-inner { padding: 72px 0; }
  .section { padding: 76px 0; }
  #contact { padding: 56px 0; }
  .store-links { grid-template-columns: 1fr; }
  .company-list div { grid-template-columns: 1fr; gap: 5px; }
  footer .container { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .hero::after { animation: none; }
  .store-card { transition: none; }
}
