/* WordPress なしの複製用：動かない部品（サイト内検索）を隠す */
.c-searchForm, .p-searchModal, [data-onclick="toggleSearch"], .wp-block-search, .widget_search { display: none !important; }
.c-iconList__item.-rss { display: none !important; }

/* ── アクセシビリティ（WCAG 2.2）のための足し分 ── */
/* 本文へ移動（キーボードで最初に Tab を押すと出る） */
.iitoko-skip { position: absolute; left: 8px; top: -100px; z-index: 100000; padding: .8em 1.2em; background: #000; color: #fff !important; font-weight: 700; text-decoration: underline; border-radius: 0 0 4px 4px; }
.iitoko-skip:focus { top: 0; }
/* キーボードで選んでいる場所を、はっきり見せる */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #1a1a1a !important; outline-offset: 2px !important; box-shadow: 0 0 0 5px #fff !important; }
/* 選んだ場所が、上に固定されたヘッダーの下に隠れないようにする */
html { scroll-padding-top: 120px; }
/* 本文の中のリンクは、色だけでなく下線でも分かるようにする */
.post_content a:not([class]) { text-decoration: underline; }
/* 小さなボタン・アイコンにも、押しやすい大きさ（24px 以上）を確保する */
.c-iconList__link, .c-submenuToggleBtn, .c-shareBtns__btn, .page-numbers, .c-tabList__button, .c-fixBtn, .c-iconBtn { min-width: 24px; min-height: 24px; }
/* 動く部分を止めるボタン */
.iitoko-motion-btn { display: inline-block; margin: .5em 0; padding: .4em 1em; min-height: 32px; border: 1px solid #333; border-radius: 4px; background: #fff; color: #1a1a1a; font-size: .85em; cursor: pointer; }
.iitoko-motion-wrap { text-align: right; }
/* 動きを減らす設定の人には、アニメーションを出さない */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* 画面には出さず、読み上げだけに使う文字 */
.iitoko-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 行の見出しにした左の列は、これまでの見た目（左寄せ・ふつうの太さの背景）に近づける */
.post_content table th[scope="row"] { text-align: left; }
/* トップページ：4つの楽しみ方の箇条書き */
.iitoko-points { margin: 1.5em 0 0; padding-left: 1.2em; line-height: 1.8; }
.iitoko-points li { margin-bottom: .6em; }
/* 各アクティビティのページの冒頭の一文 */
.iitoko-lead { font-size: 1.1em; line-height: 1.8; margin-bottom: 1.5em; }
/* ブログの記事の終わりの案内 */
.iitoko-cta { margin: 3em 0 2em; padding: 1.5em; border: 2px solid #0078a8; border-radius: 6px; background: #f3f8fd; text-align: center; }
.iitoko-cta p { margin: 0 0 .6em; }
.iitoko-cta__title { font-size: 1.15em; }
.iitoko-cta__links { margin-top: 1em !important; }
.iitoko-cta__links a { display: inline-block; margin: .3em .4em; padding: .5em 1.2em; min-height: 24px; border-radius: 4px; background: #0078a8; color: #fff !important; text-decoration: none; font-weight: 700; }
.iitoko-cta__links a:hover { background: #005f86; }
/* フッターの「お電話から」の枠（LINE の枠の代わり） */
.iitoko-telbox { padding: 1.5em 1.5em 1.2em; text-align: center; }
.iitoko-telbox__main { margin: .8em 0 .4em; font-weight: 700; line-height: 1.5; }
.iitoko-telbox__main a { display: inline-block; font-size: 1.8em; letter-spacing: .03em; text-decoration: none; }
.iitoko-telbox__sub { margin: 0; font-size: .9em; }

/* ── PC・タブレット・スマホの見え方をそろえる（2026-11-18） ── */
/* 文字のあいだをつめ、本文の大きさを画面の幅になめらかに合わせる（スマホ14px〜PC16px） */
html:root { --swl-letter_spacing: .02em; --swl-fz--content: clamp(14px, 3.75vw, 16px); }
/* 行の初め・終わりに置けない文字（。、や っ など）を正しく扱い、長い英数字ははみ出させない */
html body { line-break: strict; overflow-wrap: break-word; }
/* 題名・見出し・ボタンなどの短い文は、言葉の切れ目で折り返し、行の長さをそろえる */
h1, h2, h3, h4, h5, .c-pageTitle, .c-postTitle__ttl, .p-postList__title, .p-pnLinks__title,
.post_content th, .post_content dt, .post_content figcaption, .iitoko-lead, .iitoko-cta__title,
[class*="is-style-btn_"] a, .swell-block-button__link, .c-gnav .ttl, .c-listMenu a, .l-footer__nav a {
  word-break: auto-phrase; text-wrap: balance; }
/* 本文は、最後の行に1〜2文字だけ残るのを避ける */
.post_content p, .post_content li, .post_content dd, .post_content td, .p-postList__excerpt, .iitoko-cta p { text-wrap: pretty; }
/* 題名と見出しの大きさを、画面の幅になめらかに合わせる（急に変わらないように） */
html .c-postTitle__ttl { font-size: clamp(17px, 4.4vw, 24px); }
html .p-postList .c-postTitle__ttl { font-size: clamp(15px, 3.8vw, 20px); }
html .post_content h2 { font-size: clamp(17px, 4.4vw, 22px); }
html .post_content h3 { font-size: clamp(16px, 4.1vw, 20px); }
html .post_content h4 { font-size: clamp(15px, 3.9vw, 19px); }
html .-type-card .p-postList__title, html .-type-list .p-postList__title, html .-type-list2 .p-postList__title { font-size: clamp(14px, 3.6vw, 16px); }
/* PC の上のメニューは、幅がせまい画面でも1行におさまるように文字を合わせる */
html .c-gnav > .menu-item > a .ttl { font-size: clamp(13px, 1.3vw, 16px); letter-spacing: .04em; }
/* 電話番号・日付・短い項目名・ボタンは、途中で折り返さない */
a[href^="tel:"], time, .c-postTimes, .iitoko-cta__links a, .post_content .iitoko-nw { white-space: nowrap; }
/* 写真や動画は、どの画面でも幅からはみ出させない */
.post_content img, .post_content video, .post_content iframe { max-width: 100%; }
.post_content img { height: auto; }

/* ── 題名・見出しを、できるだけ1行におさめる（2026-11-18 その2） ──
   各見出しの style="--n:…" は「1行に入れるのに必要な幅（文字の大きさの何倍か）」。bin/layout-fix.py が書きこむ。
   文字の大きさ ＝ 使える幅 ÷ --n。小さくなりすぎないよう下限、PC で大きくなりすぎないよう上限を付ける。 */
:root { --iitoko-w: 92vw; }
@media (min-width: 960px) {
  :root { --iitoko-w: min(calc(100vw - 100px), 860px); }
  .-sidebar-on { --iitoko-w: min(calc(100vw - 470px), 820px); }
}
/* 記事の題名：日付を題名の上の1行にして、題名に幅をすべて使う（どの画面でも同じ並び） */
.p-articleHead.c-postTitle { flex-direction: column-reverse; align-items: flex-start; }
.p-articleHead .c-postTitle__date { display: flex; align-items: baseline; margin: 0 0 .5em; padding: 0; border-right: 0; }
html .p-articleHead .c-postTitle__date .__y, html .p-articleHead .c-postTitle__date .__md { display: inline; margin: 0; font-size: 13px; line-height: 1.4; }
.p-articleHead .c-postTitle__date .__y::after { content: "/"; }
html .p-articleHead .c-postTitle__ttl { width: 100%; }
html .p-articleHead .c-postTitle__ttl[style*="--n"] { font-size: clamp(12.5px, calc(var(--iitoko-w) / var(--n)), 24px); }
/* 本文の見出し */
html .post_content h2[style*="--n"] { font-size: clamp(13px, calc(var(--iitoko-w) / var(--n)), 22px); }
html .post_content h3[style*="--n"] { font-size: clamp(13px, calc(var(--iitoko-w) / var(--n)), 20px); }
html .post_content h4[style*="--n"] { font-size: clamp(13px, calc(var(--iitoko-w) / var(--n)), 19px); }
/* スマホのブログ一覧（1列）の題名 */
@media not all and (min-width: 600px) {
  html .-type-card.-sp-col1 .p-postList__title[style*="--n"] { font-size: clamp(12px, calc(90vw / var(--n)), 15px); }
}

/* フッターの見出し「ご予約」「お問い合わせ」（2026-11-18 に h1 から h2 にした。見た目は h1 のときと同じにする） */
html .w-beforeFooter .post_content h2.iitoko-fh {
  font-size: 2em; line-height: inherit; margin: 0 0 var(--swl-block-margin, 2em); padding: 0;
  background: none; color: inherit; position: static; z-index: auto;
}
html .w-beforeFooter .post_content h2.iitoko-fh::before,
html .w-beforeFooter .post_content h2.iitoko-fh::after { content: none; display: none; }

/* スマホ・タブレットの上の右はしの「検索ボタン」の枠（検索窓を外したあと、中身の無い色つきの四角だけが残っていた。2026-11-19 に画面で見つけた）。
   場所はそのまま空けておき（ロゴが真ん中からずれないように）、見えなくする。 */
.l-header__customBtn { visibility: hidden !important; }
