:root {
  --bg: #fafaf4;
  --paper: #fffefa;
  --panel: #f3f5ea;
  --panel-strong: #e8eee0;
  --text: #17231c;
  --muted: #687468;
  --soft: #879083;
  --line: #e4e8dc;
  --line-strong: #cfd8c6;
  --primary: #2f7d57;
  --primary-dark: #174232;
  --accent: #d9a441;
  --sage: #7fa56f;
  --moss: #5f8846;
  --teal: #438872;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 35, 28, 0.09);
  --soft-shadow: 0 14px 34px rgba(23, 35, 28, 0.06);
  --radius: 20px;
  --radius-lg: 24px;
  --site-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(251, 252, 248, 0.05), rgba(247, 250, 243, 0.52) 42%, rgba(251, 252, 248, 0.96) 72%),
    url("/assets/hero-background.png") top center / max(1800px, 100vw) auto no-repeat,
    linear-gradient(180deg, #fbfcf8 0%, #f7faf3 45%, #fbfcf8 100%);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 125, 79, 0.3);
  outline-offset: 4px;
}

.site-header,
main {
  width: calc(100% - 104px);
  max-width: 1920px;
  margin: 0 auto;
}

.site-header,
.site-footer,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 154px;
}

.brand,
.site-nav,
.site-footer nav,
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark,
.app-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.brand-mark {
  width: 72px;
  height: 72px;
  font-size: 2.15rem;
}

.site-nav a,
.site-footer a {
  color: #4d5b52;
  font-size: 1.34rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a {
  padding: 10px 3px;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--primary-dark);
}

.site-nav .nav-contact {
  margin-left: 12px;
  padding: 15px 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: min(980px, calc(100svh - 154px));
  display: grid;
  grid-template-columns: minmax(520px, 0.92fr) minmax(660px, 1.08fr);
  align-items: center;
  gap: 64px;
  padding: 38px 0 116px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -48px auto auto -56px;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(47, 125, 79, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1,
.page-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #102017;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 5rem;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero p,
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.85;
  margin: 38px 0 0;
  overflow-wrap: anywhere;
}

.actions {
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  min-height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.38rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(47, 125, 79, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.hero-product {
  position: relative;
  align-self: end;
  padding: 0 0 0;
}

@media (min-width: 1501px) {
  .hero-product {
    transform: translateY(-44px);
  }
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 178px -88px 88px 38px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(240, 246, 236, 0.7), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(200, 216, 193, 0.8);
  box-shadow: 0 36px 90px rgba(30, 52, 36, 0.12);
}

.icon-shelf {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 34px;
}

.shelf-item {
  min-height: 190px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(220, 231, 215, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.shelf-item .app-icon {
  width: 72px;
  height: 72px;
  font-size: 1.32rem;
}

.device-stage {
  position: relative;
  z-index: 1;
  min-height: 590px;
}

.wood-shelf {
  position: relative;
  z-index: 1;
  width: min(890px, calc(100% - 28px));
  height: 30px;
  margin: -36px auto 0;
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(88, 57, 31, 0.18), rgba(255, 255, 255, 0.16), rgba(88, 57, 31, 0.12)),
    #a67a4f;
  box-shadow: 0 32px 36px rgba(75, 54, 31, 0.16);
}

.wood-shelf::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 1px;
  background: rgba(69, 43, 22, 0.22);
}

.device {
  position: absolute;
  width: 285px;
  height: 552px;
  padding: 32px 24px;
  border: 14px solid #17231b;
  border-radius: 44px;
  background: #fbfcf8;
  box-shadow: 0 30px 70px rgba(20, 32, 25, 0.2);
  overflow: hidden;
}

.device::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 90px;
  height: 7px;
  border-radius: 999px;
  background: #17231b;
  transform: translateX(-50%);
}

.device-archery {
  left: 18px;
  top: 28px;
  transform: rotate(-2.2deg);
}

.device-family {
  left: 275px;
  top: 4px;
  transform: rotate(0.8deg);
}

.device-gomi {
  right: -8px;
  top: 54px;
  transform: rotate(1.8deg);
}

.device-bar {
  height: 52px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.target-graphic {
  width: 206px;
  height: 206px;
  display: grid;
  place-items: center;
  margin: 54px auto 46px;
  border-radius: 50%;
  background: #f5f1d9;
  box-shadow: inset 0 0 0 28px #d75245, inset 0 0 0 62px #e5c14a, inset 0 0 0 96px #306c52;
}

.target-graphic span {
  grid-area: 1 / 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d75245;
}

.score-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--panel);
}

.score-strip b {
  font-size: 2.9rem;
  line-height: 1;
}

.score-strip span {
  color: var(--muted);
  font-size: 1.08rem;
}

.tree-graphic {
  position: relative;
  width: 206px;
  height: 330px;
  margin: 56px auto 0;
}

.tree-graphic::before,
.tree-graphic::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: #aebcad;
  transform: translateX(-50%);
}

.tree-graphic::before {
  top: 74px;
  height: 208px;
}

.tree-graphic::after {
  top: 164px;
  width: 164px;
  height: 1px;
}

.tree-graphic span {
  position: absolute;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #edf3e9);
}

.tree-graphic span:nth-child(1) { left: 72px; top: 0; }
.tree-graphic span:nth-child(2) { left: 4px; top: 134px; }
.tree-graphic span:nth-child(3) { right: 4px; top: 134px; }
.tree-graphic span:nth-child(4) { left: 46px; bottom: 0; }
.tree-graphic span:nth-child(5) { right: 46px; bottom: 0; }

.calendar-graphic {
  padding: 28px 16px;
}

.calendar-graphic strong {
  display: block;
  margin-bottom: 26px;
  font-size: 1.6rem;
}

.calendar-graphic div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.calendar-graphic span {
  height: 58px;
  border-radius: var(--radius);
  background: #edf3e9;
}

.calendar-graphic .active {
  background: var(--primary);
}

.calendar-graphic p {
  margin: 16px 0;
  padding: 18px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  font-size: 1.36rem;
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--sage);
}

.section,
.page-hero,
.legal-body {
  padding: clamp(70px, 8vw, 132px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 92px);
  margin-bottom: clamp(30px, 5vw, 58px);
}

h2 {
  margin: 0;
  color: var(--text);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 2.7rem;
  line-height: 1.12;
  font-weight: 700;
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.85;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apps-section {
  padding-top: clamp(78px, 9vw, 148px);
}

.apps-section .section-heading {
  align-items: start;
  border-top: 1px solid rgba(200, 216, 193, 0.68);
  padding-top: clamp(28px, 4vw, 54px);
}

.app-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.product-row,
.app-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 170px auto auto;
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 3vw, 40px) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-row:hover,
.app-row:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  box-shadow: none;
}

.product-row h3,
.app-row h3 {
  margin: 0 0 8px;
  font-size: 1.34rem;
  line-height: 1.2;
}

.product-row > div,
.app-row > div {
  min-width: 0;
}

.product-row p,
.app-row p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
}

.product-row > div > span {
  display: inline-block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-meta {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.product-meta span {
  position: relative;
  padding-left: 18px;
}

.product-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.store-button {
  min-width: 126px;
  padding: 11px 16px;
  border-radius: var(--radius);
  background: #121d16;
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
}

.store-button small {
  display: block;
  color: #c7d6c4;
  font-size: 0.68rem;
}

.store-button strong {
  font-size: 0.98rem;
}

.detail-link,
.app-row a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.app-icon.archery,
.phone-card.archery .app-icon {
  background: var(--primary);
}

.app-icon.family,
.phone-card.family .app-icon {
  background: var(--moss);
}

.app-icon.gomi,
.phone-card.gomi .app-icon {
  background: var(--teal);
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 76px);
  margin: 10px 0 clamp(64px, 8vw, 118px);
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid rgba(200, 216, 193, 0.86);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(235, 244, 228, 0.82), rgba(247, 250, 243, 0.9)),
    url("/assets/support-background.png") center / cover no-repeat,
    var(--panel);
  overflow: hidden;
  position: relative;
}

.support-icon {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-dark);
}

.support-icon span {
  width: 34px;
  height: 24px;
  border: 3px solid var(--white);
  border-radius: 4px;
  position: relative;
}

.support-icon span::before,
.support-icon span::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 22px;
  height: 3px;
  background: var(--white);
}

.support-icon span::before {
  left: -1px;
  transform: rotate(35deg);
  transform-origin: left center;
}

.support-icon span::after {
  right: -1px;
  transform: rotate(-35deg);
  transform-origin: right center;
}

.support-band p,
.about p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(42px, 8vw, 116px);
  align-items: center;
}

.principle-list {
  display: grid;
  gap: 0;
  max-width: 820px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.principle-list li {
  display: grid;
  grid-template-columns: 42px minmax(120px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list span {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
}

.principle-list strong {
  color: var(--text);
  font-size: 1.02rem;
}

.principle-list p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.studio-illustration {
  position: relative;
  height: clamp(240px, 24vw, 380px);
  border: 0;
  border-radius: var(--radius);
  background: url("/assets/about-studio.png") center / cover no-repeat;
  box-shadow: var(--soft-shadow);
}

.site-footer {
  width: 100%;
  max-width: none;
  min-height: 300px;
  margin-top: 82px;
  padding: 58px 52px 44px;
  border-top: 0;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(18, 55, 33, 0.48), rgba(14, 38, 24, 0.86)),
    url("/assets/footer-texture.png") center / cover no-repeat,
    radial-gradient(circle at 88% 24%, rgba(120, 168, 107, 0.2), transparent 16rem),
    linear-gradient(135deg, #123721, #0e2618);
  overflow: hidden;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 96px);
  top: -74px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: 8vw;
  bottom: -88px;
  width: 360px;
  height: 180px;
  border-radius: 999px 999px 0 0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  width: 100%;
  max-width: 1920px;
  min-height: 198px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(360px, auto);
  align-items: center;
  gap: 28px 52px;
  position: relative;
  z-index: 1;
}

.footer-copy {
  display: grid;
  gap: 22px;
}

.footer-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.45;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 24px;
}

.site-footer nav {
  justify-content: end;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-contact {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.footer-brand {
  align-self: start;
  color: #ffffff;
  font-size: 1.28rem;
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-inner > p {
  grid-column: 1 / -1;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.92rem;
}

.page-hero {
  padding-bottom: 44px;
}

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

.info-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.info-card h2,
.info-card h3 {
  margin-top: 18px;
  font-size: 1.18rem;
}

.info-card p {
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.legal-body {
  max-width: 800px;
}

.legal-body h1 {
  font-size: 2.4rem;
  line-height: 1.15;
}

.legal-body h2 {
  margin-top: 42px;
  font-size: 1.45rem;
}

.legal-body p,
.legal-body li {
  color: #314037;
}

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

@media (max-width: 1500px) {
  .site-header,
  main {
    width: calc(100% - 64px);
  }

  .site-header {
    min-height: 132px;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
    font-size: 1.85rem;
  }

  .brand {
    font-size: 1.26rem;
  }

  .site-nav a,
  .site-footer a {
    font-size: 1.04rem;
  }

  .site-nav .nav-contact {
    padding: 12px 18px;
  }

  .hero {
    min-height: min(760px, calc(100svh - 132px));
    grid-template-columns: minmax(0, 0.96fr) minmax(470px, 1.04fr);
    gap: 46px;
    padding: 26px 0 86px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 4rem;
  }

  .hero p,
  .page-hero p {
    max-width: 590px;
    font-size: 1.08rem;
    margin-top: 30px;
  }

  .button {
    min-height: 64px;
    padding-inline: 26px;
    font-size: 1.08rem;
  }

  .icon-shelf {
    gap: 16px;
    margin-bottom: 24px;
  }

  .shelf-item {
    min-height: 132px;
    gap: 14px;
    padding: 18px;
    font-size: 1.02rem;
  }

  .shelf-item .app-icon {
    width: 58px;
    height: 58px;
    font-size: 1rem;
  }

  .hero-product::before {
    inset: 124px -56px 54px 26px;
  }

  .device-stage {
    min-height: 430px;
  }

  .device {
    width: 205px;
    height: 400px;
    padding: 24px 16px;
    border-width: 10px;
    border-radius: 34px;
  }

  .device::before {
    width: 66px;
    height: 6px;
  }

  .device-archery {
    left: 6px;
    top: 26px;
  }

  .device-family {
    left: 180px;
    top: 0;
  }

  .device-gomi {
    right: -8px;
    top: 42px;
  }

  .device-bar {
    height: 36px;
    margin-bottom: 18px;
  }

  .target-graphic {
    width: 148px;
    height: 148px;
    margin: 38px auto 34px;
    box-shadow: inset 0 0 0 20px #d75245, inset 0 0 0 45px #e5c14a, inset 0 0 0 70px #306c52;
  }

  .target-graphic span {
    width: 26px;
    height: 26px;
  }

  .score-strip {
    padding: 14px;
  }

  .score-strip b {
    font-size: 2rem;
  }

  .score-strip span {
    font-size: 0.82rem;
  }

  .tree-graphic {
    width: 148px;
    height: 240px;
    margin-top: 42px;
  }

  .tree-graphic::before {
    top: 54px;
    height: 148px;
  }

  .tree-graphic::after {
    top: 120px;
    width: 118px;
  }

  .tree-graphic span {
    width: 46px;
    height: 46px;
  }

  .tree-graphic span:nth-child(1) { left: 51px; top: 0; }
  .tree-graphic span:nth-child(2) { left: 2px; top: 98px; }
  .tree-graphic span:nth-child(3) { right: 2px; top: 98px; }
  .tree-graphic span:nth-child(4) { left: 32px; bottom: 0; }
  .tree-graphic span:nth-child(5) { right: 32px; bottom: 0; }

  .calendar-graphic {
    padding: 18px 10px;
  }

  .calendar-graphic strong {
    font-size: 1.18rem;
  }

  .calendar-graphic div {
    gap: 10px;
  }

  .calendar-graphic span {
    height: 42px;
  }

  .calendar-graphic p {
    padding: 12px;
    font-size: 1rem;
  }

  .wood-shelf {
    width: min(640px, calc(100% - 10px));
    height: 22px;
    margin-top: -26px;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-product {
    max-width: 640px;
  }

  .product-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }

  .product-meta {
    grid-column: 2;
    padding-left: 0;
    border-left: 0;
  }

  .detail-link {
    grid-column: 2;
  }

  .store-button {
    grid-row: span 2;
  }
}

@media (max-width: 820px) {
  body {
    background:
      linear-gradient(180deg, rgba(251, 252, 248, 0.08), rgba(247, 250, 243, 0.78) 34%, rgba(251, 252, 248, 0.98) 46%, rgba(251, 252, 248, 1) 62%),
      url("/assets/support-background.png") top center / auto 780px no-repeat,
      linear-gradient(180deg, #fbfcf8 0%, #f7faf3 45%, #fbfcf8 100%);
  }

  .site-header,
  main {
    width: calc(100% - 28px);
    max-width: 1120px;
  }

  .site-header,
  .section-heading,
  .support-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav .nav-contact {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.34rem;
    line-height: 1.08;
  }

  h2 {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .section-heading > div {
    width: 100%;
    min-width: 0;
  }

  .section-heading h2 {
    max-width: 340px;
  }

  .hero p,
  .page-hero p {
    max-width: 330px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .section-heading p {
    max-width: 330px;
  }

  .icon-shelf {
    grid-template-columns: 1fr;
    margin-inline: 0;
  }

  .hero-product::before {
    display: none;
  }

  .shelf-item {
    min-height: 86px;
    grid-template-columns: 48px 1fr;
    justify-items: start;
    text-align: left;
  }

  .device-stage {
    display: none;
  }

  .wood-shelf {
    display: none;
  }

  .grid,
  .about {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero,
  .legal-body {
    padding: 52px 0;
  }

  .product-row,
  .app-row {
    grid-template-columns: 1fr;
    justify-items: start;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .product-row p,
  .app-row p {
    width: 100%;
    max-width: 280px;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .product-row > div,
  .app-row > div,
  .app-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-meta {
    display: none;
  }

  .store-button,
  .detail-link,
  .app-row a {
    grid-column: auto;
  }

  .store-button {
    width: fit-content;
  }

  .studio-illustration {
    min-height: 190px;
  }

  .footer-inner {
    min-height: 220px;
    grid-template-columns: 1fr;
    align-content: center;
    align-items: start;
  }

  .footer-links {
    justify-items: start;
  }

  .site-footer {
    padding: 42px 20px 34px;
  }

  .site-footer nav {
    justify-content: start;
  }

  .footer-inner > p {
    margin: 0;
  }
}

/* KitoKito portfolio refinement pass */
body {
  background:
    linear-gradient(180deg, rgba(250, 250, 244, 0.42), rgba(250, 250, 244, 0.86) 38%, rgba(250, 250, 244, 1) 72%),
    url("/assets/hero-background.png") top center / max(1500px, 100vw) auto no-repeat,
    linear-gradient(180deg, #fafaf4 0%, #f3f5ea 48%, #fafaf4 100%);
  font-weight: 400;
}

.site-header,
main {
  width: min(calc(100% - 48px), var(--site-width));
  max-width: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 88px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(228, 232, 220, 0.58);
  background: rgba(250, 250, 244, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.35rem;
  font-weight: 700;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-weight: 700;
}

.site-nav {
  gap: 22px;
}

.site-nav a,
.site-footer a {
  color: #526158;
  font-size: 0.96rem;
  font-weight: 500;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav .nav-contact {
  margin-left: 2px;
  padding: 11px 17px;
  border-color: rgba(207, 216, 198, 0.85);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
}

.hero {
  min-height: auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(34px, 6vw, 78px);
  padding: clamp(82px, 10vw, 128px) 0 clamp(74px, 9vw, 112px);
}

.hero-copy::before {
  inset: -28px auto auto -34px;
  width: 104px;
  height: 104px;
  border-color: rgba(47, 125, 87, 0.13);
}

.hero h1,
.page-hero h1 {
  max-width: 720px;
  color: var(--primary-dark);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 5rem;
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 700;
}

.hero p,
.page-hero p {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
}

.actions {
  margin-top: 34px;
  gap: 14px;
}

.button {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(47, 125, 87, 0.18);
}

.button.primary:hover {
  background: #368b62;
  border-color: #368b62;
}

.button.secondary {
  border-color: rgba(207, 216, 198, 0.95);
  background: rgba(255, 255, 255, 0.38);
}

.hero-product {
  align-self: center;
  min-height: 430px;
  transform: none;
}

.hero-product::before {
  inset: 74px -28px 54px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(243, 245, 234, 0.64), rgba(255, 255, 255, 0.28));
  box-shadow: 0 24px 68px rgba(23, 35, 28, 0.09);
}

.device-stage {
  min-height: 410px;
}

.device {
  width: 176px;
  height: 342px;
  padding: 22px 14px;
  border-width: 9px;
  border-color: #17231c;
  border-radius: 31px;
  box-shadow: 0 24px 54px rgba(23, 35, 28, 0.16);
}

.device::before {
  top: 8px;
  width: 58px;
  height: 5px;
  background: #17231c;
}

.device-archery {
  left: 8px;
  top: 52px;
}

.device-family {
  left: 144px;
  top: 14px;
}

.device-gomi {
  right: 0;
  top: 74px;
}

.device-bar {
  height: 30px;
  margin-bottom: 14px;
}

.target-graphic {
  width: 126px;
  height: 126px;
  margin: 34px auto 26px;
  box-shadow: inset 0 0 0 17px #d85a4f, inset 0 0 0 38px #e4bf50, inset 0 0 0 60px #2f7d57;
}

.target-graphic span {
  width: 22px;
  height: 22px;
}

.score-strip {
  padding: 12px;
  border-radius: 14px;
}

.score-strip b {
  font-size: 1.8rem;
  font-weight: 700;
}

.score-strip span {
  font-size: 0.76rem;
}

.tree-graphic {
  width: 128px;
  height: 212px;
  margin-top: 34px;
}

.tree-graphic::before {
  top: 46px;
  height: 132px;
}

.tree-graphic::after {
  top: 105px;
  width: 106px;
}

.tree-graphic span {
  width: 40px;
  height: 40px;
}

.tree-graphic span:nth-child(1) { left: 44px; top: 0; }
.tree-graphic span:nth-child(2) { left: 0; top: 86px; }
.tree-graphic span:nth-child(3) { right: 0; top: 86px; }
.tree-graphic span:nth-child(4) { left: 28px; bottom: 0; }
.tree-graphic span:nth-child(5) { right: 28px; bottom: 0; }

.calendar-graphic {
  padding: 16px 8px;
}

.calendar-graphic strong {
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 700;
}

.calendar-graphic div {
  gap: 8px;
  margin-bottom: 18px;
}

.calendar-graphic span {
  height: 34px;
  border-radius: 10px;
}

.calendar-graphic p {
  margin: 12px 0;
  padding: 11px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
}

.wood-shelf {
  width: min(560px, calc(100% - 18px));
  height: 18px;
  margin-top: -22px;
  opacity: 0.78;
}

.section,
.page-hero,
.legal-body {
  padding: clamp(72px, 9vw, 116px) 0;
}

.section-heading {
  align-items: flex-end;
  margin-bottom: clamp(30px, 4vw, 46px);
}

h2 {
  color: var(--primary-dark);
  font-size: 2.7rem;
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 700;
}

.section-heading p {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.85;
}

.section-label {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.apps-section {
  padding-top: clamp(72px, 8vw, 104px);
}

.apps-section .section-heading {
  border-top: 1px solid rgba(228, 232, 220, 0.9);
  padding-top: clamp(30px, 4vw, 46px);
}

.app-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border-top: 0;
}

.product-row {
  min-height: 322px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  align-content: start;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(228, 232, 220, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(23, 35, 28, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-row:hover {
  transform: translateY(-3px);
  border-color: rgba(207, 216, 198, 0.95);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(23, 35, 28, 0.07);
}

.product-row h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.25;
}

.product-row p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.72;
}

.product-row > div > span {
  margin-top: 12px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 0;
  border-left: 0;
}

.product-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(228, 232, 220, 0.95);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.78rem;
}

.product-meta span::before {
  display: none;
}

.store-button {
  width: fit-content;
  min-width: 132px;
  margin-top: 4px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--text);
  font-weight: 500;
}

.store-button small {
  color: rgba(255, 255, 255, 0.64);
}

.detail-link {
  width: fit-content;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.about {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
}

.about-copy p,
.support-band p {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.85;
}

.principles-wrap {
  grid-column: 1 / -1;
}

.principle-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: none;
  margin-top: 12px;
  border-top: 0;
}

.principle-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(228, 232, 220, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.principle-list span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--panel);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.principle-list strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.principle-list p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.studio-illustration {
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(23, 35, 28, 0.07);
}

.support-band {
  margin: 0 0 clamp(76px, 9vw, 120px);
  padding: clamp(30px, 4vw, 48px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(243, 245, 234, 0.9), rgba(255, 255, 255, 0.72)),
    url("/assets/support-background.png") center / cover no-repeat,
    var(--panel);
}

.support-band h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

.support-icon {
  width: 54px;
  height: 54px;
  background: var(--primary);
}

.support-icon span {
  width: 28px;
  height: 20px;
  border-width: 2px;
}

.support-icon span::before,
.support-icon span::after {
  width: 18px;
  height: 2px;
}

.site-footer {
  min-height: 260px;
  margin-top: 0;
  padding: 64px 24px 38px;
  border-radius: 30px 30px 0 0;
  background:
    linear-gradient(135deg, rgba(23, 60, 46, 0.9), rgba(20, 54, 41, 0.94)),
    url("/assets/footer-texture.png") center / cover no-repeat,
    linear-gradient(135deg, #173c2e, #143629);
}

.footer-inner {
  max-width: var(--site-width);
  min-height: 148px;
}

.footer-copy p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.42rem;
  font-weight: 500;
}

.footer-contact {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 600;
}

.footer-brand .brand-mark {
  border-radius: 12px;
}

@media (min-width: 1501px) {
  .hero-product {
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 66px;
  }

  .hero-product {
    width: min(100%, 560px);
    min-height: 380px;
  }

  .app-list,
  .principle-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-header,
  main {
    width: min(calc(100% - 28px), var(--site-width));
  }

  .site-header {
    min-height: auto;
    padding: 12px 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.18rem;
  }

  .site-nav {
    gap: 10px 16px;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .site-nav .nav-contact {
    padding: 8px 13px;
  }

  .hero {
    padding: 52px 0 48px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.75rem;
    line-height: 1.2;
  }

  .hero p,
  .page-hero p,
  .section-heading p {
    max-width: 100%;
    word-break: normal;
  }

  .hero-product {
    min-height: 330px;
  }

  .hero-product::before {
    display: block;
    inset: 56px -8px 44px 18px;
  }

  .device-stage {
    display: block;
    min-height: 318px;
    transform: scale(0.82);
    transform-origin: left top;
  }

  .wood-shelf {
    display: block;
    width: min(440px, calc(100% - 10px));
  }

  .section,
  .page-hero,
  .legal-body {
    padding: 64px 0;
  }

  .section-heading h2 {
    max-width: none;
  }

  .product-row {
    min-height: auto;
    padding: 22px;
  }

  .product-row p {
    max-width: none;
    word-break: normal;
  }

  .product-meta {
    display: flex;
  }

  .support-band {
    gap: 20px;
    margin-bottom: 72px;
  }

  h2 {
    font-size: 2rem;
  }

  .support-band h2 {
    font-size: 1.75rem;
  }

  .footer-copy p {
    font-size: 1.16rem;
  }

  .footer-inner {
    min-height: 0;
  }
}

/* COMEVO-inspired KitoKito refresh */
:root {
  --bg: #eef3df;
  --paper: #f8faee;
  --panel: #dfe9c8;
  --panel-strong: #c9dc94;
  --text: #092016;
  --muted: #526559;
  --soft: #7a8a7f;
  --line: rgba(9, 32, 22, 0.12);
  --line-strong: rgba(9, 32, 22, 0.24);
  --primary: #0d5a38;
  --primary-dark: #082419;
  --accent: #d8f26a;
  --sage: #8aa66b;
  --moss: #587b38;
  --teal: #287965;
  --white: #fbfdf4;
  --shadow: 0 28px 90px rgba(8, 36, 25, 0.18);
  --soft-shadow: 0 18px 46px rgba(8, 36, 25, 0.09);
  --radius: 28px;
  --radius-lg: 40px;
  --site-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 82% 12%, rgba(216, 242, 106, 0.32), transparent 24rem),
    linear-gradient(180deg, #eef3df 0%, #f7f8ed 48%, #eef3df 100%);
  color: var(--text);
  font-weight: 400;
}

.site-header,
main {
  width: min(calc(100% - 48px), var(--site-width));
  max-width: none;
}

.site-header {
  min-height: 86px;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  border-bottom: 1px solid rgba(9, 32, 22, 0.08);
  background: rgba(238, 243, 223, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 12px;
  color: var(--primary-dark);
  font-size: 1.02rem;
  font-weight: 700;
}

.brand-mark,
.app-icon {
  border-radius: 14px;
  background: var(--primary-dark);
  color: var(--accent);
  box-shadow: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
}

.site-nav {
  gap: 24px;
}

.site-nav a,
.site-footer a {
  color: rgba(9, 32, 22, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav .nav-contact {
  margin-left: 0;
  padding: 10px 16px;
  border-color: rgba(9, 32, 22, 0.14);
  border-radius: 999px;
  background: rgba(251, 253, 244, 0.54);
}

.hero {
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  margin-top: 24px;
  padding: clamp(48px, 7vw, 86px);
  border-radius: 46px;
  background:
    radial-gradient(circle at 82% 12%, rgba(216, 242, 106, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(13, 90, 56, 0.98), rgba(8, 36, 25, 0.98));
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 50%;
  background: rgba(216, 242, 106, 0.14);
  filter: blur(2px);
  z-index: -1;
}

.eyebrow,
.section-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(216, 242, 106, 0.34);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy::before,
.hero-product::before,
.wood-shelf,
.device-stage {
  display: none;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  color: #fbfdf4;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: clamp(4rem, 6.6vw, 6.85rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero p,
.page-hero p {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(251, 253, 244, 0.74);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.95;
}

.actions {
  margin-top: 38px;
  gap: 14px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: none;
}

.button.primary:hover {
  background: #e5fb82;
  border-color: #e5fb82;
}

.button.secondary {
  border-color: rgba(251, 253, 244, 0.28);
  background: transparent;
  color: #fbfdf4;
}

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

.studio-board {
  align-self: center;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(216, 242, 106, 0.22);
  border-radius: 38px;
  background: rgba(251, 253, 244, 0.96);
  color: var(--primary-dark);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.24);
}

.board-header,
.board-feature,
.board-note,
.board-app {
  border: 1px solid rgba(9, 32, 22, 0.1);
  border-radius: 24px;
}

.board-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: rgba(9, 32, 22, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
}

.board-feature {
  min-height: 182px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 16%, rgba(216, 242, 106, 0.8), transparent 6rem),
    linear-gradient(135deg, #123f2b, #0b251a);
  color: #fbfdf4;
}

.board-feature span,
.board-note span {
  color: rgba(251, 253, 244, 0.62);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.board-feature strong {
  max-width: 330px;
  font-size: 1.65rem;
  line-height: 1.35;
}

.board-apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.board-app {
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #f4f7e8;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.board-app:hover {
  transform: translateX(4px);
  background: #edf4d6;
}

.board-app .app-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #fbfdf4;
}

.board-app.family .app-icon {
  background: #5f7938;
}

.board-app.gomi .app-icon {
  background: #1d7660;
}

.board-note {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #d8f26a;
}

.board-note span {
  color: rgba(8, 36, 25, 0.56);
}

.board-note strong {
  font-size: 0.98rem;
  line-height: 1.65;
}

.section,
.page-hero,
.legal-body {
  padding: clamp(78px, 9vw, 124px) 0;
}

.section-heading {
  align-items: end;
  margin-bottom: 42px;
}

.apps-section .section-heading {
  border-top: 0;
  padding-top: 0;
}

.apps-section .section-label,
.about .section-label,
.support-band .section-label {
  border-color: rgba(13, 90, 56, 0.18);
  color: var(--primary);
  background: rgba(216, 242, 106, 0.22);
}

h2 {
  color: var(--primary-dark);
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 700;
}

.section-heading p {
  max-width: 450px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
}

.app-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0;
}

.product-row {
  min-height: 410px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(9, 32, 22, 0.1);
  border-radius: 32px;
  background: #fbfdf4;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

.product-row::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(216, 242, 106, 0.44);
  z-index: 0;
}

.product-row > * {
  position: relative;
  z-index: 1;
}

.product-row:hover {
  transform: translateY(-4px);
  border-color: rgba(9, 32, 22, 0.18);
  box-shadow: 0 24px 54px rgba(8, 36, 25, 0.1);
}

.product-row .app-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fbfdf4;
}

.product-row h3 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 1.58rem;
  line-height: 1.2;
  font-weight: 700;
}

.product-row p {
  max-width: 25ch;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.85;
}

.product-row > div > span {
  color: rgba(9, 32, 22, 0.42);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: 0;
}

.product-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(9, 32, 22, 0.1);
  border-radius: 999px;
  background: #eef3df;
  color: rgba(9, 32, 22, 0.68);
  font-size: 0.78rem;
}

.product-meta span::before {
  display: none;
}

.store-button {
  width: fit-content;
  min-width: 134px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fbfdf4;
}

.store-button small {
  color: rgba(251, 253, 244, 0.58);
}

.detail-link {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.about {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: stretch;
}

.about-copy {
  align-self: center;
}

.about-copy p,
.support-band p {
  max-width: 500px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
}

.about-panel {
  min-height: 360px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 28px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 24% 20%, rgba(216, 242, 106, 0.9), transparent 7rem),
    linear-gradient(145deg, #0d5a38, #082419);
  color: #fbfdf4;
  box-shadow: var(--shadow);
}

.about-panel span {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(251, 253, 244, 0.22);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 700;
}

.about-panel strong {
  max-width: 360px;
  font-size: 2rem;
  line-height: 1.15;
}

.about-panel p {
  margin: 0;
  color: rgba(251, 253, 244, 0.64);
}

.principles-wrap {
  grid-column: 1 / -1;
}

.principle-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0;
}

.principle-list li {
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(9, 32, 22, 0.1);
  border-radius: 28px;
  background: rgba(251, 253, 244, 0.62);
}

.principle-list span {
  background: var(--accent);
  color: var(--primary-dark);
}

.principle-list strong {
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.principle-list p {
  color: var(--muted);
  font-size: 0.92rem;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin: 0 0 clamp(78px, 9vw, 120px);
  padding: clamp(30px, 6vw, 64px);
  border: 0;
  border-radius: 40px;
  background: #d8f26a;
  color: var(--primary-dark);
}

.support-band h2 {
  max-width: 680px;
  color: var(--primary-dark);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.08;
}

.support-band p {
  color: rgba(9, 32, 22, 0.68);
}

.support-band .button.primary {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fbfdf4;
}

.site-footer {
  min-height: 300px;
  padding: 64px 24px 38px;
  border-radius: 44px 44px 0 0;
  background:
    radial-gradient(circle at 84% 20%, rgba(216, 242, 106, 0.16), transparent 18rem),
    linear-gradient(135deg, #0d5a38, #082419);
}

.footer-inner {
  max-width: var(--site-width);
  min-height: 170px;
}

.footer-copy p {
  max-width: 520px;
  color: rgba(251, 253, 244, 0.72);
  font-size: 1.7rem;
  line-height: 1.35;
  font-weight: 500;
}

.footer-brand,
.site-footer a {
  color: rgba(251, 253, 244, 0.72);
}

.footer-brand .brand-mark {
  background: var(--accent);
  color: var(--primary-dark);
}

.footer-contact {
  border-radius: 999px;
  background: rgba(251, 253, 244, 0.1);
}

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .studio-board {
    max-width: 560px;
  }

  .app-list,
  .principle-list,
  .about,
  .support-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header,
  main {
    width: min(calc(100% - 28px), var(--site-width));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    gap: 10px 16px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 34px 20px;
    border-radius: 32px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.05rem;
    line-height: 1.1;
  }

  .hero p,
  .page-hero p {
    max-width: none;
  }

  .studio-board {
    padding: 16px;
    border-radius: 28px;
  }

  .board-feature {
    min-height: 156px;
  }

  .board-feature strong {
    font-size: 1.28rem;
  }

  .section,
  .page-hero,
  .legal-body {
    padding: 64px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  h2,
  .support-band h2 {
    font-size: 2.1rem;
  }

  .product-row {
    min-height: 330px;
  }

  .product-row p {
    max-width: none;
  }

  .about-panel {
    min-height: 280px;
  }

  .support-band {
    align-items: start;
    gap: 24px;
    border-radius: 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-items: start;
  }

  .site-footer nav {
    justify-content: start;
  }

  .footer-copy p {
    font-size: 1.24rem;
  }
}

/* Portfolio restraint pass */
:root {
  --bg: #f5f6ed;
  --paper: #fbfcf4;
  --panel: #e9eddc;
  --panel-strong: #d5dfbf;
  --text: #111c16;
  --muted: #69746c;
  --soft: #8b948d;
  --line: rgba(17, 28, 22, 0.13);
  --line-strong: rgba(17, 28, 22, 0.28);
  --primary: #23593d;
  --primary-dark: #0f2419;
  --accent: #b8d36d;
  --white: #fbfcf4;
  --shadow: 0 22px 70px rgba(15, 36, 25, 0.12);
  --soft-shadow: 0 12px 32px rgba(15, 36, 25, 0.07);
  --radius: 18px;
  --radius-lg: 28px;
  --site-width: 1160px;
}

body {
  background:
    linear-gradient(90deg, rgba(17, 28, 22, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #f5f6ed 0%, #fbfcf4 54%, #f0f3e5 100%);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

.site-header,
main {
  width: min(calc(100% - 56px), var(--site-width));
  max-width: none;
}

.site-header {
  min-height: 82px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 246, 237, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  gap: 10px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 1.1rem;
}

.app-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

.site-nav {
  gap: 20px;
}

.site-nav a,
.site-footer a {
  color: rgba(17, 28, 22, 0.66);
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav .nav-contact {
  padding: 9px 14px;
  border-radius: 999px;
  border-color: var(--line);
  background: transparent;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 310px;
  grid-template-areas:
    "meta copy index"
    "meta actions index";
  align-items: end;
  gap: clamp(30px, 5vw, 64px);
  margin-top: 64px;
  padding: 0 0 78px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  overflow: visible;
  isolation: auto;
}

.hero::before,
.hero::after,
.hero-copy::before,
.hero-product::before,
.studio-board,
.board-header,
.board-feature,
.board-apps,
.board-note,
.device-stage,
.wood-shelf {
  display: none;
}

.hero-meta {
  grid-area: meta;
  align-self: start;
  display: grid;
  gap: 10px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.hero-copy {
  grid-area: copy;
}

.eyebrow,
.section-label {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(4.5rem, 8vw, 7.4rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 600;
}

.hero p,
.page-hero p {
  max-width: 540px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2;
  font-weight: 400;
}

.hero-index {
  grid-area: index;
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 0;
  border-top: 1px solid var(--line);
}

.hero-index-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-index-list {
  display: grid;
}

.hero-index-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.hero-index-item .app-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--white);
}

.hero-index-item span {
  display: grid;
  gap: 2px;
}

.hero-index-item strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.hero-index-item small {
  color: var(--muted);
  font-size: 0.76rem;
}

.actions {
  grid-area: actions;
  margin-top: 36px;
  gap: 12px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: none;
}

.button.primary {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.button.primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.button.secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.section,
.page-hero,
.legal-body {
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: start;
  gap: clamp(28px, 6vw, 80px);
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  color: var(--text);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  line-height: 1.02;
  font-weight: 600;
}

.section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.app-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.product-row {
  min-height: auto;
  display: grid;
  grid-template-columns: 70px 54px minmax(0, 1fr) 180px 134px 42px;
  align-items: center;
  gap: 22px;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.product-row::before {
  display: none;
}

.product-row:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line-strong);
}

.project-number {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-row .app-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.product-row h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.25;
}

.product-row p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.product-row > div > span {
  display: inline-block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  border: 0;
}

.product-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
}

.store-button {
  width: fit-content;
  min-width: 126px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--white);
}

.store-button small {
  color: rgba(251, 252, 244, 0.62);
}

.detail-link {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.about-copy p,
.support-band p {
  max-width: 500px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.95;
}

.principles-wrap {
  grid-column: auto;
}

.principle-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.principle-list li {
  display: grid;
  grid-template-columns: 46px minmax(130px, 0.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.principle-list span {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  font-size: 0.78rem;
}

.principle-list strong {
  color: var(--text);
  font-size: 0.96rem;
}

.principle-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin: 0 0 96px;
  padding: 44px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.support-band h2 {
  max-width: 760px;
  color: var(--text);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
  line-height: 1.08;
  font-weight: 600;
}

.support-band p {
  color: var(--muted);
}

.support-band .button.primary {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.site-footer {
  min-height: 260px;
  padding: 56px 28px 34px;
  border-radius: 0;
  background: var(--primary-dark);
}

.footer-inner {
  max-width: var(--site-width);
  min-height: 150px;
}

.footer-copy p {
  max-width: 500px;
  color: rgba(251, 252, 244, 0.74);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.45rem;
  line-height: 1.55;
  font-weight: 500;
}

.footer-brand,
.site-footer a {
  color: rgba(251, 252, 244, 0.72);
}

.footer-brand .brand-mark {
  background: var(--white);
  color: var(--primary-dark);
}

.footer-contact {
  border-radius: 999px;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "copy"
      "index"
      "actions";
    gap: 34px;
  }

  .hero-index {
    max-width: 520px;
  }

  .section-heading,
  .about,
  .support-band {
    grid-template-columns: 1fr;
  }

  .product-row {
    grid-template-columns: 42px 54px minmax(0, 1fr);
  }

  .product-meta,
  .store-button,
  .detail-link {
    grid-column: 3;
  }
}

@media (max-width: 820px) {
  .site-header,
  main {
    width: min(calc(100% - 28px), var(--site-width));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    gap: 10px 14px;
    flex-wrap: wrap;
  }

  .hero {
    margin-top: 38px;
    padding-bottom: 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.35rem;
    line-height: 1.14;
  }

  .hero p,
  .page-hero p {
    max-width: none;
  }

  .section,
  .page-hero,
  .legal-body {
    padding: 64px 0;
  }

  h2,
  .support-band h2 {
    font-size: 2.55rem;
  }

  .product-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
  }

  .product-row .app-icon {
    grid-column: 1;
    grid-row: 2;
  }

  .product-row > div {
    grid-column: 2;
  }

  .product-meta,
  .store-button,
  .detail-link {
    grid-column: 2;
  }

  .principle-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .principle-list p {
    grid-column: 2;
  }

  .support-band {
    margin-bottom: 64px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-items: start;
  }

  .site-footer nav {
    justify-content: start;
  }

  .footer-copy p {
    font-size: 1.18rem;
  }
}

/* Quiet contemporary refinement */
:root {
  --bg: #f7f8f2;
  --paper: #fefff9;
  --panel: #edf1e4;
  --panel-strong: #dfe8d2;
  --text: #132018;
  --muted: #657168;
  --soft: #929b94;
  --line: rgba(19, 32, 24, 0.1);
  --line-strong: rgba(19, 32, 24, 0.2);
  --primary: #2d6b4f;
  --primary-dark: #10251a;
  --accent: #dce8b8;
  --white: #fefff9;
  --shadow: 0 24px 70px rgba(16, 37, 26, 0.08);
  --soft-shadow: 0 14px 36px rgba(16, 37, 26, 0.055);
  --radius: 18px;
  --radius-lg: 28px;
  --site-width: 1120px;
}

body {
  background:
    radial-gradient(circle at 85% 8%, rgba(220, 232, 184, 0.62), transparent 24rem),
    linear-gradient(180deg, #f7f8f2 0%, #fbfcf6 58%, #f1f4eb 100%);
  color: var(--text);
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-feature-settings: "palt";
}

.site-header,
main {
  width: min(calc(100% - 48px), var(--site-width));
}

.site-header {
  min-height: 76px;
  padding: 14px 0;
  border-bottom: 0;
  background: rgba(247, 248, 242, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 1.08rem;
}

.site-nav {
  gap: 18px;
}

.site-nav a,
.site-footer a {
  color: rgba(19, 32, 24, 0.62);
  font-size: 0.85rem;
  font-weight: 600;
}

.site-nav .nav-contact {
  padding: 9px 14px;
  border: 1px solid rgba(19, 32, 24, 0.12);
  border-radius: 999px;
  background: rgba(254, 255, 249, 0.54);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas:
    "copy meta"
    "copy index"
    "actions index";
  gap: 34px clamp(44px, 7vw, 96px);
  margin-top: clamp(44px, 7vw, 86px);
  padding: 0 0 clamp(68px, 9vw, 104px);
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  min-height: auto;
}

.hero::before,
.hero::after,
.hero-copy::before {
  display: none;
}

.hero-meta {
  grid-area: meta;
  align-self: start;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.hero-copy {
  grid-area: copy;
}

.eyebrow,
.section-label {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  color: var(--text);
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: clamp(4rem, 7.5vw, 7rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 520px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.95;
}

.hero-index {
  grid-area: index;
  align-self: end;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(254, 255, 249, 0.76);
  box-shadow: var(--soft-shadow);
}

.hero-index-head {
  display: flex;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-index-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.hero-index-item:last-child {
  border-bottom: 0;
}

.hero-index-item:hover {
  background: rgba(237, 241, 228, 0.62);
}

.hero-index-item .app-icon,
.app-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--white);
  background: var(--primary);
}

.hero-index-item span {
  display: grid;
  gap: 2px;
}

.hero-index-item strong {
  color: var(--text);
  font-size: 0.94rem;
}

.hero-index-item small {
  color: var(--muted);
  font-size: 0.72rem;
}

.actions {
  grid-area: actions;
  margin-top: 0;
  gap: 10px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.button.primary {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.button.secondary {
  background: rgba(254, 255, 249, 0.56);
  border-color: var(--line-strong);
  color: var(--text);
}

.section,
.page-hero,
.legal-body {
  padding: clamp(72px, 9vw, 108px) 0;
}

#apps,
#about {
  scroll-margin-top: 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  color: var(--text);
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.05;
  font-weight: 700;
}

.section-heading p,
.about-copy p,
.support-band p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
  font-weight: 400;
}

.app-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border-top: 0;
}

.product-row {
  min-height: auto;
  display: grid;
  grid-template-columns: 44px 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(254, 255, 249, 0.74);
  box-shadow: none;
}

.product-row:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(254, 255, 249, 0.92);
}

.project-number {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-row .app-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.product-row h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.3;
}

.product-row p {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.product-row > div > span {
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-meta {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
}

.store-button {
  grid-column: 3;
  width: fit-content;
  min-width: 126px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--white);
}

.detail-link {
  grid-column: 4;
  justify-self: end;
  color: var(--primary);
  font-size: 0.88rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 7vw, 84px);
  border-top: 1px solid var(--line);
}

.principle-list {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
}

.principle-list li {
  display: grid;
  grid-template-columns: 38px minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(254, 255, 249, 0.56);
}

.principle-list span {
  color: var(--primary);
  font-size: 0.76rem;
}

.principle-list strong {
  color: var(--text);
  font-size: 0.94rem;
}

.principle-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin: 0 0 86px;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(237, 241, 228, 0.72);
}

.support-band h2 {
  max-width: 660px;
  color: var(--text);
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3.5rem);
  line-height: 1.12;
  font-weight: 700;
}

.site-footer {
  min-height: 240px;
  padding: 52px 24px 34px;
  border-radius: 0;
  background: var(--primary-dark);
}

.footer-copy p {
  max-width: 500px;
  color: rgba(254, 255, 249, 0.7);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 1.22rem;
  line-height: 1.55;
  font-weight: 500;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "copy"
      "index"
      "actions";
  }

  .hero-meta,
  .hero-index {
    max-width: 560px;
  }

  .section-heading,
  .about,
  .support-band {
    grid-template-columns: 1fr;
  }

  .product-row {
    grid-template-columns: 40px 52px minmax(0, 1fr);
  }

  .product-meta,
  .store-button,
  .detail-link {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .site-header,
  main {
    width: min(calc(100% - 28px), var(--site-width));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    gap: 8px 12px;
    flex-wrap: wrap;
  }

  .hero {
    margin-top: 34px;
    padding-bottom: 56px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.85rem;
    line-height: 1.14;
  }

  h2,
  .support-band h2 {
    font-size: 2.2rem;
  }

  .product-row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 18px;
  }

  .product-row .app-icon {
    grid-column: 1;
    grid-row: 2;
  }

  .product-row > div,
  .product-meta,
  .store-button,
  .detail-link {
    grid-column: 2;
  }

  .principle-list li {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .principle-list p {
    grid-column: 2;
  }

  .footer-copy p {
    font-size: 1.06rem;
  }
}

/* Layout precision pass */
:root {
  --site-width: 1104px;
  --gutter: 24px;
}

.site-header,
main {
  width: min(calc(100% - (var(--gutter) * 2)), var(--site-width));
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.site-nav {
  justify-self: end;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 336px);
  grid-template-areas:
    "copy meta"
    "copy index"
    "actions index";
  column-gap: clamp(48px, 8vw, 112px);
  row-gap: 30px;
  margin-top: 76px;
  padding-bottom: 92px;
}

.hero h1,
.page-hero h1 {
  max-width: 740px;
  font-size: clamp(4.25rem, 6.8vw, 6.55rem);
  line-height: 1.09;
}

.hero p {
  max-width: 560px;
}

.hero-index {
  width: 100%;
}

.actions {
  align-self: start;
}

.section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 392px);
  margin-bottom: 30px;
}

.product-row {
  grid-template-columns: 42px 52px minmax(260px, 1fr) minmax(144px, auto) 132px 42px;
  column-gap: 18px;
  row-gap: 12px;
}

.product-meta,
.store-button,
.detail-link {
  grid-column: auto;
}

.product-row p {
  max-width: 50ch;
}

.about {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.support-band {
  grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 1180px) {
  :root {
    --gutter: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    column-gap: 48px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3.7rem, 6.4vw, 5.4rem);
  }

  .product-row {
    grid-template-columns: 38px 50px minmax(240px, 1fr) minmax(132px, auto);
  }

  .store-button,
  .detail-link {
    grid-column: 3;
    justify-self: start;
  }

  .detail-link {
    margin-left: 148px;
    align-self: center;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 16px;
  }

  .site-nav {
    justify-self: start;
    max-width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "copy"
      "index"
      "actions";
    margin-top: 52px;
    padding-bottom: 72px;
  }

  .hero-meta {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 720px;
    font-size: clamp(3.05rem, 7.4vw, 3.95rem);
    line-height: 1.12;
  }

  .hero-index {
    max-width: 620px;
  }

  .section-heading,
  .about,
  .support-band {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

  .section-heading p {
    max-width: 620px;
  }

  .product-row {
    grid-template-columns: 38px 50px minmax(0, 1fr);
  }

  .product-meta,
  .store-button,
  .detail-link {
    grid-column: 3;
    justify-self: start;
  }

  .detail-link {
    margin-left: 0;
  }

  .support-band {
    align-items: start;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 14px;
  }

  body {
    background:
      radial-gradient(circle at 86% 4%, rgba(220, 232, 184, 0.5), transparent 15rem),
      linear-gradient(180deg, #f7f8f2 0%, #fbfcf6 58%, #f1f4eb 100%);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .site-nav {
    gap: 8px 10px;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .site-nav .nav-contact {
    padding: 8px 12px;
  }

  .hero {
    margin-top: 38px;
    row-gap: 26px;
    padding-bottom: 58px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: 0.74rem;
  }

  .eyebrow,
  .section-label {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.05rem);
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .hero p,
  .page-hero p {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .hero-index {
    border-radius: 22px;
  }

  .hero-index-head,
  .hero-index-item {
    padding-inline: 14px;
  }

  .actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section,
  .page-hero,
  .legal-body {
    padding: 58px 0;
  }

  h2,
  .support-band h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.12;
  }

  .product-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 16px;
    border-radius: 22px;
  }

  .project-number {
    grid-column: 1;
  }

  .product-row .app-icon {
    grid-column: 1;
    grid-row: 2;
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .product-row > div,
  .product-meta,
  .store-button,
  .detail-link {
    grid-column: 2;
  }

  .product-row h3 {
    font-size: 1.05rem;
  }

  .product-row p {
    font-size: 0.86rem;
  }

  .product-meta {
    justify-self: start;
  }

  .store-button {
    min-width: 0;
  }

  .principle-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 16px;
  }

  .principle-list p {
    grid-column: 2;
  }

  .support-band {
    margin-bottom: 64px;
    padding: 22px;
    border-radius: 24px;
  }
}

/* Page transitions */
@keyframes kitokito-page-out {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(2px);
  }
}

@keyframes kitokito-page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes kitokito-root-out {
  from { opacity: 1; }
  to { opacity: 0.98; }
}

@keyframes kitokito-root-in {
  from { opacity: 0.98; }
  to { opacity: 1; }
}

::view-transition-old(root) {
  animation: kitokito-root-out 180ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-new(root) {
  animation: kitokito-root-in 220ms cubic-bezier(0.2, 0, 0, 1) both;
}

::view-transition-old(page-content) {
  animation: kitokito-page-out 180ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-new(page-content) {
  animation: kitokito-page-in 260ms cubic-bezier(0.2, 0, 0, 1) both;
}

html[data-astro-transition-fallback="old"] main {
  animation: kitokito-page-out 160ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

html[data-astro-transition-fallback="new"] main {
  animation: kitokito-page-in 240ms cubic-bezier(0.2, 0, 0, 1) both;
}

::view-transition-group(site-header),
::view-transition-group(site-footer) {
  animation-duration: 1ms;
}

@supports not (view-transition-name: root) {
  main {
    animation: kitokito-page-in 240ms cubic-bezier(0.2, 0, 0, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*),
  html[data-astro-transition-fallback="old"] main,
  html[data-astro-transition-fallback="new"] main {
    animation: none !important;
  }
}

/* App listing action cleanup */
.product-row {
  grid-template-columns: 42px 56px minmax(0, 1fr) minmax(150px, auto);
  align-items: start;
  column-gap: 20px;
  row-gap: 14px;
}

.product-row > div {
  min-width: 0;
}

.product-row p {
  max-width: 54ch;
  word-break: normal;
  overflow-wrap: anywhere;
}

.product-meta {
  grid-column: 3;
  justify-self: start;
}

.product-actions {
  grid-column: 4;
  grid-row: 1 / span 3;
  justify-self: end;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 12px;
}

.app-store-badge {
  display: inline-flex;
  width: 150px;
  height: 50px;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge img {
  display: block;
  width: 150px;
  height: 50px;
  border-radius: 8px;
}

.detail-link {
  grid-column: auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(254, 255, 249, 0.7);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.detail-link:hover {
  border-color: var(--line-strong);
  background: rgba(254, 255, 249, 0.96);
}

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 38px 52px minmax(0, 1fr);
  }

  .project-number {
    grid-column: 1;
    grid-row: 1;
  }

  .product-row .app-icon {
    grid-column: 2;
    grid-row: 1;
  }

  .product-row > div {
    grid-column: 3;
    grid-row: auto;
  }

  .product-meta,
  .product-actions {
    grid-column: 3;
    grid-row: auto;
    justify-self: start;
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .product-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .project-number {
    grid-column: 1;
  }

  .product-row .app-icon {
    grid-column: 1;
    grid-row: 2;
  }

  .product-row > div,
  .product-meta,
  .product-actions {
    grid-column: 2;
  }

  .app-store-badge,
  .app-store-badge img {
    width: 135px;
    height: 45px;
  }
}

/* Copy and footer readability refinements */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 336px);
  grid-template-areas:
    "copy index"
    "actions index";
}

.hero-meta {
  display: none;
}

.product-row .product-meta span {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
}

.site-footer .footer-contact {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.site-footer .footer-contact:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "index"
      "actions";
  }
}

/* Brand logo assets */
.brand-logo {
  display: block;
  width: clamp(164px, 18vw, 224px);
  height: auto;
  object-fit: contain;
}

.site-header .brand {
  min-width: 0;
}

.site-header .brand-logo {
  max-height: 64px;
}

.site-footer .footer-brand {
  align-self: start;
}

.site-footer .brand-logo {
  width: clamp(190px, 24vw, 260px);
  max-height: 74px;
}

@media (max-width: 620px) {
  .site-header .brand-logo {
    width: 168px;
  }

  .site-footer .brand-logo {
    width: 210px;
  }
}

/* Real app icons */
.app-icon-image {
  padding: 0;
  object-fit: cover;
  color: transparent;
  background: transparent;
  box-shadow:
    0 10px 22px rgba(17, 28, 22, 0.12),
    inset 0 0 0 1px rgba(17, 28, 22, 0.08);
}

.app-icon.nyau,
.phone-card.nyau .app-icon {
  background: #4f9277;
}

/* App listing polish */
.product-main {
  min-width: 0;
}

.product-main h3 {
  margin: 0 0 8px;
}

.detail-link {
  min-height: auto;
  padding: 0;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.detail-link span[aria-hidden="true"] {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--primary);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.detail-link:hover {
  border-color: transparent;
  background: transparent;
  color: var(--primary);
}

.detail-link:hover span[aria-hidden="true"] {
  border-color: rgba(47, 125, 87, 0.34);
  background: rgba(47, 125, 87, 0.1);
  transform: translateX(3px);
}

.section-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.all-apps-link {
  font-size: 0.96rem;
}

.app-card-head,
.app-title-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.app-card-head h2,
.app-title-row h1 {
  margin: 0;
}

.app-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.info-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.info-card h2 {
  margin-top: 0;
}

.info-card > p {
  margin: 0;
}

.compact-meta {
  grid-column: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-hero .compact-meta {
  margin-top: 22px;
}

.page-hero .actions {
  margin-top: 28px;
}

.contact-form-section {
  width: min(100%, 760px);
  margin: clamp(-34px, -2vw, -18px) auto clamp(52px, 7vw, 96px);
}

.contact-form-frame {
  display: block;
  width: 100%;
  min-height: 1533px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.app-title-row {
  margin-bottom: 22px;
  align-items: start;
  gap: 16px;
  --detail-icon-size: clamp(86px, 9.35vw, 116px);
}

.app-title-row .app-icon {
  width: var(--detail-icon-size);
  height: var(--detail-icon-size);
  border-radius: 26px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-top: 0;
}

.app-title-row > div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: var(--detail-icon-size);
}

.app-title-row .section-label {
  margin: 0;
  line-height: 1.2;
}

.app-title-row h1 {
  line-height: 1.08;
}

@media (max-width: 900px) {
  .section-more {
    justify-content: flex-start;
  }
}

/* Shared app list component */
.product-row {
  grid-template-columns: 42px minmax(0, 1fr) minmax(128px, auto) minmax(150px, auto) !important;
}

.product-row > .product-main {
  grid-column: 2 !important;
  grid-row: auto !important;
}

.product-row .product-title {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.product-row .product-title .app-icon {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 54px;
  height: 54px;
  border-radius: 15px;
}

.product-row .product-title h3 {
  margin: 0;
}

.product-row .product-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.product-main > p {
  margin-top: 0;
}

.product-meta {
  grid-column: 3 !important;
}

.app-list-count {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.section-more {
  align-items: center;
  gap: 18px;
}

@media (max-width: 900px) {
.product-row {
    grid-template-columns: 38px minmax(0, 1fr) !important;
  }

  .product-row > .product-main,
  .product-meta,
  .product-actions {
    grid-column: 2 !important;
  }
}

@media (max-width: 620px) {
.product-row {
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }

  .product-row > .product-main,
  .product-meta,
  .product-actions {
    grid-column: 2 !important;
  }

  .product-row .product-title {
    gap: 12px;
  }

.product-row .product-title .app-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

/* Wide-screen copy rhythm */
.hero-copy .eyebrow {
  letter-spacing: 0.1em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(4rem, 5vw, 5.85rem);
  line-height: 1.16;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero p {
  max-width: 690px;
}

.about-copy h2 {
  max-width: 560px;
  font-size: clamp(3rem, 4.5vw, 4.55rem);
  line-height: 1.16;
  word-break: keep-all;
  overflow-wrap: normal;
}

.about-copy p {
  max-width: 640px;
}

.support-band h2 {
  max-width: 880px;
  font-size: clamp(2.55rem, 4.4vw, 4.6rem);
  line-height: 1.12;
  word-break: keep-all;
  overflow-wrap: normal;
}

.support-band p {
  max-width: 720px;
}

@media (min-width: 1500px) {
  .hero h1 {
    max-width: 840px;
  }

  .about-copy h2 {
    max-width: 590px;
  }
}

@media (max-width: 900px) {
  .hero h1,
  .about-copy h2,
  .support-band h2 {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

/* Keep About text and principle cards from colliding on wide screens */
.about {
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 0.88fr) !important;
  column-gap: clamp(96px, 9vw, 180px) !important;
}

.principles-wrap {
  justify-self: end;
  width: min(100%, 760px);
}

.about-copy h2 {
  max-width: 540px;
}

@media (max-width: 1180px) {
  .about {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
  }

  .principles-wrap {
    justify-self: stretch;
    width: 100%;
  }
}

/* Locale switch */
.language-switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: rgb(255 255 255 / 48%);
  font-size: 0.9rem;
  font-weight: 600;
}

.language-switch .lang-link {
  color: rgb(255 255 255 / 62%);
  text-decoration: none;
}

.language-switch .lang-link:hover,
.language-switch .lang-link.active {
  color: #fff;
}

.legal-note {
  border-left: 3px solid var(--primary);
  color: var(--muted);
  padding-left: 16px;
}

.legal-language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.legal-language-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 12px;
  text-decoration: none;
}

.legal-language-nav a:hover,
.legal-language-nav a.active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.legal-body blockquote {
  border-left: 3px solid var(--line);
  color: var(--muted);
  margin: 24px 0;
  padding-left: 18px;
}

.legal-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

html[lang="en"] .hero h1,
html[lang="en"] .about-copy h2,
html[lang="en"] .support-band h2 {
  font-family: Inter, "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}

html[lang="en"] .hero h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 4.7vw, 5.35rem);
  line-height: 1.04;
}

html[lang="en"] .about-copy h2 {
  max-width: 600px;
  font-size: clamp(3rem, 4.1vw, 4.5rem);
}

html[lang="en"] .support-band h2 {
  max-width: 780px;
  font-size: clamp(2.55rem, 4vw, 4.2rem);
}

html[lang="en"] .product-main > p {
  max-width: 56ch;
}

@media (max-width: 760px) {
  .language-switch {
    justify-content: flex-start;
  }

  html[lang="en"] .hero h1,
  html[lang="en"] .about-copy h2,
  html[lang="en"] .support-band h2 {
    font-size: clamp(2.5rem, 14vw, 3.8rem);
    line-height: 1.05;
  }
}

/* Keep app status badges aligned with the app copy on medium widths. */
@media (min-width: 901px) and (max-width: 1320px) {
  .product-row {
    grid-template-columns: 42px minmax(0, 1fr) minmax(170px, auto) !important;
  }

  .product-row > .product-main {
    grid-column: 2 !important;
  }

  .product-meta {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  .product-actions {
    grid-column: 3 !important;
    grid-row: 1 / span 3;
    justify-self: end !important;
    justify-items: end !important;
  }
}

/* Calmer, denser app list rhythm. */
.hero-index-item {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
}

.hero-index-item small {
  max-width: 34ch;
  font-size: 0.72rem;
  line-height: 1.45;
}

.product-row {
  grid-template-columns: 34px minmax(0, 1fr) minmax(148px, auto) !important;
  align-items: start !important;
  gap: 16px !important;
  padding: 18px 20px !important;
  border-radius: 20px !important;
}

.product-row > .product-main {
  grid-column: 2 !important;
}

.product-row .product-title {
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.product-row .product-title .app-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
}

.product-row .product-title h3 {
  font-size: 1.08rem;
}

.product-row .product-title p {
  margin-top: 3px;
  font-size: 0.8rem;
}

.inline-status {
  color: var(--primary);
  font-weight: 700;
}

.product-main > p {
  max-width: 58ch;
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-row > div > span {
  margin-top: 6px;
}

.product-actions {
  grid-column: 3 !important;
  grid-row: 1 / span 2;
  gap: 8px !important;
}

.app-store-badge,
.app-store-badge img {
  width: 132px;
  height: 44px;
}

.detail-link {
  min-height: 34px;
  padding-inline: 12px;
}

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 32px minmax(0, 1fr) !important;
  }

  .product-row > .product-main,
  .product-actions {
    grid-column: 2 !important;
  }

  .product-actions {
    grid-row: auto;
    justify-self: start !important;
    justify-items: start !important;
  }
}

/* Keep lower-level pages from feeling pinned to the footer. */
.site-footer {
  margin-top: clamp(72px, 8vw, 128px);
}

@media (max-width: 760px) {
  .site-footer {
    margin-top: 64px;
  }
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
}
