@media screen and (min-width:1024px) {
    /*whole*/
    *{
        font-family: 'Noto Sans JP', sans-serif;
    }
    html, body{
        margin:0;
        padding:0;
    }
    body{
        position: relative;
    }
    .indent{
        text-indent: 4em;
        padding-left: -4em;
    }

    /* =========================
    HEADER
    ========================= */
    .site-header{
        width: 100%;
        height: 90px;
        background: #fff;
        padding: 0 1em;
        top: 0;
        position: sticky;
        z-index: 999;
        opacity: 0.95;
        transition: height .3s ease, box-shadow .3s ease;
        display: flex;
        align-items: center; /* ← 縦中央 */
    }

    /* ナビ全体 */
    .nav{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* 共通 */
    .nav_item{
        list-style-type: none;
        font-size: 1.3em;
        color: black;
        display: flex;
        align-items: center;
    }

    /* ロゴ */
    .nav_item img{
        height: 9vh;
        max-height: 60px;
        width: auto;
        transition: .3s;
    }

    /* === BUTTON AREA === */
    .button{
        display: flex;
        align-items: center;
        gap: 12px;               /* ← ボタン間隔 */
        margin-right: 1em;
        padding: 0;
    }

    /* ボタン本体 */
    .btn{
        border: 1px solid #222;
        padding: 0.6em 1.2em;
        position: relative;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        white-space: nowrap;
        cursor: pointer;

        /* アニメーション */
        transition:
            background-color .2s ease,
            color .2s ease,
            box-shadow .2s ease,
            transform .15s ease;
    }

    /* ボタン文字 */
    .btn span{
        color: #333;
        font-weight: 600;
        transition: color .2s ease;
    }

    /* hover（分かりやすさ最優先） */
    .btn:hover{
        background: #333;
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    }

    /* hover時の文字 */
    .btn:hover span{
        color: #fff;
    }

    /* クリック中（押した感） */
    .btn:active{
        transform: translateY(0);
        box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    }

    /* キーボード操作時（アクセシビリティ対応） */
    .btn:focus-visible{
        outline: none;
        box-shadow:
            0 0 0 3px rgba(0,0,0,0.35),
            0 4px 10px rgba(0,0,0,0.15);
    }

    /* ===SCROLL SHRINK=== */
    .site-header.is-scrolled{
        height: 60px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    /* ロゴ縮小 */
    .site-header.is-scrolled .nav_item img{
        height: 6vh;
        max-height: 40px;
    }

    /* =========================
    HEADER ここまで
    ========================= */

    /*slideshow*/
    #slideshow{
        width: 100%;
        height: 60vh;
    }
    .background{
        max-height: 40em;
        overflow: hidden;
    }

    /*title of AHS*/
    .title_ahs{
        width: 80%;
        margin: 1.5em auto;
    }
    .image_ahs{
        width: 60%;
        margin: 0 auto;
    }
    .image_ahs img{
        width: 100%;
    }

    /************contents************/
    .wrap{
        width: 90%;
        margin: 0 auto;
        display: flex;
    }
    /*********left*********/
    /*sidebar*/
    .side{
        width: 35%;
    }
    .sidebar{
        width: 80%;
        margin: 1.0em auto;
        padding: 1.5em;
        background-color: #F0F8FF;
    }
    .contents_sidebar{
        width: 95%;
        margin: 0 auto;
        list-style-type: none;
    }
    .contents_sidebar li:not(:last-child){
        border-bottom: 1px dotted #CCCCCC;
    }
    .contents_sidebar_item{
        position: relative;
        margin-left: 1.0em;
        padding: 1.5em;
        font-size: 1.2em;
        color: #333;
        transition: all .5s;
    }
    .contents_sidebar_item::before {
        content:"";
        display:inline-block;
        width: 10px;
        height: 40px;
        background-color: #99CFFF;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: -10px;
        border-radius: 30px;
    }
    .contents_sidebar_item:hover{
        background-color: #E6F3FF;
        color: #000000;
        cursor: pointer;
    }
    .contents_sidebar_item:active{
        background-color: #B3DAFF;
        color: #000000;
        cursor: pointer;
    }
    /*********right*********/
    .main{
        width: 65%;
    }
    .apply{
        width: 100%;
        margin: 2.0em auto;
    }
    .title_apply{
        width: 50%;
        margin: 1.5em 0;
    }
    .title_apply img{
        width: 100%;
    }
    .requirement{
        width: 100%;
        margin: 0.5em auto;
    }
    .title_requirement{
        width: 100%;
        border-left: 9px solid #99CFFF;
        background-color: #f5f5f5;
        padding: 1.0em;
        font-size: 1.3em;
        font-weight: 700;
    }
    .summary_requirement{
        width: 98%;
        margin: 1.5em auto;
    }
    .summary_requirement > p{
        font-size: 1.1em;
        line-height: 1.6em;
    }
    .submission{
        width: 70%;
        margin: 0.5em auto;
    }
    .submission p{
        font-size: 1.1em;
        line-height: 1.6em;
    }
    .contents_requirement{
        width: 98%;
        margin: 1.5em auto;
    }
    .contents_requirement_item{
        width: 100%;
        margin: 2.0em auto;
    }
    .title_item_requirement{
        width: 100%;
        margin: 0.5em auto;
        font-size: 1.2em;
        font-weight: 600;
    }
    .title_item_requirement::before{
        font-family: 'Font Awesome 5 free';
        content: "\f14a";
        margin-right: 0.5em;
        color: #339CFF;
        font-size: 1.2em;
    }
    .contents_item_requirement{
        width: 100%;
        margin: auto;
    }
    .contents_item_requirement p{
        font-size: 1.1em;
        line-height: 1.6em;
    }
    .link_requirement:link{
        color: #0000ee;
    }
    .link_requirement:visited{
        color: #810081;
    }
    .link_requirement:hover{
        color: #0000ee;
        text-decoration: underline;
        cursor: pointer;
    }
    .account{
        width: 95%;
        margin: 2.0em auto;
    }
    .contents_account{
        position: relative;
        padding: 1.5em;
        border: solid 3px #30B030;
        border-radius: 15px;
    }
    .contents_account::after{
        position: absolute;
        content: "お振込先";
        top: -15px;
        left: 35px;
        background: #fff;
        font-size: 1.2em;
        font-weight: 700;
        color: #30B030;
        padding: 0 10px;
    }
    .contents_info_account{
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .bank{
        width: 40%;
        margin: 1.0em;
        padding: 1.5em;
        background-color: #f5f5f5;
        border-radius: 30px;
    }
    .bank p{
        width: 100%;
        font-size: 1.0em;
        line-height: 1.6em;
        margin: 0.5em auto;
    }
    .bank p span:nth-of-type(2){
        font-size: 1.1em;
        font-weight: 600;
        color: #30B030;
    }
    .contents_name_account{
        width: 90%;
        margin: 1.0em auto;
    }
    .contents_name_account span{
        font-size: 1.1em;
    }
    .contents_account span:nth-of-type(2){
        font-size: 1.2em;
        font-weight: 600;
        color: #30B030;
    }
    .note_name_account{
        width: 98%;
        margin: 0.5em auto;
    }
    .note_name_account p{
        font-size: 1.0em;
        line-height: 1.6em;
        text-indent: -1em;
        padding-left: 1em;
    }
    .note_name_account p::before{
        content: "※";
    }
    .procedure{
        width: 98%;
        margin: 1.5em auto;
    }
    .contents_procedure{
        width: 100%;
        margin: 2.0em auto 4.0em;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .contents_procedure::after{
        font-family: 'Font Awesome 5 Free';
        content: "\f063";
        font-weight: 900;
        position: absolute;
        bottom: -50px;
        font-size: 2.0em;
    }
    .contents_procedure:last-child::after{
        content: none;
    }
    .headline_procedure{
        width: 35%;
        text-align: center;
    }
    .headline_procedure div{
        width: fit-content;
        font-size: 1.2em;
        font-weight: 600;
        background-color: #F07000;
        border-radius: 50px;
        color: #FFFFFF;        
        margin: 0 auto;
        padding: 0.7em 1.0em;
    }
    .cap_procedure{
        width: 65%;
        margin: 0 0.5em;
        font-size: 1.1em;
        line-height: 1.6em;
    }

    .summary_cancel{
        width: 98%;
        margin: 1.5em auto;
    }
    .summary_cancel > p{
        font-size: 1.1em;
        line-height: 1.6em;
    }
    .contents_cancel{
        width: 100%; 
        margin: 2.0em auto;
    }
    .table_cancel{
        width: 80%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    .date_cancel{
        width: 100%;
        padding: 1.0em;
        background-color: #F0F0B0;
        font-size: 0.9em;
        font-weight: 600;
        border: 1px solid #000000;
        margin-bottom: -1px;
        margin-right: -1px;
        text-align: center;
    }
    .cap_cancel{
        width: 60%;
        padding: 1.0em;
        font-size: 0.8em;
        line-height: 1.6em;
        border: 1px solid #000000;
        margin-bottom: -1px;
        margin-right: -1px;
    }
    /*smooth scroll*/
    .topbtn{
        right: 40px;
        background: #333;
        opacity: 0.6;
        border-radius: 50%;
        display: block;
        width: 70px;
        height: 70px;
        text-decoration: none;
    }
    .topbtn::before{
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f102';
        font-size: 25px;
        color: #fff;
        position: absolute;
        width: 25px;
        height: 25px;
        top: -5px;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;
    }

    /*footer*/
    .site-footer{
        position: relative;
        margin-top: 2.4em;
        color: #fff;
    }
    .site-footer a{
        text-decoration: none;
        color: #fff;
    }
    .site-footer .top-section{
        padding: 1.6em 0.9em;
        background-color: #333;
    }
    .site-footer .top-section .flex{
        display: flex;
        justify-content: center;
    }
    .site-footer .top-section .flex .left{
        width: 50%;
        margin-left: 10vw;
    }
    .site-footer .footer-logo{
        position: relative;
        padding: 0;
        margin: 0;
        width: 100%;
        font-size: 2.2em;
        font-weight: bold;
    }
    .address{
        margin: 0.8em 0 0;
        padding: 0;
    }
    .site-footer .sns{
        margin: 1.2em 0 0 2.5em;
        padding: 0;
    }
    .site-footer .sns li{
        display: inline-block;
        margin: 0 1.2em 0 0;
        padding: 0;
        font-size: 2.2em;
    }
    .site-footer .sns li:last-child{
        margin-right: 0;
    }
    .site-footer .sns li a{
        transition: all 0.5s;
    }
    .site-footer .sns li a:hover{
        opacity: 0.7;
        transform:scale(1.2, 1.2)
    }
    .site-footer .top-section .flex .right{
        display: flex;
        width: 70%;
    }
    .navi-section{
        display: flex;
        flex-direction: column;
        width: 50%;
        margin-left: 6vw;
    }
    .title-section{
        width: 15vw;
        min-width: 30px;
        padding: 0.5rem 2rem;
        border-top: 3px solid white;
        border-bottom: 3px solid white;
        text-align: center;
        margin: 1em 0;
    }
    .site-footer .navi-list{
        margin: 0;
        padding: 0;
        list-style: none;
        line-height: 2em;
    }
    .site-footer .navi-list li{
        margin: 0.5em 0 0 0;
        padding: 0;
    }
    .site-footer .navi-list li:first-child{
        margin: 0;
    }
    .site-footer .navi-list a:hover,
    .site-footer .title-list a:hover{
        text-decoration: none;
        opacity: 0.7;
    }
    .site-footer .title-list{
        margin: 0 0 0.9em 0;
        padding: 0;
        font-weight: bold;
        line-height: 2em;
    }
    .site-footer .bottom-section{
        display: flex;
        justify-content: center;
        padding: 1.6em 0.9em;
        background: #222;
    }
    .site-footer .copyright{
        width: 90%;
        margin: 0;
        padding: 0;
        text-align: center;
    }  
}









@media screen and (min-width:768px) and (max-width:1023px) {
    /*whole*/
    *{
        font-family: 'Noto Sans JP', sans-serif;
    }
    html, body{
        margin:0;
        padding:0;
    }
    body{
        position: relative;
    }

     /* =========================
    HEADER
    ========================= */
    .site-header{
        width: 100%;
        height: 90px;
        background: #fff;
        padding: 0 1em;
        top: 0;
        position: sticky;
        z-index: 999;
        opacity: 0.95;
        transition: height .3s ease, box-shadow .3s ease;
        display: flex;
        align-items: center; /* ← 縦中央 */
    }

    /* ナビ全体 */
    .nav{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* 共通 */
    .nav_item{
        list-style-type: none;
        font-size: 1.3em;
        color: black;
        display: flex;
        align-items: center;
    }

    /* ロゴ */
    .nav_item img{
        height: 9vh;
        max-height: 60px;
        width: auto;
        transition: .3s;
    }

    /* === BUTTON AREA === */
    .button{
        display: flex;
        align-items: center;
        gap: 12px;               /* ← ボタン間隔 */
        margin-right: 1em;
        padding: 0;
    }

    /* ボタン本体 */
    .btn{
        border: 1px solid #222;
        padding: 0.8em 1.6em;
        font-size: 0.8em;
        position: relative;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        white-space: nowrap;
        cursor: pointer;

        /* アニメーション */
        transition:
            background-color .2s ease,
            color .2s ease,
            box-shadow .2s ease,
            transform .15s ease;
    }

    /* ボタン文字 */
    .btn span{
        color: #333;
        font-weight: 600;
        transition: color .2s ease;
    }

    /* hover（分かりやすさ最優先） */
    .btn:hover{
        background: #333;
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    }

    /* hover時の文字 */
    .btn:hover span{
        color: #fff;
    }

    /* クリック中（押した感） */
    .btn:active{
        transform: translateY(0);
        box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    }

    /* キーボード操作時（アクセシビリティ対応） */
    .btn:focus-visible{
        outline: none;
        box-shadow:
            0 0 0 3px rgba(0,0,0,0.35),
            0 4px 10px rgba(0,0,0,0.15);
    }

    /* === SCROLL SHRINK === */
    .site-header.is-scrolled{
        height: 60px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* ロゴ縮小 */
    .site-header.is-scrolled .nav_item img{
        height: 6vh;
        max-height: 40px;
    }

    /* =========================
    HEADER ここまで
    ========================= */

    /*slideshow*/
    #slideshow{
        width: 100%;
        height: 25vh;
    }
    .background{
        max-height: 40em;
        overflow: hidden;
    }

    /*title of AHS*/
    .title_ahs{
        width: 90%;
        margin: 1.5em auto;
    }
    .image_ahs{
        width: 70%;
        margin: 0 auto;
    }
    .image_ahs img{
        width: 100%;
    }
    .cap_ahs{
        width: 100%;
        margin: 1.0em 0;
        font-size: 1.1em;
        line-height:1.6em;
        text-align: center;
    }

    /************contents************/
    .wrap{
        width: 100%;
        margin: 0 auto;
        display: flex;
    }
    /*********left*********/
    /*sidebar*/
    .side{
        width: 35%;
    }
    .sidebar{
        width: 75%;
        margin: 1.0em auto;
        padding: 1.0em;
        background-color: #F0F8FF;
    }
    .contents_sidebar{
        width: 95%;
        margin: 0 auto;
        list-style-type: none;
    }
    .contents_sidebar li:not(:last-child){
        border-bottom: 1px dotted #CCCCCC;
    }
    .contents_sidebar_item{
        position: relative;
        margin-left: 1.0em;
        padding: 1.0em;
        font-size: 1.0em;
        color: #333;
        transition: all .5s;
    }
    .contents_sidebar_item::before {
        content:"";
        display:inline-block;
        width: 5px;
        height: 30px;
        background-color: #99CFFF;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: -10px;
        border-radius: 30px;
    }
    .contents_sidebar_item:hover{
        background-color: #E6F3FF;
        color: #000000;
        cursor: pointer;
    }
    .contents_sidebar_item:active{
        background-color: #B3DAFF;
        color: #000000;
        cursor: pointer;
    }
    /*********right*********/
    .main{
        width: 65%;
        margin: 0.5em;
    }
    .apply{
        width: 90%;
        margin: 0.5em auto;
    }
    .title_apply{
        width: 65%;
        margin: 1.5em 0;
    }
    .title_apply img{
        width: 100%;
    }
    .requirement{
        width: 100%;
        margin: 0.5em auto;
    }
    .title_requirement{
        width: 100%;
        border-left: 7px solid #99CFFF;
        background-color: #f5f5f5;
        padding: 0.5em;
        font-size: 1.2em;
        font-weight: 700;
    }
    .summary_requirement{
        width: 98%;
        margin: 1.0em auto;
    }
    .summary_requirement > p{
        font-size: 1.0em;
        line-height: 1.5em;
    }
    .submission{
        width: 80%;
        margin: 0.5em auto;
    }
    .submission p{
        font-size: 1.0em;
        line-height: 1.5em;
    }
    .contents_requirement{
        width: 98%;
        margin: 1.0em auto;
    }
    .contents_requirement_item{
        width: 100%;
        margin: 2.0em auto;
    }
    .title_item_requirement{
        width: 100%;
        margin: 0.5em auto;
        font-size: 1.1em;
        font-weight: 600;
    }
    .title_item_requirement::before{
        font-family: 'Font Awesome 5 free';
        content: "\f14a";
        margin-right: 0.5em;
        color: #339CFF;
        font-size: 1.1em;
    }
    .contents_item_requirement{
        width: 100%;
        margin: 0.5em auto;
    }
    .contents_item_requirement p{
        font-size: 1.0em;
        line-height: 1.5em;
    }
    .link_requirement:link{
        color: #0000ee;
    }
    .link_requirement:visited{
        color: #810081;
    }
    .link_requirement:hover{
        color: #0000ee;
        text-decoration: underline;
        cursor: pointer;
    }
    .link_requirement:active{
        opacity: 0.7;
    }
    .account{
        width: 98%;
        margin: 2.0em auto;
    }
    .contents_account{
        position: relative;
        padding: 1.0em;
        border: solid 3px #30B030;
        border-radius: 15px;
    }
    .contents_account::after{
        position: absolute;
        content: "お振込先";
        top: -15px;
        left: 35px;
        background: #fff;
        font-size: 1.1em;
        font-weight: 700;
        color: #30B030;
        padding: 0 10px;
    }
    .contents_info_account{
        width: 80%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .bank{
        width: fit-content;
        margin: 1.0em;
        padding: 1.5em;
        background-color: #f5f5f5;
        border-radius: 30px;
    }
    .bank p{
        width: 100%;
        font-size: 1.0em;
        line-height: 1.5em;
        margin: 0.5em auto;
    }
    .bank p span:nth-of-type(2){
        font-size: 1.1em;
        font-weight: 600;
        color: #30B030;
    }
    .contents_name_account{
        width: 90%;
        margin: 1.0em auto;
    }
    .contents_name_account span{
        font-size: 1.0em;
    }
    .contents_account span:nth-of-type(2){
        font-size: 1.1em;
        font-weight: 600;
        color: #30B030;
    }
    .note_name_account{
        width: 98%;
        margin: 0.5em auto;
    }
    .note_name_account p{
        font-size: 1.0em;
        line-height: 1.5em;
        text-indent: -1em;
        padding-left: 1em;
    }
    .note_name_account p::before{
        content: "※";
    }
    .procedure{
        width: 98%;
        margin: 1.5em auto;
    }
    .contents_procedure{
        width: 100%;
        margin: 2.0em auto 4.0em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .contents_procedure::after{
        font-family: 'Font Awesome 5 Free';
        content: "\f063";
        font-weight: 900;
        position: absolute;
        bottom: -50px;
        font-size: 2.0em;
    }
    .contents_procedure:last-child::after{
        content: none;
    }
    .headline_procedure{
        width: 95%;
        text-align: center;
        margin: 1.0em auto;
    }
    .headline_procedure div{
        width: fit-content;
        font-size: 1.2em;
        font-weight: 600;
        background-color: #F07000;
        border-radius: 50px;
        color: #FFFFFF;        
        margin: 0 auto;
        padding: 0.5em 1.0em;
    }
    .cap_procedure{
        width: 65%;
        margin: 0 0.5em;
        font-size: 1.0em;
        line-height: 1.5em;
    }

    .summary_cencel{
        width: 98%;
        margin: 1.0em auto;
    }
    .summary_cancel > p{
        font-size: 1.0em;
        line-height: 1.5em;
    }
    .contents_cancel{
        width: 98%; 
        margin: 2.0em auto;
    }
    .table_cancel{
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    .date_cancel{
        width: 100%;
        padding: 1.0em 0.3em;
        background-color: #F0F0B0;
        font-size: 1.0em;
        font-weight: 600;
        border: 1px solid #000000;
        margin-bottom: -1px;
        margin-right: -1px;
        text-align: center;
    }
    .cap_cancel{
        width: 52%;
        padding: 1.0em;
        font-size: 0.9em;
        line-height: 1.5em;
        border: 1px solid #000000;
        margin-bottom: -1px;
        margin-right: -1px;
    }
    /*smooth scroll*/
    .topbtn{
        right: 40px;
        background: #333;
        opacity: 0.6;
        border-radius: 50%;
        display: block;
        width: 70px;
        height: 70px;
        text-decoration: none;
    }
    .topbtn::before{
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f102';
        font-size: 25px;
        color: #fff;
        position: absolute;
        width: 25px;
        height: 25px;
        top: -5px;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;
    }

    /*footer*/
    .site-footer{
        position: relative;
        color: #fff;
    }
    .site-footer a{
        text-decoration: none;
        color: #fff;
    }
    .site-footer .top-section{
        padding: 1.6em 0;
        background-color: #333;
    }
    .site-footer .top-section .flex{
        display: flex;
        justify-content: center;
    }
    .site-footer .top-section .flex .left{
        width: 50%;
        margin-left: 8vw;
    }
    .site-footer .footer-logo{
        position: relative;
        padding: 0;
        margin: 0;
        width: 100%;
        font-size: 2.2em;
        font-weight: bold;
    }
    .address{
        margin: 0.8em 0 0;
        padding: 0;
        line-height: 1.5em;
    }
    .site-footer .sns{
        margin: 1.2em 0 0 2.5em;
        padding: 0;
    }
    .site-footer .sns li{
        display: inline-block;
        margin: 0 1.2em 0 0;
        padding: 0;
        font-size: 2.2em;
    }
    .site-footer .sns li:last-child{
        margin-right: 0;
    }
    .site-footer .sns li a{
        transition: all 0.5s;
    }
    .site-footer .sns li a:hover{
        opacity: 0.7;
        transform:scale(1.2, 1.2)
    }
    .site-footer .top-section .flex .right{
        display: flex;
        width: 70%;
    }
    .navi-section{
        display: flex;
        flex-direction: column;
        width: 50%;
        margin-left: 6vw;
    }
    .title-section{
        width: 19vw;
        min-width: 30px;
        padding: 0.5rem 2rem;
        border-top: 3px solid white;
        border-bottom: 3px solid white;
        text-align: center;
        margin: 1em 0;
    }
    .site-footer .navi-list{
        margin: 0;
        padding: 0;
        list-style: none;
        line-height: 2em;
        font-size: 0.8em;
    }
    .site-footer .navi-list li{
        margin: 0.5em 0 0 0;
        padding: 0;
    }
    .site-footer .navi-list li:first-child{
        margin: 0;
    }
    .site-footer .navi-list a:hover,
    .site-footer .title-list a:hover{
        text-decoration: none;
        opacity: 0.7;
    }
    .site-footer .title-list{
        margin: 0 0 0.9em 0;
        padding: 0;
        font-weight: bold;
        line-height: 2em;
    }
    .site-footer .bottom-section{
        display: flex;
        padding: 1.6em 0.9em;
        background: #222;
    }
    .site-footer .copyright{
        width: 90%;
        margin: 0;
        padding: 0;
        text-align: center;
    }
}









@media screen and (max-width:767px) {
    /*whole*/
    *{
        font-family: 'Noto Sans JP', sans-serif;
    }
    html, body{
        margin:0;
        padding:0;
    }
    body{
        position: relative;
    }
    .flex-column{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* =========================
    HEADER（SMARTPHONE）
    ========================= */
    .site-header {
        position: sticky;
        top: 0;
        width: 100%;
        background: #fff;

        /* opacityは使わない（クリック不可防止） */
        z-index: 1000;

        min-height: 64px;
        padding: 0 10px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        /* スクロールのカクつき防止 */
        will-change: transform;
    }

    /* === NAV LAYOUT === */
    .nav{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* === LOGO === */
    .nav_item.logo{
        display: flex;
        align-items: center;
    }
    .site-header .logo {
        margin-left: 0;
    }
    .nav_item.logo img{
        height: 25px;
        width: auto;
    }

    /* === BUTTON AREA === */
    .button{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-right: 50px;
        /* 重なり防止 */
        min-width: 0;
    }

    .nav_item{
        list-style: none;
        display: flex;
        align-items: center;
    }

    /* === BUTTON === */
    .btn{
        border: 1px solid #222;
        padding: 0.4em 0.8em;
        background: #fff;

        display: flex;
        align-items: center;
        justify-content: center;

        text-decoration: none;
        white-space: nowrap;

        font-size: 0.8em;

        /* ★ 角丸を消す */
        border-radius: 0;

        /* 軽い動きだけ */
        transition: background-color .2s ease, color .2s ease;
    }

    /* ボタン文字 */
    .btn span{
        color: #333;
    }

    /* =========================
    HEADER END（SMARTPHONE）
    ========================= */


    /*toggle for smartphone*/
    #nav-toggle{
        display: block;
        position: fixed;
        z-index: 1200;
        top: 10px;
        right: 10px;
        width: 39px;
        height: 39px;
        background-color: #666;
        border-radius: 5px;
    }
    #nav-toggle > div {
        position: relative;
        width: 32px;
    }
    #nav-toggle span {
        width: 25px;
        height: 2px;
        left: 7px;
        display: inline-block;
        background: #fff;
        position: absolute;
        transition: .35s ease-in-out;
    }
    #nav-toggle span:nth-child(1) {
        top: 9px;
    }
    #nav-toggle span:nth-child(2) {
        top: 18px;
    }
    #nav-toggle span:nth-child(3) {
        top: 27px;
    }
    .open {
        overflow: hidden;
    }
    .open #overlay {
        display: block;
    }
    .open .sidebar {
        transform: translate3d(-280px,0,0);
    }
    .open #nav-toggle span:nth-child(1) {
        top: 18px;
        transform: rotate(45deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 18px;
        transform: rotate(-45deg);
    }
    #overlay {
        z-index: 200;
        display: none;
        position: fixed;
        background: rgba(0,0,0,.6);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .sidebar {
        z-index: 300;
        right: -200px;
        width: 200px;
        padding-top: 60px;
        position: fixed;
        right: -300px;
        top: 0;
        height: 100%;
        width: 300px;
        color: #333;
        background: #fff;
        -webkit-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }
    #nav-toggle {
        z-index: 1200;
    }

    /*slideshow*/
    #slideshow{
        width: 100%;
        height: 20vh;
    }
    .background{
        max-height: 40em;
        overflow: hidden;
    }

    /*title of AHS*/
    .title_ahs{
        width: 98%;
        margin: 1.5em auto;
    }
    .image_ahs{
        width: 95%;
        margin: 0 auto;
    }
    .image_ahs img{
        width: 100%;
    }
    .cap_ahs{
        width: 90%;
        margin: 1.5em auto;
        font-size: 1.0em;
        line-height:1.6em;
    }

    /************contents************/
    .wrap{
        width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    /*********left*********/
    /*sidebar*/
    .side{
        display: block;
    }
    .sidebar{
        width: 72%;
        margin: 0 auto;
        background-color: #F0F8FF;
        overflow: scroll;
        left: 100%;
    }
    .contents_sidebar{
        width: 95%;
        list-style-type: none;
        padding: 0.5em;
    }
    .contents_sidebar li:not(:last-child){
        border-bottom: 1px dotted #CCCCCC;
    }
    .contents_sidebar_item{
        position: relative;
        margin: 0.1em;
        padding: 0.7em;
        font-size: 1.0em;
        font-weight: bold;
        color: #333;
        transition: all .5s;
    }
    .contents_sidebar_item:active{
        background-color: #B3DAFF;
        color: #000000;
        cursor: pointer;
    }
    /*********right*********/
    .main{
        width: 98%;
    }
    .apply{
        width: 95%;
        margin: 1.0em auto;
    }
    .title_apply{
        width: 100%;
        margin: 1.5em auto;
    }
    .title_apply img{
        width: 85%;
    }
    .requirement{
        width: 100%;
        margin: 0.5em auto;
    }
    .title_requirement{
        width: 100%;
        border-left: 7px solid #99CFFF;
        background-color: #f5f5f5;
        padding: 0.5em;
        font-size: 1.1em;
        font-weight: 700;
    }
    .summary_requirement{
        width: 98%;
        margin: 1.0em auto;
    }
    .summary_requirement > p{
        font-size: 0.9em;
        line-height: 1.5em;
    }
    .submission{
        width: 80%;
        margin: 0.5em auto;
    }
    .submission p{
        font-size: 0.9em;
        line-height: 1.5em;
    }
    .contents_requirement{
        width: 98%;
        margin: 0.5em auto;
    }
    .contents_requirement_item{
        width: 100%;
        margin: 1.5em auto;
    }
    .title_item_requirement{
        width: 100%;
        margin: 0.5em auto;
        font-size: 1.1em;
        font-weight: 600;
    }
    .title_item_requirement::before{
        font-family: 'Font Awesome 5 free';
        content: "\f14a";
        margin-right: 0.5em;
        color: #339CFF;
        font-size: 1.1em;
    }
    .contents_item_requirement{
        width: 100%;
        margin: 0.5em auto;
    }
    .contents_item_requirement p{
        font-size: 0.9em;
        line-height: 1.5em;
    }
    .link_requirement:link{
        color: #0000ee;
    }
    .link_requirement:visited{
        color: #810081;
    }
    .link_requirement:hover{
        color: #0000ee;
        text-decoration: underline;
        cursor: pointer;
    }
    .link_requirement:active{
        opacity: 0.7;
    }
    .account{
        width: 98%;
        margin: 2.0em auto;
    }
    .contents_account{
        position: relative;
        padding: 1.0em;
        border: 2px solid #30B030;
        border-radius: 15px;
    }
    .contents_account::after{
        position: absolute;
        content: "お振込先";
        top: -12px;
        left: 35px;
        background: #fff;
        font-size: 1.0em;
        font-weight: 700;
        color: #30B030;
        padding: 0 10px;
    }
    .contents_info_account{
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .bank{
        width: fit-content;
        margin: 0.5em;
        padding: 0.5em 1.5em;
        background-color: #f5f5f5;
        border-radius: 10px;
    }
    .bank p{
        width: 100%;
        font-size: 0.9em;
        line-height: 1.5em;
        margin: 0.5em auto;
    }
    .bank p span:nth-of-type(2){
        font-size: 1.0em;
        font-weight: 600;
        color: #30B030;
    }
    .contents_name_account{
        width: 90%;
        margin: 1.0em auto;
    }
    .contents_name_account span{
        font-size: 0.9em;
    }
    .contents_account span:nth-of-type(2){
        font-size: 1.0em;
        font-weight: 600;
        color: #30B030;
    }
    .note_name_account{
        width: 98%;
        margin: 0.5em auto;
    }
    .note_name_account p{
        font-size: 0.9em;
        line-height: 1.5em;
        text-indent: -1em;
        padding-left: 1em;
    }
    .note_name_account p::before{
        content: "※";
    }
    .procedure{
        width: 98%;
        margin: 0 auto;
    }
    .contents_procedure{
        width: 100%;
        margin: 1.0em auto 4.0em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .contents_procedure::after{
        font-family: 'Font Awesome 5 Free';
        content: "\f063";
        font-weight: 900;
        position: absolute;
        bottom: -50px;
        font-size: 1.5em;
    }
    .contents_procedure:last-child::after{
        content: none;
    }
    .headline_procedure{
        width: 95%;
        text-align: center;
        margin: 1.0em auto;
    }
    .headline_procedure div{
        width: fit-content;
        font-size: 1.1em;
        font-weight: 600;
        background-color: #F07000;
        border-radius: 50px;
        color: #FFFFFF;        
        margin: 0 auto;
        padding: 0.5em 1.0em;
    }
    .cap_procedure{
        width: 98%;
        margin: 0 0.5em;
        font-size: 0.9em;
        line-height: 1.5em;
    }

    .summary_cancel{
        width: 98%;
        margin: 1.0em auto;
    }
    .summary_cancel > p{
        font-size: 0.9em;
        line-height: 1.5em;
    }
    .contents_cancel{
        width: 98%;
        margin: 1.5em auto;
    }
    .table_cancel{
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .date_cancel{
        width: 100%;
        padding: 1.0em;
        background-color: #F0F0B0;
        font-size: 0.9em;
        font-weight: 600;
        border: 1px solid #000000;
        margin-bottom: -1px;
        margin-right: -1px;
        text-align: center;
    }
    .cap_cancel{
        width: 100%;
        padding: 1.0em;
        font-size: 0.8em;
        line-height: 1.6em;
        border: 1px solid #000000;
        margin-bottom: -1px;
        margin-right: -1px;
        text-align: center;
    }
    /*smooth scroll*/
    .topbtn{
        right: 40px;
        background: #333;
        opacity: 0.6;
        border-radius: 50%;
        display: block;
        width: 50px;
        height: 50px;
        text-decoration: none;
    }
    .topbtn::before{
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f102';
        font-size: 25px;
        color: #fff;
        position: absolute;
        width: 25px;
        height: 25px;
        top: -5px;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;
    }

    /*footer*/
    .site-footer{
        position: relative;
        margin-top: 2.4em;
        color: #fff;
    }
    .site-footer a{
        text-decoration: none;
        color: #fff;
    }
    .site-footer a:hover{
        text-decoration: underline;
    }
    .site-footer .top-section{
        padding: 1.2em;
        background: #333;
    }
    .site-footer .top-section .flex{
        display: block;
    }
    .site-footer .top-section .flex .left{
        width: 100%;
    }
    .site-footer .top-section .flex .left p{
        line-height: 1.8em;
    }
    .site-footer .footer-logo{
        font-size: 1.7em;
    }
    .address{
        font-size: 0.8em;
    }
    .site-footer .sns{
        margin: 0.5em 0 0;
        padding: 0;
    }
    .site-footer .sns li{
        display: inline-block;
        margin: 0 1em 0 0;
        padding: 0;
        font-size: 1.5em;
    }
    .site-footer .sns li:last-child{
        margin-right: 0;
    }
    .site-footer .top-section .flex .right{
        width: 100%;
    }
    .navi-section{
        display: block;
        width: 100%;
        margin: 40px 0 0;
    }
    .title-section{
        width: 40vw;
        min-width: 30px;
        padding: 0.5rem 1rem;
        border-top: 2px solid white;
        border-bottom: 2px solid white;
        text-align: center;
        margin: 1em 0;
    }
    .site-footer .navi-list{
        list-style: none;
        padding-bottom: 10px;
        border-bottom: 1px solid #444;
    }
    .site-footer .navi-list li{
        border-top: 1px solid #444;
        padding-top: 10px;
        margin-top: 10px;
        font-size: 0.8em;
    }
    .site-footer .navi-list li:first-child{
        margin: 0;
    }
    .site-footer .navi-list a:hover,
    .site-footer .title-list a:hover{
        text-decoration: none;
    }
    .site-footer .title-list{
        margin: 0 0 0.9em 0;
        padding: 0;
        font-weight: bold;
        line-height: 2em;
    }
    .site-footer .bottom-section{
        display: block;
        padding: 2.2em;
        background: #222;
    }
    .site-footer .copyright{
        width: 100%;
        text-align: center;
        font-size: 0.9em;
    }
}