/* =layout
-------------------------------------------------------------- */

.secbox {
  padding-top: 80px;
  padding-bottom: 80px;
}
.sec-shadow {
  box-shadow: 0px 20px 8px -8px rgba(0,0,0,0.15);
  -webkit-box-shadow: 0px 20px 8px -8px rgba(0,0,0,0.15);
}
.sec-title-box {
  margin-bottom: 60px;
}
.sec-title-box .sec-title {
  margin: 0;
  text-align: center;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.content-width {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.imgtext-box {
  display: flex;
  justify-content: space-between;  
}
.imgtext-box:nth-child(even) {
  flex-direction: row-reverse;
}
.col-02-box,
.col-03-box,
.col-04-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .secbox {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .content-width {
    max-width: 640px;
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 30px;
  }
  .imgtext-box {
    display: block;
  }
}

/* =color
-------------------------------------------------------------- */
.text-color-w {
  color: #fff;
}
.text-color-k {
  color: #323333;
}
.sec-bg-gray {
  background: #f0f0f0;
}
.sec-bg-blue {
  background: #1b5a9f;
}



/* =header
-------------------------------------------------------------- */
.header-fix {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 10;
}
.header-content {
  height: 60px;
  display: flex;
  align-items: start;
  justify-content: space-between;
}
.header-logo {
  padding-top: 16px;
  width: 38%;
}
.header-tel {
  display: flex;
  align-items: center;
  padding-top: 17px;
  font-size: 1.4rem;
  font-weight: 500;
}
.header-tel a {
  margin: 0 20px;
}
@media screen and (max-width: 768px) {
  .header-content {
    height: 80px;
    align-items: center;
    justify-content: center;
  }
  .header-logo {
    padding-top: 0;
    max-width: initial;
    width: 100%;
    text-align: center;
  }
}

/* =mainvisual
-------------------------------------------------------------- */
#mainvisual {
  margin-top: 60px;
  width: 100%;
  height: calc(100vh - 60px);
  background: url(../images/mainvisual_bg.jpg) no-repeat scroll center bottom / cover;
}
#mainvisual .content-width {
  height: calc(100vh - 60px);
}
.mv-title-box {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.mv-title {
  font-size: 3.4rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0 0 25px;
  flex-basis: 100%;
}
.mv-subtitle {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  letter-spacing: 0.1em;
  margin: 0 0 0 15px;
}
@media screen and (max-width: 768px) {
  #mainvisual {
    margin-top: 80px;
    height: 760px;
    background: url(../images/mainvisual_bg_sp.jpg) no-repeat scroll center bottom / cover;
  }
  #mainvisual .content-width {
    height: 760px;
  }
  .mv-title-box {
    top: 320px;
    left: 30px;
    align-items: flex-end;
  }
  .mv-title {
    font-size: 4rem;
    flex-basis: auto;
    line-height: 1.3;
  }
  .mv-title-box .imgbox {
    margin: 0 0 30px 15px;
  }
  .mv-subtitle {
    flex-basis: 100%;
    margin: 0;
  }
}

/* =sec01
-------------------------------------------------------------- */
#sec01.secbox {
  padding-bottom: 160px;
}
#sec01 .col-02-box {
  box-sizing: border-box;
  padding: 0 60px;
}
#sec01 .col-02-box .textbox {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 20px;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  position :relative;
}

#sec01 .col-02-box .textbox::before {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}
#sec01 .col-02-box .textbox:nth-child(1)::before {
  content: url(../images/sec01_icon_01.png);
  bottom: -105px;
}
#sec01 .col-02-box .textbox:nth-child(2)::before {
  content: url(../images/sec01_icon_02.png);
  bottom: -80px;
}
#sec01 .col-02-box .textbox:nth-child(3)::before {
  content: url(../images/sec01_icon_03.png);
  bottom: -80px;
}
span.text-border {
  border-bottom: 2px solid #f29019;
  padding-bottom: 3px;
}

@media screen and (max-width: 768px) {
  #sec01 .col-02-box {
    flex-wrap: wrap;
    padding: 0 20px;
  }
  #sec01 .col-02-box .textbox:nth-child(3) {
    margin: 50px auto 0;
  }
}

/* =sec02
-------------------------------------------------------------- */
#sec02.secbox {
  padding-top: 180px;
}
#sec02 {
  position: relative;
}
#sec02::before {
  content: url(../images/sec02_title.png);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}
#sec02 .imgtext-box .imgbox,
#sec02 .imgtext-box .textbox {
  width: 50%;
  height: 300px;
}
#sec02 .imgtext-box .imgbox {
  overflow: hidden;
}
#sec02 .imgtext-box .textbox {
  box-sizing: border-box;
  padding-top: 50px;
}
#sec02 .imgtext-box:nth-child(odd) .textbox {
  padding-left: 60px;
}
#sec02 .imgtext-box:nth-child(even) .textbox {
  padding-right: 60px;
}
#sec02 .textbox-title {
  font-size: 2.4rem;
  margin: 0;
  font-weight: 500;
  position: relative;
  padding-left: 60px;
}
#sec02 .textbox-title::before {
  top: 0;
  left: 0;
  position: absolute;
}
#sec02 .imgtext-box:nth-child(1) .textbox-title::before {
  content: url(../images/sec02_icon_01.png);
}
#sec02 .imgtext-box:nth-child(2) .textbox-title::before {
  content: url(../images/sec02_icon_02.png);
}
#sec02 .imgtext-box:nth-child(3) .textbox-title::before {
  content: url(../images/sec02_icon_03.png);
}
#sec02 .imgtext-box:nth-child(4) .textbox-title::before {
  content: url(../images/sec02_icon_04.png);
}
@media screen and (max-width: 768px) {
  #sec02::before {
    content: url(../images/sec02_title_sp.png);
  }
  #sec02 .imgtext-box .imgbox {
    width: 580px;
    height: 350px;
  }
  #sec02 .imgtext-box .textbox {
    width: 580px;
    height: auto;
  }
  #sec02 .imgtext-box .textbox {
    padding-top: 0;
    margin-top: 40px;
    margin-bottom: 80px;
  }
  #sec02 .imgtext-box:last-child .textbox {
    margin-bottom: 0;
  }
  #sec02 .imgtext-box:nth-child(odd) .textbox,
  #sec02 .imgtext-box:nth-child(even) .textbox {
    padding-left: 0;
    padding-right: 0;
  }
  #sec02 .textbox-title {
    font-size: 3rem;
  }
  #sec02 .textbox-title::before {
    top: 8px;
  }

}
/* =sec03
-------------------------------------------------------------- */
#sec03 .sec-title-box {
  margin-bottom: 110px;
}
#sec03 .col-02-box {
  flex-wrap: wrap;
}
#sec03 .col-02-box .textbox {
  width: 480px;
  height: 400px;
  box-sizing: border-box;
  background: #fff;
  margin-bottom: 80px;
  padding: 90px 60px 0;
  position: relative;
}
#sec03 .col-02-box .textbox:nth-last-child(-n+2) {
  margin-bottom: 0;
}
#sec03 .col-02-box .textbox::before {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  top: -50px;
}
#sec03 .col-02-box .textbox:nth-child(1)::before {
  content: url(../images/sec03_icon_01.png);
}
#sec03 .col-02-box .textbox:nth-child(2)::before {
  content: url(../images/sec03_icon_02.png);
}
#sec03 .col-02-box .textbox:nth-child(3)::before {
  content: url(../images/sec03_icon_03.png);
}
#sec03 .col-02-box .textbox:nth-child(4)::before {
  content: url(../images/sec03_icon_04.png);
}
#sec03 .textbox .textbox-title {
  font-size: 2.6rem;
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
}
#sec03 .textbox p {
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  #sec03 .col-02-box .textbox {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin-bottom: 100px;
    padding: 90px 40px 50px;
    position: relative;
  }
  #sec03 .col-02-box .textbox:nth-last-child(-n+2) {
    margin-bottom: 100px;
  }
  #sec03 .col-02-box .textbox:last-child {
    margin-bottom: 0;
  }
  #sec03 .textbox .textbox-title {
    font-size: 3rem;
  }
}
/* =sec04
-------------------------------------------------------------- */

#sec04 .col-03-box .contbox {
  width: 275px;
  text-align: center;
  margin-top: 0;
  margin-bottom: auto;
}
#sec04 .textbox-title {
  font-size: 2.6rem;
  font-weight: 500;
  color: #f39b39;
  margin: 10px 0 5px;
}
#sec04 .first-text {
  font-size: 2rem;
  font-weight: 500;
  color: #040000;
  margin: 0;
}
#sec04 .col-03-box .contbox .second-text {
  text-align: left!important;
  margin: 20px 0 0;
  color: #040000;
}

@media screen and (max-width: 768px) {
  #sec04 .col-03-box {
    display: block;
  }
  #sec04 .col-03-box .contbox {
    width: 100%;
    margin-bottom: 80px;
  }
  #sec04 .col-03-box .contbox:last-child {
    margin-bottom: 0;
  }
  #sec04 .textbox-title {
    font-size: 3rem;
  }
  #sec04 .first-text {
    font-size: 2.2rem;
  }
}

/* =sec05
-------------------------------------------------------------- */
#sec05 .col-04-box {
  box-sizing: border-box;
  padding: 0 60px;
}
#sec05 .col-04-box .contbox {
  width: 185px;
  text-align: center;
  position: relative;
  margin-top: 0;
  margin-bottom: auto;
}
#sec05 .col-04-box .contbox:nth-child(n+2)::before {
  content: url(../images/sec05_arrow.png);
  position: absolute;
  top: 66px;
  left: -32px;
}
#sec05 .col-04-box .contbox p {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 10px 0 0;
}
@media screen and (max-width: 768px) {
  #sec05 .col-04-box {
    flex-wrap: wrap;
  }
  #sec05 .col-04-box .contbox {
    width: 220px;
    margin-bottom: 50px;
  }
  #sec05 .col-04-box .contbox:nth-last-child(-n+2) {
    margin-bottom: 0;
  }
  #sec05 .col-04-box .contbox p {
    font-size: 2.2rem;
  }
  #sec05 .col-04-box .contbox:nth-child(n+2)::before {
    left: -16px;
  }
}
/* =sec06
-------------------------------------------------------------- */
#sec06 {
  background: url(../images/sec06_bg.jpg) no-repeat center / cover;
}
#sec06 .col-02-box {
  flex-wrap: wrap;
}
#sec06 .col-02-box .textbox {
  width: 480px;
  height: 310px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 40px;
  padding: 30px 40px 0 80px;
  box-sizing: border-box;
}
#sec06 .col-02-box .textbox:nth-last-child(-n+2) {
  margin-bottom: 0;
}
#sec06 .textbox-title {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.55;
}
.question,
.answer {
  position: relative;
}
.question::before,
.answer::before {
  position: absolute;
  top: 0;
  left: -50px;
}
.question::before{
  content: url(../images/sec06_icon_01.png);
}
.answer::before {
  content: url(../images/sec06_icon_02.png);
}
@media screen and (max-width: 768px) {
  #sec06 .col-02-box {
    display: block;
  }
  #sec06 .col-02-box .textbox {
    width: 100%;
    height: auto;
    margin-bottom: 50px;
    padding: 40px 40px 40px 80px;
  }
  #sec06 .col-02-box .textbox:nth-last-child(-n+2) {
    margin-bottom: 40px;
  }
  #sec06 .col-02-box .textbox:last-child {
    margin-bottom: 0;
  }
  #sec06 .textbox-title {
    font-size: 2.6rem;
  }
  .question::before {
    top: 5px;
  }
}

/* =contact form
-------------------------------------------------------------- */
#contact dl {
  display: flex;
  margin-top: 0;
  margin-bottom: 10px;
}
#contact dl dt,
#contact dl dd {
  height: 50px;
  box-sizing: border-box;
}
#contact dl.experience dt,
#contact dl.experience dd {
  height: 150px;
}
#contact dl dt {
  width: 25%;
  background: #1b5a9f;
  color: #fff;
  padding: 15px 20px;
  letter-spacing: 0.1em;
}
#contact dl:not(.experience) dt {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#contact dl dd {
  width: 75%;
  margin: 0;
}
#contact dl dd input[type="text"],
#contact dl dd input[type="email"],
#contact dl dd textarea,
#contact dl dd select {
  background: #f0f0f0;
  border: none;
  letter-spacing: 0.1em;
  height: 100%;
  box-sizing: border-box;
}
#contact dl dd input[type="text"],
#contact dl dd input[type="email"],
#contact dl dd textarea {
  width: 100%;
  padding: 15px 20px;
  resize: none;
}
#contact dl dd select {
  padding-left: 20px;
	-webkit-appearance: none;
	-moz-appearance: none;
  appearance: none;
}
#contact .selecter-arrow {
  position: relative;
  display: inline-block;
  height: 100%;
}
#contact .selecter-arrow::before {
  position: absolute;
  width: 0;
  height: 0;
  content: "";
  border-top: 8px solid #444444;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

#contact dl dd select.select-small {
  width: 120px;
}
#contact dl dd select.select-large {
  width: 320px;
}
.year-box,
.month-box,
.day-box {
  display: inline-block;
  height: 100%;
  margin-right: 10px;
}
span.required {
  background: #f28e19;
  border-radius: 5px;
  padding: 0 5px;
}
#contact p.form-second-title {
  font-size: 1.2rem;
  letter-spacing: 0;
}
#contact .radio-box {
  display: flex;
  align-items: center;
}
#contact .radiobtn {
  margin-left: 20px;
}
#contact .radio {
  display: none;
}
.radio + .radio-icon:before {
  display: inline-block;
  content: "";
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 50%;
  margin-right: 5px;
  transform: translateY(10%);
}
.radio:checked + .radio-icon:before {
  background: #1b5a9f;
}
form button.btn {
  border: none;
  background: none;
  cursor: pointer;
  margin: 40px auto 0;
}
form button.btn:hover {
  opacity: 0.7;
}
.form-complete {
  margin-top: 60px; /* 送信完了画面 */
}
@media screen and (max-width: 768px) {
  #contact dl {
    flex-wrap: wrap;
    height: auto;
    margin-bottom: 20px;
  }
  #contact dl dt,
  #contact dl dd {
    width: 100%;
  }
  #contact dl dd {
    height: 80px;
  }
  #contact dl.experience dd {
    height: 240px;
  }
  #contact p.form-second-title {
    font-size: 1.8rem;
  }
  span.required {
    font-size: 1.8rem;
  }
  #contact .selecter-arrow::before {
    border-top: 10px solid #444444;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
  }
  .form-complete {
    margin-top: 80px; /* 送信完了画面 */
  }
}

/* =footer
-------------------------------------------------------------- */
#footer {
  background: #323333;
  padding: 20px 0;
  text-align: center;
}
#copyright {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: #fff;
}
@media screen and (max-width: 768px) {
  #footer {
    margin-bottom: 100px;
    padding: 15px 0;
  }
  #footer.form-comp-footer {
    margin-bottom: 0;
  }
  #copyright {
    font-size: 1.4rem;
  }
  .footer-fix {
    position: fixed;
    left: 0;
    bottom: 0;
  }
  .footer-fix .btnbox {
    display: flex;
    justify-content: space-between;
  }
  .footer-fix .btn-box a {
    width: 50%;
  }
}

/* = pc / sp
-------------------------------------------------------------- */
.sp-only {
  display: none!important;
}
@media screen and (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none!important;
  }
  .sp-only {
    display: block!important;
  }
}


.thanks_page {
background:#323333;
}

.thanks_main {
padding-top:60px;
background:#323333;
min-height:650px;
}

.thanks_text {
width:1000px;
font-size:3rem;
color:#fff;
margin:300px auto 0;
text-align:center;
}

@media screen and (max-width: 768px) {
.thanks_main {
min-height:1000px;
}

.thanks_text {
width:500px;
font-size:3rem;
margin:400px auto 0;
}
.footer-fix {
    width: 100%;
}
}
