/* Layout: kibidango.com のトークン（コーラル×黄色×白）で組む明るい単一テーマ。帯ごとに地色を切り替えてリズムを出す */
:root {
  color-scheme: light;
  --coral: #ff5c60; /* kibidango primary */
  --coral-deep: #e85a48; /* kibidango primary (logo) */
  --coral-soft: #ffe8e8;
  --yellow: #ffc821; /* kibidango secondary */
  --yellow-soft: #fff6d6;
  --teal: #13b8a6; /* kibidango accent 系 */
  --ks: #05ce78; /* Kickstarter green（KS関連の印にだけ使う） */
  --ink: #24232a; /* base-content */
  --muted: #6b6872;
  --base: #ffffff;
  --base-200: #f2f2f2;
  --base-300: #e3e3e3;
  --todo-bg: #fff1a8;
  --todo-fg: #6b5300;
  --f-display:
    "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    sans-serif;
  --f-body:
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Noto Sans JP",
    sans-serif;
  --r: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--base);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section {
  padding-block: 96px;
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  text-wrap: balance;
  word-break: auto-phrase;
  line-height: 1.35;
  margin: 0;
  font-weight: 900;
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
}
h3 {
  font-size: 20px;
  font-weight: 700;
}
p {
  margin: 0;
}
a {
  color: var(--coral-deep);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 14px;
}
.lead {
  color: var(--muted);
  max-width: 40em;
  margin-top: 18px;
  font-size: 17px;
}
.todo {
  background: var(--todo-bg);
  color: var(--todo-fg);
  font-size: 0.8em;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-family: var(--f-body);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 900;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 999px;
  border: 0;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--coral-deep);
  transition:
    transform 0.12s,
    box-shadow 0.12s;
}
.btn:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--coral-deep);
}
.btn.alt {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  border: 2px solid var(--ink);
}
.btn.alt:hover {
  box-shadow: 0 4px 0 var(--ink);
}
.hl {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
}

/* draft bar + nav */
.draftbar {
  background: var(--todo-bg);
  color: var(--todo-fg);
  font-size: 13px;
  padding-block: 7px;
  text-align: center;
}
nav.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--base-300);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: #fff;
}
nav.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
nav.top .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
}
nav.top .brand img {
  height: 26px;
  width: auto;
}
nav.top ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}
nav.top ul a {
  color: var(--ink);
  text-decoration: none;
}
nav.top ul a.cta {
  background: var(--coral);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
}
@media (max-width: 760px) {
  nav.top ul li.hide-s {
    display: none;
  }
}

/* hero */
.hero {
  padding-block: 72px 96px;
  background:
    radial-gradient(
      circle at 92% 8%,
      var(--yellow-soft) 0 28%,
      transparent 28.2%
    ),
    radial-gradient(
      circle at 4% 96%,
      var(--coral-soft) 0 22%,
      transparent 22.2%
    ),
    var(--base);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 66px);
  letter-spacing: -0.01em;
}
.hero .lead {
  font-size: 18px;
  color: var(--ink);
}
.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.chip {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--base-200);
}
.chip.ks {
  background: #e5faf0;
  color: #06663c;
}
.stack {
  position: relative;
  aspect-ratio: 1/0.95;
  max-width: 100%;
}
.stack figure {
  position: absolute;
  margin: 0;
  background: #fff;
  padding: 10px 10px 12px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(36, 35, 42, 0.16);
}
.stack figure img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stack figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 700;
}
.stack .p1 {
  width: 66%;
  left: 0;
  top: 4%;
  transform: rotate(-4deg);
}
.stack .p2 {
  width: 58%;
  right: 0;
  top: 30%;
  transform: rotate(3.5deg);
}
.stack .p3 {
  width: 48%;
  left: 12%;
  bottom: 0;
  transform: rotate(-1.5deg);
  background: var(--yellow);
}
.expert-card {
  background: #fff;
  border-radius: 8px;
  padding: 22px 18px;
  display: grid;
  gap: 4px;
  text-align: center;
}
.expert-card span {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 30px);
  color: #06663c;
  letter-spacing: 0.02em;
}
.expert-card .ks-logo {
  width: 78%;
  height: auto;
  margin: 4px auto 6px;
}
.expert-card b {
  font-family: var(--f-display);
  font-size: 18px;
}
.expert-card small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.stack .p3 figcaption {
  color: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .stack figure {
    animation: drop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
  }
  .stack .p2 {
    animation-delay: 0.12s;
  }
  .stack .p3 {
    animation-delay: 0.24s;
  }
  @keyframes drop {
    from {
      translate: 0 -18px;
      opacity: 0;
    }
    to {
      translate: 0 0;
      opacity: 1;
    }
  }
}

/* partner */
.partner {
  background: var(--base-200);
}
.partner .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 8px;
}
.partner .photo {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(36, 35, 42, 0.12);
}
.partner .facts {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.partner .fact {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}
.partner .fact .dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  color: #fff;
  font-size: 15px;
}
.partner .fact p {
  color: var(--muted);
  font-size: 15px;
}
.partner .profile {
  margin-top: 28px;
  background: #fff;
  border-radius: var(--r);
  padding: 14px;
  border: 1px solid var(--base-300);
}
.partner .profile small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 6px 0;
}

/* problems */
.probs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.prob {
  border-radius: var(--r);
  padding: 30px 28px;
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.prob:nth-child(1) {
  background: var(--coral-soft);
}
.prob:nth-child(2) {
  background: var(--yellow-soft);
}
.prob:nth-child(3) {
  background: #e1f7f4;
}
.prob .big {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
}
.prob:nth-child(1) .big {
  color: var(--coral);
}
.prob:nth-child(2) .big {
  color: #c99300;
}
.prob:nth-child(3) .big {
  color: var(--teal);
}
.prob p {
  color: var(--ink);
  font-size: 15px;
  opacity: 0.85;
}

/* route */
.route {
  background: var(--coral);
  color: #fff;
}
.route .eyebrow {
  color: var(--yellow);
}
.route .lead {
  color: #fff;
  opacity: 0.9;
}
.route ol {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: s;
}
.route li {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  padding: 22px 20px;
  counter-increment: s;
  position: relative;
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}
.route li::before {
  content: counter(s);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 18px;
}
.route li .t {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
}
.route li h3 {
  font-size: 17px;
}
.route li p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.routes {
  padding-top: 0;
}
.rcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.rcard {
  border-radius: var(--r);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 8px 8px 0 var(--c);
}
.rcard.r-a {
  --c: var(--ks);
}
.rcard.r-b {
  --c: var(--yellow);
}
.rcard.r-c {
  --c: var(--coral);
}
.rcard .who {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--c);
  color: var(--ink);
}
.rcard.r-c .who {
  color: #fff;
}
.rcard h3 {
  font-size: 24px;
  font-weight: 900;
}
.rcard p {
  font-size: 15px;
  color: var(--muted);
}
.rcard .pf {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px dashed var(--base-300);
}
.rcard .pf span {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--base-200);
}
.rcard .pf span.ks {
  background: #e5faf0;
  color: #06663c;
}
@media (max-width: 900px) {
  .rcards {
    grid-template-columns: 1fr;
  }
}
.route li.home::after {
  content: "きびだんご";
  position: absolute;
  top: 22px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  background: var(--coral-soft);
  color: var(--coral-deep);
  padding: 2px 9px;
  border-radius: 999px;
}
.route li.ks::after {
  content: "Kickstarter";
  position: absolute;
  top: 22px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  background: #e5faf0;
  color: #06663c;
  padding: 2px 9px;
  border-radius: 999px;
}

/* cases */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.case {
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 6px 6px 0 var(--yellow);
}
.case .media {
  aspect-ratio: 16/9;
  background: var(--coral-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.case .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case .media .ph {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 30px;
  color: var(--coral);
}
.case .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.case .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
}
.case .meta span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--base-200);
}
.case .meta .ks {
  background: #e5faf0;
  color: #06663c;
}
.case .tagline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.case p.sum {
  font-size: 14px;
  color: var(--muted);
}
.case .nums {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px dashed var(--base-300);
  font-variant-numeric: tabular-nums;
}
.case .nums strong {
  display: block;
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.2;
}
.case .nums small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.case .links {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
}
.hstats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 2px dashed var(--base-300);
  font-variant-numeric: tabular-nums;
}
.hstats strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.1;
  color: var(--coral);
}
.hstats strong small {
  font-size: 0.45em;
  margin-left: 2px;
  color: var(--ink);
}
.hstats span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.ks-history {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.ks-head p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--ks);
  display: grid;
  gap: 0;
}
.tl {
  display: grid;
  grid-template-columns: 72px 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 0 16px 22px;
  position: relative;
  border-bottom: 1px solid var(--base-300);
}
.tl::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ks);
}
.tl .yr {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
}
.tl .yr .todo {
  display: block;
  font-size: 10px;
  margin-top: 2px;
  width: max-content;
}
.tl .thumb {
  width: 96px;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--coral-soft);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 12px;
  color: var(--coral);
}
.tl .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tl .info {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.tl .info b {
  font-family: var(--f-display);
  font-size: 17px;
}
.tl .info small {
  color: var(--muted);
  font-size: 13px;
}
.tl .info .nums {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tl .info .links {
  display: flex;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  flex-wrap: wrap;
}
.tl-loading {
  padding: 16px 22px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .ks-history {
    grid-template-columns: 1fr;
  }
  .tl {
    grid-template-columns: 56px 1fr;
  }
  .tl .thumb {
    display: none;
  }
}
.domestic {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.domestic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}
.domestic > div {
  padding: 36px;
  display: grid;
  gap: 12px;
  align-content: center;
}
.domestic p {
  opacity: 0.85;
  font-size: 15px;
}
.dstats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-variant-numeric: tabular-nums;
}
.dstats strong {
  display: block;
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1.2;
  color: var(--yellow);
}
.dstats small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}

/* blog */
.blog-band {
  background: var(--yellow-soft);
}
.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.post-card {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.15s;
  box-shadow: 0 8px 20px rgba(36, 35, 42, 0.08);
}
.post-card:hover {
  transform: translateY(-4px);
}
.post-card .cover {
  aspect-ratio: 16/9;
  background: var(--coral);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.post-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card .cover b {
  font-family: var(--f-display);
  color: #fff;
  font-size: 22px;
  padding: 20px;
  text-align: center;
}
.post-card .cover.c-注意点 {
  background: var(--coral);
}
.post-card .cover.c-成功事例 {
  background: var(--teal);
}
.post-card .cover.c-準備ガイド {
  background: #c99300;
}
.post-card .cover.c-ルート別ガイド {
  background: var(--ink);
}
.post-card .inner {
  padding: 20px 22px 24px;
  display: grid;
  gap: 8px;
}
.post-card h3 {
  font-size: 18px;
}
.post-card p {
  font-size: 14px;
  color: var(--muted);
}
.cat {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--coral-deep);
}
.badge-draft {
  font-size: 11px;
  background: var(--todo-bg);
  color: var(--todo-fg);
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.filters button {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

/* article */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 56px 96px;
}
.article .back {
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.article h1 {
  font-size: clamp(28px, 4.4vw, 40px);
  margin-top: 20px;
}
.article .by {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.article .hero-img {
  margin-top: 28px;
  border-radius: var(--r);
  overflow: hidden;
}
.article .md {
  margin-top: 32px;
  font-size: 17px;
}
.article .md h2 {
  font-size: 24px;
  margin-top: 44px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 6px solid var(--coral);
}
.article .md p {
  margin-block: 14px;
}
.article .md li {
  margin-block: 4px;
}
.article .ai-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  background: var(--base-200);
  padding: 14px 18px;
  border-radius: 12px;
}
.article .cta-box {
  margin-top: 40px;
  background: var(--coral);
  color: #fff;
  border-radius: var(--r);
  padding: 32px;
  display: grid;
  gap: 14px;
}
.article .cta-box .btn {
  background: #fff;
  color: var(--coral-deep);
  box-shadow: 0 6px 0 var(--coral-deep);
  justify-self: start;
}

/* fees */
.fees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.fee {
  border-radius: var(--r);
  padding: 30px;
  background: var(--base-200);
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.fee.main {
  background: var(--yellow);
}
.fee .price {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 30px;
}
.fee p {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.8;
}

/* faq */
.faq {
  margin-top: 36px;
  display: grid;
  gap: 12px;
}
details {
  background: var(--base-200);
  border-radius: 14px;
  padding: 18px 22px;
}
summary {
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--coral);
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after {
  content: "−";
}
details p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 15px;
  max-width: 46em;
}

/* contact */
.contact {
  background: var(--yellow);
}
.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
}
.contact .lead {
  color: var(--ink);
}
.contact form {
  background: #fff;
  border-radius: var(--r);
  padding: 32px;
  display: grid;
  gap: 16px;
  min-width: 0;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
label {
  font-size: 13px;
  font-weight: 700;
  display: grid;
  gap: 6px;
}
input,
select,
textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 2px solid var(--base-300);
  border-radius: 10px;
  width: 100%;
  background: #fff;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--coral);
  outline: none;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.formnote {
  font-size: 12px;
  color: var(--muted);
}
.sent {
  background: var(--coral-soft);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.addr {
  font-size: 14px;
  margin-top: 28px;
  display: grid;
  gap: 4px;
}
footer {
  background: var(--ink);
  color: #fff;
  padding-block: 32px;
  font-size: 13px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .route ol {
    grid-template-columns: 1fr 1fr;
  }
  .cases,
  .posts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  section {
    padding-block: 64px;
  }
  .hero .wrap,
  .partner .grid,
  .probs,
  .fees,
  .contact .wrap,
  .domestic {
    grid-template-columns: 1fr;
  }
  .route ol,
  .cases,
  .posts {
    grid-template-columns: 1fr;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .stack {
    margin-top: 12px;
  }
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.check input {
  width: auto;
}
.sent.err {
  background: var(--yellow-soft);
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}

/* スマホでヘッダーの文字が折り返さないようにする */
nav.top .brand span,
nav.top ul a {
  white-space: nowrap;
}
@media (max-width: 480px) {
  nav.top .wrap {
    gap: 10px;
  }
  nav.top .brand {
    gap: 6px;
    font-size: 12px;
  }
  nav.top .brand img {
    height: 20px;
  }
  nav.top ul {
    gap: 12px;
    font-size: 13px;
  }
  nav.top ul a.cta {
    padding: 7px 12px;
  }
}

/* 見出しを単語の途中で折り返さない（「、」や <wbr> の位置で折り返す） */
.prob h3,
.domestic h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .domestic > div {
    padding: 28px 22px;
  }
  .domestic h3 {
    font-size: 22px !important;
  }
}

/* ヘッダーの「kibidango Global Launch」を大きく */
nav.top .brand {
  font-size: 18px;
  font-weight: 900;
}
nav.top .brand span {
  color: var(--coral-deep);
}
nav.top .brand img {
  height: 32px;
}
@media (max-width: 480px) {
  nav.top .brand {
    font-size: 15px;
    gap: 6px;
  }
  nav.top .brand img {
    height: 24px;
  }
  nav.top ul {
    gap: 10px;
  }
  nav.top ul a.cta {
    padding: 7px 11px;
  }
}

/* 見出しは「、」や <wbr> の位置でだけ折り返す */
h1,
h2 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* ヘッダー：「Global Launch」を黒に戻し、ロゴの文字の下端にそろえる */
nav.top .brand {
  align-items: flex-end;
}
nav.top .brand span {
  color: var(--ink);
  line-height: 1;
  margin-bottom: 9px;
}
@media (max-width: 480px) {
  nav.top .brand span {
    margin-bottom: 7px;
  }
}
