@charset "utf-8";


/***FV***/
.top_fv_slider .image_box {
    position: relative;
}

.top_fv_slider .image_box figure {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 37.5%;
    overflow: hidden;
}

.top_fv_slider .image_box figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.top_fv_slider .image_box .double {
    display: flex;
}

.top_fv_slider .image_box .double .box {
    width: 50%;
}


.top_fv_slider .image_box .double .box figure {
    padding-bottom: 75%;
}

.top_fv_slider .image_box .text{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 3%;
    padding: 20px 30px;
    text-align: center;
}

.top_fv_slider .image_box  .text::before {
    content: '';
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
}

.top_fv_slider .image_box .text h2 {
    font-size: 3.4rem;
    margin-bottom: 10px;
}

.top_fv_slider .image_box .text p {
    font-size: 2rem;

}

.top_fv_slider .image_box .text p span {

    font-size: 3rem;
    font-weight: 500;
    background: linear-gradient(180deg, transparent 0%, transparent 70%, var(--theme-color) 70%);
}


@media screen and (max-width: 700px){
    .top_fv_slider .image_box figure {
        padding-bottom: 80%;
    }


.top_fv_slider .image_box .double {
    flex-direction: column;
}

.top_fv_slider .image_box .double .box {
    width: 100%;
}

.top_fv_slider .image_box .double .box figure {
    padding-bottom: 40%;
}

.top_fv_slider .image_box .text{
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    padding: 20px 10px;
    width: calc(100% - 30px);
}
.top_fv_slider .image_box .text h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.top_fv_slider .image_box .text p {
    font-size: 1.6rem;

}

.top_fv_slider .image_box .text p span {

    font-size: 2rem;
}


}

/***メッセージ***/
.top_message_sec {
    padding: 70px 0;
    text-align: center;
}

.top_message_sec h2 {
    font-size: 2.6rem;
    line-height: 1.8;
}

.top_message_sec p {
    margin-top: 20px;
    font-size: 2rem;
}

.top_message_sec p span {
    background: linear-gradient(180deg, transparent 0%, transparent 70%, var(--theme-color) 70%);
}
@media screen and (max-width: 700px){
    .top_message_sec {
        padding: 40px 0;
    }

    .top_message_sec h2 {
        font-size: 2rem;
    }
    
    .top_message_sec p {
        font-size: 1.7rem;
    }
}


/***速報***/
.top_breaking_news {
    padding: 50px 0;
}

.top_breaking_news h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.top_breaking_news .box {
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    padding: 10px;
}
.breaking_news_list li:not(:last-of-type) {
    margin-bottom: 10px;
}
.breaking_news_list li a {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
}

.breaking_news_list li a .date {
    /* width: 210px; */
    margin-right: 10px;
}


.breaking_news_list li a .type {
    /* width: 210px; */
    margin-right: 10px;
}

@media screen and (max-width: 700px){
    .top_breaking_news {
        padding: 40px 0;
    }
    .breaking_news_list li:not(:last-of-type) {
        margin-bottom: 15px;
    }

.breaking_news_list li a .date {
    font-size: 1.4rem;
}


.breaking_news_list li a .type {
    font-size: 1.4rem;
}
}

/***サイドバー設定***/

.wide_columns {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
}


.wide_columns .sidebar {
    width: 280px;
}

.wide_columns .main_colum,
.wide_columns .sub_main_colum {

    width: calc(100% - 350px);
}

.wide_columns .sidebar .box:not(:last-of-type) {
    margin-bottom: 50px;
}

.wide_columns .sidebar .box h2 {
    background-color: var(--theme-color);
    text-align: center;
    font-size: 2.2rem;
    padding: 5px;
    border-radius: 8px 8px 0 0;
}
.wide_columns .sidebar .box table {
    width: 100%;
    background-color: white;
}
.wide_columns .sidebar .box table th,
.wide_columns .sidebar .box table td {
    border: 1px solid var(--gray);
    font-size: 2rem;
    width: calc(100% / 3);
    padding: 10px 0;
    text-align: center;
}

.wide_columns .sidebar .box table th {
    background-color: var(--light-theme-color);
}


.wide_columns .sidebar .box .link_box {
    border: 1px solid var(--gray);
    border-top: none;
    padding: 10px;
    background-color: var(--light-theme-color);
}

.wide_columns .sidebar .box .link_box a:not(:last-of-type) {
    margin-bottom: 15px;
}

.wide_columns .sidebar .box .link_box a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    border: 1px solid var(--gray);
    padding: 10px 5px;
    background-color: white;
}

.wide_columns .sidebar .box .link_box a figure {
    width: 50px;
    margin-right: 5px;
}



@media screen and (max-width: 700px){

    .wide_columns {
        flex-direction: column;
        padding: 50px 0;
    }
    
    .wide_columns .wrapper {
        width: 100%;
    }
    
    .wide_columns .sidebar {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        order: 2;
    }
    
    .wide_columns .main_colum,
    .wide_columns .sub_main_colum {
        order: 1;
        width: 100%;
        margin-bottom: 30px;
    }
    .wide_columns .sidebar .box:not(:last-of-type) {
        margin-bottom: 30px;
    }
    
.wide_columns .sidebar .box h2 {

    font-size: 2rem;

}
    .wide_columns .sidebar .box table th,
.wide_columns .sidebar .box table td {
    font-size: 1.6rem;
}
.wide_columns .sidebar .box .link_box a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid var(--gray);
    padding: 10px 5px;
    background-color: white;
}

.wide_columns .sidebar .box .link_box a figure {
    width: 30px;
}


}

/***お知らせ***/
.main_colum section h2,
.top_access_sec h2 {
    display: inline-block;
    padding: 5px 20px;
    background-color: var(--theme-color);
    border-radius: 8px 8px 0 0;
    font-size: 2rem;
}

.main_colum section .box,
.top_access_sec .box {
    border: 2px solid var(--theme-color);
    padding: 30px 020px;
    background-color: white;
}
.main_colum section .box .news_list {
    margin-bottom: 40px;
}
.news_list > li {
    padding-left: 50px;
    position: relative;
}

.news_list > li:not(:last-of-type) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray);
}


.news_list > li.new::before {
    content: '新着';
    background-color: red;
    font-size: 1.4rem;
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 4px;
    color: white;
    border-radius: 4px;
}

.news_list > li a {
    display: inline-flex;
}

.news_list > li a .date {
    width: 140px;
}

.news_list > li a .title {
    flex: 1;
}


@media screen and (max-width: 700px){
    .news_list > li {
        padding-left: 0;
    }
    .news_list > li a {
        display: block;
    }

    .news_list > li.new .date {
        padding-left: 50px;
    }
    
    .news_list > li a .date {
        width: 100%;
    }
    .news_list > li a .title {
        flex: 1;
    }
    

}


/***アクセス***/
.top_access_sec .wrapper {
    padding: 30px 0;
}

.top_access_sec .wrapper .box {
    padding: 40px 50px;
}

.top_access_sec .box h3 {
    margin-top: 30px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--gray);
}

.top_access_sec .box .images {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.top_access_sec .box .images figure {
    width: calc(100% / 3 - 30px / 3);
}


@media screen and (max-width: 700px){
    .top_access_sec .wrapper .box {
        padding: 20px 20px;
    }
    .top_access_sec .box .images {
        flex-direction: column;
        align-items: center;
    }
    
    .top_access_sec .box .images figure {
        width: 100%;
        max-width: 300px;
    }

    .top_access_sec .box .images figure:not(:last-of-type) {
        margin-bottom: 20px;
    }

}



/***お問い合わせ***/
.common_contact_sec {
    padding: 60px 0;
    /* background-color: #F5F5DC; */
}

.common_contact_sec .wrapper {
    padding: 40px 10px;
    text-align: center;
    background-color: white;
}

.common_contact_sec h2 {
    margin-bottom: 20px;
}

.common_contact_sec .ex {
    margin-bottom: 30px;
}

.common_contact_sec .tel {
    font-size: 3.3rem;
    font-weight: 500;
    text-decoration: underline;

}

.common_contact_sec .tel i {
    margin-right: 5px;
}


@media screen and (max-width: 700px){
    .common_contact_sec {
        padding: 10px 0;
        /* background-color: #F5F5DC; */
        background-color: white;
    }
    
.common_contact_sec .wrapper {
    padding: 30px 0px;
}


}



/***記事個別***/

.sidebar .news_list > li {
    padding-left: 0;
    padding: 10px 0;
}

.sidebar .news_list > li a {
    display: block;
}


.sidebar .news_list > li a .date {
    font-size: 1.3rem;
}

.news_content > * {
    margin-bottom: 20px;
}