/*
  style-contact.css
  コンタクト（お問い合わせ・お申し込み）ページ専用スタイル
  Okoh Risnn — 白基調・シック
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #c8a86a;
  --gold-light: #d4b483;
  --text-main:  #1a2c42;
  --text-sub:   rgba(26,44,66,0.70);
  --text-light: rgba(26,44,66,0.42);
  --bg:         #f2f8ff;
  --bg-card:    #F7FAFF;;
  --border:     rgba(0,72,152,0.18);
  --ruri-light:  #4d8fcc;
  --error:      rgba(160, 60, 40, 0.75);
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(to bottom, rgba(0,72,152,0.1) 0px, var(--bg) 80px);
  color: var(--text-main);
  font-family: 'Noto Serif JP', serif;
  overflow-x: hidden;
  cursor: auto;
  -webkit-font-smoothing: antialiased;
}

/* ── Custom cursor ── */
.cursor {
  width: 6px; height: 6px;
  background: var(--ruri-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: multiply;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(0,72,152,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: transform 0.4s ease;
}

/* ── ナビゲーション ── */
.incense-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  height: 64px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  transition: background 0.5s ease;
}
.admin-bar .incense-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .incense-header { top: 46px; }
}

.header-logo {
  font-family: 'Pinyon Script', cursive;
  font-size: 22px;
  color: var(--ruri-light);
  opacity: 0.75;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.header-logo:hover { opacity: 1; }

.incense-nav { display: flex; align-items: center; }

.incense-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0; padding: 0;
}
.incense-nav-list li a {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.45em;
  color: rgba(42, 37, 32, 0.62);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
  white-space: nowrap;
}
.incense-nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--ruri-light);
  transition: width 0.35s ease;
}
.incense-nav-list li a:hover { color: var(--ruri-light); }
.incense-nav-list li a:hover::after { width: 100%; }

.incense-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px; height: 28px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.incense-nav-toggle span {
  display: block;
  width: 100%; height: 1px;
  background: rgba(220,235,250,0.75);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.incense-nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.incense-nav-toggle.open span:nth-child(2) { opacity: 0; }
.incense-nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
  .incense-nav-toggle { display: flex; }
  .incense-nav {
    position: fixed;
    top: 64px; left: 0; width: 100%;
    background: var(--bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0,72,152,0.18);
    padding: 32px 6% 40px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.45s ease;
    pointer-events: none;
  }
  .incense-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .incense-nav-list { flex-direction: column; align-items: flex-start; gap: 28px; }
  .incense-nav-list li a { font-size: 13px; letter-spacing: 0.5em; color: rgba(42,37,32,0.75); }
}

/* ── ページヒーロー ── */
.ct-hero {
  padding: 148px 8% 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.ct-hero::before {
  content: '';
  display: block;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--ruri-light));
  margin: 0 auto 40px;
}
.ct-hero-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.55em;
  color: var(--ruri-light);
  opacity: 0.7;
  display: block;
  margin-bottom: 18px;
}
.ct-hero-ja {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: 0.45em;
  color: var(--text-main);
}
.ct-hero-lead {
  max-width: 520px;
  margin: 32px auto 0;
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 2.4;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}

/* ── メインレイアウト ── */
.ct-body {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 8% 120px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

/* ── フォームエリア ── */
.ct-form-area {}

.ct-form-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.4em;
  color: var(--text-main);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.ct-form-title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 1em;
  background: var(--ruri-light);
  opacity: 0.7;
  flex-shrink: 0;
}

/* フォームグループ */
.ct-field {
  margin-bottom: 32px;
}
.ct-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--text-sub);
  margin-bottom: 10px;
}
.ct-required {
  font-family: 'Noto Serif JP', serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--bg);
  background: var(--ruri-light);
  padding: 2px 8px 1px;
  opacity: 0.85;
}
.ct-optional {
  font-family: 'Noto Serif JP', serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-light);
  border: 1px solid var(--border);
  padding: 2px 8px 1px;
}

/* 入力フィールド共通 */
.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(12px, 1.3vw, 14px);
  letter-spacing: 0.08em;
  color: var(--text-main);
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}
.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  border-color: rgba(184, 150, 106, 0.6);
  background: #ffffff;
}
.ct-input::placeholder,
.ct-textarea::placeholder {
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.ct-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 2.2;
}

/* セレクトボックス */
.ct-select-wrap {
  position: relative;
}
.ct-select-wrap::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px; height: 7px;
  border-right: 1px solid var(--ruri-light);
  border-bottom: 1px solid var(--ruri-light);
  opacity: 0.65;
  pointer-events: none;
}
.ct-select {
  height: 48px;          /* ← まずこれで解消 */
  line-height: 1.5;      /* ← 超重要 */
  padding: 10px 40px 10px 14px; /* ← 上下バランス調整 */
　cursor: pointer; }

/* ラジオ・チェックボックス */
.ct-radio-group,
.ct-check-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ct-radio-item,
.ct-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.ct-radio-item input[type="radio"],
.ct-check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s;
}
.ct-radio-item input[type="radio"] { border-radius: 50%; }
.ct-radio-item input[type="radio"]:checked,
.ct-check-item input[type="checkbox"]:checked {
  border-color: var(--ruri-light);
  background: var(--bg-card);
}
.ct-radio-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ruri-light);
}
.ct-check-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 4px; height: 8px;
  border-right: 1px solid var(--ruri-light);
  border-bottom: 1px solid var(--ruri-light);
  transform: rotate(45deg);
}
.ct-radio-label,
.ct-check-label {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(12px, 1.2vw, 13px);
  letter-spacing: 0.15em;
  color: var(--text-sub);
}

/* プライバシー同意 */
.ct-privacy {
  margin-top: 8px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.ct-privacy a {
  color: var(--ruri-light);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s;
}
.ct-privacy a:hover { opacity: 0.7; }

/* 送信ボタン */
.ct-submit-wrap {
  margin-top: 48px;
  text-align: center;
}
.ct-submit {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.6em;
  color: var(--ruri-light);
  background: transparent;
  border: 1px solid var(--border);
  padding: 20px 72px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.45s ease;
}
.ct-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ruri-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  z-index: 0;
}
.ct-submit:hover { color: var(--bg); }
.ct-submit:hover::before { transform: scaleX(1); }
.ct-submit span { position: relative; z-index: 1; }

.ct-submit-note {
  margin-top: 16px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-light);
}

/* ── サイドバー：連絡先情報 ── */
.ct-sidebar {
  position: sticky;
  top: 96px;
}

.ct-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 36px;
  margin-bottom: 2px;
}
.ct-info-card:last-child { margin-bottom: 0; }

.ct-info-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--ruri-light);
  opacity: 0.65;
  display: block;
  margin-bottom: 20px;
}
.ct-info-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--text-main);
  display: block;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.ct-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.ct-info-row:last-child { margin-bottom: 0; }
.ct-info-key {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--text-light);
}
.ct-info-val {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(12px, 1.2vw, 13px);
  letter-spacing: 0.1em;
  color: var(--text-sub);
  line-height: 1.9;
}
.ct-info-val a {
  color: var(--ruri-light);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s;
}
.ct-info-val a:hover { opacity: 0.7; }

/* ── 送信完了メッセージ（非表示→JS制御） ── */
.ct-success {
  display: none;
  text-align: center;
  padding: 80px 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.ct-success.visible { display: block; }
.ct-success::before {
  content: '';
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--ruri-light));
  margin: 0 auto 32px;
}
.ct-success-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.45em;
  color: var(--text-main);
  margin-bottom: 24px;
}
.ct-success-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 2.5;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}

/* ── フッター ── */
.ct-footer {
  text-align: center;
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}
.ct-footer .brand {
  font-family: 'Pinyon Script', cursive;
  font-size: 24px;
  color: var(--ruri-light);
  opacity: 0.45;
}
.ct-footer .copy {
  font-family: 'Noto Serif JP', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-top: 12px;
  display: block;
}

/* ── リビール ── */
.ct-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.ct-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── レスポンシブ ── */
@media (max-width: 860px) {
  .ct-body {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .ct-sidebar { position: static; }
}
@media (max-width: 640px) {
  .ct-radio-group,
  .ct-check-group { gap: 16px; }
  .ct-submit { padding: 18px 40px; }
}