:root {
  --navy: #061a35;
  --navy2: #0d2b52;
  --ink: #102038;
  --muted: #657389;
  --gold: #c9a45c;
  --gold2: #e9cf8d;
  --cream: #fbf7ee;
  --lav: #f2effb;
  --white: #fff;
  --line: rgba(16, 32, 56, .12);
  --shadow: 0 22px 60px rgba(7, 23, 49, .15);
  --shadow-soft: 0 14px 36px rgba(7, 23, 49, .10);
  --radius: 28px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(180deg, #f8f4ec 0%, #fff 30%, #f6f1eb 100%);
  letter-spacing: .04em;
  line-height: 1.85
}

a {
  color: inherit;
  text-decoration: none
}

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

.section-inner {
  width: min(1280px, calc(100% - 72px));
  margin-inline: auto
}

.center {
  text-align: center
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #03162e 0%, #071f3e 52%, #0d2e55 100%);
  color: #fff;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .18)
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: rgba(255, 255, 255, .82)
}

.utility-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.utility-inner p {
  margin: 0
}

.utility-links {
  display: flex;
  gap: 24px;
  white-space: nowrap
}

.utility-links a::before {
  content: "↓";
  color: var(--gold);
  margin-right: .45em
}

.utility-links a+a::before {
  content: "✉"
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px
}

.brand {
  flex: 0 0 auto
}

.brand img {
  width: 245px
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-left: auto
}

.global-nav a {
  padding: 10px 18px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  font-size: 15px;
  white-space: nowrap;
  color: rgba(255, 255, 255, .9)
}

.global-nav a:hover {
  color: var(--gold2)
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 162px;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ead08e 0%, #b88a3f 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 26px rgba(0, 0, 0, .2)
}

.header-cta::after {
  content: "›";
  font-size: 28px;
  margin-left: 16px;
  line-height: 1
}

.mobile-menu,
.mobile-scroll-nav {
  display: none
}

.mobile-menu {
  font-weight: 800;
  font-size: 13px;
  cursor: pointer
}

@media (max-width: 1120px) {
  .site-header.nav-open .global-nav {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 18px 18px;
    background: linear-gradient(180deg, #03162e, #071f3e);
    border-top: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .42);
    gap: 0;
    z-index: 55
  }
  .site-header.nav-open .global-nav a {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 14px 4px;
    font-size: 15px;
    text-align: left
  }
  .site-header.nav-open .global-nav a:last-child {
    border-bottom: 0
  }
  .mobile-menu[aria-expanded="true"] {
    background: rgba(233, 207, 141, .22) !important;
    border-color: rgba(233, 207, 141, .55) !important;
    color: var(--gold2)
  }
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 98px;
  background: radial-gradient(circle at 86% 18%, rgba(233, 207, 141, .25) 0 12%, transparent 28%), linear-gradient(110deg, #fff 0%, #f6f1e8 38%, #e9edf3 67%, #0b2342 100%)
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .64) 46%, rgba(255, 255, 255, .08) 76%, rgba(6, 26, 53, .18));
  pointer-events: none
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 58px
}

.hero-copy {
  padding: 42px 0
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold)
}

.hero-copy h1,
.section-heading h2,
.plan-card h3,
.enterprise-card h3,
.final-inner h2,
.strategy-grid h2,
.faq-inner h2 {
  font-family: var(--serif);
  line-height: 1.22;
  letter-spacing: .07em;
  margin: 0;
  color: #09203d
}

.hero-copy h1 {
  font-size: clamp(48px, 4.6vw, 74px)
}

.hero-copy h1 span {
  color: #173e36;
  text-shadow: 0 10px 32px rgba(201, 164, 92, .2)
}

.lead {
  font-size: 20px;
  line-height: 2;
  margin: 24px 0 0;
  color: #26354b
}

.price-note {
  margin-top: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(201, 164, 92, .34);
  box-shadow: 0 12px 30px rgba(7, 23, 49, .08)
}

.price-note strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #061a35;
  color: #fff;
  font-size: 13px
}

.price-note span {
  font-size: 14px;
  color: #49596d;
  line-height: 1.7
}

.hero-actions,
.final-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: var(--shadow-soft)
}

.btn-primary {
  background: linear-gradient(135deg, #ead08e, #b99047);
  color: #fff
}

.btn-secondary {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(201, 164, 92, .45);
  color: #0b2342
}

.hero-visual {
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 34px 86px rgba(7, 23, 49, .28);
  transform: translateY(4px);
  background: #fff
}

.hero-visual img {
  width: 100%;
  height: clamp(430px, 37vw, 570px);
  object-fit: cover
}

.strategy-section {
  padding: 72px 0;
  background: linear-gradient(180deg, #fff, #fbf7ee)
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.strategy-grid article {
  padding: 30px 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(201, 164, 92, .25);
  box-shadow: var(--shadow-soft)
}

.strategy-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #061a35;
  color: var(--gold2);
  font-family: var(--serif);
  font-weight: 900
}

.strategy-grid h2 {
  font-size: 28px;
  margin-top: 16px
}

.strategy-grid p {
  margin: 14px 0 0;
  color: var(--muted)
}

.plans-section {
  padding: 116px 0;
  background: radial-gradient(circle at 12% 4%, rgba(201, 164, 92, .16), transparent 23%), linear-gradient(180deg, #fff, #f8f3ea)
}

.section-heading {
  max-width: 1000px;
  margin: 0 auto 52px
}

.section-heading h2 {
  font-size: clamp(34px, 3vw, 50px)
}

.section-heading p {
  font-size: 18px;
  color: var(--muted);
  margin: 20px 0 0
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 26px
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(201, 164, 92, .28);
  box-shadow: var(--shadow-soft)
}

.plan-card.featured {
  background: linear-gradient(180deg, #fff, #fffaf0);
  border: 2px solid rgba(201, 164, 92, .68);
  transform: translateY(-14px);
  box-shadow: 0 32px 80px rgba(7, 23, 49, .17)
}

.recommend {
  position: absolute;
  right: 24px;
  top: -18px;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ead08e, #b99047);
  color: #fff;
  font-weight: 900;
  font-size: 13px
}

.plan-label {
  margin: 0;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase
}

.plan-card h3 {
  font-size: 34px;
  margin-top: 4px
}

.plan-desc {
  color: var(--muted);
  min-height: 72px;
  margin: 14px 0 0
}

.price-box {
  margin: 26px 0 22px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #061a35, #0d2b52);
  color: #fff
}

.price-box p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-weight: 700
}

.price-box strong {
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  letter-spacing: .01em;
  line-height: 1.1;
  margin-top: 4px;
  color: var(--gold2)
}

.price-box span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1
}

.plan-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 700
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201, 164, 92, .16);
  color: #a87c2f;
  font-size: 13px
}

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-height: 52px;
  border-radius: 999px;
  background: #061a35;
  color: #fff;
  font-weight: 900
}

.featured .plan-cta {
  background: linear-gradient(135deg, #ead08e, #b99047)
}

.enterprise-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 44px;
  padding: 34px 38px;
  border-radius: 30px;
  background: linear-gradient(135deg, #061a35, #123963);
  color: #fff;
  box-shadow: var(--shadow)
}

.enterprise-card h3 {
  color: #fff;
  font-size: 30px
}

.enterprise-card p:not(.section-kicker) {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .78)
}

.enterprise-card .btn {
  flex: 0 0 auto
}

.comparison-section {
  padding: 110px 0;
  background: linear-gradient(135deg, #061a35 0%, #0d2b52 60%, #061a35 100%);
  color: #fff
}

.section-heading.light h2 {
  color: #fff
}

.section-heading.light p {
  color: rgba(255, 255, 255, .76)
}

.comparison-table {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .25)
}

.table-row {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .12)
}

.table-row:first-child {
  border-top: 0
}

.table-row div {
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, .12)
}

.table-row div:first-child {
  border-left: 0;
  font-weight: 900;
  color: #fff
}

.table-head {
  background: rgba(201, 164, 92, .22);
  font-weight: 900;
  color: var(--gold2)
}

.table-head div:not(:first-child) {
  text-align: center
}

.table-row:not(.table-head) div:not(:first-child) {
  text-align: center;
  color: rgba(255, 255, 255, .86)
}

.modules-section {
  padding: 114px 0;
  background: linear-gradient(180deg, #fff, #f7f4ed)
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px
}

.module-grid article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 15px 15px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 32, 56, .10);
  box-shadow: var(--shadow-soft)
}

.module-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(16, 32, 56, .08)
}

.module-grid small {
  color: var(--theme);
  font-weight: 900
}

.module-grid h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 2px 0 0;
  color: #0b2342
}

.module-grid p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 8px 0 0
}

.module-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--theme);
  font-size: 14px;
  border-top: 1px solid rgba(16, 32, 56, .10);
  padding-top: 12px
}

.option-section {
  padding: 108px 0;
  background: radial-gradient(circle at 90% 12%, rgba(233, 207, 141, .18), transparent 28%), linear-gradient(180deg, #fbf7ee, #fff)
}

.option-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start
}

.option-inner .section-heading {
  margin: 0
}

.option-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.option-list article {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(201, 164, 92, .25);
  box-shadow: var(--shadow-soft)
}

.option-list span {
  color: var(--gold);
  font-weight: 900
}

.option-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: #061a35;
  margin-top: 8px
}

.option-list p {
  margin: 8px 0 0;
  color: var(--muted)
}

.flow-section {
  padding: 110px 0;
  background: #fff
}

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

.flow-grid article {
  position: relative;
  padding: 30px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fffaf3);
  border: 1px solid rgba(201, 164, 92, .28);
  box-shadow: var(--shadow-soft)
}

.flow-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #061a35;
  color: var(--gold2);
  font-family: var(--serif);
  font-weight: 900
}

.flow-grid h3 {
  font-family: var(--serif);
  font-size: 25px;
  margin: 14px 0 8px
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.faq-section {
  padding: 108px 0;
  background: linear-gradient(180deg, #f7f2ea, #fff)
}

.faq-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px
}

.faq-inner .section-heading {
  margin: 0
}

.faq-list {
  display: grid;
  gap: 14px
}

.faq-list details {
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(16, 32, 56, .10);
  box-shadow: 0 10px 24px rgba(7, 23, 49, .06);
  overflow: hidden
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 900;
  list-style: none
}

.faq-list summary::-webkit-details-marker {
  display: none
}

.faq-list summary::after {
  content: "＋";
  float: right;
  color: var(--gold)
}

.faq-list details[open] summary::after {
  content: "−"
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted)
}

.final-cta {
  padding: 120px 0 140px;
  background: radial-gradient(circle at 80% 20%, rgba(233, 207, 141, .22), transparent 28%), linear-gradient(135deg, #05182f 0%, #0b2a50 55%, #071b36 100%);
  color: #fff;
  text-align: center
}

.final-inner {
  max-width: 960px
}

.final-inner h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 3.4vw, 56px);
  color: #fff;
  line-height: 1.35;
  margin: 0
}

.final-inner p:not(.section-kicker) {
  font-size: 18px;
  color: rgba(255, 255, 255, .78);
  margin: 22px auto 0;
  max-width: 760px
}

.final-actions {
  justify-content: center
}

.floating-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60
}

.floating-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ead08e, #b99047);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(5, 24, 47, .28)
}

@media (max-width:1120px) {
  .section-inner {
    width: min(100% - 48px, 1040px)
  }

  .global-nav {
    display: none
  }

  .mobile-menu {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px
  }

  .hero-visual img {
    height: auto
  }

  .plan-grid,
  .strategy-grid {
    grid-template-columns: 1fr
  }

  .plan-card.featured {
    transform: none
  }

  .module-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .option-inner,
  .faq-inner {
    grid-template-columns: 1fr
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .comparison-table {
    overflow-x: auto
  }

  .table-row {
    min-width: 760px
  }
}

@media (max-width:768px) {
  body {
    background: #faf7f1
  }

  .section-inner {
    width: min(100% - 32px, 640px)
  }

  .utility-bar {
    display: none
  }

  .site-header {
    background: linear-gradient(90deg, #04162e, #0a2549)
  }

  .header-inner {
    height: 70px
  }

  .brand img {
    width: 210px
  }

  .header-cta {
    display: none
  }

  .mobile-scroll-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    scrollbar-width: none
  }

  .mobile-scroll-nav::-webkit-scrollbar {
    display: none
  }

  .mobile-scroll-nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
    color: #fff
  }

  .pricing-hero {
    padding: 40px 0 54px;
    background: linear-gradient(180deg, #fff, #f7f1e8)
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch
  }

  .hero-copy {
    padding: 0;
    display: contents
  }

  .hero-copy h1 {
    font-size: 36px
  }

  .lead {
    font-size: 16px;
    line-height: 1.85
  }

  .price-note {
    grid-template-columns: 1fr
  }

  .hero-actions {
    gap: 10px
  }

  .btn {
    width: 100%;
    min-height: 52px
  }

  /* スマホ表示順: トップ画像 → コピー → ボタン群 */
  .hero-visual {
    order: -1;
    margin-bottom: 20px;
    border-radius: 22px
  }

  .strategy-section,
  .plans-section,
  .comparison-section,
  .modules-section,
  .option-section,
  .flow-section,
  .faq-section {
    padding: 64px 0
  }

  .section-heading {
    margin-bottom: 28px
  }

  .section-heading h2 {
    font-size: 29px
  }

  .section-heading p {
    font-size: 15px
  }

  .strategy-grid article,
  .plan-card {
    padding: 24px 20px
  }

  .strategy-grid h2 {
    font-size: 24px
  }

  .plan-card h3 {
    font-size: 30px
  }

  .plan-desc {
    min-height: auto
  }

  .price-box {
    padding: 20px
  }

  .price-box strong {
    font-size: 38px
  }

  .enterprise-card {
    display: block;
    padding: 26px 22px
  }

  .enterprise-card .btn {
    margin-top: 22px
  }

  .module-grid {
    grid-template-columns: 1fr
  }

  .module-grid article {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center
  }

  .module-grid img {
    aspect-ratio: 16/9
  }

  .option-list {
    grid-template-columns: 1fr
  }

  .flow-grid {
    grid-template-columns: 1fr
  }

  .faq-list summary {
    padding: 18px 18px
  }

  .faq-list p {
    padding: 0 18px 20px
  }

  .table-row {
    min-width: 660px
  }

  .table-row div {
    padding: 14px 12px;
    font-size: 13px
  }

  .final-cta {
    padding: 76px 0 116px
  }

  .final-inner h2 {
    font-size: 31px
  }

  .floating-cta {
    left: 16px;
    right: 16px;
    bottom: 14px
  }

  .floating-cta a {
    width: 100%;
    height: 56px
  }
}

@media (min-width:1440px) {
  .section-inner {
    width: min(1320px, calc(100% - 96px))
  }

  .pricing-hero {
    padding: 128px 0 112px
  }

  .hero-visual img {
    height: 590px
  }
}


/* Pay-per-use pricing section */
.usage-section {
  padding: 116px 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(233, 207, 141, .22), transparent 27%),
    radial-gradient(circle at 88% 18%, rgba(108, 91, 154, .22), transparent 29%),
    linear-gradient(135deg, #061a35 0%, #0d2b52 58%, #071b36 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.usage-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 92%);
  pointer-events: none;
}

.usage-section .section-inner {
  position: relative;
  z-index: 1
}

.usage-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 28px
}

.usage-summary article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px)
}

.usage-summary span {
  display: inline-block;
  color: var(--gold2);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px
}

.usage-summary strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  margin-top: 6px;
  color: #fff
}

.usage-summary p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.75
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  align-items: stretch
}

.usage-card {
  grid-column: span 2;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 250, 240, .96));
  color: var(--ink);
  border: 1px solid rgba(233, 207, 141, .38);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  position: relative;
  overflow: hidden
}

.usage-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--theme)
}

.usage-card.wide {
  grid-column: span 3
}

.usage-card-head {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start
}

.usage-card-head>span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--theme);
  color: #fff;
  font-family: var(--serif);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16)
}

.usage-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0;
  color: #071b36;
  line-height: 1.35
}

.usage-card-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7
}

.usage-price-main {
  margin: 24px 0 18px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(6, 26, 53, .96), rgba(13, 43, 82, .94));
  color: #fff;
  border: 1px solid rgba(233, 207, 141, .32)
}

.usage-price-main small {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase
}

.usage-price-main strong {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold2);
  line-height: 1.15;
  margin-top: 4px
}

.usage-card dl {
  margin: 0;
  display: grid;
  gap: 10px
}

.usage-card dl div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(16, 32, 56, .10)
}

.usage-card dt {
  font-weight: 800;
  color: #0d2340;
  font-size: 14px
}

.usage-card dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
  color: var(--theme);
  font-size: 14px;
  white-space: nowrap
}

.usage-comment {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(201, 164, 92, .12);
  color: #5b4c36;
  font-size: 13px;
  line-height: 1.75
}

.usage-note {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff
}

.usage-note strong {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold2)
}

.usage-note p {
  margin: 0;
  color: rgba(255, 255, 255, .78)
}

@media (max-width:1120px) {
  .usage-summary {
    grid-template-columns: 1fr
  }

  .usage-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .usage-card,
  .usage-card.wide {
    grid-column: auto
  }
}

@media (max-width:768px) {
  .usage-section {
    padding: 64px 0
  }

  .usage-summary article {
    padding: 20px
  }

  .usage-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .usage-card {
    padding: 22px 20px;
    border-radius: 24px
  }

  .usage-card-head {
    grid-template-columns: 40px 1fr
  }

  .usage-card-head>span {
    width: 40px;
    height: 40px
  }

  .usage-card h3 {
    font-size: 24px
  }

  .usage-price-main {
    padding: 18px;
    margin: 20px 0 14px
  }

  .usage-price-main strong {
    font-size: 34px
  }

  .usage-card dl div {
    display: block
  }

  .usage-card dd {
    text-align: left;
    margin-top: 3px;
    white-space: normal
  }

  .usage-note {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 8px
  }
}

h1,
h2,
h3,
p,
li,
a,
span,
strong,
small,
summary {
  word-break: keep-all;
  overflow-wrap: break-word
}

@media (max-width: 768px) {
  h1, h2, h3, p, li, a, span, strong, small, summary {
    word-break: normal;
    overflow-wrap: anywhere
  }
  .hero-copy h1 br,
  .hero-copy h1 span {
    white-space: normal
  }
  main, section, article, .section-inner {
    max-width: 100%;
    overflow-wrap: anywhere
  }
}

.section-inner,
.hero-inner,
.hero-copy,
.strategy-grid,
.strategy-grid article,
.plan-grid,
.plan-card,
.enterprise-card,
.module-grid,
.module-grid article,
.option-inner,
.option-list,
.flow-grid,
.flow-grid article,
.faq-inner,
.usage-summary,
.usage-grid,
.usage-card,
.usage-note {
  min-width: 0
}

.option-list article {
  min-width: 0;
  overflow-wrap: anywhere
}

.faq-inner .section-heading h2 {
  max-width: 9em
}

.site-footer {
  padding: 26px 24px calc(26px + env(safe-area-inset-bottom));
  background: #03162e;
  color: rgba(255, 255, 255, .72);
  text-align: center;
  font-size: 13px
}

.site-footer p {
  margin: 0
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(233, 207, 141, .28);
  padding-bottom: 2px
}

.site-footer .footer-links a:hover {
  color: var(--gold2)
}

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

.hero-copy h1 {
  font-size: clamp(42px, 4vw, 64px)
}

.hero-visual img {
  height: clamp(340px, 30vw, 460px)
}

.section-heading.center.light {
  max-width: 1180px
}

.section-heading.center.light h2 {
  font-size: clamp(32px, 2.8vw, 46px)
}

.final-inner {
  max-width: 1180px
}

.final-inner h2 {
  font-size: clamp(34px, 3vw, 50px)
}

.usage-note {
  display: block
}

.usage-note strong {
  display: block;
  margin-bottom: 8px
}

@media (max-width:1120px) {
  .hero-inner {
    grid-template-columns: 1fr
  }

  .hero-visual img {
    height: auto
  }
}

@media (max-width:768px) {
  .hero-copy h1 {
    font-size: 32px
  }

  .section-heading.center.light h2 {
    font-size: 26px
  }

  .final-inner h2 {
    font-size: 29px
  }
}

/* ===== Responsive repair: overflow and mobile layout ===== */
/* Width guards for nested grid/flex layouts */
html,
body {
  width: 100%;
}

body {
  overflow-x: hidden;
}

main,
section,
article,
div,
nav,
figure,
figcaption,
ul,
ol,
li,
header,
footer {
  min-width: 0;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

@media (max-width: 1120px) {
  .utility-inner {
    height: auto;
    min-height: 38px;
    padding-block: 8px;
    flex-wrap: wrap;
    align-items: flex-start;
    line-height: 1.5;
  }

  .utility-inner p {
    flex: 1 1 100%;
  }

  .utility-links {
    flex-wrap: wrap;
    white-space: normal;
    gap: 8px 18px;
  }
}

@media (max-width: 768px) {
  .mobile-scroll-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: flex-start;
    row-gap: 8px;
  }

  .mobile-scroll-nav a {
    white-space: nowrap;
  }

  .hero-copy h1,
  .hero-copy h1 span {
    white-space: normal !important;
  }

  .hero-copy h1 br {
    display: block;
  }

  .floating-cta a {
    min-width: 0;
  }
}


/* Mobile/tablet: convert plan comparison into stacked cards instead of horizontal scroll */
@media (max-width: 900px) {
  .comparison-table {
    display: grid;
    gap: 14px;
    overflow: visible !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .table-head {
    display: none !important;
  }

  .table-row {
    min-width: 0 !important;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
  }

  .table-row div {
    display: grid;
    grid-template-columns: minmax(88px, .34fr) minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 14px 16px;
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: left !important;
    font-size: 13.5px;
  }

  .table-row div:first-child {
    display: block;
    border-top: 0;
    background: rgba(201, 164, 92, .24);
    color: var(--gold2);
    font-family: var(--serif);
    font-weight: 900;
  }

  .table-row div:not(:first-child)::before {
    display: inline-flex;
    align-items: center;
    align-self: start;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: var(--gold2);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
  }

  .table-row div:nth-child(2)::before { content: "ライト"; }
  .table-row div:nth-child(3)::before { content: "スタンダード"; }
  .table-row div:nth-child(4)::before { content: "グロース"; }
}

/* ===== Final publish overflow guard ===== */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

.btn,
.header-cta,
.plan-cta,
.floating-cta a {
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  h1,
  h2,
  h3,
  h4,
  p,
  li,
  dt,
  dd,
  a,
  span,
  strong,
  small,
  summary,
  figcaption {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .section-inner {
    max-width: 100%;
  }

  .utility-inner p,
  .lead,
  .section-heading p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .section-inner {
    width: min(100% - 28px, 640px);
  }

  .brand img {
    max-width: min(210px, 60vw);
    height: auto;
  }
}
