@charset "UTF-8";
/* =========================================================
   旅する韓国 － 個人ブログ（映像制作用）
   ファーストビューは TVCM の切り出し枠にぴったり収まる設計（寸法は framing.css）。
   （ヘッダー〜タイトル〜メイン写真までを 1画面に格納）
   ========================================================= */
:root{
  /* ロゴ（images/logo.jpg）から抽出した3色を基準にした配色 */
  --paper:#fafbfc;        /* 背景 */
  --paper-2:#f2f4f7;
  --card:#fff;
  --ink:#575757;          /* ロゴのグレー */
  --ink-2:#7b7b7b;
  --muted:#a6a9ad;
  --line:#e5e7ea;
  --accent:#3689f3;       /* ロゴの青ドット */
  --accent-d:#2470d6;
  --accent-l:#eaf3fe;
  --pink:#f64d7e;         /* ロゴのピンクドット */
  --pink-d:#dc3566;
  --pink-l:#fdeef3;
  --ph:#eceef1;           /* 写真プレースホルダー地 */
  --ph-line:#ccd0d6;
  --f-body:"Noto Sans JP",system-ui,-apple-system,"Hiragino Sans","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  --f-head:"Zen Kaku Gothic New","Noto Sans JP","Hiragino Sans",sans-serif;
  --f-hand:"Klee One","Hiragino Maru Gothic ProN",var(--f-body);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--f-body);
  color:var(--ink);background:var(--paper);
  font-size:16px;line-height:2;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--accent-d);text-decoration:none}
a:hover{text-decoration:underline}
ul,ol{list-style:none}
svg.i{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.15em;flex-shrink:0}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}

/* ---------- 写真プレースホルダー（写真は後日差し替え） ---------- */
.ph{
  position:relative;width:100%;
  background:var(--ph);
  background-image:repeating-linear-gradient(45deg,transparent 0 15px,rgba(0,0,0,.025) 15px 30px);
  border:1px dashed var(--ph-line);border-radius:10px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  color:#8a8073;font-size:13px;font-family:var(--f-hand);text-align:center;padding:12px;overflow:hidden;
}
.ph.r169{aspect-ratio:16/9}
.ph.r43{aspect-ratio:4/3}
.ph.r11{aspect-ratio:1/1}
.ph .i{width:28px;height:28px;opacity:.4;stroke-width:1.4}
.ph.sm{font-size:10px;gap:2px;padding:4px;border-radius:6px}
.ph.sm .i{width:16px;height:16px}
.ph.circ{border-radius:50%;padding:0;font-size:10px}

/* プロフィール写真（丸）: images/avatar.jpg（鏡の内円だけを切り出したもの） */
.avatar{border-radius:50%;object-fit:cover;flex-shrink:0;display:block;background:var(--ph)}
.balloon .avatar{width:56px;height:56px}
.about-me .avatar{width:94px;height:94px}
.prof .avatar{width:104px;height:104px;margin:0 auto 14px}
.cm .avatar{width:44px;height:44px}
figure{margin:0}
figcaption{font-family:var(--f-hand);font-size:13.5px;color:var(--ink-2);margin-top:9px;line-height:1.7}
figcaption::before{content:"／ ";color:var(--muted)}

/* ---------- ヘッダー（ブログらしく簡素に） ---------- */
.site{background:var(--card);border-bottom:1px solid var(--line)}
.head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 24px 15px}
.head-l{display:flex;align-items:center;gap:18px;min-width:0}
.logo{display:block;flex-shrink:0}
.logo:hover{text-decoration:none;opacity:.75}
/* ロゴ画像: images/logo.jpg（支給素材を切り出したもの・白地） */
/* ロゴ画像は白地なので、乗算合成でフッターの薄いグレー地にもなじませる */
.logo-img{height:46px;width:auto;display:block}
.tagline{
  font-family:var(--f-hand);font-size:12.5px;color:var(--muted);line-height:1.6;
  padding-left:18px;border-left:1px solid var(--line);white-space:nowrap;
}
.head-r{display:flex;align-items:center;gap:14px}
.search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--card);border-radius:999px;padding:8px 16px;color:var(--muted);font-size:13px;min-width:190px}
.search .i{color:var(--muted)}
.sns{display:flex;gap:8px}
.sns a{
  width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--card);
  display:grid;place-items:center;color:var(--ink-2);
}
.sns a:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}
.sns .i{width:16px;height:16px}

/* ---------- 記事ヘッダー（ファーストビュー内） ---------- */
.post-head{padding:0 0 22px}
.hashtags{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:14px}
.hashtags a{font-family:var(--f-hand);font-size:14.5px;color:var(--pink-d);letter-spacing:.02em;line-height:1.6}
.post-head h1{
  margin-top:20px;font-family:var(--f-head);font-size:40px;font-weight:700;line-height:1.4;
  letter-spacing:.015em;margin:0;
}
/* ---------- ファーストビュー（寸法は framing.css の --fv-w / --fv-h） ---------- */
.hero-wrap{padding-top:20px;padding-bottom:0}
.hero{position:relative;border-radius:14px;overflow:hidden}
.hero .ph{height:100%;min-height:300px;border-radius:14px}
.hero-img{display:block;width:100%;height:100%;min-height:300px;object-fit:cover;border-radius:14px}
/* 写真下部の暗がり(下端 236px)。写真に重ねる白文字(タイトル・キャプション)を読ませるためのもの */
.hero-shade{
  position:absolute;left:0;right:0;bottom:0;height:236px;
  background:linear-gradient(to top,rgba(34,26,20,.80) 34%,rgba(34,26,20,.42) 64%,rgba(34,26,20,0));
}

/* 記事タイトルは文字の入っていない写真の右下に HTML テキストで重ねる(2026-09-11 指示)。
   位置の基準は指示画像 shared/assets_src/260911_site11_タイトル指示画像.jpg の実測値で、
   右端は1行目の右端(写真枠の右から 80px)、下端は2行目の下端(写真枠の下から 87px)。
   同日の追加指示で右揃えにし、文字を約2割小さく(1行目 56px・2行目 40px)、行間を詰めた。
   写真枠の幅に合わせて伸縮させるため cqw(写真枠の幅の 1%。1478×935 表示時の 1112px 幅で 11.12px)で書く */
.hero{container-type:inline-size}
.hero-ttl{
  position:absolute;margin:0;right:6.91cqw;bottom:7.18cqw;text-align:right;
  font-family:var(--f-head);font-weight:700;line-height:1.35;letter-spacing:.015em;
  color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.35);white-space:nowrap;
}
.hero-ttl .l1{display:block;font-size:5.04cqw}
/* 行末の「日」は字面が「で」より 5px 内側に寄って見えるので、その分だけ右へ出して右端の見た目を揃える */
.hero-ttl .l2{display:block;font-size:3.6cqw;margin-right:-.45cqw}
/* 写真左下のキャプション(9/7 に外したものを復活)。SCROLL の手前で折り返す */
.hero .cap{
  position:absolute;left:30px;right:120px;bottom:22px;margin:0;
  font-size:13px;line-height:1.6;color:rgba(255,255,255,.86);
}

/* ---------- 投稿者・日付・シェア（写真の下の横一列） ---------- */
.byline{
  display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;
  border-bottom:1px solid var(--line);
  padding:14px 2px;font-size:13px;color:var(--ink-2);
}
.byline .who{display:flex;align-items:center;gap:13px}
.byline .who .avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0}
.byline .who b{font-family:var(--f-head);font-size:16.5px;font-weight:700;color:var(--ink);display:block;line-height:1.5}
.byline .who .sub{font-family:var(--f-hand);color:var(--muted);font-size:12px;display:block;line-height:1.5}
.byline .sep{width:1px;height:36px;background:var(--line)}
.byline .fact{display:flex;flex-direction:column;line-height:1.45}
.byline .fact .lb{font-family:var(--f-hand);font-size:10.5px;letter-spacing:.18em;color:var(--muted)}
.byline .fact .dv{font-size:15px;font-weight:500;color:var(--ink)}
.byline .share{margin-left:auto;display:flex;gap:8px}
.byline .share a{
  display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-2);
  border:1px solid var(--line);border-radius:999px;padding:8px 16px;background:var(--card);
}
.byline .share a:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}

@media (min-width:1001px){
  /* ヘッダー〜メイン写真までを画面の高さにぴったり収める */
  /* 記事の書き出しが切り口にかかるよう、ファーストビューは1画面より少し低く止める */
  .fv{height:min(var(--shoot-vh,100vh),var(--fv-h));display:flex;flex-direction:column}
  .fv>*{width:100%}          /* margin:0 auto の .wrap が縮まないように */
  .fv .hero-wrap{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding-bottom:16px}
  .fv .hero{flex:1 1 auto;min-height:300px}
  .scroll-hint{
    position:absolute;right:24px;bottom:14px;
    /* 白の薄さは opacity ではなく色で出す。opacity だと PDF 書き出しで矩形にクリップされ文字の端が切れる */
    font-family:var(--f-hand);font-size:11.5px;color:rgba(255,255,255,.9);letter-spacing:.14em;
    display:flex;flex-direction:column;align-items:center;gap:2px;
  }
}
.scroll-hint{display:none}
@media (min-width:1001px){.scroll-hint{display:flex}}

/* ---------- 本文レイアウト ---------- */
.main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:64px;padding:44px 0 72px;align-items:start}

/* ---------- 記事本文 ---------- */
.article{background:transparent}
.lead{font-size:17px;margin:0 0 30px}
.article p{margin:0 0 1.5em}
.article h2{
  font-family:var(--f-head);font-size:27px;line-height:1.55;font-weight:700;
  margin:60px 0 24px;padding-bottom:14px;position:relative;
}
.article h2::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background:var(--line)}
.article h2::before{content:"";position:absolute;left:0;bottom:-1px;width:80px;height:3px;background:var(--accent);border-radius:2px;z-index:1}
.article h2 .kicker{
  display:block;font-family:var(--f-hand);font-size:12px;font-weight:400;
  letter-spacing:.18em;color:var(--accent);margin-bottom:4px;
}
.article h3{
  font-family:var(--f-head);font-size:20px;line-height:1.6;font-weight:700;
  margin:40px 0 16px;display:flex;align-items:flex-start;gap:10px;
}
.article h3 .num{
  flex-shrink:0;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;
  background:var(--pink-l);color:var(--pink-d);font-family:var(--f-body);font-size:14px;font-weight:700;margin-top:3px;
}
.article figure.wide{margin:10px 0 34px}
.article strong,.article b.mk{
  font-weight:700;background:linear-gradient(transparent 60%,#fddfea 60%);padding:0 1px;
}

.toc{
  background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:22px 28px 20px;margin:8px 0 44px;
}
.toc .toc-ttl{font-family:var(--f-head);font-weight:700;font-size:16px;display:flex;align-items:center;gap:8px;margin-bottom:10px}
.toc .toc-ttl .i{color:var(--accent)}
.toc ol{counter-reset:t;font-size:15px;line-height:1.9}
.toc li{padding:4px 0;counter-increment:t;display:flex;gap:10px}
.toc li::before{content:counter(t,decimal-leading-zero);font-family:var(--f-hand);color:var(--accent);flex-shrink:0}
.toc a{color:var(--ink)}
.toc a:hover{color:var(--accent)}

.tbl-wrap{overflow-x:auto;margin:0 0 22px}
table.tbl{width:100%;border-collapse:collapse;font-size:15px;line-height:1.8;background:var(--card)}
.tbl th,.tbl td{border:1px solid var(--line);padding:12px 16px;text-align:left;vertical-align:top}
.tbl th{background:var(--paper-2);font-weight:700;width:11em;white-space:nowrap}
.tbl thead th{background:var(--accent);color:#fff;text-align:center;width:auto;font-weight:700}
.tbl td.c{text-align:center;white-space:nowrap}
.tbl .price{font-weight:700;color:var(--accent-d);font-size:16px}
.note{font-family:var(--f-hand);font-size:13px;color:var(--muted);margin:-10px 0 24px}

/* 行き方カード */
.routes{display:flex;flex-direction:column;gap:14px;margin:0 0 28px}
.route{display:flex;gap:20px;border:1px solid var(--line);border-radius:14px;padding:20px 22px;background:var(--card)}
.route .badge{
  flex:0 0 92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  background:var(--accent-l);color:var(--accent-d);border-radius:10px;padding:12px 6px;
  font-family:var(--f-hand);font-size:12.5px;text-align:center;line-height:1.35;
}
.route .badge .i{width:26px;height:26px}
.route .body{flex:1;min-width:0}
.route .body h4{font-size:16.5px;font-weight:700;margin-bottom:8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;line-height:1.6}
.route .body h4 .time{font-family:var(--f-hand);font-size:12px;font-weight:400;color:var(--accent-d);background:var(--accent-l);border-radius:999px;padding:3px 12px;line-height:1.6}
.route .body p{font-size:15px;margin:0}
.route .body .steps{display:flex;flex-wrap:wrap;gap:5px 6px;font-size:12.5px;color:var(--ink-2);margin-top:10px}
.route .body .steps span{background:var(--paper-2);border-radius:5px;padding:3px 9px;line-height:1.6}
.route .body .steps span+span::before{content:"▶";font-size:8px;color:var(--muted);margin-right:7px}

/* 見どころ */
.spot{display:grid;grid-template-columns:5fr 6fr;gap:28px;align-items:start;margin:0 0 40px}
.spot.rev .sp-ph{order:2}
.spot p{font-size:15.5px;margin-bottom:1.2em}
.spot p:last-child{margin-bottom:0}
.pt{
  font-family:var(--f-hand);font-size:14px;color:var(--ink-2);line-height:1.8;
  background:var(--card);border:1px dashed var(--ph-line);border-radius:10px;padding:12px 16px;margin-top:14px;
}
.pt b{color:var(--pink-d);font-family:var(--f-body);font-size:12px;font-weight:700;letter-spacing:.08em;display:block}

/* 吹き出し（ブログらしい一言） */
.balloon{display:flex;gap:14px;align-items:flex-start;margin:0 0 30px}
.balloon .ph{width:56px;height:56px;flex-shrink:0}
.balloon .bl{
  position:relative;background:var(--pink-l);border-radius:14px;padding:16px 20px;
  font-family:var(--f-hand);font-size:15px;line-height:1.85;color:var(--ink);
}
.balloon .bl::before{
  content:"";position:absolute;left:-8px;top:20px;width:16px;height:16px;
  background:var(--pink-l);transform:rotate(45deg);
}

.sunset{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 28px}
.sunset div{background:var(--card);border:1px solid var(--line);border-radius:12px;text-align:center;padding:14px 8px;line-height:1.5}
.sunset .s{display:block;font-family:var(--f-hand);font-size:12.5px;color:var(--ink-2)}
.sunset .t{display:block;font-family:var(--f-head);font-size:22px;font-weight:700;color:var(--accent-d);margin:2px 0}
.sunset .m{display:block;font-size:11px;color:var(--muted)}

.course{margin:18px 0 28px}
.course li{display:grid;grid-template-columns:72px 24px 1fr;gap:0 12px;padding-bottom:22px;position:relative}
.course .t{font-family:var(--f-hand);font-weight:600;color:var(--accent-d);font-size:15px;padding-top:3px;text-align:right}
.course .dot{position:relative}
.course .dot::before{content:"";position:absolute;left:50%;top:11px;width:12px;height:12px;border-radius:50%;background:var(--pink);transform:translateX(-50%);box-shadow:0 0 0 3px var(--paper)}
.course .dot::after{content:"";position:absolute;left:50%;top:24px;bottom:-6px;width:1px;background:var(--line);transform:translateX(-50%)}
.course li:last-child .dot::after{display:none}
.course .b b{display:block;font-size:16px;line-height:1.7}
.course .b span{color:var(--ink-2);font-size:14.5px}

.tip{background:var(--accent-l);border-radius:14px;padding:22px 26px;margin:10px 0 28px}
.tip .tip-ttl{font-family:var(--f-head);font-weight:700;font-size:17px;color:var(--accent-d);display:flex;align-items:center;gap:8px;margin-bottom:10px}
.tip li{position:relative;padding-left:1.5em;font-size:15px;margin-bottom:6px;line-height:1.85}
.tip li:last-child{margin-bottom:0}
.tip li::before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:700}

.sum{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:24px 28px;margin:0 0 32px}
.sum li{position:relative;padding-left:1.8em;font-size:15.5px;margin-bottom:10px;line-height:1.85}
.sum li:last-child{margin-bottom:0}
.sum li::before{content:"";position:absolute;left:0;top:.7em;width:17px;height:17px;border-radius:50%;background:var(--accent)}
.sum li::after{content:"";position:absolute;left:5px;top:.7em;width:5px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(2px) rotate(45deg)}

.outro{
  font-family:var(--f-hand);font-size:15.5px;line-height:2;
  border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);
  padding:24px 0;margin:0 0 36px;
}

/* シェア＆タグ */
.post-tags{
  display:flex;flex-wrap:wrap;gap:6px 16px;margin:0 0 26px;
  background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px 22px;
}
.post-tags .lb{font-family:var(--f-hand);font-size:12.5px;color:var(--muted);width:100%}
.post-tags a{font-family:var(--f-hand);font-size:14.5px;color:var(--pink-d);line-height:1.7}
.share-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 44px}
.share-row .lb{font-family:var(--f-hand);font-size:13px;color:var(--muted);margin-right:4px}
.share-row a{
  display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2);
  background:var(--card);border:1px solid var(--line);border-radius:999px;padding:9px 18px;
}
.share-row a:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}

/* 書いた人 */
.about-me{display:flex;gap:24px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px;margin:0 0 44px}
.about-me .ph{width:94px;height:94px;flex-shrink:0}
.about-me .role{font-family:var(--f-hand);font-size:12px;color:var(--accent);letter-spacing:.1em}
.about-me .name{font-family:var(--f-head);font-size:20px;font-weight:700;margin:4px 0 10px}
.about-me p{font-size:14.5px;line-height:1.9;margin:0 0 12px}
.about-me .links{display:flex;gap:14px;font-size:13px}

/* 前後の記事 */
.pn{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 44px}
.pn a{
  display:block;background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:16px 20px;color:var(--ink);
}
.pn a:hover{border-color:var(--accent);text-decoration:none}
.pn .lb{font-family:var(--f-hand);font-size:12px;color:var(--muted);margin-bottom:4px}
.pn .t{font-size:14.5px;font-weight:500;line-height:1.7}
.pn .next{text-align:right}

/* 関連記事 */
.sec-ttl{
  font-family:var(--f-head);font-size:21px;font-weight:700;margin:0 0 22px;
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
}
.sec-ttl a{font-family:var(--f-body);font-size:13px;font-weight:400}
.rel{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:48px}
.rel a.card{display:block;color:var(--ink)}
.rel a.card:hover{text-decoration:none}
.rel a.card:hover .ct{color:var(--accent)}
.rel .card .ph{border-radius:12px}
.rel .card .cb{padding:12px 2px 0}
.rel .card .cd{font-family:var(--f-hand);font-size:12px;color:var(--muted)}
.rel .card .ct{font-size:15px;font-weight:500;line-height:1.7;margin:4px 0 6px}
.rel .card .ch{font-family:var(--f-hand);font-size:12.5px;color:var(--pink-d);line-height:1.6}

/* コメント */
.comments{margin:0 0 20px}
.cm{display:flex;gap:14px;padding:20px 0;border-bottom:1px dashed var(--line)}
.cm .ph{width:44px;height:44px;flex-shrink:0}
.cm .nm{font-size:14px;font-weight:700}
.cm .dt{font-family:var(--f-hand);font-size:11.5px;color:var(--muted);margin-left:8px;font-weight:400}
.cm p{font-size:14.5px;line-height:1.85;margin:4px 0 0}
.cm.reply{margin-left:44px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 18px;border-bottom:0;margin-top:14px}
.cm-form{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px 24px;margin-top:22px}
.cm-form .fl{font-family:var(--f-hand);font-size:13px;color:var(--ink-2);margin-bottom:8px}
.cm-form .fake-in{border:1px solid var(--line);border-radius:8px;background:var(--paper);height:40px;margin-bottom:14px}
.cm-form .fake-in.ta{height:96px}
.cm-form .btn{
  display:inline-block;background:var(--accent);color:#fff;font-size:14px;font-weight:700;
  border-radius:999px;padding:11px 30px;
}
.cm-form .btn:hover{background:var(--accent-d);text-decoration:none}

/* ---------- サイドバー ---------- */
.side .box{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px 20px;margin-bottom:24px}
.side .box>h2{
  font-family:var(--f-head);font-size:15px;font-weight:700;margin-bottom:16px;
  display:flex;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--line);
}
.side .box>h2 .i{color:var(--accent)}
.prof{text-align:center}
.prof .ph{width:104px;height:104px;margin:0 auto 14px}
.prof .nm{font-family:var(--f-head);font-size:18px;font-weight:700}
.prof .hd{font-family:var(--f-hand);font-size:12.5px;color:var(--muted);margin-top:2px}
.prof p{font-size:13.5px;line-height:1.9;text-align:left;margin:14px 0 14px}
.prof .more{font-size:13px}
.prof .sns{justify-content:center;margin-top:14px}
.side .cats-list li{border-bottom:1px dashed var(--line)}
.side .cats-list li:last-child{border-bottom:0}
.side .cats-list a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 2px;font-size:14px;color:var(--ink)}
.side .cats-list a:hover{color:var(--accent);text-decoration:none}
.side .cats-list .cnt{font-family:var(--f-hand);font-size:11.5px;color:var(--muted)}
.rank li{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px dashed var(--line)}
.rank li:first-child{padding-top:0}
.rank li:last-child{border-bottom:0;padding-bottom:0}
.rank .n{
  width:22px;height:22px;border-radius:50%;background:var(--paper-2);color:var(--ink-2);
  font-family:var(--f-hand);font-size:12px;display:grid;place-items:center;flex-shrink:0;margin-top:3px;
}
.rank li:nth-child(1) .n{background:var(--pink);color:#fff}
.rank li:nth-child(2) .n{background:#b9bec6;color:#fff}
.rank li:nth-child(3) .n{background:#d3d8de;color:#fff}
.rank .ph{width:64px;height:48px;flex-shrink:0}
.rank a.t{font-size:13px;line-height:1.7;color:var(--ink)}
.rank a.t:hover{color:var(--accent);text-decoration:none}
.tagcloud{display:flex;flex-wrap:wrap;gap:8px}
.tagcloud{gap:4px 14px}
.tagcloud a{font-family:var(--f-hand);font-size:13.5px;color:var(--pink-d);line-height:1.8}
.gram{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.gram .ph{border-radius:6px}
.arch li a{display:flex;justify-content:space-between;font-size:13.5px;padding:7px 2px;color:var(--ink)}
.arch li a:hover{color:var(--accent);text-decoration:none}
.arch .cnt{font-family:var(--f-hand);font-size:11.5px;color:var(--muted)}

/* ---------- フッター ---------- */
.ft{background:var(--paper-2);border-top:1px solid var(--line);margin-top:20px;font-size:13.5px;color:var(--ink-2)}
.ft-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px;padding:44px 0 30px}
.ft-brand{max-width:340px}
.ft-brand .logo-img{height:34px;margin-bottom:4px}
.ft-brand p{font-family:var(--f-hand);font-size:13px;line-height:1.9;color:var(--ink-2);margin-top:14px}
.ft-cols{display:flex;gap:56px}
.ft-cols h4{font-family:var(--f-head);font-size:14px;color:var(--ink);margin-bottom:12px}
.ft-cols li{margin-bottom:8px}
.ft-cols a{color:var(--ink-2)}
.ft-cols a:hover{color:var(--accent)}
.ft-bottom{border-top:1px solid var(--line);padding:16px 0 26px;font-size:12px;color:var(--muted);line-height:1.9}

/* ---------- レスポンシブ ---------- */
@media (max-width:1100px){
  .post-head h1{font-size:37px}
  .main{gap:44px;grid-template-columns:minmax(0,1fr) 280px}
}
@media (max-width:1000px){
  .main{grid-template-columns:1fr;gap:52px;padding-top:32px}
  .side{max-width:620px;margin:0 auto}
  .hero .ph,.hero-img{aspect-ratio:1852/1000;height:auto;min-height:0}
}
@media (max-width:800px){
  .wrap{padding:0 18px}
  .head{flex-direction:column;align-items:flex-start;gap:13px;padding:15px 18px 13px}
  .logo-img{height:38px}
  .tagline{padding-left:0;border-left:0}
  .head-r{width:100%}
  .search{flex:1}
  .post-head{padding:22px 0 16px}
  .post-head h1{font-size:clamp(24px,5.4vw,31px)}
  /* 写真が低くなるので、暗がりを上まで伸ばし、タイトルはキャプション(2行に折り返す)の上へ逃がす */
  .hero-shade{height:60%}
  .hero-ttl{bottom:calc(2cqw + 44px)}
  .hero .cap{left:16px;right:16px;bottom:10px;font-size:11px;line-height:1.5}
  .byline{gap:12px 16px}
  .byline .sep{display:none}
  .byline .share{margin-left:0;width:100%}
  .article h2{font-size:22px;margin-top:48px}
  .article h3{font-size:18px}
  .lead{font-size:16px}
  .spot,.spot.rev{grid-template-columns:1fr;gap:18px}
  .spot.rev .sp-ph{order:0}
  .route{flex-direction:column;gap:14px}
  .route .badge{flex-direction:row;justify-content:flex-start;padding:8px 14px;align-self:flex-start}
  .route .badge .i{width:20px;height:20px}
  .sunset{grid-template-columns:repeat(2,1fr)}
  .course li{grid-template-columns:56px 20px 1fr}
  .about-me{flex-direction:column;align-items:center;text-align:center}
  .about-me .links{justify-content:center}
  .pn{grid-template-columns:1fr}
  .pn .next{text-align:left}
  .rel{grid-template-columns:1fr 1fr;gap:16px}
  .ft-in{flex-direction:column;gap:24px}
  .ft-cols{gap:36px}
  .tbl th{width:8em;white-space:normal}
  table.tbl{font-size:14px}
}
@media (max-width:520px){
  body{font-size:15px}
  .logo-img{height:34px}
  .post-head h1{font-size:24px}
  .rel{grid-template-columns:1fr}
  .cm.reply{margin-left:0}
}
