@charset "UTF-8";
.contactform {
  padding-top: 80px; }
  @media screen and (min-width: 768px) {
    .contactform {
      padding-top: 150px; } }
  @media screen and (min-width: 768px) {
    .contactform dl {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between; } }
  .contactform dl dt {
    width: 100%;
    margin-bottom: 10px; }
    @media screen and (min-width: 768px) {
      .contactform dl dt {
        width: 200px;
        margin-bottom: 30px; } }
  .contactform dl dd {
    margin-bottom: 30px;
    width: 100%; }
    @media screen and (min-width: 768px) {
      .contactform dl dd {
        width: -webkit-calc(100% - 220px);
        width: calc(100% - 220px); } }
  .contactform dl span.req {
    color: #AF4541;
    line-height: 1.0;
    padding: 0px 0px 0px 7px;
    font-size: 15px;
    display: inline-block; }
  .contactform dl p {
    margin: 0px !important; }
  .contactform dl .policy {
    font-weight: bold; }
    .contactform dl .policy a {
      color: #333333;
      font-size: 1.4rem;
      text-decoration: underline;
      margin-bottom: 20px; }
    .contactform dl .policy .agree {
      margin-top: 20px;
      color: #000000;
      font-size: 1.8rem; }
  .contactform .lastcheck {
    text-align: left;
    width: 100%;
    margin-bottom: 30px; }
    @media screen and (min-width: 768px) {
      .contactform .lastcheck {
        text-align: center;
        margin-bottom: 45px; } }
    .contactform .lastcheck span {
      line-height: 1.2; }
    .contactform .lastcheck span.req {
      color: #AF4541;
      padding: 0px 0px 0px 0px;
      font-size: 12px;
      display: inline-block; }
    .contactform .lastcheck a {
      border-bottom: 1px solid #000;
      color: #000; }
    .contactform .lastcheck .consent-error {
      color: #AF4541;
      margin-top: 10px; }
    .contactform .lastcheck .consent-error.is-hidden {
      display: none; }
    .contactform .lastcheck .consent-label {
      display: flex;
      align-items: center;
      gap: 0.4em; }
    .contactform .lastcheck .consent-label .wpcf7-list-item {
      margin: 0; }
    .contactform .lastcheck .wpcf7-list-item-label {
      font-size: 0; }
    .contactform .lastcheck .wpcf7-list-item {
      width: 25px;
      height: 25px; }
    .contactform .lastcheck p {
      display: inline-block; }
    .contactform .lastcheck .wpcf7-not-valid-tip {
      padding-top: 2px;
      color: #af4541;
      bottom: -20px;
      position: absolute;
      left: 0px;
      width: 300px;
      text-align: left; }
    .contactform .lastcheck .wpcf7-not-valid-tip[aria-hidden="true"] {
      display: none; }

.modalwindow-trigger {
  border-bottom: 1px solid #000;
  cursor: pointer; }

/* デザインカスタマイズ */
.wpcf7 input,
.wpcf7 textarea {
  padding: 16px 15px;
  margin: 0 auto;
  border: 1px solid #D6D6D6;
  border-radius: 5px;
  box-sizing: border-box; }
  .wpcf7 input:focus,
  .wpcf7 textarea:focus {
    border-color: #AF4541; }
.wpcf7 .wpcf7-captchac {
  border: 1px solid #ccc; }

/*send btn*/
.wpcf7 input.wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  cursor: pointer;
  color: #fff;
  background: #000;
  font-size: 13px;
  padding: 24px 10px;
  transition: background .25s ease-out, padding .25s ease-out; }
  .wpcf7 input.wpcf7-submit:hover {
    background: #333;
    padding: 24px 10px; }
  .wpcf7 input.wpcf7-submit:active {
    position: relative; }
.wpcf7 .send {
  padding-bottom: 0; }

/* error sent-ok*/
.wpcf7 {
  /* input / textarea のオートフィル背景を白に */ }
  .wpcf7 .wpcf7-not-valid {
    background: #FCF0F1; }
  .wpcf7 .wpcf7-not-valid-tip {
    padding-top: 2px;
    color: #AF4541; }
  .wpcf7 .wpcf7-response-output {
    margin: 10px 0 0;
    padding: 8px 35px 8px 14px;
    border-radius: 4px; }
  .wpcf7 .wpcf7-validation-errors {
    color: #fff;
    background-color: #AF4541; }
  .wpcf7 .wpcf7-mail-sent-ok {
    color: #fff;
    background-color: #AF4541; }
  .wpcf7 input:-webkit-autofill,
  .wpcf7 textarea:-webkit-autofill,
  .wpcf7 select:-webkit-autofill {
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 9999s ease-in-out 0s; }
  .wpcf7 .file .wpcf7-form-control-wrap {
    position: relative; }
    .wpcf7 .file .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
      color: #AF4541;
      position: absolute;
      bottom: -43px;
      left: -100px;
      width: 280px; }

/* required*/
.wpcf7 .required {
  color: #AF4541; }

.wpcf7 .form-width {
  width: 100% !important; }

.wpcf7 {
  /*radio*/ }
  .wpcf7 .wpcf7-list-item {
    margin: 0px !important; }
  .wpcf7 span.wpcf7-list-item {
    display: block; }
  .wpcf7 .choice {
    padding-bottom: 7px;
    margin-bottom: 15px;
    border-bottom: 1px dotted #ccc; }

input[type=radio],
input[type=checkbox] {
  display: inline-block;
  margin-right: 15px !important; }

input[type=radio] + span,
input[type=checkbox] + span {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  line-height: 30px;
  cursor: pointer; }

@media (min-width: 1px) {
  /* 共通：input を隠す */
  input[type="radio"],
  input[type="checkbox"] {
    display: none;
    margin: 0; }

  /* 共通：ラベルテキスト */
  input[type="radio"] + span,
  input[type="checkbox"] + span {
    position: relative;
    padding-left: 35px;
    cursor: pointer; }

  /* 外枠（○） */
  input[type="radio"] + span::before,
  input[type="checkbox"] + span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 1px solid #D6D6D6;
    border-radius: 50%; }

  /* 選択時の黒● */
  input[type="radio"]:checked + span::after,
  input[type="checkbox"]:checked + span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #666666;
    border-radius: 50%; }

  /* 項目間の余白 */
  label {
    display: block;
    margin-bottom: 16px; } }
/* 添付ファイルボタン見た目 */
.file-btn {
  position: relative;
  align-items: center;
  width: 190px;
  background: #666666;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
  line-height: 1;
  border-radius: 5px;
  text-align: center;
  padding: 5px 5px;
  margin-bottom: 7px; }

/* file input を透明に重ねる */
.file-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer; }

/* ファイル名表示 */
.file-name {
  color: #333;
  word-break: break-all;
  padding-bottom: 25px;
  display: none; }

.attachment {
  color: #666666;
  font-size: 11px;
  margin-bottom: 30px; }
  @media screen and (min-width: 768px) {
    .attachment {
      margin-bottom: 60px; } }

/* CF7が自動で入れる<p>対策 */
.wpcf7 p {
  margin: 0; }

.wpcf7 dd.file p {
  display: flex; }

/* loader 中央ぞろえ */
.wpcf7 .send {
  text-align: center; }

.wpcf7 .send .wpcf7-spinner {
  margin: 5px auto; }

/* アラート装飾 */
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output {
  text-align: center;
  border: none;
  color: #af4541; }

/*ios対策*/
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer; }

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none; }

input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px; }

/*ラジオボタンサイズ変更*/
input[type="radio"] {
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  margin-right: 0.2em;
  position: relative;
  top: 11px; }

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #AF4541;
  text-align: center; }

.modalwindow {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999; }

.modalwindow-wrap {
  padding-left: 2%;
  padding-right: 2%; }

.body-wrap {
  max-width: 940px;
  margin: 0px auto;
  padding-left: 10px;
  padding-right: 10px; }
  @media screen and (min-width: 768px) {
    .body-wrap {
      padding-left: 20px;
      padding-right: 20px; } }

.modalwindow.is-open {
  display: block; }

.modalwindow-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); }

.modalwindow-content {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 80px auto;
  padding: 24px;
  background: #fff;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none; }
  .modalwindow-content::-webkit-scrollbar {
    display: none;
    padding: 30px 30px; }
  @media screen and (max-width: 1190px) {
    .modalwindow-content {
      max-height: 80vh; } }
  @media screen and (min-width: 768px) {
    .modalwindow-content {
      padding: 30px 26px; } }
  @media screen and (min-width: 1191px) {
    .modalwindow-content {
      max-height: 620px; } }
  @media screen and (min-width: 768px) {
    .modalwindow-content .modalwindow-body {
      padding-left: 76px;
      padding-right: 76px; } }
  .modalwindow-content h2.modalwindow-tit {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #D6D6D6;
    margin-bottom: 20px;
    padding-bottom: 30px; }
    @media screen and (min-width: 768px) {
      .modalwindow-content h2.modalwindow-tit {
        margin-top: 34px;
        margin-bottom: 65px;
        padding-bottom: 81px; } }
  .modalwindow-content h2.modalwindow-subtit {
    font-size: 20px; }

.modalwindow-body .body-wrap {
	line-height: 2;
}

.modalwindow-body .body-wrap > ul {
	margin: 30px 0;
}

.modalwindow-body .body-wrap > ul > li {
	margin-bottom: 30px;
}

.modalwindow-body .body-wrap > ul > li li {
	padding-left: 1em;
	position: relative;
}

.modalwindow-body .body-wrap > ul > li li:before {
	content: "・";
	left: 0;
	position: absolute;
	top: 0;
}


.modalwindow-close {
  position: sticky;
  /* スクロール追従 */
  top: 0px;
  /* 親内の上からの位置 */
  align-self: flex-start;
  /* sticky の効き補助 */
  justify-self: flex-end;
  /* 右寄せ */
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10;
  border-radius: 50%;
  margin-left: auto;
  /* 右寄せ */ }
  .modalwindow-close::before, .modalwindow-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 1px;
    background: #333;
    pointer-events: none; }
  .modalwindow-close::before {
    transform: translate(-50%, -50%) rotate(45deg); }
  .modalwindow-close::after {
    transform: translate(-50%, -50%) rotate(-45deg); }

.consent-text {
	display: block;
}