/*
  Skin Name: 東北ペネット
  Description: 会社サイト penet.co.jp 専用スキン。写真が主役・生成りの地・墨色の文字・海の青緑を 1 色。見出しは明朝、本文はゴシック。
  Skin URI: https://penet.co.jp/
  Author: penet
  Version: 1.0.0
  Priority: 100
*/
/* 正本はリポジトリ seo-autopilot-v2 の templates/brand/penet/skin/（サーバーで直さない）。決まりは .claude/skills/corporate-site/SKILL.md */

:root {
  --pn-ground: #F4F1EA;
  --pn-white: #FFFFFF;
  --pn-ink: #1F2A2C;
  --pn-sub: #566062;
  --pn-line: #CFCBC0;
  --pn-line2: #DEDACF;
  --pn-accent: #0F6B74;
  --pn-min: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --pn-sans: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', Meiryo, sans-serif;
}

/* ---------- 土台（Cocoon の 2 カラムを全幅 1 カラムに） ---------- */
body, body.body { background: var(--pn-ground); color: var(--pn-ink); font-family: var(--pn-sans); font-size: 16px; line-height: 1.9; }
a { color: var(--pn-ink); }
a:hover { color: var(--pn-accent); }
::selection { background: #D8E6E4; }
.container { background: transparent; }
.content { margin: 0; }
.content-in.wrap, .content-in { width: 100%; max-width: none; display: block; margin: 0; padding: 0; }
.main { width: 100%; float: none; margin: 0; padding: 0 !important; border: 0; background: transparent; }
.sidebar { display: none; }
.article { margin: 0 !important; }
.entry-content { margin: 0; }
.breadcrumb, .date-tags, .sns-share, .sns-follow, .author-info, .article-footer, .eye-catch-wrap, .under-entry-content, .pager-post-navi, .comment-area { display: none; }
.article h2, .article h3, .article h4 { background: none; border: 0; padding: 0; }
.entry-content > *:first-child { margin-top: 0; }
img { max-width: 100%; height: auto; }

/* ---------- ヘッダー ---------- */
.header-container { background: var(--pn-ground); box-shadow: none; border: 0; }
.header-container-in { max-width: 1200px; width: 100%; margin: 0 auto; padding: 8px 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 32px; }
.header, .header-in { background: transparent; width: auto; min-height: 0; margin: 0; padding: 0; display: block; }
.tagline { display: none; }
.logo, .logo-header { padding: 0; margin: 0; text-align: left; line-height: 1; }
.logo-header .site-name-text, .logo-text a { font-family: var(--pn-min); font-weight: 600; font-size: 18px; letter-spacing: .08em; color: var(--pn-ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; }
.logo-header img { max-height: 46px; width: auto; }
/* ロゴ＝印（三原山と海と日）＋社名の文字。印は img/mark.svg（正本は templates/brand/penet/penet-mark.svg） */
.logo-header a.site-name-text-link { display: inline-flex !important; align-items: center; min-height: 48px; padding: 0 !important; margin: 0; text-decoration: none; }
.logo-header a.site-name-text-link::before { content: ''; display: block; flex: none; width: 44px; height: 44px; margin-right: 10px; background: url(img/mark.svg) center / contain no-repeat; }
.header-container-in .header { flex: 0 0 auto; }
.header-container-in .navi, .navi { background: transparent; width: auto !important; max-width: 100%; flex: 0 1 auto; margin: 0; }
.navi-in, .navi-in.wrap { width: auto; margin: 0; }
.navi-in > ul { display: flex !important; flex-wrap: wrap; justify-content: flex-start !important; width: auto; gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.navi-in > ul > li { width: auto; height: auto; line-height: 1.6; }
.navi-in a, .navi-in > ul > li > a { display: inline-flex; align-items: center; min-height: 44px; height: auto; padding: 0; font-size: 14px; font-weight: 500; color: var(--pn-ink); background: transparent; text-decoration: none; }
.navi-in a:hover { background: transparent; color: var(--pn-accent); }
.navi-in .current-menu-item > a, .navi-in .current_page_item > a { box-shadow: inset 0 -2px 0 var(--pn-accent); }
.navi-in .caption-wrap { padding: 0; display: block; }
.mobile-menu-buttons, .mobile-header-menu-buttons, .mobile-footer-menu-buttons { display: none !important; }

/* ---------- Cocoon のフッターは使わない（中身は functions.php の .pn-footer） ---------- */
.footer { background: transparent; margin: 0; padding: 0; border: 0; }
.footer .footer-bottom, .footer .footer-widgets { display: none; }
.pn-footer { background: var(--pn-ink); color: #ECE9E2; padding: 64px 0 32px; }
.pn-footer a { color: #ECE9E2; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.pn-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.pn-footer__in { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.pn-footer__co { flex: 2 1 320px; }
.pn-footer__name { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--pn-min); font-size: 18px; font-weight: 600; letter-spacing: .08em; }
.pn-footer__name::before { content: ''; flex: none; width: 40px; height: 40px; background: url(img/mark-white.svg) center / contain no-repeat; }
.pn-footer__addr { margin: 0; font-size: 14px; line-height: 1.9; }
.pn-footer__nav { flex: 1 1 180px; display: flex; flex-direction: column; }
.pn-footer__copy { max-width: 1200px; margin: 48px auto 0; padding: 24px 24px 0; box-sizing: border-box; border-top: 1px solid #47514F; font-size: 12px; color: #C9C6BE; }
.go-to-top-button { background: var(--pn-ink); color: #fff; border-radius: 0; }

/* ---------- 文書のページ（会社概要・プライバシー・特商法・お知らせの記事） ---------- */
.pn-layout-doc .article { max-width: 868px; margin: 0 auto !important; padding: 72px 24px 104px; box-sizing: border-box; }
.pn-layout-doc .article-header { display: block; }
.pn-layout-doc .entry-title { font-family: var(--pn-min); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.5; letter-spacing: .08em; margin: 0 0 48px; padding: 0 0 24px; border-bottom: 1px solid var(--pn-line); }
.pn-layout-news .date-tags { display: block; margin: -32px 0 40px; font-size: 14px; color: var(--pn-sub); text-align: left; }
.pn-layout-news .date-tags .post-update, .pn-layout-news .date-tags .entry-category { display: none; }
.pn-layout-doc .entry-content h2 { font-family: var(--pn-min); font-weight: 600; font-size: 22px; line-height: 1.6; letter-spacing: .04em; margin: 56px 0 16px; }
.pn-layout-doc .entry-content h3 { font-weight: 700; font-size: 17px; margin: 32px 0 12px; }
.pn-layout-doc .entry-content p { margin: 0 0 20px; }
.pn-layout-doc .entry-content ul { margin: 0 0 20px; padding-left: 1.4em; }
.pn-layout-doc .entry-content a { color: var(--pn-accent); text-underline-offset: 3px; }
.pn-table { width: 100%; border-collapse: collapse; border: 0; border-top: 1px solid var(--pn-line); margin: 0; }
.pn-table th, .pn-table td { border: 0; border-bottom: 1px solid var(--pn-line); background: transparent; padding: 18px 0; text-align: left; vertical-align: top; font-size: 16px; }
.pn-table th { width: 9em; padding-right: 24px; font-weight: 400; font-size: 14px; color: var(--pn-sub); white-space: nowrap; }
.pn-table tr:nth-of-type(2n+1) { background: transparent; }
.pn-table ul { margin: 0; padding-left: 1.2em; }

/* ---------- 全幅のページ・作品ページ（題名は本文の中で出す） ---------- */
.pn-layout-page .article-header, .pn-layout-work .article-header { display: none; }
.pn-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
/* 文章だけの節（pn-narrow）も左端をほかの節とそろえ、行の長さだけ抑える（11/18 本人「段落の先頭がずれて見える」） */
.pn-narrow { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.pn-narrow > * { max-width: 820px; }
.pn-narrow > .pn-apply, .pn-narrow > .pn-back, .pn-narrow > .pn-strip, .pn-narrow > .pn-flow, .pn-narrow > .pn-cards, .pn-narrow > .pn-embed { max-width: none; }
.pn-flow, .pn-menu, .pn-past, .pn-cal, .pn-news, .pn-cast { padding-left: 0 !important; }
.pn-sec { padding: 96px 0; }
.pn-sec--white { background: var(--pn-white); }
.pn-sec--tight { padding: 80px 0; }
.pn-page p, .pn-work p { margin: 0 0 20px; }
.pn-page p:last-child, .pn-work p:last-child { margin-bottom: 0; }
.pn-eyebrow { margin: 0 0 14px !important; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--pn-accent); }
.pn-page h1, .pn-page h2, .pn-page h3, .pn-work h1, .pn-work h2, .pn-work h3 { margin: 0; }
.article .pn-h2 { font-family: var(--pn-min); font-weight: 500; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.6; letter-spacing: .05em; }
.article .pn-h2--s { font-size: clamp(22px, 2.4vw, 30px); }
.article .pn-h2--label { font-size: 28px; letter-spacing: .08em; }
.article .pn-page h1, .article .pn-page h2, .article .pn-page h3, .article .pn-work h1, .article .pn-work h2, .article .pn-work h3 { background: none; border: 0; padding: 0; }

/* 大きな写真 */
.pn-hero { position: relative; min-height: 640px; background: #2B3A3D; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.pn-hero--s { min-height: 480px; }
.pn-hero__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.pn-hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(18, 28, 30, .5); }
/* トップの写真の膜: 左（文字の下）だけ濃く、右は薄く＝写真の色を残す（全体を同じ濃さで暗くすると沈んで見える・2026-11-18） */
.pn-hero--grad::after { background: linear-gradient(90deg, rgba(14,22,24,.74) 0%, rgba(14,22,24,.5) 42%, rgba(14,22,24,.12) 100%), linear-gradient(0deg, rgba(14,22,24,.42) 0%, rgba(14,22,24,0) 55%); }
.pn-hero__in { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 72px 24px 64px; box-sizing: border-box; }
.pn-hero__area { margin: 0 0 20px !important; font-size: 13px; letter-spacing: .22em; }
.article .pn-hero__title { font-family: var(--pn-min); font-weight: 500; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.5; letter-spacing: .06em; color: #fff; }
.pn-hero__lead { margin: 28px 0 0 !important; max-width: 620px; line-height: 2; }

/* 見出しと説明を左右に */
.pn-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 44px; }
.pn-split > * { min-width: 0; }
.pn-split > :first-child { flex: 3 1 480px; }
.pn-split > :last-child { flex: 2 1 360px; }
.pn-split--mid { align-items: center; margin-bottom: 0; gap: 24px 64px; }
.pn-split--mid > :first-child { flex: 1 1 320px; }
.pn-split--mid > :last-child { flex: 2 1 420px; }

/* 写真つきの札（4 つ並び） */
.pn-tiles { display: flex; flex-wrap: wrap; gap: 20px; }
.pn-tile { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--pn-ink); }
.pn-tile img { display: block; width: 100%; height: 340px; object-fit: cover; }
.pn-tile__name { display: block; font-family: var(--pn-min); font-size: 22px; font-weight: 600; letter-spacing: .1em; line-height: 1.5; }
.pn-tile__note { display: block; font-size: 14px; color: var(--pn-sub); line-height: 1.7; }
a.pn-tile:hover .pn-tile__name { color: var(--pn-accent); }

/* ボタン */
.pn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 40px; box-sizing: border-box; background: var(--pn-accent); color: #fff !important; font-weight: 700; letter-spacing: .08em; text-decoration: none !important; }
.pn-btn:hover { background: #0B565D; }
.pn-btn--line { background: transparent; color: var(--pn-ink) !important; border: 1px solid var(--pn-ink); font-weight: 500; padding: 0 28px; min-height: 48px; }
.pn-btn--line:hover { background: var(--pn-ink); color: #fff !important; }
.pn-more { margin: 40px 0 0 !important; }

/* 作品の札 */
.pn-cards { display: flex; flex-wrap: wrap; gap: 24px; }
.pn-card { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; background: var(--pn-white); border: 1px solid var(--pn-line2); text-decoration: none; color: var(--pn-ink); }
.pn-card__img { display: flex; align-items: center; justify-content: center; height: 240px; background: var(--pn-white); border-bottom: 1px solid var(--pn-line2); }
.pn-card__img img { max-width: 80%; max-height: 200px; width: auto; height: auto; }
.pn-card__body { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px 28px; }
.pn-card__name { font-family: var(--pn-min); font-size: 22px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; }
.pn-card__note { font-size: 14px; color: var(--pn-sub); }
a.pn-card:hover .pn-card__name { color: var(--pn-accent); }
.pn-list3 { display: flex; flex-wrap: wrap; gap: 0 48px; margin-top: 36px; border-top: 1px solid var(--pn-line2); }
.pn-list3 > * { flex: 1 1 240px; margin: 0 !important; padding: 20px 0; border-bottom: 1px solid var(--pn-line2); text-decoration: none; color: var(--pn-ink); }
.pn-list3 b { display: block; font-weight: 700; }
.pn-list3 span { font-size: 14px; color: var(--pn-sub); }
a.pn-list3-item:hover b, .pn-list3 a:hover b { color: var(--pn-accent); }
.pn-list3 span { display: block; line-height: 1.7; }

/* お知らせの一覧 */
.pn-row { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.pn-row > :first-child { flex: 1 1 300px; }
.pn-row > :last-child { flex: 4 1 520px; min-width: 0; }
.pn-news { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pn-line); }
.pn-news li { border-bottom: 1px solid var(--pn-line); margin: 0; }
.pn-news a { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 20px 0; min-height: 44px; box-sizing: border-box; text-decoration: none; color: var(--pn-ink); }
.pn-news a:hover span { color: var(--pn-accent); }
.pn-news time { flex: 0 0 110px; font-size: 14px; color: var(--pn-sub); }
.pn-news span { flex: 1 1 280px; }
.pn-news-empty { color: var(--pn-sub); }
.pn-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin: 40px 0 0 !important; }
.pn-cta span { font-size: 14px; color: var(--pn-sub); }

/* 写真と文章を左右に（交互） */
.pn-features { display: flex; flex-direction: column; gap: 88px; }
.pn-feature { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.pn-feature--rev { flex-direction: row-reverse; flex-wrap: wrap-reverse; }
.pn-feature__img { flex: 3 1 420px; min-width: 0; display: flex; gap: 16px; }
.pn-feature__img img { flex: 1 1 0; min-width: 0; width: 100%; height: 420px; object-fit: cover; }
.pn-feature__text { flex: 2 1 320px; min-width: 0; }
.pn-feature__no { margin: 0 0 12px !important; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--pn-accent); }
.article .pn-feature__text h2 { margin: 0 0 20px; font-family: var(--pn-min); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: .08em; line-height: 1.5; }
.pn-note { margin: 20px 0 0 !important; padding: 14px 18px; background: var(--pn-white); border: 1px solid var(--pn-line2); font-size: 14px; line-height: 1.8; }
.pn-sec--white .pn-note { background: var(--pn-ground); }

/* 暦 */
.pn-cal { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pn-line); }
.pn-cal li { display: flex; gap: 32px; padding: 16px 0; border-bottom: 1px solid var(--pn-line); margin: 0; }
.pn-cal b { flex: 0 0 56px; font-family: var(--pn-min); font-weight: 600; }
.pn-cal a { color: var(--pn-accent); text-underline-offset: 3px; }
.pn-feature__text .pn-btn { margin-top: 4px; }
.pn-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 写真の帯 */
.pn-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.pn-strip img { flex: 1 1 200px; min-width: 0; height: 280px; object-fit: cover; }

/* 2 つの箱 */
.pn-boxes { display: flex; flex-wrap: wrap; gap: 24px; }
.pn-box { flex: 1 1 380px; min-width: 0; padding: 40px; background: var(--pn-white); border: 1px solid var(--pn-line2); box-sizing: border-box; }
.article .pn-box h2 { margin: 0 0 16px; font-family: var(--pn-min); font-weight: 600; font-size: 22px; letter-spacing: .06em; line-height: 1.5; }
.pn-box p { margin: 0 0 28px !important; }
.pn-box p:last-child { margin: 0 !important; }

/* ページの題（写真なし） */
.pn-head { padding: 72px 0 0; }
.article .pn-head h1 { font-family: var(--pn-min); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.5; letter-spacing: .08em; }
.pn-head p { margin: 24px 0 0 !important; max-width: 720px; }

/* ---------- イベントのページ（/local/<催し>/・入れ物は pn-page pn-event） ---------- */
.pn-hero__area a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pn-status { background: var(--pn-ink); color: #fff; }
.pn-status__in { max-width: 1200px; margin: 0 auto; padding: 28px 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.pn-status__label { margin: 0 0 6px !important; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: #9FD0D4; }
.pn-status__date { margin: 0 !important; font-family: var(--pn-min); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: .06em; line-height: 1.5; }
.pn-status__meta { margin: 6px 0 0 !important; font-size: 14px; color: #D5D9D8; }
.pn-status .pn-btn { background: #fff; color: var(--pn-ink) !important; }
.pn-status .pn-btn:hover { background: #E7ECEB; }
.pn-status--closed { background: var(--pn-white); color: var(--pn-ink); border-bottom: 1px solid var(--pn-line2); }
.pn-status--closed .pn-status__label { color: var(--pn-accent); }
.pn-status--closed .pn-status__meta { color: var(--pn-sub); }
.pn-status--closed .pn-btn { background: transparent; border: 1px solid var(--pn-ink); font-weight: 500; }
.pn-status--closed .pn-btn:hover { background: var(--pn-ink); color: #fff !important; }
.pn-event .pn-narrow > h2, .pn-event .pn-wrap > h2 { margin-bottom: 28px; }
.pn-event .pn-narrow > * + h2, .pn-event .pn-narrow > * + h3 { margin-top: 48px; }
.article .pn-event h3 { font-size: 18px; font-weight: 700; line-height: 1.6; margin-bottom: 12px; }
.pn-quote { margin: 0 0 20px; padding: 28px 0; border: 0; border-top: 1px solid var(--pn-line); border-bottom: 1px solid var(--pn-line); background: none; font-family: var(--pn-min); font-size: clamp(18px, 1.9vw, 22px); line-height: 1.9; letter-spacing: .04em; }
.pn-quote::before, .pn-quote::after { content: none; }
.pn-quote cite { display: block; margin-top: 12px; font-family: var(--pn-sans); font-size: 13px; font-style: normal; color: var(--pn-sub); letter-spacing: 0; }
.pn-menu { margin: 0 0 20px; padding: 0; list-style: none; columns: 2 260px; column-gap: 48px; border-top: 1px solid var(--pn-line); }
.pn-menu li { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--pn-line); break-inside: avoid; }
.pn-flow { margin: 0; padding: 0; list-style: none; counter-reset: pnflow; display: flex; flex-wrap: wrap; gap: 32px 24px; }
.pn-flow > li { flex: 1 1 280px; min-width: 0; margin: 0; counter-increment: pnflow; }
.pn-flow > li img { display: block; width: 100%; height: 240px; object-fit: cover; margin-bottom: 16px; }
.pn-flow > li b { display: block; font-family: var(--pn-min); font-size: 20px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; margin-bottom: 8px; }
.pn-flow > li b::before { content: counter(pnflow, decimal-leading-zero); display: block; font-family: var(--pn-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--pn-accent); margin-bottom: 4px; }
.pn-flow > li span { display: block; font-size: 15px; line-height: 1.9; }
.pn-person { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.pn-person img { flex: 0 0 160px; width: 160px; height: 160px; object-fit: cover; }
.pn-person > div { flex: 1 1 320px; min-width: 0; }
.pn-person b { display: block; font-family: var(--pn-min); font-size: 20px; font-weight: 600; letter-spacing: .06em; margin-bottom: 4px; }
.pn-person small { display: block; font-size: 13px; color: var(--pn-sub); margin-bottom: 12px; }
.pn-past { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pn-line); }
.pn-past li { display: flex; flex-wrap: wrap; gap: 4px 32px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--pn-line); font-size: 15px; }
.pn-past b { flex: 0 0 72px; font-family: var(--pn-min); font-weight: 600; }
.pn-past span { flex: 1 1 280px; }
.pn-apply { background: var(--pn-white); border: 1px solid var(--pn-line2); padding: 48px 40px; box-sizing: border-box; text-align: center; }
.article .pn-apply h2 { font-family: var(--pn-min); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .06em; line-height: 1.6; margin: 0 0 12px; }
.pn-apply p { margin: 0 auto 24px !important; max-width: 640px; }
.pn-apply .pn-small { font-size: 14px; color: var(--pn-sub); margin-bottom: 0 !important; }
.pn-apply .pn-small a { color: var(--pn-accent); text-underline-offset: 3px; }
.pn-back { margin: 40px 0 0 !important; text-align: center; }
.pn-narrow-text { max-width: 820px; margin: 0 0 32px; }
.pn-org { margin: 0 0 24px !important; font-size: 14px; color: var(--pn-sub); }
.pn-flow-note { margin: 24px 0 0 !important; font-size: 14px; color: var(--pn-sub); }
.pn-page .pn-narrow a:not([class]), .pn-event .pn-table a { color: var(--pn-accent); text-underline-offset: 3px; }
/* 地図（Google マップの埋め込み） */
.pn-map { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 440px; background: #E7E4DC; }
.pn-map iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
/* メディアの札（画面のサムネイル） */
.pn-events--media .pn-ev img { height: auto; aspect-ratio: 16 / 10; object-position: top; border-bottom: 1px solid var(--pn-line2); }
.pn-events--media .pn-ev__when { letter-spacing: .04em; font-weight: 500; }
/* イベントの一覧（ローカル事業のページ） */
.pn-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.pn-ev { display: flex; flex-direction: column; background: var(--pn-white); border: 1px solid var(--pn-line2); text-decoration: none; color: var(--pn-ink); }
.pn-ev img { display: block; width: 100%; height: 200px; object-fit: cover; }
/* 写真の無い催しは、名前を文字で出す札 */
.pn-ev__ph { display: flex; align-items: center; justify-content: center; height: 200px; background: var(--pn-ink); color: #fff; font-family: var(--pn-min); font-size: 30px; font-weight: 500; letter-spacing: .14em; }
.pn-ev__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; }
.pn-ev__when { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--pn-accent); }
.pn-ev__name { font-family: var(--pn-min); font-size: 19px; font-weight: 600; letter-spacing: .05em; line-height: 1.6; }
.pn-ev__note { font-size: 14px; color: var(--pn-sub); line-height: 1.7; }
.pn-ev__open { align-self: flex-start; margin-top: 6px; padding: 2px 10px; background: var(--pn-accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
a.pn-ev:hover .pn-ev__name { color: var(--pn-accent); }

/* ---------- 作品ページ（色は入れ物の style で --work・--work-accent を渡す） ---------- */
.pn-work { --work: #1F2A2C; --work-accent: #D9B65A; --work-sub: #D8D4EA; }
.pn-work-hero { background: var(--work); color: #fff; }
.pn-work-hero a { color: #fff; }
.pn-crumb { display: flex; flex-wrap: wrap; gap: 0 10px; padding-top: 12px; font-size: 13px; color: var(--work-sub); }
.pn-crumb a, .pn-crumb span { display: inline-flex; align-items: center; min-height: 44px; color: var(--work-sub); text-decoration: none; }
.pn-crumb a:hover { color: #fff; text-decoration: underline; }
.pn-work-kv img { display: block; width: 100%; height: auto; }
.pn-work-title { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 64px; padding: 44px 24px 56px; }
.pn-work-title > :first-child { flex: 3 1 420px; min-width: 0; }
.pn-work-title > :last-child { flex: 2 1 320px; min-width: 0; }
.pn-work-genre { margin: 0 0 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--work-accent); }
.article .pn-work-title h1 { margin: 0 0 18px; font-family: var(--pn-min); font-weight: 600; font-size: clamp(32px, 4vw, 52px); line-height: 1.4; letter-spacing: .08em; color: #fff; }
.pn-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pn-links a { flex: 1 1 150px; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 16px; box-sizing: border-box; border: 1px solid var(--work-sub); font-weight: 500; text-decoration: none; text-align: center; line-height: 1.4; }
.pn-links a.is-main { background: var(--work-accent); border-color: var(--work-accent); color: #1A1440; font-weight: 700; }
.pn-links a:hover { opacity: .85; }
.pn-work-nav { background: var(--pn-white); border-bottom: 1px solid var(--pn-line2); }
.pn-work-nav .pn-wrap { display: flex; flex-wrap: wrap; gap: 0 32px; font-size: 14px; font-weight: 500; }
.pn-work-nav a { display: inline-flex; align-items: center; min-height: 52px; text-decoration: none; color: var(--pn-ink); }
.pn-work .pn-eyebrow { color: var(--work); }
.article .pn-work h2.pn-h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 32px; }
.article .pn-work h3 { font-size: 18px; font-weight: 700; margin: 0 0 12px; line-height: 1.6; }
.pn-chara { display: flex; flex-wrap: wrap; gap: 32px 20px; }
.pn-chara > * { flex: 1 1 160px; max-width: 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pn-chara img { width: 100%; height: auto; margin-bottom: 10px; }
.pn-chara b { font-weight: 700; line-height: 1.5; }
.pn-chara span, .pn-chara a { font-size: 13px; color: var(--pn-sub); }
.pn-cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pn-line); }
.pn-cast li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--pn-line); margin: 0; line-height: 1.6; }
.pn-cast b { font-weight: 700; font-size: 15px; }
.pn-cast span, .pn-cast a { font-size: 13px; color: var(--pn-sub); }
.pn-prods { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.pn-prods > * { flex: 1 1 380px; min-width: 0; }
.pn-dl { display: grid; grid-template-columns: minmax(80px, 130px) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--pn-line); font-size: 15px; }
.pn-dl dt, .pn-dl dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--pn-line); }
.pn-dl dt { color: var(--pn-sub); font-weight: 400; }
.pn-work .pn-btn { background: var(--work); }
.pn-work .pn-btn:hover { opacity: .88; }
.pn-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; margin: 0 0 20px; }
.pn-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.pn-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pn-gallery img { width: 100%; height: auto; display: block; }
.pn-work a:not(.pn-btn):not([class]) { color: var(--pn-accent); text-underline-offset: 3px; }
.pn-work-hero a:not([class]) { color: #fff; }

/* 作品ページのリンクの色（下の「class の無いリンクは青緑」より強くする） */
.pn-work .pn-work-hero .pn-crumb a, .pn-work .pn-work-hero .pn-crumb span { color: var(--work-sub); }
.pn-work .pn-work-hero .pn-links a { color: #fff; border-color: var(--work-sub); }
.pn-work .pn-work-hero a:not([class]) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pn-work .pn-sec .pn-links a { color: var(--pn-ink); border-color: var(--pn-ink); }
.pn-work .pn-links a.is-main, .pn-work .pn-work-hero .pn-links a.is-main, .pn-work .pn-sec .pn-links a.is-main { color: #1A1440; border-color: var(--work-accent); }
.pn-work .pn-work-nav a { color: var(--pn-ink); }
.pn-work .pn-work-nav a:hover { color: var(--work); }
/* 作品ページの札は数が半端でも幅がそろうように格子で並べる */
.pn-work .pn-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pn-work .pn-card__name { font-size: 17px; }

/* 作品ページの細かい部品 */
/* 文章だけの節（pn-narrow）も、左端をほかの節とそろえる（幅だけ読みやすい長さに抑える） */
.pn-work .pn-narrow { max-width: 1200px; }
.pn-work .pn-narrow > * { max-width: 820px; }
.pn-work .pn-narrow > .pn-embed, .pn-work .pn-narrow > .pn-cards, .pn-work .pn-narrow > .pn-chara, .pn-work .pn-narrow > .pn-gallery, .pn-work .pn-narrow > .pn-prods { max-width: none; }
/* ニコニコのチャンネルの小さな部品は元の大きさで */
.pn-nico-thumb { display: block; width: 312px; height: 176px; max-width: 100%; border: 1px solid var(--pn-line2); margin: 0 0 20px; }
.article .pn-work * + h2.pn-h2 { margin-top: 64px; }
.article .pn-work h2.pn-h2 + h3, .article .pn-work * + h3 { margin-top: 32px; }
.pn-work iframe { max-width: 100%; }
.pn-widgets { display: flex; flex-wrap: wrap; gap: 16px; }
.pn-work ol, .pn-work ul:not([class]) { margin: 0 0 20px; padding-left: 1.5em; }
.pn-work li { margin: 0; }
.pn-prods img, .pn-work .pn-narrow img, .pn-work .pn-wrap > img { max-width: 100%; height: auto; }
.pn-work audio { width: 100%; max-width: 420px; display: block; }
.pn-work .pn-card__img { height: auto; min-height: 200px; padding: 16px; box-sizing: border-box; }
.pn-work .pn-card__img img { max-width: 100%; max-height: 300px; }
.pn-work .pn-sec > .pn-wrap > p, .pn-work .pn-sec > .pn-narrow > p { max-width: 820px; }

/* ---------- お知らせの一覧（投稿の一覧のページ） ---------- */
.pn-layout-list .main { max-width: 868px; margin-left: auto !important; margin-right: auto !important; padding: 72px 24px 104px !important; box-sizing: border-box; }
.pn-layout-list .list-title, .pn-layout-list .archive-title { font-family: var(--pn-min); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: .08em; margin: 0 0 48px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--pn-line); background: none; text-align: left; }
.pn-list-title { font-family: var(--pn-min); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.5; letter-spacing: .08em; margin: 0 0 48px; padding: 0 0 24px; }
.pn-layout-list .list { display: block; border-top: 1px solid var(--pn-line); margin: 0; }
.pn-layout-list .entry-card-wrap { display: block; margin: 0; padding: 20px 0; border: 0; border-bottom: 1px solid var(--pn-line); border-radius: 0; background: transparent; box-shadow: none; text-decoration: none; color: var(--pn-ink); }
.pn-layout-list .entry-card-wrap:hover { background: transparent; }
.pn-layout-list .entry-card-thumb, .pn-layout-list .entry-card-snippet, .pn-layout-list .post-update, .pn-layout-list .e-card-info > :not(.post-date), .pn-layout-list .cat-label { display: none; }
.pn-layout-list .entry-card { display: block; }
.pn-layout-list .entry-card-content { margin: 0; padding: 0; display: flex; flex-wrap: wrap; flex-direction: row-reverse; justify-content: flex-end; gap: 4px 32px; }
.pn-layout-list .entry-card-title { flex: 1 1 280px; font-size: 16px; font-weight: 400; line-height: 1.9; margin: 0; max-height: none; }
.pn-layout-list .entry-card-meta { position: static; flex: 0 0 110px; font-size: 14px; color: var(--pn-sub); }
.pn-layout-list .e-card-info { justify-content: flex-start; }
.pn-layout-list .post-date { margin: 0; padding: 0; font-size: 14px; }
.pn-layout-list .post-date .fa { display: none; }

/* ---------- 問い合わせフォーム（Contact Form 7） ---------- */
.wpcf7 form p { margin: 0 0 24px; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 700; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 select, .wpcf7 textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; box-sizing: border-box; border: 1px solid var(--pn-line); border-radius: 0; background: var(--pn-white); font-size: 16px; font-family: inherit; color: var(--pn-ink); }
.wpcf7 textarea { min-height: 200px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 2px solid var(--pn-accent); outline-offset: 1px; }
.wpcf7 .wpcf7-acceptance label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; font-size: 15px; }
.wpcf7 .wpcf7-acceptance input { width: 20px; height: 20px; margin: 0; }
.wpcf7 input[type="submit"] { min-height: 52px; padding: 0 48px; border: 0; border-radius: 0; background: var(--pn-accent); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .08em; cursor: pointer; width: auto; }
.wpcf7 input[type="submit"]:hover { background: #0B565D; }
.pn-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pn-req { margin-left: 8px; font-size: 12px; font-weight: 400; color: #A8442F; }

/* ---------- 受付中の訴求（inc/events.php が出す） ---------- */
.pn-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; min-height: 44px; padding: 6px 16px; box-sizing: border-box; background: var(--pn-accent); color: #fff !important; font-size: 14px; line-height: 1.5; text-decoration: none; }
.pn-bar:hover { background: #0B565D; color: #fff; }
.pn-bar__tag { flex: none; padding: 1px 8px; background: #fff; color: var(--pn-accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.pn-bar__text { font-weight: 700; }
.pn-bar__more { text-decoration: underline; text-underline-offset: 3px; }
.pn-open { background: var(--pn-white); border-bottom: 1px solid var(--pn-line2); padding: 40px 0; }
.pn-open__list { display: flex; flex-direction: column; gap: 20px; }
.pn-open__item { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; text-decoration: none; color: var(--pn-ink); }
.pn-open__item img { flex: 0 0 240px; width: 240px; height: 150px; object-fit: cover; }
.pn-open__body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pn-open__date { font-size: 14px; font-weight: 700; color: var(--pn-accent); letter-spacing: .04em; }
.pn-open__name { font-family: var(--pn-min); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: .06em; line-height: 1.5; }
.pn-open__meta { font-size: 14px; color: var(--pn-sub); }
.pn-open__item .pn-btn { flex: none; }
.pn-open__item:hover .pn-open__name { color: var(--pn-accent); }
.pn-sticky { display: none; }

/* ---------- 写真の拡大 ---------- */
.pn-zoom { cursor: zoom-in; }
.pn-zoom:focus-visible { outline: 2px solid var(--pn-accent); outline-offset: 2px; }
.pn-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 28, 30, .94); color: #fff; }
.pn-lb::backdrop { background: rgba(18, 28, 30, .6); }
.pn-lb[open] { display: flex; align-items: center; justify-content: center; }
.pn-lb figure { margin: 0; padding: 56px 64px 24px; box-sizing: border-box; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.pn-lb figure img { max-width: 100%; max-height: calc(100% - 44px); width: auto; height: auto; object-fit: contain; }
.pn-lb figcaption { font-size: 13px; line-height: 1.6; color: #D5D9D8; text-align: center; }
.pn-lb button { position: absolute; width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.pn-lb button:hover { background: rgba(255, 255, 255, .28); }
.pn-lb__close { top: 8px; right: 8px; }
.pn-lb__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.pn-lb__next { right: 8px; top: 50%; transform: translateY(-50%); }
.pn-lb--single .pn-lb__prev, .pn-lb--single .pn-lb__next { display: none; }

/* ---------- スマホのメニュー（ボタンで開閉・site.js が html に pn-js-nav を付けたときだけ） ---------- */
.pn-menu-btn { display: none; }

/* ---------- 幅の狭い画面 ---------- */
@media (max-width: 834px) {
  .pn-sec { padding: 64px 0; }
  .pn-hero { min-height: 520px; }
  .pn-hero--s { min-height: 360px; }
  .pn-hero__in { padding: 56px 24px 48px; }
  .pn-hero--grad::after { background: linear-gradient(0deg, rgba(14,22,24,.82) 0%, rgba(14,22,24,.56) 55%, rgba(14,22,24,.18) 100%); }
  .article .pn-hero__title { font-size: clamp(22px, 7vw, 30px); } /* 390px 幅で「ここにしかない体験と、」が 1 行に収まる大きさ（30px だと「と、」だけ次の行に落ちた） */
  .pn-features { gap: 64px; }
  .pn-feature__img img, .pn-tile img { height: 280px; }
  .pn-strip img { flex-basis: 140px; height: 180px; }
  .pn-box { padding: 28px 24px; }
  .pn-apply { padding: 32px 20px; }
  .pn-flow > li img { height: 200px; }
  .pn-footer { padding: 48px 0 24px; }
  .pn-footer__in { gap: 16px 32px; }
  .header-container-in { padding: 8px 16px; }
  .navi-in > ul { gap: 0 18px; }
  .pn-table th { width: 6.5em; padding-right: 12px; white-space: normal; }
  /* メニューは 1 段（ロゴ＋ボタン）にたたむ */
  .pn-js-nav .header-container-in { flex-direction: row !important; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .pn-js-nav .header-container-in .header, .pn-js-nav #header { flex: 1 1 0; width: auto !important; min-width: 0; }
  .pn-js-nav .logo, .pn-js-nav .logo-header { text-align: left; justify-content: flex-start; }
  .pn-js-nav .logo-header .site-name-text { font-size: 16px; }
  .pn-js-nav .pn-menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 12px; margin: 0 -12px 0 0; border: 0; background: transparent; cursor: pointer; }
  .pn-js-nav .pn-menu-btn span { display: block; width: 24px; height: 2px; background: var(--pn-ink); transition: transform .2s, opacity .2s; }
  .pn-nav-open .pn-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pn-nav-open .pn-menu-btn span:nth-child(2) { opacity: 0; }
  .pn-nav-open .pn-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .pn-js-nav .navi { display: none; flex: 1 0 100%; width: 100% !important; }
  .pn-nav-open .navi { display: block; }
  .pn-js-nav .navi-in > ul { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 4px 0 12px; border-top: 1px solid var(--pn-line); }
  .pn-js-nav .navi-in > ul > li { width: 100%; border-bottom: 1px solid var(--pn-line2); }
  .pn-js-nav .navi-in a, .pn-js-nav .navi-in > ul > li > a { display: flex; justify-content: flex-start; width: 100%; min-height: 48px; font-size: 15px; text-align: left; }
  .pn-js-nav .navi-in .caption-wrap { justify-content: flex-start; text-align: left; }
  .pn-js-nav .navi-in .current-menu-item > a, .pn-js-nav .navi-in .current_page_item > a { box-shadow: none; color: var(--pn-accent); }
  /* 受付中 */
  .pn-bar { justify-content: flex-start; font-size: 13px; }
  .pn-bar__more { display: none; }
  .pn-open { padding: 28px 0; }
  .pn-open__item img { flex-basis: 100%; width: 100%; height: 180px; }
  .pn-open__item .pn-btn { width: 100%; }
  .pn-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 241, 234, .96); border-top: 1px solid var(--pn-line); }
  .pn-sticky .pn-btn { width: 100%; min-height: 48px; }
  .pn-has-sticky .pn-footer { padding-bottom: 96px; }
  .pn-has-sticky .go-to-top { bottom: 84px; }
  .pn-lb figure { padding: 56px 8px 16px; }
  .pn-lb__prev, .pn-lb__next { top: auto; bottom: 8px; transform: none; }
}

/* よくある質問（[pn_faq]）・開催レポート（投稿の写真の並び・LP の一覧） */
.pn-faq { margin: 0; border-top: 1px solid var(--pn-line); }
.pn-faq > div { padding: 20px 0; border-bottom: 1px solid var(--pn-line); }
.pn-faq dt { font-weight: 600; font-size: 16px; line-height: 1.7; margin: 0 0 6px; }
.pn-faq dd { margin: 0; font-size: 15px; line-height: 1.9; color: var(--pn-sub); }
.pn-reports { margin: 0 0 40px; }
.pn-reports .pn-eyebrow { margin-bottom: 8px; }
.pn-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; margin: 32px 0; }
.pn-figs figure { margin: 0; }
.pn-figs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; cursor: zoom-in; }
.pn-figs figcaption { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--pn-sub); text-align: left; }
@media (max-width: 600px) { .pn-figs { grid-template-columns: 1fr; } }

/* 旅の LP の「訪ねた場所」の地図（[pn_route_map]） */
.pn-route__map { width: 100%; aspect-ratio: 16 / 10; max-height: 460px; background: #E7E4DC; z-index: 0; }
.pn-route__map .leaflet-tile-pane { filter: saturate(0.85); }
.pn-pin span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pn-accent); color: #fff; font-size: 14px; font-weight: 600; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.pn-route__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; counter-reset: none; }
.pn-route__list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; cursor: pointer; }
.pn-route__list li::before { content: none; }
.pn-route__no { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pn-accent); color: #fff; font-size: 13px; font-weight: 600; margin-top: 2px; }
.pn-route__list b { display: block; font-size: 15px; font-weight: 600; line-height: 1.6; }
.pn-route__list li > span:last-child > span { display: block; font-size: 13px; line-height: 1.7; color: var(--pn-sub); }
.pn-route .leaflet-popup-content { font-size: 13px; line-height: 1.7; margin: 10px 14px; }
@media (max-width: 600px) { .pn-route__list { grid-template-columns: 1fr; } .pn-route__map { aspect-ratio: 4 / 3; } }

.pn-small { font-size: 13px; line-height: 1.8; color: var(--pn-sub); }
