/*
Theme Name: Seven Tourist 2026
Theme URI: https://seven-tourist.com/
Author: Seven Tourist Co., Ltd.
Description: 株式会社セブンツーリスト コーポレートサイト用オリジナルテーマ
Version: 1.0.0
Text Domain: seven-tourist-2026
*/

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', ui-sans-serif, system-ui, sans-serif;
  color: #111827;
  background: #ffffff;
  overflow-x: hidden;
}

a { color: #1e3a6e; text-decoration: none; }
a:hover { color: #16294f; }

img { max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e3a6e;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 3px;
  white-space: nowrap;
}
.btn-primary:hover { background: #16294f; color: #ffffff; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 23px;
  border-radius: 3px;
  border: 1.5px solid rgba(255,255,255,0.6);
  white-space: nowrap;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #ffffff; }

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(17,24,39,0.08); transform: translateY(-2px); }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1e3a6e;
  text-transform: uppercase;
}
.section-title { font-size: 26px; font-weight: 900; color: #111827; margin: 6px 0 4px; }
.section-sub { font-size: 14px; color: #6b7280; margin: 0; }

/* ---- トップページ専用レイアウト ---- */
.hero-inner { position: relative; padding: 56px 24px 44px; display: flex; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 480px; min-width: 300px; }
.hero-links { flex: 1 1 420px; min-width: 300px; }
.hero-title { font-size: 40px; line-height: 1.35; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.news-inner { padding: 18px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.news-list { display: flex; gap: 28px; flex-wrap: wrap; flex: 1; min-width: 0; }
.news-item { font-size: 13px; color: #374151; display: flex; align-items: center; gap: 10px; }
.area-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.tour-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---- 投稿詳細・タグ一覧 ---- */
.post-row { display: block; padding: 24px 0; border-bottom: 1px solid #eef1ee; text-decoration: none; }
.post-title { font-size: 17px; font-weight: 700; color: #111827; line-height: 1.5; margin: 10px 0 8px; }
.post-excerpt { font-size: 13px; color: #6b7280; line-height: 1.8; }

/* ===== ヘッダー ===== */
.site-header { border-bottom: 1px solid #eef1ee; background: #ffffff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.header-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-brand img { height: 34px; width: auto; display: block; }
.header-brand span { font-size: 17px; font-weight: 900; color: #111827; letter-spacing: 0.01em; }
.header-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.header-nav a { font-size: 13.5px; font-weight: 500; color: #374151; }
.header-nav a.is-current { font-weight: 700; color: #1e3a6e; }

/* ===== パンくず ===== */
.breadcrumb { background: #f6f3ec; border-bottom: 1px solid #ece5d4; }
.breadcrumb .wrap, .breadcrumb .narrow { padding: 12px 24px; font-size: 12.5px; color: #8a8271; }
.breadcrumb a { color: #8a8271; }
.breadcrumb .current { color: #5c5541; }

/* ===== ページヘッダー ===== */
.page-header { padding: 40px 24px 24px; border-bottom: 1px solid #e5e7eb; }
.page-header h1 { font-size: 26px; font-weight: 900; color: #111827; margin: 0; }
.page-header p { font-size: 14px; color: #6b7280; margin: 8px 0 0; }

/* ===== 本文（固定ページ共通） ===== */
.prose h2 {
  font-size: 20px;
  font-weight: 900;
  color: #111827;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef2f8;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e3a6e;
  margin: 22px 0 8px;
}
.prose p { font-size: 15px; line-height: 1.95; color: #374151; margin: 0 0 20px; }
.prose ol, .prose ul { font-size: 15px; line-height: 1.9; color: #374151; margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #1e3a6e; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.prose table th, .prose table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #e5e7eb; }
.prose table th { width: 160px; color: #6b7280; font-weight: 700; background: #f9fafb; vertical-align: top; }
.prose table td { color: #374151; }

/* 約款条文ページ（行間を詰める・見出しをネイビーに） */
.prose.is-clause p { font-size: 14.5px; line-height: 1.9; color: #4b5563; margin: 0 0 4px; }
.prose.is-clause h2 { font-size: 18px; color: #1e3a6e; margin: 44px 0 16px; }
.prose.is-clause h2:first-child { margin-top: 0; }

/* 料金表ページ用の広いth幅 */
.prose.has-wide-th table th { width: 220px; }

/* 比較表（中央寄せ・全罫線） */
/* .compare-table は <table class="compare-table"> 直付け、または
   Gutenbergテーブルブロック（追加CSSクラスをfigureに付与）どちらでも効くようにする */
.compare-table, .compare-table table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 13px; }
.compare-table th, .compare-table td { text-align: center; padding: 10px 8px; border: 1px solid #e5e7eb; }
.compare-table th { color: #6b7280; font-weight: 700; background: #f9fafb; }
.compare-table td { color: #374151; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }

.callout {
  background: #fdf6ea;
  border: 1px solid #f0e2c4;
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #6b5a34;
  margin: 0 0 20px;
}

.meta-line { font-size: 13px; color: #9ca3af; text-align: right; margin-top: 40px; padding-top: 20px; border-top: 1px solid #eef2f8; }

/* 事業内容カード（会社案内） */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 20px; }
.biz-card { border: 1px solid #e5e7eb; border-radius: 6px; padding: 18px 20px; background: #fafbfc; }
.biz-card .biz-name { font-size: 13px; font-weight: 900; color: #1e3a6e; letter-spacing: 0.02em; margin-bottom: 6px; }
.biz-card .biz-desc { font-size: 13.5px; line-height: 1.75; color: #4b5563; margin: 0; }

/* ドキュメントリンク一覧（旅行業約款） */
.doc-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #e5e7eb; border-radius: 6px; padding: 16px 20px; background: #fafbfc; }
.doc-row .doc-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 4px; background: #eef2f8; color: #1e3a6e; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.doc-row .doc-title { font-size: 14.5px; font-weight: 700; color: #111827; }
.doc-row .doc-link { font-size: 13px; font-weight: 700; color: #1e3a6e; flex-shrink: 0; white-space: nowrap; }

/* サイトマップ */
.sitemap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.sitemap-group-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1e3a6e; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid #eef2f8; }
.sitemap-links { display: flex; flex-direction: column; }
.sitemap-links a { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: #374151; padding: 10px 4px; border-bottom: 1px solid #f3f4f6; }
.sitemap-links a:hover { color: #1e3a6e; background: #f9fafb; }
.sitemap-links a svg { flex-shrink: 0; }
.sitemap-links a .ext { margin-left: auto; font-size: 11px; font-weight: 700; color: #9ca3af; }

/* ===== フッター ===== */
.site-footer { background: #0a1626; padding: 36px 0 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand span { font-size: 13px; font-weight: 700; color: #9db0c4; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: #7f92a8; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 24px; padding-top: 18px; display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { font-size: 11.5px; color: #5c6b7d; }
.footer-legal a.is-current { color: #1e3a6e; font-weight: 700; }
.footer-copyright { text-align: center; margin-top: 18px; font-size: 11.5px; color: #5c6b7d; }

@media (max-width: 900px) {
  .header-nav { display: none; }
  .area-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tour-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .wrap, .narrow { padding: 0 16px; }
  .header-inner { height: 64px; }
  .hero-inner { flex-direction: column; align-items: stretch; gap: 32px; padding: 40px 16px 36px; }
  .hero-title { font-size: 28px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-grid > a.is-wide { grid-column: span 2; }
  .news-inner { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .news-list { flex-direction: column; gap: 10px; width: 100%; }
  .news-item { width: 100%; }
  .news-item span:first-child { flex-shrink: 0; }
  .area-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tour-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner > div:last-child { width: 100%; }
  .cta-inner > div:last-child a { flex: 1 1 0; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 14px 18px; }
  .section-title { font-size: 21px; }
  .prose table th { width: 120px; padding: 12px 10px; font-size: 13px; }
  .prose table td { padding: 12px 10px; font-size: 13.5px; }
  .prose.has-wide-th table th { width: 140px; }
  .compare-table { font-size: 11px; }
  .compare-table th, .compare-table td { padding: 6px 4px; }
  .biz-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; gap: 8px 0; }
}
