:root {
  --color-ink: #1f2933;
  --color-muted: #617080;
  --color-main: #1f4e79;
  --color-main-dark: #173b5d;
  --color-line: #d9e3ec;
  --color-soft: #f5f8fa;
  --color-white: #ffffff;
  --font-sans: "Yu Gothic", "YuGothic", "Hiragino Sans", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0.02em;
  background: var(--color-white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand-logo { width: 220px; max-height: 52px; object-fit: contain; display: block; }
.site-nav { display: flex; gap: 22px; align-items: center; font-size: 14px; color: var(--color-muted); }
.site-nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--color-main); }
.hero { padding: 84px 0 76px; background: linear-gradient(135deg, #ffffff 0%, #f4f8fb 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--color-main); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(32px, 4vw, 48px); line-height: 1.35; letter-spacing: .03em; color: var(--color-main-dark); }
h2 { margin-bottom: 22px; font-size: clamp(25px, 3vw, 34px); line-height: 1.45; color: var(--color-main-dark); }
h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.55; color: var(--color-main-dark); }
p { margin-bottom: 16px; }
.lead { font-size: 18px; color: #334155; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; color: #fff; background: var(--color-main); border: 1px solid var(--color-main); font-weight: 700; font-size: 14px; }
.button:hover { background: var(--color-main-dark); border-color: var(--color-main-dark); }
.button-outline { color: var(--color-main); background: transparent; }
.button-outline:hover { color: #fff; }
.hero-panel { padding: 30px; border-radius: 24px; background: rgba(255,255,255,.82); border: 1px solid var(--color-line); box-shadow: 0 18px 60px rgba(31,78,121,.10); }
.hero-panel dl, .hero-panel dd { margin: 0; }
.hero-panel div { padding: 18px 0; border-bottom: 1px solid var(--color-line); }
.hero-panel div:last-child { border-bottom: 0; }
.hero-panel dt { color: var(--color-main); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.hero-panel dd { font-weight: 700; }
.section { padding: 76px 0; }
.section-soft { background: var(--color-soft); }
.two-column { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 60px; }
.section-lead { max-width: 780px; color: var(--color-muted); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.card { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--color-line); }
.card p { color: var(--color-muted); margin-bottom: 0; }
.feature-list { display: grid; gap: 20px; }
.feature-list > div { padding: 22px 0; border-bottom: 1px solid var(--color-line); }
.feature-list p { color: var(--color-muted); margin-bottom: 0; }
.flow-list { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; gap: 16px; }
.flow-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--color-line); }
.flow-list span { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--color-main); color: #fff; font-weight: 700; }
.flow-list p { color: var(--color-muted); margin-bottom: 0; }
.text-link { display: inline-flex; color: var(--color-main); font-weight: 700; border-bottom: 1px solid currentColor; }
.cta-box { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 34px; border: 1px solid var(--color-line); border-radius: 24px; background: #fff; }
.cta-box p { margin-bottom: 0; color: var(--color-muted); }
.site-footer { padding: 40px 0; background: #173b5d; color: #e9f1f7; }
.footer-inner { display: grid; gap: 18px; }
.footer-name { margin-bottom: 2px; font-weight: 700; font-size: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: #c9d8e4; }
.copyright { margin: 0; color: #b7c8d6; font-size: 13px; }
@media (max-width: 860px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .site-nav { flex-wrap: wrap; gap: 10px 18px; }
  .hero { padding: 56px 0; }
  .hero-grid, .two-column { grid-template-columns: 1fr; gap: 34px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }
  .brand-logo { width: 190px; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-panel { padding: 22px; }
  .section { padding: 56px 0; }
}

/* フッターリンクのホバー表示 */

.site-footer nav a {
  position: relative;
  display: inline-block;
  color: #e9f1f7;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.site-footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #c6a15b;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: #ffffff;
}

.site-footer nav a:hover::after,
.site-footer nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-footer nav a:focus-visible {
  outline: 2px solid #c6a15b;
  outline-offset: 4px;
}

/* トップページ「事務所案内を見る」の金色バー */
.cta-box .button {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.cta-box .button::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 8px;
  height: 2px;
  background-color: #c6a15b;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.cta-box .button:hover,
.cta-box .button:focus-visible {
  background-color: #102d43;
  color: #ffffff;
  transform: translateY(-1px);
}

.cta-box .button:hover::after,
.cta-box .button:focus-visible::after {
  transform: scaleX(1);
}

.cta-box .button:focus-visible {
  outline: 2px solid #c6a15b;
  outline-offset: 3px;
}

body {
  background-color: #f5f9fc;
}

.site-header {
  background-color: rgba(255, 255, 255, 0.97);
}

.hero {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f5f9fc 55%,
      #eaf2f7 100%
    );
}

.section {
  background-color: #f5f9fc;
}

.section-soft {
  background-color: #f5f9fc;
}

.card {
  background-color: #ffffff;
}

.hero-panel {
  background-color: rgba(255, 255, 255, 0.92);
}

.flow-list li {
  background-color: #ffffff;
}

.cta-box {
  background-color: #ffffff;
}

.cta-box .button {
  flex-shrink: 0;
  width: auto;
  min-width: 0;
  white-space: nowrap;
}

.footer-logo-link {
  display: inline-block;
  width: fit-content;
  line-height: 0;
}

.footer-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 560px) {
  .footer-logo {
    width: 210px;
  }
}

.hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 40px;
}

.hero-title {
  font-size: clamp(30px, 3.2vw, 44px);
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(30px, 7.5vw, 38px);
  }

  .hero-title span {
    display: inline;
    white-space: normal;
  }
}

