@charset "utf-8";
/* ヘッダーの電話・お問い合わせボタン（hp対応-8）
 * header.php の .header-cta。ロゴとメニューボタンの間に置く
 * PC・タブレット：番号と「お問い合わせ」の文字つきボタン
 * スマホ（〜767px）：丸いアイコンボタン（メニューボタンと同じ 40px）
 */

#header .header-content{
    gap: 20px;
}

#header .header-cta{
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    /* 右の「株式会社アキオカ」の行（12px＋余白）の分だけ下げて、メニューボタンと高さを揃える */
    margin-top: 38px;
}
#header .header-cta a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity .3s, background-color .3s;
}
#header .header-cta a:hover{
    opacity: .8;
}
#header .header-cta__icon{
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: currentColor;
}
#header .header-cta__tel{
    color: var(--blue, #152DA3);
    background-color: rgba(255,255,255,.92);
    border: 1px solid #D2D2D2;
}
#header .header-cta__num{
    font-family: var(--mont, sans-serif);
    font-size: 16px;
    letter-spacing: .04em;
}
#header .header-cta__contact{
    color: #fff;
    background-color: var(--blue, #152DA3);
    border: 1px solid var(--blue, #152DA3);
}

/* メニューを開いているときは隠す（黒い全画面メニューと重ならないように） */
#header.open .header-cta{
    visibility: hidden;
    opacity: 0;
}

/* タブレット：番号を少し小さく */
@media only screen and (max-width:991px){
    #header .header-cta a{
        padding: 0 16px;
    }
    #header .header-cta__num{
        font-size: 14px;
    }
}

/* スマホ：文字を隠して丸いアイコンだけに（読み上げは aria-label） */
@media only screen and (max-width:767px){
    #header .header-content{
        gap: 8px;
    }
    #header .header-cta{
        gap: 8px;
        /* 「株式会社アキオカ」の行（高さ約14px＋余白4px）の分 */
        margin-top: 18px;
    }
    /* 「株式会社アキオカ」の文字幅でボタンとメニューの間が空かないよう、
       スマホでは文字を右上に重ねて置き、その分だけメニューボタンを下げる（見た目の位置は今と同じ） */
    #header .header-content .nav-toggle-wrap{
        padding-top: 18px;
    }
    #header .header-content .nav-toggle-wrap .nav-toggle-title{
        position: absolute;
        top: 0;
        right: 0;
        width: auto;
        margin: 0;
        white-space: nowrap;
    }
    #header .header-cta a{
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    #header .header-cta__text{
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    #header .header-cta__icon{
        width: 18px;
        height: 18px;
    }
}
