@charset "UTF-8";
/* 2026-11 リニューアル分（style.css の後に読み込む） */

main img{
    display: block;
    height: auto;
}

/* SP ヘッダー（画像＋ハンバーガー） */
.sp-header{
    position: relative;   /* 固定は uk-sticky（body の overflow-x:hidden で CSS sticky が効かないため） */
    z-index: 1000;
    background: #fff;
}

.sp-header-logo{
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
}

.sp-header .openbtn1{
    position: absolute;
    top: 3.56vw;
    right: 4.83vw;
    width: 9.16vw;
    height: 9.67vw;
    background: transparent;
    border: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 2px;
}

.sp-header .openbtn1 span{
    display: none;
}

.sp-header .openbtn1.active{
    background: #f0f6f9;
}

.sp-header .openbtn1.active span{
    display: block;
    position: absolute;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: #007e9f;
}

.sp-header .openbtn1.active span:nth-of-type(1){
    top: 50%;
    transform: rotate(-45deg);
}

.sp-header .openbtn1.active span:nth-of-type(2){
    opacity: 0;
}

.sp-header .openbtn1.active span:nth-of-type(3){
    top: 50%;
    transform: rotate(45deg);
}

/* メニュー本体（ヘッダーの下に出す） */
.sp-header #g-nav{
    top: -120%;
    z-index: -1;
    background-color: rgba(255,255,255,0.97);
}

.sp-header #g-nav.panelactive{
    top: 0;
}

.sp-header #g-nav ul{
    position: static;
    transform: none;
    box-sizing: border-box;
    padding: calc(17.3vw + 16px) 24px 40px;
}

.sp-header #g-nav li a{
    padding: 16px 8px;
    border-bottom: 1px solid #dde8ee;
    font-size: 15px;
    color: #172b34;
}

.sp-header #g-nav li.btn-hnav a{
    margin-top: 14px;
    padding: 14px 8px;
    border: 1px solid #007e9f;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
}

.sp-header #g-nav li.btn-hnav a.btn-main{
    background: linear-gradient(90deg, #046896, #1597bb);
    color: #fff;
}

.sp-header #g-nav li.btn-hnav a.btn-sub{
    background: #fff;
    color: #007e9f;
}

/* 固定ヘッダーぶんずらしてアンカー位置を合わせる */
[id$="_sp"]{
    scroll-margin-top: 17.3vw;
}

.sp-header #g-nav.panelactive #g-nav-list{
    z-index: auto;
}

/* メニュー表示中は背景をスクロールさせない（common.js が body.fixed を付ける） */
html:has(body.fixed),
body.fixed{
    overflow: hidden;
}
