@charset "UTF-8";
/*
 * 2026-11-21 英字の書体の名前を main.css の @font-face と同じ raleway-regular に直した（"raleway" という書体は無かった）
 * css/contact.css（お問合わせのページだけの見た目）
 * 依存ファイル: img/mortar/mortar_detail.jpg（見出しの背景）
 * 呼び出し元: contact.html（init.php の $reqCSS＝reset・animate・main・bootstrap のあとに読む）
 * 呼び出し先: なし
 * 作成: 2026-11-21（モルタル造形のページと同じ色・文字で、落ち着いた形に作り直し）
 * - 2026-11-21 文字の濃さをそろえた（説明の文・入力例・電話番号を濃く、項目名の太さを少し落とした・見出しの背景を控えめに）
 */
.ct_page {
  --ct-base: #f3f0ea;
  --ct-sand: #e4ded3;
  --ct-stone: #7d8794;
  --ct-ink: #2b2e33;      /* 本文・入力した文字 */
  --ct-sub: #4c5157;      /* 説明の文（白の上でも読める濃さ） */
  --ct-ph: #8a867e;       /* 入力例（薄すぎない灰） */
  --ct-wood: #c98a2b;
  --ct-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  background: var(--ct-base);
  color: var(--ct-ink);
}
.ct_page .ct_inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
.ct_page .pc { display: inline; }

/* サイト共通のヘッダー：bootstrap（init.php の $reqCSS）でメニューが 15px 下にずれるのを戻す */
.ct_page header nav ul { margin: 0; padding: 0; }

/* 見出し */
.ct_page .ct_hero {
  position: relative;
  overflow: hidden;
  background: var(--ct-ink);
  padding: 120px 0 96px;
}
.ct_page .ct_hero_bg {
  position: absolute;
  inset: 0;
  background: url("../img/mortar/mortar_detail.jpg") center / cover no-repeat;
  opacity: .22;            /* 白い文字が読みやすいよう、背景の石は控えめに */
  filter: grayscale(.3);
}
.ct_page .ct_hero .ct_inner { position: relative; }
.ct_page .ct_kicker {
  font-family: "raleway-regular", "Raleway", sans-serif;
  font-size: 13px;
  letter-spacing: .45em;
  color: rgba(255,255,255,.85);
  margin: 0 0 20px;
}
.ct_page .ct_title {
  font-family: var(--ct-serif);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: .15em;
  color: #fff;
  margin: 0 0 24px;
  text-align: left;
}
.ct_page .ct_lead {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .04em;
  color: rgba(255,255,255,.92);
  margin: 0;
  text-align: left;
}

/* 本体：左に電話、右にフォーム */
.ct_page .ct_body { padding: 96px 0 120px; }
.ct_page .ct_body .ct_inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.ct_page .ct_side {
  position: sticky;
  top: 24px;
  padding: 32px 28px;
  background: #fff;
  border-top: 3px solid var(--ct-stone);
}
.ct_page .ct_side_title {
  font-family: var(--ct-serif);
  font-size: 15px;
  letter-spacing: .15em;
  color: var(--ct-ink);
  margin: 0 0 12px;
}
.ct_page .ct_tel { margin: 0 0 16px; }
.ct_page .ct_tel a {
  font-family: "raleway-regular", "Raleway", sans-serif;
  font-weight: 600;                 /* 細い字だと薄く見えるため */
  font-size: 26px;
  letter-spacing: .06em;
  color: var(--ct-ink);
  text-decoration: none;
}
.ct_page .ct_side_note {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ct-sub);
  margin: 0;
}

.ct_page .ct_form {
  background: #fff;
  padding: 56px 56px 48px;
  margin: 0;
  text-align: left;
}
.ct_page .ct_note {
  font-size: 14px;
  line-height: 2;
  color: var(--ct-sub);
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ct-sand);
}
.ct_page .ct_warn { color: #8c3b2e; }

.ct_page .ct_field { margin: 0 0 28px; }
.ct_page .ct_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ct_page .ct_label {
  display: block;
  font-size: 14px;
  font-weight: 600;                 /* 太すぎて説明の文と差が開きすぎないように */
  letter-spacing: .08em;
  color: var(--ct-ink);
  margin: 0 0 10px;
}
.ct_page .ct_req {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: .1em;
  color: #fff;
  background: var(--ct-wood);
  vertical-align: 2px;
}
.ct_page .ct_input,
.ct_page .ct_select select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 16px;               /* スマホで勝手に拡大されない大きさ */
  line-height: 1.6;
  color: var(--ct-ink);
  background: var(--ct-base);
  border: 1px solid var(--ct-sand);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, background .2s;
}
.ct_page .ct_input::placeholder { color: var(--ct-ph); opacity: 1; }
.ct_page .ct_input:focus,
.ct_page .ct_select select:focus {
  outline: none;
  background: #fff;
  border-color: var(--ct-stone);
}
.ct_page .ct_textarea { min-height: 180px; resize: vertical; }
.ct_page .ct_select { position: relative; }
.ct_page .ct_select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1px solid var(--ct-sub);
  border-bottom: 1px solid var(--ct-sub);
  transform: rotate(45deg);
  pointer-events: none;
}
.ct_page .ct_select select { padding-right: 44px; cursor: pointer; }

/* 個人情報 */
.ct_page .ct_terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 40px 0 32px;
  padding: 20px 24px;
  background: var(--ct-base);
}
.ct_page .ct_terms input[type="checkbox"] {       /* main.css で隠されているのを、ここでは必ず見せる */
  display: inline-block !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  accent-color: var(--ct-ink);
  cursor: pointer;
}
.ct_page .ct_terms label::before,
.ct_page .ct_terms label::after { content: none !important; display: none !important; }
.ct_page .ct_check { font-size: 14px; margin: 0; cursor: pointer; }
.ct_page .ct_terms_link {
  margin-left: auto;
  font-size: 13px;
  color: var(--ct-sub);
  text-decoration: underline;
}

/* ボタン */
.ct_page .ct_buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ct_page .ct_submit {
  flex: 1;
  color: #fff !important;
  opacity: 1 !important;
  padding: 20px 24px;
  font-size: 16px;
  letter-spacing: .3em;
  color: #fff;
  background: var(--ct-ink) !important;
  border: 1px solid var(--ct-ink);
  border-radius: 0;
  cursor: pointer;
  transition: background .3s, color .3s, opacity .3s;
}
.ct_page .ct_submit:not(:disabled):hover { background: #fff !important; color: var(--ct-ink) !important; }
.ct_page .ct_submit:disabled {                   /* 押せないときも文字ははっきり見せる */
  background: #9aa0a6 !important;
  border-color: #9aa0a6 !important;
  color: #fff !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
.ct_page .ct_submit:disabled:hover { background: #9aa0a6 !important; color: #fff !important; }
.ct_page .ct_submit .text { color: inherit !important; opacity: 1 !important; visibility: visible !important; }
.ct_page .ct_hint {
  font-size: 13px;
  color: var(--ct-sub);
  margin: -16px 0 20px;
}
.ct_page .ct_submit.is_sending { letter-spacing: .1em; }
.ct_page .ct_reset {
  opacity: 1 !important;
  padding: 20px 8px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ct-sub);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

/* スマホ */
@media screen and (max-width: 900px) {
  .ct_page .ct_body .ct_inner { grid-template-columns: 1fr; gap: 32px; }
  .ct_page .ct_side { position: static; order: 2; }
}
@media screen and (max-width: 768px) {
  .ct_page .ct_inner { padding: 0 20px; }
  .ct_page .ct_hero { padding: 80px 0 64px; }
  .ct_page .ct_title { font-size: 28px; }
  .ct_page .ct_lead { font-size: 14px; }
  .ct_page .pc { display: none; }
  .ct_page .ct_body { padding: 48px 0 80px; }
  .ct_page .ct_form { padding: 32px 20px; }
  .ct_page .ct_row { grid-template-columns: 1fr; gap: 0; }
  .ct_page .ct_terms_link { margin-left: 0; }
  .ct_page .ct_buttons { flex-direction: column; gap: 4px; }
  .ct_page .ct_submit { width: 100%; }
}

/* bootstrap が読み込めないときも、隠す項目（クーポン）・営業メールで隠す同意欄とボタンを隠す */
.ct_page .d-none { display: none !important; }
