/* ============================================================
   協力会社募集ページ固有スタイル (partner-custom.css)
   参考: claude-design-output/partner.php + page.css
   ============================================================ */

/* ============================================================
   サブページヒーロー（共通パターン）
   ============================================================ */
.htc-sub-hero {
  background: #9D9788;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.htc-sub-hero::before {
  content: "砦";
  position: absolute;
  right: -60px; top: -80px;
  font-family: var(--htc-font-mincho);
  font-size: clamp(280px, 32vw, 480px);
  color: rgba(255, 68, 0, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.htc-sub-hero__inner          { position: relative; z-index: 1; }
.htc-sub-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.2rem; color: rgba(242,241,232,0.6); margin-bottom: 32px;
}
.htc-sub-hero__breadcrumb a   { color: rgba(242,241,232,0.6); text-decoration: none; }
.htc-sub-hero__breadcrumb a:hover { color: var(--htc-cream); }
.htc-sub-hero__breadcrumb .sep { opacity: 0.5; }
.htc-sub-hero__label {
  font-family: var(--htc-font-serif); font-style: italic;
  font-size: 1.4rem; color: var(--htc-orange);
  letter-spacing: 0.12em; display: block; margin-bottom: 12px;
}
.htc-sub-hero__title {
  font-family: var(--htc-font-mincho); font-weight: 500;
  font-size: clamp(3.6rem, 5vw, 6rem); color: var(--htc-cream);
  letter-spacing: 0.06em; line-height: 1.3; margin-bottom: 20px;
}
.htc-sub-hero__lead {
  font-size: 1.5rem; color: rgba(242,241,232,0.78);
  line-height: 1.9; max-width: 56ch;
}
.htc-sub-hero__num {
  margin-top: 40px;
  font-family: var(--htc-font-serif); font-style: italic;
  font-size: 1.4rem; color: rgba(242,241,232,0.4); letter-spacing: 0.12em;
}

/* ============================================================
   セクション見出し番号パターン
   ============================================================ */
.htc-pt-section-head { margin-bottom: 56px; }
.htc-pt-section-num {
  font-family: var(--htc-font-serif); font-style: italic;
  font-size: 1.3rem; color: var(--htc-orange);
  letter-spacing: 0.12em; display: block; margin-bottom: 6px;
}
.htc-pt-section-head h2 {
  font-family: var(--htc-font-mincho);
  font-size: clamp(2.8rem, 3.8vw, 4.4rem);
  font-weight: 500; color: var(--htc-green);
  line-height: 1.3; letter-spacing: 0.04em;
}
.htc-pt-section-head .lead {
  margin-top: 16px; font-size: 1.5rem;
  color: var(--htc-ink-2); line-height: 1.9;
}

/* ============================================================
   ラベル EN
   ============================================================ */
.htc-label-en {
  font-family: var(--htc-font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--htc-orange);
  letter-spacing: 0.04em;
  display: block;
}

/* ============================================================
   SEC1: 募集バナー（緑背景 大漢字装飾）
   ============================================================ */
.htc-open-banner {
  background: var(--htc-green);
  color: var(--htc-cream);
  padding: clamp(56px, 8vw, 110px) clamp(36px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
/* 大きな装飾漢字 "募" */
.htc-open-banner::before {
  content: "募";
  position: absolute;
  right: -60px; top: -40px;
  font-family: var(--htc-font-mincho);
  font-size: clamp(220px, 26vw, 380px);
  color: rgba(255, 68, 0, 0.10);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.htc-open-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.htc-open-banner__label {
  font-family: var(--htc-font-serif);
  font-style: italic;
  color: var(--htc-orange);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: block;
}
.htc-open-banner__title {
  font-family: var(--htc-font-mincho);
  color: var(--htc-cream);
  font-size: clamp(2.8rem, 4.4vw, 5.6rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.htc-open-banner__title-accent {
  color: var(--htc-orange);
  font-family: var(--htc-font-serif);
  font-style: italic;
  padding: 0 6px;
}
.htc-open-banner__text {
  margin-top: 28px;
  color: rgba(242, 241, 232, 0.82);
  font-size: 1.5rem;
  line-height: 2.1;
  max-width: 56ch;
}
.htc-open-banner__side {
  font-family: var(--htc-font-serif);
  font-style: italic;
  color: var(--htc-orange);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  height: 120px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .htc-open-banner__inner { grid-template-columns: 1fr; }
  .htc-open-banner__side  { display: none; }
}

/* ============================================================
   SEC2: 私たちの想い（2カラム）
   ============================================================ */
.htc-pt-two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.htc-ph-4-5 {
  aspect-ratio: 4 / 5;
  background: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28191/no-image.png') center / cover no-repeat;
  background-color: var(--htc-cream-2);
  position: relative;
  overflow: hidden;
}
.htc-ph-4-5[data-tag]::after {
  content: attr(data-tag);
  position: absolute; bottom: 12px; right: 14px;
  font-family: var(--htc-font-serif); font-style: italic;
  font-size: 1.1rem; letter-spacing: 0.16em;
  color: rgba(13, 93, 55, 0.45);
}

@media (max-width: 880px) {
  .htc-pt-two-col { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   SEC3: 詳しいご案内（info-table）
   参考: page.css .info-table
   ============================================================ */
/* .table-scroll > table の min-width: 600px を上書き */
.table-scroll > .htc-pt-info-table {
  min-width: 0;
}
.htc-pt-info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--htc-line);
}
.htc-pt-info-table th,
.htc-pt-info-table td {
  text-align: left;
  padding: 22px 24px;
  font-size: 1.4rem;
  vertical-align: top;
  border-bottom: 1px solid var(--htc-line);
}
.htc-pt-info-table th {
  width: 220px;
  color: var(--htc-green);
  font-family: var(--htc-font-mincho);
  font-weight: 500;
  letter-spacing: 0.08em;
  background: rgba(13, 93, 55, 0.03);
}
.htc-pt-info-table td {
  color: var(--htc-ink);
  line-height: 1.9;
}
/* th 内の英語ラベル */
.htc-pt-info-table th .en-note {
  display: block;
  font-family: var(--htc-font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--htc-ink-3);
  margin-bottom: 4px;
  font-weight: 400;
}
/* td 内の補足テキスト */
.htc-pt-info-table td small {
  display: block;
  color: var(--htc-ink-3);
  font-size: 1.2rem;
  margin-top: 4px;
}
/* 備考行 */
.htc-pt-info-table td.note-cell {
  color: var(--htc-ink-3);
  font-family: var(--htc-font-mincho);
}

@media (max-width: 880px) {
  .htc-pt-info-table th,
  .htc-pt-info-table td { display: block; width: 100%; padding: 14px 16px; }
  .htc-pt-info-table th { border-bottom: 0; padding-bottom: 4px; }
  .htc-pt-info-table td { padding-top: 4px; }
}

/* ============================================================
   SEC4: 申し込みCTA（緑背景）
   参考: mukishitsu SEC6 / page.css .section--green
   ============================================================ */
.htc-section-green {
  background: #9D9788;
  color: var(--htc-cream);
  text-align: center;
}
.htc-cta-label-en {
  font-family: var(--htc-font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--htc-orange);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}
.htc-cta-title {
  font-family: var(--htc-font-mincho);
  font-size: clamp(2.8rem, 3.8vw, 5.2rem);
  font-weight: 500;
  color: var(--htc-cream);
  line-height: 1.5;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.htc-cta-text {
  font-size: 1.45rem;
  color: rgba(242, 241, 232, 0.78);
  line-height: 2;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: 36px;
}
.htc-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* オレンジ塗りボタン */
.htc-btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  border: 1px solid #1a1a1a;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.htc-btn-orange::after { content: "→"; transition: transform 0.2s; }
.htc-btn-orange:hover  { background: #000; border-color: #000; opacity: 1; }
.htc-btn-orange:hover::after { transform: translateX(4px); }
.htc-btn-orange .en {
  font-family: var(--htc-font-serif); font-style: italic;
  font-size: 1.4rem; font-weight: 400; letter-spacing: 0.02em;
}
/* クリーム枠ゴーストボタン（緑背景上） */
.htc-btn-ghost-cream {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  border: 1px solid var(--htc-cream);
  background: transparent;
  color: var(--htc-cream);
  text-decoration: none;
  transition: background 0.2s;
}
.htc-btn-ghost-cream::after { content: "→"; transition: transform 0.2s; }
.htc-btn-ghost-cream:hover  { background: rgba(242,241,232,0.15); opacity: 1; }
.htc-btn-ghost-cream:hover::after { transform: translateX(4px); }
.htc-btn-ghost-cream .en {
  font-family: var(--htc-font-serif); font-style: italic;
  font-size: 1.4rem; font-weight: 400; letter-spacing: 0.02em;
}

/* ============================================================
   背景色ヘルパー
   ============================================================ */
.htc-section-paper { background: var(--htc-paper); }
