@charset "utf-8";
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

/* body 共通 */
* {
    box-sizing: border-box;
    outline: none;
    text-align: justify;
    text-justify: inter-ideograph;
    
}
html {
    font-size: 10px;
}
body {
    color: #333;
    font-size: 1.6rem;
    line-height: 1.5;
    width: 100%;
    height: auto;
    height: 100%;
    font-family:  "M PLUS Rounded 1c", "メイリオ", "Meiryo", "游ゴシック Medium", "Yu Gothic Medium", 'Noto Sans JP', sans-serif, "游ゴシック体", "YuGothic",  "verdana", sans-serif;
}
#wrap {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
}
a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}
a:hover {
    opacity: 0.8;

}
img {
    width: 100%;
}

/* header */
header {
    width: 100%;
}
h1 {
    width: 100%;
    max-width: 250px;
    margin-left: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
}
h3 {
    font-size: 3.0rem;
    color: #1658ee;
    margin-bottom: 25px;
}

.headnav {
    max-width: 1600px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
#nav_toggle {
    display: none;
}
nav {
    display: block;
}
nav ul li {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-left: 25px;
    margin-right: 25px;
}
nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
nav ul li a span {
    display: block;
    text-align: center;
}
nav ul li a span:last-child {
    font-size: 1.4rem;
}
nav li.navcontact {
    margin-left: 25px;
    margin-right: 0;
}
nav li.navcontact a {
    display: block;
    padding: 20px 35px;
    color: #fff;
    background-color: #749c74;
}
.headpic {
    height: 80vh;
    background-image: url(../img/head_pic_bk.jpg);
    background-size: cover;
    justify-content: flex-start;
    align-items: center;
}
.headpic div {
    margin-left: 10vw;
}
.headpic div p {
    font-size: 3.6rem;
    color: #fff;
    text-shadow: 3px 3px 3px #666;
}
/* footer */
footer {
    width: 100%;
    margin: 0 auto;
    background-color: #19283b;
}
.fbanner {
    width: 20%;
    max-width: 240px;
    height: auto;
    align-items: center;
    margin-left: 50px;
}
.fbanner img {
    width: 100%;
}
.googlemap {
    line-height: 0;
}
.googlemap iframe {
    width: 100%;
    height: 500px;
    margin: 0 auto;
}
.fnav {
    width: 100%;
    height: auto;
    background-color: #446da1;
}
.fnav {
    justify-content: center;
    padding-top: 25px;
    padding-bottom: 25px;
}
.fnav li {
    margin-left: 20px;
    margin-right: 20px;
}
.fnav li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
footer .wcenter {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}
/* news */
#news {
    width: 100%;
    max-width: 1200px;
    margin: 90px auto;
}
.infobox {
    
}
.infobox div {
    display: flex;
    justify-content: flex-start;
    padding: 35px 10px;
    border-bottom: 1px solid #0059c8;
}
.infobox div:first-child {
    padding-top: 0;
}
.infobox .infoymd {
    margin-right: 50px;
}
.fadd {
    padding-top: 50px;
    padding-bottom: 90px;
}
.fadd address {
    margin-bottom: 30px;
}
.fadd p,
.fadd a {
    color: #fff;
}
.fadd .addbox {
    margin-left: 50px;
}
.fcate {
    justify-content: flex-start;
}
.fcate li {
    margin-left: 20px;
    margin-right: 20px;
}
.fcate li:first-child {
    margin-left: 0;
}
small {
    margin: 0 auto;
    padding-bottom: 30px;
    display:block;
    color: #fff;
    text-align: center;
}
/* orde */
.orde .ordebox {
    justify-content: flex-start;
    background-color: #eafffe;
    padding: 40px;
    border-radius: 10px;
}
.orde .ordebox:first-child {
    margin-bottom: 50px;
}
.ordebox .lefttext {
    width: 60%;
    margin-right: 50px;
}
.ordebox .rightpic {
    width: Calc(40% - 50px);
    height: auto;
    position: relative;
    justify-content: center;
    align-items: center;
}
.ordebox .rightpic a {
    display: block;
    padding: 15px 30px;
    background-color: rgba(0, 153, 68, 67%);
    color: #fff;
    font-size: 2.4rem;
}
.caution {
    width: 100%;
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
    margin: 50px auto 0;
    font-size: 1.6rem;
}
.caution>div {
    margin-bottom: 30px;
}
.caution .disc {
    position: relative;
    padding-left: 15px;
    font-size: 1.8rem;
    color: #4677e6;
}
.caution .disc:before {
    width: 10px;
    height: 10px;
    background-color: #4677e6;
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: 50%;
    transform: translateY(50%) translateX(0);
    -webkit- transform: translateY(50%) translateX(0);
}
.caution a {
    display: table;
    margin: 0 auto;
    padding: 15px 70px;
    color: #fff;
    background-color: #009944;
}
/*　category　*/
section.category {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}
.category>div {
    width: 100%;
    margin: 0 auto;
}
.category div .rightpic,
.category div .leftpic {
    width: 40%;
    height: auto;
    padding-top: 40%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.category div#cate1 {
    background-color: #34a6ee;
}
.category div#cate1 .rightpic {
    background-image: url(../img/child1.jpg);
}
.category div#cate2 {
    background-color: #ffde75;
}
.category div#cate2 .rightpic {
    background-image: url(../img/child2.jpg);
}
.category div#cate3 {
    background-color: #a69292;
}
.category div#cate3 .rightpic {
    background-image: url(../img/child3.jpg);
}
.category div#cate4 {
    background-color: #c6c4ff;
}
.category div#cate4 .rightpic {
    background-image: url(../img/child4.jpg);
}
.category div.flexbox {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    align-items: center;
    justify-content: space-between;
}
.category div.flexbox:last-child {
    margin-bottom: 0;
}
.cattext {
    width: calc(60% - 30px);
}
.cattext a {
    display: inline-block;
    margin-top: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
}
.cattext p {
    font-size: 1.6rem;
}
.cattext p:first-child {
    font-size: 2.8rem;
    margin-bottom: 20px;
}
/* item */
.item section {
    margin-top: 0;
}
.item .category>div {
    padding-top: 120px;
    padding-bottom: 120px;
}
.item .category>div:nth-child(even) {
    background-position: left;
}
.item div#cate1 .rightpic {
    background-image: url(../img/child1.jpg);
}
.item div#cate2 .leftpic {
    background-image: url(../img/child2.jpg);
}
.item div#cate3 .rightpic {
    background-image: url(../img/child3.jpg);
}
.item div#cate4 .leftpic {
    background-image: url(../img/child4.jpg);
}

/* about */
.history ul li {
    display: flex;
    justify-content: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}
.history ul li p:first-child {
    width: 10em;
}
.aboutbox {
    margin-top: 60px;
}
.aboutbox .leftpic {
    width: 40%;
    background-image: url(../img/about_img.png);
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}
.aboutbox .righttext {
    width: 60%;
    padding: 0 30px 10px;
}
.aboutbox .righttext ul li {
    display: flex;
    justify-content: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
}
.aboutbox .righttext ul li:first-child {
    padding-top: 0;
}
.aboutbox .righttext p:first-child {
    width: 10em;
}
.aboutbox .righttext p span {
    display: block;
}
.aboutbox .righttext a {
    color: #1658ee;
}
/* contact */
#contact h3 {
     text-align: center;   
}
#contact section {
    margin-top: 60px;
}
.contactroot {
    margin-top: 15px;
    text-align: center;
}
#contact form ul {
    width: 100%;
    max-width: 800px;
    margin: 30px auto 0;
}
#contact ul li {
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
    align-self: center;
    align-items: baseline;
    flex-wrap: nowrap;
}
#contact li p {
    width: calc(100% - 15em);
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
#contact li p:first-child {
    width: 15em;
    align-items: center;

}
#contact li:last-child p:first-child {
    padding-top: 10px;
}
#contact li input,
#contact li textarea {
    width: 100%;
    padding: 5px;
}
#contact li textarea {
    height: 300px;
}
#contact li p .inputtel {
    padding-left: calc(2em + 30px);
}
#contact li p .required {
    background-color: #749c74;
    color: #fff;
    padding: 5px 10px;
    margin-right: 10px;
}
#contact .submit {
    padding-left: 15em;
}
#contact .submit input {
    width: 30%;
    margin: 30px auto 0;
    padding: 10px 0;
    background-color: #446da1;
    color: #fff;
    display: block;
    transition: 0.3s;
    border: none;
    text-align: center;
}
#contact .submit input:hover {
    opacity: 0.7;
    cursor: pointer;
}


/* 共通　*/
.wcenter {
    width: 100%;
    margin: 0 auto;
}
section {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 120px;
    margin-bottom: 120px;
    padding-left: 10px;
    padding-right: 10px;
}
.flexbox {
    display: flex;
}

.mt16 {
    margin-top: 16px;
}
p,
a {
    transform: rotate(0.03deg);
    -moz-transform: rotate(0.03deg);
    -ms-transform: rotate(0.03deg);
    -o-transform: rotate(0.03deg);
    -webkit-transform: rotate(0.03deg);
}
a:hover {
    transform: rotate(0.03deg);
    -moz-transform: rotate(0.03deg);
    -ms-transform: rotate(0.03deg);
    -o-transform: rotate(0.03deg);
    -webkit-transform: rotate(0.03deg);
}