* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- 右側縦固定ヘッダーのスタイル --- */
.side_header_all {
    position: fixed;
    /* 画面に対して固定 */
    top: 0;
    right: 0;
    /* 画面の右端に配置 */
    width: 8rem;
    /* ヘッダーの横幅（お好みで調整してください） */
    height: 100vh;
    /* 高さを画面いっぱいに広げる */
    background-color: #ffffff;
    /* 背景色（必要に応じて変更） */
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
    padding-top: 5rem;
    gap: 2rem;
    z-index: 1;
    /* フォームより後ろに表示させる */
}



.side_header_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5rem;
    background-color: #00A0D9;
    width: 6rem;
    height: 6rem;
    padding: 0.4rem 1rem;
    border-radius: 5rem;
}



.side_header_title {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
}

/* デフォルトではバツ印側を非表示にしておく */
.close_view_state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu_view_state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 開いた状態（is-activeが付いたとき）の切り替え */
.hamburger_btn.is-active .menu_view_state {
    display: none;
}

.hamburger_btn.is-active .close_view_state {
    display: flex;
}

/* ハンバーガーメニュー関連の初期設定（PCでは非表示） */
.hamburger_menu_wrap {
    display: none;
}

/* デフォルト（PC）ではスマホ用ロゴを非表示にする */
.sp_logo {
    display: none;
}

.pc_logo {
    display: block;
    width: 4.5rem;
    /* 必要に応じてPC時のサイズ調整 */
    height: auto;
}

@media screen and (max-width: 1024px) {
  
  .side_header_all {
      
       position: absolute;
        top: 1rem !important;
        left: 0 !important;       /* 左端を0にする */
        right: 0 !important;      /* 右端を0にする */
        width: 100% !important;   /* 幅を画面いっぱい（100%）にする */
        height: auto !important;
        background-color: transparent !important;
        box-shadow: none !important;
        z-index: 100 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important; /* 左右の端に離す */
        align-items: center !important;
        padding: 0.5rem 1.5rem !important; /* 画面の端から少し内側に余白を入れる場合 */
    }
    /* PC用ロゴを非表示にし、スマホ用ロゴを表示する */
    .pc_logo {
        display: none;
        
    }

    .sp_logo {
        display: block;
        width: 14rem;
       
        height: auto;
    }

    .side_header_inner.pc_form_btn {
        display: none;
    }

    .side_header_inner {
        width: 4.5rem;
        height: 4.5rem;
    }


  

    .hamburger_menu_wrap {
        display: block;
        position: relative;
    }

    /* .hamburger_btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    } */

    /* --- ハンバーガーメニューアイコン（3本線 → ×） --- */
    .hamburger_btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        position: relative;
        z-index: 10000;
        /* メニュー（9999）よりも上に常時表示させる */
    }

    .hamburger_icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.8rem;
        height: 1.6rem;
        margin-bottom: 0.3rem;
        position: relative;
    }

    .hamburger_icon span {
        display: block;
        width: 100%;
        height: 0.2rem;
        background-color: #ffffff;
        border-radius: 0.1rem;
        position: absolute;
        left: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    /* 3本の線の初期位置（上・中・下） */
    .hamburger_icon span:nth-child(1) {
        top: 0;
    }

    .hamburger_icon span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger_icon span:nth-child(3) {
        bottom: 0;
        top: auto;
    }

    /* --- メニューが開いたとき（is-active）の変形（×印） --- */
    .hamburger_btn.is-active .hamburger_icon span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .hamburger_btn.is-active .hamburger_icon span:nth-child(2) {
        opacity: 0;
    }

    .hamburger_btn.is-active .hamburger_icon span:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    .hamburger_text {
        font-size: 0.6rem;
        font-weight: bold;
        color: #ffffff;
    }

    /* メニューが開いたとき、ページ全体のスクロールを完全に禁止するクラス */
    html.menu-open,
    body.menu-open {
        overflow: hidden !important;
        height: 100% !important;
        position: fixed !important;
        width: 100% !important;
    }

    /* メニューが開いたとき：画面全体に表示[cite: 16] */
    .hamburger_nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        z-index: 9999;
        padding: 0.5rem 0;
        overflow-y: auto;

        padding-top: 7rem;
    }

    .hamburger_nav.is-active {
        display: block;
    }

    /* 上部の閉じるボタン配置エリア */
    .hamburger_nav_header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1.5rem;
        padding-right: 1rem;
        padding-top: 0.5rem;
    }

    /* リストのスタイル[cite: 16] */
    .hamburger_menu_list {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid #dcdcdc;
    }

    .hamburger_menu_list li {
        border-bottom: 1px solid #dcdcdc;
    }

    .hamburger_menu_list li a {
        display: flex;
        align-items: center;
        /* padding: 1.2rem 1rem; */
        padding: 1.2rem 1rem 1.2rem 3rem;

        color: #1a1a1a;
        background-color: #f7f9fb;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: bold;
        transition: background-color 0.2s;
    }

    .hamburger_menu_list li a:hover {
        background-color: #eef2f7;
        color: #007bff;
    }

    /* 左側の「＞」アイコン[cite: 16] */
    .arrow {
        color: #0056b3;
        font-size: 1.2rem;
        margin-right: 0.8rem;
        font-weight: bold;
    }
}

/* ==========================================
   560px以下の画面サイズでの設定
   ========================================== */
@media screen and (max-width: 560px) {}