/* oq-shared: 共通ヘッダー・フッター（tools/shared/shared.css から自動で挿入。直接編集しない） */
.oq-nav{display:flex;align-items:center;gap:4px 20px;font-size:14px;white-space:nowrap;min-width:0}
.oq-nav>a,.oq-dd-btn{color:#425a63;padding:8px 0;line-height:1.6;border-bottom:2px solid transparent}
.oq-nav>a:hover,.oq-dd:hover .oq-dd-btn{color:#1f2d33;border-bottom-color:#dbe7ec}
.oq-nav>a[aria-current="page"],.oq-dd:has([aria-current="page"]) .oq-dd-btn{color:#1f2d33;font-weight:700;border-bottom-color:#1f2d33}
.oq-dd{position:relative}
.oq-dd-btn{display:inline-flex;align-items:center;gap:4px;margin:0;background:none;border-top:0;border-left:0;border-right:0;font:inherit;font-size:14px;cursor:pointer}
.oq-dd-btn svg{transition:transform .2s}
.oq-dd:hover .oq-dd-btn svg,.oq-dd:focus-within .oq-dd-btn svg{transform:rotate(180deg)}
.oq-dd-menu{display:none;position:absolute;left:-16px;top:100%;padding-top:8px;z-index:60}
.oq-dd:hover .oq-dd-menu,.oq-dd:focus-within .oq-dd-menu{display:block}
.oq-dd-menu-in{min-width:160px;background:#fff;border:1px solid #e3ebee;border-radius:8px;box-shadow:0 8px 24px rgba(18,51,63,.12);padding:8px;display:flex;flex-direction:column}
.oq-dd-menu a{display:block;padding:8px 12px;border-radius:8px;color:#1f2d33;line-height:1.6}
.oq-dd-menu a:hover{background:#f6fafc;color:#1f2d33}
.oq-dd-menu a[aria-current="page"]{font-weight:700;background:#f6fafc}
.oq-sp{display:none}
.oq-sp>summary{width:44px;height:44px;box-sizing:border-box;border:1px solid #e3ebee;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}
.oq-sp>summary::-webkit-details-marker{display:none}
.oq-sp .oq-ic-close,.oq-sp[open] .oq-ic-open{display:none}
.oq-sp[open] .oq-ic-close{display:block}
.oq-sp-panel{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #e3ebee;box-shadow:0 12px 24px rgba(18,51,63,.12);padding:8px 16px 24px;max-height:calc(100vh - 64px);overflow:auto;white-space:normal}
.oq-sp-panel p{margin:16px 0 4px;font-size:12px;font-weight:700;line-height:1.6;color:#5c757e}
.oq-sp-panel a{display:block;padding:12px 8px;font-size:16px;line-height:1.6;color:#1f2d33;border-bottom:1px solid #eef4f6}
.oq-sp-panel a[aria-current="page"]{font-weight:700;background:#f6fafc}
.oq-ft-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 32px}
.oq-ft-h{margin:0 0 16px;font-size:14px;font-weight:700;line-height:1.6;color:#fff}
.oq-ft-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px;font-size:13px;line-height:1.6}
.oq-ft-list a{color:#9dbcc7}
.oq-ft-list a:hover{color:#fff;text-decoration:underline}
@media (max-width:959px){
.oq-nav{display:none!important}
.oq-sp{display:block}
.oq-ft-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.oq-ft-co{grid-column:1/-1}
}
@media (max-width:767px){
.oq-header-in{padding:8px 16px!important;gap:12px!important}
.oq-logo{height:36px!important}
}
@media (max-width:599px){
.oq-ft-grid{grid-template-columns:minmax(0,1fr);gap:32px}
}
@media (max-width:400px){
.oq-hcta{padding:8px 12px!important;font-size:13px!important}
}
/* 各ページ上部（ヒーロー）のスマホ表示：タイトル → 画像 → 説明 → ボタン の順にする */
@media (max-width:935px){
.oq-hero-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding-top:32px!important;padding-bottom:48px!important}
.oq-hero-text{display:contents}
.oq-hero-head{order:1}
.oq-hero-head>h1{margin-bottom:0!important}
.oq-hero-vis{order:2;width:100%;box-sizing:border-box}
.oq-hero-body{order:3}
}
@media (max-width:599px){
.oq-hero-btns{flex-direction:column;align-items:stretch}
.oq-hero-note{flex-direction:column;gap:4px!important}
.oq-hero-note>.oq-sep{display:none}
h1,h2{text-wrap:balance}
.oq-hero-btns>a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:56px;text-align:center}
}
/* スマホ（767px以下）の共通ルール */
.oq-show-sp{display:none}
@media (max-width:767px){
.oq-show-pc{display:none!important}
.oq-show-sp{display:flex!important}
.oq-m1{grid-template-columns:minmax(0,1fr)!important}
.oq-flow{grid-template-columns:minmax(0,1fr)!important}
.oq-flow>.oq-arrow{margin-top:0!important;padding:16px 0}
.oq-flow>.oq-arrow>div{transform:rotate(90deg)}
section[style*="padding:80px 24px"],section[style*="padding: 80px 24px"]{padding-top:64px!important;padding-bottom:64px!important}
}
@media (max-width:599px){
h3[style*="font-size:24px"],h3[style*="font-size: 24px"]{font-size:20px!important}
}
@media (max-width:599px){
.oq-steps>span{flex:1 1 8px!important;margin:0 8px!important}
.oq-steps>div{gap:8px!important;flex:none}
.oq-steps>div>span:last-child{white-space:nowrap}
}
@media (max-width:599px){
[style*="font-size:32px"],[style*="font-size: 32px"],[style*="font-size:28px"],[style*="font-size: 28px"]{font-size:24px!important}
}
