:root{
  --navy:#d8e0ea;
  --navy-deep:#f2f5f8;
  --gold:#cfd5dc;
  --gold-dark:#a7b0ba;
  --ink:#f4f7fb;
  --text:#d3d9e1;
  --paper:#f6f8fb;
  --soft:#0f141a;
  --line:#2a323c;
  --shadow:0 12px 30px rgba(0,0,0,.38);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;background:#06080b}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container-wide{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.site-header{height:96px;background:#0a0d12;border-bottom:1px solid #20262e;position:relative;z-index:20}
.header-inner{height:100%;width:min(1180px,calc(100% - 40px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:34px}
.brand{display:flex;flex-direction:row;align-items:center;line-height:1.04;color:#f5f7fa;gap:8px}
.brand-text{display:flex;flex-direction:column;justify-content:center;margin-left:14px}
.brand-badge{width:62px;height:62px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;filter:drop-shadow(0 2px 6px rgba(255,255,255,.10))}
.brand-badge img{display:block;width:100%;height:100%;object-fit:contain}
.brand-kicker{font-size:14px;letter-spacing:.04em;font-weight:800;white-space:nowrap;background:linear-gradient(180deg,#f8fbff 0%,#e7ebf0 24%,#bcc4cc 55%,#9ca5af 76%,#eff3f7 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 1px 6px rgba(255,255,255,.06)}
.brand-name{font-size:33px;font-weight:800;letter-spacing:.03em;line-height:1.04;white-space:nowrap;background:linear-gradient(180deg,#fbfdff 0%,#eef2f6 20%,#ccd3da 46%,#a4adb7 68%,#eef2f6 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 1px 8px rgba(255,255,255,.05)}
.global-nav{display:flex;gap:36px;align-items:center;font-size:15px;font-weight:700;color:#d0d7df;white-space:nowrap}
.global-nav a{position:relative;padding:36px 0 30px}
.global-nav a.is-current{color:var(--gold-dark)}
.global-nav a.is-current::after{content:"";position:absolute;left:0;right:0;bottom:21px;height:2px;background:var(--gold)}
.menu-toggle{display:none;border:1px solid #8090a2;background:#0d1218;color:#e7edf5;padding:9px 12px;font-weight:700}
.hero{position:relative;height:520px;overflow:hidden;background:#0b2239}
.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%;filter:brightness(1.23) contrast(1.05) saturate(1.04)}
.hero-shade{position:absolute;inset:0;background:radial-gradient(circle at 72% 40%,rgba(255,255,255,.20),rgba(255,255,255,0) 30%),linear-gradient(90deg,rgba(1,20,37,.74) 0%,rgba(1,20,37,.42) 25%,rgba(1,20,37,.08) 54%,rgba(1,20,37,0) 76%)}
.hero-inner{position:relative;z-index:2;width:min(1180px,calc(100% - 40px));height:100%;margin:auto;display:flex;align-items:flex-end;padding-bottom:10px}
.hero-copy{width:560px;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.35)}
.hero-copy h1{margin:0;font-size:50px;line-height:1.25;letter-spacing:.05em;font-weight:700}
.gold-line{width:54px;height:3px;background:var(--gold);margin:18px 0}
.hero-copy p{margin:0 0 22px;font-size:19px;line-height:1.7;font-weight:600}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-width:220px;height:56px;padding:0 22px;border-radius:4px;font-weight:700;letter-spacing:.03em;box-shadow:0 4px 16px rgba(0,0,0,.18);gap:13px;text-shadow:none}
.btn-gold{background:linear-gradient(#dce2e8,#adb5bf);color:#0b1016;border:1px solid #f5f8fc}
.btn-navy{background:rgba(4,34,62,.92);color:#fff;border:1px solid rgba(255,255,255,.7)}
.section{padding:26px 0 34px}
.section-heading{text-align:center;margin-bottom:18px;color:var(--navy)}
.section-heading h2{font-size:34px;margin:0 0 6px;letter-spacing:.08em}
.section-heading p{margin:0;font-size:16px;color:#98a3af}
.services-section{background:#06080b}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.service-card{border:1px solid var(--line);background:#121820;box-shadow:0 10px 24px rgba(0,0,0,.28);position:relative;overflow:hidden}
.service-visual{height:118px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background-size:cover;background-position:center center;background-repeat:no-repeat;background-color:#ddd}
.service-visual::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.14))}
.service-visual span{display:none}
.visual-house{background-image:url("images/service-inheritance.png")}
.visual-document{background-image:url("images/service-realestate.png")}
.visual-building{background-image:url("images/service-corporate.png")}
.visual-legal{background-image:url("images/service-consultation.png")}
.service-body{padding:16px 18px 20px;min-height:166px;position:relative}
.service-title-row{display:flex;align-items:center;gap:10px;color:var(--navy)}
.service-title-row h3{font-size:21px;margin:0;letter-spacing:.04em}
.service-icon{font-size:27px;color:var(--gold)}
.service-body p{font-size:14px;line-height:1.7;margin:12px 32px 0 0;color:#b8c2cc}
.round-arrow{position:absolute;right:14px;bottom:14px;width:24px;height:24px;border-radius:50%;background:var(--gold);color:#081019;display:grid;place-items:center;font-size:22px;line-height:1}
.profile-section{background:#0a0d12;padding:0}
.profile-grid{display:grid;grid-template-columns:1.2fr .85fr 1.05fr;align-items:stretch;min-height:365px}
.profile-photo-wrap,.office-photo-wrap{overflow:hidden;background:#ddd}
.profile-photo-wrap img,.office-photo-wrap img{width:100%;height:100%;object-fit:cover}
.profile-photo-wrap img{object-position:center 34%}
.office-photo-wrap img{object-position:center center}
.profile-copy{background:#0f141b;padding:18px 26px 24px;display:flex;flex-direction:column;justify-content:center}
.profile-copy h2{margin:0;color:var(--navy);font-size:31px;letter-spacing:.06em}
.gold-line.short{width:48px;margin:9px 0 12px}
.profile-role{margin:0 0 4px;color:#a3adb9;font-size:15px}
.profile-name-row{display:flex;align-items:baseline;gap:14px;margin-bottom:9px}
.profile-name-row h3{margin:0;color:var(--navy);font-size:32px;letter-spacing:.12em;white-space:nowrap;flex-shrink:0}
.profile-name-row span{color:#b0b8c2;font-family:Georgia,serif;font-size:14px}
.profile-copy>p:last-of-type{font-size:14px;line-height:1.72;margin:0 0 16px;color:#ccd4dd}
.outline-btn,.small-outline-btn{display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--gold);color:#eef2f7;font-weight:700;background:#10151c;letter-spacing:.03em}
.outline-btn{height:48px;padding:0 18px;align-self:flex-start;gap:18px}
.offices-section{padding-top:24px;padding-bottom:28px}
.office-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.office-card{display:block;border:1px solid var(--line);background:#121820;box-shadow:0 10px 24px rgba(0,0,0,.26);overflow:hidden;min-height:160px}
.office-visual{display:flex;align-items:center;justify-content:center;position:relative;color:#fff;font-family:Georgia,serif;letter-spacing:.15em;font-weight:700}
.office-visual::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.08),rgba(0,0,0,.38))}
.office-visual span{position:relative;z-index:1;font-size:17px}
.tokyo-visual{background:linear-gradient(135deg,#67a6d6,#8cc4d8 45%,#506a89)}
.okayama-visual{background:linear-gradient(135deg,#92b56e,#8cc7df 45%,#d6ae61)}
.office-card-body{padding:22px 22px 18px}
.office-card h3{margin:0 0 8px;color:var(--navy);font-size:21px}
.address{line-height:1.65;margin:0 0 12px;font-size:14px}
.small-outline-btn{height:36px;padding:0 18px;font-size:13px;gap:12px}
.site-footer{background:linear-gradient(180deg,#0b0e13,#05070a);color:#fff;padding:24px 0 0}
.footer-main{display:grid;grid-template-columns:1.25fr 1.5fr .8fr auto;gap:22px;align-items:center;padding-bottom:18px}
.footer-brand{display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.35);padding-right:24px}
.footer-brand span{font-size:13px;margin-bottom:4px}
.footer-brand strong{font-size:24px;letter-spacing:.06em;white-space:nowrap}
.footer-contact{font-size:16px;line-height:1.7}
.footer-contact a{color:#fff}
.footer-hours{text-align:center;font-size:17px;line-height:1.5;border-left:1px solid rgba(255,255,255,.35);padding-left:20px}
.footer-hours span{font-size:14px}
.footer-mail-btn{background:linear-gradient(#e4aa30,#c5860a);border:1px solid #f2c05c;border-radius:4px;height:48px;padding:0 18px;display:flex;align-items:center;gap:12px;font-weight:700;white-space:nowrap}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;align-items:center;padding:12px 0 14px;font-size:12px;gap:20px}
.footer-bottom nav{display:flex;gap:10px;flex-wrap:wrap}
.footer-bottom small{opacity:.8}
@media(max-width:980px){
  .brand-name{font-size:28px}.brand-badge{width:50px;height:50px}.brand-kicker{font-size:12px}.global-nav{gap:18px;font-size:13px}
  .hero{height:470px}.hero-copy h1{font-size:42px}.hero-copy p{font-size:17px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .profile-grid{grid-template-columns:1fr 1fr}.profile-copy{order:3;grid-column:1/-1}.profile-photo-wrap,.office-photo-wrap{height:360px}
  .office-grid{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr 1fr}.footer-brand{border-right:0}.footer-hours{border-left:0;text-align:left;padding-left:0}.footer-mail-btn{justify-self:start}
}
@media(max-width:760px){
  .site-header{height:78px;position:sticky;top:0}
  .header-inner{width:calc(100% - 28px)}
  .brand-name{font-size:22px}.brand-badge{width:40px;height:40px}.brand-kicker{font-size:10px}
  .menu-toggle{display:block}
  .global-nav{display:none;position:absolute;left:0;right:0;top:78px;background:#0b1016;flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 14px;border-bottom:1px solid var(--line);box-shadow:0 10px 20px rgba(0,0,0,.35)}
  .global-nav.is-open{display:flex}.global-nav a{padding:12px 4px;border-bottom:1px solid #eef1f4}.global-nav a.is-current::after{display:none}
  .hero{height:560px}.hero-image{object-position:62% center}.hero-shade{background:linear-gradient(90deg,rgba(1,20,37,.78),rgba(1,20,37,.42) 70%,rgba(1,20,37,.18))}
  .hero-inner{width:calc(100% - 32px);align-items:flex-end;padding-bottom:8px}.hero-copy{width:100%}.hero-copy h1{font-size:36px}.hero-copy p{font-size:16px}.btn{min-width:0;flex:1;height:52px;padding:0 14px}
  .section{padding:28px 0}.section-heading h2{font-size:29px}.section-heading p{font-size:14px;padding:0 18px}
  .service-grid{grid-template-columns:1fr;width:calc(100% - 28px)}
  .profile-grid{width:100%;grid-template-columns:1fr}.profile-photo-wrap,.office-photo-wrap{height:390px}.profile-copy{grid-column:auto;order:2;padding:28px 22px}.office-photo-wrap{order:3}.profile-copy h2{font-size:29px}.profile-name-row{flex-wrap:wrap}.profile-name-row h3{font-size:30px}
  .office-grid{width:calc(100% - 28px)}
  .footer-main{width:calc(100% - 28px);grid-template-columns:1fr}.footer-brand{padding-right:0}.footer-contact,.footer-hours{font-size:15px}.footer-mail-btn{width:100%;justify-content:center}.footer-bottom{width:calc(100% - 28px);flex-direction:column;align-items:flex-start}.footer-bottom nav{line-height:1.8}
}
@media(max-width:460px){
  .brand-kicker{font-size:8px}.brand-badge{width:32px;height:32px}.brand-name{font-size:17px}.hero-copy h1{font-size:31px}.hero-actions{flex-direction:column}.btn{width:100%}.profile-photo-wrap,.office-photo-wrap{height:320px}
}

.profile-details-section{background:#080b10;padding:44px 20px 56px;border-top:1px solid #20262e}.profile-details-inner{max-width:980px}.profile-details-heading{margin-bottom:24px}.profile-history-card{background:#11161d;border:1px solid #2a323c;padding:28px 34px;box-shadow:0 8px 24px rgba(0,0,0,.24)}.profile-history-list{margin:0}.profile-history-list>div{display:grid;grid-template-columns:250px 1fr;gap:24px;padding:12px 0;border-bottom:1px solid #28313b}.profile-history-list dt{font-weight:700;color:#e5ebf2;white-space:nowrap}.profile-history-list dd{margin:0;line-height:1.8;color:#d0d8e0}.profile-history-list dd span{font-size:.95em;color:#b1bac5}.profile-registration{margin-top:24px;padding-top:18px;border-top:2px solid #cfd5dc}.profile-registration p{margin:6px 0;line-height:1.7}@media (max-width:700px){.profile-details-section{padding:34px 16px 44px}.profile-history-card{padding:22px 18px}.profile-history-list>div{grid-template-columns:1fr;gap:3px}.profile-history-list dt{white-space:normal}}

.section{background:#06080b}
.profile-name-row h3,.office-card h3,.section-heading h2,.profile-copy h2,.service-title-row h3{color:#f3f6fa}
.address,.office-card-body,.footer-contact,.footer-hours{color:#d4dbe3}
.footer-brand span{color:#c4ccd5}
.footer-mail-btn{background:linear-gradient(#dce2e8,#adb5bf);border:1px solid #f5f8fc;color:#09111a}
.service-icon{color:#d4dae1}
.global-nav a{color:inherit}
.global-nav a.is-current{color:#eef2f7}
.global-nav a.is-current::after{background:#cfd5dc}
.service-visual::before{background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.26))}
.profile-photo-wrap,.office-photo-wrap{background:#0f141b}
.profile-name-row h3{letter-spacing:.06em}
.section-heading{color:#eff3f8}
.office-card-body .small-outline-btn{color:#f0f4f8}
.footer-bottom{border-top:1px solid rgba(255,255,255,.10)}
.footer-bottom small{color:#bfc7d1}


/* v9: requested navy header, silver identity, and medium-gray page background */
:root{
  --silver:#d9dee5;
  --silver-mid:#b6bec8;
  --silver-dark:#8f99a5;
  --page-gray:#bfc3c8;
  --panel-gray:#d2d5d9;
  --panel-gray-2:#c9cdd2;
  --navy-header:#082846;
  --navy-header-deep:#051f38;
}
body{background:var(--page-gray);color:#202b36}
.site-header{background:linear-gradient(180deg,var(--navy-header),var(--navy-header-deep));border-bottom:1px solid rgba(255,255,255,.18)}
.brand-badge{filter:drop-shadow(0 2px 5px rgba(0,0,0,.4))}
.brand-badge img{object-fit:contain}
.brand-kicker,.brand-name{
  color:transparent;
  background:linear-gradient(180deg,#f7f9fb 0%,#d8dde4 38%,#a8b0ba 70%,#e7ebef 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:0 1px 1px rgba(0,0,0,.45);
}
.global-nav{color:#e4e8ed}
.global-nav a.is-current{color:#fff}
.global-nav a.is-current::after{background:#cfd5dc}
.menu-toggle{border-color:#c7ced6;background:#0a2c4d;color:#f2f5f8}

.services-section,.section{background:var(--page-gray)}
.service-card,.office-card{background:var(--panel-gray);border-color:#aeb4bb;box-shadow:0 6px 18px rgba(0,0,0,.16)}
.service-title-row h3,.office-card h3,.section-heading h2{color:#102843}
.service-body p,.section-heading p,.address,.office-card-body{color:#35424f}
.service-icon{color:#87919d}
.round-arrow{background:#8f99a5;color:#fff}
.profile-section{background:var(--panel-gray-2)}
.profile-copy{background:var(--panel-gray)}
.profile-copy h2,.profile-name-row h3{color:#102843}
.profile-role,.profile-name-row span,.profile-copy>p:last-of-type{color:#3b4854}
.outline-btn,.small-outline-btn{border-color:#929ca7;color:#102843;background:#e3e5e8}
.offices-section{background:var(--page-gray)}
.profile-details-section{background:#b8bdc3;border-top-color:#9da5ae}
.profile-history-card{background:#d3d6da;border-color:#a3abb4;box-shadow:0 8px 22px rgba(0,0,0,.14)}
.profile-history-list>div{border-bottom-color:#b3bac2}
.profile-history-list dt{color:#102843}
.profile-history-list dd{color:#303d49}
.profile-history-list dd span{color:#515e6a}
.profile-registration{border-top-color:#939daa}

.site-footer{background:linear-gradient(180deg,#0a2c4d,#061f38)}
.footer-mail-btn{background:linear-gradient(#dfe4ea,#aeb7c1);border-color:#f4f6f8;color:#08121c}
@media(max-width:760px){
  .global-nav{background:linear-gradient(180deg,var(--navy-header),var(--navy-header-deep));border-bottom-color:#34485b}
  .global-nav a{border-bottom-color:rgba(255,255,255,.12)}
}


/* v12: requested targeted refinements only */
.outline-btn{
  white-space:nowrap;
  min-width:272px;
  font-size:14px;
}
.small-outline-btn{
  height:42px;
  padding:0 22px;
  font-size:15px;
  font-weight:800;
  border:1px solid #eef2f6;
  color:#0b2239;
  background:linear-gradient(180deg,#eef2f6 0%,#c8cfd7 55%,#aab3bd 100%);
  box-shadow:0 4px 12px rgba(0,0,0,.18);
  text-shadow:none;
}
.small-outline-btn:hover{
  filter:brightness(1.06);
}
.footer-mail-link{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.footer-mail-btn{
  text-decoration:none;
}
.hero-image{
  filter:brightness(1.31) contrast(1.04) saturate(1.04);
}
.hero-shade{
  background:
    radial-gradient(circle at 12% 42%,rgba(255,255,255,.30) 0%,rgba(255,255,255,.12) 23%,rgba(255,255,255,0) 43%),
    linear-gradient(90deg,rgba(1,20,37,.50) 0%,rgba(1,20,37,.30) 27%,rgba(1,20,37,.06) 55%,rgba(1,20,37,0) 76%);
}
.hero-copy{
  text-shadow:0 2px 5px rgba(0,0,0,.62);
}
@media(max-width:760px){
  .outline-btn{min-width:0;width:auto;max-width:100%;font-size:13px;}
  .hero-shade{background:linear-gradient(90deg,rgba(1,20,37,.58),rgba(1,20,37,.28) 70%,rgba(1,20,37,.10));}
}


/* v13: restore white page background, new hero photo, separate profile details page */
:root{
  --page-gray:#ffffff;
  --panel-gray:#ffffff;
  --panel-gray-2:#f4f5f6;
}
body{background:#ffffff;color:#243444}
.services-section,.section,.offices-section{background:#ffffff}
.service-card,.office-card{background:#ffffff;border-color:#d8dde3;box-shadow:0 6px 18px rgba(10,31,53,.08)}
.service-title-row h3,.office-card h3,.section-heading h2,.profile-copy h2,.profile-name-row h3{color:#102843}
.service-body p,.section-heading p,.address,.office-card-body,.profile-role,.profile-name-row span,.profile-copy>p:last-of-type{color:#425363}
.service-icon{color:#7f8893}
.round-arrow{background:#a6afb8;color:#fff}
.profile-section{background:#f4f5f6}
.profile-copy{background:#ffffff}
.outline-btn,.small-outline-btn{border-color:#aeb7c1;color:#102843;background:#ffffff}
.profile-details-section{background:#ffffff;border-top:1px solid #e4e8ec}
.profile-history-card{background:#ffffff;border-color:#d8dde3;box-shadow:0 8px 22px rgba(10,31,53,.08)}
.profile-history-list>div{border-bottom-color:#e4e8ec}
.profile-history-list dt{color:#102843}
.profile-history-list dd{color:#334454}
.profile-history-list dd span{color:#617181}
.profile-registration{border-top-color:#cfd6de}
.footer-mail-btn{background:linear-gradient(#dfe4ea,#aeb7c1);border-color:#f4f6f8;color:#08121c}
.hero-image{filter:brightness(1.18) contrast(1.05) saturate(1.03)}
.hero-shade{background:radial-gradient(circle at 12% 42%,rgba(255,255,255,.42) 0%,rgba(255,255,255,.16) 24%,rgba(255,255,255,0) 45%),linear-gradient(90deg,rgba(1,20,37,.50) 0%,rgba(1,20,37,.28) 27%,rgba(1,20,37,.05) 55%,rgba(1,20,37,0) 76%)}
.profile-details-page{padding-top:44px;padding-bottom:56px;min-height:calc(100vh - 220px)}
.profile-details-actions{margin-top:26px}


/* v14: targeted refinements only */
.hero-image{
  filter:brightness(1.03) contrast(1.04) saturate(1.02);
}
.hero-shade{
  background:linear-gradient(90deg,rgba(1,20,37,.50) 0%,rgba(1,20,37,.28) 27%,rgba(1,20,37,.05) 55%,rgba(1,20,37,0) 76%);
}
.small-outline-btn{
  height:42px;
  padding:0 22px;
  font-size:15px;
  font-weight:800;
  border:1px solid #eef2f6;
  color:#0b2239;
  background:linear-gradient(180deg,#eef2f6 0%,#c8cfd7 55%,#aab3bd 100%);
  box-shadow:0 4px 12px rgba(0,0,0,.18);
  text-shadow:none;
}
.small-outline-btn:hover{filter:brightness(1.06)}


/* v15: approved hero photo + MAP button tone adjustment */
.hero-image{
  filter:none;
}
.small-outline-btn{
  border:1px solid #6f8397;
  color:#08213a;
  background:linear-gradient(180deg,#e5edf4 0%,#bdcad6 50%,#93a6b8 100%);
  box-shadow:0 4px 12px rgba(15,42,66,.18);
}
.small-outline-btn:hover{
  background:linear-gradient(180deg,#edf3f8 0%,#c7d4df 50%,#9fb0c0 100%);
  filter:none;
}


/* v17: inheritance subpage */
.subpage-hero{position:relative;height:390px;overflow:hidden;background:#0b2239;color:#fff}
.subpage-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 53%}
.subpage-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,32,56,.82) 0%,rgba(5,32,56,.58) 36%,rgba(5,32,56,.15) 72%,rgba(5,32,56,.06) 100%)}
.subpage-hero-inner{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-top:12px;text-shadow:0 2px 5px rgba(0,0,0,.35)}
.subpage-kicker{margin:0 0 8px;font-family:Georgia,serif;letter-spacing:.22em;font-size:14px;color:#d8e0e8}
.subpage-hero h1{margin:0 0 14px;font-size:52px;letter-spacing:.12em;line-height:1.15}
.subpage-hero p:last-child{margin:0;max-width:690px;font-size:18px;line-height:1.8;font-weight:600}
.breadcrumb{display:flex;align-items:center;gap:10px;padding-top:18px;padding-bottom:18px;font-size:13px;color:#677482}
.breadcrumb a{color:#213c59}.breadcrumb strong{color:#465462;font-weight:700}
.section-light{background:#fff;padding:64px 20px}
.section-soft{background:#f4f6f8;padding:64px 20px}
.content-narrow{max-width:920px;margin:0 auto}
.eyebrow-text{margin:0 0 12px;color:#6f7e8d;font-family:Georgia,"Yu Mincho",serif;letter-spacing:.16em;font-weight:700}
.inheritance-intro h2{margin:0 0 22px;color:#102843;font-size:35px;line-height:1.55;letter-spacing:.04em;text-align:center}
.inheritance-intro .eyebrow-text{text-align:center}
.lead-copy{margin:0;color:#3e4e5d;font-size:16px;line-height:2;text-align:left}
.subsection-heading{text-align:center;margin-bottom:34px}
.subsection-heading>span{display:block;margin-bottom:7px;color:#85909b;font-family:Georgia,serif;font-size:13px;letter-spacing:.20em}
.subsection-heading h2{margin:0;color:#102843;font-size:34px;letter-spacing:.07em}
.inheritance-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.inheritance-card{position:relative;background:#fff;border:1px solid #d9e0e6;padding:28px 24px 26px;box-shadow:0 8px 22px rgba(20,48,74,.07);min-height:245px}
.inheritance-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#0a2c4d,#8b9aa8)}
.inheritance-card .number{font-family:Georgia,serif;color:#a8b2bd;font-size:14px;letter-spacing:.08em;margin-bottom:12px}
.inheritance-card h3{margin:0 0 14px;color:#102843;font-size:21px;letter-spacing:.04em}
.inheritance-card p{margin:0;color:#4d5c69;font-size:14px;line-height:1.9}
.deadline-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}
.attention-label{display:inline-block;margin-bottom:13px;padding:6px 12px;background:#0a2c4d;color:#fff;font-family:Georgia,serif;font-size:12px;letter-spacing:.16em}
.deadline-copy h2{margin:0 0 20px;color:#102843;font-size:33px;line-height:1.45}
.deadline-copy>p{margin:0 0 12px;color:#425363;font-size:15px;line-height:1.9}
.deadline-copy .small-note{font-size:12px;color:#71808e}
.deadline-box{border:1px solid #cfd7df;background:#f7f9fb;box-shadow:0 9px 24px rgba(15,46,72,.08)}
.deadline-item{padding:24px 26px;border-bottom:1px solid #d6dde4}
.deadline-item:last-child{border-bottom:0}
.deadline-item span{display:block;color:#5f7182;font-size:14px;margin-bottom:5px}
.deadline-item strong{display:block;color:#0a2c4d;font-size:29px;letter-spacing:.04em;margin-bottom:5px}
.deadline-item small{color:#6c7a87}
.process-list{list-style:none;margin:0 auto;padding:0;max-width:940px;display:grid;gap:0}
.process-list li{display:grid;grid-template-columns:82px 1fr;gap:20px;padding:24px 0;border-bottom:1px solid #d9e0e6;align-items:start}
.process-list li:first-child{border-top:1px solid #d9e0e6}
.process-list>li>span{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border:1px solid #99a7b5;border-radius:50%;font-family:Georgia,serif;color:#0a2c4d;font-weight:700;background:#fff}
.process-list h3{margin:1px 0 7px;color:#102843;font-size:20px}
.process-list p{margin:0;color:#52616f;font-size:14px;line-height:1.8}
.check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 18px;max-width:950px;margin:0 auto}
.check-grid>div{position:relative;padding:16px 18px 16px 48px;background:#fff;border:1px solid #dbe1e6;color:#304151;font-weight:700;box-shadow:0 5px 15px rgba(15,46,72,.05)}
.check-grid>div::before{content:"✓";position:absolute;left:18px;top:50%;transform:translateY(-50%);width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#0a2c4d;color:#fff;font-size:12px}
.source-note-inner{text-align:center}
.source-note h2{margin:0 0 11px;color:#102843;font-size:26px}
.source-note p{margin:0 auto 20px;max-width:720px;color:#576674;line-height:1.8}
.source-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.source-links a{display:inline-flex;align-items:center;gap:14px;min-height:46px;padding:0 18px;border:1px solid #aab5c0;background:#fff;color:#153755;font-weight:700;font-size:13px}
.subpage-cta{background:linear-gradient(180deg,#0a2c4d,#061f38);color:#fff;padding:38px 20px;border-bottom:1px solid rgba(255,255,255,.12)}
.subpage-cta-inner{display:grid;grid-template-columns:1fr auto;gap:34px;align-items:center}
.subpage-cta p{margin:0 0 4px;color:#c9d3dd;font-size:14px}
.subpage-cta h2{margin:0;font-size:28px;letter-spacing:.04em}
.subpage-cta-actions{display:flex;gap:10px;align-items:stretch}
.cta-phone,.cta-mail{display:flex;align-items:center;justify-content:center;border-radius:3px;min-height:58px;padding:0 20px;font-weight:700}
.cta-phone{flex-direction:column;align-items:flex-start;background:#fff;color:#0a2c4d;min-width:210px}
.cta-phone span{font-size:11px;letter-spacing:.12em}.cta-phone strong{font-size:22px;line-height:1.1}
.cta-mail{background:linear-gradient(180deg,#e4ebf1,#b9c5d0);border:1px solid #f6f8fa;color:#0a2138;min-width:220px;gap:16px}
.desktop-only{display:block}
@media(max-width:900px){
  .inheritance-card-grid{grid-template-columns:repeat(2,1fr)}
  .deadline-grid{grid-template-columns:1fr;gap:28px}
  .subpage-cta-inner{grid-template-columns:1fr}.subpage-cta-actions{justify-content:flex-start}
}
@media(max-width:760px){
  .subpage-hero{height:420px}.subpage-hero h1{font-size:40px}.subpage-hero p:last-child{font-size:16px}.subpage-hero>img{object-position:64% center}
  .breadcrumb{width:calc(100% - 28px);padding-left:0;padding-right:0;overflow-x:auto;white-space:nowrap}
  .section-light,.section-soft{padding:46px 16px}
  .inheritance-intro h2{font-size:28px;text-align:left}.inheritance-intro .eyebrow-text{text-align:left}.lead-copy{font-size:15px}
  .subsection-heading h2{font-size:29px}
  .inheritance-card-grid{grid-template-columns:1fr}.inheritance-card{min-height:0}
  .deadline-copy h2{font-size:28px}.deadline-item strong{font-size:25px}
  .process-list li{grid-template-columns:62px 1fr;gap:14px}.process-list>li>span{width:48px;height:48px}
  .check-grid{grid-template-columns:1fr}
  .subpage-cta h2{font-size:24px}.subpage-cta-actions{flex-direction:column}.cta-phone,.cta-mail{width:100%}.cta-phone{align-items:center}
  .desktop-only{display:none}
}


/* v23: inheritance fee section */
.inheritance-fees{padding-top:70px;padding-bottom:70px}
.package-fee-card{
  max-width:1050px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  border:1px solid #cdd6df;
  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#edf2f6 100%);
  box-shadow:0 12px 30px rgba(18,50,78,.09);
  overflow:hidden;
}
.package-fee-copy{padding:34px 38px}
.package-fee-copy .fee-label{
  display:inline-block;
  margin:0 0 12px;
  padding:6px 12px;
  background:#0a2c4d;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
}
.package-fee-copy h3{margin:0 0 14px;color:#102843;font-size:26px;line-height:1.5}
.package-fee-copy>p:last-child{margin:0;color:#4b5b69;font-size:14px;line-height:1.9}
.package-fee-price{
  padding:32px 30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(180deg,#0c355d 0%,#082846 100%);
  color:#fff;
}
.package-fee-price span{font-size:12px;letter-spacing:.14em;color:#cbd7e2;margin-bottom:8px}
.package-fee-price strong{font-size:31px;line-height:1.3;letter-spacing:.04em}
.package-fee-price em{margin-top:12px;font-style:normal;font-size:17px;font-weight:800;color:#f3f6f9}
.fee-package-note{max-width:1050px;margin:12px auto 0;color:#647483;font-size:12px;line-height:1.8}
.individual-fees{max-width:1050px;margin:48px auto 0}
.individual-fees-title{text-align:center;margin-bottom:24px}
.individual-fees-title>span{display:block;margin-bottom:7px;color:#85909b;font-family:Georgia,serif;font-size:12px;letter-spacing:.18em}
.individual-fees-title h3{margin:0 0 9px;color:#102843;font-size:29px;letter-spacing:.05em}
.individual-fees-title p{margin:0;color:#61707e;font-size:14px}
.fee-table-wrap{overflow-x:auto;border:1px solid #d6dde4;box-shadow:0 8px 22px rgba(18,50,78,.06)}
.fee-table{width:100%;border-collapse:collapse;background:#fff;min-width:720px}
.fee-table thead th{
  background:#0a2c4d;
  color:#fff;
  padding:16px 18px;
  text-align:left;
  font-size:14px;
  letter-spacing:.04em;
}
.fee-table thead th:last-child{width:42%}
.fee-table tbody td{
  padding:17px 18px;
  border-bottom:1px solid #e1e6eb;
  color:#344554;
  font-size:14px;
  line-height:1.65;
  vertical-align:middle;
}
.fee-table tbody tr:last-child td{border-bottom:0}
.fee-table tbody tr:nth-child(even){background:#f8fafb}
.fee-table td strong{color:#102843;font-size:15px}
.fee-table td small{display:block;margin-top:3px;color:#73808d}
.fee-table .fee-highlight{color:#0a2c4d;font-size:18px}
.fee-notes{
  margin-top:18px;
  padding:18px 22px;
  background:#f6f8fa;
  border-left:4px solid #8b99a6;
}
.fee-notes p{margin:4px 0;color:#60707e;font-size:12px;line-height:1.75}
@media(max-width:760px){
  .inheritance-fees{padding-top:50px;padding-bottom:50px}
  .package-fee-card{grid-template-columns:1fr}
  .package-fee-copy{padding:26px 22px}
  .package-fee-copy h3{font-size:22px}
  .package-fee-price{padding:26px 20px}
  .package-fee-price strong{font-size:26px}
  .package-fee-price em{font-size:16px}
  .individual-fees{margin-top:38px}
  .individual-fees-title h3{font-size:26px}
  .fee-table-wrap{margin-left:-2px;margin-right:-2px}
}


/* v24: make additional-item rows visually subordinate */
.fee-table td.fee-subitem{
  padding-left:42px;
  color:#687785;
  font-size:13px;
}
@media(max-width:760px){
  .fee-table td.fee-subitem{
    padding-left:34px;
  }
}


/* v25: show add-on fees inside the same service row */
.fee-inline-addon{
  margin-top:10px;
  padding-top:9px;
  border-top:1px dashed #cbd3da;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.fee-inline-addon span{
  display:inline-block;
  padding:3px 8px;
  border-radius:2px;
  background:#e9eef3;
  color:#506171;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
}
.fee-inline-addon b{
  color:#4f6070;
  font-size:13px;
  font-weight:700;
}

/* v33: corporate establishment cost breakdown */
.fee-total-guide{
  margin-top:8px;
  padding-top:10px;
  border-top:1px solid #b9c5cf;
}
.fee-total-guide span{
  background:#0a2c4d;
  color:#fff;
}
.fee-total-guide b{
  color:#0a2c4d;
  font-size:14px;
}

/* v35 consultation page */
.consult-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:24px;
}
.consult-card{
  background:#fff;
  border:1px solid #d9e0e7;
  border-radius:18px;
  padding:24px 22px 22px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}
.consult-card .number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  height:32px;
  padding:0 12px;
  border-radius:999px;
  background:#0a2c4d;
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  margin-bottom:12px;
}
.consult-card h3{
  margin:0 0 14px;
  font-size:22px;
  line-height:1.45;
  color:#0a1d2f;
}
.consult-card ul{
  margin:0;
  padding-left:18px;
  color:#243647;
  line-height:1.9;
}
.consult-card li{
  margin:0 0 4px;
}
@media (max-width: 1080px){
  .consult-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 720px){
  .consult-grid{grid-template-columns:1fr;}
  .consult-card{padding:20px 18px;}
  .consult-card h3{font-size:20px;}
}

/* v36 consultation detailed fee tables */
.consultation-fees .fee-group{margin-top:34px}
.consultation-fees .fee-group:first-of-type{margin-top:28px}
.fee-group-title{
  margin:0 0 12px;
  padding:0 0 10px 14px;
  border-left:4px solid #0a2c4d;
  border-bottom:1px solid #dce3e9;
  color:#102843;
  font-size:20px;
  line-height:1.45;
  letter-spacing:.03em;
}
.consultation-fee-notes{margin-top:28px}
@media(max-width:760px){
  .consultation-fees .fee-group{margin-top:28px}
  .fee-group-title{font-size:18px}
}

/* v39 consultation external debt link */
.fee-external-link{
  color:#0a2c4d;
  text-decoration:none;
  border-bottom:1px solid rgba(10,44,77,.35);
}
.fee-external-link:hover{
  border-bottom-color:#0a2c4d;
}

/* ===== v44 top-page brown marble unification ===== */
.top-page{
  background:#5a341e url("images/brown-marble-reference.png") center top / 1200px auto repeat;
}

.top-page main,
.top-page .services-section,
.top-page .profile-section,
.top-page .offices-section{
  background:transparent;
}

.top-page .hero{
  height:auto;
  overflow:hidden;
  background:#0b2239;
}

.top-page .hero-image{
  position:relative;
  inset:auto;
  width:100%;
  height:auto;
  display:block;
  object-fit:unset;
  object-position:center center;
  filter:brightness(1.07) contrast(1.03) saturate(1.03);
}

.top-page .hero-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(15,10,8,.52) 0%,rgba(15,10,8,.30) 24%,rgba(15,10,8,.10) 52%,rgba(15,10,8,0) 76%);
}

.top-page .hero-inner{
  position:absolute;
  inset:0;
  z-index:2;
  width:min(1180px,calc(100% - 40px));
  margin:auto;
  display:flex;
  align-items:flex-end;
  padding-bottom:18px;
}

.top-page .services-section,
.top-page .profile-section,
.top-page .offices-section{
  position:relative;
}

.top-page .services-section{padding-top:36px; padding-bottom:42px;}
.top-page .profile-section{padding:26px 0 28px;}
.top-page .offices-section{padding-top:36px; padding-bottom:42px;}

.top-page .services-section::before,
.top-page .profile-section::before,
.top-page .offices-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.08));
  pointer-events:none;
}

.top-page .container,
.top-page .container-wide{
  position:relative;
  z-index:1;
}

.top-page .section-heading h2,
.top-page .profile-copy h2,
.top-page .profile-name-row h3,
.top-page .office-card h3,
.top-page .service-title-row,
.top-page .service-title-row a{
  color:#0d1d2d;
  text-shadow:0 1px 0 rgba(255,255,255,.18);
}

.top-page .section-heading p,
.top-page .profile-role,
.top-page .profile-name-row span,
.top-page .profile-copy > p:last-of-type,
.top-page .address,
.top-page .service-body p,
.top-page .office-card p{
  color:#3c2b1f;
}

.top-page .service-card,
.top-page .profile-copy,
.top-page .office-card{
  position:relative;
  background:linear-gradient(180deg,rgba(255,250,246,.84),rgba(243,228,214,.74)), url("images/brown-marble-reference.png") center center / cover no-repeat;
  border:1px solid rgba(96,64,39,.30);
  box-shadow:0 16px 36px rgba(44,24,10,.16);
  backdrop-filter:blur(1px);
}

.top-page .service-card,
.top-page .office-card{
  overflow:hidden;
}

.top-page .service-card::before,
.top-page .profile-copy::before,
.top-page .office-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,0) 45%,rgba(119,79,49,.06) 100%);
  pointer-events:none;
}

.top-page .service-icon{ color:#8e623e; }
.top-page .round-arrow{ background:#7e5637; color:#fffaf3; }

.top-page .profile-photo-wrap,
.top-page .office-photo-wrap{
  background:linear-gradient(180deg,rgba(255,250,246,.50),rgba(243,228,214,.34));
  border:1px solid rgba(96,64,39,.22);
  box-shadow:0 14px 30px rgba(44,24,10,.13);
}

.top-page .outline-btn,
.top-page .small-outline-btn{
  background:linear-gradient(180deg,#173552,#0e2640);
  color:#f9fbff;
  border:1px solid #7e6249;
  box-shadow:0 8px 20px rgba(23,25,29,.16);
}

.top-page .small-outline-btn:hover,
.top-page .outline-btn:hover{
  background:linear-gradient(180deg,#204466,#14324f);
}

.top-page .site-header,
.top-page .site-footer{ position:relative; z-index:5; }

@media (max-width: 900px){
  .top-page .hero-inner{ padding-bottom:14px; }
}

@media (max-width: 640px){
  .top-page .hero-image{
    min-height:360px;
    object-fit:cover;
    object-position:center center;
  }
  .top-page .hero{ min-height:360px; }
}


/* ===== v45 section heading visibility ===== */
.top-page .services-section .section-heading h2,
.top-page .offices-section .section-heading h2{
  color:#fff7ed;
  text-shadow:
    0 2px 5px rgba(25,12,5,.85),
    0 0 1px rgba(0,0,0,.95);
}

.top-page .services-section .section-heading p,
.top-page .offices-section .section-heading p{
  color:#f3e4d5;
  text-shadow:
    0 1px 4px rgba(25,12,5,.78),
    0 0 1px rgba(0,0,0,.9);
}


/* v46 category fee pages */
.consult-card{display:flex;flex-direction:column;}
.consult-card ul{flex:1;}
.consult-fee-btn{margin-top:18px;min-height:44px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #b7c2cd;background:linear-gradient(180deg,#183d5e,#0d2b47);color:#fff;font-size:14px;font-weight:800;letter-spacing:.03em;box-shadow:0 6px 14px rgba(8,28,46,.14)}
.consult-fee-btn:hover{background:linear-gradient(180deg,#204c72,#123754)}
.consult-fee-btn span{font-size:20px;line-height:1}
.consult-category-guide{margin:10px 0 0;color:#627181;font-size:14px}
.fee-detail-hero{min-height:260px}
.fee-detail-intro{padding:42px 0 24px;text-align:center}
.fee-detail-intro h2{margin:0 0 12px;color:#102843;font-size:30px;letter-spacing:.04em}
.fee-detail-intro p{margin:0 auto;max-width:820px;color:#5f6d79;line-height:1.9}
.fee-detail-section{padding:22px 0 56px}
.fee-detail-panel{background:#fff;border:1px solid #dce3e9;box-shadow:0 10px 30px rgba(0,0,0,.06);padding:28px}
.fee-back-link{display:inline-flex;align-items:center;gap:10px;margin-top:24px;height:44px;padding:0 18px;border:1px solid #9eabb7;color:#102843;font-weight:800;background:#eef2f6}
.fee-detail-note{margin-top:20px;color:#64717d;line-height:1.8;font-size:13px}
@media(max-width:720px){.consult-fee-btn{font-size:13px}.fee-detail-panel{padding:18px 12px}.fee-detail-intro h2{font-size:24px}}

/* v47 fee table final */
.fee-wide-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.fee-wide-table{min-width:1180px}
.fee-wide-table th,.fee-wide-table td{vertical-align:top}
.fee-wide-table small{display:block;margin-top:4px;color:#66727e}
.fee-detail-note a{color:#0a2c4d;text-decoration:underline}


/* v49 office guide */
.office-guide-hero img{object-position:center 45%}
.office-guide-intro{padding:46px 0 50px}
.office-detail-section{padding:50px 0 58px}
.office-detail-photos{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:0 0 26px}
.office-detail-photos figure{margin:0;background:#fff;border:1px solid #dce3e9;box-shadow:0 10px 28px rgba(0,0,0,.07);overflow:hidden}
.office-detail-photos img{width:100%;height:330px;object-fit:cover}
.office-detail-photos figcaption{padding:10px 14px;color:#66727e;font-size:13px;background:#fff}
.office-info-panel,.tokyo-office-panel{background:#fff;border:1px solid #dce3e9;box-shadow:0 12px 30px rgba(0,0,0,.07);padding:30px}
.office-info-list{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 36px}
.office-info-list div{display:grid;grid-template-columns:110px 1fr;border-bottom:1px solid #e3e8ed;padding:16px 0}
.office-info-list dt{font-weight:800;color:#102843}
.office-info-list dd{margin:0;color:#475663;line-height:1.75}
.office-info-list a{color:#0a2c4d;text-decoration:underline;text-underline-offset:3px}
.office-info-list.compact{grid-template-columns:1fr;margin-top:10px}
.office-info-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.office-primary-btn,.office-secondary-btn{min-height:48px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:18px;font-weight:800;letter-spacing:.03em}
.office-primary-btn{background:linear-gradient(180deg,#173e61,#0c2b48);color:#fff;border:1px solid #0c2741}
.office-secondary-btn{background:#eef2f5;color:#102843;border:1px solid #bac5cf}
.tokyo-office-panel{display:grid;grid-template-columns:1.15fr 1fr;gap:28px;align-items:start}
.tokyo-office-copy h3{margin:8px 0 12px;color:#102843;font-size:26px}
.tokyo-office-copy p{color:#586773;line-height:1.9}
.office-label{margin:0!important;font:700 12px Georgia,serif!important;letter-spacing:.17em;color:#8b6848!important}
.sales-refusal-note{margin-top:0;padding:12px 0 18px;color:#d7dde4;font-size:12px;line-height:1.7;border-top:1px solid rgba(255,255,255,.12)}
@media(max-width:900px){.office-detail-photos{grid-template-columns:1fr}.office-detail-photos img{height:300px}.office-info-list{grid-template-columns:1fr}.tokyo-office-panel{grid-template-columns:1fr}}
@media(max-width:640px){.office-detail-photos img{height:230px}.office-info-panel,.tokyo-office-panel{padding:20px 16px}.office-info-list div{grid-template-columns:88px 1fr}.office-primary-btn,.office-secondary-btn{width:100%}.sales-refusal-note{width:calc(100% - 32px);font-size:11px}}


/* v58 contact page */
.contact-guide-hero img{object-position:center 45%}
.contact-intro{padding:48px 0 50px}
.contact-office-section{padding:54px 0 62px}
.contact-office-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.contact-office-card{background:#fff;border:1px solid #dce3e9;box-shadow:0 12px 30px rgba(0,0,0,.07);padding:30px}
.contact-office-card h2{margin:8px 0 22px;color:#102843;font-size:28px;letter-spacing:.04em}
.contact-detail-list{margin:0}
.contact-detail-list div{display:grid;grid-template-columns:105px 1fr;border-bottom:1px solid #e3e8ed;padding:15px 0}
.contact-detail-list dt{font-weight:800;color:#102843}
.contact-detail-list dd{margin:0;color:#475663;line-height:1.75;word-break:break-word}
.contact-detail-list a{color:#0a2c4d;text-decoration:underline;text-underline-offset:3px}
.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.contact-notice-section{padding:56px 0 68px}
.contact-notice-card{border:1px solid #b38b68;background:#fbf7f2;padding:28px 30px;box-shadow:0 10px 24px rgba(68,41,20,.06)}
.contact-notice-kicker{margin:0 0 7px;font:700 12px Georgia,serif;letter-spacing:.18em;color:#8b6848}
.contact-notice-card h2{margin:0 0 14px;color:#102843;font-size:25px}
.contact-notice-card p{margin:0;color:#4f5a63;line-height:1.9}
.contact-notice-card strong{color:#7a2e24}
.contact-guide-card{margin-top:26px;background:#fff;border:1px solid #dce3e9;padding:28px 30px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.contact-guide-card h2{margin:0 0 16px;color:#102843;font-size:24px}
.contact-guide-card ul{margin:0 0 14px;padding-left:1.3em;color:#475663;line-height:1.9}
.contact-guide-card p{margin:0;color:#66727e;line-height:1.85}
@media(max-width:900px){
  .contact-office-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .contact-office-card,.contact-notice-card,.contact-guide-card{padding:21px 16px}
  .contact-detail-list div{grid-template-columns:88px 1fr}
  .contact-office-card h2{font-size:24px}
  .contact-actions .office-primary-btn,.contact-actions .office-secondary-btn{width:100%}
}


/* v59 privacy policy */
.privacy-hero{background:linear-gradient(135deg,#0b223a,#183b5e);padding:72px 0 64px;color:#fff}
.privacy-hero-inner{text-align:center}
.privacy-hero h1{margin:8px 0 12px;font-size:40px;letter-spacing:.08em}
.privacy-hero p:last-child{margin:0;color:#d9e2ea;line-height:1.8}
.privacy-section{padding:48px 0 70px}
.privacy-intro{margin-bottom:24px;color:#4f5e6b;line-height:2}
.privacy-card{background:#fff;border:1px solid #dce3e9;box-shadow:0 9px 24px rgba(0,0,0,.045);padding:26px 30px;margin-top:18px}
.privacy-card h2{margin:0 0 13px;color:#102843;font-size:21px;letter-spacing:.03em}
.privacy-card p{margin:0;color:#52616d;line-height:1.95}
.privacy-card ul{margin:10px 0 0;padding-left:1.3em;color:#52616d;line-height:1.95}
.privacy-card a{color:#0a2c4d;text-decoration:underline;text-underline-offset:3px}
.privacy-contact-card{border-left:4px solid #8b6848}
.privacy-contact-card p+p{margin-top:9px}
.privacy-date{text-align:right;margin:24px 0 0;color:#66727e;font-size:13px}
@media(max-width:640px){
  .privacy-hero{padding:55px 0 48px}
  .privacy-hero h1{font-size:29px}
  .privacy-card{padding:21px 16px}
  .privacy-card h2{font-size:19px}
}
