@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}
.clear {
    clear: both;
}
.clearboth::after {
    clear: both;
    content: " ";
    display: block;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #FFF;
    color: #333333;
}
header {
    background-image: url(../images/topslide1-s.jpg);
    background-position: top center;
    background-repeat: repeat-x;
    position: relative;
    height: fit-content;
    background-color: rgb(238, 17, 50);
}
p {
    font-size: 14px;
    line-height: 180%;
    margin-bottom: 14px;
}
#undernavi {
    position: fixed;
    bottom: 60px;
    right: 15px;
    z-index: 9999;
}
#undernavi a {
    display: block;
    font-size: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #7db4e6;
    line-height: 50px;
}
#undernavi a i{
    font-size: 20px;
    color:#fff;
    line-height: 50px;
}
.contents_box1 {
    width: 94%;
    margin: 0 auto;
}
.contents_box2 {
    width: 80%;
    margin: 0 auto;
}
.contents_box3 {
    width: 84%;
    margin: 0 auto;
}
.contents_box4 {
    width: 84%;
    margin: 0 auto;
}
.newsbox {
    width: 84%;
    margin: 40px auto;
}
.newsbox ul {
    list-style: none;
}
.newsbox li {
    margin-bottom: 10px;
    border-bottom: #333333 dotted 1px;
}
.newsbox li:first-child {
    border-top: #333333 dotted 1px;
  }
p.date {
    font-weight: bold;
    margin-top: 10px;
}
.newsbox img {
    max-width: 100%;
}
.art_parts1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.art_parts1 img {
    width: 150px;
}
.art_parts2 {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}
.art_parts2 img {
    width: 90px;
}
.art_parts3 {
    position: absolute;
    top: 302px;
    right: 0;
    z-index: 50;
}
.art_parts3 img {
    width: 220px;
}
h1 {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
}
h1 img {
    width: 220px;
}
.goukaku {
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px 0;
    position: absolute;
    top: 400px;
    left: 0;
}
.goukaku h2 {
    font-size: 20px;
}
.goukaku h3 {
    font-size: 16px;
    text-decoration: underline solid 1px #333333;
}
.goukaku p {   
    text-align: left;
    line-height: 180%;
}
.catchphrase1 {
    position: absolute;
    top: 80px;
    right: 0;
    color: rgb(255, 255, 255);
    font-size: 24px;
    font-weight: bold;
    padding-left:1em;
	text-indent:-1em;
}
.promo {
    position: absolute;
    top: 270px;
    right: 10px;
    z-index: 100;
}
.promo img {
    width: 220px;
}
.txt1 {
    display: none;
}
.otoiawase1 {
    width: 100%;
    height: fit-content;
    position: absolute;
    bottom: 70px;
    left: 0;
    z-index: 100;
    text-align: center;
}
.otoiawase_cap1 {
    width: 96%;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 110;
    color: #FFF;
    margin: 0 auto;
}
.otoiawase1 h3 img.taiken1-s,.otoiawase2 h3 img.taiken2-s {
    width: 270px;
}
.otoiawase2 h3 img.taiken2-s {
    margin-top: 15px;
}
.form_bt a {
    box-shadow:inset 0px 1px 0px 0px #fff6af;
	background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
	background-color:#ffec64;
	border-radius:6px;
	border:1px solid #ffaa22;
	display:inline-block;
	cursor:pointer;
	color:#333333;
	font-weight:bold;
	padding:6px;
    text-decoration: none;
	text-shadow:0px 1px 0px #ffee66;
}
.form_bt a:hover {
	background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
	background-color:#ffab23;
}
.form_bt a:active {
	position:relative;
	top:1px;
}
.otoiawase1 img.telnum1-s,.otoiawase2 img.telnum1-s {
    margin-top: 10px;
}
.otoiawase1 p,.otoiawase2 p {
    font-size: 16px;
    color: rgb(255, 255, 255);
    margin-bottom: 0;
}
.otoiawase1 img.telnum1-s,.otoiawase2 img.telnum1-s {
    width: 198px;
}
.otoiawase2 {
    width: 100%;
    height: 170px;
    position: relative;    
    background-color: rgb(238, 17, 50);
}
.otoiawase_cap2,.otoiawase_cap3 {
    text-align: center;
}
footer.otoiawase2 {
    position: relative;
    top: 0;
    left: 0;
}
.otoiawase_left,.otoiawase_right {
    display: none;
}
.otoiawase_main {
    text-align: center;
}
.policy {
    border-top: 30px solid rgb(108, 169, 203);
    background-color: rgb(212, 239, 255);
}
.policy h2 {
    text-align: center;
    margin: 10px auto;
}
.catchphrase2 {
    height: 30px;
    background-color: rgb(108, 169, 203);
    color: rgb(255, 255, 255);
    text-align: center;
    margin-top: 20px;
    padding: 5px 10px 0 0;
}
.policy_box {
    background-color: rgb(255, 255, 255);
}
.profile_img {
    max-width: 200px;
    margin: 0 auto 20px auto;
}
.profile_img img {
    width: 100%;
}
.profile_box {
    margin: 0 16px;
}
.profile_img p:nth-child(2) {
    border-bottom: 1px dotted rgb(0, 0, 0);
}
.profile_img p {
    margin-bottom: 0;
}
.profile_box p:nth-child(1) {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid rgb(0, 0, 0);
}
.openbox_bt,.openbox_bt2 {
    display: none;
}
.openbox_bt_label {
    position: relative;
    background: rgb(108, 169, 203);
    color: rgb(255, 255, 255);
    display: block;
    margin: 0 auto 0 auto;
    padding: 10px;    
}
.openbox_bt_label2 {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 10px;  
}
.openbox_bt_label h3 {
    font-size: 14px;
}
.openbox_bt_label h3::after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f103";
    font-size: 28px;
    position: absolute;
    right: 10px;
    top: 14px;
    z-index: 100;
}
.openbox_bt_label2 h3::after,.openbox_bt_label2 h4::after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f103";
    font-size: 20px;
    position: absolute;
    right: 10px;
    bottom: 15px;
    z-index: 100;
}
.openbox_bt:checked + .openbox_bt_label h3:after,
.openbox_bt2:checked + .openbox_bt_label2 h3::after,
.openbox_bt2:checked + .openbox_bt_label2 h4::after {
    content: '\f102';
}
.policy_box, .the_class_box_txt {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateY();
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
    visibility: hidden;
    padding: 10px;
}
.openbox_bt2:checked + .contents_box3 + .the_class_box_txt,
.openbox_bt:checked + .contents_box2 + .policy_box {
    max-height: 800px;
    transition: .8s;
    opacity: 1;
    visibility: visible;
}
.the_class_box_txt img {
    width: 100%;
}
h3.n_h3_2:first-child {
    margin-top: 0;
}
h2.n_h2,h3.n_h3,h3.n_h3_2 {
    font-size: 18px;
    line-height: 100%;
    margin: 20px auto 10px auto;
}
h2.n_h2 img,h3.n_h3 img,h3.n_h3_2 img {
    width: 32px;
    margin: 0 10px -11px 0;
}
h2.news_h2 {
    font-size: 18px;
    margin-bottom: 20px;
}
h2.news_h2 img {
    width: 32px;
    margin: 0 10px -11px 0;
}
.the_class h3,.the_class_box h4 {
    font-size: 14px;
    border-bottom: 1px solid rgb(0, 0, 0);
}
caption {
    display: none;
}
.subject_table table {
    width: 100%;
    font-size: 14px;
    border:1px solid rgb(0, 0, 0);
    border-collapse: collapse;
}
th,td {
    border:1px solid rgb(0, 0, 0);
    padding: 2px;
    text-align: center;
}
th {
    font-weight: normal;
}
.gmap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 320px;
    overflow: hidden;
 }
 .gmap iframe, .gmap object, .gmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slide1 img, .slide2 img {
    width: 100%;
}
h3.s_h3 {
    margin: 20px auto 10px auto;
    font-size: 14px;
}
footer {
    position: relative;
    margin-top: 40px;
}
footer .otoiawase2 {
    height: fit-content;
    padding-bottom: 10px;
}
.address {
    width: 90%;
    margin: 20px auto;
}
.logo2 {
    width: 60px;
    margin-right: 5px;
}
.footer_center {
    width: 75%;
    float: right;
}
address {
    background-color: rgb(221, 221, 221);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    padding: 20px;
}
/* Slide CSS */
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-button-next,.swiper-button-prev {
    display: block;
}
@media (min-width: 320px){
    header {
        height:960px;
    }
    .otoiawase_cap2 {
        margin: 20px 10px;
    }
    .otoiawase_cap3 {
        margin: 10px 10px 20px 10px;
    }
}
@media (min-width: 334px){
    header {
        height:920px;
    }
}
@media (min-width: 348px){
    header {
        height:900px;
    }
    .otoiawase1 {
        height: 160px;
        position: absolute;
        bottom: 50px;
        left: 0;
    }
}
@media (min-width: 411px){
    p {
        font-size: 16px;
        margin-bottom: 16px;
    }
    header {
        height:940px;
    }
    .otoiawase_cap1 {
        width: 90%;
    }
    .catchphrase1 {
        font-size: 28px;
    }    
    .goukaku h2 {
        font-size: 24px;
    }
    .otoiawase1 {
        bottom: 60px;
    }
    .otoiawase_cap1 {
        bottom: 10px;
    }
    .otoiawase1 h3 img.taiken1-s,.otoiawase2 h3 img.taiken2-s {
        width: 320px;
    }
    .openbox_bt_label h3 {
        font-size: 16px;
    }
    .the_class h3,.the_class_box h4 {
        font-size: 16px;
    }
    .openbox_bt_label h3::after {
        font-size: 32px;
        top: 16px;
    }
    .openbox_bt_label2 h3::after,.openbox_bt_label2 h4::after {
        font-size: 24px;
    }
    h3.n_h3_2:first-child {
        margin-top: 20px;
    }
    h2.n_h2,h3.n_h3,.att_time h3.n_h3_2 {
        margin: 40px auto 20px auto;
    }
    h3.s_h3 {
        font-size: 16px;
    }
}
@media (min-width: 426px){
    .profile_img {
        float: left;
        width: 30%;
        max-width: 200px;
        margin: 0 20px 10px 0;
    }
    .profile_img p {
        font-size: 14px;
    }
}
@media (min-width: 533px){
    header {
        height:940px;
    }
}
@media (min-width: 540px){
    .otoiawase_left,.otoiawase_right {
        display: block;
    }
    .otoiawase1 .otoiawase_left {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        height: 150px;
    }
    .otoiawase1 .otoiawase_right {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        height: 150px;
    }
    .otoiawase2 .otoiawase_left {
        position: absolute;
        top:5px;
        left: 0;
        z-index: 10;
        height: 160px;
    }
    .otoiawase2 .otoiawase_right {
        position: absolute;
        top:5px;
        right: 0;
        z-index: 10;
        height: 160px;
    }
}
@media (min-width: 547px){
    header {
        height:900px;
    }
}
@media (min-width: 579px){
    header {
        height:880px;
    }
}
@media (min-width: 600px){
    header {
        background-image: url(../images/topslide1-m.jpg);
        background-size:contain;
        height:880px;
    }
    /* 90 150 220*/
    .art_parts1 img {
        width: 280px;
    }
    .art_parts2 img {
        width: 120px;
    }
    .art_parts3 img {
        width: 373px;
    }
    .art_parts3 {
        position: absolute;
        top: 260px;
        right: 0;
        z-index: 50;
    }
    .promo {
        top: 220px;
        right: 10px;
    }
    .promo img {
        width: 312px;
    }
    .address {
        width: 400px;
    }
    .logo2 {
        width: 80px;
    }
}
@media (min-width: 700px){
    .contents_box4 {
        width: 46%;
        margin: 0 auto 40px auto;
    }
    .slide1 {
        width: 45%;
        float: left;
        margin-left: 20px;
    }
    div.slide2 {
        width: 45%;
        float: right;
        margin-right: 20px;
    }
}
@media (min-width: 708px){
    .otoiawase_cap1 {
        bottom: 16px;
        text-align: center;
    }
}
@media (min-width: 769px){
    header {
        background-size:auto 480px;
        height:720px;
    }
    h1 img {
        width: 260px;
    }
    .art_parts3 {
        top: 345px;
    }
    .catchphrase1 {
        top: 80px;
        right: 50px;
        font-size: 40px;
    }
    .promo {
        top: 370px;
        right: 10px;
    }
    .goukaku {
        width: 48%;
        background-color: rgba(255, 255, 255, 0.8);
        position: absolute;
        top: 400px;
        left :0;
    }
    .goukaku h2 {
        font-size: 18px;
    }
    .goukaku p {
        font-size: 14px;
    }
    .otoiawase1 {
        height: 130px;
        position: absolute;
        bottom: 40px;
        z-index: 70;
    }
    main .otoiawase2 {
        width: 769px;
        position: relative;
        margin: 0 auto;
    }
    .profile_img p {
        font-size: 14px;
    }
    footer {
        height: 200px;
    }
    footer .otoiawase2 {
        width: 380px;
        height: 130px;
        position: absolute;
        top: 30px;
        right: 3%;
        border: none;
    }
    .otoiawase1 .otoiawase_left,.otoiawase1 .otoiawase_right,
    footer .otoiawase2 .otoiawase_left, footer .otoiawase2 .otoiawase_right {
        display: none;
    }
    .otoiawase1 h3 img.taiken1-s {
        width: 300px;
        position: absolute;
        top: 10px;
        right: 50px;
        z-index: 70;
    }
    footer .otoiawase2 h3 img.taiken2-s {
        width: 300px;
        position: absolute;
        top: 0;
        right: 50px;
        z-index: 70;
    }
    .otoiawase2 h3 img.taiken2-s {
        width: 400px;
        margin-top: 15px;
    }
    .otoiawase1 p, footer .otoiawase2 p {
        position: absolute;
        top: 40px;
        right: 90px;
        z-index: 70;
    }
    .otoiawase1 .form_bt {
        position: absolute;
        top: 75px;
        right: 200px;
        z-index: 70;
    }
    footer .otoiawase2 .form_bt {
        position: absolute;
        top: 75px;
        left: 10px;
        z-index: 70;
    }
    .otoiawase2 .form_bt {
        position: absolute;
        top: 105px;
        left: 150px;
        z-index: 100;
    }
    .otoiawase1 .form_bt a, footer .otoiawase2 .form_bt a {
        font-size: 18px;
    }
    .otoiawase2 .form_bt a {
        font-size: 24px;
    }
    .form_bt a:hover {
        background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
        background-color:#ffab23;
    }
    .form_bt a:active {
        position:relative;
        top:1px;
    }
    .otoiawase1 img.telnum1-s, footer .otoiawase2 img.telnum1-s {
        position: absolute;
        top: 75px;
        z-index: 70;
    }
    .otoiawase1 img.telnum1-s {
        right: 20px;
    }
    footer .otoiawase2 img.telnum1-s {
        right: 10px;
    }
    .otoiawase2 img.telnum1-s {
        position: absolute;
        top: 100px;
        right: 130px;
        z-index: 100;
    }
    .otoiawase1 p,.otoiawase2 p {
        font-size: 16px;
        color: rgb(255, 255, 255);
        margin-bottom: 0;
    }
    .otoiawase1 img.telnum1-s, footer .otoiawase2 img.telnum1-s {
        width: 160px;
    }
    .otoiawase2 img.telnum1-s {
        width: 198px;
    }
    footer p.otoiawase_cap3 {
        width: 90%;
        margin: 10px auto 20px auto;
        line-height: 100%;
    }
    .policy_container1 {
        width: 48%;
        float: left;
        margin: 0 0 40px 10px;
    }
    .policy_container2 {
        width: 48%;
        float: right;
        margin-bottom: 40px;
    }
    .policy_box, .the_class_box_txt:nth-child(4),.the_class_box_txt:nth-child(7) {
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
        transform: none;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        padding: 10px;
        max-height: 800px;
    }
    .the_class h3,.the_class_box h4 {
        font-size: 18px;
        margin-top: 20px;
    }
    .openbox_bt_label h3 {
        font-size: 16px;
    }
    .openbox_bt_label h3::after {
        content: "\f5da";
        font-size: 32px;
        top: 16px;
    }
    .openbox_bt:checked + .openbox_bt_label h3:after {
        content: '\f5da';
    }
    .openbox_bt_label2 h3::after {
        content: '\f51c';
        font-size: 28px;
    }
    .openbox_bt2:checked + .openbox_bt_label2 h3::after {
        content: '\f51c';
    }
    h2.n_h2,h3.n_h3,h3.n_h3_2 {
        font-size: 20px;
        line-height: 100%;
        margin: 40px auto 20px auto;
    }
    h2.n_h2 img,h3.n_h3 img,h3.n_h3_2 img {
        width: 36px;
        margin: 0 10px -14px 0;
    }
    h3.n_h3_2:first-child {
        margin-top: 40px;
    }
    h2.n_h2,h3.n_h3,.att_time h3.n_h3_2 {
        margin: 40px auto 20px auto;
    }
    h3.s_h3 {
        font-size: 18px;
    }
    .the_class_box_txt img {
        width: 40%;
        float: left;
        margin-right: 20px;
    }
    .col2box {
        width: 94%;
    }
    .subject_table {
        float: left;
        width: 47%;
        margin-bottom: 40px;
    }
    .att_time {
        float: right;
        width: 47%;
        margin-bottom: 40px;
    }
    .subject_table table {
        width: 100%;
        font-size: 16px;
    }
    .col2box p,.subject_table table {
        margin-left: 20px;
    }
    th,td {
        padding: 4px;
    }
    #map {    
        height: 480px;
        margin: 0 auto 10px auto;
    }
    footer {
        border-top: 20px solid rgb(221, 221, 221);
    }
    .footer_container {
        position: relative;
        height: 170px;
    }
    .address {
        position: absolute;
        width: 340px;
        top: 20px;
        left: 4%;
    }
    .logo2 {
        width: 65px;
        margin-right: 10px;
    }
    .footer_center {
        width: 75%;    
        float: right;
        margin-right: 10px;
    }
}
@media (min-width: 1025px){
    header {
        max-width: 1440px;
        background-image: url(../images/topslide1-l.jpg);
        background-size:contain;
        height: 940px;
        background-repeat: no-repeat;
        margin: 0 auto;
    }
    .art_parts1 img {
        width: 670px;
    }
    .art_parts2 img {
        width: 210px;
    }
    .art_parts3 {
        position: absolute;
        top: 624px;
        right: 0;
        z-index: 50;
    }
    .art_parts3 img {
        width: 760px;
    }
    h1 {
        top: 40px;
        left: 40px;
    }
    h1 img {
        width: 500px;
    }
    .catchphrase1 {
        top: 180px;
        right: 50px;
        font-size: 72px;
    }
    .goukaku {
        width: 50%;
        background-color: rgba(255, 255, 255, 0.8);
        position: absolute;
        top: 460px;
        left :0;
        z-index: 60;
    }
    .goukaku h2 {
        font-size: 30px;
    }
    .goukaku p {
        font-size: 18px;
    }
    .promo {
        top: 545px;
        right: 10px;
    }
    .promo img {
        width: 420px;
    }
    .otoiawase1 {
        height: 130px;
        position: absolute;
        bottom: 40px;
        z-index: 200;
    }
    .otoiawase1 h3 img.taiken1-s {
        width: 380px;
        position: absolute;
        top: 0;
        right: 300px;
        z-index: 70;
    }
    .otoiawase1 p {
        position: absolute;
        top: 30px;
        right: 445px;
        z-index: 70;
        font-size: 18px;
        color: rgb(255, 255, 255);
        margin-bottom: 0;
    }
    .otoiawase1 .form_bt {
        position: absolute;
        top: 65px;
        right: 340px;
        z-index: 70;
    }
    .otoiawase1 .form_bt a {
        font-size: 32px;
    }    
    .otoiawase1 img.telnum1-s {
        width: 300px;
        position: absolute;
        top: 55px;
        right: 20px;
        z-index: 70;
    }
    .otoiawase_cap1 {
        left: initial;
        bottom: 16px;
        margin: 0 10px 0 0;
        text-align: right;
    }
    main {
        max-width: 1440px;
        margin: 0 auto;
    }
    .profile_img {
        float: left;
        width: 20%;
        max-width: 200px;
        margin: 0 28px 40px 40px;
    }
    .profile_img p {
        font-size: 16px;
    }
    .profile_box {
        float: left;
        width: 70%;
        margin: 0 28px 0 0;
    }
    .policy h2 {
        font-size: 36px;
        margin: 20px auto;
    }
    .contents_box2,.contents_box3, .the_class h2, .the_class_box h2, .col2box, h2.n_h2, .footer_container,.contents_box4 {
        max-width: 1025px;
    }
    .slide1 {
        margin-left: 40px;
    }
    div.slide2 {
        margin-right: 40px;
    }
    footer {
        width: 100%;  
        border-top: 20px solid rgb(221, 221, 221);
    }
    .footer_container {
        width: 75%;
        margin: 0 auto;
    }
}
@media (min-width: 1280px){
    .goukaku {
        width: 580px;
        top: 600px;
    }
}