:root {
  color-scheme: light;
  --bg: #f4fbff;
  --panel: #ffffff;
  --panel-strong: #e7f7ff;
  --text: #073c66;
  --muted: #55728a;
  --line: #c9e5f3;
  --accent: #18aee2;
  --accent-dark: #00689d;
  --ink: #063354;
  --cream: #fff8dc;
  --shadow: 0 24px 80px rgba(5, 73, 117, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 174, 226, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 2%, rgba(255, 210, 71, 0.22), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(244, 251, 255, 0.86);
  border-bottom: 1px solid rgba(201, 229, 243, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand__logo {
  display: block;
  width: 174px;
  height: 70px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
}

.nav a,
.header-cta {
  text-decoration: none;
}

.nav a {
  padding: 8px 0;
}

.menu-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-dark);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 7vw, 104px);
  overflow: hidden;
}

.home-hero__content {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #8fe7ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 920;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.4;
}

/* トップのヒーローだけは大きめに見せる */
.home-hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.0;
}

/* 記事・規約ページの本文: 見出し前後に余白をとって読みやすく */
.prose h2 {
  margin-top: 2.6rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.prose > h2:first-child,
.prose > h3:first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* パンくずリスト */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px clamp(20px, 7vw, 104px) 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* 前後記事ナビ */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 8px auto 0;
  padding: 0 clamp(20px, 7vw, 104px);
}

.post-nav a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-decoration: none;
  color: var(--text);
}

.post-nav a:hover {
  background: var(--panel-strong);
}

.post-nav .dir {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-dark);
}

.post-nav .ttl {
  font-weight: 800;
  line-height: 1.4;
}

.post-nav .next {
  text-align: right;
}

@media (max-width: 640px) {
  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav .next {
    text-align: left;
  }
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(24, 174, 226, 0.24);
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  padding: 8px 12px;
  border: 1px solid rgba(0, 104, 157, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(231, 247, 255, 0.88)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1000&q=80") center / cover;
  box-shadow: var(--shadow);
  isolation: isolate;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel__top {
  padding: 22px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
}

.hero-panel__top p {
  margin-bottom: 6px;
  color: #8fe7ff;
  font-size: 13px;
  font-weight: 900;
}

.hero-panel__top strong {
  display: block;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.2;
}

.task-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.task-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.task-list span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(24, 174, 226, 0.14);
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 7vw, 104px);
}

.section--compact {
  padding-top: 0;
  padding-bottom: 24px;
}

.section--muted {
  background: rgba(231, 247, 255, 0.74);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--dark .split__text,
.section--dark .wide-text {
  color: rgba(255, 255, 255, 0.78);
}

.section__head {
  max-width: 820px;
  margin-bottom: 34px;
}

.news-grid,
.pain-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid article,
.case-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(20, 46, 34, 0.07);
}

.news-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 104, 157, 0.16);
  border-radius: 999px;
  background: #fff7e8;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 950;
}

.news-grid p,
.case-grid p {
  color: var(--muted);
  font-weight: 600;
}

.pain-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pain-grid p {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(201, 229, 243, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-weight: 850;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.origin-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.origin-card p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}

.origin-card p:last-of-type {
  margin-bottom: 24px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 950;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.trust-strip p {
  margin: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.trust-strip p:last-child {
  border-right: 0;
}

.split,
.company-block,
.origin-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.split__text {
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
}

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

.service-card {
  min-height: 320px;
  padding: 26px;
  border: 1px solid rgba(217, 227, 219, 0.86);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(20, 46, 34, 0.08);
}

.service-card__icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 18px;
  background: var(--panel-strong);
  color: var(--accent-dark);
  font-weight: 950;
}

.service-card p,
.price-card span,
.wide-text {
  color: var(--muted);
  font-weight: 600;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.flow-list article {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.flow-list article:last-child {
  border-right: 0;
}

.flow-list span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 950;
}

.flow-list p {
  color: var(--muted);
  font-weight: 600;
}

.dark-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 32px;
  align-items: start;
}

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

.check-list li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.price-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.price-card--main {
  background: var(--ink);
  color: #fff;
}

.price-card p {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 950;
}

.price-card--main p {
  color: #8fe7ff;
}

.price-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
}

.price-card--main span {
  color: rgba(255, 255, 255, 0.74);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 900;
}

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

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

.company-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-weight: 900;
}

.company-list dd {
  margin: 0;
  font-weight: 700;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(20px, 7vw, 104px) clamp(64px, 8vw, 104px);
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--text);
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.hero,
.hero--sub,
.hero--booking {
  display: grid;
  min-height: 480px;
  align-items: center;
  padding: 80px clamp(20px, 7vw, 96px);
  background:
    linear-gradient(120deg, rgba(246, 248, 244, 0.96), rgba(246, 248, 244, 0.76)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero__body {
  max-width: 760px;
}

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

.text-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--muted);
  font-size: 18px;
}

.cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.card p:last-child {
  margin-bottom: 0;
}

/* ブログ一覧カードのサムネイル */
.card__thumb {
  margin: -4px 0 14px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* お問い合わせフォーム */
.form {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.form label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.form .req {
  margin-left: 6px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--text);
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--muted);
}

.form .check input {
  width: auto;
  margin-top: 5px;
}

.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.form-done {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-strong);
}

/* 記事先頭のアイキャッチ */
.post-eyecatch {
  margin: 0 0 32px;
}

.post-eyecatch img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav a {
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--text);
    font-size: 17px;
  }

  .nav a:hover {
    background: var(--panel-strong);
  }

  .menu-check:checked ~ .nav {
    display: grid;
  }

  .home-hero,
  .split,
  .company-block,
  .origin-block,
  .dark-panel,
  .final-cta {
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .pricing-grid,
  .flow-list,
  .trust-strip,
  .news-grid,
  .pain-grid,
  .case-grid,
  .text-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip p,
  .flow-list article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip p:last-child,
  .flow-list article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .cards,
  .cards--two {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand__logo {
    width: 136px;
    height: 54px;
  }

  .header-cta {
    display: none;
    min-height: 38px;
    padding: 7px 12px;
  }

  .home-hero {
    padding-top: 44px;
  }

  .home-hero h1 {
    font-size: 40px;
  }

  .hero-panel,
  .service-card,
  .price-card,
  .final-cta {
    border-radius: 20px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
