/* ============================================================
   NEWS 一覧・詳細ページ用スタイル (自作CMSキット)
   参考デザイン: orienthotel.jp (罫線ミニマル・日付/カテゴリの「/」区切り)
   をアルフレックスの配色 (アクセント #5f414b) に合わせて調整。
   main.css (html{font-size:62.5%} = 1rem:10px) と併用する前提。
   ============================================================ */

/* 基準: 1rem = 10px。main.css と同じ換算だが、news ページは main.css を
   読み込まないため、この CSS 単体で基準を持つ (無いと全サイズが1.6倍になる) */
html { font-size: 62.5%; }

body.p-news { margin: 0; color: #1a1a1a; background: #fff; font-family: "Noto Sans JP", "游ゴシック", YuGothic, sans-serif; font-size: 1.6rem; letter-spacing: .1em; line-height: 1.8; }
.p-news a { color: inherit; }
.p-news img { max-width: 100%; height: auto; }

/* ---------- 下層ページ用ヘッダー (main.js 非依存の簡易版) ---------- */
.nheader { background: #1b1b1b; color: #fff; }
.nheader__inner { max-width: 1140px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nheader__logo { text-decoration: none; color: #fff; line-height: 1.3; }
.nheader__logo span:first-child { display: block; font-size: 2.2rem; letter-spacing: .12em; }
.nheader__logo span:last-child { display: block; font-size: 1.1rem; color: #ccc; }
.nheader__links { display: flex; align-items: center; gap: 18px; }
.nheader__tel { text-decoration: none; font-size: 1.7rem; letter-spacing: .1em; }
.nheader__reserve { text-decoration: none; font-size: 1.3rem; border: 1px solid #fff; padding: 8px 22px; transition: background .3s, color .3s; }
.nheader__reserve:hover { background: #fff; color: #1b1b1b; }

/* ---------- パンくず ---------- */
.ncrumbs { max-width: 1140px; margin: 0 auto; padding: 16px 20px 0; font-size: 1.2rem; color: #777; }
.ncrumbs a { color: #777; text-decoration: none; }
.ncrumbs a:hover { text-decoration: underline; }

/* ---------- ページ見出し (トップの .heading-2 と同系) ---------- */
.ntitle { text-align: center; color: #5f414b; font-size: 3.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; margin: 42px 0 0; }
.ntitle:after { content: ""; display: block; margin: 18px auto 0; width: 30px; height: 2px; background-color: #5f414b; }
.ntitle small { display: block; font-size: 1.3rem; color: #888; text-transform: none; letter-spacing: .2em; margin-top: 10px; }

/* ---------- 2カラムレイアウト ---------- */
.nwrap { max-width: 1140px; margin: 0 auto; padding: 50px 20px 90px; display: flex; justify-content: space-between; gap: 40px; }
.nmain { flex: 1; min-width: 0; }
.nside { width: 244px; flex: none; }
@media (max-width: 860px) { .nwrap { display: block; } .nside { width: 100%; margin-top: 60px; } }

/* ---------- 一覧: 2列サムネイルグリッド ---------- */
.ngrid { display: flex; flex-wrap: wrap; justify-content: space-between; }
.ncard { display: block; width: calc(50% - 16px); margin-bottom: 40px; text-decoration: none; }
.ncard figure { margin: 0 0 12px; overflow: hidden; aspect-ratio: 3 / 2; background: #eceae8; }
.ncard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ncard:hover figure img { transform: scale(1.06); }
.ncard__noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #b9b2ae; font-size: 1.4rem; letter-spacing: .2em; }
.ncard__meta { font-size: 1.4rem; color: #666; margin-bottom: 4px; }
.ncard__meta .cat:before { content: "/"; margin: 0 8px; color: #999; }
.ncard__title { font-size: 1.6rem; font-weight: 400; line-height: 1.6; color: #1a1a1a; }
.ncard:hover .ncard__title { color: #5f414b; }
@media (max-width: 560px) { .ncard { width: calc(50% - 8px); margin-bottom: 28px; } .ncard__title { font-size: 1.4rem; } }
.nempty { padding: 60px 0; text-align: center; color: #888; }

/* ---------- ページャ (下線式) ---------- */
.npager { text-align: center; padding-top: 20px; font-size: 1.5rem; }
.npager a, .npager span { display: inline-block; min-width: 26px; padding: 0 6px; margin: 0 3px; line-height: 30px; text-decoration: none; border-bottom: 2px solid transparent; }
.npager span.current { border-bottom-color: #1a1a1a; }
.npager a:hover { border-bottom-color: #1a1a1a; }

/* ---------- サイドバー ---------- */
.nside h3 { font-size: 2.4rem; font-weight: 500; letter-spacing: .16em; color: #5f414b; padding-bottom: 14px; border-bottom: 1px solid #ddd; margin: 0 0 4px; }
.nside ul { list-style: none; margin: 0 0 40px; padding: 0; }
.nside li { border-bottom: 1px solid #ddd; }
.nside li a { display: block; padding: 13px 8px; text-decoration: none; font-size: 1.5rem; transition: background .25s; }
.nside li a:hover, .nside li a.is-current { background: #f4f2f1; }
.nside .yr { font-size: 1.3rem; color: #888; padding: 12px 8px 4px; }

/* ---------- 詳細 (サイズは orienthotel 実測値: メタ1.4rem/タイトル2.4rem/本文1.6rem・行間2) ---------- */
.nsingle__meta { font-size: 1.4rem; color: #666; margin-bottom: 20px; }
.nsingle__meta .cat:before { content: "/"; margin: 0 8px; color: #999; }
.nsingle__title { font-size: 2.4rem; font-weight: 500; line-height: 1.6; margin: 0 0 40px; }
.nsingle__body { font-size: 1.6rem; color: #4e4543; line-height: 2; }
.nsingle__body p { margin: 0 0 30px; }
.nsingle__body h3 { font-size: 1.9rem; font-weight: 500; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin: 44px 0 22px; }
.nsingle__body h4 { font-size: 1.6rem; font-weight: 500; margin: 36px 0 16px; }
/* 画像は inline-block: 親段落の text-align(エディタの配置指定)に追従する。既定は左 */
.nsingle__body img { display: inline-block; margin: 28px 0; height: auto; max-width: 100%; }
.nsingle__body a { color: #5f414b; }
.nsingle__body a img { transition: opacity .3s; }
.nsingle__body a img:hover { opacity: .8; }
@media (max-width: 560px) { .nsingle__title { font-size: 2rem; } }

/* 下書きプレビューバナー */
.npreview-banner { background: #7E57A4; color: #fff; text-align: center; font-size: 1.4rem; padding: 10px 12px; letter-spacing: .12em; }

/* ---------- 「一覧へ」伸びる矢印リンク ---------- */
.nmore { text-align: center; padding-top: 40px; }
.nmore a { position: relative; display: inline-block; padding-right: 86px; padding-bottom: 4px; text-decoration: none; font-size: 1.5rem; letter-spacing: .14em; }
.nmore a::after { content: ""; position: absolute; right: 22px; bottom: 10px; width: 56px; height: 1px; background: #1a1a1a; transition: all .35s ease; }
.nmore a::before { content: ""; position: absolute; right: 22px; bottom: 10px; width: 10px; height: 6px; border-right: 1px solid #1a1a1a; transform: skewY(38deg); transform-origin: right bottom; transition: all .35s ease; }
.nmore a:hover::after { width: 80px; right: 0; }
.nmore a:hover::before { right: 0; }

/* ---------- 下層フッター ---------- */
.nfooter { background: #1b1b1b; color: #fff; text-align: center; padding: 36px 20px 30px; margin-top: 40px; }
.nfooter__logo p { margin: 0; font-size: 2rem; letter-spacing: .14em; }
.nfooter__logo span { font-size: 1.1rem; color: #ccc; }
.nfooter address { font-style: normal; font-size: 1.2rem; color: #ccc; margin: 14px 0; line-height: 1.9; }
.nfooter small { font-size: 1.05rem; color: #888; }
