:root {
  --blue: #124a91;
  --blue-dark: #0a2d5c;
  --blue-soft: #eaf2fb;
  --ink: #16243a;
  --muted: #62708a;
  --line: #d9e2ee;
  --white: #ffffff;
  --gold: #b98a38;
  --green: #6f8f7a;
  --line-green: #06c755;
  --line-green-dark: #049844;
  --shadow: 0 18px 50px rgba(10, 45, 92, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  background: #fbfdff;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 74, 145, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  color: var(--blue-dark);
  text-decoration: none;
}

.brand-logo {
  min-width: 250px;
}

.brand-logo img {
  width: 250px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: var(--blue);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--blue-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.social-link {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  font-weight: 900;
  text-decoration: none;
}

.social-link.x-link {
  color: #111111;
  background: var(--white);
}

.nav-cta {
  padding: 8px 16px;
  color: var(--white);
  background: var(--blue);
}

.nav-cta.line-cta {
  background: var(--line-green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 720px;
  padding: clamp(48px, 6vw, 76px) clamp(20px, 6vw, 84px) clamp(42px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(5, 24, 52, 0.88) 0%, rgba(7, 35, 76, 0.7) 43%, rgba(7, 35, 76, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(5, 24, 52, 0.14)),
    url("./assets/hero-background.webp") center / cover no-repeat;
}

.hero-copy,
.strategy-visual,
.area-layout > *,
.intro > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #c8ddf8;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-size: clamp(2.55rem, 5.2vw, 5.9rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 1.25rem;
  line-height: 1.45;
}

.lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: #334159;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero .lead {
  color: #edf5ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-actions.center {
  justify-content: center;
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  font-weight: 800;
  text-decoration: none;
}

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

.button.line-button {
  color: var(--white);
  background: var(--line-green);
  border-color: var(--line-green);
  box-shadow: 0 14px 30px rgba(6, 199, 85, 0.22);
}

.button.line-button:hover {
  background: var(--line-green-dark);
  border-color: var(--line-green-dark);
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
}

.button.inverse {
  border-color: var(--white);
}

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

.button.primary.inverse.line-button {
  color: var(--white);
  background: var(--line-green);
  border-color: var(--line-green);
}

.button.secondary.inverse {
  color: var(--white);
  background: transparent;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0;
}

.hero-points div {
  min-height: 128px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 30px rgba(5, 24, 52, 0.18);
  backdrop-filter: blur(10px);
}

.hero-points dt {
  color: var(--blue);
  font-weight: 900;
}

.hero-points dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.strategy-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(10, 45, 92, 0.98), rgba(18, 74, 145, 0.9)),
    radial-gradient(circle at 72% 18%, rgba(185, 138, 56, 0.34), transparent 26%);
  box-shadow: var(--shadow);
}

.strategy-visual::before,
.strategy-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(-18deg);
}

.strategy-visual::before {
  inset: 40px;
}

.strategy-visual::after {
  inset: 86px;
}

.visual-core {
  position: relative;
  z-index: 2;
  text-align: center;
}

.visual-core strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
}

.visual-core small {
  display: block;
  margin-top: 14px;
  color: #d9e9fb;
  font-weight: 800;
}

.visual-orbit span {
  position: absolute;
  z-index: 1;
  padding: 8px 12px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--white);
}

.visual-orbit span:nth-child(1) {
  top: 54px;
  left: 54px;
}

.visual-orbit span:nth-child(2) {
  right: 46px;
  bottom: 64px;
}

.visual-orbit span:nth-child(3) {
  left: 72px;
  bottom: 50px;
  color: var(--white);
  background: var(--gold);
}

.section {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 6vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: var(--white);
  border-top: 8px solid var(--blue);
}

.intro p:last-child {
  color: #334159;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.news-section {
  background: var(--white);
}

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

.news-list article {
  display: grid;
  grid-template-columns: 128px 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--muted);
  font-weight: 800;
}

.news-list span {
  display: inline-flex;
  justify-content: center;
  padding: 4px 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--blue-soft);
}

.news-list a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

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

.card {
  min-height: 320px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(10, 45, 92, 0.08);
}

.number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
}

.card p,
.service-list p,
.trust-grid span {
  color: var(--muted);
}

.blue-band {
  color: var(--white);
  background: linear-gradient(135deg, rgba(10, 45, 92, 0.98), rgba(18, 74, 145, 0.96));
}

.blue-band h2,
.blue-band h3 {
  color: var(--white);
}

.service-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.service-list article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.service-list p {
  max-width: 820px;
  margin-bottom: 0;
  color: #e2edf9;
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #334159;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--blue);
}

.trust {
  background: var(--blue-soft);
}

.cases-section {
  background: var(--blue-soft);
}

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

.case-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  box-shadow: 0 14px 36px rgba(10, 45, 92, 0.07);
}

.case-grid p {
  color: var(--muted);
}

.process-section {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 190px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(10, 45, 92, 0.06);
  counter-increment: process;
}

.process-list li::before {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
  content: "STEP " counter(process, decimal-leading-zero);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.15rem;
}

.process-list span {
  color: var(--muted);
}

.faq-section {
  background: var(--white);
}

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

.faq-list details {
  padding: 20px 24px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
}

.faq-list summary {
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: #334159;
}

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

.trust-grid div {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
  border-left: 6px solid var(--blue);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.company {
  background: var(--white);
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--blue);
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  color: #334159;
}

.company-table a {
  color: var(--blue);
  font-weight: 700;
}

.cta {
  padding: clamp(56px, 8vw, 100px) 20px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta h2 {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  color: var(--white);
}

.cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #d9e9fb;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 84px);
  color: #dbe7f6;
  background: #071e3f;
}

.footer p {
  margin: 0;
}

.footer-social a {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.split p {
  max-width: 800px;
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(120deg, rgba(234, 242, 251, 0.95), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 88% 24%, rgba(185, 138, 56, 0.16), transparent 26%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: #334159;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto -14px;
  color: #5d6f86;
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #526780;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb span::before {
  content: "/";
  margin-right: 10px;
  color: #9aa9ba;
}

.error-hero {
  min-height: 52vh;
}

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

.service-detail {
  display: grid;
  gap: 24px;
}

.service-detail article {
  padding: clamp(26px, 4vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(10, 45, 92, 0.07);
}

.service-detail h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

.service-detail p {
  max-width: 880px;
  color: #334159;
}

.message {
  background: var(--blue-soft);
}

.message-box {
  max-width: 920px;
  padding: clamp(26px, 4vw, 48px);
  background: var(--white);
  border-left: 8px solid var(--blue);
  box-shadow: 0 14px 36px rgba(10, 45, 92, 0.08);
}

.message-box p {
  color: #334159;
}

.message-box .signature {
  margin: 28px 0 0;
  color: var(--blue-dark);
  font-weight: 900;
  text-align: right;
}

.blog-preview {
  background: var(--blue-soft);
}

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

.blog-card {
  min-height: 330px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(10, 45, 92, 0.07);
}

.blog-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.blog-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

.blog-card h2 a,
.blog-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover,
.text-link:hover {
  color: var(--blue);
}

.blog-card time {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.blog-card p:not(.eyebrow) {
  color: #334159;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  background: var(--blue-soft);
  border: 1px solid rgba(25, 112, 184, 0.18);
}

.blog-list.compact .blog-card {
  min-height: 260px;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.article-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) 0;
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
}

.article-header time {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 900;
}

.article-body {
  padding-top: 34px;
}

.article-body h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.article-body p {
  color: #334159;
  font-size: 1.06rem;
  line-height: 2;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .nav a:not(.nav-cta):not(.social-link) {
    padding: 8px 10px;
    background: var(--blue-soft);
  }

  .hero,
  .intro,
  .area-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-points,
  .strength-grid,
  .trust-grid,
  .case-grid,
  .process-list,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .hero,
  .section,
  .page-hero,
  .cta,
  .footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    min-width: 220px;
  }

  .brand-logo img {
    width: 220px;
  }

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

  .nav a {
    min-height: 42px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .nav .social-link {
    width: 100%;
    height: 42px;
  }

  .nav .nav-cta {
    display: inline-flex;
  }

  .hero,
  .section,
  .page-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    max-width: 100%;
    font-size: 1.46rem;
    line-height: 1.28;
    word-break: break-all;
  }

  .hero h1 {
    font-size: 1.46rem;
    max-width: calc(100vw - 36px);
  }

  .hero .lead {
    max-width: calc(100vw - 36px);
    font-size: 0.95rem;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .strategy-visual {
    min-height: 320px;
  }

  .visual-orbit span:nth-child(1) {
    top: 28px;
    left: 24px;
  }

  .visual-orbit span:nth-child(2) {
    right: 24px;
    bottom: 38px;
  }

  .visual-orbit span:nth-child(3) {
    left: 28px;
    bottom: 32px;
  }

  p,
  li,
  dd {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  h2 {
    font-size: 1.75rem;
  }

  .button {
    width: 100%;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .news-list span {
    width: fit-content;
  }

  .hero-points div {
    min-height: auto;
  }

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

  .footer {
    display: block;
  }

  .footer p + p {
    margin-top: 8px;
  }
}
