@charset "UTF-8";


/* ===============================================
ヘッダー & ナビゲーション
=============================================== */
.header-inner { display: flex; align-items: center; justify-content: space-between; background: #FFF; height: 50px; position: fixed; top: 0; left: 0; width: 100%; z-index: 1001; padding: 0 5%; }
.header-logo img { height: 16px; width: auto; }
.nav-toggle { display: block; position: relative; width: 30px; height: 24px; z-index: 1002; }
.nav-toggle span { display: block; position: absolute; left: 0; width: 100%; height: 2px; background-color: #333; transition: all 0.3s ease-in-out; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.show span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.show span:nth-child(2) { opacity: 0; }
.nav-toggle.show span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }
.nav { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); position: fixed; top: 0; left: 0; width: 100%; height: 100%; padding: 80px 5%; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; z-index: 1000; text-align: center; }
.nav.show { opacity: 1; visibility: visible; }
.nav-inq { display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 15px; padding: 12px 60px; background-color: #fff; border: 1px solid #e0e0e0; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-decoration: none; transition: all 0.3s ease; }
.nav-inq:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-color: #d3c6a6; }
.nav-inq-icon { flex-shrink: 0; width: 36px; height: 36px; background-color: #fdfbf7; border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3c6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); background-size: 30px; background-position: center; background-repeat: no-repeat; }
.nav-inq-text { display: block; text-align: left; }
.nav-inq-none { display: block; font-size: 14px; color: #888; margin-bottom: 2px; }
.nav-inq-p { display: block; font-weight: 700; font-size: 20px; color: #333; word-break: keep-all; }
.nav-img-p { font-weight: bold; font-size: 15px; margin: 20px auto 10px; }
.nav-img { margin: 10px 0; }
.nav-img img { width: 70%; max-width: 220px; margin: 0 auto; }
.nav-tel { margin: 20px 0; }
.nav-tel-p { font-size: 14px; margin-bottom: 4px; }
.nav-tel-no a { font-size: 28px; font-weight: 700; color: #333; }
.nav-list { border-top: 1px solid #eee; padding-top: 25px; margin-top: 25px; }
.nav-list li { padding: 0; margin-bottom: 18px; }
.nav-list a { font-weight: 700; font-size: 16px; color: #333; }
.font-very-small { font-size: 0.75em; font-weight: 400; opacity: 0.8; }
.banner-nav { border-top: 1px solid #eee; padding-top: 25px; margin-top: 25px; }
.banner-sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.banner-sns a { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; width: 100%; max-width: 300px; }
.banner-sns a:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.banner-sns img { width: 100%; display: block; }


/* ===============================================
フッター追従ボタン (真の最終完成・安定版)
=============================================== */
.realtime-users-popup,.inquiry-button-wrapper,.pagetop-button-wrapper{position:fixed;z-index:998;transition:opacity .5s ease-in-out,visibility .5s ease-in-out;opacity:0;visibility:hidden;pointer-events:none}
.realtime-users-popup{bottom:80px;right:0}
.inquiry-button-wrapper{bottom:20px;left:0;width:100%;display:flex;justify-content:center}
body.sticky-buttons-active .realtime-users-popup,body.sticky-buttons-active .inquiry-button-wrapper,body.sticky-buttons-active .pagetop-button-wrapper{opacity:.85;visibility:visible;pointer-events:auto}
.pagetop-button-wrapper{bottom:19px;right:20px;z-index:999}
.realtime-users-popup{background-color:#e9e3d3;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:8px 12px;border-top-left-radius:5px;border-bottom-left-radius:5px;box-shadow:0 4px 20px rgba(0,0,0,.1);font-size:11px;color:#333;line-height:1.4;text-align:center}
.inquiry-button{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background-color:#fdb813;color:#fff;font-weight:700;font-size:14px;height:44px;padding:0 25px;border-radius:22px;box-shadow:0 4px 15px rgba(0,0,0,.15);text-decoration:none;transition:transform .3s ease-in-out,box-shadow .3s ease-in-out}
.pagetop-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background-color:#fff;border:1px solid #ddd;border-radius:50%;box-shadow:0 4px 15px rgba(0,0,0,.1);cursor:pointer;transition:transform .3s ease-in-out,box-shadow .3s ease-in-out}
.user-n{color:#c94a4a;font-size:13px;font-weight:900}
.inquiry-button::after{content:'';position:absolute;top:-50%;left:-100%;width:20%;height:200%;background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.4) 50%,rgba(255,255,255,0) 100%);transform:rotate(25deg);animation:shine 5s infinite ease-out;animation-delay:1s}
@keyframes shine{0%{left:-100%}15%{left:150%}100%{left:150%}}
.pagetop-button-arrow{width:10px;height:10px;border-top:2px solid #333;border-right:2px solid #333;transform:translateX(0) translateY(20%) rotate(-45deg)}
.inquiry-button-wrapper:hover,.pagetop-button-wrapper:hover{opacity:1}
.inquiry-button:hover,.pagetop-button:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.2)}
body.footer-visible .realtime-users-popup,body.footer-visible .inquiry-button-wrapper,body.footer-visible .pagetop-button-wrapper{opacity:0;visibility:hidden;pointer-events:none}

/* ===============================================
フッター
=============================================== */
footer{background-color:#333;color:#999}
.story{padding:80px 0 20px;overflow-x:hidden}
.story-content-wrapper{display:flex;flex-direction:column;align-items:center;gap:1rem;width:90%;max-width:1100px;margin:0 auto;}
.story-text-group{width:100%}
.story-text-group:first-child{display:flex;flex-direction:row-reverse;justify-content:center;gap:1.5rem}
.story-paragraphs,.story-text-group:nth-child(2){display:flex;flex-direction:row-reverse;justify-content:center;gap:.5rem;height:45vh;min-height:437px}
.story h2,.story p{writing-mode:vertical-rl;text-orientation:mixed;color:#ccc;margin:0;padding:0;width:auto!important;height:100%}
.story h2{letter-spacing:.3em;height:auto}
.story p{font-size:12px;margin-bottom:16px;letter-spacing:.1em}
.footer-wrap{display:block;margin:60px auto 40px;width:90%;max-width:900px}
.footer-logo{display:flex;justify-content:center;margin:0 auto 40px}
.footer-logo img{padding:0 20px;width:150px}
.footer-logo img:first-child{border-right:.5px solid #999}
.footer-sns{display:flex;align-items:center;justify-content:center;margin:32px auto 40px}
.footer-sns img{height:auto;padding:0 20px;width:76px}
.footer-sns img:hover{opacity:.3;transition:.3s}
.footer-menu{margin:0 auto 16px;width:90%;max-width:900px;text-align:center}
.footer-menu ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 15px;font-size:12px}
.footer-menu li{padding:0;margin:4px}
.footer-menu a{color:#bbb;padding:4px 12px;border-radius:3px;transition:background-color .2s;display:inline-flex;align-items:center;min-height:44px}
.footer-menu a:hover{background-color:#444;color:#fff}
.copyright{color:#a5a5a5;font-size:10px;padding-bottom:10px;text-align:center;width:100%;margin-bottom:0}
@media screen and (min-width:768px){.story-content-wrapper{flex-direction:row-reverse;justify-content:center;align-items:flex-start;gap:12px}.story-text-group{width:auto;max-width:48%}.story-paragraphs,.story-text-group:nth-child(2){height:45vh;min-height:337px}}


/*※調整*/
.nav-list {margin: 25px auto 0 auto; }
.nav-inq {padding: 0px 60px;}
.story h2,.story p{line-height: 1.8em;}
.story h2{font-size: 18px;text-align: left;}
.footer-menu{max-width:940px;}