@charset "utf-8";

@media screen and (max-width: 750px) {
        
    header {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 50000;
        width: 100%;
        background-color: #fff;
    }
    header .inner {
        width: 100%;
        margin: auto; 
    }
    header .inner h1 a {
        display: block;
        position: relative;
        width: 300px;
        min-height: 50px;
        padding-left: 60px;
        padding-top: 10px;
    }
    header .inner h1 a img {
        left: 5px;
        top: 10px;
        width: 50px;
        height: auto;
    }
    header .inner h1 a span {
        display: block;
    }
    header .inner h1 a span:first-of-type {
        font-size: 9px;
        margin-left: 2px;
    }
    header .inner h1 a span:last-of-type {
        font-size: 24px;
    }
    header ul.nav_sp {
        display: none;
        position: fixed;
        right: 0;
        top: 50px;
        z-index: 50000;
        text-align: left;
        width: 100%;
        height: calc(100vh - 50px);
        overflow: scroll;
        background-color: #ddd;
    }
    header ul.nav_sp.open {
        display: block;
    }
    header ul.nav_sp li {
        position: relative;
        display: block;
        font-size: 14px;
        line-height: 1em;
        margin-left: 0;
        border-top: 1px solid #ddd;
    }
    header ul.nav_sp li a {
        display: block;
        font-size: 14px;
        line-height: 1em;
        padding: 15px 10px;
        background-color: #fff;
    }
    header ul.nav_sp li a::after {
        position: absolute;
        right: 10px;
        top: 15px;
        content: '\f13a';
        font-family: "Font Awesome 5 Free";
        color: #0c419a;
        font-size: 16px;
        font-weight: 900;
    }
    header ul.nav_sp li a.open::after {
        content: '\f139';
    }
    header ul.nav_sp li ul {
        width: 100% !important;
        height: 0;
        overflow: hidden;
        background-color: rgba(235,235,235,0.95);
        -moz-transition: .2s;
        -webkit-transition: .2s;
        -o-transition: .2s;
        -ms-transition: .2s;
        transition: .2s;
    }
    header ul.nav_sp li ul.open {
        height: auto;
    }
    header ul.nav_sp li ul li {
        border-bottom: 1px solid #fff;
    }
    header ul.nav_sp li ul li:last-of-type {
        border-bottom: none;
    }
    header ul.nav_sp li ul li a {
        display: block;
        line-height: 1em;
        padding: 10px;
        background-color: #ddd;
    }
    header ul.nav_sp li ul li a::after {
        display: block;
        position: absolute;
        right: 12px;
        top: calc(50% - 7px);
        content: '\f101';
        font-family: "Font Awesome 5 Free";
        color: #0c419a;
        font-size: 14px;
        line-height: 1em;
        font-weight: 900;
    }
    
    .menu-trigger {
        position: absolute;
        right: 10px;
        top: 12px;
        width: 32px;
        height: 26px;
    }
    .menu-trigger,
    .menu-trigger div {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }
    .menu-trigger div {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #000;
        border-radius: 2px;
    }
    .menu-trigger div:nth-of-type(1) {
        top: 0;
    }
    .menu-trigger div:nth-of-type(2) {
        top: 12px;
    }
    .menu-trigger div:nth-of-type(3) {
        bottom: 0;
    }

    .menu-trigger.active div:nth-of-type(1) {
        -webkit-transform: translateY(12px) rotate(-45deg);
        transform: translateY(12px) rotate(-45deg);
    }
    .menu-trigger.active div:nth-of-type(2) {
        opacity: 0;
    }
    .menu-trigger.active div:nth-of-type(3) {
        -webkit-transform: translateY(-12px) rotate(45deg);
        transform: translateY(-12px) rotate(45deg);
    }
    
    footer .inner {
        width: 100%;
        padding-top: 30px;
    }
    footer .old {
        left: 20px;
    }
    footer .copy {
        font-size: 10px;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    #main {
        width: 100%;
        margin: 70px auto 50px;
    }
    #main.top_page {
        margin-top: 50px !important;
    }

  
    .btn_box {
        padding: 30px 15px 0;
    }
    .btn_box div.box h2 {
        position: relative;
        color: #fff;
        font-size: 16px;
        line-height: 1em;
        padding: 15px 10px;
    }
    .btn_box h2::after {
        position: absolute;
        right: 10px;
        top: 15px;
        content: '\f13a';
        font-family: "Font Awesome 5 Free";
        color: #fff;
        font-size: 16px;
        font-weight: 900;
    }
    .btn_box h2.open::after {
        content: '\f139';
    }
    .btn_box div.box ul {
        display: none;
    }
    .btn_box div.box li {
        font-size: 14px;
        line-height: 1em;
        border-top: 1px solid #fff;
    }
    .btn_box div.box li a {
        position: relative;
        display: block;
        color: #fff;
        font-size: 14px;
        line-height: 1em;
        padding: 10px
    }
    .btn_box div.box li a::after {
        position: absolute;
        right: 10px;
        top: calc(50% - 7px);
        content: '\f101';
        font-family: "Font Awesome 5 Free";
        color: #fff;
        font-size: 14px;
        font-weight: 900;
    }
    .btn_box div.box01 {
        cursor: pointer;
        background-color: #0c419a;
    }
    .btn_box div.box02 {
        cursor: pointer;
        background-color: #006881;
    }
    .btn_box div.box03 {
        cursor: pointer;
        background-color: #017e74;
    }
    .btn_box div.box04 {
        cursor: pointer;
        background-color: #1b9850;
    }
    .btn_box div.box05 {
        cursor: pointer;
        background-color: #b2db11;
    }
    
    .top_slide {
        height: 200px !important;
    }
    .top_slide .sp-slides {
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
    }
    .top_slide .sp-slide {
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        overflow: hidden;
    }
    .top_slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }


    .news_box {
        float: none;
        width: 100%;
        height: auto;
        padding: 15px;
        background-color: #eee;
    }
    .news_box h2 {
        font-size: 20px;
    }
    .news_box ul li {
        font-size: 13px;
    }
    .news_box ul li a {
        display: block;
        font-size: 13px;
    }
    .news_box ul li a span {
        display: block;
        color: #666;
        font-size: 11px;
    }



    h2.midashi {
        font-size: 18px;
        margin-bottom: 30px;
    }
    h2.midashi.en {
        font-size: 22px;
    }

    #main.news_wrap .cont,
    #main.page_wrap .cont,
    #main.news_wrap .sub,
    #main.page_wrap .sub {
        float: none;
        width: 100%;
        padding: 0 15px;
        margin: 0;
    }

    #main.page_wrap .cont {
        margin-bottom: 50px;
    }
    #main.page_wrap .cont .pan {
        display: none;
    }

    #main.page_wrap .cont h3 {
        font-size: 16px;
        padding: 8px 0 8px 5px;
        margin: 30px 0 15px;
        border: 2px solid #ddd;
        border-right: none;
        border-left: none;
    }
    #main.page_wrap .cont h3::before {
        content: '\f018';
        font-family: "Font Awesome 5 Free";
        color: #f90;
        font-size: 20px;
        font-weight: 900;
        margin-right: 5px;
    }
    #main.page_wrap .cont h4 {
        font-size: 15px;
        line-height: 1.3em;
        text-align: left;
    }
    #main.page_wrap .cont p {
        font-size: 14px;
        line-height: 1.6em;
        margin-bottom: 1em;
    }
    
    .wp-block-group.sc {
        width: 100%;
        overflow: hidden;
        overflow-x: scroll;
    }
    .wp-block-group.sc .table01 {
        margin-top: 5px !important;
    }
    #main.page_wrap .cont .table01.sc {
        width: 100%;
        overflow: hidden;
        overflow-x: scroll;
        margin-top: 15px;
    }
    .wp-block-group.sc::before,
    #main.page_wrap .cont .table01.sc::before {
        content: "※下記の表は横方向にスクロールします。";
        display: block;
        font-size: 10px;
        line-height: 1em;
        margin-bottom: 5px;
    }
    #main.page_wrap .cont table {
        width: 100%;
    }
    
    #main.page_wrap .cont .table01.shisatsu table {
        width: 650px;
    }
    #main.page_wrap .cont .table01.shisatsu table tr td:nth-of-type(1) {
        width: 18%;
    }
    #main.page_wrap .cont .table01.shisatsu table tr td:nth-of-type(2) {
        width: 22%;
    }
    #main.page_wrap .cont .table01.shisatsu table tr td:nth-of-type(3) {
        width: 60%;
    }
    
    #main.page_wrap .cont .table01.soshiki table {
        width: 600px;
    }
    #main.page_wrap .cont .table01.soshiki table td {
        width: auto;
    }
    
    #main.page_wrap .cont .table01 {
        position: relative;
        margin: 30px 0;
    }
    #main.page_wrap .cont .table01 td {
        font-size: 14px;
        line-height: 1.5em;
        padding: 10px;
        border: 1px solid #333;
    }
    #main.page_wrap .cont .table01.meibo tr td:nth-of-type(1) {
        width: 30%;
    }
    #main.page_wrap .cont .table01.meibo tr td:nth-of-type(2) {
        width: 70%;
    }
    #main.page_wrap .cont .table01.meibo2 tr td:nth-of-type(1) {
        width: 28%;
    }
    #main.page_wrap .cont .table01.meibo2 tr td:nth-of-type(2) {
        width: 32%;
    }
    #main.page_wrap .cont .table01.meibo2 tr td:nth-of-type(3) {
        width: 40%;
    }
    #main.page_wrap .cont .table01.link table,
    #main.page_wrap .cont .table01.link tbody,
    #main.page_wrap .cont .table01.link tr,
    #main.page_wrap .cont .table01.link td {
        display: block;
        border: none;
    }
    #main.page_wrap .cont .table01.link td {
        display: block;
        border: none;
        padding: 0;
    }
    #main.page_wrap .cont .table01.link tr td:nth-of-type(1) {
        padding-top: 5px;
        padding-bottom: 2px;
    }
    #main.page_wrap .cont .table01.link tr td:nth-of-type(2) {
        padding-top: 0;
        padding-bottom: 5px;
    }
    
    
    #main.page_wrap .cont .hyosyo .table01 {
        width: 740px;
    }
    #main.page_wrap .cont .hyosyo table tr td:nth-last-of-type(4) {
        width: 15%;
    }
    #main.page_wrap .cont .hyosyo table tr td:nth-last-of-type(3) {
        width: 30%;
    }
    #main.page_wrap .cont .hyosyo table tr td:nth-last-of-type(2) {
        width: 40%;
    }
    #main.page_wrap .cont .hyosyo table tr td:nth-last-of-type(1) {
        width: 15%;
    }
    
    #main.page_wrap .cont .table02 {
        margin: 50px 0;
    }
    #main.page_wrap .cont .table02 td {
        font-size: 14px;
        line-height: 1.5em;
        padding: 10px 15px;
    }
    #main.page_wrap .cont .table02 tr:nth-of-type(2n-1) {
        background-color: #F8EFA9;
    }
    
    #main.page_wrap .cont .table03 tr td:nth-of-type(1) {
        width: 15%;
    }
    #main.page_wrap .cont .table03 tr td:nth-of-type(2) {
        width: 75%;
    }
    #main.page_wrap .cont .kouen {
        width: 740px;
    }
    
    #main.page_wrap .cont .wp-block-group.link {
        border: none;
    }
    #main.page_wrap .cont .wp-block-group.link p {
        float: none;
        font-size: 14px;
        line-height: 1.5em;
        width: 100%;
        padding: 0;
        border-bottom: none;
    }
    #main.page_wrap .cont .wp-block-group.link p:nth-of-type(2n-1) {
        padding-bottom: 5;
    }
    #main.page_wrap .cont .wp-block-group.link p:nth-of-type(2n) {
        padding-bottom: 15px;
        border-left: none;
    }
	
    
    #main.page_wrap .sub h3 {
        color: #fff;
        font-size: 16px;
        line-height: 1em;
        padding: 10px 0 10px 10px;
        background-color: #aaa;
    }
    #main.page_wrap .sub h3::before {
        content: '\f02d';
        font-family: "Font Awesome 5 Free";
        color: #fff;
        font-size: 18px;
        font-weight: 900;
        margin-right: 5px;
    }
    #main.page_wrap .sub h3.about {
        background-color: #0c419a;
    }
    #main.page_wrap .sub h3.activity {
        background-color: #006881;
    }
    #main.page_wrap .sub ul li {
        font-size: 14px;
        line-height: 1em;
        border-bottom: 1px solid #ddd;
    }
    #main.page_wrap .sub ul li a {
        position: relative;
        display: block;
        font-size: 14px;
        line-height: 1em;
        padding: 10px 20px 10px 10px;
    }
    #main.page_wrap .sub ul li a::after {
        position: absolute;
        right: 5px;
        top: calc(50% - 5px);
        content: '\f105';
        font-family: "Font Awesome 5 Free";
        color: #f90;
        font-size: 18px;
        font-weight: 900;
    }

    #main.news_wrap .cont .h {
        margin: 30px 0 10px;
        border-top: 2px solid #ddd;
    }
    #main.news_wrap .cont .h h3 {
        font-size: 15px;
        line-height: 1.4em;
        text-align: left;
        padding: 10px 0;
    }
    #main.news_wrap .cont .h span {
        font-size: 11px;
    }
    #main.news_wrap .cont .c {
        padding: 0;
    }
    #main.news_wrap .cont .c p {
        font-size: 13px;
    }
    #main.news_wrap .cont .p {
        margin: 30px 0 50px;
    }
    #main.news_wrap .cont .p table td:nth-of-type(1) {
        padding-left: 0;
    }
    #main.news_wrap .cont .p table td:nth-of-type(3) {
        padding-right: 0;
    }

    #main.news_wrap .sub h3 {
        margin-bottom: 15px;
    }
    #main.news_wrap .sub h3.en {
        font-size: 16px;
    }

    #main.news_wrap .sub ul {
        margin-bottom: 30px;
    }

    #main.news_wrap .sub ul li {
        font-size: 12px;
        padding-left: 18px;
    }
    #main.news_wrap .sub ul.arch li {
        font-size: 14px;
    }
    #main.news_wrap .sub ul li::before {
        font-size: 12px;
    }
    #main.news_wrap .sub ul li a span {
        font-size: 11px;
    }
    
    #main.page_wrap .cont .kaiho_wrap {

    }
    #main.page_wrap .cont .kaiho_wrap li {
        float: left;
        width: 32%;
        margin-right: 2%;
        margin-bottom: 15px;
    }
    #main.page_wrap .cont .kaiho_wrap li:nth-of-type(3n),
    #main.page_wrap .cont .kaiho_wrap li:nth-of-type(6n) {
        margin-right: 0;
    }
    #main.page_wrap .cont .kaiho_wrap li a {
        display: block;
        font-size: 14px;
        line-height: 1em;
        text-align: center;
        width: 100%;
    }
    #main.page_wrap .cont .kaiho_wrap li a div.img {
        width: 100%;
        height: 154px;
        overflow: hidden;
        margin-bottom: 8px;
        border: 1px solid #ccc;
    }
    #main.page_wrap .cont .kaiho_wrap li a div.img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    #main.page_wrap .cont .kaiho_wrap li a div.title {
        font-size: 12px;
        height: 2.4em;
    }

    .news_wrap ul.ichiran {
        margin: 0 auto 50px;
    }
    .news_wrap ul.ichiran li {
        font-size: 16px;
        line-height: 1em;
        border-bottom: 1px dashed #ccc;
    }
    .news_wrap ul.ichiran li a {
        position: relative;
        display: block;
        font-size: 13px;
        line-height: 1.4em;
        padding: 7px 25px 7px 0;
    }
    .news_wrap ul.ichiran li a::after {
        right: 0;
        top: calc(50% - 8px);
        font-size: 16px;
    }
    .news_wrap ul.ichiran li a span {
        display: block;
        font-size: 11px;
        margin-right: 0;
    }
    
    a:hover {
        opacity: 1;
    }
    
    
    /* contact */
    .form table,
    .form tbody,
    .form tr,
    .form td {
        display: block;
    }
    .form table td {
        font-size: 13px;
        line-height: 1.2em;
        width: 100%;
        padding-bottom: 0;
    }
    .form table tr td:nth-of-type(1) {
        font-weight: bold;
        padding-top: 0;
        padding-bottom: 5px;
    }
    .form table tr td:nth-of-type(1) span {
        font-size: 12px;
    }
    .form table tr td:nth-of-type(2) {
        width: 100%;
        padding-bottom: 25px;
    }
    .form table td div.nashi {
        padding-top: 15px;
        margin-bottom: 10px;
    }
    .mw_wp_form .error {
        margin-top: 5px;
    }

    .mw_wp_form_confirm .form table tr td:nth-of-type(2) {
        padding-top: 8px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 14px;
        width: 100%;
        height: 30px;
        padding: 8px 5px;
        background-color: #F7F7F7;
        border: none;
        -webkit-appearance : none;
    }
    textarea {
        height: 200px;
    }
    label {
        cursor: pointer;
    }
    .form table td .w1 {
        width: 100%;
    }
    .form table td .w2 {
        width: 100%;
    }
    
}