@charset "UTF-8";
/* ============================================================
   CAREOTH お問い合わせページ専用スタイル
   ------------------------------------------------------------
   style.css はデモ原本のため変更禁止。お問い合わせ関連の追加
   スタイルはすべてこのファイルに .cnt- 接頭辞で記述する。
   （news.css / subdir-fix.css と同じ分離方針）

   カラー・角丸・影・見出しの体裁は style.css の既存トークンに
   合わせている（#1e60be / #192c86 / #434856 / radius 20px /
   box-shadow rgba(190,220,252,.5)）。
   ============================================================ */

:root {
  --cnt-blue: #1e60be;
  --cnt-navy: #192c86;
  --cnt-text: #434856;
  --cnt-coral: #f97d79;
  --cnt-bg: #eef5fd;
  --cnt-border: #d6e4f5;
  --cnt-line: rgba(112, 112, 112, 0.25);
  --cnt-shadow: 0 2px 15px 0 rgba(190, 220, 252, 0.5);
  --cnt-radius: 20px;
}

/* ------------------------------------------------------------
   共通見出し（about-hero__title / about-profile__title の踏襲）
------------------------------------------------------------ */
.cnt-title {
  margin-bottom: 40px;
  color: var(--cnt-navy);
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
}

.cnt-title::before {
  display: block;
  margin-bottom: 0.4em;
  content: attr(data-alpha);
  color: var(--cnt-navy);
  font-size: clamp(24px, 3.5vw, 35px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cnt-title span {
  position: relative;
  display: inline-block;
}

.cnt-title span::before,
.cnt-title span::after {
  position: absolute;
  top: 50%;
  display: block;
  content: "";
  width: 40px;
  height: 1px;
  background: var(--cnt-navy);
  translate: 0 -50%;
}

.cnt-title span::before {
  left: calc((40px + 0.7em) * -1);
}

.cnt-title span::after {
  right: calc((40px + 0.7em) * -1);
}

@media (max-width: 768px) {
  .cnt-title span::before,
  .cnt-title span::after {
    width: 20px;
  }

  .cnt-title span::before {
    left: calc((20px + 0.5em) * -1);
  }

  .cnt-title span::after {
    right: calc((20px + 0.5em) * -1);
  }
}

/* ------------------------------------------------------------
   ヒーロー
------------------------------------------------------------ */
.cnt-hero {
  position: relative;
  overflow: hidden;
  padding: 180px 0 90px;
  text-align: center;
  background: #eaf3fd url(../images/about/about-profile_bg01.png) center top no-repeat;
  background-size: 100% auto;
}

/* 下端を白へ溶かし、次セクション（白背景）へ自然につなぐ */
.cnt-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .cnt-hero {
    padding: 130px 0 60px;
  }
}

.cnt-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .cnt-hero__inner {
    padding: 0 20px;
  }
}

.cnt-hero__title {
  margin-bottom: 1.4em;
  color: var(--cnt-navy);
  font-size: clamp(12px, 2.5vw, 16px);
  font-family: serif;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.cnt-hero__title::before {
  display: block;
  margin-bottom: 0.25em;
  content: attr(data-alpha);
  color: var(--cnt-blue);
  font-size: clamp(28px, 5vw, 48px);
}

.cnt-hero__title span {
  position: relative;
  display: inline-block;
}

.cnt-hero__title span::before,
.cnt-hero__title span::after {
  position: absolute;
  top: 50%;
  display: block;
  content: "";
  width: 30px;
  height: 1px;
  background: var(--cnt-blue);
}

.cnt-hero__title span::before {
  left: 0;
  translate: -40px -50%;
}

.cnt-hero__title span::after {
  right: 0;
  translate: 40px -50%;
}

.cnt-hero__lead {
  width: min(100%, 760px);
  margin: 0 auto;
  color: var(--cnt-text);
  font-size: clamp(13px, 2.5vw, 16px);
  font-weight: 500;
  line-height: 2;
}

/* ------------------------------------------------------------
   電話でのお問い合わせ
------------------------------------------------------------ */
.cnt-tel {
  padding: 80px 0 70px;
  text-align: center;
  background: #fff;
}

@media (max-width: 768px) {
  .cnt-tel {
    padding: 50px 0 45px;
  }
}

.cnt-tel__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .cnt-tel__inner {
    padding: 0 20px;
  }
}

.cnt-tel__lead {
  margin-bottom: 24px;
  color: var(--cnt-text);
  font-size: clamp(13px, 2.5vw, 16px);
  line-height: 2;
}

.cnt-tel__num {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 14px 40px;
  color: var(--cnt-navy);
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  border-radius: 666px;
  background: var(--cnt-bg);
  transition: background 0.25s ease, color 0.25s ease;
}

.cnt-tel__num:hover {
  color: var(--cnt-blue);
  background: #e0ecf8;
}

.cnt-tel__num svg {
  width: 0.62em;
  height: 0.62em;
  fill: var(--cnt-blue);
  flex: none;
}

.cnt-tel__note {
  margin-top: 18px;
  color: #7a869a;
  font-size: clamp(11px, 2.2vw, 13px);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   メールフォーム
------------------------------------------------------------ */
.cnt-form {
  padding: 80px 0 110px;
  background: var(--cnt-bg) url(../images/about/about-profile_bg01.png) center top no-repeat;
  background-size: 100% auto;
}

@media (max-width: 768px) {
  .cnt-form {
    padding: 50px 0 70px;
  }
}

.cnt-form__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .cnt-form__inner {
    padding: 0 20px;
  }
}

.cnt-form__lead {
  margin-bottom: 45px;
  color: var(--cnt-text);
  font-size: clamp(13px, 2.5vw, 16px);
  line-height: 2.1;
  text-align: center;
}

.cnt-form__lead .--warn {
  color: #d9453c;
  font-weight: 700;
}

/* エラーサマリー */
.cnt-errors {
  margin-bottom: 30px;
  padding: 22px 26px;
  color: #a3271f;
  background: #fdeceb;
  border: 1px solid #f3c2be;
  border-radius: 12px;
}

.cnt-errors__title {
  margin-bottom: 8px;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 700;
}

.cnt-errors ul {
  padding-left: 1.2em;
  list-style: disc;
  font-size: clamp(13px, 2.5vw, 15px);
  line-height: 1.9;
}

.cnt-errors a {
  text-decoration: underline;
}

/* カード */
.cnt-card {
  overflow: hidden;
  background: #fff;
  border-radius: var(--cnt-radius);
  box-shadow: var(--cnt-shadow);
}

/* 行 */
.cnt-row {
  display: grid;
  grid-template-columns: 28% 1fr;
  border-bottom: 1px solid var(--cnt-line);
}

.cnt-row:last-of-type {
  border-bottom: none;
}

@media (max-width: 768px) {
  .cnt-row {
    grid-template-columns: 1fr;
  }
}

.cnt-row__label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 30px 25px;
  color: #fff;
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 500;
  line-height: 1.7;
  background: var(--cnt-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.cnt-row:last-of-type .cnt-row__label {
  border-bottom: none;
}

@media (max-width: 768px) {
  .cnt-row__label {
    align-items: center;
    padding: 14px 20px;
  }
}

.cnt-row__req,
.cnt-row__any {
  flex: none;
  margin-top: 0.15em;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  border-radius: 666px;
  white-space: nowrap;
}

.cnt-row__req {
  color: #fff;
  background: var(--cnt-coral);
}

.cnt-row__any {
  color: #dbe8f8;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.cnt-row__field {
  padding: 26px 30px;
  color: var(--cnt-text);
  font-size: clamp(13px, 2.5vw, 15px);
}

@media (max-width: 768px) {
  .cnt-row__field {
    padding: 20px;
  }
}

.cnt-row__field > * + * {
  margin-top: 14px;
}

.cnt-row.--error .cnt-row__field {
  background: #fef7f6;
}

/* 入力要素 */
.cnt-input,
.cnt-textarea,
.cnt-select {
  display: block;
  width: 100%;
  padding: 0.85em 1em;
  color: var(--cnt-text);
  font-family: inherit;
  font-size: clamp(14px, 2.5vw, 15px);
  line-height: 1.7;
  background: #fff;
  border: 1px solid var(--cnt-border);
  border-radius: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
}

.cnt-input::placeholder,
.cnt-textarea::placeholder {
  color: #a9b6c7;
}

.cnt-input:focus,
.cnt-textarea:focus,
.cnt-select:focus {
  outline: none;
  border-color: var(--cnt-blue);
  box-shadow: 0 0 0 3px rgba(30, 96, 190, 0.15);
}

.cnt-input.--error,
.cnt-textarea.--error,
.cnt-select.--error {
  border-color: #e0736b;
  background: #fffafa;
}

.cnt-input.--post {
  width: min(100%, 220px);
}

.cnt-select {
  width: min(100%, 280px);
  padding-right: 2.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e60be' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 12px 8px;
  cursor: pointer;
}

.cnt-textarea {
  min-height: 220px;
  resize: vertical;
}

.cnt-sublabel {
  display: block;
  margin-bottom: 6px;
  color: #7a869a;
  font-size: clamp(12px, 2.2vw, 13px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cnt-field-note {
  color: #7a869a;
  font-size: clamp(11px, 2.2vw, 13px);
  line-height: 1.8;
}

.cnt-error-text {
  display: block;
  color: #c0392b;
  font-size: clamp(12px, 2.2vw, 13px);
  font-weight: 500;
  line-height: 1.7;
}

/* ラジオ */
.cnt-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  border: none;
}

.cnt-radio {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0.7em 1.2em;
  font-size: clamp(13px, 2.5vw, 15px);
  line-height: 1.5;
  background: #f5f9fe;
  border: 1px solid var(--cnt-border);
  border-radius: 666px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cnt-radio:hover {
  border-color: var(--cnt-blue);
  background: #eaf2fc;
}

.cnt-radio input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--cnt-blue);
  flex: none;
}

.cnt-radio:has(input:checked) {
  color: var(--cnt-blue);
  font-weight: 500;
  background: #e3eefb;
  border-color: var(--cnt-blue);
}

.cnt-radio:has(input:focus-visible) {
  outline: 2px solid var(--cnt-blue);
  outline-offset: 2px;
}

/* 同意チェック */
.cnt-accepts {
  margin-top: 40px;
  text-align: center;
}

.cnt-accept {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0.6em 1.4em;
  color: var(--cnt-text);
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  background: #fff;
  border: 1px solid var(--cnt-border);
  border-radius: 666px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.cnt-accept:hover {
  border-color: var(--cnt-blue);
}

.cnt-accept input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--cnt-blue);
  flex: none;
}

.cnt-accept:has(input:checked) {
  color: var(--cnt-blue);
  background: #e3eefb;
  border-color: var(--cnt-blue);
}

.cnt-accept:has(input:focus-visible) {
  outline: 2px solid var(--cnt-blue);
  outline-offset: 2px;
}

.cnt-accept .--mark {
  color: var(--cnt-coral);
  font-weight: 700;
}

/* 送信ボタン */
.cnt-submit-wrap {
  margin-top: 26px;
  text-align: center;
}

.cnt-submit {
  min-width: min(100%, 320px);
  padding: 1em 2.4em;
  font-family: inherit;
  font-size: clamp(14px, 2.5vw, 17px);
  font-weight: 500;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px 0 rgba(30, 96, 190, 0.25);
}

.cnt-submit:hover {
  opacity: 0.85;
  box-shadow: 0 8px 22px 0 rgba(30, 96, 190, 0.32);
}

.cnt-submit:focus-visible {
  outline: 3px solid var(--cnt-navy);
  outline-offset: 3px;
}

/* ハニーポット（人間には見せない） */
.cnt-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   サンクスページ
------------------------------------------------------------ */
.cnt-thanks {
  padding: 90px 0 120px;
  text-align: center;
  background: #fff;
}

@media (max-width: 768px) {
  .cnt-thanks {
    padding: 55px 0 80px;
  }
}

.cnt-thanks__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .cnt-thanks__inner {
    padding: 0 20px;
  }
}

.cnt-thanks__card {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 50px;
  background: #fff;
  border-radius: var(--cnt-radius);
  box-shadow: var(--cnt-shadow);
}

@media (max-width: 768px) {
  .cnt-thanks__card {
    padding: 40px 24px;
  }
}

.cnt-thanks__msg {
  margin-bottom: 22px;
  color: var(--cnt-blue);
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cnt-thanks__text {
  color: var(--cnt-text);
  font-size: clamp(13px, 2.5vw, 16px);
  line-height: 2.1;
}

.cnt-thanks__btn {
  margin-top: 40px;
}

/* ------------------------------------------------------------
   日本語の読みやすさ・モーション
------------------------------------------------------------ */
.cnt-hero__lead,
.cnt-tel__lead,
.cnt-form__lead,
.cnt-thanks__text {
  word-break: auto-phrase;
  line-break: strict;
}

.cnt-hero__title,
.cnt-hero__lead {
  animation: cnt-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cnt-hero__lead {
  animation-delay: 0.12s;
}

@keyframes cnt-rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cnt-hero__title,
  .cnt-hero__lead {
    animation: none;
  }

  .cnt-input,
  .cnt-textarea,
  .cnt-select,
  .cnt-radio,
  .cnt-accept,
  .cnt-submit,
  .cnt-tel__num {
    transition: none;
  }
}
