:root {
  --orange: #f08d01;
  --blue: #4a52ba;
  --ink: #141414;
  --muted: #5a5a5a;
  --paper: #ffffff;
  --soft: #f7f5f2;
  --line: #e6e2dc;
  --font-display: "Noto Sans JP", "Outfit", sans-serif;
  --font-latin: "Outfit", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --max: 1100px;
  --header: 5.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(240, 141, 1, 0.08), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(74, 82, 186, 0.08), transparent 55%),
    var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--orange); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; letter-spacing: 0.02em; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.site-header__inner {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  min-height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .85rem; color: inherit; text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand strong { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); }
.brand span { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a {
  color: var(--ink); text-decoration: none; font-family: var(--font-latin);
  font-size: .82rem; font-weight: 600; letter-spacing: .08em;
}
.nav a small { font-family: var(--font-body); }
.nav a small { display: block; font-size: .65rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line);
  background: #fff; border-radius: .5rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 1.15rem; height: 2px; margin: .28rem auto; background: var(--ink); }

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: #12151c center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 18, .08) 0%, rgba(8, 10, 18, .12) 46%, rgba(8, 10, 18, .62) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 3.5rem;
  padding: .15rem 0 .15rem 1.15rem;
  background: none;
  border-left: 3px solid var(--orange);
  box-shadow: none;
}
.hero__lead {
  margin: 0;
  max-width: 18em;
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.page-hero {
  min-height: 38vh; display: grid; align-items: end; color: #fff;
  background: #222 center / cover no-repeat; position: relative;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.page-hero .container { position: relative; padding-block: 3rem 2rem; }
.page-hero h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }

.breadcrumb { font-size: .85rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb span { margin: 0 .4rem; color: #bbb; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--soft); }
.section--photo {
  background: center / cover no-repeat;
  color: var(--ink);
  position: relative;
}
.section--photo::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 252, 248, .94);
}
.section--photo > * { position: relative; }
.section--photo h2,
.section--photo p { color: var(--ink); }
.section--photo.dark,
.section--photo.dark h2,
.section--photo.dark p { color: #fff; }
.section--photo.dark::before { background: rgba(12, 14, 22, .78); }
.section--photo.dark .kicker { color: #ffb44a; }
.section--photo.dark .news-list a { color: #fff; }
.section--photo.dark .news-list a:hover { color: #ffb44a; }
.section--photo.dark .news-list p { color: rgba(255, 255, 255, .88); }
.section--photo.dark .news-list li { border-bottom-color: rgba(255, 255, 255, .22); }
.section--photo.dark .news-list time { color: #ffb44a; }
.kicker {
  font-family: var(--font-latin); letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); font-size: .78rem; font-weight: 700; margin: 0 0 .4rem;
}
.section h2 {
  margin: 0 0 .8rem;
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.lead { color: var(--muted); max-width: 46rem; }
.about-lead { max-width: 40rem; margin: 0 0 1.1rem; font-size: 1.05rem; }
.more { max-width: 46rem; border-top: 1px solid var(--line); padding-top: .85rem; }
.more summary {
  cursor: pointer; font-weight: 700; color: var(--blue); width: fit-content;
}
.more summary:hover { color: var(--orange); }
.more p { margin: .9rem 0 0; color: var(--muted); }

.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; min-height: 0;
  overflow: hidden;
}
.split__media { background: center / cover no-repeat; min-height: 240px; }
.split__body {
  display: grid; align-content: center; padding: clamp(1.5rem, 4vw, 2.4rem);
  background: var(--blue); color: #fff;
}
.split__body.accent { background: var(--orange); }
.split__body h2 { margin: 0 0 .7rem; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: .45rem; }
.split__label { margin: 0; font-weight: 700; letter-spacing: .06em; }
.split__note { margin: .45rem 0 0; line-height: 1.7; max-width: 24em; }
.split__body a { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; border: none;
  background: var(--orange); color: #fff !important; text-decoration: none !important;
  font-weight: 700; font-family: var(--font-display); letter-spacing: .04em;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); color: #fff !important; }
.btn--ghost { background: transparent; border: 1px solid currentColor; }
.btn--line {
  background: transparent;
  border: 2px solid #fff;
  color: #fff !important;
}
.btn--line:hover { background: #fff; color: var(--ink) !important; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.tel {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--ink); text-decoration: none;
}
.section--photo.dark .tel,
.section--photo.dark .tel:hover { color: #fff; }

.table {
  width: 100%; border-collapse: collapse; background: #fff;
}
.table th, .table td {
  border-bottom: 1px solid var(--line); padding: .9rem .7rem; text-align: left; vertical-align: top;
}
.table th { width: 9rem; color: var(--muted); font-weight: 600; background: #faf9f7; }

.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.news-list li {
  display: grid; gap: .35rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.news-list time { color: var(--orange); font-family: var(--font-display); font-size: .9rem; }
.news-list a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.news-list a:hover { color: var(--orange); }
.news-list p { margin: 0; color: var(--muted); font-size: .95rem; }

.feature-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0;
}
.feature-steps article {
  background: #eef0ff; padding: 1.2rem; position: relative; overflow: hidden;
}
.feature-steps b {
  font-family: var(--font-display); font-style: italic; font-size: 2.4rem;
  color: var(--blue); line-height: 1; display: block; margin-bottom: .4rem;
}
.feature-steps span {
  display: inline-block; margin-top: .8rem; background: var(--blue); color: #fff;
  padding: .25rem .7rem; font-size: .85rem; font-weight: 700;
}

.compare { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { border: 1px solid #f08d01; padding: .55rem; text-align: center; }
.compare th { background: #f0b400; color: #fff; }
.compare th:first-child, .compare td:first-child { text-align: left; background: #fff; color: var(--ink); }
.compare td.best { background: #feecd2; color: #d00; font-weight: 700; }

.form { display: grid; gap: 1rem; max-width: 40rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: .4rem;
  padding: .75rem .85rem; font: inherit; background: #fff;
}
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map { width: 100%; height: 360px; border: 0; filter: grayscale(.15); }

.site-footer {
  background: #171717; color: #ddd; padding: 2.5rem 0 2rem; margin-top: 2rem;
}
.site-footer a { color: #eee; text-decoration: none; margin-right: 1rem; }
.site-footer a:hover { color: var(--orange); }
.site-footer small { display: block; margin-top: 1.2rem; color: #999; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.policy { max-width: 46rem; }
.policy p { margin: 0 0 1rem; }
.policy h2 {
  margin: 2.2rem 0 .8rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
}
.policy ol { margin: 0 0 1.2rem; padding-left: 1.4rem; display: grid; gap: .85rem; }
.policy li { padding-left: .15rem; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.is-open { display: flex; }
  .split, .feature-steps { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .section [style*="grid-template-columns:280px"] { grid-template-columns: 1fr !important; }
  .hero__content {
    width: calc(100% - 2rem);
    margin: 0 1rem 2.2rem;
  }
  .hero__lead { font-size: 1.35rem; }
}

.nav { gap: 1rem; }
.nav a { letter-spacing: .05em; }
.entry { max-width: 46rem; font-size: 1.02rem; line-height: 1.9; }
.entry p { margin: 0 0 1rem; }
.entry h2, .entry h3 { margin: 1.8rem 0 .7rem; }
.entry ul, .entry ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.entry img, .entry figure { max-width: 100%; height: auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.blog-card {
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  text-decoration: none; border: 1px solid var(--line); min-height: 100%;
}
.blog-card:hover { color: var(--ink); border-color: var(--orange); }
.blog-card:hover strong { color: var(--orange); }
.blog-card__media { display: block; aspect-ratio: 16/10; background: #e7e9f6 center/cover no-repeat; }
.blog-card__body { display: grid; gap: .4rem; padding: 1rem 1.1rem 1.25rem; }
.blog-card time { color: var(--orange); font-size: .85rem; }
.blog-card strong { color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.blog-card__body > span { color: var(--muted); font-size: .92rem; font-weight: 400; }
.empty-note { color: var(--muted); }
.form-error { color: #a12626; font-weight: 700; }
.form-note { margin-top: 1rem; font-size: 0.8rem; color: #5c5c5c; line-height: 1.6; }
.form-note a { color: inherit; text-decoration: underline; }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.6rem; }
.page-numbers {
  display: inline-block; padding: .35rem .7rem; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.page-numbers.current, .page-numbers:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line); display: none;
    max-height: calc(100vh - var(--header)); overflow: auto;
  }
  .nav.is-open { display: flex; }
}
@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.site-footer .sns { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.site-footer .sns span { color: #aaa; font-size: .85rem; margin-right: .2rem; }
.site-footer .sns a {
  width: 2.4rem; height: 2.4rem; margin: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.4); color: #fff;
}
.site-footer .sns a:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.site-footer .sns svg, .share svg { width: 1.05rem; height: 1.05rem; display: block; }
.share { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.share p { font-weight: 700; margin: 0 0 .7rem; }
.share__row { display: flex; flex-wrap: wrap; gap: .6rem; }
.share__row a {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 2.6rem; padding: 0 .95rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: .9rem; white-space: nowrap;
}
.share__row a:hover { border-color: var(--orange); color: var(--orange); }
