/* =========================================================
   Fudosan Eigyo Corporate テーマ
   Layout: 明朝体 + Garamond系英字見出し / ネイビー基調 / 全幅写真
   ========================================================= */
:root {
  --navy: #05173f;
  --navy-2: #0a508e;
  --blue: #005bac;
  --blue-soft: #dce5ec;
  --bg: #ffffff;
  --bg-gray: #f3f4f5;
  --text: #232323;
  --muted: #555555;
  --line: #d9dde2;
  --font-jp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-en: "Cormorant Garamond", "Adobe Garamond Pro", "Times New Roman", serif;
  --header-h: 64px;
  --gutter: clamp(20px, 5vw, 48px);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "palt";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.5; }
p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - var(--gutter) * 2, 900px); margin-inline: auto; }

.en { font-family: var(--font-en); font-weight: 500; letter-spacing: .06em; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(5,23,63,.06);
  transition: transform .35s ease;
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; height: 100%; }
.header__logo { display: flex; align-items: center; height: 100%; padding-left: var(--gutter); margin-right: auto; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.logo__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--navy); color: #fff;
  font-family: var(--font-en); font-weight: 600; font-size: 22px; line-height: 1;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text .en { font-size: 11px; letter-spacing: .3em; color: var(--navy-2); }
.logo__text .jp { font-size: 15px; font-weight: 600; letter-spacing: .12em; }

.gnav { height: 100%; }
.gnav > ul { display: flex; height: 100%; }
.gnav > ul > li { position: relative; height: 100%; }
.gnav > ul > li > a {
  display: flex; align-items: center; height: 100%;
  padding: 0 18px; font-size: 14px; letter-spacing: .1em; color: var(--navy);
  position: relative;
}
.gnav > ul > li > a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 14px;
  height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.gnav > ul > li:hover > a::after, .gnav > ul > li.current-menu-item > a::after, .gnav > ul > li.current-menu-ancestor > a::after, .gnav > ul > li.current-menu-parent > a::after, .gnav > ul > li.current_page_parent > a::after { transform: scaleX(1); }
.gnav .menu-item-has-children > a span { position: relative; padding-bottom: 4px; }
.gnav .menu-item-has-children > a span::after {
  content: ""; position: absolute; left: 50%; bottom: -8px;
  width: 5px; height: 5px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue);
  transform: translateX(-50%) rotate(45deg);
}
.gnav .sub-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: #fff; box-shadow: 0 10px 30px rgba(5,23,63,.12);
  opacity: 0; visibility: hidden; transition: all .25s ease;
}
.gnav .menu-item-has-children:hover .sub-menu, .gnav .menu-item-has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gnav .sub-menu a { display: block; padding: 12px 22px; font-size: 13px; letter-spacing: .08em; color: var(--navy); border-top: 1px solid var(--bg-gray); }
.gnav .sub-menu a:hover { background: var(--bg-gray); }
.gnav .sub-menu a small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--navy-2); }

.header__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 100%; padding: 0 28px;
  background: var(--navy); color: #fff;
  font-family: var(--font-en); font-size: 14px; letter-spacing: .2em;
  transition: background .3s;
}
.header__cta:hover { background: var(--blue); }
.header__cta svg { width: 18px; height: 18px; }

.menu-btn {
  display: none; width: var(--header-h); height: var(--header-h);
  background: var(--navy); border: 0; cursor: pointer; position: relative;
}
.menu-btn span { position: absolute; left: 20px; right: 20px; height: 1px; background: #fff; transition: .3s; }
.menu-btn span:nth-child(1) { top: 24px; }
.menu-btn span:nth-child(2) { top: 32px; }
.menu-btn span:nth-child(3) { top: 40px; }
body.menu-open .menu-btn span:nth-child(1) { top: 32px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { top: 32px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .gnav {
    position: fixed; inset: var(--header-h) 0 0 0; height: auto;
    background: var(--navy); color: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s ease;
  }
  body.menu-open .gnav { transform: none; }
  .gnav > ul { flex-direction: column; height: auto; }
  .gnav > ul > li { height: auto; border-bottom: 1px solid rgba(255,255,255,.15); }
  .gnav > ul > li > a { height: auto; padding: 16px 0; color: #fff; font-size: 16px; }
  .gnav > ul > li > a::after { display: none; }
  .gnav .menu-item-has-children > a span::after { display: none; }
  .gnav .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; min-width: 0; padding-bottom: 8px; }
  .gnav .sub-menu a { color: #fff; padding: 6px 0 6px 16px; border: 0; border-left: 1px solid rgba(255,255,255,.35); font-size: 14px; margin-left: 4px; }
  .gnav .sub-menu a:hover { background: transparent; }
  .gnav .sub-menu a small { color: rgba(255,255,255,.6); }
  .header__cta { display: none; }
  .menu-btn { display: block; }
  .gnav__cta { margin-top: 24px; }
  .gnav__cta a { display: block; text-align: center; padding: 14px; border: 1px solid #fff; color: #fff; letter-spacing: .15em; }
}
@media (min-width: 1024px) { .gnav__cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin-top: var(--header-h);
  height: clamp(480px, 72vh, 760px);
  background: var(--navy) url("../img/realestate.jpg") center/cover no-repeat;
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,23,63,.55), rgba(5,23,63,.15) 60%, rgba(5,23,63,.1)); }
.hero__inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero__copy { padding-bottom: 60px; animation: heroIn 1.2s ease both; }
.hero__title { font-family: var(--font-en); font-weight: 400; font-size: clamp(42px, 7vw, 86px); line-height: 1.05; letter-spacing: .04em; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero__sub { margin-top: 14px; font-size: clamp(16px, 2.2vw, 24px); letter-spacing: .3em; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 28px; font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; }
.hero__scroll::after { content: ""; width: 1px; height: 48px; background: rgba(255,255,255,.7); animation: scrollLine 2s infinite; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Information (news) ---------- */
.info { position: relative; }
.info__inner { display: grid; grid-template-columns: 300px 1fr; gap: 0 60px; align-items: start; }
.info__box {
  margin-top: -140px; position: relative; z-index: 2;
  background: var(--navy); color: #fff; padding: 56px 40px 48px;
  min-height: 240px;
}
.info__box .en { font-size: 20px; letter-spacing: .3em; }
.info__list { padding: 44px 0 24px; }
.info__item { display: grid; grid-template-columns: 110px 1fr; gap: 0 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info__item time { font-family: var(--font-en); font-size: 15px; letter-spacing: .15em; color: var(--muted); padding-top: 3px; }
.info__item a { display: block; transition: color .3s; }
.info__item a:hover { color: var(--blue); }
.info__tag { display: inline-block; margin-top: 6px; padding: 1px 10px; background: var(--bg-gray); color: var(--muted); font-size: 11px; letter-spacing: .1em; line-height: 1.8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-width: 200px; padding: 12px 24px;
  border: 1px solid var(--blue); color: var(--blue); background: transparent;
  font-size: 13px; letter-spacing: .15em; line-height: 1.6; cursor: pointer;
  transition: background .3s, color .3s;
}
.btn::after { content: ""; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); flex: none; }
.btn:hover { background: var(--blue); color: #fff; }
.btn--white { border-color: #fff; color: #fff; }
.btn--white:hover { background: #fff; color: var(--navy); }
.btn--fill { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--fill:hover { background: var(--blue); border-color: var(--blue); }
.btn--en { font-family: var(--font-en); font-size: 15px; letter-spacing: .25em; }

/* ---------- Section titles ---------- */
.sec-title { text-align: center; margin-bottom: 48px; }
.sec-title .en { display: block; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; color: var(--navy); font-weight: 400; }
.sec-title .jp { display: block; margin-top: 10px; font-size: 14px; letter-spacing: .2em; color: var(--text); }
.sec-title--white .en, .sec-title--white .jp { color: #fff; }

.label-line { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.label-line .en { font-size: 22px; color: var(--navy); }
.label-line::after { content: ""; flex: 1; height: 1px; background: var(--line); order: 1; }
.label-line .jp { order: 2; font-size: 12px; letter-spacing: .15em; color: var(--muted); }

.lead-title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.7; letter-spacing: .1em; color: var(--navy); text-wrap: balance; }
.lead-text { margin-top: 24px; max-width: 36em; }

/* ---------- About (top) ---------- */
.about { padding: 110px 0 100px; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.about__body { padding-left: calc((100vw - min(100vw - var(--gutter) * 2, var(--container))) / 2); }
.about__body .btn { margin-top: 40px; }
.about__img { height: clamp(260px, 32vw, 420px); background: center/cover no-repeat; }

/* ---------- Business tiles ---------- */
.business { padding: 100px 0 0; }
.biz-tiles { display: grid; grid-template-columns: 1fr 1fr; }
.biz-tile { position: relative; display: block; height: clamp(260px, 26vw, 420px); overflow: hidden; color: #fff; }
.biz-tile__bg { position: absolute; inset: 0; background: center/cover no-repeat; transition: transform 1.2s ease; }
.biz-tile::before { content: ""; position: absolute; inset: 0; background: rgba(5,23,63,.45); transition: background .5s; z-index: 1; }
.biz-tile:hover .biz-tile__bg { transform: scale(1.06); }
.biz-tile:hover::before { background: rgba(5,23,63,.6); }
.biz-tile__text { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.biz-tile__text .en { font-size: 16px; letter-spacing: .3em; opacity: .9; }
.biz-tile__text .jp { margin-top: 8px; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .2em; }
.biz-tile__text .desc { margin-top: 12px; font-size: 13px; letter-spacing: .1em; opacity: .9; max-width: 26em; }
.biz-tile__text .more { margin-top: 20px; font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 4px; }

/* ---------- Recruit (1行) ---------- */
.recruit { padding: 100px 0; text-align: center; }
.recruit__line { font-size: 15px; letter-spacing: .12em; }
.recruit__line a { color: var(--blue); border-bottom: 1px solid currentColor; }
.recruit__line a:hover { opacity: .7; }

/* ---------- Contact CTA ---------- */
.cta { background: var(--bg-gray); padding: 80px 0; }
.cta__box { background: #fff; padding: 56px 40px; text-align: center; }
.cta__box .en { font-size: 40px; color: var(--navy); font-weight: 400; line-height: 1.1; }
.cta__box .jp { margin-top: 6px; font-size: 13px; letter-spacing: .2em; }
.cta__box p { margin-top: 20px; }
.cta__btns { margin-top: 28px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta__tel { font-family: var(--font-en); font-size: 28px; letter-spacing: .1em; color: var(--navy); line-height: 1.2; }
.cta__tel small { display: block; font-family: var(--font-jp); font-size: 12px; letter-spacing: .15em; color: var(--muted); }

/* ---------- Footer ---------- */
.footer-banner { position: relative; height: clamp(220px, 28vw, 360px); background: var(--navy) url("../img/hero.jpg") center 55%/cover no-repeat; color: #fff; display: flex; align-items: flex-end; }
.footer-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,23,63,.2), rgba(5,23,63,.75)); }
.footer-banner__inner { position: relative; display: flex; flex-wrap: wrap; gap: 8px 60px; padding-bottom: 32px; align-items: flex-end; }
.footer-banner__name { font-size: 18px; letter-spacing: .15em; }
.footer-banner__name .en { display: block; font-size: 13px; letter-spacing: .25em; opacity: .85; }
.footer-banner__addr { font-size: 13px; letter-spacing: .1em; line-height: 1.9; }
.footer { background: var(--navy); color: #fff; padding: 56px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer__col > a, .footer__col > strong { display: block; font-size: 14px; letter-spacing: .12em; margin-bottom: 10px; font-weight: 500; }
.footer__col ul a { display: block; font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.75); padding: 4px 0; transition: color .3s; }
.footer__col ul a:hover, .footer__col > a:hover { color: #fff; }
.footer__col ul a::before { content: "– "; opacity: .5; }
.footer__bottom { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-family: var(--font-en); font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.footer__privacy { font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.footer__privacy:hover { color: #fff; }

.pagetop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; background: rgba(10,80,142,.85); color: #fff;
  border: 0; cursor: pointer; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .3s;
}
.pagetop.is-show { opacity: 1; visibility: visible; }
.pagetop:hover { background: var(--blue); }
.pagetop::before { content: ""; width: 10px; height: 10px; border-top: 1px solid #fff; border-left: 1px solid #fff; transform: translateY(3px) rotate(45deg); }

/* ---------- Sub pages ---------- */
.page-head { position: relative; margin-top: var(--header-h); height: clamp(220px, 30vw, 380px); background: var(--navy) center/cover no-repeat; color: #fff; display: flex; align-items: center; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,23,63,.65), rgba(5,23,63,.25)); }
.page-head__inner { position: relative; }
.page-head .en { display: block; font-size: clamp(40px, 6vw, 64px); line-height: 1.1; font-weight: 400; }
.page-head .jp { display: block; margin-top: 8px; font-size: 14px; letter-spacing: .25em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; font-size: 12px; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--bg-gray); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li + li::before { content: ">"; margin-right: 6px; opacity: .5; }

.section { padding: 90px 0; }
.section--gray { background: var(--bg-gray); }
.section--navy { background: var(--navy); color: #fff; }
.section:not(.section--gray):not(.section--navy) + .section:not(.section--gray):not(.section--navy) { padding-top: 0; }

.intro { text-align: center; }
.intro .lead-title { text-align: center; }
.intro .lead-text { margin-inline: auto; text-align: left; }
@media (min-width: 768px) { .intro .lead-text { text-align: center; } }
@media (max-width: 767px) { .intro p { text-align: left; } }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split__img { aspect-ratio: 4/3; background: center/cover no-repeat; }
.split h3 { font-size: 22px; letter-spacing: .12em; color: var(--navy); margin-bottom: 16px; }
.split h3 .en { display: block; font-size: 13px; letter-spacing: .3em; color: var(--navy-2); margin-bottom: 4px; }
.split + .split { margin-top: 80px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: #fff; padding: 36px 32px; border-top: 2px solid var(--navy); }
.card .num { font-family: var(--font-en); font-size: 32px; color: var(--navy-2); line-height: 1; }
.card h3 { margin-top: 14px; font-size: 18px; letter-spacing: .12em; color: var(--navy); }
.card p { margin-top: 12px; font-size: 14px; }
.section--navy .card { background: rgba(255,255,255,.06); border-top-color: rgba(255,255,255,.6); }
.section--navy .card h3, .section--navy .card .num { color: #fff; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 32px; text-align: center; }
.feature__icon { width: 64px; height: 64px; margin: 0 auto 16px; border: 1px solid var(--navy); border-radius: 50%; display: grid; place-items: center; color: var(--navy); }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 17px; letter-spacing: .12em; color: var(--navy); }
.feature p { margin-top: 10px; font-size: 14px; text-align: left; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.stat { padding: 32px 16px; border: 1px solid rgba(255,255,255,.25); }
.stat .num { font-family: var(--font-en); font-size: 56px; line-height: 1; font-weight: 400; }
.stat .num small { font-size: 20px; margin-left: 4px; }
.stat .cap { margin-top: 10px; font-size: 13px; letter-spacing: .15em; }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; counter-reset: flow; }
.flow__step { position: relative; background: #fff; padding: 28px 22px 26px; counter-increment: flow; }
.flow__step::before { content: "0" counter(flow); font-family: var(--font-en); font-size: 28px; color: var(--navy-2); line-height: 1; display: block; margin-bottom: 10px; }
.flow__step h3 { font-size: 16px; letter-spacing: .1em; color: var(--navy); }
.flow__step p { margin-top: 8px; font-size: 13px; line-height: 1.8; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -12px; width: 8px; height: 8px; border-top: 1px solid var(--navy-2); border-right: 1px solid var(--navy-2); transform: rotate(45deg); z-index: 1; }

.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 48px; }
.service { border-top: 1px solid var(--line); padding-top: 20px; }
.service h3 { font-size: 18px; letter-spacing: .12em; color: var(--navy); display: flex; align-items: baseline; gap: 14px; }
.service h3 .en { font-size: 12px; letter-spacing: .25em; color: var(--navy-2); }
.service p { margin-top: 10px; font-size: 14px; }
.service ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.service ul li { font-size: 12px; letter-spacing: .08em; padding: 2px 12px; background: var(--bg-gray); color: var(--muted); }

/* Greeting */
.greeting { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 56px; align-items: start; }
.greeting__img { aspect-ratio: 3/4; background: center/cover no-repeat; }
.greeting__img--photo { aspect-ratio: 4/5; background-position: 58% 20%; background-color: var(--bg-gray); }
.greeting__name { margin-top: 32px; text-align: right; }
.greeting__name small { display: block; font-size: 12px; letter-spacing: .15em; color: var(--muted); }
.greeting__name strong { font-size: 20px; letter-spacing: .25em; font-weight: 500; }
.greeting p + p { margin-top: 1.2em; }

/* Philosophy */
.philosophy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.philosophy__item { background: #fff; padding: 40px 32px; text-align: center; }
.philosophy__item .en { display: block; font-size: 30px; color: var(--navy); line-height: 1; font-weight: 400; }
.philosophy__item .jp { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .25em; color: var(--muted); }
.philosophy__item p { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.9; color: var(--navy); letter-spacing: .1em; }
.philosophy__list { text-align: left; margin-top: 20px; counter-reset: ph; }
.philosophy__list li { position: relative; padding-left: 2em; font-size: 14px; margin-top: 8px; counter-increment: ph; }
.philosophy__list li::before { content: counter(ph) "."; position: absolute; left: 0; font-family: var(--font-en); font-size: 16px; color: var(--navy-2); }

/* Profile table */
.profile { display: grid; gap: 8px; }
.profile__row { display: grid; grid-template-columns: 180px 1fr; background: #fff; padding: 22px 32px; gap: 16px; }
.profile__row dt { color: var(--muted); font-size: 14px; letter-spacing: .15em; }
.profile__row dd { margin: 0; font-size: 15px; }
.profile__row dd small { display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: .1em; color: var(--muted); }

/* Office */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 640px)); justify-content: center; gap: 32px; }
.office { background: #fff; border: 1px solid var(--line); }
.office__map { aspect-ratio: 16/9; background: var(--blue-soft); }
.office__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.office__body { padding: 24px 28px 28px; }
.office__body h3 { font-size: 17px; letter-spacing: .12em; color: var(--navy); }
.office__body p { margin-top: 8px; font-size: 14px; }
.office__body a { color: var(--blue); font-size: 13px; letter-spacing: .1em; border-bottom: 1px solid currentColor; }

/* News list */
.news-list { border-top: 1px solid var(--line); }
.news-list .info__item { padding: 24px 0; }
.news-article h1 { font-size: clamp(22px, 3vw, 30px); line-height: 1.6; letter-spacing: .08em; color: var(--navy); }
.news-article .meta { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.news-article .body { margin-top: 32px; }
.news-article .body p + p { margin-top: 1.2em; }

/* Form */
.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; align-items: start; }
.form__row > label, .form__row > .form__label { font-size: 14px; letter-spacing: .12em; padding-top: 12px; }
.req { display: inline-block; margin-left: 8px; padding: 0 8px; background: var(--blue); color: #fff; font-size: 11px; letter-spacing: .1em; line-height: 1.8; vertical-align: middle; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); background: #fff;
  font-family: inherit; font-size: 15px; line-height: 1.6; color: var(--text);
}
.form textarea { min-height: 180px; resize: vertical; }
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23005bac'/%3E%3C/svg%3E") right 16px center no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; }
.form__agree { grid-column: 1 / -1; text-align: center; font-size: 14px; }
.form__agree a { color: var(--blue); border-bottom: 1px solid currentColor; }
.form__submit { grid-column: 1 / -1; text-align: center; }
.form__submit .btn { min-width: 280px; justify-content: center; gap: 0; }
.form__submit .btn::after { margin-left: 16px; }
.form__note { font-size: 13px; color: var(--muted); }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 10px; }
.radios label { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* Privacy */
.prose h2 { font-size: 20px; letter-spacing: .12em; color: var(--navy); margin: 48px 0 16px; padding-left: 14px; border-left: 3px solid var(--navy); }
.prose p + p { margin-top: 1em; }
.prose ul { margin: 12px 0 0 1.4em; list-style: disc; padding: 0; }
.prose ul li { margin-top: 4px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg-gray); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.loader { animation: loaderOut .6s ease 1.6s forwards; }
.loader.is-done { opacity: 0; visibility: hidden; }
.no-loader .loader { display: none; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
.loader .logo { transform: scale(1.3); animation: loaderPulse 1.2s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__copy, .hero__scroll::after, .loader .logo { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .about__body { padding-left: 0; }
}
@media (max-width: 860px) {
  .info__inner { grid-template-columns: 1fr; gap: 0; }
  .info__box { margin-top: -80px; margin-right: 15%; padding: 36px 28px 32px; min-height: 0; }
  .about { padding: 80px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__img { order: -1; margin-right: calc(var(--gutter) * -1); }
  .biz-tiles { grid-template-columns: 1fr; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 28px; }
  .split--rev > :first-child { order: 0; }
  .greeting { grid-template-columns: 1fr; gap: 28px; }
  .greeting__img { max-width: 320px; }
  .profile__row { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 6px; }
  .form__row > label, .form__row > .form__label { padding-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .flow__step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .info__item { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .cta__box { padding: 40px 24px; }
  .hero__scroll { display: none; }
  .pagetop { right: 12px; bottom: 12px; }
}

/* =========================================================
   WordPress 固有
   ========================================================= */
.logo--image img { max-height: 44px; width: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
.gnav > .menu { display: flex; height: 100%; }
@media (max-width: 1023px) { .gnav > .menu { flex-direction: column; height: auto; } }

.notice { padding: 16px 20px; margin-bottom: 32px; font-size: 14px; line-height: 1.8; }
.notice--error { background: #fdf0f0; border-left: 3px solid #b3261e; color: #8c1d18; }
.notice--ok { background: var(--blue-soft); border-left: 3px solid var(--blue); color: var(--navy); }
.notice ul { margin-top: 6px; padding-left: 1.2em; list-style: disc; }

/* =========================================================
   Blog
   ========================================================= */
.blog-top { padding: 0 0 100px; }
.blog-top__more { margin-top: 48px; text-align: center; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 48px; }
.cat-tabs a { display: inline-block; padding: 6px 18px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .1em; color: var(--navy); transition: all .25s; }
.cat-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.cat-tabs a.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.post-card { display: flex; flex-direction: column; }
.post-card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
.post-card__thumb img, .post-card__thumb span { display: block; width: 100%; height: 100%; object-fit: cover; background: center/cover no-repeat; transition: transform .8s ease; }
.post-card:hover .post-card__thumb img, .post-card:hover .post-card__thumb span { transform: scale(1.05); }
.post-card__meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.post-card__meta time { font-family: var(--font-en); font-size: 15px; letter-spacing: .12em; color: var(--muted); }
.post-card__cat { display: inline-block; padding: 0 10px; background: var(--bg-gray); color: var(--navy); font-size: 11px; letter-spacing: .1em; line-height: 2; }
a.post-card__cat:hover { background: var(--navy); color: #fff; }
.post-card__title { margin-top: 10px; font-size: 16px; line-height: 1.7; letter-spacing: .06em; }
.post-card__title a { color: var(--navy); transition: color .25s; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.archive-head { text-align: center; margin-bottom: 40px; }
.archive-head h2 { font-size: 22px; letter-spacing: .12em; color: var(--navy); }
.archive-head p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }

.pagination { margin-top: 64px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--line); font-family: var(--font-en); font-size: 16px; color: var(--navy); transition: all .25s; }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .page-numbers.dots { border: 0; }

.search-form { display: flex; max-width: 520px; margin: 0 auto 40px; border: 1px solid var(--line); background: #fff; }
.search-form label { flex: 1; min-width: 0; }
.search-form input[type="search"] { width: 100%; height: 48px; padding: 0 16px; border: 0; font-family: inherit; font-size: 15px; background: transparent; color: var(--text); }
.search-form input[type="search"]:focus { outline: none; }
.search-form:focus-within { border-color: var(--blue); }
.search-form button { width: 56px; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search-form button svg { width: 18px; height: 18px; }

/* Single */
.article { width: min(100% - var(--gutter) * 2, 800px); margin-inline: auto; }
.article__head { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.article__meta time { font-family: var(--font-en); font-size: 16px; letter-spacing: .12em; }
.article__title { font-size: clamp(22px, 3vw, 30px); line-height: 1.6; letter-spacing: .08em; color: var(--navy); text-wrap: balance; }
.article__thumb { margin-top: 32px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-soft); }
.article__thumb img { width: 100%; height: 100%; object-fit: cover; }
.article__tags { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.article__tags a { font-size: 12px; letter-spacing: .08em; padding: 2px 12px; border: 1px solid var(--line); color: var(--muted); }
.article__tags a::before { content: "#"; }
.article__tags a:hover { border-color: var(--blue); color: var(--blue); }
.article__share { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.article__share a, .article__share button { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-size: 12px; letter-spacing: .08em; color: var(--navy); cursor: pointer; }
.article__share a:hover, .article__share button:hover { border-color: var(--blue); color: var(--blue); }

.toc { margin: 40px 0 0; padding: 24px 28px; background: var(--bg-gray); }
.toc__title { font-family: var(--font-en); font-size: 18px; letter-spacing: .2em; color: var(--navy); }
.toc__title small { font-family: var(--font-jp); font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-left: 10px; }
.toc ol { margin-top: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; font-size: 14px; line-height: 1.8; padding: 4px 0; }
.toc li a { display: flex; gap: 10px; color: var(--navy); }
.toc li a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-en); color: var(--navy-2); flex: none; }
.toc li a:hover { color: var(--blue); }
.toc li.toc-h3 { padding-left: 2.2em; font-size: 13px; counter-increment: none; }
.toc li.toc-h3 a::before { content: "–"; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.post-nav a { display: block; padding: 20px 24px; border: 1px solid var(--line); transition: border-color .25s; min-width: 0; }
.post-nav a:hover { border-color: var(--blue); }
.post-nav small { display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: var(--navy-2); }
.post-nav span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-nav .next { text-align: right; grid-column: 2; }
.back-to-list { margin-top: 48px; text-align: center; }

.related { background: var(--bg-gray); padding: 80px 0; margin-top: 90px; }
.related .post-card__title a { color: var(--navy); }

/* 本文（ブロックエディタの出力） */
.entry { margin-top: 40px; font-size: 16px; line-height: 2.05; letter-spacing: .05em; }
.entry > * + * { margin-top: 1.4em; }
.entry h2 { margin-top: 2.6em; padding: 14px 0 14px 20px; border-left: 3px solid var(--navy); background: var(--bg-gray); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.6; letter-spacing: .08em; color: var(--navy); scroll-margin-top: calc(var(--header-h) + 24px); }
.entry h3 { margin-top: 2.2em; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 18px; letter-spacing: .08em; color: var(--navy); scroll-margin-top: calc(var(--header-h) + 24px); }
.entry h4 { margin-top: 1.8em; font-size: 16px; color: var(--navy); }
.entry a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { text-decoration: none; }
.entry ul, .entry ol { padding-left: 1.5em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li + li { margin-top: .3em; }
.entry li::marker { color: var(--navy-2); }
.entry strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(0,91,172,.14) 62%); }
.entry blockquote, .entry .wp-block-quote { margin-left: 0; margin-right: 0; padding: 20px 24px; border-left: 3px solid var(--line); background: var(--bg-gray); color: var(--muted); }
.entry blockquote cite { display: block; margin-top: 8px; font-size: 12px; font-style: normal; }
.entry table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.entry th, .entry thead td { background: var(--bg-gray); color: var(--navy); font-weight: 500; }
.entry .wp-block-table { overflow-x: auto; }
.entry figure { margin-left: 0; margin-right: 0; }
.entry img { height: auto; }
.entry figcaption, .entry .wp-caption-text { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.entry pre { overflow-x: auto; padding: 16px 20px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.7; }
.entry .wp-block-button__link { display: inline-block; padding: 12px 32px; background: var(--navy); color: #fff; text-decoration: none; border-radius: 0; letter-spacing: .12em; font-size: 14px; }
.entry .wp-block-button__link:hover { background: var(--blue); }
.entry .has-background { padding: 20px 24px; }
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-caption { max-width: 100%; }
.entry::after { content: ""; display: table; clear: both; }

/* 汎用固定ページ */
.page-body .entry { margin-top: 0; }

/* 404 */
.not-found { text-align: center; }
.not-found .en { display: block; font-size: 88px; line-height: 1; color: var(--navy); font-weight: 400; }
.not-found p { margin-top: 16px; }
.not-found .btn { margin-top: 32px; }

@media (max-width: 1023px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alignwide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; gap: 36px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { grid-column: 1; }
  .entry { font-size: 15px; }
  .toc { padding: 20px; }
  .alignleft, .alignright { float: none; margin: 1em auto; }
}
