/*============================= お問い合わせフォーム =============================*/
.page-id-992 .l-content {
    margin: 0 auto;
}

form.wpcf7-form,
form.wpcf7-form.init,
form.wpcf7-form.invalid,
.wp-block-group.thanks_block {
    background: #fff;
    padding: 4rem;
    border-radius: 10px;
}
@media screen and (max-width: 768px) {
form.wpcf7-form,
form.wpcf7-form.init,
form.wpcf7-form.invalid,
.wp-block-group.thanks_block {
    padding: 2rem;
}
}
@media screen and (max-width: 768px) {
form.wpcf7-form,
form.wpcf7-form.init,
form.wpcf7-form.invalid {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
}
}

.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
.cf7__list {
  margin-bottom: 30px;
}
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 15px;
}

.confirm_wrap .cf7__list dt:nth-of-type(n + 2),
.confirm_wrap .cf7__list dd:nth-of-type(n + 2) {
  margin-top: 0;
}

            .cf7__list dt {
                width: 35%;
                padding-top: 15px;
                padding-bottom: 15px;
                border-bottom: 1px solid #ddd;
            }

            .cf7__list dd {
                width: 65%;
                border-bottom: 1px solid #ddd;
                padding-bottom: 15px;
            }

            .confirm_wrap .cf7__list dd {
                width: 65%;
                border-bottom: 1px solid #ddd;
                padding-bottom: 0;
				padding-top: 15px;
            }

.sec_confirm .cf7__list dt {
	padding-top: 0;
}


/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #BE1D1D;
}

.cf7__optional {
  background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #f8f8f8;
  border-radius: 4px;
}
.cf7__list dd input[type="date"],
.cf7__list .wpcf7-select {
  padding: 15px 20px;
  background: #f8f8f8;
}
@media screen and (max-width: 768px) {
.cf7__list dd input[type="date"],
.cf7__list .wpcf7-select {
  margin: 4px 0;
  height: 58px;
  padding: 15px 20px;
}
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select select,
.cf7__select input {
  /* width: 50%; */
  padding: 15px 16px;
  margin-right: 10px;
  background: #F4F4F4;
  color: #333333;
  /* -webkit-appearance: none; */
  -moz-appearance: none;
  /* appearance: none; */
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -5px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
}
input[type="checkbox"] {
  margin-top: 8px
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid var(--color_main);
  background: var(--color_main);
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 5px;
  left: 8px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
  text-align: center;
  margin: 0 auto;
}
/*デフォルトのスタイルを無効化する*/
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
span.wpcf7-spinner {
  display: none;
}
.cf7__button input[type="submit"],
.cf7__button input[type="button"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 20px;
  font-weight: 500;
  /* text-align: left; */
  width: 400px;
  padding: 15px;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 0 0 1px #dcdcdc;
  /* color: #666; */
  cursor: pointer;
  margin: 0 auto 30px;
  transition: box-shadow .25s,background-color .25s;
}
@media screen and (max-width: 768px) {
.cf7__button input[type="submit"] {width: 80vw;height: 56px;display: block;padding: 15px;line-height: 1;font-size: 18px;}
}

.cf7__button p {
  display: inline-block; /*インラインブロック要素にする*/
  position: relative;
  height: 68px;
}
@media screen and (max-width: 768px) {
.cf7__button p {
  height: 56px;
}
}

.cf7__button p::after {
    display: inline-block;
    content: "";
    width: 2.3em; /* アイコンの幅 */
    height: 2.3em; /* アイコンの高さ */
    background: #da1417 url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="none"><line x1="40" y1="128" x2="216" y2="128" stroke="%23ffffff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><polyline points="144 56 216 128 144 200" stroke="%23ffffff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: center center;
    border-radius: 100px;
    position: absolute;
    right: 1em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: transform .25s ease;
}
@media screen and (max-width: 768px) {
.cf7__button p::after {
    display: inline-block;
    content: "";
    width: 2em; /* アイコンの幅 */
    height: 2em; /* アイコンの高さ */
    background: #da1417 url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="none"><line x1="40" y1="128" x2="216" y2="128" stroke="%23ffffff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><polyline points="144 56 216 128 144 200" stroke="%23ffffff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center center;
    border-radius: 100px;
    position: absolute;
    right: 1em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: transform .25s ease;
}
}

.cf7__button p:hover:after {
    -webkit-transform: translateX(4px) translateY(-50%);
    transform: translateX(4px) translateY(-50%);
}

.cf7__button input[type="submit"]:hover {
    background-color: #da1417;
    box-shadow: none;
    color: #ffffff;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

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

  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 0;
  }

span.item_tx_s {
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

  /* 送信ボタン */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }
}

.wp-block-group.box_tel {
    width: 900px;
    text-align: center;
    border: 6px solid #6299e82e;
    padding: 1.5em 1.5em .5em;
    margin: 0 auto 4em;
}
@media screen and (max-width: 768px) {
.wp-block-group.box_tel {
    width: 100%;
    text-align: center;
    border: 6px solid #6299e82e;
    padding: 0.5em 0.5em;
    margin: 0 auto 2em;
}
}

h3.wp-block-heading.is-style-section_ttl.telphone_ico {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 1em;
}
h3.wp-block-heading.is-style-section_ttl.telphone_ico img {
  margin-right: 4px;
}
@media screen and (max-width: 768px) {
h3.wp-block-heading.is-style-section_ttl.telphone_ico {
    font-size: 16px;
    padding-left: 28px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}
}

p.tel_number {
    font-family: "Akshar";
    margin-bottom: 0;
    font-size: 32px;
}
@media screen and (max-width: 768px) {
p.tel_number {
    font-family: "Akshar";
    font-size: 18px;
}
p.tel_number span.swl-fz.u-fz-xl strong {
	font-size: 38px!important;
}
}

p.tel_number strong {
    line-height: 1.2;
    /* font-family: "Akshar"; */
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 72px;
}

p.fax_number {
    font-family: "Akshar";
    margin-bottom: 0;
    font-size: 32px;
}
@media screen and (max-width: 768px) {
p.fax_number {
    font-size: 16px;
}
}
p.fax_number strong {
  font-weight: 500;
}

p.has-text-align-center.hours {
    font-size: 16px;
    margin-bottom: 0;
}

.check_privacy {
    text-align: center;
    margin-bottom: 40px;
}

input.wpcf7-form-control.wpcf7-previous {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50px;
    width: 200px;
    padding: 10px 20px;
    margin-bottom: 40px;
}

.contact_sup {
    font-size: 14px;
    margin: 40px 60px;
}
@media screen and (max-width: 768px) {
.contact_sup {
    font-size: 12px;
    margin: 40px 10px;
}
}

.privacy_preface {
    border: 8px solid #F2F4F5;
    padding: 2vw;
    margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
.privacy_preface {
    border: 6px solid #F2F4F5;
    padding: 3vw 3vw 5vw;
    margin-bottom: 40px;
}
.privacy_preface p {
    font-size: 14px;
}
}

.privacy_preface .pref_ttl {
    text-align: center;
    margin-bottom: 20px;
}

.privacy_preface .pref_sub {
    font-weight: bold;
    margin-bottom: 20px;
}

.check_privacy {
    padding: 2vw;
    background: rgba(109, 132, 146, 0.05);
}
@media screen and (max-width: 768px) {
.check_privacy {
    font-size: 14px;
}
}