.sp-only {
    display: none;
}
.pc-only {
    display: inline-block;
}
.sp_comment {
    display: none !important;
}

/* Hamburger Menu Styles (Default: Hidden on PC) */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 100;
    width: 44px;
    height: 44px;
    background-image: url('../../../../../common/images/header_ic003.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
}

.hamburger-menu.active {
    background-position: 0 100%;
}

/* SP Navigation Panel (Default: Hidden) */
.sp-nav {
    display: block; /* Use transform to hide/show */
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #fff;
    z-index: 99;
    transition: transform 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.sp-nav.active {
    transform: translateX(0);
}

.sp-nav ul {
    padding: 20px 0 20px 0;
    margin: 0;
    list-style: none;
}

.sp-nav ul li a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.sp-nav ul li a.login-link {
    background: linear-gradient(180deg, #2a82ea 0%, #1e73d8 60%, #1b66c3 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #165cab;
    border-bottom: none;
    padding: 12px 16px;
    margin: 2px 12px 8px;
    text-align: center;
    box-shadow: 0 2px 0 #0f4891, 0 6px 12px rgba(0,0,0,0.15);
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
    transition: background 0.2s, box-shadow 0.2s, transform 0.05s;
}

.sp-nav ul li a.login-link:hover {
    background: linear-gradient(180deg, #3b8ff0 0%, #2a82ea 60%, #1e73d8 100%);
    color: #fff;
}

.sp-nav ul li a.login-link:active {
    background: linear-gradient(180deg, #1e73d8 0%, #1b66c3 80%, #165cab 100%);
    transform: translateY(1px);
    box-shadow: 0 1px 0 #0f4891, 0 3px 8px rgba(0,0,0,0.2), inset 0 2px 6px rgba(0,0,0,0.15);
    color: #fff;
}

.sp-nav ul li a.login-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 2px 0 #0f4891, 0 6px 12px rgba(0,0,0,0.15), 0 0 0 3px rgba(30,115,216,0.45);
}

.sp-login-cta {
    display: none;
}

.sp-login-cta .login-link {
    display: block;
    background: linear-gradient(180deg, #2a82ea 0%, #1e73d8 60%, #1b66c3 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #165cab;
    padding: 12px 16px;
    margin: 2px 12px 20px;
    text-align: center;
    box-shadow: 0 2px 0 #0f4891, 0 6px 12px rgba(0,0,0,0.15);
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.05s;
}

.sp-login-cta .login-link:hover {
    background: linear-gradient(180deg, #3b8ff0 0%, #2a82ea 60%, #1e73d8 100%);
    color: #fff;
}

.sp-login-cta .login-link:active {
    background: linear-gradient(180deg, #1e73d8 0%, #1b66c3 80%, #165cab 100%);
    transform: translateY(1px);
    box-shadow: 0 1px 0 #0f4891, 0 3px 8px rgba(0,0,0,0.2), inset 0 2px 6px rgba(0,0,0,0.15);
    color: #fff;
}

.sp-login-cta .login-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 2px 0 #0f4891, 0 6px 12px rgba(0,0,0,0.15), 0 0 0 3px rgba(30,115,216,0.45);
}

.sp-nav ul li img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 960px) {
    blockquote {
        margin: 0 10px;
    }
    table {
        max-width: 94vw;
    }
    .sp-only {
        display: inline-block;
    }
    .pc-only {
        display: none;
    }

    /* 全体のコンテナの幅を自動調整 */
    div#header,
    div#content,
    div#footer ul#footer-menu,
    div#footer p#copyrights,
    div#footer p.pagetop,
    span.line-01,
    span.line-02 {
        width: auto;
    }

    .sp-login-label {
        padding-left: 10px;
        padding-right: 10px;
        margin-top: 12px;
        margin-bottom: 0;
        color: #1e73d8;
        font-weight: bold;
        font-size: 90%;
        text-align: center;
    }

    div#topicpath ol {
        text-align: left;
        font-size: 0.7rem;
    }

    div#side-menu,
    div#main {
        float: none;
        width: auto;
        display: block;
    }

    div#main,
    div#side-menu {
        padding: 10px;
    }

    div#side-menu ul#login,
    div#side-menu div#menu {
        width: 100%;
    }

    div#title h1,
    div#title p,
    .headline {
        height: auto;
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
        background: linear-gradient(to right, #d5fed6, #ebffeb);
        text-indent: 0;
    }

    h2.subheading-01,
    .subheading-02 {
        width: auto;
        height: auto;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 1.4;
    }

    h1 img,
    h2 img,
    div#title img {
        max-width: 100%;
        height: auto;
    }

    ul.info {
        padding-left: 10px;
        padding-right: 10px;
    }

    div#footer ul#footer-menu {
        padding-left: 10px;
        
    }

    .hamburger-menu {
        display: block;
    }

    div#header-menu,
    div#side-menu {
        display: none;
    }

    div#header {
        position: relative;
        padding: 0 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    p.logo {
        margin: 0;
    }

    .sp-login-cta {
        display: block;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* table.pt-01.bottom-clearのスマホ向け調整 */
    table.pt-01.bottom-clear {
        width: 100% !important;
        max-width: 100%;
        table-layout: fixed;
        margin: 0;
    }
    table.pt-01.bottom-clear.no-fixed {
        table-layout: auto;
    }

    table.pt-01.bottom-clear th,
    table.pt-01.bottom-clear td {
        word-wrap: break-word;
        white-space: normal;
    }
}

ul.info {
    scrollbar-width: thin;
    scrollbar-color: #2b6cb3 #eef5ff;
}

ul.info::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

ul.info::-webkit-scrollbar-track {
    background: #eef5ff;
}

ul.info::-webkit-scrollbar-thumb {
    background-color: #2b6cb3;
    border-radius: 8px;
    border: 2px solid #eef5ff;
}

ul.info::-webkit-scrollbar-thumb:hover {
    background-color: #165cab;
}

ul.info::-webkit-scrollbar-corner {
    background: transparent;
}

.ico_swipe_img {
  display: none;
}
@media screen and (max-width: 960px) {
  /*お問い合わせページの余白調整*/
  div#qa dl.qabox {
    margin: 0 10px 10px 10px;
  }
 /*ご案内ページの画像*/
 .pt-01.align2,
 .pt-01.align3 {
   overflow: scroll;
   position: relative;
  }
  /*スワイプ可能アイコン*/
  .ico_swipe_img {
    display: block;
    text-align:left;
    width: 25px;
    margin-bottom: 2px;
  }
  .ico_swipe_img.ico_swipe_absolute {
    position: absolute;
    top: 5px;
  }
}