@charset "UTF-8";
/* ============================================================
   トラベルイン 会社案内ページ CSS
   設置: /company/css/ti-company.css
   対象: /company/ (#ti-company)

   【干渉対策】
   1. すべてのセレクタを #ti-company 起点で記述（本文の外には影響しない）
   2. クラス名は tic- 接頭辞（既存の .inner / .menu / .boxA 等と衝突しない）
   3. CSS変数は #ti-company 上に --tic- 接頭辞で定義
   4. 旧ページの import.css・トップページの style.css は読み込まない前提
   ============================================================ */

#ti-company {
  --tic-red: #e62e3d;
  --tic-blue: #007bbb;
  --tic-text: #333333;
  --tic-text-sub: #666666;
  --tic-border: #e3e3e3;
  --tic-bg-sub: #f5f5f5;

  display: block;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px;
  box-sizing: border-box;
  color: var(--tic-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}
#ti-company *,
#ti-company *::before,
#ti-company *::after {
  box-sizing: border-box;
}
/* 旧CSSやテーマ側の見出し・表・リスト指定を打ち消す */
#ti-company :is(p, ul, ol, li, dl, dt, dd, h1, h2, h3, table, th, td, time, strong) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
}
#ti-company strong {
  font-weight: 700;
}
#ti-company :is(ul, ol, li) {
  list-style: none;
}
#ti-company a {
  color: var(--tic-blue);
  text-decoration: underline;
}
#ti-company a:hover {
  text-decoration: none;
}
#ti-company img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

/* ---------- パンくず ---------- */
#ti-company .tic-breadcrumb {
  padding: 14px 0;
  font-size: 12px;
}
#ti-company .tic-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#ti-company .tic-breadcrumb li {
  font-size: 12px;
  color: var(--tic-text-sub);
}
#ti-company .tic-breadcrumb li + li::before {
  content: "›";
  margin-right: 4px;
}
#ti-company .tic-breadcrumb a {
  color: var(--tic-text-sub);
}

/* ---------- ページ見出し ---------- */
#ti-company .tic-head {
  padding: 16px 0 28px;
}
#ti-company .tic-head__en {
  color: var(--tic-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
}
#ti-company .tic-head__title {
  margin: 4px 0 16px;
  color: var(--tic-text);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
#ti-company .tic-head__lead {
  font-size: 14px;
}

/* ---------- ページ内メニュー ---------- */
#ti-company .tic-toc {
  margin-bottom: 40px;
}
#ti-company .tic-toc ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
#ti-company .tic-toc a {
  display: block;
  padding: 10px 6px;
  border-radius: 4px;
  background: var(--tic-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s;
}
#ti-company .tic-toc a:hover {
  opacity: .8;
}

/* ---------- セクション ---------- */
#ti-company .tic-section {
  margin-bottom: 56px;
  scroll-margin-top: 20px;
}
#ti-company .tic-section__title {
  margin-bottom: 20px;
  padding: 0 0 10px;
  border-bottom: 3px solid var(--tic-red);
  color: var(--tic-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
#ti-company .tic-section__title--sm {
  font-size: 17px;
}
#ti-company .tic-section__en {
  display: block;
  color: var(--tic-red);
  font-size: 12px;
  letter-spacing: 0.1em;
}
#ti-company .tic-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--tic-blue);
  background: var(--tic-bg-sub);
  font-size: 13px;
}
#ti-company .tic-note {
  margin-top: 10px;
  color: var(--tic-text-sub);
  font-size: 12px;
}
#ti-company .tic-more {
  margin-top: 12px;
  font-size: 14px;
}

/* ---------- 表 ---------- */
#ti-company .tic-table,
#ti-company .tic-table tbody,
#ti-company .tic-table tr {
  display: block;
  width: 100%;
}
#ti-company .tic-table {
  border-collapse: collapse;
  border-top: 1px solid var(--tic-border);
  font-size: 14px;
}
#ti-company .tic-table th,
#ti-company .tic-table td {
  display: block;
  border: 0;
  font-size: 14px;
  line-height: 1.8;
  vertical-align: top;
}
#ti-company .tic-table th {
  padding: 10px 12px 4px;
  background: var(--tic-bg-sub);
  font-weight: 700;
}
#ti-company .tic-table td {
  padding: 8px 12px 14px;
  border-bottom: 1px solid var(--tic-border);
}

/* ---------- 沿革 ---------- */
#ti-company .tic-history {
  position: relative;
  padding-left: 22px;
}
#ti-company .tic-history::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 2px;
  background: var(--tic-border);
}
#ti-company .tic-history__year {
  position: relative;
  padding-bottom: 20px;
}
#ti-company .tic-history__year::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -22px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--tic-red);
  border-radius: 50%;
  background: #fff;
}
#ti-company .tic-history__label {
  color: var(--tic-red);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
#ti-company .tic-history__label span {
  margin-left: 2px;
  color: var(--tic-text-sub);
  font-size: 12px;
  font-weight: 400;
}
#ti-company .tic-history__item {
  display: flex;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
}
#ti-company .tic-history__item dt {
  flex: 0 0 3em;
  font-weight: 700;
}
#ti-company .tic-history__item dd {
  flex: 1 1 auto;
}

/* ---------- ブランド ----------
   ロゴは縦の長さを揃え、横幅は各ロゴの比率なり（枠の幅はロゴに合わせて可変） */
#ti-company .tic-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
#ti-company .tic-brands li {
  flex: 0 0 auto;
}
#ti-company .tic-brands a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--tic-border);
  border-radius: 4px;
  background: #fff;
  transition: opacity .2s;
}
#ti-company .tic-brands a:hover {
  opacity: .7;
}
#ti-company .tic-brands img {
  width: auto;
  max-width: none;
  height: 34px;
}

/* ---------- よくある質問 ---------- */
#ti-company .tic-faq__item {
  border-bottom: 1px solid var(--tic-border);
  padding: 14px 0;
}
#ti-company .tic-faq__item dt,
#ti-company .tic-faq__item dd {
  position: relative;
  padding-left: 2em;
  font-size: 14px;
}
#ti-company .tic-faq__item dt {
  margin-bottom: 6px;
  font-weight: 700;
}
#ti-company .tic-faq__item dt::before,
#ti-company .tic-faq__item dd::before {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
}
#ti-company .tic-faq__item dt::before {
  content: "Q.";
  color: var(--tic-blue);
}
#ti-company .tic-faq__item dd::before {
  content: "A.";
  color: var(--tic-red);
}

/* ---------- 関連情報・下部 ---------- */
#ti-company .tic-links li {
  padding: 10px 0;
  border-bottom: 1px solid var(--tic-border);
  font-size: 14px;
}
#ti-company .tic-foot {
  padding-top: 20px;
  border-top: 1px solid var(--tic-border);
}
#ti-company .tic-foot p {
  margin-bottom: 6px;
  color: var(--tic-text-sub);
  font-size: 13px;
}

/* ============================================================
   タブレット以上（769px〜）※共通ヘッダー/フッターと同じ境目
   ============================================================ */
@media screen and (min-width: 769px) {
  #ti-company {
    padding: 0 20px;
  }
  #ti-company .tic-head__title {
    font-size: 32px;
  }
  #ti-company .tic-head__lead {
    font-size: 15px;
    text-align: center;
  }
  #ti-company .tic-toc ul {
    grid-template-columns: repeat(5, 1fr);
  }
  #ti-company .tic-section__title {
    font-size: 22px;
  }
  #ti-company .tic-table { display: table; }
  #ti-company .tic-table tbody { display: table-row-group; }
  #ti-company .tic-table tr { display: table-row; }
  #ti-company .tic-table th,
  #ti-company .tic-table td {
    display: table-cell;
    padding: 16px 20px;
    border-bottom: 1px solid var(--tic-border);
  }
  #ti-company .tic-table th {
    width: 240px;
  }
  #ti-company .tic-history__year {
    display: flex;
    gap: 24px;
  }
  #ti-company .tic-history__label {
    flex: 0 0 150px;
  }
  #ti-company .tic-history__list {
    flex: 1 1 auto;
  }
  #ti-company .tic-brands {
    justify-content: space-between;
  }
  #ti-company .tic-brands img {
    height: 50px;
  }
}
