/* スマホ改行 */
.sp_br{
    display: none;
}
@media screen and (max-width: 767px) {
    .sp_br{
        display: block;
    }
}

/* =============================header===================================== */
.header{
    padding:0 40px;
    height: 74px;
    display: flex;
    justify-content: space-between;
    background-color: rgb(255, 255, 255, 0.5);
    position: fixed;
    z-index: 99;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.header_left{
    display: flex;
    align-items: center;
}

.header_left_title{
    font-size: 35px;
    color: #125393;
    line-height: 1.2;
    letter-spacing: .05em;
    font-weight: 700;
}

.header_right{
    display: flex;
    align-items: end;
    padding-bottom: 5px;
    margin-left: auto;
}

.header_right_list{
    display: flex;
}

.header_right_list_item + .header_right_list_item{
    margin-left: 10px;
}

.header_right_list_item_contain{
    font-size: 20px;
    color: #125393;
    line-height: 1.2;
    letter-spacing: .05em;
    font-weight: 500;
    padding: 5px 10px;
}

.header_right_list_item_contain:hover{
    color: #FFF;
    background-color: #125393;
    transition: all 0.7s;
}

.sp_header_humburger{
    display: none;
}

.sp_header_humburger_content{
    display: none;
}

@media screen and (max-width: 767px) {
    .header{
        padding:0 20px;
        height:40px;
    }

    .header_left{
        display: flex;
        align-items: center;
    }

    .header_left_title{
        font-size: 20px;
    }

    .header_right{
        display: none;
    }

    /* ハンバーガー */
    .sp_header_humburger{
        display: block;
        margin-left: auto;
    }

    .sp_header_humburger_icon{
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        margin-top: 10px;
        z-index: 101;
    }

    .sp_header_humburger_icon span{
        width: 100%;
        height: 2px;
        display: block;
        position: absolute;
        transition: 0.3s ease;
        background-color: #125393;
    }

    .sp_header_humburger_icon span:nth-child(2){
        top: 7px;
    }

    .sp_header_humburger_icon span:nth-child(3){
        top: 14px;
    }

    /* ばつ */
    .active_hum{
        transition: 0.3s ease;
    }
    .active_hum span{
        transform: rotate(45deg);
        top: 7px;
    }
    .active_hum span:nth-child(2){
        opacity: 0;
    }
    .active_hum span:nth-child(3){
        transform: rotate(-45deg);
        top: 7px;
    }
    /* ばつにしたら白色固定 */
    .active_hum span {
        background-color: white;
        transition: 0.3s ease;
    }

    /* ハンバーガーメニューの中身 */
    .sp_header_humburger_content{
        display: block;
        background-color: #125393;
        color: #FFF;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
        overflow-y: scroll;
    }

    .sp_header_humburger_content.open {
        opacity: 1; /* ← 見えるように */
        pointer-events: auto; /* ← クリックできる */
    }

    .sp_header_humburger_content_list{
        padding: 50px 30px;
    }

    .sp_header_humburger_content_list_item + .sp_header_humburger_content_list_item{
        margin-top: 30px;
    }

    .sp_header_humburger_content_list_item_contain{
        font-size: 20px;
        font-weight: 600;
        letter-spacing: .05em;
        line-height: 1.2;
    }
}

/* =============================news_letter===================================== */
.news_letter{
    padding-top: 74px;
    margin: 0 auto;
    width:100%;
    max-width: 800px;
}

.news_letter_title{
    color: #125393;
    margin-top: 50px;
}

.news_letter_title_name{
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.2;
    padding-left: 10px;
}

.news_letter_title_main{
    font-size: 50px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.0;
}

.news_letter_title_sub{
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.2;
    padding-left: 10px;
}

.news_letter_list{
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
}

.news_letter_list_item{
    width: calc(33.33333% - 40px);
    margin-left: 60px;
}

.news_letter_list_item:nth-child(3n + 1){
    margin-left: 0px;
}

.news_letter_list_item:nth-child(n + 4){
    margin-top: 30px;
}

.news_letter_list_item_content_img{
    width: 100%;
}

.news_letter_list_item_content_title{
    color: #125393;
}

.news_letter_list_item_content_title_main{
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1.2;
}

.news_letter_list_item_content_title_date{
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.2;
}

@media screen and (max-width: 767px) {
    .news_letter{
        padding-top: 40px;
    }

    .news_letter_title{
        margin-top: 30px;
        text-align: center;
    }

    .news_letter_title_name{
        font-size: 14px;
        padding-left: 0px;
    }

    .news_letter_title_main{
        font-size: 35px;
    }

    .news_letter_title_sub{
        font-size: 13px;
        padding-left: 0px;
    }

    .news_letter_list{
        margin: 30px 0;
        padding: 0 15px;
    }

    .news_letter_list_item{
        width: calc(33.33333% - 10px);
        margin-left: 15px;
    }

    .news_letter_list_item:nth-child(3n + 1){
        margin-left: 0px;
    }

    .news_letter_list_item:nth-child(n + 4){
        margin-top: 20px;
    }

    .news_letter_list_item_content_title_main{
        font-size: 13px;
    }

    .news_letter_list_item_content_title_date{
        font-size: 12px;
    }
}

/* =============================footer===================================== */
.footer{
    background-color: #125393;
}

.foter_container{
    padding: 65px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_left_title{
    font-size: 64px;
    color: #FFF;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.2;
}

.footer_right_info{
    font-size: 24px;
    color: #FFF;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1.2;
}

@media screen and (max-width: 767px) {
    .foter_container{
        display: block;
        padding: 30px 10px;
        text-align: center;
    }

    .footer_left_title{
        font-size: 25px;
    }

    .footer_right{
        margin-top: 10px
    }

    .footer_right_info{
        font-weight: 500;
        font-size: 12px;
        margin-top: 3px;
    }
}