@charset "utf-8";
/*
font-family: "Noto Serif JP";
font-weight: 700;
sans:400=Regular,700=Bold
*/
.sp_br{
  display: none;
}
#header{
  background-color: #FFF !important;
}
#keyview{
  position: relative;
  background: url(../images/img_keyview_sub.webp) no-repeat;
  background-size: cover;
  width: 100%;
  height: 384px;
}
#keyview h2{
  position: absolute;
  top:50%;
  left:30px;
  margin: 24px 0 0;
  padding:0 30px;
  background-color: #0071bc;
  height: 56px;
  color: #FFF;
  font-size:34px;
  line-height: 56px;
  font-weight: 700;
}
#contact{
  margin:100px auto 0;
  width: 1200px;
}
#contact h3{
  position: relative;
  margin:0;
  padding:0 0 0 60px;
  color:#004b75;
  font-size:32px;
  line-height:1.2em;
  font-weight: 700;
}
#contact p{
  margin:60px 0 0;
  font-size:18px;
}
#contact h3::before{
  content: "";
  position: absolute;
  top:50%;
  left:0;
  background-color: #004b75;
  width: 40px;
  height: 2px;
  transform:translateY(-50%);
}
#contact_area{
  margin:60px auto 0;
  padding:0 0 120px;
  background-color: #eaf4f7;
  width: 100%;
  overflow: auto;
}
#input_area{
  margin:100px auto 0;
  padding:60px 60px 120px;
  background-color: #FFF;
  width: 1080px;
}
#input_area h3{
  position: relative;
  margin:0;
  padding:0 0 0 60px;
  color:#004b75;
  font-size:32px;
  line-height:1.2em;
  font-weight: 700;
}
#input_area h3::before{
  content: "";
  position: absolute;
  top:50%;
  left:0;
  background-color: #004b75;
  width: 40px;
  height: 2px;
  transform:translateY(-50%);
}
.input_box {
  display: flex;
  padding:30px 0;
  border-top:1px solid #e0e0e0;
  align-items: center;
}
.input_box:first-of-type{
  margin:74px 0 0;
}
.input_box:nth-of-type(11){
  border-bottom:1px solid #e0e0e0;
}
.input_box.align-top{
  align-items: flex-start;
}
.input_box label{
  display: inline-block;
  width: 215px;
  font-size:18px;
  line-height: 1em;
}
.input_box label span.required{
  color:#C00;
}

/* 確認画面遷移時、入力画面の要素が影響しないようにする */
form.wpcf7-form.wpcf7cp-form-hide .input_box {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  min-height: 100% !important;
}

/* progress表示の調整 */
div.wpcf7cp-progress-cover {
  height: 100% !important;
  z-index: 50 !important;
}
div.wpcf7cp-progress-content {
  height: 100% !important;
  z-index: 51 !important;
}

.input_field{
  flex:1;
}
.input_field p{
  font-size:16px;
}

/* 確認用プラグインの設定を上書きする（.input_boxを優先させる） */
#wpcf7cpcnf {
    background-color: #fff;
    z-index: 1 !important;
}
#wpcf7cpcnf tr.input_box {
    display: flex;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    align-items: center;
    flex-direction: row;
}

#wpcf7cpcnf tr.input_box label {
    display: inline-block;
    width: 215px;
    flex-shrink: 0;
    font-size: 18px;
}

#wpcf7cpcnf tr.input_box .input_field {
    flex: 1;
    display: block;
}

/* 確認画面でreCAPTCHAロゴが隠れないようにする */
html body div.grecaptcha-badge[style] {
    z-index: 10 !important;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  box-sizing: border-box;
}
input::placeholder, textarea::placeholder {
  color: #ccc;
}
.half{
  max-width: 120px;
}
.half_plus{
  max-width: 230px;
}
.half:first-child{
  margin:0 20px 0 0 !important;
}
.medium {
  max-width: 350px;
}
.medium_high {
  max-width: 450px;
}
.medium_max {
  max-width: 600px;
}
textarea {
  height: 300px;
  resize: vertical;
}
.error{
  margin:0 0 0 20px;
  color:#C00;
  font-size:18px;
  line-height: 1em;
}
.align-top .error{
  display: block;
  margin:20px 0 0;
}

/* CF7デフォルトのメッセージを非表示 */
.wpcf7-response-output {
    display: none !important;
}
.custom-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 300px;
  max-width: 540px;
  padding: 12px 50px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 18px;
  color: #333;
  background-color: #fff;
  box-sizing: border-box;
  cursor: pointer;
  background-image: url("../images/icon_select.svg");
  background-repeat: no-repeat;
  background-size: 26px 16px;
  background-position: right 15px center; 
}
.custom-select::-ms-expand {
  display: none;
}
.custom-select:invalid,
.custom-select option[value=""] {
  color: #ccc;
}
#policy_area{
  padding:60px 0 0;
  width: 100%;
}
#policy_area p{
  font-size:18px;
}
#policy_area p a{
  color:#0071bc;
  text-decoration: none;
}
#policy_area p a:hover{
  text-decoration: underline;
}
.policy_box{
  
  margin:30px 0 0;
  padding:30px;
  border:1px solid #CCC;
  width: calc(100% - 62px);
  height: 233px;
  overflow-y: scroll;
}
.policy_box p{
  padding:0 0 1em;
  font-size:18px;
}
.custom-check {
  display: none;
}
.check_box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 100px 0 0;
  flex-wrap: wrap;
}
.check_box label {
  position: relative;
  padding-left: 45px;
  cursor: pointer;
  font-size: 18px;
  line-height: 32px;
  display: inline-block;
}
.check_box label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  background: #fff;
  box-sizing: border-box;
}
.check_box label::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 10px;
  height: 18px;
  border-right: 3px solid #0070bb;
  border-bottom: 3px solid #0070bb;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.custom-check:checked + label::after {
  opacity: 1;
}
.check_box label:hover::before {
  border-color: #0070bb;
}
.check_box .wpcf7-form-control-wrap {
  display: flex;
  justify-content: center;
  flex-basis: 100%;
  margin-top: 20px;
  color:#C00;
  font-size:18px;
  line-height: 1em;
}
#btn_box{
  margin: 100px auto 0;
  text-align: center;
}
#btn_box button.btn_submit{
  background-color: #0071bc;
  width: 512px;
  height: 100px;
  color:#FFF;
  font-size:24px;
  line-height: 100px;
}
#btn_box button.btn_submit:hover{
  background-color: #0f3155;
}
#btn_box button.btn_back{
  display: block;
  margin:30px auto 0;
  background-color: #CCC;
  width: 512px;
  height: 100px;
  color:#333;
  font-size:24px;
  line-height: 100px;
}
#btn_box button.btn_back:hover{
  background-color: #0f3155;
  color:#FFF;
}
.hidden-submit-wrap {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
/*complete*/
.txt_complete{
  margin:60px 0 0;
}
.txt_complete p{
  padding:0 0 1em;
  font-size:18px;
}
.btn_home{
  margin:20px auto 0;
  width: 512px;
  height: 100px;
}
.btn_home a{
  display: block;
  background-color: #0071bc;
  color:#FFF;
  font-size:24px;
  line-height: 100px;
  text-decoration: none;
  text-align: center;
}
.btn_home a:hover{
  background-color: #0f3155;
}
@media (max-width: 767px){
  .sp_br{
    display: block;
  }
  #header{
    background-color: #FFF !important;
  }
  #keyview{
    position: relative;
    background: url(../images/img_keyview_sub.webp) no-repeat;
    background-size: cover;
    width: 100%;
    height: 192px;
  }
  #keyview h2{
    position: absolute;
    top:50%;
    left:50%;
    margin: 5px 0 0;
    padding:0 30px;
    background-color: #0071bc;
    height: 56px;
    color: #FFF;
    font-size:28px;
    line-height: 56px;
    font-weight: 700;
    white-space: nowrap;
    transform:translateX(-50%);
  }
  #contact{
    margin:50px 10px 0;
    width: calc(100% - 20px);
  }
  #contact h3{
    position: relative;
    margin:0;
    padding:0 0 0 30px;
    color:#004b75;
    font-size:24px;
    line-height:1.2em;
    font-weight: 700;
  }
  #contact h3::before{
    content: "";
    position: absolute;
    top:15px;
    left:0;
    background-color: #004b75;
    width: 20px;
    height: 2px;
  }
  #contact p{
    margin:30px 0 0;
    font-size:16px;
  }
  #contact_area{
    margin:30px auto 0;
    padding:0 0 60px;
    background-color: #eaf4f7;
    width: 100%;
    overflow: auto;
  }
  #input_area{
    margin:50px 10px 0;
    padding:30px 10px 60px;
    background-color: #FFF;
    width: calc(100% - 40px);
  }
  #input_area h3{
    position: relative;
    margin:0;
    padding:0 0 0 30px;
    color:#004b75;
    font-size:24px;
    line-height:1.2em;
    font-weight: 700;
  }
  #input_area h3::before{
    content: "";
    position: absolute;
    top:15px;
    left:0;
    background-color: #004b75;
    width: 20px;
    height: 2px;
  }
  .input_box{
    display: block;
    padding:15px 0;
    border-top:1px solid #e0e0e0;
    align-items: center;
  }
  .input_box:first-of-type{
    margin:47px 0 0;
  }
  .input_box:nth-of-type(6){
    border-bottom:1px solid #e0e0e0;
  }
  .input_box.align-top{
    align-items: flex-start;
  }
  .input_box label{
    width: 215px;
    font-size:16px;
    line-height: 1em;
  }
  .input_box label span.required{
    color:#C00;
  }
  .input_field{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .input_field p{
    font-size:16px;
  }
  .input_field input{
    display: inline-block;
  }

  /* 確認用プラグインの設定を上書きする（.input_boxを優先させる） */
  #wpcf7cpcnf tr.input_box {
    display: block;
    padding:15px 0;
    border-top:1px solid #e0e0e0;
    align-items: center;
  }

  /* 確認画面遷移時、入力画面の要素が影響しないようにする */
  form.wpcf7-form.wpcf7cp-form-hide .input_box:not(.processed-row),
  form.wpcf7-form.wpcf7cp-form-hide #policy_area:not(.processed-row),
  form.wpcf7-form.wpcf7cp-form-hide .check_box:not(.processed-row),
  form.wpcf7-form.wpcf7cp-form-hide #btn_box:not(.processed-row) {
    display: none;
  }
  div#wpcf7cpcnf {
    position: relative;
  }

  /* 行全体の挙動を縦並びに変更 */
  #wpcf7cpcnf tr.input_box {
      display: block;
      padding: 15px 0;
      border-top: 1px solid #e0e0e0;
  }

  #wpcf7cpcnf tr.input_box:first-child {
      margin: 47px 0 0 !important;
  }

  #wpcf7cpcnf tr.input_box:nth-of-type(6) {
      border-bottom: 1px solid #e0e0e0 !important;
  }

  /* ラベルの設定 */
  #wpcf7cpcnf tr.input_box label {
      display: block;
      width: 100%;
      font-size: 16px;
      line-height: 1em;
  }

  #wpcf7cpcnf tr.input_box label span.required {
      color: #C00;
  }

  #wpcf7cpcnf tr.input_box .input_field {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      width: 100%;
  }

  #wpcf7cpcnf tr.input_box .input_field p {
      font-size: 16px;
      margin: 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="url"],
  textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
  }
  input::placeholder, textarea::placeholder {
    color: #ccc;
  }
  .full{
    margin:10px 0 0 !important;
  }
  .half{
    margin:10px 0 0 !important;
    max-width: calc(50% - 5px);
    flex:1;
  }
  .half:first-child{
    margin:10px 0 0 !important;
  }
  .half_plus{
    margin:10px 0 0 !important;
    max-width: 230px;
  }
  .medium {
    margin:10px 0 0 !important;
    max-width: 350px;
  }
  .medium_high {
    margin:10px 0 0 !important;
    max-width: 450px;
  }
  .medium_max {
    margin:10px 0 0 !important;
    max-width: 600px;
  }
  textarea {
    margin:10px 0 0 !important;
    height: 300px;
    resize: vertical;
  }
  .error{
    display: block;
    margin:0px 0 0 0;
    color:#C00;
    width: 100%;
    font-size:14px;
    line-height: 1em;
  }
  .align-top .error{
    display: block;
    margin:10px 0 0;
  }
  .custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 300px;
    max-width: 540px;
    margin:10px 0 0;
    padding: 12px 50px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 18px;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    background-image: url("../images/icon_select.svg");
    background-repeat: no-repeat;
    background-size: 26px 16px;
    background-position: right 15px center; 
  }
  .custom-select::-ms-expand {
    display: none;
  }
  .custom-select:invalid,
  .custom-select option[value=""] {
    color: #ccc;
  }
  input[type="email"],
  input[type="url"],
  .medium,
  .medium_high,
  .medium_max,
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 0 !important;
  }
  #policy_area{
    padding:30px 0 0;
    width: 100%;
  }
  #policy_area p{
    font-size:14px;
  }
  #policy_area p a{
    color:#0071bc;
    text-decoration: none;
  }
  #policy_area p a:hover{
    text-decoration: underline;
  }
  .policy_box{
    margin:15px 0 0;
    padding:10px;
    border:1px solid #CCC;
    width: calc(100% - 22px);
    height: 200px;
    overflow-y: scroll;
  }
  .policy_box p{
    padding:0 0 1em;
    font-size:14px;
  }
  .custom-check {
    display: none;
  }
  .check_box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 0;
  }
  .check_box label {
    position: relative;
    padding-left: 45px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2em;
    display: inline-block;
  }
  .check_box label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    background: #fff;
    box-sizing: border-box;
  }
  .check_box label::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 5px;
    width: 10px;
    height: 18px;
    border-right: 3px solid #0070bb;
    border-bottom: 3px solid #0070bb;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .custom-check:checked + label::after {
    opacity: 1;
  }
  .check_box label:hover::before {
    border-color: #0070bb;
  }
  .check_box .wpcf7-form-control-wrap {
    font-size:14px;
  }
  #btn_box{
    margin: 50px auto 0;
    text-align: center;
  }
  #btn_box button.btn_submit{
    background-color: #0071bc;
    width: 100%;
    height: 60px;
    color:#FFF;
    font-size:18px;
    line-height: 60px;
  }
  #btn_box button.btn_submit:hover{
    background-color: #0f3155;
  }
  #btn_box button.btn_back{
    display: block;
    margin:15px auto 0;
    background-color: #CCC;
    width: 100%;
    height: 60px;
    color:#333;
    font-size:18px;
    line-height: 60px;
  }
  #btn_box button.btn_back:hover{
    background-color: #0f3155;
    color:#FFF;
  }
  /*complete*/
  .txt_complete{
    margin:30px 0 0;
  }
  .txt_complete p{
    padding:0 0 1em;
    font-size:18px;
  }
  .btn_home{
    margin:10px auto 0;
    width: 100%;
    height: 60px;
  }
  .btn_home a{
    display: block;
    background-color: #0071bc;
    color:#FFF;
    font-size:18px;
    line-height: 60px;
    text-decoration: none;
    text-align: center;
  }
  .btn_home a:hover{
    background-color: #0f3155;
  }
}
@media (max-width: 767px) and (orientation:landscape){
  .check_box {
    margin: 30px 0 0;
  }
  .check_box label {
    font-size: 14px;
    line-height: 1.5em;
    display: flex;
    align-items: center;
    padding-left: 45px;
    min-height: 32px;
  }
  .check_box label::before {
    top: 50%;
    transform: translateY(-50%);
  }
  .check_box label::after {
    top: calc(50% - 11px);
    left: 11px;
    transform: translateY(0) rotate(45deg);
  }
}
