@charset "UTF-8";

/* お問い合わせ（入力・確認・完了ページ共通）
   会社案内ページのサブページ型を踏襲 */

.ct-hero{
  position:relative;
  min-height:245px;
  overflow:hidden;
  background:linear-gradient(135deg,#eaf3fc 0%,#d6e8fa 100%);
}
.ct-hero-inner{
  position:relative;
  z-index:1;
  min-height:245px;
  display:flex;
  align-items:center;
}
.ct-hero-copy{max-width:720px}
.ct-hero-copy h1{
  margin:0 0 10px;
  color:#06458e;
  font-size:clamp(2.2rem,4.5vw,3.6rem);
  line-height:1.15;
}
.ct-hero-lead{
  margin:0 0 8px;
  color:#0753a8;
  font-size:clamp(1.15rem,2vw,1.5rem);
  font-weight:800;
  line-height:1.45;
}
.ct-hero-text{
  margin:0;
  color:#365f83;
  font-weight:600;
  line-height:1.75;
}

.breadcrumb{
  border-bottom:1px solid #e5edf5;
  background:#fff;
}
.breadcrumb ol{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#56718d;
  font-size:.9rem;
}
.breadcrumb li+li::before{
  content:"›";
  margin-right:8px;
  color:#94a9bb;
}
.breadcrumb a{color:#0759b7}

.ct-section{padding:78px 0 82px}

/* 2カラム（フォーム＋電話案内） */
.ct-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:40px;
  align-items:start;
}
.ct-h2{
  margin:0 0 12px;
  padding-left:14px;
  border-left:5px solid #1682e9;
  color:#064b9f;
  font-size:clamp(1.3rem,2.6vw,1.65rem);
  line-height:1.4;
}
.ct-lead{
  margin:0 0 24px;
  color:#365f83;
  line-height:1.9;
}

/* フォーム */
.ct-field{
  margin:0 0 22px;
  padding:0;
  border:0;
  min-width:0;
}
.ct-field label,
.ct-field legend{
  display:block;
  margin:0 0 8px;
  padding:0;
  color:#15335d;
  font-size:1rem;
  font-weight:700;
}
.ct-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.ct-req{
  display:inline-block;
  margin-left:6px;
  padding:4px 7px;
  border-radius:3px;
  background:#ff6500;
  color:#fff;
  font-size:.75rem;
  font-weight:700;
  line-height:1;
  vertical-align:1px;
}
.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field input[type="tel"],
.ct-field select,
.ct-field textarea{
  width:100%;
  min-height:50px;
  padding:12px 14px;
  border:2px solid #c9d8ea;
  border-radius:6px;
  background:#fff;
  color:#15335d;
  font:inherit;
  font-size:1.06rem;
  transition:border-color .15s,box-shadow .15s;
}
.ct-field textarea{
  min-height:190px;
  line-height:1.7;
  resize:vertical;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder{
  color:#6f84a0;
  font-size:.94rem;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus{
  outline:none;
  border-color:#1682e9;
  box-shadow:0 0 0 4px rgba(22,130,233,.18);
}
.ct-field [aria-invalid="true"]{
  border-color:#c62828;
  background:#fff7f7;
}
.ct-error{
  margin:8px 0 0;
  color:#c62828;
  font-size:.94rem;
  font-weight:700;
}

.ct-radios{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
}
.ct-radios legend{width:100%}
.ct-field .ct-radio,
.ct-field .ct-check{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-weight:500;
  cursor:pointer;
}
.ct-radio input,
.ct-check input{
  flex:0 0 auto;
  width:22px;
  height:22px;
  accent-color:#1682e9;
}

.ct-privacy{
  padding:16px 18px;
  border-radius:8px;
  background:#f3faff;
}
.ct-privacy a{
  color:#0759b7;
  text-decoration:underline;
}
.ct-note{
  margin:8px 0 0;
  color:#4b6385;
  font-size:.88rem;
}

/* ボット対策用の入力欄（画面外へ） */
.ct-hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* ボタン（CTAはオレンジ） */
.ct-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:8px;
}
.ct-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 34px;
  border:2px solid transparent;
  border-radius:6px;
  font:inherit;
  font-size:1.06rem;
  font-weight:800;
  cursor:pointer;
  transition:background .15s,color .15s;
}
.ct-btn-main{
  min-width:240px;
  border-color:#ff6500;
  background:#ff6500;
  color:#fff;
}
.ct-btn-main:hover{
  border-color:#e05a00;
  background:#e05a00;
}
.ct-btn-sub{
  border-color:#06458e;
  background:#fff;
  color:#06458e;
}
.ct-btn-sub:hover{
  background:#06458e;
  color:#fff;
}
.ct-btn:focus-visible{
  outline:3px solid #1682e9;
  outline-offset:3px;
}

/* 入力エラー */
.ct-alert{
  margin:0 0 26px;
  padding:16px 20px;
  border:2px solid #c62828;
  border-radius:8px;
  background:#fff7f7;
  color:#15335d;
}
.ct-alert strong{
  display:block;
  margin-bottom:6px;
  color:#c62828;
}
.ct-alert ul{
  margin:0;
  padding-left:1.3em;
}
.ct-alert li{list-style:disc}
.ct-alert a{
  color:#c62828;
  text-decoration:underline;
}
.ct-alert:focus{
  outline:3px solid #c62828;
  outline-offset:2px;
}

/* 入力内容の確認 */
.ct-confirm{
  margin:0 0 28px;
  border-top:1px solid #c9d8ea;
}
.ct-confirm>div{
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  gap:14px;
  padding:16px 4px;
  border-bottom:1px solid #c9d8ea;
}
.ct-confirm dt{
  color:#06458e;
  font-weight:700;
}
.ct-confirm dd{
  margin:0;
  word-break:break-word;
}
.ct-pre{white-space:pre-wrap}

/* サイドのカード */
.ct-side{
  position:sticky;
  top:20px;
  display:grid;
  gap:20px;
}
.ct-card{
  padding:22px 22px 24px;
  border:2px solid #c9d8ea;
  border-radius:10px;
  background:#fff;
}
.ct-card h2{
  margin:0 0 12px;
  color:#06458e;
  font-size:1.06rem;
  line-height:1.5;
}
.ct-card p{
  margin:0;
  line-height:1.8;
}
.ct-tel{
  border-color:#1682e9;
  background:#f3faff;
  text-align:center;
}
.ct-tel-num{
  display:block;
  margin:4px 0 6px;
  color:#06458e;
  font-size:clamp(1.65rem,3.4vw,2rem);
  font-weight:900;
  letter-spacing:.02em;
}
.ct-list li{
  position:relative;
  padding:8px 0 8px 26px;
  border-bottom:1px dashed #c9d8ea;
  line-height:1.6;
}
.ct-list li:last-child{border-bottom:0}
.ct-list li::before{
  content:"";
  position:absolute;
  left:2px;
  top:15px;
  width:12px;
  height:7px;
  border-left:3px solid #2e9d5f;
  border-bottom:3px solid #2e9d5f;
  transform:rotate(-45deg);
}
.ct-free{
  border-color:#ffc999;
  background:#fff4ea;
}
.ct-free h2{color:#b34700}

/* 完了ページ */
.ct-thanks{max-width:760px}
.ct-thanks-tel{margin:0 0 28px}

@media(max-width:900px){
  .ct-layout{
    grid-template-columns:1fr;
    gap:32px;
  }
  .ct-side{
    position:static;
    order:-1;
  }
  .ct-side .ct-card:not(.ct-tel){display:none}
}

@media(max-width:767px){
  .ct-hero,
  .ct-hero-inner{min-height:260px}
  .ct-hero-inner{
    justify-content:center;
    text-align:center;
  }
  .ct-hero-copy h1{font-size:1.8rem}
  .ct-section{padding:62px 0 66px}
}

@media(max-width:600px){
  .ct-row{
    grid-template-columns:1fr;
    gap:0;
  }
  .ct-confirm>div{
    grid-template-columns:1fr;
    gap:4px;
  }
  .ct-btn{width:100%}
  .ct-btn-main{min-width:0}
  .ct-field input[type="text"],
  .ct-field input[type="email"],
  .ct-field input[type="tel"],
  .ct-field select,
  .ct-field textarea{font-size:1rem} /* iOSの自動ズーム防止（16px以上） */
}

@media(prefers-reduced-motion:reduce){
  .ct-btn,
  .ct-field input,
  .ct-field select,
  .ct-field textarea{transition:none}
}
