body{
  font-family: YuGothic,sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
}

a{
  text-decoration: none;
}

li{
  list-style: none;
}

.sp{
  display: none;
}

img{
  width: 100%;
  height: auto;
}

div,p,span,a,input,header,footer,ul,li{
  box-sizing: border-box;
}

h2{
  position: relative;
  display: inline-block;
  margin:50px auto 84px;
  color: #0078B2;
}

h2 span:first-child{
  position: relative;

  display:inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 64px;
}

h2 span:first-child::after{
  content: '';
  position: absolute;
  bottom:-24px;
  right: -53px;
  width: 64px;
  height: 64px;
  border-top: solid 1px #0078B2;

  transform: rotate(-60deg);
  background-color: #fff;
  z-index: 10;
}

h2 span:last-child{
  position: relative;
  display: inline-block;
  bottom: -8px;
  right:5px;
  font-family: YuGothic,sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  z-index: 20;
}

h3{
  margin-top: 120px;
  margin-bottom: 80px;
  padding:12px 0 0 39px;
  font-size: 24px;
  font-weight: bold;
  color: #0078B2;

  background-image: url('../img/common/midashi.png');
  background-repeat: no-repeat;
  background-size: 83px auto;
  background-position: top left;
}

.robot{
  font-family: 'Roboto', sans-serif;
}

::selection {
  background: #0078b2;
  color: #ffffff;
}


.btn{
  position: relative;
  display: block;
  width: 200px;
  margin:80px auto;
  padding:13px 0;

  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background-color: #0078B2;
  z-index: 1;
}

.btn::before{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: url('../img/common/button-light.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center right 36px;
  transition: 0.5s;
  opacity: 0;
  z-index: -1;
}

.btn:hover:before{
  background-position: center right 18px;
  transition: 0.5s;
  opacity: 1;
}

.content{
  max-width: 960px;
  margin:0 auto;
}

.tel a{
 display: block;
 font-size: 16px;
 font-weight: normal;
 color: #333;
 text-align: center;
 line-height: 1.7em;
}

.tel a span{
 font-family: 'Roboto', sans-serif;
 font-size: 36px;
 font-weight: 900;
 color: #0078B2;
}

.txt_box{
  width: 100%;
  max-width: 816px;
  margin:0 auto;
}

.txt_box .catch{
  display: block;
  margin-bottom: 64px;
  font-size: 28px;
  font-weight: normal;
  color: #358EBE;
  text-align: center;
}

.txt_box .reed{
  font-size: 16px;
  font-weight: normal;
  color: #333333;
  line-height: 28px;
}


.img_box{
  width: 100%;
  max-width: 800px;
  margin:0 auto;
}

.img_box .flex_box{
  display: flex;
  justify-content:space-between;
  width: 100%;
  margin-bottom: 48px;
}

.img_box .flex_box:last-child{
  margin-bottom: 0;
}

.flex_box div{
  width: 100%;
  max-width: 360px;
  flex-shrink: 0;
}

.flex_box img{
  margin-bottom: 25px;
}

.flex_box p{
  font-size: 14px;
  line-height: 24px;
  color: #333333;
}

.maker_link{
  width: 100%;
  max-width: 640px;
  margin:227px auto 0;
  padding:67px 0;
  background-color: #F4FAFD;
}

.maker_link img{
  display: block;
  width: 94px;
  height: auto;
  margin:0 auto 23px;
}

.maker_link>p{
  display: block;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  color: #333;
}

.maker_link a{
  display: inline-block;
  margin-bottom: 24px;
  padding-top: 3px;
  padding-right: 23px;
  background-image: url('../img/common/link.png');
  background-repeat: no-repeat;
  background-size: 19px auto;
  background-position: bottom right;
}

.maker_link a:last-child{
  margin-bottom: 0;
}

.maker_link a p{
  display: inline-block;
  font-size: 16px;
  text-align: left;
  color: #0078b2;
  white-space: nowrap;
  border-bottom: solid 1px #0078b2;
}

.hukidashi{
  position: relative;
  display: block;
  width: 100%;
  max-width: 560px;
  margin:281px auto 0;
  padding:50px 0;
  border:solid 1px #3D9CCF;
}

.hukidashi:before{
  content: '';
  position: absolute;
  top: -5px;
  right: 0;
  width: 36px;
  height: 36px;
  background-color: #fff;
}

.hukidashi>span{
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 10px;

  transform: translateX(-50%);
}

.hukidashi>span:before{
  position: absolute;
  content:'';
  top: 0;
  left: 0;
  display: block;
  width: 16px;
  height: 50px;
  background-color: #fff;
  border-left:solid 1px #3D9CCF;
  transform: rotate(30deg);
}

.hukidashi>span:after{
  position: absolute;
  content:'';
  top: -10px;
  left: 0;
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
}


.hukidashi p{
  display: block;
  width: 100%;
  margin:0 auto;
  font-size: 16px;
  line-height: 28px;
  text-align: left;
  color: #333;
}

.hukidashi p span{
  display: inline-block;
  margin:0 3px;
  font-size: 20px;
  color: #0078B2;
}

/*
=======================
        header
======================= */

header{
  display: flex;
  justify-content: space-between;
  margin:0 auto;
  padding:22px 0 18px;
  max-width: 940px;
}

header a img{
  width: 219px;
  height: auto;
}

.head_box{
  display: flex;
  justify-content:space-between;
  width: 100%;
  max-width: 440px;
}

.head_box a{
  position: relative;
  display: block;
  width: 200px;
  height: 40px;
  font-size: 14px;
  font-weight: bold;

  z-index: 1;
}

.head_box a:before{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: url('../img/common/button-light.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center right 36px;
  transition: 0.5s;
  opacity: 0;
  z-index: -1;
}

.head_box a:hover:before{
  background-position: center right 18px;
  transition: 0.5s;
  opacity: 1;
}

.head_box a span{
  position: absolute;
  top:50%;
  left: 50%;
  transform:translate(-50%,-50%);
}

.head_box a:first-child{
  color: #333;
  background-color: #f7e22e;
  white-space: nowrap;
}

.head_box a:last-child{
  color: #fff;
  background-color: #0684bd;
}



.header-s{
  display: none;
}

/*
=======================
        nav
======================= */
.nav{
}

.nav ul{
  display: flex;
  justify-content: space-around;
  max-width: 800px;
  margin:24px auto;
  padding:0;
}

.nav ul li{
  position: relative;
}

.nav ul li a{
  position: relative;

  display:inline-block;
  padding:9px 38px 9px 0;

  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.nav ul li a:after{
  content: '';
  position: absolute;
  top: 0;
  right:-47px;
  width: 60px;
  height: 60px;
  border:solid 1px #3D9CCF;
  border-width: 1px 0 0 0;
  transform: rotate(-60deg);
}

.nav ul li:last-child a:after{
  border:none;
}

.nav ul li span{
  position: absolute;
  display: block;
  bottom: -5px;
  width: 80px;
  height: 4px;
  opacity: 0;
  transition: 0.2s;
  overflow:hidden;
}

.nav ul li span::before{
  content: '';
  position: absolute;
  top:10%;
  left:30%;
  width: 36px;
  height: 40px;
  transform: translate(0,-50%) rotate(30deg);
  background-color: #A0D0EA;
}


.nav ul li:hover span{
  opacity: 1;
  transition: 0.2s;
}

.select{
  position: relative;
}

.nav ul li.select span{
  position: absolute;
  bottom: -5px;
  width: 80px;
  height: 4px;
  opacity: 1;
  overflow:hidden;
}

.select span::before{
  content: '';
  position: absolute;
  top:10%;
  left:30%;
  width: 36px;
  height: 40px;
  transform: translate(0,-50%) rotate(30deg);
  background-color: #A0D0EA;
}

.nav_01 span{
  left: 0;
}
.nav_02 span{
  left: 10px;
}
.nav_03 span{
  left: 25px;
}
.nav_04 span{
  left: 13px;
}
.nav_05 span{
  left: -12px;
}

/*
=======================
      メールフォーム
======================= */
#formWrap .box{
  max-width: 640px;
  margin:0 auto;
  font-weight: normal;
  text-align: left;
}

#formWrap .box th{
  max-width: 100%;
  padding:15px 0 5px;
  font-weight: 400;
  text-align: left;
}

#formWrap .box td{
  max-width: 100%;
  padding:3px 0;
  font-weight: 200;
  text-align: left;
}

#formWrap .box tr th span{
  max-width: 33px;
  margin-left: 1em;
  padding:6px;
  font-size: 10px;
  font-weight: 200;
  color: #E25151;
  vertical-align: middle;
  border:solid 1px #E25151;
}

#mail_error{
  padding: 10px 0 0;
  color: #FF484C;
  font-weight: 400;
}

#formWrap div p .nouse_btn{
  padding-left: 30px;
  background: #999;
  border-color: #999;
  background-image: url('../img/common/mail-nouse.png');
  background-repeat: no-repeat;
  background-size: 19px auto;
  background-position: center left 50px;
}

#formWrap div p .nouse_btn:hover{
  padding-left: 30px;
  background: #999;
  border-color: #999;
  background-image: url('../img/common/mail-nouse.png');
  background-repeat: no-repeat;
  background-size: 19px auto;
  background-position: center left 50px;
  color:#fff;
}

p .use_btn{
  width: 199px;
  margin:53px auto;
  padding:13px 10px 13px 30px;
  font-size: 14px;
  text-align: center;
  border-radius: 0;
}

p .use_btn:hover{
  transition: 500ms;
}

button{
  width: 160px;
  padding:13px 24px;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
}

button:hover{
  cursor: pointer;
}

#formWrap input{
  padding:12px;
  font-size: 16px;
  font-weight: normal;
  border-radius: 4px;
  color: #333333;
}

#formWrap input[type=submit] {
  border-radius: 0;
}

#formWrap input[type=radio] {
    display: none;
}

#formWrap textarea{
  width: 100%;
  min-height: 320px;
  padding:12px;
  font-size: 16px;
  font-weight: normal;
  color: #333333;
  border-radius: 4px;
}

input[placeholder],
textarea[placeholder]{
  color: #666666;
}

.zip{
  width: 100%;
  max-width: 120px;
}

.form_tel{
  width: 100%;
  max-width: 200px;
}

.small{
  width: 100%;
  max-width: 200px;
}

.medium{
  width: 100%;
  max-width: 320px;
}

.payment{
  display: block;
  width: 100%;
  max-width: 430px;
  margin:120px auto 0;
  padding:0 16px;
  box-sizing: border-box;
}

.payment p{
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  text-align: center;
  line-height: normal;
  white-space: nowrap;
}

.payment ul{
  display: block;
  max-width: 161px;
  margin:0 auto 24px;
}

.payment ul li{
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  line-height: normal;
  white-space: nowrap;
}

.paypay{
  margin-bottom: 64px;
}

.paypay img{
  display: block;
  max-width: 80px;
  margin:0 auto 24px;
}

.paypay p span{
  color: #FF0133;
}

.error_page{
  width: 100%;
  max-width: 640px;
  margin:120px auto;
  text-align: left;
}

.error_page h4{
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  line-height: normal;
}

.error_page p{
  font-size: 16px;
  font-weight: normal;
  color: red;
  line-height: normal;
}

.error_page input{
  display: none;
}

.error_page label p{
  color: #fff;
}

/*
=======================
        contact
======================= */

#contact{
  display: block;
  width: 100%;
  max-width: 880px;
  margin:153px auto 0;
}

.con_box{
  position: relative;
  display: flex;
  justify-content:space-between;
  align-items:center;
  width: 100%;
  max-width: 700px;
  margin:0 auto;
  padding-top: 10px;
  overflow:hidden;
}

.con_box:before{
  content: '';
  position: absolute;
  top: 0;
  left: 60%;
  width: 100px;
  height: 100px;
  border-top: solid 2px #3D9CCF;
  transform: translateX(-50%) rotate(-60deg);
}

.con_box .tel{
  width: 50%;
}

.con_box .mail{
  width: 50%;
}

.con_box .btn{
  position: relative;
  display: block;
  margin:0 0 0 auto;
}

.con_box .btn p{
  display: inline-block;
  margin:0 auto;
  padding-left: 31px;
  text-align: left;
  white-space: nowrap;
  background-image: url('../img/common/mail.png');
  background-repeat: no-repeat;
  background-size: 19px auto;
  background-position: center left;
}

.con_box_sp{
  display: none;
}


/*
=======================
        footer
======================= */

footer{
  margin-top: 160px;
  padding:48px 5px 70px;
  text-align: center;
  background-color: #6EB1D5;
}

footer p{
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.f_link{
  max-width: 123px;
  margin:0 auto 30px;
}

.f_link>img{
  margin-bottom: 32px;
}

.f_flex{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding:0 6px;
  box-sizing: border-box;
}

.f_flex a{
  display: block;
  max-width: 40px;
  transition: 0.5s;
}

.f_flex a:hover{
  opacity: 0.6;
  transition: 0.5s;
}
