/*!****************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scss/contact.scss ***!
  \****************************************************************************************************************/
@charset "UTF-8";
/**
* @mixin heightControl
* @param {Number} $height - 高さの値（デフォルトは100）
* 
* ビューポートの高さに基づいて要素の高さを設定します。
* モバイルブラウザの動的なビューポート高さに対応するためにdvh単位を使用します。
*/
.contact .article-contact p {
  color: var(--fd-dark-blue);
}
.contact .article-contact .wpcf7 {
  margin-top: 30px;
}
@media not (min-width: 960px) {
  .contact .article-contact .wpcf7 table, .contact .article-contact .wpcf7 tbody, .contact .article-contact .wpcf7 tr, .contact .article-contact .wpcf7 th, .contact .article-contact .wpcf7 td {
    display: block;
    width: 100%;
  }
}
.contact .article-contact .wpcf7 table {
  width: 100%;
}
.contact .article-contact .wpcf7 tr {
  padding-top: 15px;
}
.contact .article-contact .wpcf7 tr:first-of-type {
  padding-top: 0;
}
.contact .article-contact .wpcf7 tr:last-of-type td {
  padding-top: 15px;
  text-align: center;
}
.contact .article-contact .wpcf7 th {
  font-weight: bold;
  line-height: 1.35;
  padding-bottom: 10px;
  color: var(--fd-dark-blue);
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: start;
}
.contact .article-contact .wpcf7 th p {
  display: inline-block;
}
.contact .article-contact .wpcf7 th.required::after {
  content: "(必須)";
  color: var(--fd-red);
  font-size: 0.75rem;
  margin: -3px 0 0 4px;
  display: inline-block;
}
.contact .article-contact .wpcf7 td.privacy {
  border: solid 1px var(--fd-dark-blue);
  border-radius: 5px;
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  background: #f5f7f9;
}
.contact .article-contact .wpcf7 input:not([type=submit]), .contact .article-contact .wpcf7 select, .contact .article-contact .wpcf7 textarea {
  padding: 9px 10px;
  display: block;
  width: 100%;
  border: solid 1px var(--fd-dark-blue);
  border-radius: 5px;
  color: var(--fd-dark-blue);
  line-height: 1;
}
.contact .article-contact .wpcf7 textarea {
  line-height: 1.75;
  min-height: 5lh;
  field-sizing: content;
}
.contact .article-contact .wpcf7 [type=submit] {
  display: inline-block;
  width: auto;
  height: auto;
  padding: 9px 90px;
  font-weight: bold;
  color: var(--fd-dark-blue);
  line-height: 1;
  border-radius: 50px;
  overflow: hidden;
  border: solid 1px var(--fd-dark-blue);
  background: var(--fd-white);
}
.contact .article-contact .wpcf7 input:not([type=submit]), .contact .article-contact .wpcf7 select, .contact .article-contact .wpcf7 textarea {
  background: #f5f7f9;
}
.contact .article-contact .wpcf7 .scroll__wrapper {
  height: 3.5lh;
  overflow-y: scroll;
}
.contact .article-contact .wpcf7 .scroll__content section {
  margin-top: 1.5em;
}
.contact .article-contact .wpcf7 .scroll__content section:first-of-type {
  margin-top: 0.5em;
}
.contact .article-contact .wpcf7 .scroll__content .underline-title__heading {
  font-size: 16px;
  font-weight: bold;
  color: var(--fd-dark-blue);
  padding: 0;
}
.contact .article-contact .wpcf7 .scroll__content .underline-title__heading::before, .contact .article-contact .wpcf7 .scroll__content .underline-title__heading::after {
  display: none !important;
}
.contact .article-contact .wpcf7 .scroll__content p {
  font-size: 14px;
  color: var(--fd-dark-gray);
  margin-top: 0.75em;
}

@media (min-width: 960px) {
  .contact .article-contact .wpcf7 {
    margin-top: 60px;
  }
  .contact .article-contact .wpcf7 table {
    border-spacing: 0; /* 横方向10px、縦方向40pxの隙間 */
  }
  .contact .article-contact .wpcf7 tr {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding-top: 0;
  }
  .contact .article-contact .wpcf7 tr th, .contact .article-contact .wpcf7 tr td {
    margin-bottom: 40px;
  }
  .contact .article-contact .wpcf7 tr:last-of-type {
    justify-content: center;
  }
  .contact .article-contact .wpcf7 tr:last-of-type td {
    grid-column: span 2;
    text-align: center;
  }
  .contact .article-contact .wpcf7 tr:last-of-type th, .contact .article-contact .wpcf7 tr:last-of-type td {
    margin-bottom: 0;
  }
  .contact .article-contact .wpcf7 th {
    width: 183px;
    padding: 0;
    align-items: center;
    height: 100%;
  }
}
