:root{--navy:#1f2a44;--gold:#c9a24d;--gray-bg:#f4f6f8}html{scroll-behavior:smooth;scroll-padding-top:145px}body{margin:0;padding-top:134px;background:var(--gray-bg);font-family:"Noto Sans JP","Yu Gothic",sans-serif;color:#333;line-height:1.8;padding-bottom:60px}*{box-sizing:border-box}img{max-width:100%;height:auto}a{color:var(--navy)}.renew-header{position:fixed!important;top:0;left:0;right:0;width:100%!important;height:80px!important;background:white;z-index:1100;border-bottom:1px solid #eee;display:flex!important;align-items:center;justify-content:space-between;padding:16px max(20px,calc((100vw - 1200px)/2));gap:16px}.renew-header a{text-decoration:none;font-weight:700}.renew-logo{font-size:18px;white-space:nowrap}.renew-btn{display:inline-block;padding:10px 20px;background:var(--gold);color:#fff!important;border-radius:6px;margin-left:12px}.renew-nav{position:fixed;top:80px;left:0;right:0;z-index:1090;display:flex;justify-content:center;gap:24px;padding:12px 20px;background:var(--navy);overflow:auto;white-space:nowrap}.renew-nav a{color:white;font-size:14px;text-decoration:none}.renew-footer{clear:both;background:#111;color:#ccc;padding:40px 20px!important;font-size:14px;text-align:center}.renew-footer a{color:#eee}.renew-fixed{display:none}.gridContainer{width:calc(100% - 40px)!important;max-width:1200px!important;margin:32px auto!important;padding:0!important}#navi,.hamburger-menu,#footer0{display:none!important}#contents{display:flex!important;gap:32px;align-items:flex-start;width:100%!important;float:none!important}#maincontents{width:auto!important;flex:1;min-width:0;float:none!important;background:#fff;padding:32px!important;border-radius:8px}#subcontents{width:260px!important;float:none!important;background:#fff;border-radius:8px;padding:20px!important}#maincontents h1{font-size:30px!important;color:var(--navy)!important;border-bottom:3px solid var(--gold)!important;line-height:1.5;padding-bottom:16px!important}#maincontents h2{font-size:22px!important;color:var(--navy)!important;border-bottom:2px solid var(--gold)!important;line-height:1.6;margin-top:32px!important}#maincontents h2:before,#maincontents h3:before{display:none}#maincontents p,#maincontents p span{font-family:inherit!important;color:#333!important;line-height:1.9!important}input,textarea,select{max-width:100%;font-size:16px}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.renew-home{padding-top:134px;background:white}.renew-home .hero{height:calc(100svh - 134px);min-height:520px;padding-top:0}.renew-home h2{border:0;line-height:1.5}.renew-home .hero .btn{margin-bottom:12px}.renew-home .field-card{background:var(--gray-bg)}.renew-home .btn-gold{color:#1f2a44}.renew-home #contact{scroll-margin-top:134px}
@media(max-width:768px){body{padding-top:120px;padding-bottom:56px}.renew-header{height:72px!important;padding:12px 16px;gap:8px}.renew-logo{font-size:14px}.renew-header>div>a:first-child{display:none}.renew-btn{padding:10px 12px;margin-left:0;font-size:13px}.renew-nav{top:72px;justify-content:flex-start;gap:20px;font-size:13px}.gridContainer{width:calc(100% - 24px)!important;margin:20px auto!important}#contents{display:block!important}#maincontents{width:100%!important;padding:20px!important}#subcontents{width:100%!important;margin-top:24px}#maincontents h1{font-size:25px!important}#maincontents h2{font-size:20px!important}.renew-fixed{position:fixed;bottom:0;left:0;right:0;z-index:1200;display:flex}.renew-fixed a{width:50%;background:var(--navy);color:white;text-align:center;padding:14px 8px;text-decoration:none;font-weight:700}.renew-fixed a+a{background:var(--gold);color:var(--navy)}.renew-home{padding-top:120px}.renew-home .hero{height:auto;min-height:580px;padding:48px 20px}.renew-home .hero-inner{padding:0}.renew-home .hero .btn{display:block;margin-right:0;text-align:center}.renew-home section{padding:56px 20px}.renew-home h2{font-size:25px}.renew-home #contact{scroll-margin-top:120px}}
/* NEW HPと同じ下部固定バーを全画面幅で表示 */
body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
.renew-fixed{position:fixed;bottom:0;left:0;right:0;width:100%;z-index:1200;display:flex}
.renew-fixed a{flex:1;width:50%;display:flex;align-items:center;justify-content:center;background:#333;color:#fff;padding:16px 8px calc(16px + env(safe-area-inset-bottom,0px));text-align:center;text-decoration:none;font-weight:700;line-height:1.7}
.renew-fixed a+a{background:var(--gold);color:#fff}
/* Layout repair 2026-10-09 */
/* Old pages place the footer or forms inside contents. Use normal document flow. */
body:not(.renew-home) .gridContainer #contents{display:block!important;width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important;background:transparent!important}
body:not(.renew-home) .gridContainer #maincontents{display:block!important;width:100%!important;max-width:none!important;float:none!important;clear:both!important;flex:none!important;margin:0!important;padding:32px!important;box-sizing:border-box!important;overflow-wrap:anywhere}
body:not(.renew-home) .gridContainer #maincontents .renew-inner-content{display:block!important;width:100%!important;max-width:none!important;float:none!important;clear:both!important;margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important}
body:not(.renew-home) .gridContainer #contents>form{display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
body:not(.renew-home) .gridContainer #contents>#footer,body:not(.renew-home) .gridContainer #footer{float:none!important;clear:both!important;width:100%!important;max-width:none!important;margin:32px 0 0!important;height:auto!important;box-sizing:border-box!important}
body:not(.renew-home) .gridContainer #sitemap{float:none!important;clear:both!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
body:not(.renew-home) .gridContainer #maincontents .bancho-seo-block{width:100%!important;margin:24px 0!important;padding:20px!important;clear:both!important;float:none!important;box-sizing:border-box!important}
body:not(.renew-home) .gridContainer #maincontents .bancho-seo-block p{margin:8px 0!important;text-indent:0!important}
body:not(.renew-home) .gridContainer #maincontents .bancho-seo-block h2{margin:0 0 12px!important;padding-bottom:8px!important}
body:not(.renew-home) .gridContainer #maincontents .bancho-seo-breadcrumb{margin:0 0 24px!important}
body:not(.renew-home) .gridContainer #maincontents .bancho-seo-block li{white-space:normal!important;line-height:1.8!important}
body:not(.renew-home) .gridContainer #maincontents table{max-width:100%!important}
body:not(.renew-home) .gridContainer #subcontents{width:100%!important;max-width:none!important;float:none!important;clear:both!important;margin-top:24px!important}
@media(max-width:768px){body:not(.renew-home) .gridContainer #maincontents{padding:20px!important}body:not(.renew-home) .gridContainer #maincontents .bancho-seo-block{padding:16px!important}}
/* End layout repair */
