@charset "utf-8";

/*=====tb_mode=====*/

@media screen and (max-width: 960px) {

    /*======共通=====*/
    .content_wrap {
        width: 96%;
    }

    /*======header=====*/
    /*------header_nav------*/
    .pc_nav {
        display: none !important;
    }

    #nav_toggle {
        display: block !important;
    }

    .menu > li.menu__multi a {
        display: none !important;
    }

    #header_nav {
        position: fixed;
        padding-top: 3px;
        padding-bottom: 4px;
        width: 100%;
        z-index: 600;
        transition: all 1s ease;
    }

    #header_nav .en {
        display: none;
    }

    #header_nav .top_logo img {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    /*------ハンバーガーメニュー------*/
    .sp_nav {
        position: fixed;
        width: 100%;
        background-color: #fff;
        z-index: 400;
        padding-bottom: 40px;
        top: 0;
        bottom: 0;
        overflow-y: auto;
    }

    .sp_nav p {
        font-size: 10px;
    }
    /*--------開閉ボタン--------*/
    #nav_toggle {
        position: fixed;
        display: block;
        top: 0;
        right: 5px;
        height: 58px;
        width: 60px;
        padding: 20px 13px 0;
        margin-left: auto;
        z-index: 999;
    }

    #nav_toggle div {
        position: relative;
        width: 35px;
        height: 35px;
    }

    #nav_toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #000;
        position: absolute;
        left: 0;
        -webkit-transition: 0.2s ease-in-out;
        -moz-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
    }

    #nav_toggle span:nth-child(1) {
        top: 0px;
    }

    #nav_toggle span:nth-child(2) {
        top: 11px;
    }

    #nav_toggle span:nth-child(3) {
        top: 22px;
    }

    /*--------開閉ボタンopen時--------*/
    .open #nav_toggle span {
        background: #000;
    }

    .open #nav_toggle span:nth-child(1) {
        top: 12px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .open #nav_toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav_toggle span:nth-child(3) {
        top: 12px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    /*--------アコーディオンメニュー--------*/
    .acMenu {
        width: 95%;
        padding: 10px;
        padding-top: 75px;
        padding-bottom: 20px;
        margin: 0 auto;
    }

    .acMenu > li {
        border-bottom: 1px solid #333;
    }

    .acMenu a {
        display: block;
        text-align: left;
        padding: 1.5em 1.2em;
        border-bottom: 1px solid #fff;
    }

    .acMenu li p.click {
        padding: 1.5em;
    }

    .acMenu li ul {
        margin: 0 auto;
    }

    .menu-ttl {
        text-align: left;
        padding: 1.5em .5em;
    }

    .acMenu3 {
        background-color: #DEDEDE;
    }

    .sub-menu-ttl {
        border-bottom: 1px solid #fff;
        text-align: left;
        background-color: #EFEFEF;
    }

    .sub-menu-ttl:last-child {
        border-bottom: none;
    }

    .acMenu dt.click:before {
        content: "";
        padding: 8px;
        background-image: url("../images/tr_right.png");
        background-repeat: no-repeat;
        background-size: 9px;
        background-position: left center;
    }

    .acMenu dt.click.open:before {
        content: "";
        padding: 8px;
        background-image: url("../images/tr_bottom.png");
        background-repeat: no-repeat;
        background-size: 9px;
        background-position: left center;
    }

    /*------main_visual------*/
    .main_visual {
        padding-top: 60px;
        position: relative;
        width: 100%;
        padding-bottom: 60%;
        overflow: hidden;
    }

    .catchphrase {
        width: 100%;
        top: 12%;
        left: 0;
    }

    .top_info {
        position: absolute;
        width: 100%;
        padding-bottom: 5%;
        z-index: 100;
        bottom: 0;
        background-image: url("../images/main_visual_front.png");
        background-size: 100%;
        background-position: bottom;
        background-repeat: no-repeat;
    }

    .top_info > .flex {
        justify-content: space-between;
        width: 90%;
    }

    .top_info a {
        width: 32%;
        font-size: 2.3vw;
    }

    .top_info a:after {
        content: '';
        display: inline-block;
        border-style: solid;
        border-width: 5px 0 5px 8px;
        border-color: transparent transparent transparent #fff;
        width: 0;
        height: 0;
        position: absolute;
        bottom: 15%;
        right: 12px;
        transform: translateY(-50%);
        transition: 0;
    }

    .top_info a:hover:after {
        right: 12px;
    }

    .top_info p {
        padding: 1.5em 1em .8em;
        line-height: 1.4;
    }

    .top_info a.top_info_content2 p {
        padding-top: .7em;
    }

    .slide_topvisual {
        position: absolute !important;
        padding-bottom: 60%;
        width: 100%;
    }

    .slider-item {
        width: 100%;
        padding-bottom: 60%;
        background-repeat: no-repeat;
        background-position: top;
        background-size: 100%;
    }

    .slider-item01 {
        background-image: url("../images/main_slider_sp1.jpg");
    }

    .slider-item02 {
        background-image: url("../images/main_slider_sp1.jpg");
    }

    /*------main------*/
    h2.border_style {
        font-size: 30px;
        line-height: 1.5;
        margin-bottom: 68px;
    }

    h2.border_style span {
        font-size: 18px;
        letter-spacing: 2px;
    }

    h2.border_style:after {
        padding: 10px;
        background-size: 50px;
    }

    /*-----section/news------*/
    #news {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    #news > .flex {
        display: block;
    }

    #news > .flex > div {
        width: 100%;
    }

    #news h3 {
        font-size: 20px;
        padding-bottom: .2em;
        margin-bottom: 1.5em;
    }

    #news ul {
        margin-bottom: 60px;
    }

    #news ul li {
        margin-bottom: 1.8em;
    }

    #news .time {
        font-size: 14px;
        padding: .1em 1.5em;
    }

    /*-----section/organization------*/
    #organization {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    #organization a {
        display: block;
        margin: 4px 8px;
    }

    #organization .flex {
        justify-content: center;
        flex-wrap: wrap;
    }

    /*-----footer------*/
    footer .gotop {
        display: block;
        width: 80px;
        margin-left: auto;
        margin-right: 5%;
    }

    footer .bg_gray {
        background-color: #F5F5F5;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    footer .r_content {
        display: none;
    }
}

/*=====sp_mode=====*/

@media screen and (max-width: 520px) {

    /*-----共通------*/
    body {
        font-size: 15px;
        line-height: 1.6;
    }

    .pc_style {
        display: none !important;
    }

    .sp_style {
        display: block !important;
    }

    .content_wrap {
        width: 96%;
        max-width: 96%;
        margin: 0 auto;
    }

    /*-----nav------*/
    #header_nav {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    #header_nav > div.flex {
        padding-left: 10px;
        padding-right: 5px;
    }

    .acMenu {
        width: 92%;
        padding: 0;
        padding-top: 65px;
    }

    /*------main_visual------*/
    .main_visual {
        padding-top: 60px;
        position: relative;
        width: 100%;
        padding-bottom: 71%;
        overflow: hidden;
    }

    .catchphrase {
        width: 100%;
        top: 15%;
    }

    .top_info {
        position: absolute;
        width: 100%;
        padding-bottom: 4%;
        z-index: 100;
        bottom: 0;
        background-image: url("../images/main_visual_front.png");
        background-size: 100%;
        background-position: bottom;
        background-repeat: no-repeat;
    }

    .top_info > .flex {
        justify-content: space-between;
        width: 95%;
    }

    .top_info a {
        width: 32.5%;
        font-size: 14px;
    }

    .top_info a:after {
        content: '';
        display: inline-block;
        border-style: solid;
        border-width: 5px 0 5px 6px;
        border-color: transparent transparent transparent #fff;
        width: 0;
        height: 0;
        position: absolute;
        bottom: 20%;
        right: 7px;
        transform: translateY(-50%);
        transition: 0;
    }

    .top_info a:hover:after {
        right: 7px;
    }

    .top_info p {
        padding: 1.3em .2em .5em;
        line-height: 1.4;
    }

    .top_info a.top_info_content2 p {
        padding-top: .7em;
    }

    .top_info a.top_info_content3 p {
        padding-top: 2em;
    }

    .slide_topvisual {
        position: absolute !important;
        padding-bottom: 71%;
        width: 100%;
    }

    .slider-item {
        width: 100%;
        padding-bottom: 71%;
        background-repeat: no-repeat;
        background-position: top;
        background-size: 100%;
    }

    .slider-item01 {
        background-image: url("../images/main_slider_sp1.jpg");
    }

    .slider-item02 {
        background-image: url("../images/main_slider_sp1.jpg");
    }

    /*------main------*/
    h2.border_style {
        font-size: 26px;
        line-height: 1.5;
        margin-bottom: 50px;
    }

    h2.border_style span {
        font-size: 16px;
        letter-spacing: 1px;
    }

    h2.border_style:after {
        padding: 8px;
        background-size: 50px;
    }

    /*-----section/news------*/
    #news {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    #news h3 {
        font-size: 18px;
        padding-bottom: .2em;
        margin-bottom: 1.5em;
    }

    #news ul {
        margin-bottom: 40px;
    }

    #news ul li {
        margin-bottom: 1.6em;
    }

    #news .time {
        font-size: 13px;
        padding: .1em 1.5em;
    }

    /*-----section/organization------*/
    #organization {
        padding-top: 50px;
        padding-bottom: 30px;
    }

    #organization a {
        display: block;
        margin: 4px 8px;
    }

    #organization .flex {
        justify-content: center;
        flex-wrap: wrap;
    }

    /*-----footer------*/
    footer .gotop {
        display: block;
        width: 65px;
        margin-left: auto;
        margin-right: 2%;
    }

    footer .bg_gray {
        background-color: #F5F5F5;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
