:root {
  --navy: #223242;
  --slate: #5b6573;
  --primary: #9195f6;
  --primary-ink: #5a5fd6;
  --lavender: #e7e7ff;
  --lavender-soft: #f3f3ff;
  --sun: #fff3d6;
  --line: #ececf3;
  --white: #ffffff;
  --radius: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }

.lang {
  position: relative;
  display: flex;
  align-items: center;
}

.lang select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  background: var(--lavender-soft);
  border: 0;
  border-radius: 999px;
  padding: 9px 36px 9px 16px;
  cursor: pointer;
}

.lang::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding-block: 28px 56px;
}

.hero .penny { width: 168px; }

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero p {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--slate);
  text-wrap: balance;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  transition: transform 0.15s ease;
}

.store:hover { transform: translateY(-2px); }

.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

.shots {
  padding-block: 8px 72px;
}

.shots ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.shots li img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  background: var(--lavender-soft);
}

.shots li:nth-child(even) { transform: translateY(28px); }

@media (max-width: 900px) {
  .shots .wrap { padding-left: 0; padding-right: 0; }
  .shots ul {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .shots ul::-webkit-scrollbar { display: none; }
  .shots li { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; }
  .shots li:nth-child(even) { transform: none; }
}

.foot {
  border-top: 1px solid var(--line);
  padding-block: 28px 36px;
  margin-top: 48px;
}

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

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-weight: 800;
  font-size: 15px;
}

.foot nav a { text-decoration: none; color: var(--slate); }
.foot nav a:hover { color: var(--navy); }

.foot small { color: var(--slate); font-size: 14px; font-weight: 600; }

.card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  max-width: 560px;
  margin: 24px auto 0;
  padding: 40px 24px 36px;
  border-radius: var(--radius);
  background: var(--lavender-soft);
}

.card .penny { width: 132px; }

.card h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.card p { margin: 0; color: var(--slate); font-weight: 700; }

.mail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.mail a {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-ink);
  text-decoration: none;
  word-break: break-all;
}

.btn {
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  text-decoration: none;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 16px 24px;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal h1 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 8px 0 24px;
}

.legal p, .legal li { color: #3b4856; }
.legal strong { color: var(--navy); }
.legal ul { padding-left: 22px; }
.legal a { color: var(--primary-ink); }
.legal table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }

:lang(ja) h1, :lang(ja) p { word-break: auto-phrase; }

@media (min-width: 901px) {
  .shots .wrap { max-width: 1400px; }
  .shots ul { gap: 20px; }
}
