@charset "UTF-8";
/* CSS Document */
#header .logo_b {
    display: block;
}
#header .logo_w,#header ul {
    display: none;
}
#nav-toggle span {
    background-color: #494949;
}
#detail{
    padding: 6em 0 0 0;
}
h3.titleline1{
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 1.3;
}
h3.titleline1::after{
    content: "";
    display: inline-block;
    vertical-align: middle;
    border-bottom: 1px solid #494949;
    width: 2em;
    height: 1px;
    margin-left: 1em;
}

#box1{
    background-image: url("img/mainimage.webp");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: 100% 50%;
    padding-top: 58.73%;
    position: relative;
}
#box1 .container{
    position: absolute;
    left: 20%;
    top: 50%;
    text-align: justify;
    color: #0485b5;
    max-width: 30em;
  transform:  translateY(-50%);
  -webkit-transform:  translateY(-50%);
}
#box1 .title{
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.3;
}
#box1 h2{
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 1.3;
    padding: 2em 0 2em 0;
}
#box1 h3{
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.3;
}
#box1 .txt{
    padding: 1.5em 0 0 0;
}

#box2{
background: linear-gradient(to right, #fff 0%, #fff 10%, #e0f0f0 10%,  #e0f0f0 100%);
    position: relative;
    margin: 6em 0;
}
#box2 .container{
    padding: 7em 1em 5em 0;
    text-align: justify;
}
#box2 .title{
    color: #6ab3b4;
    font-weight: 900;
    font-size: 3.4rem;
    line-height: 1.3;
}
#box2 h3{
    margin: 1em 0 1.5em 0;
}
#box2 .innerbox{
    padding-left: 55%;
}
#box2 .images{
    position: absolute;
    left: 0;
    top: -3em;
    width: 48%;
}

#box3{
    padding: 6em 0;
}
#box3 .title{
    text-align: left;
    font-weight: 900;
    font-size: 3.4rem;
    line-height: 1.3;
}
#box3 h3{
    text-align: left;
    margin: 1em 0 3em 0;
}
#box3 ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#box3 li{
    width: 31%;
    border: 0.2em solid #6ab3b4;
    border-radius: 3em 0 3em 0;
    position: relative;
    padding: 2em;
    margin-bottom: 3em;
    text-align: justify;
}
#box3 li h4{
    font-size: 2.2rem;
    line-height: 1.3;
    font-weight: 500;
    padding: 0.8em 0;
}
#box3 li p{}
#box3 li .icon{
    background-color: #6ab3b4;
    border-radius: 50%;
    width: 6em;
    height: 6em;
    position: absolute;
    top: -1.2em;
    right: 0.8em;
    padding: 1em 1em 0 1em;
}

#box4{
    background-color: #e1eef3;
    padding: 6em 0 5em 0;
}
#box4 .title{
    font-weight: 900;
    font-size: 6rem;
    line-height: 1.3;
}
#box4 h3{
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.3;
    margin: 0.2em 0 3em 0;
}
#box4 h3::before,#box4 h3::after{
    content: "";
    display: inline-block;
    vertical-align: middle;
    border-bottom: 1px solid #494949;
    width: 2em;
    height: 1px;
}
#box4 h3::before{
    margin-right: 1em;
}
#box4 h3::after{
    margin-left: 1em;
}
#box4 .culm{
    display: flex;
}
#box4 .num,#box4 .numbox1 .num2{
    color: #136bbe;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-left: 0.8em;
}
#box4 .num .num_r{
    font-size: 6em;
    line-height: 1;
    font-weight: 900;
}
#box4 .num .txt_r{
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 500;
    padding-bottom: 0.6em;
}
#box4 .num .txt_s{
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 500;
    padding: 0 0.3em 1.5em 0;
    text-align: left;
}
#box4 h4{
    font-size: 2.4rem;
    line-height: 1.3;
    font-weight: 500;
    padding-bottom: 0.6em;
}
#box4 .num_t{
    font-size: 2.4rem;
    line-height: 1.3;
    font-weight: 500;
    color: #136bbe;
}
#box4 .icon img{
    width: 8em;
}
#box4 .numbox_in{
    background-color: #fff;
    padding: 2em 0;
    margin-bottom: 2.5em;
}

#box4 .numbox1{
    justify-content: center;
    background-color: #fff;
    padding: 3em 0;
    margin-bottom: 2.5em;
}
#box4 .numbox1 li{
    width: 18%;
}
#box4 .numbox1 li:nth-child(4){
    width: 21.5%;
}
#box4 .numbox1 li:last-child{
    padding-top: 2.5em;
    width: 20%;
}
#box4 .numbox1 .txt{
    padding-top: 1em;
    text-align: justify;
}
#box4 .numbox1 .graph{
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    margin: 0 0 0.8em 3em;
}
#box4 .numbox1 .age{
    line-height: 1;
}
#box4 .numbox1 .bou{
    display: block;
    height: 1.5em;
    width: 4.5em;
    margin: 0 0 0 0.8em;
    background-color:  #80b5e6;
}
#box4 .numbox1 .num2 .num_r{
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 500;
}
#box4 .numbox1 .num2 .txt_r{
    line-height: 1;
}
#box4 .numbox1 .bou1{ background-color:  #136bbe;}
#box4 .numbox1 .bou2{ background-color:  #da7f14;}
#box4 .numbox1 .bou3{ background-color:  #6ab3b4;}
#box4 .numbox1 .bou4{ background-color:  #e2564b;}
#box4 .numbox1 .bou5{ background-color:  #b3dadb;}

#box4 .num_t.col_p,#box4 .num.col_p{ color: #eb74b4;}
#box4 .num_t.col_r,#box4 .num.col_r{ color: #e2564b;}
#box4 .num_t.col_g,#box4 .num.col_g{ color: #3ea6a7;}
#box4 .num_t.col_o,#box4 .num.col_o{ color: #da7f14;}
#box4 .num_t.col_l,#box4 .num.col_l{ color: #136bbe;}

#box4 .numbox2,#box4 .numbox3{
    justify-content: space-between;
}
#box4 .numbox2 ul,#box4 .numbox3 ul{
    display: flex;
    justify-content: center;
}
#box4 .numbox2 li{
    padding: 1em;
}
#box4 .numbox3 li{
    padding: 1em 0.5em
}

#box4 .numbox2 .numbox_in,#box4 .numbox3 .numbox_in{
    width: 48%;
}
#box4 .numbox3 .numbox_in.short{
    width: 30.5%;
}
#box4 .numbox3 .numbox_in.long{
    width: 100%;
}
#box4 .numbox3 .numbox_in.long ul{
    flex-wrap: wrap;
}
#box4 .numbox3 .numbox_in.long li{
    width: 20%;
}
#box4 .numbox3 .short .txt{
    padding: 0 1em;
    text-align: justify;
}


#box5 {
    padding: 7em 0;
}
#box5 h3 {
    font-size: 3rem;
    line-height: 1.3;
    font-weight: 500;
}
#box5 h4{
    font-size: 2.6rem;
    line-height: 1.8;
    padding: 0 1em;
	background-color:#494949;
	color:#fff;
	margin:4em 0 1em 0;
	font-weight:500;
    text-align: justify;
}
#box5 h4 span{
    font-size: 2.1rem;
}
#box5 dl{
border-bottom:1px solid #b0b0b0;
padding:1em 0;
margin-right:3em;
    text-align: justify;
}
#box5 dt{
font-weight:500;
float:left;
}
#box5 dd{
padding-left:12em;
text-align:left;
}

#box6{
    background-color: #e1eef3;
    padding: 3em 0 10em 0;
}

.telbox,.formbox{
text-align:justify;
padding:5em 0 2em 0;
}
.telbox{
    border-bottom: 1px solid #494949;
}
.telbox .title,.formbox .title{
font-size:2.2rem;
font-weight:500;
    line-height: 1.3;
}
.telbox .num{
font-size:2.1em;
line-height:1;
padding:0.2em 0 0.06em 0;
}
.telbox .time{
font-size:1.5rem;
}
.formbox p{
    padding-top: 0.8em;
}


.box{
text-align:justify;
    background-color: #f0f7f9;
    padding: 5em 10em;
}
.box .error{
color:#ca1313;
}
.box dl{
padding-bottom:1.5em;
}
.box dt{
color:#000;
padding:1em 0 0.5em 0;
}
.box dd.check{
padding:0.5em 2em;
background-color:#fff;
border:1px solid #e6ecf0;
}
.box input[type='text'],.box input[type='email'],.box textarea{
width:100%;
font-size:1.6rem;
padding:1em 2em;
background-color:#fff;
border:1px solid #e6ecf0;
}

.box #btnbox{
margin-top:2em;
padding-top:3em;
text-align:center;
border-top:1px solid #dcdcdc;
}
.box #btnbox p{
padding-bottom:2.5em;
}
.box #btnbox p a{
color:#168dbf;
text-decoration:underline;
}
.box #btnbox p a:hover{
color:#000;
}
.box #btnbox input{
border:none;
background-color:#b4a18c;
color:#fff;
padding:1em 0;
font-size:2rem;
font-weight:700;
width:20em;
margin:0 auto;
cursor:pointer;
}
.box #btnbox input:hover{
background-color:#000;
}

.mfp_buttons button{
border:none;
background-color:#b4a18c;
color:#fff;
padding:0.5em 1em;
font-size:2rem;
border-radius: 0.5em;
margin:0 0.5em;
cursor:pointer;
font-weight:700;
}
.mfp_buttons button#mfp_button_cancel{
background-color:#999999;
}
.mfp_buttons button:hover{
background-color:#000;
}

    .footbox .recruit{ display: none;}

@media only screen and (max-width: 767px) {
    
    #detail{
    padding: 6em 0 0 0;
}
h3.titleline1{
    font-size: 2.2rem;
    line-height: 1.3;
}
h3.titleline1::after{
    width: 2em;
}

#box1{
    background-size: 100% auto;
    background-position: 100% 0;
    padding-top: 13em;
}
#box1 .container{
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
  transform:  translateY(0);
  -webkit-transform:  translateY(0);
}
#box1 .title{
    font-size: 5rem;
    line-height: 1.3;
}
#box1 h2{
    font-size: 3rem;
    line-height: 1.3;
    padding: 2em 0 1.2em 0;
}

#box2{
background: linear-gradient(to right, #fff 0%, #fff 15%, #e0f0f0 15%,  #e0f0f0 100%);
    margin: 6em 0 0 0;
}
#box2 .container{
    padding: 8em 1.5em 4em 1.5em;
}
#box2 .innerbox{
    padding-left: 0%;
}
#box2 .images{
    width: 70%;
}

#box3 h3 {
    margin: 1em 0 2em 0;
}
#box3 li{
    width: 100%;
    border-radius: 2em 0 2em 0;
    padding: 1.5em;
}
#box3 li .icon{
    top: -1.6em;
}

#box4{
    padding: 6em 0 5em 0;
}
    #box4 .container{
        padding: 0 1em;
    }
#box4 .title{
    font-size: 5rem;
    line-height: 1.3;
}

#box4 .num,#box4 .numbox1 .num2{
    padding-left: 0;
}
#box4 .num .num_r{
    font-size: 3.8em;
    line-height: 1;
}
#box4 .num .txt_r{
    font-size: 2rem;
    line-height: 1;
    padding-bottom: 0.6em;
}
#box4 .num .txt_s{
    font-size: 1.8rem;
    line-height: 1;
    padding: 0 0.3em 0.6em 0;
}
#box4 h4{
    font-size: 2rem;
    line-height: 1.3;
}
#box4 .num_t{
    font-size: 2.2rem;
    line-height: 1.3;
}
#box4 .icon img{
    width: 7em;
}
#box4 .numbox_in{
    padding: 2em 0;
    margin-bottom: 1.5em;
}

#box4 .numbox1{
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 3em 0 0 0;
    margin-bottom: 1.5em;
}
#box4 .numbox1 li{
    width: 33.3%;
    padding-bottom: 2em;
}
#box4 .numbox1 .txt{
}
    #box4 .numbox1 li:nth-child(3){
        margin-top: -1.8em;
    }
    #box4 .numbox1 li:nth-child(4){
        width: 80%;
    }
#box4 .numbox1 li:last-child{
    padding-top: 0.5em;
    width: 80%;
}
#box4 .numbox1 .graph{
    margin: 0 0 0.8em 18%;
}
#box4 .numbox1 .age{
    line-height: 1;
}
#box4 .numbox1 .bou{
    width: 5em;
    margin: 0 0.8em;
}
#box4 .numbox1 .num2 .num_r{
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 500;
}
#box4 .numbox1 .num2 .txt_r{
    line-height: 1;
}


#box4 .numbox2,#box4 .numbox3{
    flex-wrap: wrap;
}
#box4 .numbox2 ul,#box4 .numbox3 ul{
    display: flex;
    justify-content: center;
}

#box4 .numbox2 .numbox_in,#box4 .numbox3 .numbox_in{
    width: 100%;
}
#box4 .numbox3 .numbox_in.short{
    width: 48%;
}
#box4 .numbox3 .numbox_in.short2{
    width: 100%;
}
#box4 .numbox3 .numbox_in.long li{
    width: 33.33%;
}

#box5 {
    padding: 5em 0;
}
#box5 h3 {
    font-size: 3rem;
    line-height: 1.3;
    font-weight: 500;
}
#box5 h4{
    font-size: 2.4rem;
    line-height: 1.3;
    padding: 0.5em 1em;
	margin:3em 0 1em 0;
}
#box5 h4 span{
    font-size: 1.8rem;
    display: block;
}
#box5 dl{
padding:1em 0;
margin-right:0;
}
#box5 dt{
float:none;
}
#box5 dd{
padding-left:0;
}

#box6{
    padding: 2em 0 10em 0;
}
    
.telbox{
padding:4em 0 2em 0;
}
.telbox .title,.formbox .title{
font-size:2rem;
    line-height: 1.3;
}
    
.box{
    padding: 2em 1em;
    margin: 0 -1em;
}

.box input[type='text'],.box input[type='email'],.box textarea{
padding:1em 1em;
}
table#mfp_confirm_table tr td{
border-top:none;
}
table#mfp_confirm_table tr th,table#mfp_confirm_table tr td{
display:block;
width:100%;
}

}