@charset "utf-8";
/* ============================================================
   スリランカ タクシーチャーター モデルコース
   ============================================================ */

:root {
  --c-bg: #fbfaf7;
  --c-surface: #ffffff;
  --c-ink: #1a2321;
  --c-ink-2: #4a5754;
  --c-ink-3: #77827f;
  --c-line: #e3e0d8;
  --c-primary: #0f6f5c;
  --c-primary-d: #0a5245;
  --c-primary-l: #e6f2ef;
  --c-accent: #d98b28;
  --c-accent-l: #fbf1e3;
  --c-warn: #b4453a;
  --c-warn-l: #fbeceb;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(26, 35, 33, .07), 0 6px 20px rgba(26, 35, 33, .05);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
          "Noto Sans JP", "Yu Gothic Medium", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--c-primary-d); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 { line-height: 1.45; font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .4em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--c-ink); line-height: 1.3; }
.brand span { display: block; font-size: 11px; color: var(--c-ink-3); font-weight: 400; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: inline-block; padding: 6px 10px; font-size: 13.5px;
  text-decoration: none; color: var(--c-ink-2); border-radius: 6px; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--c-primary-l); color: var(--c-primary-d); }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: 12.5px; color: var(--c-ink-3); padding: 14px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li::after { content: "›"; margin-left: 6px; color: var(--c-line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--c-ink-3); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1000px 400px at 12% -10%, #14806a 0%, transparent 60%),
    radial-gradient(800px 380px at 90% 10%, #1c6f83 0%, transparent 62%),
    linear-gradient(160deg, #0d5a4b 0%, #0a3f3d 100%);
  color: #fff; padding: 64px 0 56px;
}
.hero h1 { font-size: clamp(26px, 4.4vw, 42px); margin: 0 0 18px; letter-spacing: .015em; }
.hero p { font-size: clamp(15px, 1.8vw, 17px); color: #d9ece7; max-width: 46em; margin-bottom: 0; }
.hero .kicker {
  display: inline-block; font-size: 12px; letter-spacing: .16em; color: #8fd8c5;
  border: 1px solid rgba(143, 216, 197, .45); padding: 4px 12px; border-radius: 99px; margin-bottom: 20px;
}

/* ---------- page head ---------- */
.page-head { padding: 26px 0 8px; }
.page-head h1 { font-size: clamp(22px, 3.4vw, 32px); margin: 6px 0 14px; }
.page-head .catch {
  font-size: 16px; color: var(--c-primary-d); font-weight: 700;
  border-left: 4px solid var(--c-accent); padding-left: 12px; margin: 0 0 18px;
}
.eyebrow { font-size: 12px; letter-spacing: .12em; color: var(--c-accent); font-weight: 700; }

/* ---------- section ---------- */
main { padding-bottom: 64px; }
section { margin: 42px 0; }
section > h2 {
  font-size: clamp(19px, 2.4vw, 24px); margin: 0 0 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--c-primary-l);
}
section > h3 { font-size: 17px; margin: 28px 0 10px; }

/* ---------- axis picker (home) ---------- */
.axis-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.axis-card {
  display: block; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.axis-card:hover { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.axis-card b { display: block; font-size: 17px; margin-bottom: 4px; color: var(--c-primary-d); }
.axis-card small { display: block; color: var(--c-ink-3); font-size: 12.5px; line-height: 1.6; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a, .chip {
  display: inline-block; font-size: 13px; padding: 5px 12px; border-radius: 99px;
  background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink-2);
}
.chips a:hover { border-color: var(--c-primary); background: var(--c-primary-l); color: var(--c-primary-d); }
.chip-accent { background: var(--c-accent-l); border-color: #ecd6b3; color: #8a5410; }
.chip-primary { background: var(--c-primary-l); border-color: #bfded6; color: var(--c-primary-d); }

/* ---------- stats ---------- */
.stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 0 0 24px; padding: 0; list-style: none; }
.stats li { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 12px 14px; margin: 0; }
.stats dt, .stats .k { font-size: 11.5px; color: var(--c-ink-3); letter-spacing: .06em; }
.stats .v { font-size: 17px; font-weight: 700; color: var(--c-ink); line-height: 1.4; }
.stats .v small { font-size: 12px; font-weight: 400; color: var(--c-ink-3); }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: var(--c-surface); min-width: 460px; }
th, td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--c-primary-l); color: var(--c-primary-d); font-weight: 700; white-space: nowrap; }
tbody tr:nth-child(even) td { background: #fdfdfc; }

/* ---------- itinerary ---------- */
.day {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  margin: 0 0 18px; overflow: hidden;
}
.day > header {
  background: linear-gradient(100deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
  color: #fff; padding: 12px 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.day > header .dn { font-size: 12px; letter-spacing: .1em; background: rgba(255,255,255,.18); padding: 2px 10px; border-radius: 99px; }
.day > header h3 { margin: 0; font-size: 16.5px; color: #fff; }
.day .meta {
  display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--c-ink-3);
  padding: 10px 18px; border-bottom: 1px dashed var(--c-line); background: #fcfcfa;
}
.day .meta b { color: var(--c-ink-2); font-weight: 700; }
.day ol.plan { list-style: none; margin: 0; padding: 14px 18px; }
.day ol.plan li { display: flex; gap: 14px; margin: 0 0 10px; font-size: 14.5px; }
.day ol.plan li:last-child { margin-bottom: 0; }
.day ol.plan .t {
  flex: 0 0 58px; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--c-primary);
  font-size: 13.5px; padding-top: 1px;
}
.day .memo {
  margin: 0; padding: 12px 18px; background: var(--c-accent-l); font-size: 13.5px; color: #7a4c12;
  border-top: 1px solid #f0e1c8;
}

/* ---------- callouts ---------- */
.note, .warn {
  border-radius: var(--radius); padding: 16px 18px; margin: 0 0 22px; font-size: 14.5px;
}
.note { background: var(--c-primary-l); border: 1px solid #c9e2db; }
.warn { background: var(--c-warn-l); border: 1px solid #f0cfcb; }
.note > :last-child, .warn > :last-child { margin-bottom: 0; }
.note h3, .warn h3 { margin: 0 0 8px; font-size: 15px; }
.warn h3 { color: var(--c-warn); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 0; margin: 0 0 10px;
}
.faq summary {
  cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 15px; list-style: none;
  display: flex; gap: 10px; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--c-accent); font-weight: 700; flex: 0 0 auto; }
.faq details[open] summary { border-bottom: 1px dashed var(--c-line); }
.faq .a { padding: 14px 18px; font-size: 14.5px; color: var(--c-ink-2); }
.faq .a > :last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: var(--c-surface); border: 2px solid var(--c-primary); border-radius: var(--radius);
  padding: 22px; margin: 36px 0;
}
.cta h2 { margin: 0 0 6px; font-size: 19px; border: 0; padding: 0; color: var(--c-primary-d); }
.cta .sub { font-size: 12.5px; color: var(--c-ink-3); margin: 0 0 14px; }
.cta ul { margin: 0 0 18px; font-size: 14.5px; }
.btn {
  display: inline-block; background: var(--c-primary); color: #fff !important; text-decoration: none;
  padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 15px; border: 0;
}
.btn:hover { background: var(--c-primary-d); color: #fff !important; }
.btn-outline {
  display: inline-block; background: transparent; color: var(--c-primary-d) !important;
  border: 1.5px solid var(--c-primary); padding: 10px 20px; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: 14.5px;
}
.btn-outline:hover { background: var(--c-primary-l); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.cta-sub {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--c-line);
  font-size: 13.5px; color: var(--c-ink-2);
}

/* ---------- course cards ---------- */
.course-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.course-card {
  display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 18px; text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.course-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow); color: inherit; }
.course-card .tag { font-size: 11.5px; color: var(--c-accent); font-weight: 700; letter-spacing: .08em; }
.course-card b { font-size: 16.5px; margin: 4px 0 8px; color: var(--c-primary-d); line-height: 1.5; }
.course-card p { font-size: 13.5px; color: var(--c-ink-2); margin: 0 0 12px; flex: 1; }
.course-card .facts { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--c-ink-3); border-top: 1px dashed var(--c-line); padding-top: 10px; margin: 0; }

/* ---------- builder ---------- */
.builder { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.builder fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.builder legend { font-weight: 700; font-size: 15px; color: var(--c-primary-d); padding: 0; margin-bottom: 10px; }
.builder .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.builder .opts label {
  display: inline-block; font-size: 13.5px; padding: 7px 14px; border-radius: 99px;
  border: 1px solid var(--c-line); background: var(--c-bg); cursor: pointer; user-select: none;
}
.builder .opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.builder .opts input:checked + span { color: var(--c-primary-d); }
.builder .opts label:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-l); color: var(--c-primary-d); font-weight: 700; }
.builder .opts label:focus-within { outline: 2px solid var(--c-accent); outline-offset: 2px; }
#builder-result { margin-top: 26px; }
#builder-summary {
  background: var(--c-primary-l); border: 1px solid #c9e2db; border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 18px; font-size: 14.5px;
}
#builder-summary .big { font-size: 20px; font-weight: 700; color: var(--c-primary-d); }
.empty { color: var(--c-ink-3); font-size: 14px; }

/* ---------- related ---------- */
.related { background: #f4f2ec; border-radius: var(--radius); padding: 20px 22px; }
.related h2 { border: 0; padding: 0; font-size: 16px; margin: 0 0 12px; }
.related + .related { margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer {
  background: #14211f; color: #a8b6b2; padding: 40px 0 28px; font-size: 13.5px; line-height: 1.8;
}
.site-footer a { color: #cfe3dd; }
.site-footer .cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 26px; }
.site-footer h3 { font-size: 13px; color: #fff; margin: 0 0 10px; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 5px; }
.site-footer .copy { border-top: 1px solid #263533; padding-top: 18px; font-size: 12px; color: #7b8a86; }
.disclaimer { font-size: 12px; color: #7b8a86; margin-top: 10px; }

/* ---------- utils ---------- */
.updated { font-size: 12px; color: var(--c-ink-3); }
.lead { font-size: 16.5px; color: var(--c-ink-2); }
.center { text-align: center; }
.mt0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { padding: 44px 0 38px; }
  .site-header .wrap { min-height: 52px; padding-top: 8px; padding-bottom: 8px; }
  .site-nav { margin-left: 0; width: 100%; overflow-x: auto; }
  .site-nav ul { flex-wrap: nowrap; }
  .day ol.plan li { flex-direction: column; gap: 2px; }
  .day ol.plan .t { flex: none; }
}

@media print {
  .site-header, .site-footer, .cta, .site-nav { display: none; }
  body { background: #fff; font-size: 12px; }
}

/* ============================================================
   イラスト & アニメーション
   ============================================================ */

.ill { max-width: 100%; height: auto; }

@keyframes ill-float   { 0%,100% { transform: translateY(0);      } 50% { transform: translateY(-6px); } }
@keyframes ill-float2  { 0%,100% { transform: translateY(-4px);   } 50% { transform: translateY(3px);  } }
@keyframes ill-sway    { 0%,100% { transform: rotate(-5deg);      } 50% { transform: rotate(6deg);     } }
@keyframes ill-sway2   { 0%,100% { transform: rotate(4deg);       } 50% { transform: rotate(-5deg);    } }
@keyframes ill-pulse   { 0%,100% { transform: scale(1); opacity:.9 } 50% { transform: scale(1.12); opacity:1 } }
@keyframes ill-blink   { 0%,44%,56%,100% { opacity: 1 } 48%,52% { opacity: .15 } }
@keyframes ill-drive   { 0%   { transform: translateX(-8px) } 50% { transform: translateX(8px) } 100% { transform: translateX(-8px) } }
@keyframes ill-drive2  { 0%   { transform: translateX(-16px) } 100% { transform: translateX(30px) } }
@keyframes ill-bump    { 0%,100% { transform: translateY(0) rotate(0) } 25% { transform: translateY(-2px) rotate(-1.2deg) } 75% { transform: translateY(1px) rotate(1.2deg) } }
@keyframes ill-road    { to { stroke-dashoffset: -60 } }
@keyframes ill-steam   { 0% { transform: translateY(2px); opacity:.15 } 50% { opacity:.6 } 100% { transform: translateY(-10px); opacity: 0 } }
@keyframes ill-rise    { 0% { transform: translateY(6px) scaleY(.7); opacity:.3 } 60% { opacity:.9 } 100% { transform: translateY(-4px) scaleY(1.1); opacity: 0 } }
@keyframes ill-wave    { 0%,100% { transform: translateX(0) } 50% { transform: translateX(-14px) } }
@keyframes ill-fan     { 0%,100% { transform: scaleX(.92) } 50% { transform: scaleX(1.06) } }
@keyframes ill-bloom   { 0%,100% { transform: scale(.94) } 50% { transform: scale(1.05) } }
@keyframes ill-spin    { 0% { transform: rotate(-6deg) } 50% { transform: rotate(6deg) } 100% { transform: rotate(-6deg) } }
@keyframes ill-spin-slow { to { transform: rotate(360deg) } }
@keyframes ill-tick    { 0%,100% { transform: rotate(0) } 50% { transform: rotate(18deg) } }
@keyframes ill-bird    { 0% { transform: translate(0,0) } 50% { transform: translate(16px,-6px) } 100% { transform: translate(38px,2px); opacity: 0 } }
@keyframes ill-flag    { 0%,100% { transform: skewX(-3deg) } 50% { transform: skewX(4deg) } }

.ill-float  { animation: ill-float  4.5s ease-in-out infinite; }
.ill-float2 { animation: ill-float2 6s   ease-in-out infinite; }
.ill-sway   { animation: ill-sway   3.6s ease-in-out infinite; }
.ill-sway2  { animation: ill-sway2  4.2s ease-in-out infinite; }
.ill-pulse  { animation: ill-pulse  3s   ease-in-out infinite; transform-origin: center; }
.ill-blink  { animation: ill-blink  4s   ease-in-out infinite; }
.ill-drive  { animation: ill-drive  3.4s ease-in-out infinite; }
.ill-drive2 { animation: ill-drive2 7s   linear infinite; }
.ill-bump   { animation: ill-bump   .9s  ease-in-out infinite; transform-origin: center; }
.ill-road   { animation: ill-road   2.2s linear infinite; }
.ill-steam  { animation: ill-steam  3.2s ease-out infinite; }
.ill-rise   { animation: ill-rise   3.6s ease-out infinite; }
.ill-wave   { animation: ill-wave   6s   ease-in-out infinite; }
.ill-fan    { animation: ill-fan    5s   ease-in-out infinite; }
.ill-bloom  { animation: ill-bloom  5.5s ease-in-out infinite; }
.ill-spin   { animation: ill-spin   7s   ease-in-out infinite; }
.ill-spin-slow { animation: ill-spin-slow 26s linear infinite; }
.ill-tick   { animation: ill-tick   4s   ease-in-out infinite; transform-origin: 60px 52px; }
.ill-bird   { animation: ill-bird   9s   ease-in-out infinite; }
.ill-flag   { animation: ill-flag   3s   ease-in-out infinite; }

/* セクション右上に置く飾りイラスト（本文の回り込みを起こさない） */
.sec-ill {
  position: absolute; top: -6px; right: 0; width: 108px; opacity: .95;
  pointer-events: none; z-index: 0;
  filter: drop-shadow(0 2px 6px rgba(26,35,33,.10));
}
.sec-ill.lg { position: static; float: right; width: 132px; margin: 0 0 8px 16px; }
section.deco > h2 { padding-right: 122px; }
section.deco > * { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .sec-ill { width: 74px; top: -2px; }
  section.deco > h2 { padding-right: 84px; }
}

/* ブロック見出しの装飾 */
.ill-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary-l);
  margin-right: 10px; vertical-align: middle; flex: 0 0 auto; overflow: hidden;
}
.ill-badge svg { width: 30px; height: 30px; }

/* キーワード帯 */
.kw-ribbon {
  display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center;
  background: linear-gradient(100deg, #fff7e8 0%, #eef7f3 100%);
  border: 1px dashed #e2cfa6; border-radius: 10px;
  padding: 10px 14px; margin: 18px 0; font-size: 13.5px; color: #7a5410;
}
.kw-ribbon b { color: var(--c-primary-d); }
.kw-ribbon > span:nth-child(2) { flex: 1 1 18em; }
.kw-ribbon .ill-badge { flex: 0 0 34px; }
.kw-ribbon .kw-pill {
  background: #fff; border: 1px solid #e6d7b6; border-radius: 99px;
  padding: 3px 11px; font-size: 12.5px; color: #8a5410; white-space: nowrap;
}

/* 外部サイト紹介（小さく） */
.othersites {
  border-top: 1px dashed var(--c-line); margin-top: 30px; padding-top: 14px;
  font-size: 12.5px; color: var(--c-ink-3); line-height: 1.75;
}
.othersites h2 {
  font-size: 13px; border: 0; padding: 0; margin: 0 0 8px; color: var(--c-ink-2);
  display: flex; align-items: center; gap: 6px;
}
.othersites ul { list-style: none; padding: 0; margin: 0; }
.othersites li { margin-bottom: 5px; }
.othersites a { color: #5a6d68; }
.othersites a:hover { color: var(--c-accent); }
.othersites .top4 { color: #9aa5a1; font-size: 11.5px; margin: 0 0 8px; }

/* 装飾された section */
section.deco { position: relative; }
section.deco::after { content: ""; display: block; clear: both; }

.hero-ill {
  position: absolute; right: 4%; top: 44%; transform: translateY(-50%);
  width: 210px; opacity: .95; pointer-events: none; z-index: 1;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1, .hero p { max-width: 62%; }
@media (max-width: 900px) { .hero h1, .hero p { max-width: 100%; } }
.bunting { position: relative; z-index: 3; }
@media (max-width: 900px) { .hero-ill { display: none; } }
.hero { position: relative; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .ill-float, .ill-float2, .ill-sway, .ill-sway2, .ill-pulse, .ill-blink, .ill-drive,
  .ill-drive2, .ill-bump, .ill-road, .ill-steam, .ill-rise, .ill-wave, .ill-fan,
  .ill-bloom, .ill-spin, .ill-spin-slow, .ill-tick, .ill-bird, .ill-flag {
    animation: none !important;
  }
}
