
:root{
  --kyoei-navy:#12233d;
  --kyoei-deep:#0c1a31;
  --kyoei-blue:#2c67b0;
  --kyoei-sky:#dfeaf6;
  --kyoei-green:#b8d540;
  --kyoei-lime:#dce658;
  --kyoei-bg:#fafafa;
  --kyoei-bg-2:#f7f7f7;
  --kyoei-paper:#ffffff;
  --kyoei-text:#1b2533;
  --kyoei-muted:#667487;
  --kyoei-line:#dde5ee;
  --kyoei-shadow:0 12px 32px rgba(13,32,58,.08);
  --kyoei-shadow-strong:0 18px 40px rgba(13,32,58,.14);
  --kyoei-radius:22px;
  --kyoei-max:1200px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0 !important;
  color:var(--kyoei-text) !important;
  background:#fafafa !important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif !important;
  line-height:1.7;
  letter-spacing:.02em;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none;transition:all .25s ease;}
a:hover{text-decoration:none;}
img,video{max-width:100%;height:auto;vertical-align:middle;}
video{display:block;}
main{display:block;}
.header{
  position:sticky !important;
  top:0; z-index:100;
  width:100% !important;
  min-height:74px !important;
  padding:0 30px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  background:rgba(255,255,255,.88) !important;
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(221,229,238,.95) !important;
  box-shadow:0 6px 24px rgba(12,26,49,.05) !important;
}
.syamei-logo,.footer-syamei-logo{display:flex !important;align-items:center !important;gap:12px !important;}
.logoimage,.footer-logoimage{width:40px !important;height:40px !important;object-fit:contain !important;}
.syamei-logo h1,.footer-syamei-logo h1{margin:0 !important;font-size:clamp(1.05rem,2vw,1.45rem) !important;line-height:1.2 !important;}
.logomojicolor,.footer-logomojicolor{color:var(--kyoei-navy) !important;font-weight:800 !important;letter-spacing:.04em !important;}
.main-nav{display:flex !important;gap:6px !important;align-items:center !important;margin:0 !important;padding:0 !important;list-style:none !important;}
.main-nav li{list-style:none !important;margin:0 !important;padding:0 !important;}
.main-nav a[class^="menu"],.main-nav a{
  display:flex !important;align-items:center !important;min-height:42px !important;
  padding:0 14px !important;border-radius:999px !important;
  color:var(--kyoei-navy) !important;background:transparent !important;
  font-size:.92rem !important;font-weight:800 !important;letter-spacing:.03em !important;
}
.main-nav a:hover{background:#ebf3ff !important;color:var(--kyoei-blue) !important;transform:translateY(-1px);}
.main-nav a[href*="otoiawase"]{background:linear-gradient(135deg,var(--kyoei-green),var(--kyoei-lime)) !important;color:#102033 !important;box-shadow:0 10px 24px rgba(159,211,86,.24) !important;}
.wrap,.section-inner,.hero-shell,.cta-inner,.footer-wrap{max-width:var(--kyoei-max);margin-inline:auto;}
.section{padding:36px 22px;}
.section--soft{background:rgba(255,255,255,.35);}
.section-label{
  margin:0 0 12px;
  color:#7f9621;
  font-weight:950;
  font-size:1.75rem;
  line-height:1.05;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.section-title{
  margin:0;
  color:var(--kyoei-navy);
  font-size:clamp(1.7rem,3vw,2.6rem);
  line-height:1.3;
  font-weight:900;
}
.section-text{color:var(--kyoei-muted);}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:0 18px;border-radius:999px;border:1px solid transparent;
  font-size:.95rem;font-weight:800;letter-spacing:.04em;cursor:pointer;
}
.btn-primary{background:linear-gradient(135deg,var(--kyoei-green),var(--kyoei-lime));color:#13233a;box-shadow:0 14px 30px rgba(180,212,62,.25);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 32px rgba(180,212,62,.3);} 
.btn-secondary{background:#fff;color:var(--kyoei-navy);border-color:var(--kyoei-line);box-shadow:var(--kyoei-shadow);} 
.scroll-limited{overflow:auto;}
footer{
  margin-top:24px;
  background:linear-gradient(180deg,#132746 0%,#10213a 100%) !important;
  color:#f2f6fb !important;
}
.footer-flex{padding:34px 22px 16px;}
.footer-wrap{display:grid !important;grid-template-columns:1.2fr repeat(4,1fr);gap:24px !important;align-items:flex-start !important;}
.footer-wrap ul{margin:0;padding:0;list-style:none;}
.footer-wrap li{margin:7px 0;}
.footer-wrap a{color:rgba(242,246,251,.88) !important;font-size:.92rem;}
.footer-wrap a:hover{color:#fff !important;}
.footer-title,.footer-title2,.footer-title3{margin:0 0 10px;font-size:1rem;color:#fff;}
.footer-copylight{border-top:1px solid rgba(255,255,255,.12);margin-top:22px;padding-top:14px;text-align:center;color:rgba(242,246,251,.75);font-size:.85rem;}
.menubutton{background:#fff !important;border:1px solid var(--kyoei-line) !important;border-radius:14px !important;box-shadow:var(--kyoei-shadow) !important;}
#menubutton-iti{display:none;}
#menu{display:none;}
.menubutton{display:none;cursor:pointer;position:fixed;right:16px;top:14px;z-index:120;width:48px;height:48px;align-items:center;justify-content:center;}
#menubutton-list{display:flex;flex-direction:column;justify-content:center;gap:5px;width:100%;height:100%;border:none;background:transparent;cursor:pointer;padding:0 11px;}
#menubutton-list span{display:block;height:2px;border-radius:999px;background:var(--kyoei-navy);transition:all .25s ease;}
.menubutton.active #menubutton-list span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menubutton.active #menubutton-list span:nth-child(2){opacity:0;}
.menubutton.active #menubutton-list span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

#menubutton-iti,#menubutton-list{background:rgba(11,31,58,.96) !important;backdrop-filter:blur(18px);}
@media (max-width: 960px){
  .header{padding:0 16px !important;min-height:66px !important;}
  .main-nav{display:none !important;}
  .section{padding:30px 16px;}
  .section-head{flex-direction:column;align-items:flex-start;}
  .footer-wrap{grid-template-columns:1fr 1fr;}
}
@media (max-width: 640px){
  .footer-wrap{grid-template-columns:1fr;}
  .section-title{font-size:1.75rem;}
}

@media (max-width: 960px){
  #menubutton-iti{display:block;}
  .menubutton{display:flex;}
  #menu{display:block;position:fixed;inset:0;background:rgba(11,31,58,.96);color:#fff;z-index:110;transform:translateX(100%);transition:transform .28s ease;padding:88px 18px 24px;overflow:auto;}
  #menubutton-iti.panelactive + #menu, #menubutton-iti.panelactive ~ #menu{transform:translateX(0);}
  #menu ul{list-style:none;padding:0;margin:0;display:grid;gap:10px;}
  #menu li a{display:block;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.06);color:#fff;font-weight:700;}
}

/* batch2 */
#menubutton-iti{display:block !important;position:fixed;right:18px;top:14px;z-index:220;background:transparent !important;pointer-events:none;}
.menubutton{display:flex !important;cursor:pointer;width:54px;height:54px;align-items:center;justify-content:center;pointer-events:auto;background:rgba(255,255,255,.92) !important;border:1px solid rgba(221,229,238,.95) !important;border-radius:18px !important;box-shadow:0 14px 34px rgba(12,26,49,.14) !important;backdrop-filter:blur(16px);transition:transform .28s ease, box-shadow .28s ease, background .28s ease;}
.menubutton:hover{transform:translateY(-3px) scale(1.06);box-shadow:0 22px 46px rgba(12,26,49,.20) !important;background:linear-gradient(135deg,#ffffff,#eff6d7) !important;}
#menubutton-list{display:flex !important;flex-direction:column;justify-content:center;gap:6px;width:100%;height:100%;border:none;background:transparent !important;cursor:pointer;padding:0 13px;}
#menubutton-list span{display:block;height:2px;border-radius:999px;background:var(--kyoei-navy);transition:all .28s ease;}
.menubutton.active #menubutton-list span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.menubutton.active #menubutton-list span:nth-child(2){opacity:0;transform:translateX(10px);}
.menubutton.active #menubutton-list span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}
#menu{display:block !important;position:fixed;top:0;right:0;bottom:0;width:min(420px,88vw);z-index:200;padding:96px 22px 28px;overflow:auto;transform:translateX(110%);transition:transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s ease;background:radial-gradient(circle at 20% 10%, rgba(184,213,64,.26), transparent 30%),radial-gradient(circle at 85% 16%, rgba(69,129,205,.26), transparent 34%),linear-gradient(145deg,rgba(13,31,58,.98),rgba(21,48,84,.96) 52%,rgba(10,27,50,.98));color:#fff;box-shadow:none;border-left:1px solid rgba(255,255,255,.12);}
#menubutton-iti.panelactive + #menu{transform:translateX(0);box-shadow:-28px 0 60px rgba(7,18,34,.28);}
#menu::before{content:"MENU";position:absolute;left:26px;top:26px;font-size:2rem;line-height:1;font-weight:950;letter-spacing:.16em;color:rgba(255,255,255,.9);}
#menu ul{margin:0;padding:0;list-style:none;display:grid;gap:9px;}
#menu li{list-style:none;margin:0;padding:0;}
#menu li a{display:flex;align-items:center;min-height:46px;padding:0 16px;border-radius:14px;color:#fff !important;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);font-size:1rem;font-weight:800;letter-spacing:.04em;transition:transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;}
#menu li a:hover{transform:translateX(-8px) scale(1.03);background:linear-gradient(135deg,rgba(184,213,64,.90),rgba(63,123,197,.76));border-color:rgba(255,255,255,.32);box-shadow:0 14px 30px rgba(0,0,0,.18);}
.footer-wrap a{position:relative;display:inline-flex;align-items:center;gap:8px;transition:transform .25s ease, color .25s ease, opacity .25s ease !important;}
.footer-wrap a::before{content:"";width:0;height:2px;border-radius:999px;background:linear-gradient(90deg,var(--kyoei-green),#fff);transition:width .25s ease;}
.footer-wrap a:hover{transform:translateX(8px);color:#fff !important;opacity:1 !important;}
.footer-wrap a:hover::before{width:28px;}
.btn:hover{transform:translateY(-4px) scale(1.04) !important;}
.main-nav a:hover{transform:translateY(-3px) scale(1.06) !important;}


/* batch3 overrides */

body,
.header,
.section-title,
.section-label,
.logomojicolor,
.footer-logomojicolor,
.hero-title,
.main-nav a,
#menu li a,
.service-card small,
.group-card small,
.service-card h3,
.group-card h3{
  font-family:"Yu Gothic","Yu Gothic UI","YuGothic",Meiryo,sans-serif !important;
}
.header{padding:0 104px 0 28px !important;}
.header nav[aria-label="メインメニュー"]{padding-right:18px;}
.main-nav{gap:8px !important; flex-wrap:wrap; justify-content:flex-end;}
.main-nav a[class^="menu"],.main-nav a{
  min-height:40px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  border:1px solid rgba(188,205,76,.55) !important;
  background:linear-gradient(135deg,#f3ef97,#b9d64d) !important;
  color:#23364f !important;
  box-shadow:0 8px 18px rgba(184,213,64,.14);
}
.main-nav .menu1{background:linear-gradient(135deg,#f4f09d,#c5dd53) !important;}
.main-nav .menu2{background:linear-gradient(135deg,#efe987,#bbd449) !important;}
.main-nav .menu3{background:linear-gradient(135deg,#f5f5a5,#b6d149) !important;}
.main-nav .menu4{background:linear-gradient(135deg,#ebe67d,#b8d245) !important;}
.main-nav .menu5{background:linear-gradient(135deg,#f0ec91,#b8d444) !important;}
.main-nav .menu6{background:linear-gradient(135deg,#f6f1a9,#c3dc58) !important;}
.main-nav a:hover,
.main-nav a[class^="menu"]:hover{
  background:linear-gradient(135deg,#e7f3ff,#b8daf8) !important;
  border-color:#8ebce9 !important;
  color:#245891 !important;
  transform:translateY(-3px) scale(1.05) !important;
}
#menubutton-iti{right:20px !important;top:10px !important;z-index:240 !important;}
.menubutton{
  width:58px !important;height:58px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(239,243,247,.95)) !important;
  border:1px solid rgba(197,204,212,.95) !important;
  box-shadow:0 10px 22px rgba(12,26,49,.10), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
#menubutton-list span{
  height:3px !important;
  background:#7f8791 !important;
  box-shadow:0 1px 0 rgba(255,255,255,.75), 0 0 10px rgba(17,35,61,.08);
}
#menu li a:hover{transform:translateX(-4px) scale(1.03) !important;}
.footer-wrap a{
  position:relative !important;
  display:inline-block !important;
  padding-bottom:5px !important;
  transition:transform .22s ease,color .22s ease !important;
}
.footer-wrap a::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  bottom:0 !important;
  width:0 !important;
  height:3px !important;
  border-radius:999px !important;
  background:linear-gradient(90deg,var(--kyoei-green),#e6f4ff) !important;
  transition:width .25s ease !important;
}
.footer-wrap a:hover{
  transform:scale(1.06) !important;
  color:#fff !important;
}
.footer-wrap a:hover::before{width:100% !important;}
@media (max-width:1100px){
  .header{padding:0 88px 0 16px !important;}
}
@media (max-width:960px){
  .header{padding:0 82px 0 16px !important;}
}


/* batch4 menu button refinement */
#menubutton-iti{
  right:18px !important;
  top:37px !important;
  transform:translateY(-50%);
  z-index:260 !important;
}
.menubutton{
  width:52px !important;
  height:52px !important;
  border-radius:15px !important;
  background:linear-gradient(180deg,#f7f8fa 0%,#eceff3 100%) !important;
  border:1.5px solid #c3cad3 !important;
  box-shadow:0 10px 22px rgba(12,26,49,.10), inset 0 1px 0 rgba(255,255,255,.96), inset 0 -1px 0 rgba(185,192,200,.35) !important;
}
.menubutton:hover{
  background:linear-gradient(180deg,#fbfcfd 0%,#edf2f7 100%) !important;
  border-color:#adb6c1 !important;
  transform:translateY(0) scale(1.04) !important;
}
#menubutton-list{
  width:24px !important;
  height:24px !important;
  padding:0 !important;
  margin:0 auto !important;
  gap:5px !important;
  align-items:center !important;
}
#menubutton-list span{
  width:24px !important;
  height:3px !important;
  margin:0 auto !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#8a939d 0%,#6f7983 100%) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.88), 0 1px 5px rgba(12,26,49,.10) !important;
}
.menubutton.active #menubutton-list span:nth-child(1){transform:translateY(8px) rotate(45deg) !important;}
.menubutton.active #menubutton-list span:nth-child(2){opacity:0 !important;transform:scaleX(.6) !important;}
.menubutton.active #menubutton-list span:nth-child(3){transform:translateY(-8px) rotate(-45deg) !important;}
@media (max-width:1100px){
  #menubutton-iti{top:33px !important;right:14px !important;}
}
@media (max-width:640px){
  #menubutton-iti{top:31px !important;right:12px !important;}
  .menubutton{width:48px !important;height:48px !important;}
}


/* batch5 brand/header tweaks */

.syamei-logo,
.footer-syamei-logo{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
.syamei-logo h1,
.footer-syamei-logo h1{margin:0 !important; display:flex; align-items:center;}
.logoimage,
.footer-logoimage{
  display:block !important;
  width:auto !important;
  height:48px !important;
  object-fit:contain !important;
}
.logomojicolor,
.footer-logomojicolor{
  font-family:"Yu Mincho","Hiragino Mincho ProN","MS PMincho","Times New Roman",serif !important;
  font-weight:700 !important;
  font-size:2.05rem !important;
  line-height:1 !important;
  letter-spacing:.02em !important;
  display:inline-flex !important;
  align-items:center !important;
  min-height:48px !important;
}
.header{min-height:74px !important;}


/* batch6 header/footer tweaks */

#menubutton-iti{
  top:37px !important;
  right:28px !important;
  transform:translateY(-50%) !important;
  z-index:280 !important;
}
.header{padding-right:116px !important;}
.footer-syamei-logo a::before,
.footer-syamei-logo a::after,
.footer-syamei-logo h1 a::before,
.footer-syamei-logo h1 a::after{
  display:none !important;
  content:none !important;
}
.footer-syamei-logo a:hover,
.footer-syamei-logo h1 a:hover{
  transform:none !important;
}
@media (max-width:960px){
  #menubutton-iti{right:18px !important; top:35px !important;}
  .header{padding-right:92px !important;}
}


/* batch8: header menu button inside same row + brand/footer fixes */
.header{
  display:grid !important;
  grid-template-columns:auto 1fr auto !important;
  align-items:center !important;
  gap:20px !important;
  padding:0 30px !important;
}
.syamei-logo{
  height:74px !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
.logoimage{
  width:auto !important;
  height:46px !important;
  display:block !important;
  object-fit:contain !important;
}
.syamei-logo h1{
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  height:46px !important;
}
.logomojicolor{
  font-family:"Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif !important;
  font-size:1.95rem !important;
  line-height:1 !important;
  min-height:46px !important;
  display:flex !important;
  align-items:center !important;
  letter-spacing:.03em !important;
  font-weight:700 !important;
}
.header nav[aria-label="メインメニュー"]{
  justify-self:end !important;
  padding-right:0 !important;
}
.main-nav{
  justify-content:flex-end !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
}
#menubutton-iti{
  position:static !important;
  transform:none !important;
  z-index:1 !important;
  pointer-events:auto !important;
  justify-self:end !important;
  align-self:center !important;
  width:52px !important;
  height:52px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.menubutton{
  position:static !important;
  width:48px !important;
  height:48px !important;
  border-radius:15px !important;
  background:linear-gradient(180deg,#f6f7f9,#eceff2) !important;
  border:1.5px solid #bfc7cf !important;
  box-shadow:0 8px 18px rgba(12,26,49,.10), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
.menubutton:hover{
  transform:scale(1.04) !important;
  background:linear-gradient(180deg,#ffffff,#edf1f5) !important;
}
#menubutton-list{
  width:24px !important;
  height:24px !important;
  padding:0 !important;
  margin:0 !important;
  gap:5px !important;
  align-items:center !important;
}
#menubutton-list span{
  width:24px !important;
  height:3px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#8d969f,#6f7882) !important;
}
#menu{
  z-index:240 !important;
}
#menubutton-iti.panelactive + #menu{
  transform:translateX(0) !important;
  box-shadow:-28px 0 60px rgba(7,18,34,.28) !important;
}

/* footer: put menu columns on one row and logo at bottom */
.footer-wrap{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(120px,1fr)) !important;
  gap:28px !important;
  align-items:start !important;
}
.footer-brand-bottom{
  max-width:var(--kyoei-max);
  margin:28px auto 0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
}
.footer-brand-bottom .footer-syamei-logo{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
.footer-brand-bottom .footer-logoimage{
  width:auto !important;
  height:44px !important;
}
.footer-brand-bottom .footer-logomojicolor{
  font-family:"Yu Mincho","Hiragino Mincho ProN","MS PMincho",serif !important;
  font-size:1.9rem !important;
  min-height:44px !important;
  display:flex !important;
  align-items:center !important;
}
.footer-syamei-logo a::before,
.footer-syamei-logo a::after,
.footer-syamei-logo h1 a::before,
.footer-syamei-logo h1 a::after,
.footer-brand-bottom a::before,
.footer-brand-bottom a::after{
  display:none !important;
  content:none !important;
}
.footer-syamei-logo a:hover,
.footer-brand-bottom a:hover{
  transform:none !important;
}
.footer-copylight{
  margin-top:14px !important;
}
@media (max-width:1100px){
  .header{grid-template-columns:auto 1fr auto !important; padding:0 16px !important;}
  .main-nav{display:none !important;}
  .footer-wrap{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:640px){
  .footer-wrap{grid-template-columns:1fr !important;}
}



/* batch9 final header / brand / menu button alignment */
.header{
  display:grid !important;
  grid-template-columns:auto 1fr !important;
  align-items:center !important;
  gap:24px !important;
  min-height:84px !important;
}
.syamei-logo{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-height:52px !important;
}
.syamei-logo > a{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:48px !important;
}
.logoimage{
  height:48px !important;
  width:auto !important;
  display:block !important;
}
.syamei-logo h1{
  margin:0 !important;
  height:48px !important;
  display:flex !important;
  align-items:center !important;
}
.logomojicolor{
  display:flex !important;
  align-items:center !important;
  height:48px !important;
  line-height:1 !important;
  min-height:48px !important;
  font-size:1.95rem !important;
}
.header nav[aria-label="メインメニュー"]{
  justify-self:end !important;
  align-self:center !important;
}
.main-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
}

/* Keep hamburger before #menu for JS, but align visually with the header row */
#menubutton-iti{
  position:fixed !important;
  top:34px !important;
  right:26px !important;
  width:54px !important;
  height:54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  z-index:260 !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  pointer-events:auto !important;
  background:transparent !important;
}
#menubutton-iti.panelactive{
  inset:0 !important;
  width:auto !important;
  height:auto !important;
  display:block !important;
  background:rgba(11,31,58,.34) !important;
  backdrop-filter:blur(4px) !important;
}
#menubutton-iti.panelactive .menubutton{
  position:fixed !important;
  top:34px !important;
  right:26px !important;
}
.menubutton{
  position:relative !important;
  width:48px !important;
  height:48px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:15px !important;
  background:linear-gradient(180deg,#f6f7f9,#eceff2) !important;
  border:1.5px solid #bfc7cf !important;
  box-shadow:0 8px 18px rgba(12,26,49,.10), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
#menubutton-list{
  width:24px !important;
  height:24px !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:5px !important;
  background:transparent !important;
}
#menubutton-list span{
  position:static !important;
  display:block !important;
  width:24px !important;
  height:3px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#8d969f,#6f7882) !important;
}
#menubutton-iti.panelactive + #menu{
  transform:translateX(0) !important;
  box-shadow:-28px 0 60px rgba(7,18,34,.28) !important;
}

.footer-brand-bottom .footer-logoimage{
  height:44px !important;
}
.footer-brand-bottom .footer-syamei-logo h1,
.footer-brand-bottom .footer-logomojicolor{
  height:44px !important;
  min-height:44px !important;
  display:flex !important;
  align-items:center !important;
  line-height:1 !important;
}

@media (max-width:1100px){
  #menubutton-iti{
    top:28px !important;
    right:18px !important;
  }
  #menubutton-iti.panelactive .menubutton{
    top:28px !important;
    right:18px !important;
  }
}

/* batch10 emergency header fix */
.syamei-logo{
  min-height:46px !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
.syamei-logo > a,
.syamei-logo h1,
.logomojicolor{
  display:flex !important;
  align-items:center !important;
}
.syamei-logo > a,
.syamei-logo h1{
  height:46px !important;
}
.logoimage{
  height:46px !important;
  width:auto !important;
}
.logomojicolor{
  height:46px !important;
  min-height:46px !important;
  line-height:1 !important;
  padding:0 !important;
}

.header{
  min-height:84px !important;
  grid-template-columns:auto 1fr !important;
  align-items:center !important;
  padding:0 26px !important;
}
.header nav[aria-label="メインメニュー"]{
  justify-self:end !important;
  align-self:center !important;
  padding-right:74px !important;
}
.main-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
}

#menubutton-iti{
  position:fixed !important;
  top:18px !important;
  right:18px !important;
  width:56px !important;
  height:56px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  z-index:320 !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  pointer-events:auto !important;
  background:transparent !important;
}
#menubutton-iti.panelactive{
  position:fixed !important;
  inset:auto !important;
  top:18px !important;
  right:18px !important;
  width:56px !important;
  height:56px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:transparent !important;
  backdrop-filter:none !important;
}
#menubutton-iti.panelactive .menubutton{
  position:relative !important;
  top:auto !important;
  right:auto !important;
}
.menubutton{
  width:48px !important;
  height:48px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media (max-width:1100px){
  .header{padding:0 18px !important;}
  .header nav[aria-label="メインメニュー"]{padding-right:68px !important;}
  #menubutton-iti,
  #menubutton-iti.panelactive{top:16px !important; right:14px !important;}
}
@media (max-width:960px){
  .header{padding:0 14px !important;}
  .header nav[aria-label="メインメニュー"]{padding-right:0 !important;}
  #menubutton-iti,
  #menubutton-iti.panelactive{top:14px !important; right:12px !important;}
}

/* batch11 brand/footer polish */
.syamei-logo,
.footer-syamei-logo{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
.syamei-logo > a,
.footer-syamei-logo > a,
.syamei-logo h1,
.footer-syamei-logo h1{
  display:flex !important;
  align-items:center !important;
  align-self:center !important;
  margin:0 !important;
}
.syamei-logo{
  min-height:48px !important;
}
.logoimage,
.footer-logoimage{
  height:48px !important;
  width:auto !important;
  display:block !important;
  flex:0 0 auto !important;
}
.logomojicolor,
.footer-logomojicolor{
  display:flex !important;
  align-items:center !important;
  min-height:48px !important;
  line-height:1 !important;
}
.footer-brand-bottom{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.footer-brand-bottom .footer-syamei-logo{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
.footer-brand-bottom .footer-syamei-logo h1{
  display:flex !important;
  align-items:center !important;
  margin:0 !important;
}
.footer-brand-bottom .footer-logomojicolor{
  display:flex !important;
  align-items:center !important;
  visibility:visible !important;
  opacity:1 !important;
}
.footer-brand-bottom::before,
.footer-brand-bottom::after,
.footer-brand-bottom .footer-syamei-logo::before,
.footer-brand-bottom .footer-syamei-logo::after{
  display:none !important;
  content:none !important;
}


/* batch12 final header/footer fixes */
.syamei-logo{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-height:52px !important;
}
.syamei-logo > a,
.syamei-logo h1{
  display:flex !important;
  align-items:center !important;
  height:44px !important;
  margin:0 !important;
}
.logoimage{
  height:44px !important;
  width:auto !important;
  display:block !important;
}
.logomojicolor{
  display:flex !important;
  align-items:center !important;
  height:44px !important;
  line-height:44px !important;
}

#menubutton-iti,
#menubutton-iti.panelactive{
  top:8px !important;
  right:18px !important;
}
@media (max-width:1100px){
  #menubutton-iti,
  #menubutton-iti.panelactive{top:10px !important; right:14px !important;}
}
@media (max-width:960px){
  #menubutton-iti,
  #menubutton-iti.panelactive{top:12px !important; right:12px !important;}
}

.footer-brand-bottom{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.footer-brand-bottom .footer-syamei-logo{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
.footer-brand-bottom .footer-syamei-logo > a,
.footer-brand-bottom .footer-syamei-logo h1{
  display:flex !important;
  align-items:center !important;
  height:44px !important;
  margin:0 !important;
}
.footer-brand-bottom .footer-logoimage{
  height:44px !important;
  width:auto !important;
  display:block !important;
}
.footer-brand-bottom .footer-logomojicolor{
  color:#f7fbff !important;
  display:flex !important;
  align-items:center !important;
  height:44px !important;
  line-height:44px !important;
  opacity:1 !important;
  visibility:visible !important;
  white-space:nowrap !important;
}

/* update2 */
.hero-frame{
  aspect-ratio:16/9 !important;
  width:calc(100% - 20px) !important;
  margin:20px 20px 20px auto !important;
  height:auto !important;
}
.hero-media{
  padding:0 !important;
}
.sp-nav-btn,.menu-toggle,.hamburger-button{
  transform:translateY(-5px) !important;
}


/* equal height layout */
.hero-shell,
.hero-content{
    align-items:stretch !important;
}
.hero-image,
.hero-media,
.hero-video,
.hero-left,
.hero-right{
    height:100% !important;
}
.hero-media video,
.hero-video video{
    height:100% !important;
    width:100% !important;
    object-fit:cover !important;
}
.hero-shell{
    background:transparent !important;
}


/* image-video balance tweak */
.hero-shell,
.hero-content{
    column-gap:5px !important;
    gap:5px !important;
}
.hero-media,
.hero-video{
    margin-top:20px !important;
    margin-right:20px !important;
    margin-bottom:20px !important;
    height:calc(100% - 40px) !important;
}


/* final spacing adjustment */
.hero-shell,
.hero-content{
    gap:10px !important;
    column-gap:10px !important;
}
.hero-media,
.hero-video{
    margin-top:10px !important;
    margin-right:10px !important;
    margin-bottom:10px !important;
    height:calc(100% - 20px) !important;
}

/* nav pill gradient tune 20260608 */
.main-nav a,
.main-nav a:visited,
.menu1,
.menu2,
.menu3,
.menu4,
.menu5,
.menu6 {
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.94) 72%,
      rgba(236,245,183,.96) 86%,
      rgba(190,220,64,.96) 100%) !important;
  border: 1px solid rgba(184, 210, 66, .72) !important;
  color: #233149 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.88),
    0 6px 14px rgba(137,157,48,.10) !important;
}

.main-nav a:hover,
.menu1:hover,
.menu2:hover,
.menu3:hover,
.menu4:hover,
.menu5:hover,
.menu6:hover {
  background:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.96) 64%,
      rgba(231,244,157,.98) 84%,
      rgba(175,211,38,.98) 100%) !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 8px 18px rgba(137,157,48,.16) !important;
}
