@charset "UTF-8";
/* ----------------------------------------------
mainTitle
----------------------------------------------*/
#mainTitle {
  height: 300px;
  margin-top: -60px;
  padding-top: 60px;
  position: relative;
  z-index: -1;
  background-color: #a0dcfa;
  overflow: hidden;
}
#mainTitle::before {
  content: "";
  width: 100%;
  height: 42px;
  background: url(../../img/maintitle-end-sp.png) center top no-repeat;
  background-size: 100% 42px;
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 1;
}
#mainTitle::after {
  content: "";
  width: 100%;
  min-width: 375px;
  height: 240px;
  background: url(../img/title-sp.jpg) center center no-repeat;
  background-size: 100% auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 0;
}
#mainTitle h1 {
  width: 100%;
  display: block;
  padding: 80px 0 0 20px;
  color: #000;
  font-size: 2.9rem;
  line-height: 1;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

@media all and (min-width: 768px) {
  #mainTitle {
    height: 550px;
    margin-top: -100px;
    padding-top: 100px;
  }
  #mainTitle::before {
    content: "";
    width: 100%;
    height: 91px;
    background: url(../../img/maintitle-end.png) center top no-repeat;
    background-size: 100% 91px;
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 1;
  }
  @media only screen and (-webkit-min-device-pixel-ratio: 2) {
    #mainTitle::before {
      background: url(../../img/maintitle-end@2x.png) center top no-repeat;
      background-size: 100% 91px;
    }
  }
  #mainTitle::after {
    content: "";
    width: 100%;
    min-width: 1300px;
    height: 450px;
    background: url(../img/title.jpg) center center no-repeat;
    background-size: 100% auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 0;
  }
  @media only screen and (-webkit-min-device-pixel-ratio: 2) {
    #mainTitle::after {
      background: url(../img/title@2x.jpg) center center no-repeat;
      background-size: 100% auto;
    }
  }
  #mainTitle h1 {
    width: 980px;
    margin: 0 auto;
    padding: 163px 0 0 0;
    font-size: 5.5rem;
  }
}

/* ----------------------------------------------
lead
----------------------------------------------*/
main .lead {
  padding: 5px 15px 20px;
  text-align: center;
  font-size: 1.6rem;
  line-height: 190%;
}
@media all and (min-width: 768px) {
  main .lead {
    width: 980px;
    margin: 0 auto;
    padding: 5px 15px 40px;
    text-align: center;
    font-size: 2rem;
    line-height: 190%;
  }
  main .lead br.spOn {
    display: none;
  }
}

/* ----------------------------------------------
contactForm
----------------------------------------------*/
#contactForm {
  padding-bottom: 60px;
}
#contactForm .formBox {
  padding: 20px 15px 50px;
  
}
#contactForm .formBox table {
  width: 100%;
  border-bottom: 1px dashed #999;
  table-layout: fixed;
}
@media all and (max-width: 767px) {
  #contactForm .formBox tr,
  #contactForm .formBox th,
  #contactForm .formBox td {
    display: block;
  }
}
#contactForm .formBox th {
  width: 100%;
  padding: 0 10px 9px 5px;
  font-size: 1.7rem;
  font-weight: 500;
  text-align: left;
}
#contactForm .formBox th .thBox {
  width: 100%;
	position: relative;
	display: block;
  padding-right: 60px;
}
#contactForm .formBox th .icon {
  width: 50px;
  height: 28px;
  padding: 6px 0 0 2px; 
  display: block;
  background-color: #eda700;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.15em;
  position: absolute;
  top: 0;
  right: 0px;
}
#contactForm .formBox td {
  width: 100%;
  padding-bottom: 28px;
  font-size: 1.6rem;
  word-wrap: break-word;
}
#contactForm .formBox tr:last-child td {
  padding-bottom: 50px;
}
@media all and (min-width: 768px) {
  #contactForm {
    padding-bottom: 100px;
  }
  #contactForm .formBox {
    width: 800px;
    margin: 0 auto;
    padding: 20px 0 70px;
    
  }
  #contactForm .formBox table {
    width: 100%;
    border-bottom: 1px dashed #999;
  }
  #contactForm .formBox th {
    width: 240px;
    padding: 10px 20px 35px 15px;
    font-size: 1.7rem;
    font-weight: 500;
    text-align: left;
    vertical-align: top;
  }
  #contactForm .formBox th .thBox {
    width: 100%;
    position: relative;
    display: block;
    padding-right: 60px;
  }
  #contactForm .formBox th .icon {
    width: 50px;
    height: 28px;
    padding: 6px 0 0 2px; 
    display: block;
    background-color: #eda700;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 0.15em;
    position: absolute;
    top: 0;
    right: 0px;
  }
  #contactForm .formBox td {
    width: 560px;
    padding-right: 15px;
    padding-bottom: 35px;
    font-size: 1.6rem;
  }
  #contactForm .formBox tr:last-child td {
    padding-bottom: 70px;
  }
}

/* ----------------------------------------------
form
----------------------------------------------*/
input,
textarea,
select {
	font-size: 1.6rem;
	line-height: 1.6;
	outline: none;
  font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
}
input[type="text"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 50px;
	padding: 8px;
  border-radius: 8px;
  border: 1px solid #CCCCCC;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
textarea {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 150px;
	padding: 8px;
  border-radius: 8px;
  border: 1px solid #CCCCCC;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
select::-ms-expand {
	display: none;
}
select {
	-webkit-appearance: none;
	-moz-appearance:none;
	appearance: none;
	width: 100%;
	height: 50px;
	padding: 8px;
	border-radius: 8px;
	border: 1px solid #CCCCCC;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background: #fff url(../img/arrow-select.svg) right 13px center no-repeat; 
	background-size: 22px 22px;
}
input[type="button"] {
  cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
  color: #eda700;
	font-size: 1.7rem;
	font-weight: 500;
	width: 100%;
	height: 44px;
	border-radius: 22px;
	border: 1px solid #eda700;
	background: none;
  position: relative;
  z-index: 2;
}
@media all and (min-width: 768px) {
  input[type="button"] {
    height: 50px;
    border-radius: 25px;
    font-size: 1.9rem;
  }
  input[type="button"]:hover {
    color: #fff;
  }
}

/*----------------------------------------------
btnBox
----------------------------------------------*/
#contactForm .btnBox .btn {
  width: 195px;
  margin: 0 auto;
  position: relative;
}
#contactForm .btnBox .btn::before {
  content:"";
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 22px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 0;
}

@media all and (min-width: 768px) {
  #contactForm .btnBox .btn {
    width: 220px;
  }
  #contactForm .btnBox .btn::before {
    border-radius: 25px;
  }
  #contactForm .btnBox .btn::after {
    content:"";
    width: 0;
    height: 100%;
    background-color: #eda700;
    border-radius: 25px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 1;
  }
  #contactForm .btnBox .btn:hover::after {
    width: 100%;
    transition: 0.6s;
  }
}

/*----------------------------------------------
error
----------------------------------------------*/
.error {
	width: 95%;
	margin: 10px auto 20px;
	padding: 18px 15px;
	color: #F00;
	font-size: 1.5rem;
	line-height: 170%;
	background-color: #FFEBEB;
	border-radius: 15px;
}
.error h3 {
	font-size: 1.7rem;
	line-height: 150%;
	font-weight: bold;
	padding-bottom: 20px;
	text-align: left;
}
.error p {
	text-indent: -1em;
	padding: 0 0 5px 1em;
}

@media all and (min-width: 768px) {
	.error {
		width: 800px;
		font-size: 1.6rem;
		line-height: 140%;
		margin-bottom: 30px;
		padding: 20px 50px;
	}
	.error h3 {
		font-size: 1.8rem;
		line-height: 170%;
		text-align: center;
	}
}

/* ----------------------------------------------
kakunin
----------------------------------------------*/
#contactForm.kakunin .formBox th {
  padding: 0 5px 5px;
}
#contactForm.kakunin .formBox td {
  padding: 0 5px 28px;
  color: #00c59d;
  line-height: 180%;
}
#contactForm.kakunin .btnBox {
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
}
#contactForm.kakunin .btn.backBtn {
  width: 130px;
  margin: 0;
}
#contactForm.kakunin .btn.backBtn input[type="button"] {
  color: #bebebe;
	border: 1px solid #bebebe;
}
#contactForm.kakunin .btn.soushinBtn {
	width: 160px;
  margin: 0;
}
@media all and (max-width: 340px) {
  #contactForm.kakunin .btn.backBtn {
    width: 120px;
  }
}
@media all and (min-width: 768px) {
  main .lead.kakunin {
    font-size: 1.9rem;
  }
  #contactForm.kakunin .formBox th {
    width: 180px;
    padding: 0 20px 35px 15px;
    line-height: 200%;
  }
  #contactForm.kakunin .formBox td {
    width: 620px;
    padding: 0 15px 35px 0;
    line-height: 200%;
  }
  #contactForm.kakunin .btnBox {
    width: 580px;
    margin: 0 auto;
    padding: 0;
  }
  #contactForm.kakunin .btn.backBtn {
    width: 220px;
  }
  #contactForm .btnBox .btn.backBtn::after {
    background-color: #bebebe;
  }
  #contactForm .btnBox .btn.backBtn input[type="button"]:hover {
    color: #fff;
  }
  #contactForm.kakunin .btn.soushinBtn {
    width: 220px;
  }
}

/* ----------------------------------------------
thanks
----------------------------------------------*/
#thanks {
  padding: 5px 15px 55px;
  text-align: center;
  font-size: 1.6rem;
  line-height: 200%;
}
#thanks h2 {
  font-size: 2.2rem;
  line-height: 140%;
  color: #00c59d;
  font-weight: 500;
}
#thanks .thanksText {
  padding-top: 25px;
  text-align: left;
}
@media all and (min-width: 768px) {
  #thanks {
    width: 980px;
    margin: 0 auto;
    padding: 5px 15px 100px;
    text-align: center;
    font-size: 1.8rem;
    line-height: 200%;
  }
  #thanks h2 {
    font-size: 2.8rem;
  }
  #thanks h2 br {
    display: none;
  }
  #thanks .thanksText {
    padding-top: 30px;
    text-align: center;
  }
}