/* Shared footer: the native theme footer is replaced visually, not deleted. */
.mihashi-custom-footer .l-footer { display: none; }
.mihashi-site-footer { position:relative; isolation:isolate; overflow:hidden; background:#faf8f1; color:#285f47; border-top:1px solid #e1dfcf; padding:48px 28px 54px; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; }
.mihashi-site-footer *, .mihashi-site-footer *::before, .mihashi-site-footer *::after { box-sizing:border-box; }
.mihashi-site-footer__inner { position:relative; z-index:1; max-width:1120px; margin:0 auto; }
.mihashi-site-footer__top { display:flex; align-items:center; justify-content:center; gap:64px; }
.mihashi-site-footer a { color:inherit; text-decoration:none; }
.mihashi-site-footer__brand { display:block; flex-shrink:0; width:280px; max-width:100%; line-height:1; }
.mihashi-site-footer__brand img { display:block; width:100%; height:auto; }
.mihashi-site-footer__actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; width:520px; max-width:100%; }
.mihashi-site-footer .mihashi-site-footer__button { display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:80px; padding:12px 18px; border:1px solid #315f49; background:#315f49; color:#fff; text-align:center; transition:background-color .2s; }
.mihashi-site-footer__button span { font-family:"Yu Gothic",sans-serif; font-size:11px; line-height:1.6; }
.mihashi-site-footer__button strong { font-size:21px; font-weight:500; line-height:1.6; letter-spacing:.06em; }
.mihashi-site-footer__button b { margin-left:14px; font-size:18px; font-weight:400; }
.mihashi-site-footer .mihashi-site-footer__button.is-request { border-color:#b58b45; background:#fff; color:#896729; }
.mihashi-site-footer .mihashi-site-footer__button.is-visit:hover { background:#294f3e; }
.mihashi-site-footer .mihashi-site-footer__button.is-request:hover { background:#faf7ef; }
.mihashi-site-footer a:focus-visible { outline:3px solid #b58b45; outline-offset:5px; }
.mihashi-site-footer__nav { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 0; margin-top:32px; }
.mihashi-site-footer__nav a { padding:0 22px; font-size:14px; line-height:1.7; border-left:1px solid #c6b58e; }
.mihashi-site-footer__nav a:first-child { border-left:0; }
.mihashi-site-footer__nav a:hover { text-decoration:underline; text-underline-offset:4px; }
.mihashi-site-footer__copyright { display:block; margin-top:24px; padding-top:18px; border-top:1px solid #d5ccbb; font-size:11px; text-align:center; letter-spacing:.04em; }
.mihashi-site-footer__leaves { position:absolute; z-index:0; top:0; left:0; width:270px; height:198px; opacity:.6; pointer-events:none; }
.mihashi-site-footer__landscape { position:absolute; z-index:0; left:0; bottom:0; width:100%; height:44px; pointer-events:none; }
@media(max-width:900px) {
 .mihashi-site-footer__top { gap:32px; }
 .mihashi-site-footer__leaves { width:170px; height:125px; opacity:.4; }
 .mihashi-site-footer__nav a { padding:0 14px; }
}
@media(max-width:600px) {
 .mihashi-site-footer { padding:32px 20px calc(40px + env(safe-area-inset-bottom,0px)); }
 .mihashi-site-footer__top { flex-direction:column; gap:24px; }
 .mihashi-site-footer__brand { width:240px; }
 .mihashi-site-footer__actions { gap:10px; }
 .mihashi-site-footer .mihashi-site-footer__button { min-height:82px; padding:10px 6px; }
 .mihashi-site-footer__button span { font-size:10px; }
 .mihashi-site-footer__button strong { font-size:19px; }
 .mihashi-site-footer__button b { margin-left:6px; }
 .mihashi-site-footer__nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; margin-top:24px; }
 .mihashi-site-footer__nav a { border:0; border-bottom:1px solid #e1dfcf; padding:12px 6px; text-align:center; font-size:12px; }
 .mihashi-site-footer__nav a:last-child:nth-child(odd) { grid-column:1 / -1; }
 .mihashi-site-footer__copyright { margin-top:20px; padding-top:16px; }
}
