/* ── SP：1段に戻す ── */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row !important;
    height: 50px !important;
    padding: 0 16px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .header-row-top {
    padding: 0 16px !important;
    min-height: 50px !important;
    justify-content: space-between !important;
  }
  .header-row-top-right { display: none !important; }
  .nav-menu { display: none !important; }
  .hamburger { display: flex !important; }
  .logo-area {
    left: 16px !important;
  }
} /* ← 元ファイルで閉じ忘れていた @media (max-width:768px) をここで明示的に閉じる */

/* ============================================================
   スクロール挙動：コーポレートヘッダーは固定解除（スクロールで流れる）、
   「キャリアクロニクル研究所」バー＋カテゴリナビを一体で上部に sticky 固定
   ============================================================ */
/* common.css の position:fixed を解除。relative にして z-index(1000) と
   ドロップダウンのスタッキングは温存しつつ、通常フローで上に流れるようにする */
.header { position: relative !important; }
/* 固定ヘッダー用に確保していた body の余白を解除 */
body { padding-top: 0 !important; }
/* sticky を効かせる：common.css の overflow-x:hidden は sticky を無効化するため clip に上書き */
html, body { overflow-x: clip !important; }
/* ブランドバー＋カテゴリナビを束ねて一体で固定 */
.mc-stickyhead {
  position: sticky;
  top: 0;
  z-index: 500;
}
/* 旧 JS の is-stuck(fixed) 追従は使わない。常に通常配置に固定 */
.mc-catnav,
.mc-catnav.is-stuck {
  position: relative;
  top: auto;
}
.mc-catnav-spacer { display: none !important; }

/* ===== ページメインコンテンツ ===== */
.newsletter-page {
  background: var(--mc-cream);
  min-height: 60vh;
  padding: 64px 0 64px;
}
.newsletter-page .container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.newsletter-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mc-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.newsletter-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--mc-ink);
  line-height: 1.4;
  margin-bottom: 16px;
}
.newsletter-desc {
  font-size: 15px;
  color: var(--mc-ink-sub);
  line-height: 1.8;
  margin-bottom: 48px;
}
.newsletter-form-wrap {
  background: #fff;
  border: 1px solid var(--mc-line);
  padding: 40px 40px 48px;
}
@media (max-width: 600px) {
  .newsletter-form-wrap { padding: 28px 20px 36px; }
}

/* ===== Porters Webparts フォーム カスタムスタイル ===== */

/* フォーム全体の幅を広げる */
.newsletter-page .container {
  max-width: 900px;
}

/* コンテナリセット */
.po-webparts-container {
  font-family: 'Noto Sans JP', sans-serif;
}

/* テーブルを全幅に */
.po-canentryform table {
  width: 100%;
  border-collapse: collapse;
}

/* ラベルセル：左寄せ・明朝体 */
.po-canentryform th.po-label {
  text-align: left;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--mc-ink);
  padding: 14px 16px 14px 0;
  vertical-align: top;
  width: 200px;
  white-space: nowrap;
}

/* ラベルテキスト */
.po-canentryform .po-label span.po-label {
  font-family: 'Noto Serif JP', serif;
}

/* 必須マーク */
.po-canentryform .po-required-elem.ja_JP::after {
  content: '必須';
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--mc-red);
  padding: 2px 6px;
  margin-left: 8px;
  letter-spacing: 0.04em;
}

/* 入力セル */
.po-canentryform td.po-normal {
  padding: 10px 0;
  vertical-align: top;
}

/* 入力フィールド */
.po-canentryform .po-input input[type="text"],
.po-canentryform .po-input select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--mc-line);
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--mc-ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  border-radius: 0;
  appearance: none;
}
.po-canentryform .po-input input[type="text"]:focus,
.po-canentryform .po-input select:focus {
  border-color: var(--mc-red);
}

/* 注釈テキスト */
.po-canentryform .po-remark {
  font-size: 15px;
  color: var(--mc-ink-sub);
  margin-top: 6px;
  line-height: 1.6;
}

/* チェックボックス */
.po-canentryform .po-checkbox span {
  font-size: 14px;
  color: var(--mc-ink);
  margin-left: 6px;
}

/* 行の区切り線 */
.po-canentryform tr.po-single {
  border-bottom: 1px solid var(--mc-line);
}
.po-canentryform tr.po-single:last-child {
  border-bottom: none;
}

/* 送信ボタンエリア：中央寄せ */
.po-buttons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.po-button-send-outer {
  width: auto;
}
.po-button-send-inner {
  width: auto;
}

/* プルダウン：下向き三角 */
.po-canentryform .po-input.po-dropdown {
  position: relative;
}
.po-canentryform .po-input.po-dropdown::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--mc-ink);
  pointer-events: none;
}
.po-canentryform .po-input.po-dropdown select {
  padding-right: 36px;
}

/* 送信ボタン：えんじ色 */
.po-button-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--mc-red);
  color: #fff;
  padding: 16px 48px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
  min-width: 240px;
}
.po-button-send:hover {
  background: var(--mc-red-dark);
}

@media (max-width: 600px) {
  .po-canentryform th.po-label {
    width: auto;
    display: block;
    padding-bottom: 4px;
  }
  .po-canentryform table,
  .po-canentryform tbody,
  .po-canentryform tr,
  .po-canentryform th,
  .po-canentryform td {
    display: block;
    width: 100%;
  }
  .po-button-send {
    width: 100%;
  }
}
