@charset "UTF-8";
/* ============================================================
   旅っくす 旅行業登録票ページ CSS
   対象: /registration/ (#tbx-registration)
   設置: /registration/css/tbx-registration.css

   【テーマとの干渉対策】
   1. すべてのセレクタを #tbx-registration 起点で記述
      → IDの詳細度で、テーマ側CSSより優先・外部へは一切影響しない
   2. クラス名はすべて tco- 接頭辞（テーマの .row / .container / .static 等と衝突しない）
   3. CSS変数は :root ではなくスコープID上に --tco- 接頭辞で定義（グローバル汚染なし）
   4. テーマは html{font-size:62.5%} 前提のため、rem は使わず px で指定
   5. !important は使用しない
   ============================================================ */

/* ---------- 変数・ベース ---------- */
#tbx-registration {
  --tco-accent: #f03c3c;     /* 旅っくすレッド（テーマのロゴ色に合わせています） */
  --tco-text: #222222;
  --tco-text-sub: #5f5f5f;
  --tco-border: #e6e6e6;
  --tco-bg-sub: #f9f9f9;
  --tco-link: #005fbf;
  --tco-anchor-offset: 90px; /* 固定ヘッダーがある場合のページ内リンク位置調整 */

  display: block;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 64px;
  box-sizing: border-box;
  color: var(--tco-text);
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}

#tbx-registration *,
#tbx-registration *::before,
#tbx-registration *::after {
  box-sizing: border-box;
}

#tbx-registration a {
  color: var(--tco-link);
  text-decoration: underline;
}

#tbx-registration a:hover {
  text-decoration: none;
}

/* テーマ側のリスト・余白指定を打ち消し */
#tbx-registration ul,
#tbx-registration ol,
#tbx-registration dl,
#tbx-registration dd,
#tbx-registration p {
  margin: 0;
  padding: 0;
}

#tbx-registration ul,
#tbx-registration ol,
#tbx-registration li {
  list-style: none;
}

/* ---------- パンくず ---------- */
#tbx-registration .tco-breadcrumb {
  padding: 12px 0;
  font-size: 12px;
}

#tbx-registration .tco-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#tbx-registration .tco-breadcrumb__item + .tco-breadcrumb__item::before {
  content: "›";
  margin-right: 4px;
  color: var(--tco-text-sub);
}

#tbx-registration .tco-breadcrumb__item a {
  color: var(--tco-text-sub);
}

/* ---------- ページ見出し ---------- */
#tbx-registration .tco-head {
  padding: 24px 0 32px;
  text-align: center;
}

#tbx-registration .tco-head__en {
  color: var(--tco-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

#tbx-registration .tco-head__title {
  margin: 4px 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tco-text);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

#tbx-registration .tco-head__lead {
  font-size: 14px;
  text-align: left;
}

/* ---------- セクション ---------- */
#tbx-registration .tco-section {
  margin-bottom: 56px;
  scroll-margin-top: var(--tco-anchor-offset);
}

#tbx-registration .tco-section__title {
  margin: 0 0 20px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid var(--tco-accent);
  background: none;
  color: var(--tco-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

#tbx-registration .tco-section__title--sm {
  font-size: 17px;
}

/* ---------- 表（会社概要・登録票） ---------- */
#tbx-registration .tco-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 1px solid var(--tco-border);
  background: #fff;
  font-size: 14px;
}

#tbx-registration .tco-table,
#tbx-registration .tco-table tbody,
#tbx-registration .tco-table tr {
  display: block;       /* スマホは縦積み */
}

#tbx-registration .tco-table th,
#tbx-registration .tco-table td {
  display: block;
  width: auto;
  border: 0;
  text-align: left;
  vertical-align: top;
}

#tbx-registration .tco-table th {
  padding: 12px 12px 4px;
  background: var(--tco-bg-sub);
  color: var(--tco-text);
  font-weight: 700;
  white-space: normal;
}

#tbx-registration .tco-table td {
  padding: 8px 12px 14px;
  border-bottom: 1px solid var(--tco-border);
}

/* ---------- 注記・関連リンク・ページ下部 ---------- */
#tbx-registration .tco-note {
  margin-top: 12px;
  color: var(--tco-text-sub);
  font-size: 12px;
}

#tbx-registration .tco-links li {
  padding: 10px 0;
  border-bottom: 1px solid var(--tco-border);
  font-size: 14px;
}

#tbx-registration .tco-foot {
  padding-top: 24px;
  border-top: 1px solid var(--tco-border);
  font-size: 13px;
}

#tbx-registration .tco-foot__updated {
  margin-bottom: 8px;
  color: var(--tco-text-sub);
}

/* ============================================================
   タブレット以上（768px〜）
   ============================================================ */
@media (min-width: 768px) {

  #tbx-registration {
    padding: 0 24px 80px;
  }

  #tbx-registration .tco-head__title {
    font-size: 32px;
  }

  #tbx-registration .tco-head__lead {
    font-size: 15px;
    text-align: center;
  }

  #tbx-registration .tco-section__title {
    font-size: 22px;
  }

  /* 表を横並びに */
  #tbx-registration .tco-table { display: table; }

  #tbx-registration .tco-table tbody { display: table-row-group; }

  #tbx-registration .tco-table tr { display: table-row; }

  #tbx-registration .tco-table th,
  #tbx-registration .tco-table td {
    display: table-cell;
    padding: 16px 20px;
    border-bottom: 1px solid var(--tco-border);
  }

  #tbx-registration .tco-table th {
    width: 220px;
  }

  #tbx-registration .tco-table--registration th {
    width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {

  #tbx-registration * {
    transition: none;
  }
}
