@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Manrope:wght@500;700;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", sans-serif;
  color: #182033;
  background: #f7f1e8;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== COMMON HEADER (matches index.html .hd) ===== */
.hd{position:sticky;top:0;left:0;right:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:18px 6%;transition:.4s ease;background:rgba(246,239,228,.85);backdrop-filter:blur(16px);box-shadow:0 4px 18px rgba(0,0,0,.04)}
.hd.scrolled{padding:14px 6%;box-shadow:0 6px 24px rgba(0,0,0,.08)}
.hd .logo{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Yu Gothic",sans-serif;font-size:28px;font-weight:900;letter-spacing:-0.04em;color:#1f6f5b}
.hd-r{display:flex;align-items:center;gap:14px}
.hd-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e7ddcb;border-radius:999px;padding:8px 8px 8px 16px}
.hd-search input{background:none;border:none;outline:none;color:#182033;width:150px;font-size:13px}
.hd-search input::placeholder{color:#6c7787}
.hd-search button{border:none;border-radius:999px;background:#1f6f5b;color:#fff;width:34px;height:34px;cursor:pointer;font-size:14px}
/* hamburger */
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;border:none;background:none;cursor:pointer;padding:0}
.burger span{display:block;width:24px;height:2px;background:#1b2330;margin:0 auto;border-radius:2px;transition:.3s}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.ovl{position:fixed;inset:0;background:rgba(15,20,28,.45);z-index:60;opacity:0;pointer-events:none;transition:.3s}
.ovl.open{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:-90%;width:84%;max-width:360px;height:100%;background:#f6efe4;z-index:70;padding:80px 26px 28px;transition:right .35s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column;box-shadow:-20px 0 50px rgba(0,0,0,.2);overflow-y:auto}
.drawer.open{right:0}
.drawer .dclose{position:absolute;top:20px;right:20px;border:none;background:none;font-size:28px;line-height:1;cursor:pointer;color:#1b2330}
.drawer .dsearch{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #e7ddcb;border-radius:999px;padding:7px 7px 7px 16px;margin-bottom:10px}
.drawer .dsearch input{border:none;outline:none;background:none;flex:1;font-size:14px}
.drawer .dsearch button{border:none;border-radius:999px;background:#1f6f5b;color:#fff;width:34px;height:34px;cursor:pointer;flex-shrink:0}
.drawer a.dlink{padding:16px 4px;font-size:17px;font-weight:700;border-bottom:1px solid #e7ddcb;display:flex;justify-content:space-between;align-items:center;color:#182033}
.drawer a.dlink em{font-style:normal;font-family:"Manrope",sans-serif;font-size:12px;letter-spacing:.1em;color:#e2683b}
.drawer .dcta{padding-top:18px;margin-bottom:36px;display:flex;flex-direction:column;gap:10px}
.drawer .btn.btn-g{background:transparent;color:#1f6f5b;border:1.5px solid #1f6f5b}
.drawer .btn.btn-g:hover{background:#1f6f5b;color:#fff}
.hd .btn,.drawer .btn{padding:16px 30px;border-radius:999px;font-weight:800;font-size:15px;cursor:pointer;transition:.25s;display:inline-flex;align-items:center;gap:10px;border:none}
.hd .btn-p,.drawer .btn-p{background:#e2683b;color:#fff}
.hd .btn-p:hover,.drawer .btn-p:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(226,104,59,.5)}
.drawer .dcta .btn{width:100%;justify-content:center}
.drawer .dtitle{font-size:18px;font-weight:800;margin:0 0 12px;color:#1b2330}
.drawer .dq{width:100%;padding:12px 16px;border:1px solid #e7ddcb;border-radius:999px;background:#fff;font-size:14px;outline:none;font-family:inherit;margin-bottom:14px;color:#182033}
.drawer .dfilter{display:flex;flex-direction:column;gap:11px;margin-bottom:16px}
.drawer .dfield{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#6c7787}
.drawer .dfield select{font-size:14px;color:#182033;padding:11px 14px;border:1px solid #e7ddcb;border-radius:12px;background:#fff;font-family:inherit;cursor:pointer}
.drawer .dgo{width:100%;justify-content:center}
.drawer .dnav{margin-top:18px;border-top:1px solid #e7ddcb}
.drawer .dnav a.dlink{font-size:15px;padding:13px 4px}
@media (max-width:768px){
  .hd-search{display:none}
  .burger{display:flex}
}

.header {
  padding: 14px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 239, 228, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

/*検索*/
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e7ddcb;
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
}

.header-search input {
  width: 200px;
  padding: 4px 0;
  border: none;
  outline: none;
  background: none;
  font-size: 13px;
}
@media (max-width: 768px) {
  .header-search input {
    width: 170px;
    font-size: 12px;
  }

  .header-search button {
    display: none;
  }
}

.header-search button {
  border: none;
  border-radius: 999px;
  background: #1f6f5b;
  color: #fff;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}

.logo {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #1f6f5b;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.nav-button {
  padding: 12px 20px;
  border-radius: 999px;
  background: #182033;
  color: white;
}

.hero {
  position: relative;
  min-height: 650px;
  padding: 200px 7% 90px;
  text-align: center;
  overflow: hidden;

  background:
    radial-gradient(circle at 18% 20%, rgba(42, 131, 218, 0.22), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(242, 153, 74, 0.34), transparent 30%),
    radial-gradient(circle at 50% 88%, rgba(31, 111, 91, 0.25), transparent 35%),
    linear-gradient(135deg, #fff8ed 0%, #eaf6f1 48%, #f6e5cf 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(247, 241, 232, 0),
    #f7f1e8
  );
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-block;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(31, 111, 91, 0.1);
  color: #1f6f5b;
  font-size: 14px;
  font-weight: 900;
}

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.9;
  color: #4f5c6d;
  font-weight: 600;
}

.buttons {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.primary-button,
.secondary-button {
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, #1f6f5b, #2fa17f);
  box-shadow: 0 18px 34px rgba(31, 111, 91, 0.25);
}

.secondary-button {
  background: white;
  color: #1f6f5b;
  border: 1px solid rgba(31, 111, 91, 0.18);
}

.search-area,
.trips,
.introduction,
.concept,
.founder-section,
/* ===== GREEN MINI HERO (matches filter.html) ===== */
.fhero{position:relative;padding:108px 6% 34px;background:linear-gradient(150deg,#1f6f5b,#2f9e7f);color:#fff;overflow:hidden}
.fhero::after{content:"";position:absolute;right:-80px;top:-80px;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.07)}
.fhero .eyebrow{font-family:"Manrope",sans-serif;font-weight:800;letter-spacing:.22em;font-size:12px;text-transform:uppercase;color:#ffd9a0;margin:0}
.fhero h1{font-size:clamp(28px,4.4vw,46px);font-weight:900;letter-spacing:-.02em;margin:12px 0 10px;color:#fff}
.fhero p{color:rgba(255,255,255,.9);font-size:15px;line-height:1.8;max-width:560px;margin:0}
@media (max-width:768px){.fhero{padding:88px 6% 16px}.fhero h1{margin:6px 0 7px}.fhero p{font-size:14px;line-height:1.65}}

.search-results{
  padding: 30px 7% 84px;
}

.search-area h2,
.section-title h2,
.introduction h2,
.concept h2,
.founder-section h2,
.search-results h2 {
  margin: 0 0 28px;
  font-size: 38px;
  letter-spacing: -0.05em;
}
.search-area p,
.introductionlabel,
.section-title p,
.founderlabel,
.searchlabel {
  margin: 0 0 8px;
  color: #1f6f5b;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.intro-message {
  margin-top: 28px;
  max-width: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 30, 50, 0.06);
  border-radius: 28px;
  padding: 32px 36px;
  box-shadow: 0 14px 36px rgba(20, 30, 50, 0.06);
}

.intro-lead {
  font-size: 30px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 22px;
}

.intro-text {
  font-size: 16px;
  line-height: 2.1;
  color: #374151;
  margin-bottom: 16px;
}

.intro {
  display: inline-block;
  background: #f8f3ea;
  color: #1f6f5b;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.travel-cycle {
  max-width: 1100px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 260px auto 260px auto 260px;
  gap: 22px;
  align-items: center;
  justify-content: center;
}

.cycle-item {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 30, 50, 0.06);
  box-shadow: 0 12px 30px rgba(20, 30, 50, 0.06);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 32px;
}

.cycle-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111827;
  text-align: center;
}

.cycle-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}

.cycle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f6f5b;
  font-size: 34px;
  font-weight: 900;
}

.cycle-note {
  margin-top: 30px;
  text-align: center;
  color: #1f6f5b;
  font-weight: 800;
}

@media (max-width: 900px) {
  .travel-cycle {
    grid-template-columns: 1fr;
  }

  .cycle-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }
}
.founder-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 30, 50, 0.06);
  border-radius: 32px;
  padding: 44px;
  box-shadow: 0 16px 40px rgba(20, 30, 50, 0.06);

  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.founder-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(20, 30, 50, 0.12);
}

.founder-content {
  padding: 0;
}

.founder-lead {
  font-size: 26px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.5;
}

.founder-text {
  font-size: 16px;
  line-height: 2;
  color: #374151;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    height: 320px;
  }
}

.search-area {
  padding: 84px 7%;
}

.search-grid {
  align-items: start;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.search-card {
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(34, 40, 49, 0.08);
  min-height: 210px;
  cursor: pointer;
}

.search-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  color: #111827;
}

.search-card p {
  margin: 0;
  line-height: 1.7;
  color: #697586;
  font-weight: 600;
}

/* 開閉パネル */
.filter-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px dashed transparent;
  transition: max-height 0.45s ease, opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease;
}

.search-card.active .filter-panel {
  max-height: 420px;
  overflow-y: auto;
  opacity: 1;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed #e5e7eb;
}

/* 国・地域 */
.filter-group {
  padding: 14px 0;
  border-bottom: 1px solid rgba(22, 34, 53, 0.1);
}

.region-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #162235;
  margin-bottom: 10px;
}

.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 24px;
}

.country-list label {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(22, 34, 53, 0.12);
  font-size: 14px;
  font-weight: 700;
}

.filter-subtitle {
  font-size: 13px;
  font-weight: 800;
  color: #1f6f5b;
  margin: 0 0 12px;
}

.style-section-border {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px dashed #e5e7eb;
}

/* 通常チェック項目 */
.filter-panel label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
}

.filter-panel input {
  margin-right: 8px;
  accent-color: #1f6f5b;
}

/* 検索ボタン */
.filter-submit-wrap {
  display: none;
  justify-content: center;
  margin-top: 28px;
}

.search-area.filters-open .filter-submit-wrap {
  display: flex;
}

.filter-search-btn {
  min-width: 240px;
  border: none;
  background: #1f6f5b;
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

/* スマホ */
@media (max-width: 768px) {
  .search-area {
    padding: 48px 5%;
  }

  .search-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .search-card {
    padding: 24px;
    min-height: auto;
  }

  .search-card h3 {
    font-size: 20px;
  }

  .search-card.active .filter-panel {
    max-height: 360px;
  }
}

/*新着旅程*/
/* 新着旅程 自動スクロール */
.trip-grid.auto-scroll {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollTrips 28s linear infinite;
}

.trip-grid.auto-scroll .trip-card {
  width: 320px;
  flex-shrink: 0;
}

.trips {
  overflow: hidden;
}

@keyframes scrollTrips {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.trip-card {
  overflow: hidden;
  border-radius: 30px;
  background: white;
  box-shadow: 0 18px 40px rgba(34, 40, 49, 0.1);
}

.trip-image {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #e9e4d8; /* 画像読み込み中のプレースホルダ色 */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.trip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trip-image::after { /* 旧デザインの薄い暗転（0.12）を維持 */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.trip-content {
  padding: 26px;
}

.country {
  margin: 0 0 8px;
  color: #1f6f5b;
  font-weight: 900;
}

.trip-content h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.trip-content p {
  color: #657083;
  line-height: 1.75;
  font-weight: 600;
}

.tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef7f3;
  color: #1f6f5b;
  font-size: 12px;
  font-weight: 900;
}

.concept {
  margin: 30px 7% 90px;
  padding: 70px;
  border-radius: 36px;
  background: #182033;
  color: white;
  text-align: center;
}

.concept p {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 2;
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 86px;
    min-height: 560px;
  }

  .lead {
    font-size: 17px;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .search-grid,
  .trip-grid {
    grid-template-columns: 1fr;
  }

  .concept {
    margin: 20px 5% 70px;
    padding: 42px 24px;
  }
}

/* =========================
   Mongolia article page
========================= */

.article-hero {
  max-width: 1180px;
  margin: 36px auto 56px;
  background: #fffaf2;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 420px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.05);
}

.hero-text {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  font-size: 30px;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 15px;
  line-height: 2;
  color: #475569;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-info {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-info div {
  background: #ffffff;
  border: 1px solid #edf0f3;
  border-radius: 16px;
  padding: 12px 16px;
}

.hero-info span {
  display: block;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-info strong {
  font-size: 14px;
  color: #111827;
}

/* 投稿者欄：アイコン＋名前（クリックでプロフィールへ） */
.hero-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.hero-author-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e7ddcb;
}
.hero-author-name {
  font-size: 14px;
  font-weight: 700;
}
a.hero-author:hover .hero-author-name {
  text-decoration: underline;
}

.hero-basic-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: none;

  margin-top: 10px;
  margin-bottom: 25px;

  background: #f3efe6;
  border-radius: 999px;
  padding: 6px;
}

.hero-basic-info div {
  padding: 8px 18px;
  border-right: 1px solid rgba(31, 122, 97, 0.18);
}

.hero-basic-info div:last-child {
  border-right: none;
}

.hero-basic-info span {
  display: block;
  font-size: 10px;
  color: #8a7358;
  font-weight: 800;
  margin-bottom: 2px;
}

.hero-basic-info strong {
  font-size: 13px;
  color: #1f3d35;
  font-weight: 800;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef8f4;
  color: #1f7a61;
  font-size: 12px;
  font-weight: 800;
}

.hero-images {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto 48px;

  border-radius: 32px;
  overflow-y: hidden;
}

.hero-images img {
  width: 100%;
  height: 520px;
  flex: 0 0 100%;

  object-fit: cover;
  scroll-snap-align: start;
}

.hero-carousel {
  position: relative;
}

.hero-images {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  border-radius: 28px;
}

.hero-images img {
  flex: 0 0 100%;
  width: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.hero-images::-webkit-scrollbar {
  display: none;
}

.hero-images {
  scrollbar-width: none;
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 7px;
  z-index: 5;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.hero-dots span {
  opacity: 0.5;
}

.hero-dots span.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-images {
    display: flex;
    width: calc(100% - 32px);
    margin: 0 auto 0px;
    margin-top: 24px;

    border-radius: 24px;
  }

  .hero-images img {
    height: 260px;
  }
}

/* 写真がまだない時用 */
.hero-images img:not([src]),
.hero-images img[src=""] {
  background: linear-gradient(160deg, #9fc5a8, #e7b56f);
}

@media (max-width: 900px) {
  .article-hero {
    grid-template-columns: 1fr;
  }

  .hero-images {
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .article-hero {
    display: block;
    margin: 24px 16px 36px;
    padding: 0;
    border-radius: 28px;
    min-height: auto;
  }

  .hero-text {
    padding: 15px 24px 28px;
  }

  .hero-text h1 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 18px;
  }

  .hero-lead {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .hero-basic-info {
    width: 100%;
    margin: 16px 0 18px;
    padding: 4px;
    border-radius: 20px;
  }

  .hero-basic-info div {
    padding: 8px 10px;
  }

  .hero-basic-info span {
    font-size: 10px;
  }

  .hero-basic-info strong {
    font-size: 12px;
  }

  .hero-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }

  .hero-info div {
    padding: 10px;
    border-radius: 14px;
  }

  .hero-info span {
    font-size: 10px;
  }

  .hero-info strong {
    font-size: 12px;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tags span {
    font-size: 11px;
    padding: 6px 10px;
  }
}

.info-grid {
  max-width: 1200px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 20px;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(20, 30, 50, 0.08);
  border: 1px solid rgba(20, 30, 50, 0.06);
}

.info-card h2 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #111827;
}

.info-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 8px;
}

.info-card strong {
  display: block;
  margin-top: 18px;
  font-size: 22px;
  color: #f97316;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}


.trip-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 15px;
}

.cost-row span {
  color: #475569;
  font-weight: 600;
}

.cost-row strong {
  color: #111827;
  font-size: 16px;
  margin: 0;
}

.cost-total {
  margin-top: 20px;
  padding: 18px 20px;
  background: #fff4e6;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cost-total span {
  font-weight: 800;
  color: #92400e;
}

.cost-total strong {
  color: #f97316;
  font-size: 24px;
  margin: 0;
}

.itinerary-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(30, 40, 50, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.itinerary-card h2 {
  font-size: 20px;
  margin-bottom: 18px;
}

.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 24px;
  width: 1.5px;
  background: #d8b98c;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: #fffaf2;
  border: 3px solid #b88b5a;
  border-radius: 50%;
}

.day {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #b88b5a;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.timeline-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #1f2937;
}

.info-grid {
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
}

.itinerary-card {
  padding: 34px 44px;
}

.timeline {
  padding-left: 26px;
}

.timeline-item {
  padding-left: 28px;
  margin-bottom: 22px;
}

.timeline-item::before {
  left: -27px;
}

.flight-route {
  padding: 18px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.flight-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #b88b5a;
  letter-spacing: 0.12em;
}

.flight-route h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.5;
  color: #111827;
}

.flight-route p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  font-weight: 700;
}

.flight-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.flight-meta div {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
}

.flight-meta span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}

.flight-meta strong {
  margin: 0;
  font-size: 15px;
  color: #111827;
}
/* =========================
   利用サービスカード：2カラム表示・複数サービスは右側で改行
========================= */

.services-card .service-item {
  display: grid;
  grid-template-columns: 32% 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px dashed #d9d9d9;
}

.services-card .service-item:last-child {
  border-bottom: none;
}

.services-card .service-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: #5f6b80;
}

.services-card .service-item strong {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: #172033;
  text-align: right;
}

@media (max-width: 768px) {
  .info-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 0 18px 20px;
    scroll-snap-type: x mandatory;
  }

  .info-card,
  .itinerary-card {
    min-width: 82vw;
    scroll-snap-align: center;
    padding: 28px 24px;
    border-radius: 24px;
  }
  
}
@media (max-width: 768px) {
  .info-grid {
    gap: 12px;
    padding: 0 16px 18px;
  }

@media (max-width: 768px) {
  .info-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 0 28px 20px;
    scroll-snap-type: x mandatory;
    box-sizing: border-box;
  }

  .info-card,
  .cost-card,
  .itinerary-card,
  .flight-card,
  .service-card {
    min-width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    scroll-snap-align: center;
    padding: 28px 24px;
    border-radius: 24px;
    box-sizing: border-box;
  }
}
  .cost-row {
    padding: 12px 0;
  }

  .cost-row span,
  .cost-row strong {
    font-size: 14px;
  }

  .cost-total {
    padding: 14px 16px;
    margin-top: 18px;
  }

  .cost-total span {
    font-size: 13px;
  }

  .cost-total strong {
    font-size: 20px;
  }

  .timeline-item {
    gap: 12px;
    margin-bottom: 18px;
  }

  .timeline-item p {
    font-size: 14px;
    line-height: 1.6;
  }

  .day {
    font-size: 11px;
  }

  .flight-route h3 {
    font-size: 17px;
    line-height: 1.5;
  }

  .flight-route p {
    font-size: 13px;
  }

  .flight-meta {
    gap: 10px;
  }

  .flight-meta div {
    padding: 12px;
  }
}

/* =========================
   スマホ：費用・旅程・航空券カードを横スクロールで中央寄せ
========================= */
@media (max-width: 768px) {
  .info-grid {
    display: flex;
    overflow-x: auto;
    gap: 18px;
    padding: 0 22px 36px;
    scroll-snap-type: x mandatory;
  }

  .info-card {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }

  .info-grid::before,
  .info-grid::after {
    content: "";
    flex: 0 0 7%;
  }
}
/**/


.info-grid,
.day-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.day-grid {
  margin-top: 48px;
  margin-bottom: 32px;
  display: grid;
  gap: 20px;
}

.day-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;

  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(30, 40, 50, 0.08);
}

/* =========================
   DAY accordion / mobile only
========================= */

/* PC：今まで通り全部表示 */
.day-content {
  display: block;
}

.day-toggle {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 0;
}

.day-icon {
  display: none;
}

/* スマホ：開閉式 */
@media (max-width: 768px) {
   .day-grid {
    margin-top: 20px;
  }

  .day-card {
    padding: 18px;
    border-radius: 20px;
  }

  .day-toggle {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    align-items: center;
    cursor: pointer;
  }

  .day-label {
    grid-column: 1;
    font-size: 12px;
    font-weight: 700;
    color: #8a6f4d;
    letter-spacing: 0.04em;
  }

  .day-title {
    grid-column: 1;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    color: #2f2418;
    margin: 0;
  }

  .day-icon {
    display: block;
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: 25px;
    line-height: 1;
    color: #8a6f4d;
  }

  .day-content {
    margin-top: 0px;
  }
}

/* 開閉ゆっくり */
@media (max-width: 768px) {
  .day-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 3px;
    transition:
      max-height 0.45s ease,
      opacity 0.3s ease,
      margin-top 0.3s ease;
  }

  .day-card.is-open .day-content {
    max-height: 2000px;
    opacity: 1;
    margin-top: 0px;
  }

  .day-icon {
    transition: transform 0.3s ease;
  }

  .day-card.is-open .day-icon {
    transform: rotate(180deg);
  }
}

  .day-text p {
    font-size: 14px;
    line-height: 1.8;
  }

  .photo-slider {
    margin-top: 14px;
  }

/* スマホ横スクロール防止 */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .day-grid,
  .day-card,
  .day-content,
  .day-text,
  .photo-slider {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .day-card {
    padding: 18px;
    margin-inline: 0;
  }

  .day-text p {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .photo-slider {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
  }

  .photo-slider img {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    scroll-snap-align: start;
  }
}


.photo-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.photo-slider img {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  scroll-snap-align: start;
}

.photo-slider::-webkit-scrollbar {
  height: 6px;
}

.photo-slider::-webkit-scrollbar-thumb {
  background: #d8b98c;
  border-radius: 999px;
}

/* 旅の記録：写真ギャラリー（複数枚のとき「現在/総数」カウンターで分かりやすく） */
.photo-gallery {
  position: relative;
}
.pg-counter {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 4;
  display: none;
  background: rgba(24, 32, 51, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
/* スマホでは1枚ずつ大きく見えるので、カウンターを表示 */
@media (max-width: 768px) {
  .photo-gallery .pg-counter { display: block; }
}


/* =========================
   投稿者Tips欄：セクション全体
========================= */

.tips-section {
  max-width: 1200px;
  margin: 32px auto 40px;
  padding: 0 32px;
  box-sizing: border-box;
  margin-top: 32px;
}

/* =========================
   投稿者Tips欄：文章カード
========================= */

.tips-card {
  background: #fffaf2;
  border-radius: 32px;
  padding: 48px;
  box-sizing: border-box;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.tips-card h2 {
  margin: 0 0 24px;
  font-size: 25px;
  line-height: 1.4;
  color: #111827;
}

.tips-text {
  margin: 0;
  font-size: 17px;
  line-height: 2;
  color: #172033;
}

/* =========================
   スマホ：投稿者Tips欄の余白・文字サイズ調整
========================= */

@media (max-width: 768px) {
  .tips-section {
    margin: 32px auto 32px;
    padding: 0 22px;
  }

  .tips-card {
    position: relative;
    background: #fff;
    border: 1px solid #ece2d0;
    border-left: 4px solid #1f6f5b;
    border-radius: 22px;
    padding: 28px 22px;
    overflow: hidden;
  }

  .tips-card::before {
    content: "\201C";
    position: absolute;
    top: 2px; right: 20px;
    font-family: Georgia, serif;
    font-size: 76px;
    line-height: 1;
    color: #1f6f5b;
    opacity: .1;
  }

  .tips-eyebrow {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .tips-card h2 {
    margin-bottom: 14px;
    font-size: 19px;
  }

  .tips-text {
    font-size: 14px;
    line-height: 1.9;
    position: relative;
  }
}

@media (max-width: 900px) {
  .day-card {
    grid-template-columns: 1fr;
  }

  .photo-slider img {
    flex-basis: 100%;
    height: 240px;
    scroll-snap-align: start;
  }
}
/* =========================
   アフィリエイトセクション
========================= */

.affiliate-section {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.affiliate-card {
  background: #f6fbf9;
  border: 1px solid #d1ece4;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.affiliate-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1f6f5b;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.affiliate-card h2 {
  font-size: 14px;
  margin: 0;
  color: #111827;
  font-weight: 600;
  flex: 1;
}

.affiliate-card > p {
  display: none;
}

.affiliate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1f6f5b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}

.affiliate-btn:hover { background: #185c4a; }

.affiliate-note {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #9ca3af;
  border-radius: 4px;
  padding: 2px 5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .affiliate-section { padding: 0 22px; margin: 20px auto; }
  .affiliate-card { padding: 12px 16px; gap: 10px; }
  .affiliate-card h2 { font-size: 13px; }
  .affiliate-btn { font-size: 12px; padding: 7px 14px; }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   投稿者プロフィールカード
========================= */

.author-card {
  max-width: 1100px;
  margin: 28px auto 72px;
  padding: 22px 24px;
  background: #ffffff;
  border-radius: 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.author-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-label {
  margin: 0 0 3px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c2873f;
}

.author-info h2 {
  margin: 0 0 5px;
  font-size: 17px;
  color: #111827;
}

.author-info p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #4b5563;
}
@media (max-width: 768px) {
  .author-card {
    margin: 24px 22px 56px;
  }
}

/* =========================
   投稿者プロフィールカード：SNSアイコン
========================= */

.author-socials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.author-social {
  color: #8b9195;
  font-size: 22px;
  text-decoration: none;
  transition: 0.2s;
}

.author-social:hover {
  color: #E1306C;
}

/* =========================
   記事アクション：いいね・共有
========================= */

.article-actions {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.action-like,
.action-share {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.action-like {
  background: #fff;
  border: 1.5px solid #e7ddcb;
  color: #5a6066;
}

.action-like i { font-size: 17px; color: #c2873f; transition: .2s; }
.action-like .like-count { font-variant-numeric: tabular-nums; }
.action-like:hover { border-color: #c2873f; }

.action-like.liked {
  background: #fff1f3;
  border-color: #f3b9c2;
  color: #e03e63;
}
.action-like.liked i { color: #e03e63; }

.action-share {
  background: #1f6f5b;
  border: 1.5px solid #1f6f5b;
  color: #fff;
}
.action-share i { font-size: 15px; }
.action-share:hover { background: #185645; border-color: #185645; }

.action-save {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  background: #fff;
  border: 1.5px solid #e7ddcb;
  color: #5a6066;
}
.action-save i { font-size: 16px; color: #1f6f5b; transition: .2s; }
.action-save:hover { border-color: #1f6f5b; }
.action-save.saved { background: #e9f5ef; border-color: #bfe3d3; color: #1f6f5b; }
.action-save.saved i { color: #1f6f5b; }

.action-like:active,
.action-share:active,
.action-save:active { transform: scale(.96); }

/* =========================
   執筆者カード：フォローボタン
========================= */

.author-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.author-name-row h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.author-follow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 22px;
  border-radius: 999px;
  background: #1f6f5b;
  color: #fff;
  border: 1.5px solid #1f6f5b;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.author-follow i { font-size: 12px; }
.author-follow:hover { background: #185645; }
.author-follow:active { transform: scale(.96); }
.author-follow.following {
  background: #fff;
  color: #1f6f5b;
}

/* =========================
   トースト通知
========================= */

.tabi-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(12px);
  background: #1f2a28;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 9999;
}
.tabi-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .article-actions { padding: 0 22px; }
  .action-like, .action-share, .action-save { padding: 11px 18px; font-size: 14px; }

  .author-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 20px;
  }
  .author-icon { width: 54px; height: 54px; }
  .author-info { width: 100%; }
  .author-socials { margin-top: 8px; }
  .author-social { font-size: 20px; }
  .author-follow {
    padding: 8px 18px;
    font-size: 13.5px;
  }
}

/* =========================
   管理者バッジ（認証チェック）
========================= */

.admin-badge {
  color: #1f6f5b;
  font-size: .78em;
  flex-shrink: 0;
}

/* プロフィールへ飛ぶ名前リンク */
.author-name-link,
.comment-name-link {
  color: inherit;
  text-decoration: none;
}
.author-name-link:hover,
.comment-name-link:hover {
  text-decoration: underline;
}

/* =========================
   コメント欄
========================= */

.comments-section {
  max-width: 760px;
  margin: 60px auto 0;
  padding: 0 32px;
}
.comments-title {
  font-size: 22px;
  font-weight: 800;
  color: #182033;
  margin: 0 0 20px;
}
.comments-title span {
  color: #6c7787;
  font-size: 16px;
  font-weight: 600;
  margin-left: 4px;
}

.comment-form {
  background: #fff;
  border: 1px solid #e7ddcb;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
}
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e7ddcb;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: #182033;
  resize: vertical;
  background: #faf6ee;
}
.comment-form textarea:focus {
  outline: none;
  border-color: #1f6f5b;
  background: #fff;
}
.comment-form-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.comment-submit {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #1f6f5b;
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.comment-submit:hover { background: #185645; }
.comment-submit:active { transform: scale(.96); }
.comment-submit:disabled { opacity: .6; cursor: default; }

.comments-login {
  background: #faf6ee;
  border: 1px dashed #e7ddcb;
  border-radius: 14px;
  padding: 18px 20px;
  color: #6c7787;
  font-size: 15px;
  margin-bottom: 24px;
}
.comments-login a {
  color: #1f6f5b;
  font-weight: 700;
  text-decoration: none;
}
.comments-login a:hover { text-decoration: underline; }

.comments-empty {
  color: #6c7787;
  font-size: 15px;
  padding: 16px 0;
}

.comment {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #ece4d6;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e7ddcb;
}
.comment-body { flex: 1; min-width: 0; }
.comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.comment-head strong {
  font-size: 15px;
  font-weight: 700;
  color: #182033;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.comment-time {
  font-size: 13px;
  color: #9aa3ad;
}
.comment-del {
  margin-left: auto;
  background: none;
  border: none;
  color: #b53d3d;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  padding: 2px 4px;
}
.comment-del:hover { text-decoration: underline; }
.comment-text {
  font-size: 15px;
  line-height: 1.7;
  color: #2c333d;
  word-break: break-word;
}

/* コメントのアクション（いいね・返信） */
.comment-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.comment-like,
.comment-reply-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: #6c7787;
  cursor: pointer;
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.comment-like i { font-size: 14px; }
.comment-like.liked { color: #e0556b; }
.comment-like:hover,
.comment-reply-btn:hover { color: #182033; }
.comment-like.liked:hover { color: #e0556b; }
.comment-like:disabled { opacity: .5; cursor: default; }
.comment-like-count { min-width: 6px; font-weight: 600; }

/* 返信（ネスト表示） */
.comment-replies {
  margin-top: 8px;
  padding-left: 14px;
  border-left: 2px solid #efe7d8;
}
.comment-reply {
  padding: 12px 0 0;
  border-top: 0;
}
.comment-reply .comment-avatar { width: 32px; height: 32px; }

/* 返信フォーム */
.reply-form { margin: 6px 0 12px; }
.reply-form .reply-input {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid #e0d8c8;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.reply-form .reply-input:focus { outline: none; border-color: #1f6f5b; }
.reply-cancel {
  background: none;
  border: none;
  color: #9aa3ad;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  margin-left: 10px;
}
.reply-cancel:hover { color: #6c7787; }

@media (max-width: 768px) {
  .comments-section { padding: 0 22px; margin-top: 48px; }
}

/* =========================
   サイト下部：フッター
========================= */

.site-footer {
  margin-top: 80px;
  padding: 48px 32px;
  background: #ffffff;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-inner h2 {
  margin: 0 0 12px;
  color: #1f6f5b;
  font-size: 32px;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.footer-inner p {
  margin: 0 0 24px;
  color: #4b5563;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #374151;
  text-decoration: none;
  font-weight: 700;
}

.footer-inner small {
  color: #9ca3af;
}

/* =========================
   記事ページ：ブランド統一リフレッシュ
========================= */

/* ヒーローの editorial eyebrow */
.hero-eyebrow{
  font-family:"Manrope",sans-serif;
  font-weight:800;
  letter-spacing:.2em;
  font-size:12px;
  text-transform:uppercase;
  color:#c2873f;
  margin:0 0 14px;
}

/* セクション導入見出し（eyebrow + タイトル） */
.section-intro{
  max-width:1200px;
  margin:64px auto 6px;
  padding:0 32px;
  box-sizing:border-box;
}
.section-intro .eyebrow{
  font-family:"Manrope",sans-serif;
  font-weight:800;
  letter-spacing:.22em;
  font-size:12px;
  text-transform:uppercase;
  color:#c2873f;
  margin:0 0 8px;
}
.section-intro h2{
  font-size:26px;
  line-height:1.4;
  color:#172033;
  margin:0;
  font-weight:900;
  letter-spacing:-.01em;
}
.section-intro p{
  margin:10px 0 0;
  font-size:14px;
  line-height:1.8;
  color:#5f6b80;
}
@media (max-width:768px){
  .section-intro{margin:40px auto 2px;padding:0 22px;}
  .section-intro h2{font-size:20px;}
  .section-intro p{font-size:13px;}
  .hero-eyebrow{font-size:11px;margin-bottom:10px;}
}

/* アクセントカラーをブランドグリーンへ統一 */
.info-card strong{color:#1f6f5b;}
.cost-total{background:#eef5f1;}
.cost-total span{color:#1f6f5b;}
.cost-total strong{color:#1f6f5b;}

/* 情報カード見出しに小さなアクセントバー */
.info-card h2,
.itinerary-card h2{
  position:relative;
  padding-left:15px;
}
.info-card h2::before,
.itinerary-card h2::before{
  content:"";
  position:absolute;
  left:0; top:50%;
  transform:translateY(-50%);
  width:5px; height:20px;
  border-radius:999px;
  background:#1f6f5b;
}

/* ルートマップ（他カードと同じ白枠カードの中に地図） */
.route-grid{max-width:1200px;margin:24px auto 0;padding:0 24px;box-sizing:border-box;}
/* トランジット記事はルートマップの直後に「いいね」欄が来るため、下に余白を足す */
.route-grid-transit{margin-bottom:44px;}
.route-card{padding:16px;}
.route-map{height:360px;border-radius:14px;overflow:hidden;background:#aad3df;position:relative;z-index:0;}
.route-map .ctpin{background:#1f6f5b;color:#fff;border:2.5px solid #fff;border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;box-shadow:0 3px 10px rgba(0,0,0,.3);}
.route-map .mappin{width:24px;height:24px;background:radial-gradient(circle at 35% 30%,#3fa183,#1f6f5b 72%);border:2px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 5px 9px rgba(0,0,0,.4),inset -1px -1px 3px rgba(0,0,0,.25),inset 1px 1px 2px rgba(255,255,255,.35);position:relative;}
.route-map .mappin::after{content:"";position:absolute;top:50%;left:50%;width:8px;height:8px;background:#fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:inset 0 1px 2px rgba(0,0,0,.4);}
@media(max-width:768px){.route-grid{padding:0 22px;}}
@media(max-width:600px){.route-map{height:280px;}}

/* タイムライン・ラベル類をグリーン基調へ */
.timeline::before{background:#cfe3d9;}
.timeline-item::before{border-color:#1f6f5b;}
.day{color:#1f6f5b;}
.flight-label{color:#c2873f;}
.day-label{color:#c2873f;}
.photo-slider::-webkit-scrollbar-thumb{background:#1f6f5b;}

/* DAYカード：PCでのラベル/タイトル/本文を整える */
@media (min-width:769px){
  .day-card .day-label{
    display:block;
    font-family:"Manrope",sans-serif;
    font-weight:800;
    letter-spacing:.08em;
    font-size:13px;
    color:#c2873f;
    margin-bottom:8px;
  }
  .day-card .day-title{
    display:block;
    font-size:22px;
    line-height:1.45;
    font-weight:800;
    color:#172033;
    margin-bottom:18px;
  }
  .day-text p{
    font-size:15px;
    line-height:2;
    color:#374151;
  }
}

/* PC：ヒーロー写真を左カラム全体にフィット＋全体をコンパクトに */
@media (min-width:901px){
  .article-hero{
    grid-template-columns:1fr 0.85fr;
    align-items:stretch;
    min-height:auto;
    margin:28px auto 44px;
  }
  .hero-text{grid-column:1; grid-row:1;}
  .hero-carousel{grid-column:2; grid-row:1; position:relative; overflow:hidden;}
  .hero-images{position:absolute; inset:0; height:100%; width:100%; margin:0; max-width:none; border-radius:0;}
  .hero-images img{height:100%; width:100%;}
  .hero-text{padding:26px 40px; justify-content:flex-start;}
  .hero-text h1{font-size:23px;margin-bottom:10px;}
  .hero-lead{font-size:13px;line-height:1.65;margin-bottom:12px;}
  .hero-basic-info{margin:2px 0 10px;padding:5px;}
  .hero-basic-info div{padding:6px 14px;}
  .hero-info{margin-bottom:10px;gap:10px;}
  .hero-info div{padding:9px 14px;}
  .hero-info span{margin-bottom:2px;}
  .hero-tags span{padding:6px 11px;}

  /* 概要カード4枚を 4列・コンパクト・下揃え */
  .info-grid{grid-template-columns:repeat(4,1fr); gap:16px; align-items:stretch;}
  .info-card,
  .itinerary-card{
    padding:22px 20px;
    border-radius:18px;
    display:flex;
    flex-direction:column;
  }
  .info-card h2,
  .itinerary-card h2{font-size:17px; margin-bottom:14px; padding-left:13px;}
  .info-card h2::before,
  .itinerary-card h2::before{height:17px; width:4px;}
  .cost-row{padding:10px 0; font-size:13px;}
  .cost-row span{font-size:13px;}
  .cost-row strong{font-size:14px;}
  /* 合計ボックスはカード下端へ */
  .cost-total{padding:13px 15px; margin-top:auto;}
  .cost-total span{font-size:13px;}
  .cost-total strong{font-size:18px;}
  /* タイムライン：丸と縦線の中心を揃える */
  .timeline{padding-left:24px;}
  .timeline::before{left:8px; width:2px; bottom:26px;}
  .timeline-item{margin-bottom:15px; padding-left:6px;}
  .timeline-item:last-child{margin-bottom:0;}
  .timeline-item::before{left:-24px; top:5px; width:12px; height:12px;}
  .timeline-item p{font-size:13.5px; line-height:1.5;}
  .day{font-size:10px;}
  .flight-route{padding:14px 0;}
  .flight-route h3{font-size:15px; line-height:1.45;}
  .flight-route p{font-size:12.5px;}
  .flight-meta{grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; margin-bottom:16px;}
  .flight-meta div{padding:11px 12px;}
  .flight-meta strong{font-size:13px;}
  .services-card .service-item{padding:11px 0; column-gap:10px;}
  .services-card .service-label{font-size:13px;}
  .services-card .service-item strong{font-size:13px;}
}

/* フッターのロゴをヘッダーと同じフォントに揃える */
.footer-inner h2{
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Yu Gothic",sans-serif;
  letter-spacing:-0.04em;
}

/* 投稿者コメント欄：editorial な引用カードへ */
.tips-eyebrow{
  font-family:"Manrope",sans-serif;
  font-weight:800;
  letter-spacing:.2em;
  font-size:12px;
  text-transform:uppercase;
  color:#c2873f;
  margin:0 0 8px;
}
@media (min-width:769px){
  .tips-card{
    position:relative;
    background:#fff;
    border:1px solid #ece2d0;
    border-left:5px solid #1f6f5b;
    border-radius:24px;
    padding:44px 52px;
    box-shadow:0 14px 34px rgba(34,40,49,.06);
    overflow:hidden;
  }
  .tips-card::before{
    content:"\201C";
    position:absolute;
    top:6px; right:40px;
    font-family:Georgia,serif;
    font-size:110px;
    line-height:1;
    color:#1f6f5b;
    opacity:.1;
  }
  .tips-card h2{font-size:22px;margin:0 0 18px;}
}

@media (max-width: 768px) {
  .header {
    padding: 18px 6%;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 110px 6% 80px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.8;
  }

  .introduction,
  .founder-section,
  .search-area,
  .trips,
  .concept {
    padding: 64px 6%;
  }

  .intro-message,
  .founder-card {
    padding: 28px;
    border-radius: 26px;
  }

  .founder-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .founder-photo {
    height: 280px;
  }

  .travel-cycle {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cycle-item {
    width: 100%;
    height: auto;
    border-radius: 28px;
  }

  .search-grid,
  .trip-grid {
    grid-template-columns: 1fr;
  }
  
}
@media (max-width: 768px) {
  .introduction,
  .founder-section,
  .search-area,
  .trips,
  .concept {
    padding: 36px 5%;
  }

  .intro-message,
  .founder-card,
  .search-card,
  .trip-card,
  .cycle-item {
    border-radius: 22px;
  }

  .intro-message,
  .founder-card,
  .search-card {
    padding: 22px;
  }

  .section-label {
    font-size: 13px;
  }

  .introduction h2,
  .founder-section h2,
  .search-area h2,
  .trips h2,
  .concept h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .intro-lead,
  .founder-lead {
    font-size: 22px;
  }

  .intro-text,
  .founder-text,
  .cycle-item p,
  .search-card p {
    font-size: 14px;
    line-height: 1.8;
  }

  .cycle-item {
    padding: 24px;
  }

  .trip-content {
    padding: 22px;
  }

  .trip-content h3 {
    font-size: 24px;
  }

  .trip-image {
    height: 220px;
  }
}
@media (max-width: 768px) {
  .cycle-item {
    padding: 28px 22px;
    min-height: auto;
    border-radius: 22px;
  }

  .cycle-item h3 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .cycle-item p {
    font-size: 14px;
    line-height: 1.7;
  }

  .travel-cycle {
    gap: 10px;
  }
  .search-card {
    padding: 24px 22px;
    min-height: 150px;
    border-radius: 24px;
  }

  .search-card span {
    font-size: 24px;
  }

  .search-card h3 {
    font-size: 24px;
    margin: 14px 0 8px;
  }

  .search-card p {
    font-size: 14px;
    line-height: 1.65;
  }

  .search-grid {
    gap: 22px;
  }
}
.filter-menu-btn,
.filter-drawer,
.drawer-overlay {
  display: none;
}

@media (max-width: 768px) {
  .result-filter {
    display: none;
  }
  .filter-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: -86%;
    width: 86%;
    height: 100vh;
    background: white;
    z-index: 1000;
    padding: 28px 24px;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .filter-drawer.active {
    right: 0;
  }

  .drawer-overlay {
  display: none;
}


  .drawer-overlay.active {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 999;
  }

  .filter-drawer .result-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .filter-drawer-header {
  position: relative;
  margin-bottom: 28px;

  
}
#filterClose {
  position: absolute;
  top: -8px;
  right: -4px;

  border: none;
  background: none;
  color: #111827;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
}
.no-results {
  display: none;
  text-align: center;
  padding: 64px 24px;
  margin: 8px auto 40px;
  max-width: 560px;
  background: white;
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(34, 40, 49, 0.08);
}

.no-results-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef5f1;
  color: #1f6f5b;
  font-size: 30px;
}

.no-results h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.no-results p {
  color: #697586;
  font-weight: 600;
  line-height: 1.8;
}

.no-results-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.nr-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.nr-btn-p {
  background: #1f6f5b;
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 111, 91, .28);
}

.nr-btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 111, 91, .34);
}

.nr-btn-s {
  background: transparent;
  color: #1f6f5b;
  border: 1.5px solid #cfe0d8;
}

.nr-btn-s:hover {
  background: #eef5f1;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .search-results {
    padding-top: 24px;
  }

  .searchlabel {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .search-results h2 {
    font-size: 20px;
    margin-bottom: 28px;
  }
}


@media (max-width: 768px) {
  .no-results {
    padding: 40px 22px;
    border-radius: 22px;
  }

  .no-results-icon {
    width: 64px;
    height: 64px;
    font-size: 26px;
    margin-bottom: 18px;
  }

  .no-results h3 {
    font-size: 19px;
    margin-bottom: 10px;
  }

  .no-results p {
    font-size: 14px;
    line-height: 1.8;
  }

  .no-results-actions {
    flex-direction: column;
  }

  .nr-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .travel-cycle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0 4%;
  }

  .cycle-item {
    width: 96px;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: unset;

    border-radius: 50%;
    padding: 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
  }
 .cycle-arrow {
    transform: none;
  }
  
  .cycle-item h3 {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .cycle-item p {
    font-size: 8px;
    line-height: 1.4;
    margin: 0;
  }

  .concept {
    overflow: hidden;
  }

  .travel-cycle {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 0 14px;
    box-sizing: border-box;
  }

  .cycle-item {
    width: 88px;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: unset;
    flex-shrink: 0;
  }

  .cycle-arrow {
    font-size: 15px;
    flex-shrink: 0;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-filter-btn {
  display: none;
}

@media (max-width: 768px) {
  .header {
    padding: 16px 18px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-search {
    display: none;
  }

  .header-filter-btn {
    display: block;
    border: none;
    background: transparent;
    color: #1b2330;
    box-shadow: none;
    width: 44px;
    height: 44px;
    font-size: 24px;
    border-radius: 0;
    font-weight: 800;
    cursor: pointer;
  }
}

.result-filter {
  padding: 28px 7% 40px;
  margin-top: -20px;   /* 上にずらす */
  margin-bottom: 56px;
}

.result-filter-label {
  text-align: center;
  margin-bottom: 14px;
  color: #697586;
  font-weight: 800;
  font-size: 14px;
}

.result-filter-bar {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(34, 40, 49, 0.08);
}

.result-filter-bar select {
  min-width: 150px;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f9fafb;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
}

.result-filter-bar input {
  min-width: 150px;
  padding: 11px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f9fafb;
  color: #111827;
  font-weight: 700;
}

.result-filter-bar input::placeholder {
  color: #9aa5b1;
  font-weight: 600;
}

.result-filter-bar button {
  border: none;
  border-radius: 999px;
  background: #1f6f5b;
  color: #fff;
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 768px) {
  .result-filter {
    padding: 22px 5% 4px;
  }

  .result-filter-bar {
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 10px;
  }

  .result-filter-bar input,
  .result-filter-bar select,
  .result-filter-bar button {
    width: 100%;
  }
}

.marker {
  background: #f9ff8e;
  padding: 2px 6px;
  border-radius: 6px;
}

/* ===== search results: 2-column layout ===== */
.results-layout{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:32px;
  align-items:start;
}
.results-main{grid-column:1;grid-row:1}
.filter-side{
  grid-column:2;
  grid-row:1;
  position:sticky;
  top:90px;
  background:#fff;
  border:1px solid #ece2d0;
  border-radius:22px;
  padding:24px 22px;
  box-shadow:0 14px 34px rgba(34,40,49,.07);
}
.fs-title{font-size:16px;font-weight:800;margin:0 0 16px;color:#1b2330}
.fs-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.fs-field label{font-size:12px;font-weight:700;color:#6c7787}
.fs-field select{
  width:100%;
  padding:11px 14px;
  border:1px solid #e7ddcb;
  border-radius:12px;
  background:#fff;
  color:#1b2330;
  font-size:14px;
  font-family:inherit;
  cursor:pointer;
}
.fs-apply{
  width:100%;
  margin-top:6px;
  padding:13px;
  border:none;
  border-radius:999px;
  background:#1f6f5b;
  color:#fff;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  transition:transform .2s, box-shadow .2s;
}
.fs-apply:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(31,111,91,.3)}
.fs-clear{
  width:100%;
  margin-top:10px;
  padding:10px;
  border:none;
  background:none;
  color:#6c7787;
  font-weight:700;
  font-size:13px;
  cursor:pointer;
}
.fs-clear:hover{color:#1f6f5b;text-decoration:underline}

.results-head{margin-bottom:20px}
.results-head-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.results-count{font-size:15px;font-weight:800;color:#1b2330;margin:0}
.sort-box{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#6c7787;white-space:nowrap}
.sort-box select{font-size:13px;font-weight:700;color:#1b2330;padding:7px 30px 7px 12px;border:1px solid #e7ddcb;border-radius:999px;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231f6f5b' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 11px center;-webkit-appearance:none;appearance:none;cursor:pointer}
.active-filters{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px 7px 14px;
  border-radius:999px;
  background:#eef5f1;
  color:#1f6f5b;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  transition:background .2s;
}
.chip:hover{background:#dcebe4}
.chip-x{font-weight:700;font-size:14px;line-height:1;opacity:.7}
.chip-clear{background:transparent;color:#6c7787;border:1px dashed #cfd6dd}
.chip-clear:hover{background:#f3f4f6;color:#1b2330}

/* results grid sits in the right column → 2 across */
/* padding:0 で見出し・絞り込みチップと左端をそろえる（グローバル .trip-grid の左右paddingを打ち消す） */
.results-main .trip-grid{grid-template-columns:repeat(2,1fr);padding:0}

@media (max-width:860px){
  .results-layout{grid-template-columns:1fr;gap:0}
  .filter-side{display:none}
  .results-main .trip-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  .results-main .trip-grid{grid-template-columns:repeat(2,1fr)}
}

/*検索結果ページ*/
@media (max-width: 600px) {
  .trip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 14px;
  }

  .trip-image {
    height: 120px;
  }

  .trip-content {
    padding: 14px;
  }

  .trip-content .country {
    font-size: 12px;
  }

  .trip-content h3 {
    font-size: 14px;
    line-height: 1.45;
  }

  .trip-content p {
    font-size: 11px;
    line-height: 1.6;
  }

  .tags {
    gap: 6px;
  }

  .tags span {
    font-size: 10px;
    padding: 5px 8px;
  }
}
/*記事ページ*/
@media (max-width: 768px) {
  .day-card {
    display: block !important;
    padding: 16px 28px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
  }

  .day-toggle {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    align-items: center;
  }

  .day-toggle > span:first-child {
    min-width: 0;
  }

  .day-icon {
    justify-self: end;
  }
}

/* =========================================================
   旅の概要：ボタン → 中央モーダルで1枚ずつ表示
   （カードの高さが揃わない＝周遊で全部長くならない）
========================================================= */
.overview-tabs{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px 8px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  box-sizing:border-box;
}
.ov-tab{
  flex:1 1 200px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:18px 22px;
  border:1px solid rgba(20,30,50,0.08);
  border-radius:16px;
  background:rgba(255,255,255,0.9);
  box-shadow:0 8px 22px rgba(20,30,50,0.06);
  font-size:16px;
  font-weight:700;
  color:#172033;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.ov-tab::after{
  content:"›";
  font-size:22px;
  line-height:1;
  color:#1f6f5b;
  font-weight:700;
}
.ov-tab:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(20,30,50,0.10); border-color:rgba(31,111,91,.35); }
.ov-tab:active{ transform:translateY(0); }

body.ov-lock{ overflow:hidden; }
.ov-modal[hidden]{ display:none; }
.ov-modal{
  position:fixed; inset:0; z-index:1000;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  box-sizing:border-box;
}
.ov-backdrop{
  position:absolute; inset:0;
  background:rgba(15,20,30,0.5);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
  animation:ovFade .2s ease;
}
.ov-dialog{
  position:relative;
  width:100%;
  max-width:520px;
  animation:ovPop .22s cubic-bezier(.2,.7,.2,1);
}
.ov-close{
  position:absolute; top:10px; right:10px;
  z-index:2;
  width:36px; height:36px;
  border:none; border-radius:50%;
  background:#fff; color:#172033;
  font-size:22px; line-height:1; cursor:pointer;
  box-shadow:0 6px 16px rgba(20,30,50,0.22);
}
.ov-body{
  position:relative;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  max-height:85vh;
  border-radius:22px;
}
.ov-panel{ display:none; }
.ov-panel.is-active{ display:block; }

/* モーダル内のカードはカルーセル幅指定を打ち消して全幅で表示 */
.ov-body .info-card{
  min-width:0 !important;
  max-width:none !important;
  width:auto !important;
  margin:0 !important;
  flex:none !important;
  border-radius:22px;
  box-shadow:none;
  background:#fff;
}

@keyframes ovFade{ from{opacity:0} to{opacity:1} }
@keyframes ovPop{ from{opacity:0; transform:translateY(10px) scale(.98)} to{opacity:1; transform:none} }

@media (max-width:768px){
  .overview-tabs{ flex-direction:column; padding:0 18px 6px; gap:10px; }
  .ov-tab{ width:100%; flex:none; }
  .ov-dialog{ max-width:none; }
  .ov-body{ max-height:80vh; }
}

/* ===== トランジット記事まわり ===== */
/* 記事本文に差し込む「親/子」リンクカード群 */
.transit-links{
  max-width:760px;
  margin:6px auto 36px;
  padding:0 22px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:14px;
}
.transit-link-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 26px rgba(34,40,49,.08);
  text-decoration:none;
  color:inherit;
  transition:transform .15s ease, box-shadow .15s ease;
}
.transit-link-card:hover{ transform:translateY(-2px); box-shadow:0 16px 32px rgba(34,40,49,.13); }
.transit-link-card > img{
  width:72px; height:72px;
  border-radius:14px;
  object-fit:cover;
  flex:none;
}
.transit-link-noimg{
  width:72px; height:72px;
  border-radius:14px;
  flex:none;
  display:flex; align-items:center; justify-content:center;
  background:#e7f0ec; color:#1f6f5b; font-size:24px;
}
.transit-link-body{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.transit-link-badge{
  font-size:11px; font-weight:800; letter-spacing:.04em;
  color:#1f6f5b; text-transform:uppercase;
}
.transit-link-body strong{
  font-size:15px; line-height:1.35;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.transit-link-sub{ font-size:12px; color:#6b6b6b; }

/* 検索カード：トランジット用の見た目 */
.trip-image-noimg{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background:#e7f0ec; color:#1f6f5b; font-size:46px;
}
.trip-badge-transit{
  position:absolute; top:10px; left:10px;
  z-index:2;
  display:inline-flex; align-items:center; justify-content:center; gap:5px;
  padding:3px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.62);
  border:1.5px solid #1f6f5b;
  color:#1f6f5b; font-size:10.5px; font-weight:800; letter-spacing:.02em; line-height:1;
}
.trip-badge-transit i{ font-size:10px; line-height:1; }
@media (max-width:768px){
  .transit-links{ padding:0 18px; grid-template-columns:1fr; }
}
