/* 3Node コーポレートサイト 共通スタイル */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F4EEE8; -webkit-font-smoothing: antialiased; font-family: 'Zen Kaku Gothic New', sans-serif; }
body.page-index { background: #fff; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .72; }
a:focus-visible, button:focus-visible { outline: 2px solid #C6A188; outline-offset: 3px; }
.logo-link { display: inline-flex; align-self: flex-start; }

/* PC / スマホの切り替え（デザインはPC=1440px幅、スマホ=390px幅で作成） */
.pc, .sp { overflow-x: hidden; }
.sp { display: none; }
@media (max-width: 1023px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* 1440px未満のPC画面では、デザインを崩さないよう全体を縮小 */
@media (min-width: 1024px) and (max-width: 1151px) { .pc { zoom: .7; } }
@media (min-width: 1152px) and (max-width: 1279px) { .pc { zoom: .79; } }
@media (min-width: 1280px) and (max-width: 1365px) { .pc { zoom: .877; } }
@media (min-width: 1366px) and (max-width: 1455px) { .pc { zoom: .937; } }

/* 390px未満の小さいスマホでは全体を縮小 */
@media (min-width: 360px) and (max-width: 389px) { .sp { zoom: .92; } }
@media (max-width: 359px) { .sp { zoom: .82; } }

/* 下層ページ（フォーム・サンクス）メインエリア：PC/スマホ共通のレスポンシブ */
.sub-main { background: #fff; color: #111; padding: 120px 64px; }
.sub-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
.sub-main .eyebrow { font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: #8A6A52; display: flex; align-items: center; gap: 14px; }
.sub-main .eyebrow::after { content: ""; width: 32px; height: 1px; background: #C6A188; }
.sub-main h2 { margin: 20px 0 28px; font-size: 26px; font-weight: 900; line-height: 1.6; }
.sub-main p { margin: 0 0 16px; font-size: 16px; line-height: 2; color: #2A2623; letter-spacing: .03em; }
.sub-main p a { color: #8A6A52; text-decoration: underline; text-underline-offset: 3px; }
.form-points { margin: 32px 0; border-top: 1px solid #D9CCBF; }
.form-points > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid #D9CCBF; }
.form-points dt { font-size: 14px; font-weight: 700; color: #8A6A52; }
.form-points dd { margin: 0; font-size: 15px; line-height: 1.8; }
.sub-main .form-note { font-size: 14px; color: #6B5A4E; }
.form-card { background: #F4EEE8; border-radius: 24px; padding: 40px; min-height: 480px; }
/* サンクスページ */
.sub-main--wide .sub-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 1000px; }
.thanks-intro { text-align: center; }
.thanks-intro .eyebrow { justify-content: center; }
.thanks-intro .eyebrow::before { content: ""; width: 32px; height: 1px; background: #C6A188; }
.thanks-intro p { font-size: 17px; }
.timerex-wrap { width: 100%; background: #F4EEE8; border-radius: 24px; padding: 24px; box-sizing: border-box; }
/* TimeRex：高さはウィジェット側で自動調整。読み込み前の空白だけ確保。
   カレンダーは最小幅550pxのため、それより狭い画面では main.js で全体を縮小表示 */
#timerex_calendar { width: 100%; min-height: 600px; }
#timerex_calendar > div { border-radius: 16px; overflow: hidden; }
#timerex_calendar iframe { width: 100% !important; display: block; }
.timerex-link { text-align: center; margin-top: 16px; font-size: 14px; }
.timerex-link a { color: #8A6A52; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .sub-main { padding: 48px 20px 64px; }
  .sub-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sub-main h2 { font-size: 20px; margin: 14px 0 20px; }
  .sub-main p { font-size: 15px; line-height: 1.9; }
  .form-points > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
  .form-card { padding: 24px 16px; border-radius: 16px; }
  .thanks-intro { text-align: left; }
  .thanks-intro .eyebrow { justify-content: flex-start; }
  .thanks-intro .eyebrow::before { display: none; }
  .timerex-wrap { padding: 0; background: none; }
}

/* スマホメニュー */
.menu-btn { border: 0; font: inherit; cursor: pointer; line-height: 1.2; }
.sp-menu { display: flex; flex-direction: column; background: #F4EEE8; border-top: 1px solid #EEE6DE; padding: 8px 20px 24px; }
.sp-menu[hidden] { display: none; }
.sp-menu a { padding: 16px 4px; border-bottom: 1px solid #D9CCBF; font-size: 15px; font-weight: 700; color: #111; }
.sp-menu a[aria-current="page"] { color: #8A6A52; }
.sp-menu a.sp-menu-cta { margin-top: 20px; border: 0; border-radius: 999px; background: #111; color: #fff; text-align: center; padding: 16px 12px; font-size: 14px; }
