:root{
  --bg: #FBFAF7;
  --bg-tint: #EEF3ED;
  --primary: #1F4B3F;
  --primary-dark: #143028;
  --primary-soft: #EAF1EC;
  --accent: #B8863C;
  --urgent: #A23B3B;
  --urgent-bg: #FBEDEA;
  --text: #1E2822;
  --text-muted: #5C6B62;
  --border: #DCE3D8;
  --radius: 14px;
  --max: 900px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Noto Sans JP', sans-serif;
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.brand-name{
  font-family:'Shippori Mincho', serif;
  color:var(--primary-dark);
  letter-spacing:.02em;
}
.nav-label,.eyebrow,button,.btn{font-family:'Zen Kaku Gothic New', sans-serif;}
a{color:var(--primary);}
img{max-width:100%;display:block;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 20px;}

/* Header */
header.site-header{position:sticky; top:0; z-index:50; background:rgba(251,250,247,.95); backdrop-filter:blur(6px); border-bottom:1px solid var(--border);}
.header-top{display:flex; align-items:center; justify-content:space-between; max-width:var(--max); margin:0 auto; padding:12px 20px; gap:12px;}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none;}
.brand-mark{width:44px; height:44px; border-radius:0; background:#fff; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden;}
.brand-mark img{width:100%; height:100%; object-fit:contain;}
.brand-text{line-height:1.3;}
.brand-name{font-size:17px; font-weight:700; margin:0;}
.brand-sub{font-size:11px; color:var(--text-muted); font-family:'Zen Kaku Gothic New',sans-serif;}
.header-actions{display:flex; align-items:center; gap:8px;}
.tel-btn{display:flex; align-items:center; gap:6px; background:var(--primary); color:#fff; text-decoration:none; padding:9px 14px; border-radius:99px; font-size:13px; font-weight:700; white-space:nowrap;}
.tel-btn svg{width:14px; height:14px; flex-shrink:0;}
.menu-btn{background:none; border:1px solid var(--border); border-radius:10px; width:40px; height:40px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; cursor:pointer;}
.menu-btn span{display:block; width:18px; height:2px; background:var(--primary-dark);}

nav.primary-nav{display:none; border-top:1px solid var(--border);}
nav.primary-nav.open{display:block;}
nav.primary-nav ul{list-style:none; margin:0; padding:8px 20px 14px; display:flex; flex-direction:column; gap:2px;}
nav.primary-nav a{display:block; padding:10px 6px; text-decoration:none; color:var(--text); font-size:14px; font-weight:500; border-radius:8px;}
nav.primary-nav a.active{color:var(--primary); font-weight:700; background:var(--bg-tint);}

@media(min-width:760px){
  .menu-btn{display:none;}
  nav.primary-nav{display:block !important; border-top:none;}
  nav.primary-nav ul{flex-direction:row; padding:0; gap:22px; justify-content:center;}
  nav.primary-nav a{padding:4px 0; font-size:13.5px;}
  nav.primary-nav a.active{background:none; border-bottom:2px solid var(--primary); border-radius:0; padding-bottom:2px;}
  .header-top{padding:16px 20px;}
}

/* Page header (non-home pages) */
.page-head{padding:34px 20px 26px; background:linear-gradient(180deg, var(--primary-soft), var(--bg) 90%);}
.page-head .wrap{max-width:var(--max);}
.breadcrumb{font-size:12px; color:var(--text-muted); margin-bottom:8px;}
.breadcrumb a{color:var(--text-muted); text-decoration:none;}
.page-head h1{font-size:23px; margin:0 0 6px;}
.page-head p{color:var(--text-muted); font-size:13.5px; margin:0;}

/* Hero (home only) */
.hero{padding:38px 20px 30px; background:linear-gradient(180deg, var(--primary-soft), var(--bg) 85%);}
.hero-inner{max-width:var(--max); margin:0 auto;}
.eyebrow{font-size:12px; font-weight:700; color:var(--primary); letter-spacing:.12em; text-transform:uppercase;}
.hero h1{font-size:26px; margin:10px 0 6px; line-height:1.5;}
.hero p.lead{color:var(--text-muted); font-size:14.5px; margin:0 0 20px;}
.hours-note{font-size:13px; color:var(--text-muted); margin:0 0 20px;}
.hours-note a{color:var(--primary); font-weight:700;}
.status-row{display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:20px;}
.status-pill{display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border-radius:99px; font-size:13px; font-weight:700; font-family:'Zen Kaku Gothic New',sans-serif;}
.status-pill.open{background:#E7F1E9; color:#1F4B3F;}
.status-pill.closed{background:var(--urgent-bg); color:var(--urgent);}
.status-dot{width:8px; height:8px; border-radius:50%; background:currentColor;}
.status-note{font-size:12.5px; color:var(--text-muted);}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap;}
.btn{display:inline-flex; align-items:center; gap:8px; padding:11px 18px; border-radius:10px; font-size:13.5px; font-weight:700; text-decoration:none; border:1px solid transparent; cursor:pointer;}
.btn-primary{background:var(--primary); color:#fff;}
.btn-outline{background:#fff; color:var(--primary-dark); border-color:var(--border);}

/* Notice */
.notice-card{max-width:var(--max); margin:0 auto 8px; padding:0 20px;}
.notice-box{background:var(--urgent-bg); border:1px solid #E5C6BE; border-radius:var(--radius); padding:18px 20px; display:flex; gap:12px; align-items:flex-start;}
.notice-box.static{cursor:default;}
a.notice-box{text-decoration:none; transition:box-shadow .15s;}
a.notice-box:hover{box-shadow:0 2px 10px rgba(162,59,59,.12);}
.notice-icon{width:30px; height:30px; border-radius:50%; background:var(--urgent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; flex-shrink:0; font-size:14px;}
.notice-box h3{margin:0 0 4px; font-size:15px; color:var(--urgent); font-family:'Zen Kaku Gothic New',sans-serif;}
.notice-box p{margin:0; font-size:13.5px; color:#5b3630; white-space:pre-wrap;}
.notice-date{font-size:11.5px; color:#8a615c; margin-top:6px; font-family:'Zen Kaku Gothic New',sans-serif;}

/* Sections */
section{padding:52px 20px;}
section.tint{background:var(--bg-tint);}
section.compact{padding:40px 20px;}
.section-head{margin-bottom:26px;}
.section-head .eyebrow{display:block; margin-bottom:6px;}
.section-head h2{font-size:22px; margin:0;}
.section-head p{color:var(--text-muted); font-size:13.5px; margin:8px 0 0;}
.lead-block{background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:22px;}
.lead-block p{font-size:14.5px;}

/* Quick link cards (home) */
.quick-grid{display:grid; grid-template-columns:1fr; gap:12px;}
@media(min-width:640px){.quick-grid{grid-template-columns:repeat(3,1fr);}}
.quick-card{display:block; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:18px; text-decoration:none; color:var(--text);}
.quick-card .q-label{font-size:11px; color:var(--accent); font-weight:700; font-family:'Zen Kaku Gothic New',sans-serif; letter-spacing:.06em;}
.quick-card h3{font-size:15px; margin:6px 0 4px;}
.quick-card p{font-size:12.5px; color:var(--text-muted); margin:0;}

/* Department cards */
.dept-grid{display:grid; grid-template-columns:1fr; gap:16px;}
@media(min-width:640px){.dept-grid{grid-template-columns:1fr 1fr;}}
.dept-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:22px;}
.dept-card h3{font-size:17px; margin:0 0 10px; display:flex; align-items:center; gap:8px;}
.dept-tag{font-size:10.5px; font-family:'Zen Kaku Gothic New',sans-serif; font-weight:700; background:var(--primary-soft); color:var(--primary-dark); padding:3px 9px; border-radius:99px;}
.dept-card ul{margin:10px 0 0; padding-left:1.1em; font-size:13.5px; color:var(--text-muted);}
.dept-card li{margin-bottom:4px;}
.referral-list{margin-top:22px;}
.referral-list h4{font-size:13.5px; font-family:'Zen Kaku Gothic New',sans-serif; margin:0 0 10px; color:var(--text-muted); font-weight:700;}
.chip-list{display:flex; flex-wrap:wrap; gap:8px;}
.chip{font-size:12.5px; background:#fff; border:1px solid var(--border); border-radius:99px; padding:7px 13px; color:var(--text);}

/* Hours */
.hours-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:22px; overflow-x:auto;}
table.hours{width:100%; border-collapse:collapse; min-width:520px; font-family:'Zen Kaku Gothic New',sans-serif;}
table.hours th, table.hours td{text-align:center; padding:12px 6px; font-size:13px; border-bottom:1px solid var(--border);}
table.hours th{color:var(--text-muted); font-weight:700; font-size:12px;}
table.hours td.label{text-align:left; color:var(--text-muted); font-size:12.5px; padding-left:2px;}
table.hours td.open{color:var(--primary); font-weight:700;}
table.hours td.closed{color:#B7BDB4;}
table.hours th.today, table.hours td.today{background:var(--primary-soft); border-radius:6px;}
.hours-foot{margin-top:16px; font-size:12.5px; color:var(--text-muted);}
.hours-foot li{margin-bottom:4px;}

/* Staff */
.staff-card{display:flex; gap:18px; align-items:flex-start; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:22px; flex-wrap:wrap;}
.staff-photo{width:176px; height:176px; border-radius:20px; object-fit:cover; flex-shrink:0; background:var(--primary-soft);}
.staff-info h3{margin:0 0 2px; font-size:17px;}
.staff-role{font-size:12.5px; color:var(--text-muted); margin-bottom:10px; font-family:'Zen Kaku Gothic New',sans-serif;}
.staff-creds{list-style:none; margin:0; padding:0; font-size:13px; color:var(--text-muted); display:grid; gap:4px;}
.staff-creds li::before{content:"・";}
.note-tag{display:inline-block; background:#fff8e8; border:1px solid #ecd8a6; color:#8a6a1e; font-size:11.5px; padding:6px 10px; border-radius:8px; margin-top:14px; font-family:'Zen Kaku Gothic New',sans-serif;}

/* Access */
.access-grid{display:grid; gap:16px; grid-template-columns:1fr;}
@media(min-width:640px){.access-grid{grid-template-columns:1.1fr 1fr;}}
.access-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:22px;}
.access-card h4{margin:0 0 8px; font-size:13.5px; font-family:'Zen Kaku Gothic New',sans-serif;}
.route-item{display:flex; justify-content:space-between; font-size:13.5px; padding:9px 0; border-bottom:1px dashed var(--border); gap:10px;}
.route-item:last-child{border-bottom:none;}
.route-item b{color:var(--primary-dark); text-align:right;}
.map-placeholder{background:var(--bg-tint); border:1px dashed var(--border); border-radius:12px; aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-size:12.5px; text-align:center; padding:20px;}
.map-embed{background:var(--bg-tint); border:1px solid var(--border); border-radius:12px; aspect-ratio:4/3; overflow:hidden;}

/* Links */
.links-grid{display:grid; gap:8px; grid-template-columns:1fr;}
@media(min-width:640px){.links-grid{grid-template-columns:1fr 1fr;}}
.link-item{display:block; background:#fff; border:1px solid var(--border); border-radius:10px; padding:12px 14px; font-size:13.5px; text-decoration:none; color:var(--text);}

/* Privacy */
.privacy-body h5{font-size:13px; color:var(--text); margin:14px 0 6px;}
.privacy-body ul{margin:0 0 10px; padding-left:1.2em; color:var(--text-muted); font-size:13px;}
.privacy-body p{font-size:13px; color:var(--text-muted);}

/* Footer */
footer{background:var(--primary-dark); color:#DCE7E1; padding:36px 20px 26px; margin-top:20px;}
.footer-inner{max-width:var(--max); margin:0 auto;}
footer .brand-name{color:#fff; font-size:16px;}
footer .foot-meta{font-size:12.5px; color:#A9C0B5; margin-top:8px; line-height:1.9;}
footer .foot-links{margin-top:16px; display:flex; flex-wrap:wrap; gap:14px;}
footer .foot-links a{color:#CFE0D7; font-size:12.5px; text-decoration:none;}
footer .copyright{margin-top:22px; font-size:11px; color:#7D9689;}
