@charset "UTF-8";
/*
Template: arkhe
Theme Name: Arkhe Child
Theme URI: https://arkhe-theme.com/ja/
Description: Arkhe用子テーマ
Version: 1.0.0
Text Domain: arkhe
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/
body {
font-family: "Helvetica"; "游ゴシック" , "ヒラギノ角ゴ ProN", sans-serif ;
}
/* h1見出しのフォント指定 */
h1 {
font-family:"Helvetica"; "游ゴシック" ,"ヒラギノ角ゴ ProN", sans-serif ;
}
/* ナビゲーションメニューのフォント指定 */
nav ul li {
font-family: "Helvetica"; "游ゴシック" ," ヒラギノ角ゴ ProN", sans-serif ;
}
/* ===================================
   Contact Form 7 レスポンシブ対応
=================================== */

.contact-form-wrap {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 45px 40px 80px;
  border: 2px solid #d2d2d2;
  border-radius: 12px;
  box-sizing: border-box;
  background: #fff;
}

/* -----------------------------------
   各入力行
----------------------------------- */

.contact-form-wrap .form-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  column-gap: 25px;
  row-gap: 10px;
  margin-bottom: 28px;
}

/* お問い合わせ本文 */
.contact-form-wrap .form-row-message {
  align-items: start;
}

/* -----------------------------------
   左側ラベル
----------------------------------- */

.contact-form-wrap .form-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
}

/* 必須・任意 */

.contact-form-wrap .required,
.contact-form-wrap .optional {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 7px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
}

.contact-form-wrap .required {
  background: #173c72;
}

.contact-form-wrap .optional {
  background: #999;
}

/* -----------------------------------
   入力欄
----------------------------------- */

.contact-form-wrap .form-field {
  width: 100%;
  min-width: 0;
}

.contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 16px;
  color: #222;
  transition: border-color 0.2s ease;
}

/* 1行入力 */

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"] {
  height: 62px;
}

/* テキストエリア */

.contact-form-wrap textarea {
  height: 220px;
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}

/* placeholder */

.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
  color: #bcbcbc;
  opacity: 1;
}

/* フォーカス */

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: #173c72;
}

/* ===================================
   ラジオボタン
=================================== */

.contact-form-wrap .radio-field .wpcf7-form-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.contact-form-wrap .radio-field .wpcf7-list-item {
  margin: 0;
}

.contact-form-wrap .radio-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

/* 四角いチェック風 */

.contact-form-wrap input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid #c7c7c7;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.contact-form-wrap input[type="radio"]:checked {
  border-color: #173c72;
  background: #173c72;
}

.contact-form-wrap input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ===================================
   個人情報について
=================================== */

.contact-form-wrap .privacy-text {
  margin: 36px auto 40px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
  color: #111;
}

/* ===================================
   送信ボタン
=================================== */

.contact-form-wrap .submit-wrap {
  width: 68%;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* 送信ボタン */
.contact-form-wrap input[type="submit"] {
  display: block;
  width: 100%;
  height: 66px;
  margin: 0;
  border: 2px solid #173f78;
  border-radius: 3px;
  background: #173f78;
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;

  transition: all 0.35s ease;
}

.contact-form-wrap input[type="submit"]:hover {
  background: #fff;
  color: #173f78;
  border-color: #173f78;
  letter-spacing: 0.15em;
}

/* ===================================
   CF7標準表示
=================================== */

.contact-form-wrap .wpcf7-spinner {
  display: block;
  margin: 15px auto 0;
}

.contact-form-wrap .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.5;
}

.contact-form-wrap .wpcf7-response-output {
  margin: 25px 0 0 !important;
  padding: 12px 15px !important;
  line-height: 1.7;
}

/* ===================================
   タブレット
   769px ～ 1024px
=================================== */

@media screen and (max-width: 1024px) {

  .contact-form-wrap {
    max-width: calc(100% - 40px);
    padding: 40px 30px 60px;
  }

  .contact-form-wrap .form-row {
    grid-template-columns: 190px minmax(0, 1fr);
    column-gap: 20px;
  }

  .contact-form-wrap .form-label {
    font-size: 15px;
  }

  .contact-form-wrap .radio-field .wpcf7-form-control {
    gap: 12px 20px;
  }

  .contact-form-wrap .radio-field label {
    font-size: 15px;
  }

  .contact-form-wrap .submit-wrap {
    width: 75%;
  }
}

/* ===================================
   スマートフォン
   768px以下
=================================== */

@media screen and (max-width: 768px) {

  .contact-form-wrap {
    max-width: calc(100% - 30px);
    padding: 30px 20px 40px;
    border-radius: 8px;
  }

  /* PCの横並びを解除 */
  .contact-form-wrap .form-row {
    display: block;
    margin-bottom: 25px;
  }

  .contact-form-wrap .form-label {
    margin-bottom: 9px;
    font-size: 15px;
    white-space: normal;
  }

  .contact-form-wrap .required,
  .contact-form-wrap .optional {
    margin-left: 8px;
    padding: 2px 6px;
    font-size: 12px;
  }

  /* 入力欄 */

  .contact-form-wrap input[type="text"],
  .contact-form-wrap input[type="email"],
  .contact-form-wrap input[type="tel"],
  .contact-form-wrap textarea {
    padding: 12px 13px;
    font-size: 16px;
  }

  .contact-form-wrap input[type="text"],
  .contact-form-wrap input[type="email"],
  .contact-form-wrap input[type="tel"] {
    height: 54px;
  }

  .contact-form-wrap textarea {
    height: 180px;
    min-height: 180px;
  }

  /* ラジオ */

  .contact-form-wrap .radio-field .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 15px;
  }

  .contact-form-wrap .radio-field label {
    font-size: 15px;
  }

  .contact-form-wrap input[type="radio"] {
    width: 20px;
    height: 20px;
  }

  .contact-form-wrap input[type="radio"]:checked::after {
    left: 5px;
    top: 1px;
  }

  /* 個人情報 */

  .contact-form-wrap .privacy-text {
    margin: 30px 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.8;
  }

  /* ボタン */

  .contact-form-wrap .submit-wrap {
    width: 100%;
    max-width: none;
  }

  .contact-form-wrap input[type="submit"] {
    height: 58px;
    font-size: 18px;
  }
}

/* ===================================
   小さいスマホ
   480px以下
=================================== */

@media screen and (max-width: 480px) {

  .contact-form-wrap {
    max-width: calc(100% - 20px);
    padding: 25px 15px 35px;
  }

  .contact-form-wrap .form-row {
    margin-bottom: 22px;
  }

  /* 問い合わせ種類を1列にする場合 */
  .contact-form-wrap .radio-field .wpcf7-form-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }

  .contact-form-wrap .radio-field label {
    font-size: 14px;
  }

  .contact-form-wrap textarea {
    height: 160px;
    min-height: 160px;
  }

  .contact-form-wrap .privacy-text {
    font-size: 12px;
  }

  .contact-form-wrap input[type="submit"] {
    height: 56px;
    font-size: 17px;
  }
}