@charset "UTF-8";
/* お問い合わせページ専用。共通ヘッダー、フッター、他ページには適用しない。 */
.contact-shell .contact-page__inner {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}
/* ページタイトルとリード文：他の下層ページと視覚的に統一 */
.contact-shell .contact-page__intro { margin: 0 0 clamp(24px, 3vw, 34px); }
.contact-shell .contact-page__intro h1 {
  position: relative;
  margin: 0 0 17px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid #d9e2d8;
  color: #152d2a;
  font-size: var(--page-h1-size);
  font-weight: 800;
  line-height: var(--page-h1-line-height);
  letter-spacing: var(--page-h1-tracking);
}
.contact-shell .contact-page__intro h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 88px;
  height: 4px;
  background: var(--yellow);
}
.contact-shell .contact-page__intro p {
  max-width: 100%;
  margin: 0;
  color: #334940;
  font-size: 16px;
  line-height: 1.9;
}
.contact-shell .contact-page__intro p.contact-page__local-service { margin-top: 12px; }
/* 電話バナー1点を中央にコンパクト配置。ページ専用CSSのみで制御する。 */
.contact-shell .contact-page__phone-section {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(18px, 2.8vw, 30px);
  border: 1px solid #e2e9e3;
  border-radius: 12px;
  background: #f7faf8;
  text-align: center;
}
.contact-shell .contact-page__phone-heading {
  margin: 0 0 8px;
  color: #193a32;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 800;
  line-height: 1.5;
}
.contact-shell .contact-page__phone-copy {
  margin: 0 0 20px;
  color: #193a32;
  font-size: clamp(18px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.75;
}
.contact-shell .contact-page__call {
  display: block;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  border-radius: 9px;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}
.contact-shell .contact-page__call img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  object-fit: contain;
}
.contact-shell .contact-page__call:hover { opacity: 0.94; }
.contact-shell .contact-page__call:focus-visible { outline: 3px solid #b36b00; outline-offset: 5px; }
.contact-shell .contact-page__phone-note {
  margin: 16px 0 0;
  color: #25463b;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}
.contact-shell .contact-page__phone-note strong {
  display: block;
  color: #193a32;
  font-size: 18px;
  font-weight: 800;
}
.contact-shell .contact-page__phone-note span { display: block; }
.contact-shell .contact-page__form-section { margin-top: clamp(34px, 4vw, 54px); }
.contact-shell .contact-page__form-section h2 {
  margin: 0 0 16px;
  padding: 0 0 14px 17px;
  border-left: 5px solid var(--yellow);
  border-bottom: 1px solid #e2e8e2;
  color: #192c33;
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 800;
  line-height: 1.45;
}
.contact-shell .contact-page__form-lead {
  margin: 0 0 12px;
  color: #192c33;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 750;
  line-height: 1.55;
}
.contact-shell .contact-page__response-note {
  margin: 0 0 24px;
  color: #bb2626;
  font-size: 15px;
  line-height: 1.7;
}
.contact-shell .contact-page__form-wrap {
  padding: clamp(20px, 3.2vw, 36px);
  border: 1px solid #e0e6e2;
  border-radius: 12px;
  background: #f8faf8;
}
.contact-shell .contact-page__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.contact-shell .contact-page__field { min-width: 0; }
.contact-shell .contact-page__field--full { grid-column: 1 / -1; }
.contact-shell .contact-page__field > label,
.contact-shell .contact-page__category-group > legend {
  margin: 0 0 7px;
  color: #233c3a;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
}
.contact-shell .contact-page__field > label { display: block; }
.contact-shell .contact-page__required { color: #bc2626; font-weight: 800; }
.contact-shell .contact-page__field input:not([type="radio"]),
.contact-shell .contact-page__field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfdad4;
  border-radius: 8px;
  background: #fff;
  color: #213a35;
  font-size: 16px;
  line-height: 1.6;
}
.contact-shell .contact-page__field textarea { min-height: 156px; resize: vertical; }
.contact-shell .contact-page__field input::placeholder,
.contact-shell .contact-page__field textarea::placeholder { color: #74857e; }
.contact-shell .contact-page__field input:focus-visible,
.contact-shell .contact-page__field textarea:focus-visible {
  border-color: #1d6256;
  outline: 2px solid #1d6256;
  outline-offset: 1px;
}
.contact-shell .contact-page__category-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.contact-shell .contact-page__radio-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 25px; }
.contact-shell .contact-page__radio {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #263b38;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
}
.contact-shell .contact-page__radio input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1d6256;
  cursor: pointer;
}
.contact-shell .contact-page__privacy { margin: 20px 0 0; font-size: 14px; color: #53675e; line-height: 1.7; }
.contact-shell .contact-page__privacy a { color: #176052; }
.contact-shell .contact-page__submit-row { display: flex; justify-content: center; margin-top: 20px; }
.contact-shell .contact-page__submit-row button {
  min-width: 245px;
  max-width: 100%;
  padding: 13px 26px;
  border: 0;
  border-radius: 8px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.contact-shell .contact-page__submit-row button:hover { background: var(--button-hover); }
.contact-shell .contact-page__submit-row button:focus-visible { outline: 3px solid #176052; outline-offset: 3px; }
.contact-shell .contact-page__submit-row button:disabled { opacity: .65; cursor: wait; }
.contact-shell .contact-page__feedback {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 7px;
  background: #e5f5e9;
  color: #155236;
  font-size: 15px;
  line-height: 1.75;
}
.contact-shell .contact-page__feedback[data-state="error"] { background: #ffebeb; color: #ab2323; }
.contact-shell .contact-page__feedback[hidden] { display: none; }
.contact-shell .contact-page__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 680px) {
  .contact-shell .contact-page__intro { margin-bottom: 22px; }
  .contact-shell .contact-page__intro h1 { margin-bottom: 14px; padding-bottom: 13px; }
  .contact-shell .contact-page__intro p { font-size: 15px; line-height: 1.85; }
  .contact-shell .contact-page__phone-section { padding: 18px 12px; }
  .contact-shell .contact-page__phone-heading { font-size: 18px; }
  .contact-shell .contact-page__phone-copy { font-size: 17px; margin-bottom: 16px; }
  .contact-shell .contact-page__phone-note { font-size: 16px; margin-top: 14px; }
  .contact-shell .contact-page__phone-note strong { font-size: 17px; }
  .contact-shell .contact-page__call { border-radius: 6px; }
  .contact-shell .contact-page__form-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .contact-shell .contact-page__form-wrap { padding: 20px 15px; }
  .contact-shell .contact-page__form-lead { font-size: 20px; }
  .contact-shell .contact-page__response-note { margin-bottom: 18px; font-size: 14px; }
  .contact-shell .contact-page__submit-row button { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-shell .contact-page__call:hover { opacity: 1; }
}

/* お問い合わせページの動画。全指定をcontact-shell内に閉じ、共通CSSには影響しない。 */
.contact-shell.page-shell { padding-bottom: 28px; }
.contact-shell .contact-page__video-section {
  margin: 24px 0 0;
  padding: 0;
}
.contact-shell .contact-page__video-layout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  min-width: 0;
}
.contact-shell .contact-page__video-trigger,
.contact-shell .contact-page__video-player {
  position: relative;
  display: block;
  flex: 0 0 300px;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #c9d7d0;
  border-radius: 10px;
  background-color: #173a35;
}
.contact-shell .contact-page__video-trigger {
  cursor: pointer;
  background-image: linear-gradient(180deg, rgba(16,43,37,.13), rgba(16,43,37,.5)), url("https://i.ytimg.com/vi/DbKCaH3JO88/hqdefault.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}
.contact-shell .contact-page__video-trigger:hover { filter: brightness(1.08); }
.contact-shell .contact-page__video-trigger:focus-visible { outline-offset: 4px; }
.contact-shell .contact-page__video-play {
  position: absolute;
  top: 50%; left: 50%;
  width: 58px; height: 41px;
  border-radius: 11px;
  background: #dc2727;
  box-shadow: 0 4px 15px rgba(0,0,0,.25);
  transform: translate(-50%, -57%);
}
.contact-shell .contact-page__video-play::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid white;
  transform: translate(-38%, -50%);
}
.contact-shell .contact-page__video-trigger-text {
  position: absolute;
  right: 0; bottom: 10px; left: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 1px 4px #000;
}
.contact-shell .contact-page__video-player {
  border-color: transparent;
  background: #000;
}
.contact-shell .contact-page__video-info { min-width: 0; }
.contact-shell .contact-page__video-info h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}
.contact-shell .contact-page__video-info p {
  margin: 0 0 6px;
  color: #415750;
  font-size: 14px;
  line-height: 1.7;
}
.contact-shell .contact-page__video-info a {
  color: #176052;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 680px) {
  .contact-shell.page-shell { padding-bottom: 24px; }
  .contact-shell .contact-page__video-section { margin-top: 24px; }
  .contact-shell .contact-page__video-layout {
    flex-direction: column;
    align-items: center;
    gap: 11px;
  }
  .contact-shell .contact-page__video-trigger,
  .contact-shell .contact-page__video-player {
    flex: none;
    width: min(100%, 280px);
  }
  .contact-shell .contact-page__video-info { text-align: center; }
  .contact-shell .contact-page__video-info h2 { font-size: 17px; margin-bottom: 5px; }
  .contact-shell .contact-page__video-info p { font-size: 13px; margin-bottom: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-shell .contact-page__video-trigger:hover { filter: none; }
}
