/* 採用ルート比較ページ（compare.html）専用スタイル */
.compareBody { background: #f8f7f0; color: #17352b; }

.compareHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid rgba(11, 79, 57, .12);
}
.compareHeader a { color: #0b4f39; text-decoration: none; }
.compareHeader .compareBrand { font-weight: 800; }
.compareHeader nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: .92rem; }
.compareHeader .headerCta { padding: 10px 18px; border-radius: 999px; background: #0b4f39; color: #fff; font-weight: 700; }

.compareMain { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 90px; }
.compareBreadcrumb { margin: 0 0 26px; font-size: .9rem; }
.compareBreadcrumb a { color: #0b4f39; }

.compareHero { padding: clamp(28px, 6vw, 60px); background: #0b4f39; color: #fff; border-radius: 26px; }
.compareHero p.eyebrow { margin: 0 0 10px; color: #cbe8d8; font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.compareHero h1 { margin: 0 0 20px; font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.3; letter-spacing: -.02em; }
.compareHero .lead { max-width: 620px; margin: 0; font-size: 17px; line-height: 1.9; color: #dfeee6; }
.compareHero .lead + .lead { margin-top: 16px; }
.compareHero .lead b { color: #fff; }

.compareIntro { margin-top: 34px; padding: clamp(24px, 5vw, 44px); background: #fff; border-radius: 22px; font-size: 17px; line-height: 1.9; }
.compareIntro p + p { margin-top: 16px; }

.routeSection { margin-top: 34px; }
.routeSection h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: #0b4f39; }
.routeSection .routeNumber { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: #e4f2df; color: #176f4c; font-size: 12px; font-weight: 800; letter-spacing: .06em; }

.routeGrid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 34px; align-items: start; padding: clamp(24px, 5vw, 42px); background: #fff; border-radius: 22px; }
.routeGrid.reverse { grid-template-columns: .9fr 1.3fr; }
.routeGrid.reverse .routeText { order: 2; }
.routeGrid.reverse .routeStat { order: 1; }
.routeText p { margin: 0 0 14px; font-size: 17px; line-height: 1.9; }
.routeText p:last-child { margin-bottom: 0; }
.routeText b { color: #0b4f39; }

.routeStat { padding: 26px; background: #f4f8f2; border-radius: 16px; }
.routeStat dl { margin: 0; }
.routeStat dt { color: #567067; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.routeStat dd { margin: 4px 0 20px; font-size: 15px; line-height: 1.7; }
.routeStat dd:last-child { margin-bottom: 0; }
.routeStat dd.good { padding-left: 14px; border-left: 3px solid #176f4c; }
.routeStat dd.caution { padding-left: 14px; border-left: 3px solid #9f2d2d; }

.routeHighlight { margin-top: 34px; padding: clamp(30px, 6vw, 56px); background: #176f4c; color: #fff; border-radius: 22px; }
.routeHighlight .routeNumber { background: rgba(255, 255, 255, .16); color: #eaf7d4; }
.routeHighlight h2 { color: #fff; }
.routeHighlight p { font-size: 17px; line-height: 1.9; color: #e6f3ea; max-width: 700px; }
.routeHighlight p + p { margin-top: 14px; }
.routeHighlight .costNote { display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 10px; background: rgba(255, 255, 255, .12); font-weight: 700; }

.compareTableWrap { margin-top: 44px; }
.compareTableWrap h2 { color: #0b4f39; font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: 18px; }
.tableScroll { overflow-x: auto; border-radius: 18px; background: #fff; }
table.compareTable { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
table.compareTable caption { text-align: left; padding: 18px 22px 0; font-size: 13px; color: #567067; }
table.compareTable th, table.compareTable td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #e2e8e4; line-height: 1.75; }
table.compareTable thead th { background: #0b4f39; color: #fff; font-size: 13px; font-weight: 800; }
table.compareTable thead th:first-child { border-top-left-radius: 18px; }
table.compareTable thead th:last-child { border-top-right-radius: 18px; }
table.compareTable tbody th { width: 130px; color: #0b4f39; font-weight: 800; background: #f4f8f2; }
table.compareTable tbody tr:last-child td, table.compareTable tbody tr:last-child th { border-bottom: 0; }
table.compareTable td.highlight { background: #f8fbf2; font-weight: 700; color: #14512f; }

.compareCta { margin-top: 44px; padding: clamp(30px, 6vw, 52px); background: #fff; border-radius: 22px; text-align: center; }
.compareCta h2 { margin: 0 0 12px; color: #0b4f39; font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.compareCta p { max-width: 560px; margin: 0 auto 26px; font-size: 16px; line-height: 1.85; color: #45604f; }
.compareCta .ctaActions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.compareCta .button.ghost { background: #fff; border: 2px solid #0b4f39; color: #0b4f39; box-shadow: none; }

.compareFooter { padding: 28px 20px; text-align: center; background: #083b2c; color: #fff; }
.compareFooter a { color: #fff; }

@media (max-width: 760px) {
  .compareHeader { align-items: flex-start; flex-direction: column; }
  .routeGrid, .routeGrid.reverse { grid-template-columns: 1fr; }
  .routeGrid.reverse .routeText, .routeGrid.reverse .routeStat { order: initial; }
  .compareMain { padding-top: 30px; }
}
