@charset "utf-8";
*{
    padding: 0;
    margin: 0;
}
body{
    width: 1200px;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}
@media screen and (max-width: 480px) {
    body {
        width: 95vw;
        margin: 0 auto;
    }
}

header{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    margin-top: 2em;
    margin-bottom: 2.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background-color: lightcyan;
    border-top: solid 1px lightgray;
    border-bottom: solid 1px lightgray;
}
header div .logo1{
    position: absolute;
    left: 15%;
    top: 1.5em;
    width: 2.5em;
}
header div .office_name{
    font-size: 35px;
    font-weight: 700;
    color: darkslategray;
    padding-left: 20%;
    padding-top: 0.25em;
    padding-bottom: 0.35em;
}
header div .yotei{
    position: absolute;
    top: 3em;
    left: 20%;
    font-size: 20px;
    color: gray;
}
header .logo2{
    width: 150px;
    position: absolute;
    top: -15%;
    left: 60%;
}
header .toiawase{
    position: absolute;
    width: 260px;
    top: 12%;
    right: 0%;
}
header .toiawase p{
    line-height: 1.2;
    font-size: 15px;
    color: gray;
    text-decoration: none;
}
header .toiawase .toiawase0{
    text-decoration-line: underline;
    margin-bottom: 0.3em;
}
@media screen and (max-width: 480px) {
    header{
        width: 100vw;
        margin: 0 auto;
        background-color: aliceblue;
        margin-bottom: 1em;
    }
    header div .logo1{
        width: 1.2em;
        top: 0.8em;
        left: 8%;
    }
    header div .office_name{
        font-size: 14px;
        padding-left: 14%;
        padding-bottom: 2%;
    }
    header div .yotei{
        position: absolute;
        top: 3em;
        left: 16%;
        font-size: 10px;
        color: gray;
    }
    header .logo2{
        width: 15vw;
        top: -5%;
        left: 47%;
    }
    header .toiawase{
        position: absolute;
        top: 12%;
        right: 0%;
        width: 140px;
    }
    header .toiawase p{
        line-height: 1.2;
        font-size: 8px;
        color: gray;
    }
}
/* section0 */
.section0{
    width: 1200px;
    margin: 0 auto;
    position: relative;
}
.section0 .news .oshirase{
    position: absolute;
    top: 0em;
    left: 1em;
    width: 7em;
}
.section0 .news .newsline{
    margin-left: 12%;
    margin-bottom: 2em;
    width: 1050px;
    height: 130px;
    border: 1px solid lightgray;
    padding: 0.5em 1em;
    box-sizing: border-box;
    overflow-y: auto; /* 縦方向にスクロール可能 */
}

@media screen and (max-width: 480px) {
    .section0{
        width: 95vw;
    }
    .section0 .news .oshirase{
        position: absolute;
        top: 0em;
        left: 0em;
        width: 3em;
    }
    .section0 .news .newsline{
        margin-left: 14vw;
        margin-bottom: 1em;
        border: solid 1px lightgray;
        width: 81vw;
        height: 8.5em;
        padding: 0.2em 0.5em;
        font-size: 10px;
    }
}

/* section1 */
.section1{
    width: 1200px;
    margin: 0 auto;
    position: relative;
}
.section1 .menubox{
    display: flex;
    justify-content:left;
    flex-wrap: wrap;
}
.section1 .container .menubox .box{
    width:14.1%;
    text-align: center;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    border: 1px solid lightgray;
    background-color: whitesmoke;

}
.section1 .box:last-child{
    border-right: 1px solid lightgray;
}
.section1 .box a{
    color: black;
    text-decoration: none;
}
.section1 .box:hover{
    background-color: silver;
    transition-duration: 0.5s;
}
@media screen and (max-width: 480px) {
    .section1{
        width: 95vw;
        margin: 0 auto;
    }
    .section1 .container .menubox .box{
        font-size: 10px;
        width:24.5%;
        height: 15px;
        padding-top: 0.1em;


    }
}

/* section2 */
.section2{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 3em;
}
.section2 .picture{
    width: 99.6%;
    overflow: hidden;
}
.section2 .advice{
    position: absolute;
    top: 3%;
    left: 5%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 3;
    color: #fff;
    font-size: 26px;
    font-weight: 500;
}
.section2 .overlay{
    position: absolute;
    bottom: 2%;
    left: 0%;
    z-index: 3;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
}
.section2 .overlay #aisatsu0{
    margin-top: 0.5em;
    margin-left: 1.5em;
    font-size: 26px;
    letter-spacing: 0.5em;
    text-decoration: underline;
    font-weight: 700;
}
.section2 .overlay .aisatsu{
    font-size: 24px;
    margin-top: 0.5em;
    margin-left: 2.0em;
    margin-bottom: 1em;
}
@media screen and (max-width: 480px) {
    .section2{
        width: 95vw;
        margin: 0 auto;
        margin-bottom: 1em;
    }
    .section2 .advice{
        font-size: 10px;
    }
     .section2 .overlay #aisatsu0{
        font-size: 10px;
    }
    .section2 .overlay .aisatsu{
        font-size: 9px;
        line-height: 1.1;
    }
}

/* section3 */
#section3{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 3em;
    border: solid 1px gray;
}
#section3 .gyoumu{
    position: relative;
}
#section3 .gyoumu h2{
    margin-top: 1em;
    text-align: center;
}
#section3 .gyoumu hr{
    margin: 0 auto;
    border: solid 5px green;
    width: 16%;
}
#section3 .gyoumu .logo3{
    position: absolute;
    top: -90%;
    right: 25%;
    width: 10%;
}
#section3 .container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 2%;
    margin-right: 2%;
}
#section3 .container .box{
    position: relative;
    width: 24%;
    margin-top: 2em;
    margin-bottom: 1.5em;
}
#section3 .container .box .boxbox{
    margin-top: 5em;
    background-color:ivory;
    border-radius: 10px;
    border: solid 1px lightGray;
}
#section3 .container .logo31{
    position: absolute;
    top:0.8em;
    left: 25%;
    width: 9em;
}
#section3 .container .logo32{
    position: absolute;
    top: 0em;
    left: 40%;
    width: 4em;
}
#section3 .container .logo33{
    position: absolute;
    top: -0.3em;
    left: 35%;
    width: 6em;
}
#section3 .container .logo34{
    position: absolute;
    top: 0.5em;
    left: 35%;
    width: 4em;
}
#section3 .container .box .boxbox .koumoku{
    display: flex;
    justify-content: center;
}
#section3 .container .box h3{
    text-align: center;
    margin: 1em 0.5em 1.5em;
}
#section3 .box .koumoku #btn{
    margin: 1.1em 0.5em 1.5em;
    width: 4em;
    height: 1.5em;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    border: solid 1px gray;
    background-color: whitesmoke;
    border-radius: 0.4em;
}
#section3 .box .koumoku #btn:hover{
    background-color: gainsboro;
    transition-duration: 0.8s;
}
#section3 ul{
    margin-top: -1em;
    margin-bottom: 1em;
}
#section3 .box ul li{
    margin-left: 1em;
    list-style-type: none;
    font-weight: 500;
}
@media screen and (max-width: 480px) {
    #section3{
        width: 95vw;
        margin: 0 auto;
        margin-top: 2em;
    }
    #section3 .container .box{
        width: 48%;
        font-size: 12px;
        margin-top: 1em;
    }
    #section3 .gyoumu h2{
        font-size: 14px;
    }
    #section3 .gyoumu hr{
        border: solid 3px green;
        width: 30%;
    }
    #section3 .gyoumu .logo3{
        width: 18%;
        top: -65%;
        right: 2%;
    }
    #section3 .container .box .boxbox{
        margin-top: 3.5em;
    }
    #section3 .container .box h3{
        font-size: 12px;
    }
    #section3 .container .logo31{
        top: 1.2em;
        width: 6em;
    }
    #section3 .container .logo32{
        top: 0.2em;
        width: 3em;
    }
    #section3 .container .logo33{
        top: -0.5em;
        width: 5em;
    }
    #section3 .container .logo34{
        top: 0.7em;
        width: 3em;
    }
    #section3 .container .box h3{
        font-size: 11px;
    }
    #section3 .container .box .boxbox .koumoku #btn{
        height: 1.2em;
        font-size: 11px;
        text-align: center;
        vertical-align: middle;
    }
    #section3 .box ul li{
        margin-left: 0.5em;
        font-size: 10px;
    }
}
/* section45 */
.section45{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#section4, #section5{
    position: relative;
    width: 46%;
    border: solid 1px gray;
    position: relative;
    margin-left: 1%;
    margin-right: 1%;
}
#section4 h2, #section5 h2{
    margin-top: 0.5em;
    text-align: center;
}
#section4 hr{
    position: absolute;
    left: 38%;
    border: solid 3px green;
    width: 8em;
}
#section4 .logo4{
    width: 6em;
    position: absolute;
    top: 2%;
    left: 75%;
}
#section4 form{
    margin-top: 2em;
    margin-left: 1em;
}
#section4 label{
    font-weight: 500;
    display: block;
    width: 60%;
    font-size: 16px;
}
#section4 input{
    display: block;
    width: 60%;
    margin-bottom: 0.5em;
    padding: 0.5em 1em 0.5em;
    font-size: 16px;
    background-color: lightyellow;
    border: solid 1px lightgray;
}
#section4 textarea{
    display: block;
    width: 90%;
    margin-bottom: 1em;
    padding: 0.5em 1em 0.5em;
    font-size: 16px;
    line-height: 1.2;
    background-color: lightyellow;
    border: solid 1px lightgray;
}
#section4 button{
    display: block;
    text-align: center;
    font-size: 14px;
    width: 30%;
    height:2.5em;
    border-radius: 0.5em;
    border: solid 1px lightgray;
    background-color: snow;
    letter-spacing: 1em;
    margin-bottom: 1em;
}
#section4 #button:hover{
    background-color: bisque;
    transition-duration: 0.5s;
}
#section5 hr{
    position: absolute;
    left: 35%;
    border: solid 3px green;
    width: 10em;
}
#section5 .address{
    margin-top: 1em;
    margin-left: 1em;
    margin-bottom: 1em;
}
#section5 iframe{
    width: 100%;
}
@media screen and (max-width: 480px) {
    .section45{
        width: 95vw;
        margin: 0 auto;
        margin-top: 3em;
    }
    #section4, #section5{
        position: relative;
        margin: 0 auto;
        width: 96%;
        font-size: 12px;
        margin-bottom: 3em;
    }
    #section4 h2, #section5 h2{
        font-size: 14px;
    }
    #section4 hr, #section5 hr{
        border: solid 2px green;
    }
    #section4 label{
        font-size: 12px;
    }
    #section4 input{
        font-size: 10px;
    }
    #section4 textarea{
        font-size: 10px;
    }
    #section4 button{
        font-size: 12px;
        color: gray;
    }
}
/* section67 営業時間・自己紹介 */
.section67{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    margin-top: 3em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#section6, #section7{
    position: relative;
    width: 46%;
    border: solid 1px gray;
    margin-left: 1%;
    margin-right: 1%;
}
#section6 .logo6{
    position: absolute;
    top: 1em;
    right: 2.5em;
    width: 6em;
}
#section6 h2, #section7 h2{
    margin-top: 1em;
    margin-left: 1em;
    font-size: 18px;
}
#section6 hr,#section7 hr{
    border: solid 3px green;
    width: 13%;
    margin-left: 1em;
    margin-bottom: 1em;
}
#section6 .description, #section7 .description{
    margin-left: 1em;
    margin-bottom: 0.5em;
    font-size: 16px;
}
#section7 .logo7{
    position: absolute;
    top: 0.3em;
    right: 10em;
    width: 15em;
}
#section7 .logo77{
    position: absolute;
    bottom: 1em;
    right: 0.5em;
    width: 8em;
}
@media screen and (max-width: 480px) {
    .section67{
        width: 95vw;
        margin: 0 auto;
        margin-top: 0em;
    }
    #section6, #section7{
        width: 96%;
        font-size: 12px;
        margin-bottom: 1em;
    }
    #section6 .logo6{
        position: absolute;
        top: 0.5em;
        right: 0em;
        width: 18vw;
    }
    #section7 .logo7{
        position: absolute;
        top: 0.2em;
        left: 9em;
        width: 40vw;
    }
    #section7 .logo77{
        width: 20vw;
    }
    #section6 h2, #section7 h2{
        margin-top: 1em;
        margin-left: 1em;
        font-size: 14px;
    }
    #section6 hr,#section7 hr{
        border: solid 2px green;
    }
    #section6 .description, #section7 .description{
        font-size: 12px;
    }
}
/* section8 */
#section8{
    position: relative;
    width: 1200px;
    margin: 0 auto;
    margin-top: 3em;
    margin-bottom: 2em;
    border: solid 1px gray;
}
#section8 .servicefee{
    width: 98%;
    margin: 0 auto;
}
#section8 .servicefee h2{
    margin-top: 1em;
    text-align: center;
}
#section8 .servicefee hr{
    margin: 0 auto;
    border: solid 5px green;
    width: 16%;
    margin-bottom: 1em;
}
#section8 .servicefee .logo8{
    position: absolute;
    top: 2%;
    right: 20%;
    width: 7%;
}
#section8 .container{
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1em;
}
#section8 .container .zenntei{
    position: relative;
    width: 46%;
    padding: 1em 2em 1em;
    margin-bottom: 1em;
}
#section8 .container .zenntei h3{
    text-align: center;
    margin-bottom: 0.5em;
}
#section8 .container .zenntei p{
    margin-left: -1.2em;
    color: navy;
}
#section8 .container a{
    position: absolute;
    top: 85%;
    left: 35%;
    font-size: 16px;
    color: gray;
    width: 8em;
    padding: 0.2em 0.3em 0.2em;
    text-align: center;
    text-decoration: none;
    border: solid 1px gray;
    background-color: linen;
    border-radius: 0.5em;
}
#section8 .container #btn:hover{
    background-color: bisque;
    transition-duration: 0.5s;
}
#section8 .container .fee{
    width: 46%;
    margin: 2em 1em 0em;
}
#section8 .container .fee table tr th, #section8 .container table tr td{
    border: solid 0.5px gray;
    font-size: 16px;
}
#section8 .container .fee table tr .col1{
    height: 2em;
    width: 20%;
    text-align: center;
    background-color: palegreen;
}
#section8 .container .fee table tr .col2{
    width: 50%;
    text-align: center;
    background-color: palegreen;
}
#section8 .container .fee table tr .col3{
    width: 30%;
    text-align: center;
    background-color: palegreen;
}
#section8 .container .fee table tr .data1{
    width: 30%;
    text-align: center;
    background-color: whitesmoke;
    font-weight: 600;
}
#section8 .container .fee table tr .data2{
    width: 40%;
    text-align: left;
    padding-left: 0.5em;
}
#section8 .container .fee table tr .data3{
    width: 30%;
    text-align: center;
}

@media screen and (max-width: 480px) {
    #section8{
    width: 95vw;
    margin-top: 0em;
    }
    #section8 .servicefee h2{
        font-size: 14px;
    }
    #section8 .servicefee hr{
    border: solid 2px green;
    width: 50%;
    margin-bottom: 0.5em;
    }
    #section8 .servicefee .logo8{
    position: absolute;
    top: 1%;
    right: 3%;
    width: 12vw;
    }
    #section8 .container .zenntei{
        width: 95%;
        margin-bottom: 2em;
    }
    #section8 .container .zenntei h3{
        font-size: 12px;
    }
    #section8 .container .zenntei p{
        font-size: 11px;
    }
    #section8 .container a{
        top: 98%;
        font-size: 12px;
        margin-bottom: 1em;
    }
    #section8 .container .zenntei ol li{
        font-size: 11px;
    }
    #section8 .container .fee{
        width: 95%;
    }
    #section8 .container .fee table tr th, #section8 .container table tr td{
        font-size: 11px;
    }
}

/* 移動 */
body .idou{
    width: 1200px;
    margin: 0 auto;
    margin-top: 2em;
}
body .idou a{
    font-size: 16px;
    color: gray;
    width: 8em;
    padding: 0.5em 0.3em 0.5em;
    margin-left: 2%;
    margin-right: 1em;
    text-decoration: none;
    border: solid 1px gray;
    background-color: whitesmoke;
    border-radius: 0.5em;
}
body #idou:hover{
    background-color: bisque;
    transition-duration: 0.5s;
}
@media screen and (max-width: 480px) {
    body .idou{
        width: 95vw;
    }
    body .idou a{
        font-size: 12px;
    }
}

/* footer */
footer{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    margin-top: 3em;
    margin-bottom: 1em;
    background-color: lightcyan;
    border-top: solid 1px gray;
    border-bottom: solid 1px gray;
}
footer .office_name p{
    font-size: 24px;
    font-weight: 300;
    color: darkslategray;
    padding-left: 30%;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
}
footer .contact{
    position: absolute;
    top: 0.5em;
    right: 0%;
    width: 260px;
}
footer .contact p{
    line-height: 1.3em;
    font-size: 14px;
    color: darkslategray;
}
@media screen and (max-width: 480px) {
    footer{
        width: 95vw;
        margin: 0 auto;
        margin-top: 1.5em;
        margin-bottom: 1.5em;
        background-color: aliceblue;
    }
    footer .office_name p{
        padding-left: 10%;
        font-size: 14px;
        font-weight: 500;
    }
    footer .contact{
        position: absolute;
        top: 0.3em;
        right: 0%;
        width: 160px;
    }
    footer .contact p{
        line-height: 1.2;
        font-size: 10px;
        text-decoration: none;
        text-decoration-line: none;
    }
}