@charset "UTF-8";
@media screen and (max-width: 767px) {
  #contact-form-wrapper {
    background-color: #f5f8fa;
    margin-top: 50px;
    padding: 56px 0 48px;
  }
  #contact-form-wrapper #input-screen {
    margin: 0;
    padding: 0 20px;
  }
  #contact-form-wrapper #input-screen .contact-input-group {
    border-bottom: 0;
    padding: 0 0 21px;
    vertical-align: middle;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  #contact-form-wrapper #input-screen .contact-input-group .ttl-name-box {
    position: relative;
    padding-left: 53px;
    font-family: "noto-serif-bold", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    width: 28%;
    letter-spacing: 0.1em;
    width: 100%;
    cursor: default;
  }
  #contact-form-wrapper #input-screen .contact-input-group .ttl-name-box .is-required {
    display: flex;
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 11px;
    background-color: #e86f6f;
    color: #fff;
    height: 22px;
    position: absolute;
    top: -2px;
    align-items: center;
    padding: 0 9px;
    left: 0;
  }
  #contact-form-wrapper #input-screen .contact-input-group .ttl-name-box .is-optional {
    display: flex;
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 11px;
    background-color: #d6dbde;
    color: #5b6570;
    height: 22px;
    position: absolute;
    top: -2px;
    align-items: center;
    padding: 0 9px;
    left: 0;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap {
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    display: flex;
    word-wrap: break-word;
    margin: 20px auto 40px;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio {
    display: flex;
    word-wrap: break-word;
    gap: 20px;
    flex-direction: column;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked, #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:not(:checked) {
    display: none;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked + span.wpcf7-list-item-label, #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:not(:checked) + span.wpcf7-list-item-label {
    position: relative;
    margin-right: 20px;
    padding-left: 20px;
    cursor: pointer;
    line-height: 19px;
    display: inline-block;
    color: #5b6570;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked + span.wpcf7-list-item-label:before, #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:not(:checked) + span.wpcf7-list-item-label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked + span.wpcf7-list-item-label:after {
    content: "";
    width: 12px;
    height: 12px;
    background: #5b6570;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    transition: all 0.2s ease;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked + span.wpcf7-list-item-label:after {
    opacity: 1;
    transform: scale(1);
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-select {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    height: 100%;
    background: #fff;
    padding: 20px 15px;
    border: 1px solid #dde2e6;
    word-wrap: break-word;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-select:focus-visible {
    outline: none !important;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-select option {
    word-wrap: break-word;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-text {
    outline: none;
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    padding: 18px 22px;
    background-color: #fff;
    border: 1px solid #dde2e6;
    width: 100%;
    letter-spacing: 0.1em;
    cursor: auto;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-textarea {
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    padding: 18px 22px;
    resize: none;
    outline: none;
    height: 165px;
    flex-grow: 1;
    border: 1px solid #dde2e6;
    background-color: #fff;
    overflow: auto;
    width: 100%;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-textarea::-moz-placeholder {
    color: #abbcca !important;
    opacity: 1; /* Firefoxで色が薄くなるのを防ぐ */
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-textarea::placeholder {
    color: #abbcca !important;
    opacity: 1; /* Firefoxで色が薄くなるのを防ぐ */
  }
  #contact-form-wrapper #input-screen .privacy-note {
    padding-top: 0;
  }
  #contact-form-wrapper #input-screen .wpcf7-submit:after {
    content: none;
  }
  #contact-form-wrapper #input-screen .contact-input-textbox {
    align-items: flex-start;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table {
    width: 90%;
    margin: 0 auto;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table tr {
    border-bottom: 1px solid #dde2e6;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table tr th {
    position: relative;
    margin-top: 17px;
    font-family: "noto-serif-bold", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    width: 100%;
    letter-spacing: 0.1em;
    cursor: default;
    padding: 10px 0 0;
    text-align: left;
    display: block;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table tr td {
    padding: 10px 0 20px;
    width: 100%;
    display: block;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table tr td span {
    word-break: break-word;
  }
  #contact-form-wrapper #confirmation-screen .btn-center {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }
  #contact-form-wrapper #confirmation-screen .btn-center .button-back {
    order: 2;
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    border: 2px solid #5b6570;
    color: #5b6570;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    outline: none;
    transition: background ease-in-out 0.5s, color ease-in-out 0.5s, outline ease-in-out 0.5s;
    font-size: 13px;
    width: 80%;
    height: 57px;
    margin: 23px auto 0;
    border-color: rgba(91, 101, 112, 0.6);
  }
  #contact-form-wrapper #confirmation-screen .btn-center .button-back:hover {
    background: #5b6570;
    color: #fff;
  }
  #contact-form-wrapper #confirmation-screen .btn-center .button {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "lora-regular", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 15px;
    width: 100% !important;
    height: 71.5px;
    position: relative;
    color: #fff;
    background: #e3b127;
    z-index: 1;
    border: 1px solid transparent;
    padding: 0 0 0 4px;
    transition: background ease-in-out 0.5s, color ease-in-out 0.5s, border ease-in-out 0.5s;
    margin: 0 auto;
  }
  #contact-form-wrapper #confirmation-screen .btn-center .button:hover {
    background: #fff;
    color: #e3b127;
    border-color: #e3b127;
  }
}
@media screen and (min-width: 768px) {
  #contact-form-wrapper {
    background-color: #f5f8fa;
    margin-top: 100px;
    padding: 50px 0 37px;
  }
  #contact-form-wrapper #input-screen {
    margin: 40px 109px 40px 112px;
  }
  #contact-form-wrapper #input-screen .contact-input-group {
    border-bottom: 1px solid #dde2e6;
    padding: 21px 0;
    vertical-align: middle;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
  }
  #contact-form-wrapper #input-screen .contact-input-group .ttl-name-box {
    position: relative;
    padding-left: 73px;
    font-family: "noto-serif-bold", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    width: 28%;
    letter-spacing: 0.1em;
    cursor: default;
  }
  #contact-form-wrapper #input-screen .contact-input-group .ttl-name-box .is-required {
    display: flex;
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 11px;
    background-color: #e86f6f;
    color: #fff;
    height: 22px;
    position: absolute;
    top: -2px;
    align-items: center;
    padding: 0 9px;
    left: 0;
  }
  #contact-form-wrapper #input-screen .contact-input-group .ttl-name-box .is-optional {
    display: flex;
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 11px;
    background-color: #d6dbde;
    color: #5b6570;
    height: 22px;
    position: absolute;
    top: -2px;
    align-items: center;
    padding: 0 9px;
    left: 0;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap {
    width: 72%;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio {
    display: flex;
    word-wrap: break-word;
    flex-wrap: wrap;
    flex-direction: row;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked, #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:not(:checked) {
    display: none;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked + span.wpcf7-list-item-label, #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:not(:checked) + span.wpcf7-list-item-label {
    position: relative;
    margin-right: 20px;
    padding-left: 20px;
    cursor: pointer;
    line-height: 19px;
    display: inline-block;
    color: #5b6570;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked + span.wpcf7-list-item-label:before, #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:not(:checked) + span.wpcf7-list-item-label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked + span.wpcf7-list-item-label:after {
    content: "";
    width: 12px;
    height: 12px;
    background: #5b6570;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    transition: all 0.2s ease;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-radio span.wpcf7-list-item input[type=radio]:checked + span.wpcf7-list-item-label:after {
    opacity: 1;
    transform: scale(1);
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-select {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 20px 15px;
    border: 1px solid #dde2e6;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-select:focus-visible {
    outline: none !important;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-text {
    outline: none;
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    padding: 18px 22px;
    background-color: #fff;
    border: 1px solid #dde2e6;
    width: 100%;
    letter-spacing: 0.1em;
    cursor: auto;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-textarea {
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    padding: 18px 22px;
    resize: none;
    outline: none;
    height: 165px;
    flex-grow: 1;
    border: 1px solid #dde2e6;
    background-color: #fff;
    overflow: auto;
    width: 100%;
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-textarea::-moz-placeholder {
    color: #abbcca !important;
    opacity: 1; /* Firefoxで色が薄くなるのを防ぐ */
  }
  #contact-form-wrapper #input-screen .contact-input-group .wpcf7-form-control-wrap .wpcf7-textarea::placeholder {
    color: #abbcca !important;
    opacity: 1; /* Firefoxで色が薄くなるのを防ぐ */
  }
  #contact-form-wrapper #input-screen .wpcf7-submit:after {
    content: none;
  }
  #contact-form-wrapper #input-screen .contact-input-textbox {
    align-items: flex-start;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table {
    width: 80%;
    margin: 0 auto;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table tr {
    border-bottom: 1px solid #dde2e6;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table tr th {
    position: relative;
    margin-top: 17px;
    font-family: "noto-serif-bold", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    width: 28%;
    letter-spacing: 0.1em;
    cursor: default;
    padding: 30px 0;
    text-align: left;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table tr td {
    padding: 30px 0;
  }
  #contact-form-wrapper #confirmation-screen table.confirm-table tr td span {
    word-break: break-word;
  }
  #contact-form-wrapper #confirmation-screen .btn-center {
    display: flex;
    flex-direction: column;
  }
  #contact-form-wrapper #confirmation-screen .btn-center .button-back {
    order: 2;
    font-family: "noto-serif", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    border: 2px solid #5b6570;
    color: #5b6570;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    outline: none;
    transition: background ease-in-out 0.5s, color ease-in-out 0.5s, outline ease-in-out 0.5s;
    font-size: 13px;
    width: 226px;
    height: 57px;
    margin: 23px auto 0;
    border-color: rgba(91, 101, 112, 0.6);
  }
  #contact-form-wrapper #confirmation-screen .btn-center .button-back:hover {
    background: #5b6570;
    color: #fff;
  }
  #contact-form-wrapper #confirmation-screen .btn-center .button {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "lora-regular", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 15px;
    width: 359px !important;
    height: 71.5px;
    position: relative;
    color: #fff;
    background: #e3b127;
    z-index: 1;
    border: 1px solid transparent;
    padding: 0 0 0 4px;
    transition: background ease-in-out 0.5s, color ease-in-out 0.5s, border ease-in-out 0.5s;
    margin: 0 auto;
  }
  #contact-form-wrapper #confirmation-screen .btn-center .button:hover {
    background: #fff;
    color: #e3b127;
    border-color: #e3b127;
  }
}
/* エラーメッセージのスタイル */
.custom-error-message {
  color: #ff0000;
  font-size: 0.85em;
  font-weight: bold;
  display: block;
  margin-top: 5px;
  margin-bottom: 5px;
  animation: fadeIn 0.3s ease; /* ふわっと表示させる */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* エラーがある入力枠を赤くする場合（任意） */
.input-error-border {
  border-color: #ff0000 !important;
  background-color: #fffafa !important;
}

/* 初期状態：確認用テキストは非表示にする */
.contact-form7-toptext02 {
  display: none;
}

/* カスタムドロップダウンの基本構造 */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
  margin-top: 5px;
}

/* 選択中の表示エリア */
.custom-select-display {
  padding: 12px 40px 12px 15px;
  border: 1px solid #ccc;
  background: #fff;
  position: relative;
  line-height: 1.5;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

/* 矢印アイコン */
.custom-select-display::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid #666;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

/* 選択肢リスト（ここが改行の肝） */
.custom-select-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 9999;
  max-height: 350px;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: none; /* JSで制御 */
}

/* 各アイテムの設定 */
.custom-select-item {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
  white-space: normal; /* テキストを折り返す */
  word-wrap: break-word; /* 長い単語を強制改行 */
  color: #333;
}

.custom-select-item:hover {
  background-color: #f5f5f5;
}

/* エラー時の赤枠（カスタム表示側にも適用） */
.custom-select-wrapper.input-error-border .custom-select-display {
  border: 2px solid #ff0000 !important;
  background-color: #fffafa;
}

/* 本物のセレクトボックスはJSで隠す */
#subject {
  display: none !important;
}/*# sourceMappingURL=contact-form7.css.map */