/* お問い合わせフォーム */
.contact-page .radio-group label.check { display: flex; gap: 8px; align-items: center; }
.contact-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================
   CONTACT PAGE
   お問い合わせページ専用デザイン
========================================== */

.quick-contact-page {
    --contact-navy: #10284b;
    --contact-blue: #168cf0;
    --contact-muted: #657e9b;
    --contact-line: #dce9f7;
  
    min-width: 0;
    background: #f7fbff;
    color: var(--contact-navy);
  }
  
  .quick-contact-page,
  .quick-contact-page *,
  .quick-contact-page *::before,
  .quick-contact-page *::after {
    box-sizing: border-box;
  }
  
  .quick-contact-container {
    width: min(100% - 40px, 1200px);
    margin: 0 auto;
  }
  
  /* ==========================================
     ページ上部
  ========================================== */
  
  .quick-contact-hero {
    position: relative;
    min-height: 250px;
    padding: 25px 0 65px;
    background-color: #e9f7ff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  .quick-contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 31px;
    color: #587796;
    font-size: 12px;
  }
  
  .quick-contact-breadcrumb a {
    color: #3978b2;
    text-decoration: none;
  }
  
  .quick-contact-breadcrumb a:hover {
    text-decoration: underline;
  }
  
  .quick-contact-hero-copy {
    max-width: 790px;
  }
  
  .quick-contact-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #168cf0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
  }
  
  .quick-contact-hero h1 {
    margin: 0;
    color: #10284b;
    font-size: clamp(28px, 3.5vw, 43px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.04em;
  }
  
  .quick-contact-hero-copy p {
    margin: 13px 0 0;
    color: #4f6e91;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
  }
  
  /* ==========================================
     フォームカード
  ========================================== */
  
  .quick-contact-main {
    position: relative;
    padding: 0 0 75px;
    margin-top: -33px;
  }
  
  .quick-contact-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 33px 39px 38px;
  
    border: 1px solid #e2eef9;
    border-radius: 10px;
    background: rgba(255,255,255,.98);
  
    box-shadow:
      0 18px 55px rgba(31,107,182,.09),
      0 3px 12px rgba(31,107,182,.025);
  }
  
  /* フォーム見出し */
  .quick-contact-card-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 29px;
  }
  
  .quick-contact-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e4f3ff;
    color: #087df0;
  }
  
  .quick-contact-heading-icon svg {
    width: 30px;
    height: 30px;
  }
  
  .quick-contact-card-heading h2 {
    margin: 0;
    color: #103b71;
    font-size: 24px;
    font-weight: 800;
  }
  
  .quick-contact-card-heading p {
    margin: 6px 0 0;
    color: #758ba6;
    font-size: 12px;
    line-height: 1.7;
  }
  
  /* ==========================================
     フォーム共通
  ========================================== */
  
  .quick-contact-form {
    display: flex;
    flex-direction: column;
    gap: 23px;
  }
  
  .quick-contact-field {
    min-width: 0;
  }
  
  .quick-contact-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
  
    color: #173656;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
  }
  
  .quick-contact-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 20px;
    background: #fff0f2;
    color: #f04b66;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
  }
  
  .quick-contact-label-note {
    color: #6e84a0;
    font-size: 12px;
    font-weight: 600;
  }
  
  /* テキスト入力欄 */
  .quick-contact-page .quick-contact-input,
  .quick-contact-page .quick-contact-textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 16px;
  
    border: 1px solid #cbdcec;
    border-radius: 9px;
    outline: none;
    background: #fff;
  
    color: #183a5d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
  
    transition:
      border-color .2s ease,
      box-shadow .2s ease;
  }
  
  .quick-contact-page .quick-contact-input {
    height: 49px;
    min-height: 49px;
  }
  
  .quick-contact-page .quick-contact-textarea {
    min-height: 175px;
    resize: vertical;
  }
  
  .quick-contact-page .quick-contact-input::placeholder,
  .quick-contact-page .quick-contact-textarea::placeholder {
    color: #9cacc0;
    opacity: 1;
  }
  
  .quick-contact-page .quick-contact-input:focus,
  .quick-contact-page .quick-contact-textarea:focus {
    border-color: #168cf0;
    box-shadow: 0 0 0 4px rgba(22,140,240,.11);
  }
  
  /* ==========================================
     お問い合わせの種類
  ========================================== */
  
  .quick-contact-kinds {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  
  .quick-contact-kinds legend {
    padding: 0;
  }
  
  .quick-contact-radio-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid #dce9f6;
    border-radius: 5px;
    background: #f7fbff;
  }
  
  .quick-contact-radio {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 39px;
    padding: 7px 9px;
    border-radius: 7px;
    color: #284a6e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
  }
  
  .quick-contact-radio:hover {
    background: #eaf5ff;
  }
  
  .quick-contact-radio:has(input:checked) {
    background: #e7f3ff;
    color: #0876d8;
  }
  
  .quick-contact-radio input[type="radio"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #168cf0;
    cursor: pointer;
  }
  
  .quick-contact-radio span {
    min-width: 0;
  }
  
  /* 入力文字数の説明 */
  .quick-contact-char-note {
    margin: 7px 0 0;
    color: #879ab0;
    font-size: 11px;
    text-align: right;
  }
  
  /* ==========================================
     迷惑送信防止用の隠し項目
  ========================================== */
  
  .quick-contact-page .quick-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  /* ==========================================
     プライバシー案内
  ========================================== */
  
  .quick-contact-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 9px;
    background: #eff7ff;
  }
  
  .quick-contact-privacy-icon {
    display: flex;
    flex-shrink: 0;
    margin-top: 1px;
    color: #168cf0;
  }
  
  .quick-contact-privacy-icon svg {
    width: 19px;
    height: 19px;
  }
  
  .quick-contact-privacy p {
    margin: 0;
    color: #607c99;
    font-size: 12px;
    line-height: 1.85;
  }
  
  .quick-contact-privacy a {
    color: #087de0;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  
  /* ==========================================
     送信ボタン
  ========================================== */
  
  .quick-contact-submit-area {
    display: flex;
    justify-content: center;
    padding-top: 2px;
  }
  
  .quick-contact-page .quick-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  
    width: min(100%, 350px);
    min-height: 54px;
    padding: 13px 23px;
  
    border: none;
    border-radius: 28px;
    background: linear-gradient(
      180deg,
      #31a7ff 0%,
      #168cf0 50%,
      #0875d8 100%
    );
  
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
  
    box-shadow: 0 7px 18px rgba(14,122,220,.18);
    cursor: pointer;
  
    transition:
      transform .2s,
      box-shadow .2s,
      filter .2s;
  }
  
  .quick-contact-submit svg {
    width: 20px;
    height: 20px;
  }
  
  .quick-contact-page .quick-contact-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 11px 23px rgba(14,122,220,.25);
  }
  
  /* エラー表示 */
  .quick-contact-errors:empty {
    display: none;
  }
  
  .quick-contact-errors:not(:empty) {
    margin-bottom: 5px;
  }
  
  /* フォーカス */
  .quick-contact-page a:focus-visible,
  .quick-contact-page button:focus-visible,
  .quick-contact-page input:focus-visible,
  .quick-contact-page textarea:focus-visible {
    outline: 3px solid #168cf0;
    outline-offset: 3px;
  }
  
  /* ==========================================
     タブレット
  ========================================== */
  
  @media (max-width: 900px) {
    .quick-contact-container {
      width: calc(100% - 34px);
    }
  
    .quick-contact-card {
      padding: 29px;
    }
  }
  
  /* ==========================================
     スマートフォン
  ========================================== */
  
  @media (max-width: 640px) {
    .quick-contact-container {
      width: calc(100% - 26px);
    }
  
    .quick-contact-hero {
      min-height: 260px;
      padding: 18px 0 63px;
      background-position: 66% center;
    }
  
    .quick-contact-breadcrumb {
      margin-bottom: 23px;
      font-size: 10px;
    }
  
    .quick-contact-hero h1 {
      font-size: 29px;
    }
  
    .quick-contact-hero-copy p {
      font-size: 12px;
      line-height: 1.8;
    }
  
    .quick-contact-hero-copy p br {
      display: none;
    }
  
    .quick-contact-main {
      margin-top: -25px;
      padding-bottom: 45px;
    }
  
    .quick-contact-card {
      padding: 23px 17px 27px;
      border-radius: 16px;
    }
  
    .quick-contact-card-heading {
      gap: 12px;
      margin-bottom: 24px;
    }
  
    .quick-contact-heading-icon {
      width: 49px;
      height: 49px;
    }
  
    .quick-contact-heading-icon svg {
      width: 24px;
      height: 24px;
    }
  
    .quick-contact-card-heading h2 {
      font-size: 19px;
    }
  
    .quick-contact-card-heading p {
      font-size: 11px;
    }
  
    .quick-contact-form {
      gap: 19px;
    }
  
    .quick-contact-label {
      font-size: 13px;
    }
  
    .quick-contact-radio-list {
      padding: 10px 8px;
    }
  
    .quick-contact-radio {
      font-size: 12px;
      gap: 9px;
    }
  
    .quick-contact-page .quick-contact-input,
    .quick-contact-page .quick-contact-textarea {
      font-size: 16px;
    }
  
    .quick-contact-page .quick-contact-textarea {
      min-height: 165px;
    }
  
    .quick-contact-privacy {
      padding: 12px;
    }
  
    .quick-contact-privacy p {
      font-size: 11px;
    }
  
    .quick-contact-page .quick-contact-submit {
      width: 100%;
      font-size: 15px;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .quick-contact-page * {
      transition: none !important;
    }
  }
  