/*
Theme Name: まつの芽プレミアム
Author: まつの芽社会保険労務士事務所
Version: 4.0.7
*/
:root{
  --ink:#22261f;--green:#1f5643;--green2:#2f745c;--cream:#f6f3e9;--cream2:#fbf8ef;
  --sage:#d8ddcf;--line:#ddd9cd;--muted:#6f756c;--max:1440px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;line-height:1.8}
.breadcrumbs{max-width:var(--max);margin:0 auto;padding:16px 7%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;font-size:12px;color:var(--muted)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0;padding:0;list-style:none}
.breadcrumbs li+li:before{content:"/";margin-right:8px;color:var(--line)}
.breadcrumbs a{color:var(--green);text-decoration:none}
.breadcrumbs a:hover{text-decoration:underline}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.wrap{max-width:var(--max);margin:auto;padding:0 62px}
.site-header{position:sticky;top:0;z-index:20;background:rgba(246,243,233,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.head{min-height:118px;display:flex;align-items:center;gap:24px}
.brand{font-size:24px;letter-spacing:.02em;white-space:nowrap}
.mark{width:58px;height:58px;border:1px solid var(--green);border-radius:50%;display:grid;place-items:center;color:var(--green);font-size:27px;flex:0 0 auto}
.nav{margin-left:auto;display:flex;gap:36px;align-items:center;font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;font-size:15px}
.nav>a:not(.cta){position:relative}
.nav>a:not(.cta):after{content:"";position:absolute;left:0;bottom:-7px;width:0;height:1px;background:var(--green);transition:.2s}
.nav>a:not(.cta):hover:after{width:100%}
.cta{background:var(--green);color:white;padding:22px 30px;border:1px solid var(--green);transition:.2s}
.cta:hover{background:#173f32}
.hero{min-height:760px;display:grid;grid-template-columns:1.04fr .96fr;gap:74px;align-items:center;padding-top:70px;padding-bottom:85px}
.eyebrow{color:var(--green2);letter-spacing:.23em;font:bold 14px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif}
.hero h1{font-size:clamp(56px,5vw,82px);line-height:1.35;font-weight:500;margin:34px 0 30px;letter-spacing:.01em}
.hero .lead{font-size:18px;line-height:2.05;color:#4f554d}
.hero-actions{display:flex;gap:24px;align-items:center;margin-top:36px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:16px 24px;border:1px solid var(--green);font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;font-size:14px}
.btn-primary{background:var(--green);color:white}
.btn-ghost{background:transparent}
.visual{position:relative;height:560px;background:var(--sage);display:grid;place-items:center;color:#778170;letter-spacing:.08em;overflow:hidden}
.visual:before{content:"";position:absolute;inset:26px;border:1px solid rgba(255,255,255,.35)}
.visual-note{position:absolute;left:-44px;bottom:42px;background:rgba(246,243,233,.95);padding:22px 28px;font-size:15px;line-height:1.8}
section{padding:110px 0;border-top:1px solid var(--line)}
.section-kicker{font:700 12px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;letter-spacing:.20em;color:var(--green2)}
.section-head{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:end;margin-bottom:58px}
.section-head h2{font-size:46px;line-height:1.45;font-weight:500;margin:14px 0 0}
.section-head p{color:var(--muted);font-size:16px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--cream2);padding:38px;min-height:250px;border-top:2px solid var(--green)}
.card small{font:700 12px sans-serif;color:var(--green2);letter-spacing:.12em}
.card h3{color:var(--green);font-size:25px;font-weight:500;margin:18px 0 14px}
.card p{color:var(--muted)}
.special{background:var(--green);color:white;border:0}
.special .section-kicker{color:#c9dacd}
.special .section-head p{color:#d5e1d8}
.special-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.special-photo{height:420px;background:#6f8e7c;display:grid;place-items:center;color:#dfe9e2}
.profile{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.profile-photo{height:520px;background:#d3d8cb;display:grid;place-items:center;color:#7b8275}
.profile h2{font-size:48px;font-weight:500;line-height:1.45;margin:16px 0 24px}
.profile p{color:var(--muted)}
.contact-band{background:#163f31;color:white;border:0}
.contact-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:end}
.contact-inner h2{font-size:48px;line-height:1.45;font-weight:500;margin:10px 0}
.contact-inner p{color:#d6e1d9}
.site-footer{background:#0d2e24;color:white;padding:58px 0}
.footer-inner{display:flex;justify-content:space-between;gap:40px}
.footer-name{font-size:20px}
.footer-sub{font:12px sans-serif;letter-spacing:.13em;color:#bdd0c2}
@media(max-width:1050px){
  .wrap{padding:0 34px}.nav{gap:22px}.brand{font-size:20px}
  .hero{gap:42px}.hero h1{font-size:60px}.visual{height:500px}
}
@media(max-width:820px){
  .wrap{padding:0 22px}.head{min-height:88px}.brand{font-size:16px}.mark{width:46px;height:46px;font-size:22px}
  .nav>a:not(.cta){display:none}.cta{padding:14px 18px}
  .hero{grid-template-columns:1fr;min-height:auto;gap:36px;padding-top:48px}.hero h1{font-size:44px}.visual{height:380px}.visual-note{position:static;margin-top:14px}
  .section-head,.special-grid,.profile,.contact-inner{grid-template-columns:1fr}.cards{grid-template-columns:1fr}
  .section-head h2,.profile h2,.contact-inner h2{font-size:36px}.footer-inner{flex-direction:column}
}

/* v0.4: Japanese headline rhythm */
.headline-line{display:block;white-space:nowrap}
@media (min-width:821px){
  .hero{grid-template-columns:minmax(660px,1.12fr) minmax(430px,.88fr);gap:58px}
  .hero h1{font-size:clamp(52px,4.45vw,74px);letter-spacing:0;line-height:1.42}
  .section-head{grid-template-columns:minmax(620px,1.12fr) minmax(340px,.88fr);gap:52px}
  .section-head h2{font-size:clamp(38px,3.25vw,48px);letter-spacing:0}
  .special h2,.profile h2{letter-spacing:0}
}
@media (max-width:1100px) and (min-width:821px){
  .headline-line{white-space:normal}
  .hero h1{font-size:54px}
}
@media (max-width:820px){
  .headline-line{white-space:normal}
}


/* v0.7: definitive hero quote placement */
.visual{
  position:relative;
  overflow:hidden;
}
.visual-note{
  position:absolute;
  left:32px;
  right:auto;
  bottom:32px;
  z-index:4;
  width:auto;
  max-width:calc(100% - 64px);
  margin:0;
  padding:24px 30px;
  background:rgba(246,243,233,.96);
  color:#6f756c;
  font-size:15px;
  line-height:1.9;
  letter-spacing:.03em;
  box-sizing:border-box;
  overflow:visible;
}
.visual-note .hero-note-line{
  display:block;
  white-space:nowrap;
}
@media (max-width:1100px){
  .visual-note{
    left:24px;
    bottom:24px;
    max-width:calc(100% - 48px);
    padding:20px 24px;
    font-size:14px;
  }
  .visual-note .hero-note-line{white-space:normal;}
}
@media (max-width:820px){
  .visual{
    height:auto;
    min-height:380px;
    padding-bottom:112px;
  }
  .visual-note{
    left:16px;
    right:16px;
    bottom:16px;
    max-width:none;
    width:auto;
    padding:18px 20px;
  }
}


/* v0.8: complete lower-page experience */
#service{padding-top:120px;padding-bottom:125px}
.card{position:relative;transition:transform .22s ease,box-shadow .22s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(34,38,31,.07)}
.card h3{line-height:1.55}.card p{margin-bottom:0}
.service-link{display:inline-block;margin-top:22px;color:var(--green);font:600 13px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;letter-spacing:.04em;border-bottom:1px solid #a9b8ae}
.special-grid>div:first-child{max-width:570px}.special h2{font-size:48px;line-height:1.55;font-weight:500;margin:16px 0 24px}.special p{color:#d5e1d8;max-width:560px}
.special-points{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:40px;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.22)}
.special-point{background:var(--green);padding:22px 18px}.special-point strong{display:block;font:600 13px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;letter-spacing:.06em;margin-bottom:5px}.special-point span{font-size:13px;color:#cbdad0}
.profile-copy{max-width:650px}.service-area-note{display:inline-block;margin-top:8px;font-weight:600;color:var(--green)}.profile-meta{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 0}.profile-meta span{border:1px solid #b8bbae;padding:7px 12px;color:#666d63;font:12px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif}
.profile-link{display:inline-block;margin-top:28px;color:var(--green);font:600 14px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;border-bottom:1px solid #9caea3}
.contact-band{padding:95px 0}.contact-inner{align-items:center}.contact-inner>div:last-child{max-width:520px}.contact-band .btn-primary{background:var(--cream);color:var(--green);border-color:var(--cream);margin-top:16px;min-width:190px}.contact-band .btn-primary:hover{background:white}
.contact-note{margin-top:16px!important;font-size:13px;color:#bcd0c2!important}
.site-footer{padding:72px 0 32px}.footer-inner{align-items:flex-start}.footer-brand{max-width:520px}.footer-name{margin-bottom:5px;line-height:1.7}.footer-name span{display:block}.footer-sub{margin-bottom:22px}.footer-copy{font-size:13px;color:#b9c9bf;line-height:1.9}.footer-nav{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:12px 34px;font:13px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif}.footer-nav a{color:#d8e2dc}.footer-bottom{max-width:var(--max);margin:48px auto 0;padding:24px 62px 0;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;gap:20px;font:11px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;color:#91aa9b;letter-spacing:.04em}
@media(max-width:820px){
 #service{padding-top:85px;padding-bottom:85px}.special h2{font-size:36px}.special-points{grid-template-columns:1fr}.profile-photo{height:400px}.contact-band{padding:75px 0}.footer-nav{margin-top:10px}.footer-bottom{padding:22px 22px 0;flex-direction:column;margin-top:34px}.profile-meta{margin-top:20px}
}

/* v0.9: editorial line-break refinements */
@media(max-width:820px){.desktop-break{display:none}}


/* v1.0: photo-ready polish + responsive refinement */
:root{--header-h:118px}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
section[id]{scroll-margin-top:calc(var(--header-h) + 18px)}
.btn,.cta,.service-link,.profile-link{transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.btn:hover,.cta:hover{transform:translateY(-1px)}
.visual,.special-photo,.profile-photo{background-position:center;background-size:cover;background-repeat:no-repeat}
.visual,.special-photo,.profile-photo{isolation:isolate}
.visual::after,.special-photo::after,.profile-photo::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(31,86,67,.08)}
.special-photo,.profile-photo{position:relative;overflow:hidden}

@media (max-width:1050px){
  :root{--header-h:96px}
  .head{min-height:96px}.nav{gap:18px}.nav{font-size:14px}.cta{padding:18px 22px}
  .hero{grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);gap:38px;padding-top:54px;padding-bottom:68px;min-height:680px}
  .hero h1{font-size:clamp(48px,5.2vw,60px)}
  section{padding:88px 0}
  .section-head{grid-template-columns:1fr;gap:22px;align-items:start;margin-bottom:42px}
  .section-head p{max-width:720px;margin:0}
  .card{padding:30px 26px}
  .special-grid,.profile{gap:44px}
}

@media (max-width:820px){
  :root{--header-h:88px}
  .site-header{backdrop-filter:blur(10px)}
  .head{min-height:88px;gap:14px}.brand{font-size:15px;white-space:normal;line-height:1.45}.mark{width:44px;height:44px;font-size:21px}
  .cta{padding:13px 15px;font-size:13px;white-space:nowrap}
  .hero{padding-top:54px;padding-bottom:70px;gap:34px}
  .hero h1{font-size:clamp(38px,10.5vw,48px);line-height:1.45;margin:24px 0 22px}
  .hero .lead{font-size:16px;line-height:1.95}.hero .lead br{display:none}
  .hero-actions{gap:12px;flex-wrap:wrap;margin-top:28px}.btn{padding:14px 18px}
  .visual{min-height:330px;padding-bottom:100px}
  section{padding:78px 0}
  .section-head{margin-bottom:34px}.section-head h2,.profile h2,.contact-inner h2,.special h2{font-size:clamp(32px,9vw,38px)}
  .cards{gap:14px}.card{min-height:0;padding:28px 24px}.card h3{font-size:22px}
  .special-grid,.profile,.contact-inner{gap:34px}.special-photo{height:340px}.profile-photo{height:420px}
  .special-points{margin-top:28px}.special-point{padding:18px}
  .contact-inner h2 br{display:block}.contact-inner>div:last-child{max-width:none}
  .footer-inner{gap:28px}.footer-nav{grid-template-columns:1fr 1fr;gap:10px 24px}
}

@media (max-width:520px){
  .wrap{padding-left:18px;padding-right:18px}
  .brand{font-size:14px}.mark{width:40px;height:40px;font-size:19px}.cta{padding:11px 12px}
  .hero h1{font-size:38px}.eyebrow{font-size:11px;letter-spacing:.17em}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr}.btn{width:100%;padding:13px 10px;font-size:13px}
  .visual{min-height:300px}.visual-note{font-size:13px;line-height:1.75;padding:16px}
  .section-head h2,.profile h2,.contact-inner h2,.special h2{font-size:32px}
  .special-photo{height:300px}.profile-photo{height:360px}
  .footer-nav{grid-template-columns:1fr}.footer-bottom{padding-left:18px;padding-right:18px}
}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* v1.1.0: official logo slot + intentionally blank representative profile photo */
.header-logo{display:flex;align-items:center;flex:0 0 auto}
.header-logo .custom-logo-link{display:flex;align-items:center}
.header-logo .custom-logo{display:block;width:64px;height:64px;object-fit:contain}
.profile-photo--blank{background:transparent;border:1px solid rgba(31,86,67,.12)}
.profile-photo--blank::after{box-shadow:none}
@media(max-width:760px){.header-logo .custom-logo{width:44px;height:44px}}
@media(max-width:420px){.header-logo .custom-logo{width:40px;height:40px}}

/* v1.2.0 official supplied logo */
.official-logo{display:flex;align-items:center;flex:0 1 570px;min-width:0}
.official-logo img{display:block;width:min(100%,570px);height:auto;max-height:76px;object-fit:contain;object-position:left center}
@media(max-width:1050px){.official-logo{flex-basis:480px}.official-logo img{max-height:64px}}
@media(max-width:820px){.official-logo{flex:1 1 auto}.official-logo img{width:min(100%,410px);max-height:58px}.head{gap:14px}}
@media(max-width:520px){.official-logo img{width:min(100%,290px);max-height:48px}}

/* v1.3.0: user-supplied transparent horizontal official logo */


/* =========================================================
   v1.4.0 Final polish: official logo + responsive refinement
   ========================================================= */

/* Header logo: keep the supplied horizontal official logo readable */
.site-brand img,
.custom-logo-link img,
.header-logo img {
  display: block;
  width: auto;
  max-width: min(540px, 38vw);
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

/* Avoid awkward Japanese line breaks around punctuation */
h1, h2, h3, p, .lead, .section-copy, .cta-copy {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

/* Tablet */
@media (max-width: 1024px) {
  .site-brand img,
  .custom-logo-link img,
  .header-logo img {
    max-width: 430px;
    max-height: 72px;
  }

  .hero,
  .hero-inner,
  .speciality-inner,
  .profile-inner,
  .contact-inner {
    column-gap: 40px;
  }

  h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.35;
  }
}

/* Mobile */
@media (max-width: 767px) {
  header,
  .site-header {
    min-height: auto;
  }

  .site-brand img,
  .custom-logo-link img,
  .header-logo img {
    max-width: min(76vw, 360px);
    max-height: 64px;
  }

  .hero,
  .hero-inner,
  .speciality-inner,
  .profile-inner,
  .contact-inner {
    grid-template-columns: 1fr !important;
    flex-direction: column;
    gap: 28px;
  }

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

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
    line-height: 1.38;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1.45;
  }

  .service-grid,
  .cards,
  .strength-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-image,
  .speciality-image,
  .profile-image {
    width: 100%;
    min-height: 300px;
  }

  .profile-image:empty {
    min-height: 260px;
  }

  .site-footer,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .site-brand img,
  .custom-logo-link img,
  .header-logo img {
    max-width: 82vw;
    max-height: 56px;
  }

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

  .btn,
  button,
  .wp-element-button {
    max-width: 100%;
  }
}


/* =========================================================
   v1.5.0 Sticky header fix
   Prevent the official logo from being hidden behind the
   WordPress admin bar while scrolling.
   ========================================================= */

.site-header,
header.site-header {
  top: 0;
  overflow: visible;
}

/* WordPress logged-in admin bar offset */
body.admin-bar .site-header,
body.admin-bar header.site-header {
  top: 32px;
}

/* Keep enough vertical room around the official logo */
.site-header .head,
.site-header .header-inner {
  min-height: 112px;
  padding-top: 14px;
  padding-bottom: 14px;
  overflow: visible;
}

.site-brand,
.custom-logo-link,
.header-logo {
  display: flex;
  align-items: center;
  overflow: visible;
}

.site-brand img,
.custom-logo-link img,
.header-logo img {
  max-height: 82px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* WordPress uses a taller admin bar on narrow screens */
@media (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar header.site-header {
    top: 46px;
  }

  .site-header .head,
  .site-header .header-inner {
    min-height: 88px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-brand img,
  .custom-logo-link img,
  .header-logo img {
    max-height: 62px;
  }
}

/* Public visitors have no admin bar, so the header sits at the top normally. */
body:not(.admin-bar) .site-header,
body:not(.admin-bar) header.site-header {
  top: 0;
}


/* =========================================================
   v1.6.0 Mobile optimization (400px baseline)
   ========================================================= */

@media (max-width: 767px) {

  /* header */
  .site-header .head,
  .site-header .header-inner {
    min-height: 82px;
    padding: 8px 14px;
    gap: 10px;
  }

  .site-brand,
  .header-logo,
  .custom-logo-link {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-brand img,
  .header-logo img,
  .custom-logo-link img {
    max-width: 66vw;
    max-height: 52px;
    width: auto;
    height: auto;
  }

  /* keep only the primary contact CTA visible on small screens */
  .site-nav,
  .main-nav,
  nav.primary-navigation {
    display: none !important;
  }

  .header-contact,
  .header-cta,
  .site-header .contact-link {
    flex: 0 0 auto;
    min-width: 118px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  /* hero */
  .hero,
  .hero-inner {
    padding-top: 64px;
    padding-bottom: 56px;
    gap: 30px;
  }

  .hero .eyebrow,
  .hero-eyebrow {
    font-size: 12px;
    letter-spacing: .16em;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9.5vw, 3.15rem);
    line-height: 1.42;
    letter-spacing: 0;
    margin-bottom: 26px;
  }

  .hero p,
  .hero .lead {
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0;
  }

  .hero-actions,
  .hero-buttons,
  .cta-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 28px;
  }

  .hero-actions a,
  .hero-buttons a,
  .cta-buttons a,
  .hero .btn {
    width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* image blocks */
  .hero-image,
  .hero-visual,
  .speciality-image,
  .profile-image {
    width: 100%;
    min-height: 260px;
  }

  /* services / cards */
  .services,
  .support,
  .speciality,
  .profile,
  .contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-grid,
  .cards,
  .strength-grid,
  .support-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .service-card,
  .card,
  .strength-card {
    min-height: auto;
    padding: 26px 22px;
  }

  /* section headings */
  .section-head,
  .section-header {
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-bottom: 36px;
  }

  .section-head h2,
  .section-header h2,
  .special h2,
  .profile h2,
  .contact h2 {
    font-size: clamp(1.95rem, 8.4vw, 2.75rem);
    line-height: 1.48;
    letter-spacing: 0;
  }

  .section-head p,
  .section-copy,
  .profile p,
  .contact p {
    font-size: 15px;
    line-height: 1.95;
  }

  /* contact */
  .contact-inner {
    gap: 28px;
  }

  .contact .btn,
  .contact a.button,
  .contact a.btn {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* footer */
  .footer-inner,
  .site-footer .inner {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .site-footer nav,
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
  }

  .site-footer {
    font-size: 13px;
  }

  /* prevent horizontal overflow */
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* tighter phones */
@media (max-width: 430px) {
  .site-brand img,
  .header-logo img,
  .custom-logo-link img {
    max-width: 64vw;
    max-height: 48px;
  }

  .header-contact,
  .header-cta,
  .site-header .contact-link {
    min-width: 112px;
    padding: 13px 14px;
    font-size: 13px;
  }

  .hero,
  .hero-inner,
  .services,
  .support,
  .speciality,
  .profile,
  .contact,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }
}


/* =========================================================
   v1.7.0 Generated photorealistic image implementation
   ========================================================= */
.visual,
.special-photo {
  position: relative;
  overflow: hidden;
}

.section-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Preserve the hero text overlay above the photograph */
.visual-note {
  z-index: 5;
}

/* Subtle tone treatment so AI photos fit the editorial palette */
.visual .section-photo,
.special-photo .section-photo {
  filter: saturate(.86) contrast(.96) brightness(1.02);
}

/* Hero image: favor the central desk/plant area */
.visual .section-photo {
  object-position: 54% center;
}

/* Secondary image */
.special-photo .section-photo {
  object-position: center;
}

@media (max-width: 820px) {
  .section-photo {
    position: absolute;
  }
  .visual .section-photo {
    object-position: 58% center;
  }
}


/* v1.8.0: clean photography — branding is never baked into photos */
.photo-placeholder {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #7c7a6e;
  letter-spacing: .04em;
}

/* v1.9.0 profile redesign */
.profile-visual{
  min-height:520px;
  border:1px solid rgba(25,88,67,.18);
  background:linear-gradient(145deg,rgba(25,88,67,.07),rgba(25,88,67,0) 60%),#f5f1e7;
  display:flex;
  align-items:flex-end;
  position:relative;
  overflow:hidden;
}
.profile-visual:before{
  content:"";
  position:absolute;
  width:300px;height:300px;
  border:1px solid rgba(25,88,67,.13);
  border-radius:50%;
  top:-100px;right:-75px;
}
.profile-visual:after{
  content:"";
  position:absolute;
  width:1px;height:72%;
  background:rgba(25,88,67,.13);
  top:14%;right:18%;
}
.profile-visual-inner{position:relative;z-index:2;padding:52px;width:100%}
.profile-visual-kicker{
  display:block;font-family:Arial,sans-serif;font-size:12px;
  letter-spacing:.28em;color:#17634d;margin-bottom:28px
}
.profile-visual-message{
  margin:0;font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:clamp(30px,3vw,46px);line-height:1.65;letter-spacing:.05em;color:#20231f
}
.profile-visual-line{display:block;width:58px;height:1px;background:#17634d;margin:34px 0 20px}
.profile-visual-small{
  display:block;font-family:Arial,sans-serif;font-size:10px;
  line-height:1.8;letter-spacing:.18em;color:#6f756d
}
@media(max-width:820px){
  .profile-visual{min-height:340px}
  .profile-visual-inner{padding:36px 28px}
  .profile-visual-message{font-size:30px}
}


/* =========================================================
   v2.0.0 HERO — sprout / fresh leaves image with soft fade
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 左側の文章を常に画像より前面へ */
.hero > div:first-child {
  position: relative;
  z-index: 4;
}

/* 木の芽画像は右端から中央より少し右まで */
.hero-botanical {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  overflow: hidden;
  pointer-events: none;
}

.hero-botanical::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--cream) 0%,
    rgba(247,244,234,.96) 8%,
    rgba(247,244,234,.78) 18%,
    rgba(247,244,234,.42) 31%,
    rgba(247,244,234,.12) 45%,
    rgba(247,244,234,0) 58%
  );
}

.hero-botanical img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(.92) contrast(.96) brightness(1.03);
}

/* コピーは画像上で読みやすく、右下に控えめに配置 */
.hero-botanical .visual-note {
  position: absolute;
  z-index: 5;
  left: auto;
  right: 36px;
  bottom: 34px;
  width: auto;
  max-width: 360px;
  padding: 18px 22px;
  background: rgba(247,244,234,.88);
  backdrop-filter: blur(3px);
}

/* 既存のグリッド右列を背景画像扱いにするため無効化 */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hero > .hero-botanical {
  grid-column: 1 / -1;
}

@media (max-width: 1024px) {
  .hero-botanical {
    width: 62%;
  }
  .hero-botanical::before {
    background: linear-gradient(
      to right,
      var(--cream) 0%,
      rgba(247,244,234,.96) 10%,
      rgba(247,244,234,.68) 25%,
      rgba(247,244,234,.20) 45%,
      rgba(247,244,234,0) 60%
    );
  }
}

@media (max-width: 767px) {
  .hero {
    padding-bottom: 300px !important;
  }
  .hero-botanical {
    top: auto;
    width: 100%;
    height: 280px;
  }
  .hero-botanical::before {
    background: linear-gradient(
      to bottom,
      var(--cream) 0%,
      rgba(247,244,234,.74) 22%,
      rgba(247,244,234,.14) 48%,
      rgba(247,244,234,0) 68%
    );
  }
  .hero-botanical img {
    object-position: 68% center;
  }
  .hero-botanical .visual-note {
    right: 18px;
    left: 18px;
    bottom: 18px;
    max-width: none;
  }
}


/* =========================================================
   v2.1.0 INNER PAGES
   ========================================================= */
.inner-page{background:var(--cream);color:var(--ink)}
.inner-wrap{width:min(1180px,calc(100% - 80px));margin:0 auto}
.inner-hero{padding:120px 0 100px;border-bottom:1px solid rgba(25,88,67,.15)}
.inner-hero h1{max-width:850px;margin:18px 0 28px;font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;font-size:clamp(42px,5vw,72px);font-weight:500;line-height:1.45;letter-spacing:.04em}
.inner-lead{max-width:760px;font-size:17px;line-height:2;color:#625f56}
.inner-section{padding:110px 0}
.section-heading{display:grid;grid-template-columns:1fr 2fr;gap:60px;margin-bottom:60px}
.section-heading h2,.about-layout h2,.contact-layout h2,.inner-cta h2{font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;font-size:clamp(34px,4vw,54px);font-weight:500;line-height:1.5;margin:0}
.service-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #17634d;border-left:1px solid rgba(25,88,67,.15)}
.detail-card{min-height:300px;padding:42px 34px;border-right:1px solid rgba(25,88,67,.15);border-bottom:1px solid rgba(25,88,67,.15)}
.detail-card span,.eyebrow{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.24em;color:#17634d;font-weight:700}
.detail-card h3{font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;font-size:25px;color:#155b46;margin:26px 0 18px}
.detail-card p,.about-copy p,.contact-layout p,.inner-cta p{line-height:2;color:#625f56}
.about-layout,.contact-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px}
.about-copy p{margin:0 0 26px}
.muted-section{background:rgba(25,88,67,.045)}
.profile-info-grid{margin-top:42px;border-top:1px solid rgba(25,88,67,.22)}
.profile-info-grid div{display:grid;grid-template-columns:180px 1fr;padding:24px 0;border-bottom:1px solid rgba(25,88,67,.15)}
.profile-info-grid span{color:#7a766c}
.profile-info-grid strong{font-weight:500}
.contact-box{border:1px solid rgba(25,88,67,.18);padding:48px;background:rgba(255,255,255,.2)}
.contact-label{font-family:Arial,sans-serif;font-size:11px;letter-spacing:.2em;color:#17634d}
.contact-box h3{font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;font-size:30px;font-weight:500}
.contact-placeholder{display:grid;gap:12px;margin-top:30px}
.contact-placeholder span{display:block;padding:18px;border-bottom:1px solid rgba(25,88,67,.25);font-family:Arial,sans-serif;font-size:11px;letter-spacing:.15em;color:#858077}
.contact-placeholder button{margin-top:15px;padding:18px;border:0;background:#17634d;color:white;opacity:.55}
.inner-cta{background:#124b3b;color:#f8f4e8;padding:100px 0}
.inner-cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}
.inner-cta .eyebrow{color:#9ec1ae}
.inner-cta h2,.inner-cta p{color:#f8f4e8}
.inner-cta .btn{display:inline-block;margin-top:24px;background:#f8f4e8;color:#155b46;padding:18px 34px;text-decoration:none}

@media(max-width:900px){
 .inner-wrap{width:min(100% - 40px,1180px)}
 .inner-hero{padding:80px 0 70px}
 .inner-section{padding:75px 0}
 .section-heading,.about-layout,.contact-layout,.inner-cta-grid{grid-template-columns:1fr;gap:36px}
 .service-detail-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
 .inner-wrap{width:calc(100% - 32px)}
 .inner-hero h1{font-size:40px}
 .service-detail-grid{grid-template-columns:1fr}
 .detail-card{min-height:auto}
 .contact-box{padding:28px 22px}
 .profile-info-grid div{grid-template-columns:1fr;gap:8px}
}


/* =========================================================
   v2.2.0 ABOUT / CONTACT refinement
   ========================================================= */

/* Exact editorial line breaks */
.inner-hero h1 span{
  display:block;
}

/* Shared decorative line */
.inner-accent-line{
  display:block;
  width:56px;
  height:1px;
  background:#17634d;
  margin:28px 0 32px;
}

/* ABOUT hero */
.inner-hero--about{
  position:relative;
  min-height:650px;
  padding:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  overflow:hidden;
  border-bottom:1px solid rgba(25,88,67,.14);
}
.inner-about-copy{
  position:relative;
  z-index:4;
  padding:120px 0 90px max(5vw,48px);
  max-width:700px;
}
.inner-about-copy h1{
  margin:18px 0 0;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:clamp(48px,5vw,78px);
  font-weight:500;
  line-height:1.4;
  letter-spacing:.04em;
}
.inner-about-copy .inner-lead{
  max-width:620px;
}
.inner-about-visual{
  position:absolute;
  z-index:1;
  top:0;
  right:0;
  bottom:0;
  width:58%;
  overflow:hidden;
}
.inner-about-visual::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:linear-gradient(
    to right,
    var(--cream) 0%,
    rgba(247,244,234,.94) 12%,
    rgba(247,244,234,.66) 28%,
    rgba(247,244,234,.28) 43%,
    rgba(247,244,234,0) 58%
  );
}
.inner-about-visual img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:68% center;
  filter:saturate(.9) brightness(1.04);
}
.inner-tags{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}
.inner-tags span{
  border:1px solid rgba(25,88,67,.28);
  padding:11px 18px;
  font-size:13px;
  color:#4f5f58;
}
.text-link{
  display:inline-block;
  margin-top:34px;
  color:#17634d;
  text-decoration:none;
  border-bottom:1px solid #17634d;
  padding-bottom:5px;
  font-weight:600;
}

/* CONTACT hero */
.inner-hero--contact{
  padding:120px 0 90px;
}
.inner-hero--contact h1{
  margin:18px 0 0;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:clamp(48px,5vw,76px);
  font-weight:500;
  line-height:1.4;
  letter-spacing:.04em;
  max-width:950px;
}
.free-consult-box{
  margin-top:34px;
  max-width:660px;
  border:1px solid rgba(25,88,67,.18);
  padding:22px 26px;
  background:rgba(255,255,255,.18);
}
.free-consult-box strong{
  display:block;
  margin-bottom:8px;
  color:#155b46;
  font-size:18px;
}
.free-consult-box p{
  margin:0;
  line-height:1.8;
  color:#625f56;
}

/* Contact process */
.contact-process-section{
  padding-top:90px;
}
.process-heading{
  margin-bottom:42px;
}
.process-heading h2{
  margin:10px 0 0;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:36px;
  font-weight:500;
}
.process-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  position:relative;
  margin-bottom:70px;
}
.process-grid::before{
  content:"";
  position:absolute;
  top:26px;
  left:16%;
  right:16%;
  border-top:1px dotted rgba(25,88,67,.35);
}
.process-step{
  position:relative;
  z-index:2;
  text-align:center;
  padding:0 26px;
}
.process-no{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:50%;
  background:#17634d;
  color:#fff;
  margin:0 auto 22px;
  font-weight:700;
}
.process-step h3{
  margin:0 0 12px;
  font-size:20px;
  color:#222;
}
.process-step p{
  margin:0;
  color:#625f56;
  line-height:1.8;
}
.contact-box--final{
  max-width:780px;
  margin:0 auto;
}

@media(max-width:900px){
  .inner-hero--about{
    grid-template-columns:1fr;
    min-height:auto;
    padding-bottom:320px;
  }
  .inner-about-copy{
    padding:80px 24px 60px;
    max-width:none;
  }
  .inner-about-visual{
    top:auto;
    width:100%;
    height:300px;
  }
  .inner-about-visual::before{
    background:linear-gradient(
      to bottom,
      var(--cream) 0%,
      rgba(247,244,234,.70) 25%,
      rgba(247,244,234,.10) 58%,
      rgba(247,244,234,0) 75%
    );
  }
  .process-grid{
    grid-template-columns:1fr;
    gap:34px;
  }
  .process-grid::before{display:none}
}
@media(max-width:600px){
  .inner-about-copy h1,
  .inner-hero--contact h1{
    font-size:40px;
  }
  .inner-hero--contact{
    padding:80px 0 60px;
  }
}


/* v2.3.0 navigation/link consistency */
.site-nav a,
.footer-nav a{
  text-decoration:none;
}
.column-placeholder{
  max-width:760px;
  padding:48px 0;
}
.column-placeholder h2{
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:36px;
  font-weight:500;
  margin:12px 0 20px;
}
.column-placeholder p{
  color:#625f56;
  line-height:2;
}


/* =========================================================
   v2.4.0 SERVICES COMPLETE
   ========================================================= */
.services-page{overflow:hidden}
.services-hero{
  padding:120px 0 100px;
  border-bottom:1px solid rgba(24,73,57,.12);
}
.services-hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:90px;
  align-items:end;
}
.services-hero h1{
  margin:20px 0 0;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:clamp(54px,5.5vw,86px);
  line-height:1.34;
  font-weight:500;
  letter-spacing:.035em;
}
.services-hero-lead{
  padding-bottom:10px;
}
.services-hero-lead>p{
  margin:0;
  color:#625f56;
  font-size:17px;
  line-height:2.15;
}
.services-hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:28px;
}
.services-hero-tags span{
  border:1px solid rgba(24,73,57,.28);
  padding:8px 13px;
  color:#175c47;
  font-size:13px;
}
.services-problems{
  padding:100px 0;
  background:rgba(255,255,255,.22);
}
.services-intro-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:100px;
}
.services-intro-grid h2,
.services-heading h2,
.support-style h2,
.services-flow h2{
  margin:15px 0 0;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:clamp(38px,4vw,58px);
  line-height:1.5;
  font-weight:500;
}
.concern-list{
  border-top:1px solid rgba(24,73,57,.25);
}
.concern-list p{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:12px;
  margin:0;
  padding:20px 0;
  border-bottom:1px solid rgba(24,73,57,.16);
  color:#4f4d46;
  line-height:1.8;
}
.concern-list span{
  color:#17634d;
  font-size:12px;
  letter-spacing:.12em;
  font-weight:700;
}
.services-main{padding:120px 0}
.services-heading{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:70px;
  margin-bottom:60px;
}
.services-heading .eyebrow{grid-column:1/-1}
.services-heading>p:last-child{
  margin:25px 0 0;
  color:#625f56;
  line-height:2;
  align-self:end;
}
.service-complete-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  border-top:1px solid #17634d;
  border-left:1px solid rgba(24,73,57,.14);
}
.service-complete-card{
  min-height:430px;
  padding:48px 46px;
  border-right:1px solid rgba(24,73,57,.14);
  border-bottom:1px solid rgba(24,73,57,.14);
  background:rgba(255,255,255,.16);
}
.service-complete-card--care{
  background:#e7eadc;
}
.service-card-no{
  color:#17634d;
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
}
.service-complete-card h3{
  margin:22px 0 16px;
  color:#164f3f;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:30px;
  font-weight:500;
}
.service-card-lead{
  min-height:64px;
  margin:0 0 24px;
  color:#57544c;
  line-height:1.9;
}
.service-complete-card ul{
  list-style:none;
  margin:0;
  padding:0;
}
.service-complete-card li{
  position:relative;
  padding:9px 0 9px 18px;
  color:#4f4d46;
  border-top:1px solid rgba(24,73,57,.10);
}
.service-complete-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:20px;
  width:6px;
  border-top:1px solid #17634d;
}
.care-note{
  margin:24px 0 0;
  padding-top:18px;
  border-top:1px solid rgba(24,73,57,.18);
  color:#17634d;
  font-size:13px;
}
.care-specialty{
  padding:120px 0;
  background:#155541;
  color:#f8f5eb;
}
.care-specialty-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:110px;
}
.eyebrow--light{color:#9bc4aa!important}
.care-specialty h2{
  margin:20px 0 0;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:clamp(42px,4.5vw,66px);
  line-height:1.55;
  font-weight:500;
}
.care-specialty-copy>p{
  margin:0 0 22px;
  color:#eef1e8;
  line-height:2.1;
}
.specialty-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:44px;
  border-top:1px solid rgba(255,255,255,.25);
  border-left:1px solid rgba(255,255,255,.18);
}
.specialty-points div{
  padding:24px 20px;
  border-right:1px solid rgba(255,255,255,.18);
  border-bottom:1px solid rgba(255,255,255,.18);
}
.specialty-points strong,
.specialty-points span{display:block}
.specialty-points strong{margin-bottom:10px}
.specialty-points span{font-size:13px;line-height:1.7;color:#d6e1d9}
.support-style{padding:120px 0 100px}
.support-style-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:55px;
  border-top:1px solid #17634d;
}
.support-style-grid article{
  padding:38px 32px 42px;
  border-right:1px solid rgba(24,73,57,.16);
}
.support-style-grid article:first-child{border-left:1px solid rgba(24,73,57,.16)}
.support-style-grid span{
  color:#17634d;
  font-size:12px;
  font-weight:700;
}
.support-style-grid h3{
  margin:18px 0 14px;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:26px;
  font-weight:500;
}
.support-style-grid p{
  margin:0;
  color:#625f56;
  line-height:1.9;
}
.services-price-note{
  margin:30px 0 0;
  color:#777268;
  font-size:13px;
}
.services-flow{
  padding:100px 0 120px;
  background:rgba(214,220,202,.28);
}
.services-flow-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin-top:55px;
}
.services-flow-grid>div{
  position:relative;
  padding:32px 30px;
  border-top:1px solid #17634d;
  border-right:1px solid rgba(24,73,57,.15);
}
.services-flow-grid>div:first-child{border-left:1px solid rgba(24,73,57,.15)}
.services-flow-grid span{
  color:#17634d;
  font-size:12px;
  font-weight:700;
}
.services-flow-grid h3{
  margin:18px 0 12px;
  font-size:20px;
}
.services-flow-grid p{
  margin:0;
  color:#625f56;
  line-height:1.8;
}
.services-final-cta{
  margin:0;
}
.btn--light{
  background:#f7f4ea!important;
  color:#155541!important;
  border-color:#f7f4ea!important;
}
@media(max-width:900px){
  .services-hero{padding:80px 0 70px}
  .services-hero-grid,
  .services-intro-grid,
  .services-heading,
  .care-specialty-grid{
    grid-template-columns:1fr;
    gap:40px;
  }
  .services-heading>p:last-child{margin-top:0}
  .service-complete-grid{grid-template-columns:1fr}
  .specialty-points{grid-template-columns:1fr}
  .support-style-grid{grid-template-columns:1fr}
  .support-style-grid article{
    border-left:1px solid rgba(24,73,57,.16);
    border-bottom:1px solid rgba(24,73,57,.16);
  }
  .services-flow-grid{grid-template-columns:1fr 1fr}
  .services-flow-grid>div:nth-child(3){border-left:1px solid rgba(24,73,57,.15)}
}
@media(max-width:600px){
  .services-hero{padding:64px 0 56px}
  .services-hero h1{font-size:42px}
  .services-problems,
  .services-main,
  .care-specialty,
  .support-style,
  .services-flow{padding:72px 0}
  .services-intro-grid h2,
  .services-heading h2,
  .support-style h2,
  .services-flow h2{font-size:36px}
  .service-complete-card{
    min-height:0;
    padding:34px 24px;
  }
  .service-complete-card h3{font-size:26px}
  .service-card-lead{min-height:0}
  .care-specialty h2{font-size:38px}
  .services-flow-grid{grid-template-columns:1fr}
  .services-flow-grid>div{border-left:1px solid rgba(24,73,57,.15)}
}


/* =========================================================
   v2.5.0 MAJOR PAGES COMPLETE
   ========================================================= */
.about-philosophy,.about-profile,.contact-guide,.contact-form-section,.column-index,.legal-content{padding:110px 0}
.about-two-col,.about-profile-grid,.contact-guide-grid,.contact-form-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px}
.about-two-col h2,.about-profile h2,.contact-guide h2,.contact-form-section h2,.column-empty h2{
 font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;font-size:clamp(36px,4vw,54px);line-height:1.5;font-weight:500;margin:15px 0 0}
.about-long-copy p,.about-profile-grid>div:last-child>p{color:#625f56;line-height:2.05;margin:0 0 24px}
.about-values{padding:100px 0;background:rgba(24,73,57,.045)}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:45px;border-top:1px solid #17634d}
.value-grid article{padding:38px 32px;border-right:1px solid rgba(24,73,57,.15);border-bottom:1px solid rgba(24,73,57,.15)}
.value-grid article:first-child{border-left:1px solid rgba(24,73,57,.15)}
.value-grid span{color:#17634d;font-size:12px}.value-grid h3{font-family:"Yu Mincho","Noto Serif JP",serif;font-size:26px;font-weight:500;margin:18px 0 14px}.value-grid p{color:#625f56;line-height:1.9}
.profile-editorial{min-height:510px;padding:50px;background:linear-gradient(145deg,rgba(24,73,57,.07),transparent 60%),#f0ede2;border:1px solid rgba(24,73,57,.16);display:flex;flex-direction:column;justify-content:flex-end}
.profile-editorial-main{font-family:"Yu Mincho","Noto Serif JP",serif;font-size:clamp(31px,3vw,45px);line-height:1.65;margin:25px 0}
.profile-editorial>span{width:55px;border-top:1px solid #17634d;margin-bottom:20px}.profile-editorial small{letter-spacing:.15em;color:#777268;line-height:1.8}
.office-data{margin-top:35px;border-top:1px solid rgba(24,73,57,.2)}.office-data div{display:grid;grid-template-columns:120px 1fr;gap:18px;padding:18px 0;border-bottom:1px solid rgba(24,73,57,.14)}.office-data span{color:#777268}.office-data strong{font-weight:500}
.contact-topic-list{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #17634d}.contact-topic-list p{margin:0;padding:20px;border-right:1px solid rgba(24,73,57,.14);border-bottom:1px solid rgba(24,73,57,.14)}
.contact-flow-section{padding:100px 0;background:rgba(24,73,57,.045)}
.contact-flow-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:45px}.contact-flow-grid article{padding:35px;border-top:1px solid #17634d;border-right:1px solid rgba(24,73,57,.15)}.contact-flow-grid article:first-child{border-left:1px solid rgba(24,73,57,.15)}.contact-flow-grid span{color:#17634d;font-size:12px}.contact-flow-grid h3{font-size:21px;margin:17px 0 12px}.contact-flow-grid p{color:#625f56;line-height:1.8}
.contact-form-grid>div:first-child>p{color:#625f56;line-height:2}.privacy-mini{margin-top:30px;padding:20px;border-left:2px solid #17634d;background:rgba(24,73,57,.04);font-size:13px;line-height:1.8}.privacy-mini a{color:#17634d}
.mock-form{padding:45px;border:1px solid rgba(24,73,57,.18);background:rgba(255,255,255,.18)}.mock-form label{display:block;margin-bottom:25px;font-size:14px}.mock-form em{font-style:normal;color:#17634d;font-size:11px;margin-left:8px}.mock-form input,.mock-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:10px;padding:15px;border:0;border-bottom:1px solid rgba(24,73,57,.28);background:transparent;font:inherit}.mock-form button{width:100%;padding:18px;background:#17634d;color:white;border:0;opacity:.6}
.contact-notice{padding:65px 0;background:#ebe8dc}.contact-notice h2{font-family:"Yu Mincho","Noto Serif JP",serif;font-size:27px;font-weight:500}.contact-notice p{max-width:850px;color:#625f56;line-height:1.9}
.column-category-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:65px}.column-category-row span{padding:9px 15px;border:1px solid rgba(24,73,57,.2);font-size:12px;color:#17634d}
.column-empty{padding:75px 0;border-top:1px solid rgba(24,73,57,.18)}.column-empty p{max-width:680px;color:#625f56;line-height:2}
.post-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:30px}.post-card{padding:36px;border:1px solid rgba(24,73,57,.15)}.post-card h2{font-family:"Yu Mincho","Noto Serif JP",serif;font-size:27px;font-weight:500}.post-card h2 a{color:inherit;text-decoration:none}.post-card>p{color:#625f56;line-height:1.9}.post-date{font-size:12px!important;color:#17634d!important;letter-spacing:.1em}
.article-header{padding:110px 0 75px;border-bottom:1px solid rgba(24,73,57,.15)}.article-wrap{width:min(820px,calc(100% - 50px));margin:0 auto}.article-header h1{font-family:"Yu Mincho","Noto Serif JP",serif;font-size:clamp(38px,5vw,62px);line-height:1.5;font-weight:500}.article-content{padding:70px 0;line-height:2}.article-content h2{font-family:"Yu Mincho","Noto Serif JP",serif;font-size:30px;margin-top:55px}.article-back{padding-bottom:90px}.article-back a{color:#17634d}
.legal-wrap{width:min(820px,calc(100% - 50px));margin:0 auto}.legal-wrap h2{font-family:"Yu Mincho","Noto Serif JP",serif;font-size:24px;font-weight:500;margin:45px 0 12px}.legal-wrap p{color:#625f56;line-height:2}.legal-note{margin-top:55px;padding:25px;background:rgba(24,73,57,.05);font-size:13px}
.error-page{min-height:70vh;display:grid;place-items:center;padding:90px 24px;background:var(--cream)}.error-inner{max-width:760px;text-align:center}.error-code{font-family:Georgia,serif;font-size:110px;line-height:1;color:rgba(24,73,57,.12);margin:0}.error-inner h1{font-family:"Yu Mincho","Noto Serif JP",serif;font-size:clamp(38px,5vw,58px);font-weight:500;line-height:1.5}.error-inner>p:not(.error-code):not(.eyebrow){color:#625f56}.error-links{display:flex;justify-content:center;align-items:center;gap:28px;margin-top:35px}

@media(max-width:900px){
 .about-two-col,.about-profile-grid,.contact-guide-grid,.contact-form-grid{grid-template-columns:1fr;gap:45px}
 .value-grid,.contact-flow-grid{grid-template-columns:1fr}
 .value-grid article,.contact-flow-grid article{border-left:1px solid rgba(24,73,57,.15)}
 .post-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
 .about-philosophy,.about-profile,.contact-guide,.contact-form-section,.column-index,.legal-content{padding:72px 0}
 .profile-editorial{min-height:340px;padding:30px}
 .contact-topic-list{grid-template-columns:1fr}
 .mock-form{padding:28px 20px}
 .office-data div{grid-template-columns:1fr;gap:6px}
 .error-links{flex-direction:column}
}

/* v2.6.0 profile refinement */
.about-profile h2{
  font-size:clamp(30px,3vw,42px);
  line-height:1.45;
}
@media(max-width:600px){
  .about-profile h2{font-size:30px;}
  .office-data div{grid-template-columns:82px 1fr;gap:14px;}
}


/* =========================================================
   v2.7.0 exact editorial line-break refinement
   ========================================================= */

/* Shared block-line behavior for requested headings */
.services-hero h1 span,
.services-intro-grid h2 span,
.care-specialty h2 span,
.services-final-cta h2 span,
.contact-form-section h2 span {
  display:block;
}

/* 1: hero — exactly 3 lines */
.services-hero h1{
  font-size:clamp(48px,5vw,76px);
  line-height:1.36;
}
.services-hero h1 span{white-space:nowrap;}

/* 1: concerns — exactly 2 lines, slightly smaller */
.services-intro-grid h2{
  font-size:clamp(34px,3.3vw,48px);
  line-height:1.48;
}
.services-intro-grid h2 span{white-space:nowrap;}

/* 2: green specialty section — exactly 3 lines */
.care-specialty h2{
  font-size:clamp(34px,3.5vw,52px);
  line-height:1.5;
}
.care-specialty h2 span{white-space:nowrap;}

/* 3: service/CTA headline — exactly 2 lines */
.services-final-cta h2{
  font-size:clamp(34px,3.3vw,48px);
  line-height:1.45;
}
.services-final-cta h2 span{white-space:nowrap;}

/* 4: contact page hero — exactly 2 lines */
.inner-hero--contact h1{
  font-size:clamp(42px,4.2vw,62px);
  line-height:1.42;
}
.inner-hero--contact h1 span{white-space:nowrap;}

/* 5: compact one-line nav / contact button labels */
.header-contact,
.site-nav a,
.footer-nav a{
  white-space:nowrap;
}

/* 6: contact form title — break after お問い合わせ */
.contact-form-section h2{
  font-size:clamp(34px,3.2vw,46px);
  line-height:1.4;
}
.contact-form-section h2 span{white-space:nowrap;}

@media(max-width:900px){
  .services-hero h1,
  .services-intro-grid h2,
  .care-specialty h2,
  .services-final-cta h2,
  .inner-hero--contact h1,
  .contact-form-section h2{
    font-size:clamp(32px,6vw,44px);
  }
}

@media(max-width:600px){
  .services-hero h1 span,
  .services-intro-grid h2 span,
  .care-specialty h2 span,
  .services-final-cta h2 span,
  .inner-hero--contact h1 span,
  .contact-form-section h2 span{
    white-space:normal;
  }
}


/* =========================================================
   v2.8.0 ABOUT exact line-break refinement
   ========================================================= */

/* About hero: exactly 3 lines */
.inner-hero--about h1 span{
  display:block;
  white-space:nowrap;
}
.inner-hero--about h1{
  font-size:clamp(46px,4.5vw,68px);
  line-height:1.42;
}

/* About contact CTA: exactly 2 lines */
.about-contact-heading span{
  display:block;
  white-space:nowrap;
}
.about-contact-heading{
  font-size:clamp(34px,3.2vw,46px) !important;
  line-height:1.45 !important;
}

@media(max-width:900px){
  .inner-hero--about h1{
    font-size:clamp(38px,6vw,52px);
  }
  .about-contact-heading{
    font-size:clamp(32px,5vw,42px) !important;
  }
}

@media(max-width:600px){
  .inner-hero--about h1 span,
  .about-contact-heading span{
    white-space:normal;
  }
  .inner-hero--about h1{
    font-size:38px;
  }
  .about-contact-heading{
    font-size:32px !important;
  }
}


/* =========================================================
   v2.9.0 REAL CONTACT FORM
   ========================================================= */
.real-contact-form form{display:block}
.real-contact-form input,
.real-contact-form textarea{
  opacity:1!important;
  color:#222;
}
.real-contact-form button{
  opacity:1;
  cursor:pointer;
  transition:opacity .2s ease, transform .2s ease;
}
.real-contact-form button:hover{
  opacity:.88;
  transform:translateY(-1px);
}
.privacy-agree{
  display:flex!important;
  align-items:center;
  gap:10px;
  font-size:13px!important;
}
.privacy-agree input{
  width:auto!important;
  margin:0!important;
}
.privacy-agree a{color:#17634d}
.hp-field{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}
.form-message{
  margin-bottom:24px;
  padding:16px 18px;
  line-height:1.7;
  font-size:14px;
}
.form-message--success{
  border-left:3px solid #17634d;
  background:rgba(23,99,77,.08);
  color:#155541;
}
.form-message--error{
  border-left:3px solid #9a493e;
  background:rgba(154,73,62,.08);
  color:#76362e;
}


/* =========================================================
   v3.0.0 PRE-LAUNCH FINAL POLISH
   ========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline:2px solid #17634d;
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}


/* =========================================================
   v3.1.0 BLOCK EDITOR / OPERATIONS LAYER
   Existing front-end design remains the source of truth.
   ========================================================= */
.matsunome-editable-content > *:first-child{margin-top:0}
.matsunome-editable-content > *:last-child{margin-bottom:0}
.matsunome-editable-content p{margin:0 0 1.25em}
.matsunome-editable-content h2,
.matsunome-editable-content h3,
.matsunome-editable-content h4{
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-weight:500;
  line-height:1.55;
}
.matsunome-editable-content ul,
.matsunome-editable-content ol{padding-left:1.5em}
.matsunome-editable-content a{text-decoration-thickness:1px;text-underline-offset:.18em}
.matsunome-editable-content .wp-block-button__link{
  border-radius:0;
  background:#17634d;
  color:#fff;
  padding:.9em 1.5em;
}


/* =========================================================
   v3.2.0 EDITABLE CORE TEXT
   ========================================================= */
.matsunome-field-editor-note{
  padding:14px 16px;
  border-left:3px solid #17634d;
  background:#eef1e8;
  color:#174f3e;
  font-size:13px;
  line-height:1.7;
}


/* =========================================================
   v3.3.0 COLUMN SYSTEM + CONTACT HEADING REFINEMENT
   ========================================================= */

/* Contact: keep "ご相談いただけること。" on one line on desktop */
.contact-guide .contact-guide-grid > div:first-child h2{
  font-size:clamp(34px,3.1vw,46px);
  line-height:1.45;
  white-space:nowrap;
  letter-spacing:.01em;
}

/* Column index */
.column-page .column-index{
  padding-top:72px;
  padding-bottom:110px;
}
.column-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0 0 42px;
}
.column-filter-row a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border:1px solid rgba(31,86,67,.24);
  background:transparent;
  color:var(--green);
  font:600 12px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
  letter-spacing:.03em;
  text-decoration:none;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.column-filter-row a:hover,
.column-filter-row a.is-active{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}
.column-post-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.column-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid rgba(31,86,67,.16);
  background:rgba(255,255,255,.26);
  transition:transform .2s ease,box-shadow .2s ease;
}
.column-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(34,38,31,.07);
}
.column-card > a{
  color:inherit;
  text-decoration:none;
}
.column-card-media{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:
    radial-gradient(circle at 22% 24%,rgba(133,172,96,.22),transparent 27%),
    linear-gradient(135deg,#e9eee3,#d9e3d2);
}
.column-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.column-card-placeholder{
  height:100%;
  display:flex;
  align-items:flex-end;
  padding:22px;
  color:var(--green);
  font:600 13px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
  letter-spacing:.05em;
}
.column-card-body{
  padding:22px 22px 24px;
}
.column-card-meta{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  font:11px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
}
.column-card-category{
  display:inline-block;
  padding:5px 8px;
  background:var(--green);
  color:#fff;
  white-space:nowrap;
}
.column-card-date{
  color:#71786e;
  white-space:nowrap;
}
.column-card h2{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.55;
  font-weight:500;
}
.column-card-excerpt{
  margin:0;
  color:#666d63;
  font-size:14px;
  line-height:1.85;
}
.column-pagination{
  margin-top:48px;
  display:flex;
  justify-content:center;
}
.column-pagination .page-numbers{
  display:inline-flex;
  min-width:38px;
  height:38px;
  align-items:center;
  justify-content:center;
  margin:0 4px;
  border:1px solid rgba(31,86,67,.2);
  color:var(--green);
  text-decoration:none;
}
.column-pagination .page-numbers.current{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}
.column-no-posts{
  border-top:1px solid rgba(31,86,67,.16);
  padding-top:48px;
}

/* Single column article */
.article-header .article-tax{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:14px;
}
.article-header .article-cat{
  display:inline-block;
  padding:6px 9px;
  background:var(--green);
  color:#fff;
  font:11px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
}
.article-featured{
  max-width:980px;
  margin:0 auto 46px;
  padding:0 28px;
}
.article-featured img{
  width:100%;
  height:auto;
  display:block;
}
.article-navigation{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:56px;
  padding-top:28px;
  border-top:1px solid rgba(31,86,67,.18);
}
.article-navigation a{
  color:var(--green);
  text-decoration:none;
  font-size:13px;
  line-height:1.7;
}
.article-navigation .next-post{text-align:right}

@media(max-width:1050px){
  .column-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .contact-guide .contact-guide-grid > div:first-child h2{
    font-size:34px;
    white-space:normal;
  }
  .column-page .column-index{padding-top:54px;padding-bottom:82px}
  .column-filter-row{gap:8px;margin-bottom:30px}
  .column-filter-row a{min-height:42px;padding:0 14px;font-size:11px}
  .column-post-grid{grid-template-columns:1fr;gap:18px}
  .column-card h2{font-size:20px}
  .article-navigation{grid-template-columns:1fr}
  .article-navigation .next-post{text-align:left}
}


/* =========================================================
   v4.0.0 DUAL OFFICE BRAND RENEWAL
   ========================================================= */
:root{
  --rose:#b87678;
  --rose-soft:#f3e3df;
  --beige:#e7dac5;
  --leaf:#9ab85e;
}

.site-header{
  background:rgba(255,255,255,.96);
}
.head{
  position:relative;
  min-height:96px;
  padding-top:12px;
  padding-bottom:12px;
}
.official-logo{
  flex:0 1 420px;
  max-width:min(34vw,420px);
}
.official-logo img{
  width:100%;
  max-height:84px;
  object-fit:contain;
  object-position:left center;
}
.nav{
  gap:20px;
  font-size:13px;
  min-width:0;
}
.nav a{
  flex:0 0 auto;
  white-space:nowrap;
  word-break:keep-all;
  line-height:1.5;
}
.nav .cta{
  padding:16px 20px;
  text-align:center;
}
.nav-toggle{
  display:none;
  width:46px;
  height:46px;
  border:1px solid rgba(31,86,67,.25);
  background:#fff;
  color:var(--green);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:20px;
  border-top:2px solid currentColor;
}
.hero--brand{
  min-height:720px;
}
.hero--brand h1{
  font-size:clamp(48px,4.65vw,72px);
  line-height:1.42;
}
.hero--brand .lead{
  max-width:620px;
}
.dual-offices{
  background:#fff;
}
.office-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.office-card{
  position:relative;
  min-height:460px;
  padding:46px 44px;
  border:1px solid rgba(31,86,67,.15);
  background:var(--cream2);
  overflow:hidden;
}
.office-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:5px;
  background:var(--green);
}
.office-card--welfare{
  background:linear-gradient(180deg,var(--rose-soft),#fffaf6);
  border-color:rgba(184,118,120,.24);
}
.office-card--welfare::before{
  background:var(--rose);
}
.office-card-kicker{
  margin:0 0 18px;
  color:var(--green);
  font:700 13px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
}
.office-card--welfare .office-card-kicker,
.office-card--welfare .service-link{
  color:#9e585d;
}
.office-card h3{
  margin:0 0 22px;
  font-size:clamp(30px,3vw,42px);
  line-height:1.45;
  font-weight:500;
  color:var(--ink);
}
.office-card-copy{
  color:var(--green);
  font-size:22px;
  line-height:1.7;
  margin:0 0 22px;
}
.office-card--welfare .office-card-copy{
  color:#9e585d;
}
.office-card p:not(.office-card-kicker):not(.office-card-copy){
  color:#625f56;
  line-height:2;
}
.values-section{
  background:var(--cream);
}
.value-line-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(31,86,67,.28);
  border-left:1px solid rgba(31,86,67,.14);
}
.value-line-grid article{
  min-height:245px;
  padding:34px 28px;
  border-right:1px solid rgba(31,86,67,.14);
  border-bottom:1px solid rgba(31,86,67,.14);
}
.value-line-grid span,
.news-item span,
.status-badge{
  font:700 12px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
  letter-spacing:.08em;
}
.value-line-grid span{
  color:var(--green);
}
.value-line-grid h3{
  margin:20px 0 12px;
  font-size:22px;
  font-weight:500;
}
.value-line-grid p{
  margin:0;
  color:#625f56;
  line-height:1.9;
}
.connection-section{
  padding:130px 0;
  background:#184939;
  color:#fff;
}
.connection-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:34px;
  align-items:start;
}
.connection-section .section-kicker,
.connection-section .eyebrow{
  color:#b9d0c1;
}
.connection-section h2{
  max-width:1100px;
  margin:16px 0 0;
  font-size:clamp(34px,3.6vw,54px);
  line-height:1.6;
  font-weight:500;
}
.connection-section .headline-line{
  white-space:normal;
}
.connection-section p{
  max-width:760px;
  margin:0 0 24px;
  color:#edf3ee;
  line-height:2.15;
}
.news-section{
  background:#fff;
}
.news-filter{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:-24px 0 28px;
}
.news-filter span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border:1px solid rgba(31,86,67,.2);
  color:var(--green);
  font:600 12px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
}
.news-list{
  border-top:1px solid rgba(31,86,67,.2);
}
.news-item{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:20px;
  align-items:center;
  padding:20px 0;
  border-bottom:1px solid rgba(31,86,67,.12);
}
.news-item time{
  color:#777268;
  font:13px Arial,sans-serif;
}
.news-item span{
  color:var(--green);
}
.news-item a{
  color:var(--ink);
  text-decoration:none;
}
.news-empty{
  padding:28px;
  background:rgba(31,86,67,.04);
  color:#625f56;
}
.utility-links{
  padding:70px 0 100px;
  background:var(--cream);
}
.utility-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.utility-grid a{
  display:block;
  min-height:150px;
  padding:28px;
  border:1px solid rgba(31,86,67,.16);
  background:#fff;
  transition:transform .2s ease,box-shadow .2s ease;
}
.utility-grid a:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(34,38,31,.06);
}
.utility-grid span{
  color:var(--green);
  font:700 12px Arial,sans-serif;
  letter-spacing:.16em;
}
.utility-grid strong{
  display:block;
  margin-top:28px;
  font-size:24px;
  font-weight:500;
}
.line-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:18px;
  padding:0 20px;
  border:1px solid rgba(255,255,255,.45);
  color:#fff;
  font:600 13px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
}
.line-cta--footer{
  border-color:rgba(255,255,255,.25);
  color:#d8e2dc;
}
.services-office-name{
  margin:0 0 16px;
  color:var(--green);
  font:700 13px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
  letter-spacing:.08em;
}
.services-hero-lead h2{
  margin:0 0 22px;
  color:var(--green);
  font-size:clamp(26px,2.4vw,38px);
  line-height:1.55;
  font-weight:500;
}

.welfare-hero{
  padding:115px 0 105px;
  background:linear-gradient(90deg,var(--cream) 0%,var(--cream) 52%,var(--rose-soft) 52%,var(--rose-soft) 100%);
  border-bottom:1px solid rgba(184,118,120,.18);
}
.welfare-hero-grid,
.welfare-intro-grid,
.guardianship-grid,
.welfare-bridge-grid,
.contact-access-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:86px;
  align-items:center;
}
.welfare-hero h1{
  margin:20px 0 26px;
  font-size:clamp(38px,3.6vw,52px);
  line-height:1.42;
  font-weight:500;
}
.welfare-hero h1 span,
.welfare-intro h2 span,
.guardianship-section h2 span,
.welfare-bridge h2 span,
.welfare-final-cta h2 span{
  display:block;
  white-space:nowrap;
}
.welfare-visual{
  height:460px;
  min-height:460px;
  line-height:0;
  overflow:hidden;
  border:1px solid rgba(184,118,120,.22);
}
.welfare-visual img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center;
  filter:saturate(.9) brightness(1.03);
}
.welfare-intro,
.welfare-support,
.welfare-bridge,
.contact-faq,
.contact-access{
  padding:110px 0;
}
.welfare-intro h2,
.guardianship-section h2,
.welfare-bridge h2,
.contact-access h2{
  margin:16px 0 0;
  font-size:clamp(34px,3.7vw,54px);
  line-height:1.55;
  font-weight:500;
}
.welfare-intro h2,
.guardianship-section h2,
.welfare-bridge h2{
  font-size:clamp(32px,3vw,46px);
}
.welfare-intro p,
.welfare-bridge p,
.contact-access p{
  color:#625f56;
  line-height:2.05;
}
.welfare-status-note,
.guardianship-note{
  padding:18px 20px;
  border-left:3px solid var(--rose);
  background:#fff8f4;
}
.welfare-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-top:1px solid rgba(184,118,120,.45);
  border-left:1px solid rgba(184,118,120,.18);
}
.welfare-card-grid article{
  min-height:280px;
  padding:38px 34px;
  border-right:1px solid rgba(184,118,120,.18);
  border-bottom:1px solid rgba(184,118,120,.18);
  background:rgba(255,255,255,.34);
}
.status-badge{
  display:inline-flex;
  padding:7px 10px;
  background:var(--rose-soft);
  color:#9e585d;
}
.welfare-card-grid h3,
.faq-grid h3{
  margin:22px 0 14px;
  font-size:25px;
  line-height:1.55;
  font-weight:500;
}
.welfare-card-grid p,
.faq-grid p{
  color:#625f56;
  line-height:1.9;
}
.guardianship-section{
  padding:115px 0;
  background:#8f5e61;
  color:#fff;
}
.guardianship-section p{
  color:#fff7f0;
  line-height:2.05;
}
.guardianship-note{
  color:#5b3437!important;
}
.welfare-bridge{
  background:#fff;
}
.faq-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.faq-grid article{
  padding:30px;
  border:1px solid rgba(31,86,67,.14);
  background:rgba(255,255,255,.3);
}
.contact-access{
  background:rgba(31,86,67,.045);
}
.mock-form select{
  display:block;
  width:100%;
  box-sizing:border-box;
  margin-top:10px;
  padding:15px;
  border:0;
  border-bottom:1px solid rgba(24,73,57,.28);
  background:transparent;
  color:#222;
  font:inherit;
}
.mobile-fixed-cta{
  display:none;
}

@media(max-width:1180px){
  .official-logo{
    max-width:320px;
  }
  .nav{
    gap:12px;
    font-size:12px;
  }
  .nav .cta{
    padding:14px 16px;
  }
}

@media(min-width:1081px){
  .head{
    gap:18px;
  }
  .official-logo{
    flex-basis:380px;
    max-width:min(28vw,380px);
  }
  .nav{
    flex:1 1 auto;
    justify-content:flex-end;
    gap:clamp(12px,1.15vw,20px);
  }
}

@media(max-width:1080px){
  .head{
    min-height:84px;
  }
  .official-logo{
    max-width:min(66vw,360px);
  }
  .official-logo img{
    max-height:68px;
  }
  .nav-toggle{
    display:flex;
    margin-left:auto;
  }
  .nav{
    position:absolute;
    top:100%;
    left:22px;
    right:22px;
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    padding:14px;
    border:1px solid rgba(31,86,67,.14);
    background:#fff;
    box-shadow:0 22px 40px rgba(34,38,31,.08);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    pointer-events:none;
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  }
  .nav-open .nav{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }
  .nav>a:not(.cta){
    display:block!important;
  }
  .nav a{
    padding:14px 10px;
    border-bottom:1px solid rgba(31,86,67,.1);
  }
  .nav a::after{
    display:none;
  }
  .nav .cta{
    margin-top:10px;
    text-align:center;
  }
}

@media(max-width:900px){
  .office-grid,
  .value-line-grid,
  .connection-inner,
  .welfare-hero-grid,
  .welfare-intro-grid,
  .guardianship-grid,
  .welfare-bridge-grid,
  .contact-access-grid,
  .faq-grid{
    grid-template-columns:1fr;
  }
  .connection-inner,
  .welfare-hero-grid,
  .welfare-intro-grid,
  .guardianship-grid,
  .welfare-bridge-grid,
  .contact-access-grid{
    gap:42px;
  }
  .welfare-hero{
    background:var(--cream);
    padding:82px 0 72px;
  }
  .welfare-card-grid,
  .utility-grid{
    grid-template-columns:1fr;
  }
  .news-item{
    grid-template-columns:92px 1fr;
    gap:14px;
  }
}

@media(max-width:767px){
  body{
    padding-bottom:74px;
  }
  .head{
    min-height:78px;
  }
  .official-logo{
    max-width:calc(100% - 62px);
  }
  .official-logo img{
    max-height:56px;
  }
  .hero--brand{
    padding-top:52px;
    padding-bottom:300px!important;
  }
  .hero--brand h1{
    font-size:clamp(36px,9.4vw,46px);
  }
  .office-card{
    min-height:0;
    padding:34px 24px;
  }
  .office-card h3{
    font-size:30px;
  }
  .connection-section,
  .welfare-intro,
  .welfare-support,
  .guardianship-section,
  .welfare-bridge,
  .contact-faq,
  .contact-access{
    padding:76px 0;
  }
  .welfare-visual,
  .welfare-visual img{
    height:300px;
    min-height:300px;
  }
  .welfare-card-grid article,
  .faq-grid article{
    min-height:0;
    padding:28px 22px;
  }
  .news-item{
    grid-template-columns:1fr;
    gap:6px;
    align-items:start;
  }
  .utility-links{
    padding:54px 0 74px;
  }
  .mobile-fixed-cta{
    position:fixed;
    z-index:30;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    gap:8px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    border-top:1px solid rgba(31,86,67,.14);
    box-shadow:0 -10px 26px rgba(34,38,31,.08);
  }
  .mobile-fixed-cta a{
    flex:1 1 auto;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--green);
    color:#fff;
    font:600 14px "Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
  }
  .mobile-fixed-cta .line-cta{
    margin-top:0;
    border-color:var(--green);
  }
}

@media(max-width:480px){
  .official-logo{
    max-width:calc(100% - 56px);
  }
  .official-logo img{
    max-height:46px;
  }
  .nav-toggle{
    width:42px;
    height:42px;
  }
  .hero--brand h1,
  .welfare-hero h1{
    font-size:34px;
  }
  .connection-section h2,
  .welfare-intro h2,
  .guardianship-section h2,
  .welfare-bridge h2,
  .contact-access h2{
    font-size:32px;
  }
}



/* =========================================================
   v4.1.1 DESKTOP JAPANESE LINE-BREAK REFINEMENT
   ========================================================= */
@media(min-width:901px){
  h1,
  h2,
  h3{
    text-wrap:balance;
    line-break:strict;
    overflow-wrap:normal;
  }

  .dual-offices .section-head h2 .headline-line,
  .values-section .section-head h2 .headline-line,
  .about-contact-heading span,
  .services-final-cta h2 span,
  .inner-hero--contact h1 span,
  .contact-form-section h2 span,
  .guardianship-section h2 span{
    display:inline;
    white-space:normal;
  }

  .contact-band h2 br,
  .about-philosophy h2 br,
  .services-hero-lead h2 br,
  .support-style h2 br{
    display:none;
  }

  .inner-hero--contact h1{
    max-width:none;
    font-size:clamp(48px,4vw,58px);
  }

  .contact-form-section h2{
    font-size:clamp(38px,3vw,43px);
  }
}
