/* dry-trip.com 静的版スタイル */
:root {
  --pink: #d14b89;
  --pink-dark: #b23a72;
  --accent: #009EF3;
  --pastel: #b4e0fa;
  --bg: #eaedf2;
  --surface: #ffffff;
  --text: #252525;
  --text-sub: #6b7280;
  --border: #e2e5ea;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --shadow-hover: 0 4px 10px rgba(0,0,0,.10), 0 12px 28px rgba(0,0,0,.10);
  --wrap: 1120px;
  --gap: 18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #4f96f6; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; overflow: hidden; }
.wrap > * { min-width: 0; }

/* ---------------- header ---------------- */
.site-header { background: var(--pink); color: #fff; }
.header-inner {
  display: flex; align-items: center; gap: 16px;
  padding-top: 12px; padding-bottom: 12px;
}
.logo { font-weight: 700; font-size: 15px; line-height: 1.4; flex: 1; min-width: 0; }
.logo a { color: #fff; }
.logo a:hover { text-decoration: none; }

.search { display: flex; flex: 0 0 auto; }
.search input {
  width: 160px; padding: 7px 10px; border: 0; border-radius: 6px 0 0 6px;
  font-size: 14px; outline: none;
}
.search button {
  padding: 0 12px; border: 0; border-radius: 0 6px 6px 0;
  background: rgba(0,0,0,.18); color: #fff; cursor: pointer; font-size: 14px;
}
.search button:hover { background: rgba(0,0,0,.28); }

.site-nav { background: rgba(0,0,0,.10); }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; }
.site-nav a {
  display: block; padding: 9px 12px; color: #fff; font-size: 13.5px; white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { background: rgba(0,0,0,.18); text-decoration: none; }

/* ---------------- breadcrumb ---------------- */
.breadcrumb { font-size: 12.5px; color: var(--text-sub); padding: 14px 0 8px; text-align: center; }
.breadcrumb a { color: var(--text-sub); }

.page-title { font-size: 20px; margin: 8px 0 18px; line-height: 1.5; }

/* ---------------- grid ---------------- */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  margin-bottom: 28px;
}
.grid > * { min-width: 0; max-width: 100%; overflow: hidden; }
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------- card ---------------- */
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  min-width: 0;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.card > a { color: inherit; display: block; }
.card > a:hover { text-decoration: none; }
.card-thumb {
  aspect-ratio: 520 / 300; background: #dfe3e8; overflow: hidden;
  width: 100%; min-width: 0;
}
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  max-width: none;
}
.card-body { padding: 10px 12px 34px; min-width: 0; overflow: hidden; }
.card-body time { font-size: 11.5px; color: var(--text-sub); display: block; }
.card-title {
  font-size: 14px; line-height: 1.55; margin: 4px 0 0; font-weight: 600;
  max-height: calc(1.55em * 2); overflow: hidden;
  word-break: break-all; overflow-wrap: anywhere;
}
.card-cat {
  position: absolute; left: 10px; bottom: 8px;
  font-size: 11px; padding: 2px 8px; border-radius: 4px;
  background: var(--pink); color: #fff;
}
.card-cat:hover { text-decoration: none; background: var(--pink-dark); }

/* ---------------- pagination ---------------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 26px 0 40px; }
.pg {
  min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex;
  align-items: center; justify-content: center;
  background: #fff; border-radius: 6px; font-size: 13px; color: var(--text);
  box-shadow: var(--shadow);
}
.pg:hover { background: var(--pink); color: #fff; text-decoration: none; }
.pg.current { background: var(--pink); color: #fff; }
.pg.dots { background: transparent; box-shadow: none; }

/* ---------------- article ---------------- */
.post { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 28px; }
.post-header { border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 16px; text-align: center; }
.post-title { font-size: 20px; line-height: 1.5; margin: 0 0 6px; }
.post-date { font-size: 12.5px; color: var(--text-sub); }
.post-body { max-width: 760px; margin: 0 auto; }
.lead p { margin: 0 0 10px; }

.item-title {
  font-size: 16px; line-height: 1.6; margin: 26px 0 8px;
  padding: 0 0 8px; border-bottom: 2px solid var(--pink);
  text-align: center;
}
.item-text { margin: 0 0 12px; font-size: 14.5px; text-align: center; }
.item-meta {
  font-size: 12.5px; color: var(--text-sub); margin: 8px auto;
  background: #f5f7fa; border-radius: 6px; padding: 8px 10px;
  text-align: center; max-width: 760px;
}
.item-cta { margin: 14px 0 22px; text-align: center; }
.item-cta a {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  background: linear-gradient(180deg, #2f9e44, #1e7d33); color: #fff;
  font-weight: 700; font-size: 15px; box-shadow: 0 3px 0 #16632a;
}
.item-cta a:hover { text-decoration: none; filter: brightness(1.06); }

/* ---------------- video stub ---------------- */
.vstub {
  position: relative; margin: 0 auto 10px; background: #111; border-radius: 8px;
  overflow: hidden; aspect-ratio: 16 / 9; max-width: 900px; width: 100%;
}
.vstub img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.vstub .vplay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; background: rgba(0,0,0,.18); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.vstub .vplay span {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(0,0,0,.62); position: relative;
  transition: transform .15s ease, background .15s ease;
}
.vstub .vplay span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid; border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent #fff;
}
.vstub .vplay:hover span { transform: scale(1.08); background: var(--pink); }
.vstub.no-poster { background: #111; }
.vstub.no-poster .vplay { background: #111; }
.vstub iframe, .vstub video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------------- terms ---------------- */
.post-terms { border-top: 1px solid var(--border); padding-top: 12px; font-size: 12.5px; text-align: center; }
.post-terms > div { margin-bottom: 8px; }
.post-terms span { color: var(--text-sub); margin-right: 8px; font-weight: 700; }
.post-terms ul { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; justify-content: center; }
.post-terms a {
  display: inline-block; padding: 3px 9px; background: #eef1f5;
  border-radius: 4px; color: #4b5563; font-size: 12px;
}
.post-terms a:hover { background: var(--pink); color: #fff; text-decoration: none; }

/* ---------------- related ---------------- */
.related { margin-top: 30px; border-top: 2px solid var(--border); padding-top: 18px; }
.section-title { font-size: 17px; margin: 0 0 14px; text-align: center; }
.related .grid { margin-bottom: 10px; }

/* ---------------- prev-next ---------------- */
.prev-next { display: flex; gap: 10px; margin-top: 24px; }
.prev-next a {
  flex: 1; padding: 12px; background: #f5f7fa; border-radius: 8px;
  color: var(--text); font-size: 13px; text-align: center;
}
.prev-next a:hover { background: var(--pink); color: #fff; text-decoration: none; }

/* ---------------- page / contact ---------------- */
.page { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 28px; }
.page-body { max-width: 760px; margin: 0 auto; }
.contact-form label { display: block; margin-bottom: 14px; font-size: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 5px; padding: 9px 10px; font-size: 15px;
  border: 1px solid var(--border); border-radius: 6px; font-family: inherit;
}
.contact-form button {
  padding: 11px 28px; border: 0; border-radius: 8px; background: var(--pink);
  color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.contact-form button:hover { background: var(--pink-dark); }
.contact-note { margin: 10px 0 0; font-size: 12.5px; color: var(--text-sub); }

/* ---------------- search ---------------- */
.search-page { margin: 0 0 18px; }
.search-page input { flex: 1; width: auto; border: 1px solid var(--border); border-radius: 8px 0 0 8px; padding: 11px 14px; font-size: 15px; }
.search-page button { padding: 0 20px; border-radius: 0 8px 8px 0; background: var(--pink); font-weight: 700; }
.search-status { font-size: 13px; color: var(--text-sub); margin: 0 0 14px; }

/* ---------------- footer ---------------- */
.site-footer { background: #e0e4eb; margin-top: 40px; padding: 26px 0; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.footer-nav a { color: #3c3c3c; font-size: 13px; }
.copyright { text-align: center; font-size: 11.5px; color: #6b7280; margin: 0; }

.totop {
  position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--accent); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.2); z-index: 50;
}
.totop.show { display: flex; }
.totop:hover { text-decoration: none; opacity: .9; }

@media (max-width: 699px) {
  .header-inner { flex-wrap: wrap; }
  .search { width: 100%; }
  .search input { flex: 1; width: auto; }
  .post { padding: 14px; }
  .post-title { font-size: 18px; }
  .item-title { font-size: 15px; }
  .vstub .vplay span { width: 54px; height: 54px; }
}
