/* USJ FAN CLUB  style.css（パークの地図）
   空色の地・白いカード・カテゴリーごとの色。トップは記事の写真のスライドショー。
   本文の赤字・大きな字は持ち主のものなので、そのまま出す。 */
:root {
  --bg: #bfe6f5;
  --ink: #1d3557;
  --mute: #5b7086;
  --shadow: #8cc6dc;
  --yellow: #ffd23f;
  --orange: #ff8c42;
  --navy: #14233d;
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --latin: "Josefin Sans", var(--font);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.3, 1.5, .5, 1);
  --pad: clamp(16px, 5vw, 60px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 500; line-height: 1.8; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
ul { padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--yellow); }

/* ヘッダー */
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--pad); }
.brand { font-family: var(--latin); font-weight: 600; font-size: 20px; letter-spacing: .08em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 10px 0 0 var(--yellow), 20px 0 0 #3a86ff; margin-right: 20px; }
.site-nav a { font-weight: 800; font-size: 14px; text-decoration: none; background: #fff; border-radius: 99px; padding: 6px 16px; box-shadow: 0 3px 0 var(--shadow); }
.home .site-header { position: absolute; left: 0; right: 0; top: 0; color: #fff; }
.home .site-header .site-nav a { color: var(--ink); }

/* トップ：写真のスライドショー（ゆっくり寄りながら、ふわっと切り替わる） */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; background: #111; color: #fff; }
.show { position: absolute; inset: 0; transform: scale(calc(1 + var(--p, 0) * .08)); transform-origin: 50% 30%; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s ease; }
.slide.on { opacity: 1; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.16) translate(var(--x), var(--y)); transition: transform 9s linear; }
.slide.on img { transform: scale(1.02); }
.shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 40, .8) 0%, rgba(10, 20, 40, .25) 42%, rgba(10, 20, 40, 0) 65%), linear-gradient(to bottom, rgba(10, 20, 40, .45), rgba(10, 20, 40, 0) 22%), linear-gradient(to right, rgba(10, 20, 40, .35), rgba(10, 20, 40, 0) 55%); }
.cap { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(28px, 8vh, 80px); }
.kicker { margin: 0; font-family: var(--latin); font-weight: 600; font-size: 13px; letter-spacing: .24em; color: var(--yellow); }
.cap h1 { margin: 8px 0 0; font-family: var(--latin); font-weight: 600; font-size: clamp(44px, 8vw, 112px); line-height: .95; letter-spacing: .04em; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.now { display: flex; gap: 16px; align-items: baseline; margin-top: 22px; max-width: 640px; font-weight: 800; font-size: 14px; line-height: 1.6; text-decoration: none; }
.now .num { flex: none; font-family: var(--latin); font-size: 12px; letter-spacing: .14em; opacity: .75; }
.now .t { border-bottom: 1px solid rgba(255, 255, 255, .45); }
.now:hover .t { border-color: var(--yellow); }
.bars { display: flex; gap: 6px; margin-top: 16px; max-width: 640px; }
.bars button { flex: 1; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .3); cursor: pointer; position: relative; overflow: hidden; }
.bars button.on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: bar 5.5s linear forwards; }
@keyframes bar { from { transform: scaleX(0); } }

/* カテゴリー */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 28px var(--pad); }
.cats a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 8px 18px; font-weight: 800; font-size: 14px; text-decoration: none; box-shadow: 0 4px 0 var(--shadow); transition: transform .3s var(--pop); }
.cats a:hover { transform: translateY(-3px); }
.cats a[aria-current] { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #0b1628; }
.cats i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.cats small { font-size: 11px; opacity: .55; }

/* 記事のカード */
.grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; padding: 10px var(--pad) 60px; list-style: none; }
.card a { display: block; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; box-shadow: 0 8px 0 var(--shadow); transition: transform .4s var(--pop), box-shadow .4s; }
.card a:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 12px 0 var(--shadow); }
.card .ph { aspect-ratio: 16 / 10; background: #e3f3fa; overflow: hidden; }
.card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card a:hover img { transform: scale(1.06); }
.card .tx { padding: 14px 16px 18px; }
.cat { display: inline-block; background: var(--c); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 11px; font-weight: 800; }
.card h3 { margin: 8px 0 0; font-weight: 800; font-size: 15px; line-height: 1.6; }
.card time { display: block; margin-top: 6px; font-size: 12px; color: var(--mute); }

/* 出現（スクリプトが動くときだけ隠しておく） */
.js [data-in] { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1.1s var(--ease); }
.js [data-in].in { opacity: 1; transform: none; }

/* ページ送り */
.pager { display: flex; justify-content: center; gap: 8px; padding: 0 var(--pad) 70px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 var(--shadow); }
.pager span { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #0b1628; }

/* 一覧の見出し */
.list-head { max-width: 1200px; margin: 10px auto 0; padding: 30px var(--pad) 0; text-align: center; }
.crumbs { font-size: 13px; color: var(--mute); }
.crumbs a { text-decoration: none; border-bottom: 1px solid currentColor; }
.list-head h1 { margin: 10px 0 0; font-weight: 800; font-size: clamp(26px, 4vw, 40px); line-height: 1.4; }
.list-head h1::before { content: ""; display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--c); margin-right: .4em; vertical-align: .12em; }
.list-head sup { font-family: var(--latin); font-size: 14px; color: var(--mute); margin-left: 6px; }
.subs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; list-style: none; }
.subs a { display: inline-block; border: 2px solid #fff; border-radius: 99px; padding: 4px 14px; font-size: 13px; font-weight: 800; text-decoration: none; }
.subs a:hover { background: #fff; }
.subs small { margin-left: 6px; opacity: .55; }
.sec-title { max-width: 1200px; margin: 30px auto 16px; padding: 0 var(--pad); font-weight: 800; font-size: 20px; }

/* 記事 */
.read-bar { position: fixed; z-index: 50; left: 0; top: 0; width: 100%; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.post-head { max-width: 880px; margin: 0 auto; padding: 20px var(--pad) 0; text-align: center; }
.post-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; list-style: none; }
.post-cats a { display: inline-block; background: var(--c); color: #fff; border-radius: 99px; padding: 2px 12px; font-size: 12px; font-weight: 800; text-decoration: none; }
.post-head h1 { margin: 14px 0 0; font-weight: 800; font-size: clamp(24px, 3.6vw, 36px); line-height: 1.5; }
.post-head time { display: block; margin-top: 8px; font-family: var(--latin); letter-spacing: .12em; color: var(--mute); }
.post-photo { margin: 26px 0 0; border-radius: 26px; overflow: hidden; box-shadow: 0 10px 0 var(--shadow); }
.post-photo img { display: block; width: 100%; max-height: 70vh; object-fit: cover; }
.post-body { max-width: 880px; margin: 34px auto 0; padding: 0 var(--pad); }
.content { background: #fff; border-radius: 26px; padding: clamp(22px, 5vw, 56px); box-shadow: 0 10px 0 var(--shadow); font-size: 16px; line-height: 2; overflow-wrap: anywhere; }
.content > :first-child { margin-top: 0; }
.content p { margin: 0 0 .9em; }
.content .sp { height: .6em; margin: 0; }
.content h2 { position: relative; margin: 2.2em 0 1em; padding: 14px 18px 14px 26px; background: #eef8fc; border-radius: 14px; font-size: 1.3em; line-height: 1.55; font-weight: 800; }
.content h2::before { content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 6px; border-radius: 3px; background: var(--orange); }
.content h3 { margin: 1.8em 0 .8em; padding-bottom: 6px; border-bottom: 3px dotted var(--shadow); font-size: 1.12em; font-weight: 800; }
.content img { display: block; margin: 1em auto; border-radius: 16px; }
.content a { color: #1f6fd1; }
.content .wp-caption { max-width: 100%; margin: 1.2em auto; }
.content .wp-caption img { margin-bottom: 4px; }
.content .wp-caption-text { margin: 0; text-align: center; font-size: 12px; color: var(--mute); }
.content blockquote { margin: 1.4em 0; padding: 14px 20px; background: #f4fafc; border-left: 5px solid var(--shadow); border-radius: 0 14px 14px 0; }
.content blockquote.embed { border-left-color: var(--orange); font-weight: 800; }
.content blockquote.embed p { margin: 0; }
.content table { border-collapse: collapse; margin: 1.2em auto; max-width: 100%; }
.content td, .content th { padding: 6px 12px; border: 1px solid #c9d6de; }
.content .amazon a { display: inline-block; padding: 8px 16px; border-radius: 12px; background: #fff7e0; border: 2px solid var(--yellow); color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.content .amazon a::after { content: " ↗"; }
.post-nav { max-width: 880px; margin: 34px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 12px; text-decoration: none; font-weight: 800; font-size: 13px; line-height: 1.6; box-shadow: 0 6px 0 var(--shadow); transition: transform .3s var(--pop); }
.post-nav a:hover { transform: translateY(-3px); }
.post-nav .next { flex-direction: row-reverse; text-align: right; }
.post-nav img { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: 12px; }
.post-nav small { display: block; color: var(--mute); font-weight: 500; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 40px var(--pad); text-align: center; }
.nf .big { margin: 0; font-family: var(--latin); font-weight: 600; font-size: clamp(90px, 18vw, 180px); line-height: 1; color: #fff; text-shadow: 0 8px 0 var(--shadow); }
.nf h1 { margin: 0; font-size: 20px; font-weight: 800; }
.btn { display: inline-block; margin-top: 10px; background: var(--orange); color: #fff; border-radius: 99px; padding: 10px 28px; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 #c9631f; }

/* フッター */
.site-footer { background: var(--navy); color: #fff; padding: 50px var(--pad) 40px; text-align: center; }
.foot-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 20px 0 0; list-style: none; font-size: 13px; font-weight: 800; }
.foot-cats a { text-decoration: none; }
.foot-cats i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.copy { margin: 26px 0 0; font-size: 12px; opacity: .6; }

@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { flex-direction: row; text-align: left; }
  .grid { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide img { transition: none; }
  .bars button.on::after { animation: none; }
  .js [data-in] { opacity: 1; transform: none; transition: none; }
}
@media print {
  .site-header, .site-footer, .hero, .cats, .post-nav, .read-bar { display: none !important; }
  body { background: #fff; }
  .content { box-shadow: none; }
}
