/* ===============================================================
   pblk-patterns.css v1.1
   ロイテム ホームページ ブロックの見せ方（見出し・外枠・説明リスト・動き）
   使う色はテーマの変数（--lt-*）だけ。初期値（0・空）のclassにはルールを書かない
   読み込み：style.css の直後（_headertop_pb.php）。#386
   =============================================================== */

/* ---------- 見出しレベル（共通） ---------- */
.pblk-info > hgroup > h3.pblk-title,
.pblk-info > hgroup > p.pblk-title { font-size: 26px; font-weight: bold; margin: 0; }
@media screen and (max-width: 767px) {
  .pblk-info > hgroup > h3.pblk-title,
  .pblk-info > hgroup > p.pblk-title { font-size: 21px; }
}

/* アクセント色（線・丸・番号）。ボタン色は配色パターンによって薄くなるので、テーマの第3色を元にする
   c2・ページ最下部（背景が第3色）と背景写真敷きでは、文字色側をアクセントにする */
.pblk { --pb-accent: var(--lt-tertiary-bg); --pb-on-accent: var(--lt-tertiary-color, #fff); }
.pblk-c2, .pblk-c101 { --pb-accent: var(--lt-content-color); --pb-on-accent: var(--lt-tertiary-bg); }
.pblk-bs-4 { --pb-accent: #fff; --pb-on-accent: #333; }

/* ---------- 見出しデザイン（heading_style） ---------- */
/* 1：下線 */
.pblk-hs-1 .pblk-info > hgroup { align-items: center; }
.pblk-hs-1 .pblk-title { white-space: normal; position: relative; padding-bottom: 14px; }
.pblk-hs-1 .pblk-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 48px; height: 3px; margin-left: -24px; border-radius: 2px; background: var(--pb-accent); }

/* 2：左ライン（hgroup の style="text-align:center" を上書き） */
.pblk-hs-2 .pblk-info > hgroup { text-align: left !important; align-items: flex-start; border-left: 5px solid var(--pb-accent); padding-left: 16px; }
.pblk-hs-2 .pblk-title { white-space: normal; }

/* 3：英字を大きく（サブ見出しを背景に大きく敷く） */
.pblk-hs-3 .pblk-info > hgroup { position: relative; isolation: isolate; flex-direction: column; align-items: center; padding-top: 34px; }
.pblk-hs-3 .pblk-info > hgroup > p { position: absolute; top: -6px; left: 0; right: 0; z-index: -1; font-size: clamp(44px, 9vw, 88px); line-height: 1; letter-spacing: .06em; text-transform: uppercase; opacity: .12; white-space: nowrap; overflow: hidden; }
.pblk-hs-3 .pblk-title { white-space: normal; }

/* 4：両側に線 */
.pblk-hs-4 .pblk-info > hgroup { align-items: center; }
.pblk-hs-4 .pblk-title { display: flex; align-items: center; gap: 16px; white-space: normal; }
.pblk-hs-4 .pblk-title::before,
.pblk-hs-4 .pblk-title::after { content: ""; flex: 1 1 0; min-width: 24px; max-width: 80px; height: 1px; background: currentColor; opacity: .5; }

/* ---------- デザインパターン：外枠（block_style） ---------- */
/* 1：カード型（中身を白い面に載せる） */
.pblk-bs-1 > .pblk-content { --lt-content-color: var(--lt-part-color); --lt-link-color: var(--lt-part-color); color: var(--lt-part-color); background: var(--lt-part-bg); border-radius: 16px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 8px 24px rgb(0 0 0 / .08); }

/* 2：角丸の帯（左右に余白をとり、背景ごと角丸に） */
.pblk-bs-2 { width: calc(100% - 2 * max(16px, 4vw)); margin: 24px auto; border-radius: 24px; }

/* 3：斜めの区切り */
.pblk-bs-3 { clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw)); padding-top: calc(40px + 4vw); padding-bottom: calc(40px + 4vw); }

/* 4：背景写真敷き（ブロックの背景画像を使う。画像がなければテーマの濃い色） */
.pblk-bs-4 { --lt-content-color: #fff; --lt-link-color: #fff; color: #fff; background-color: var(--lt-tertiary-bg); background-position: center; background-attachment: fixed; }
.pblk-bs-4 > .pblk-content { background: rgb(0 0 0 / .38); border-radius: 12px; padding: clamp(20px, 4vw, 40px); }
@media (max-width: 1023px), (hover: none) { .pblk-bs-4 { background-attachment: scroll; } }

/* ---------- デザインパターン：説明リストの並べ方（page_parts.layout） ---------- */
/* 空 = 左右交互（現行のHTMLのまま。ここには何も書かない） */
.dl-list-card3 .dl-list-title, .dl-list-card2 .dl-list-title,
.dl-list-number .dl-list-title, .dl-list-step .dl-list-title,
.dl-list-simple .dl-list-title { font-size: 19px; font-weight: bold; line-height: 1.5; margin: 0 0 8px; }
.dl-list-card3 .dl-list-text p, .dl-list-card2 .dl-list-text p,
.dl-list-number .dl-list-text p, .dl-list-step .dl-list-text p,
.dl-list-simple .dl-list-text p { margin: 0 0 .6em; }

/* card3 / card2：カード */
.dl-list-card3, .dl-list-card2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .dl-list-card2 { grid-template-columns: repeat(2, 1fr); } .dl-list-card3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dl-list-card3 { grid-template-columns: repeat(3, 1fr); } }
.dl-list-ul.dl-list-card3 > li:nth-child(n),
.dl-list-ul.dl-list-card2 > li:nth-child(n) { display: flex; flex-direction: column; justify-content: flex-start; background: var(--lt-part-bg); color: var(--lt-part-color); border: 1px solid rgb(0 0 0 / .06); border-radius: 12px; overflow: hidden; }
.dl-list-card3 .dl-list-pic, .dl-list-card2 .dl-list-pic { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.dl-list-card3 .dl-list-pic img, .dl-list-card2 .dl-list-pic img { width: 100%; height: 100%; object-fit: cover; }
.dl-list-card3 .dl-list-content, .dl-list-card2 .dl-list-content { width: auto; padding: 16px 20px 20px; }

/* number：番号つき */
.dl-list-number { counter-reset: dl; display: grid; gap: 0; }
.dl-list-ul.dl-list-number > li:nth-child(n) { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; counter-increment: dl; padding: 22px 0; border-bottom: 1px solid rgb(127 127 127 / .3); }
.dl-list-number > li::before { content: counter(dl, decimal-leading-zero); font-size: 42px; font-weight: bold; line-height: 1; color: var(--pb-accent); font-variant-numeric: tabular-nums; }
.dl-list-number .dl-list-pic { display: none; }
.dl-list-number .dl-list-content { width: auto; padding: 0; }

/* step：ステップ（ご利用の流れ） */
.dl-list-step { counter-reset: dl; }
.dl-list-ul.dl-list-step > li:nth-child(n) { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; align-items: start; counter-increment: dl; position: relative; padding-bottom: 32px; }
.dl-list-step > li::before { content: "STEP\A" counter(dl); white-space: pre; grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; font-weight: bold; line-height: 1.25; letter-spacing: .05em; color: var(--pb-on-accent); background: var(--pb-accent); position: relative; z-index: 1; }
.dl-list-step > li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--pb-accent); opacity: .35; }
.dl-list-step .dl-list-content { grid-column: 2; grid-row: 1; width: auto; padding: 8px 0 0; }
.dl-list-step .dl-list-pic { grid-column: 2; grid-row: 2; width: auto; max-width: 320px; margin-top: 8px; border-radius: 8px; overflow: hidden; }

/* simple：文字のみ */
.dl-list-simple .dl-list-pic { display: none; }
.dl-list-ul.dl-list-simple > li:nth-child(n) { display: block; padding: 20px 0; border-bottom: 1px solid rgb(127 127 127 / .3); }
.dl-list-simple .dl-list-content { width: auto; padding: 0; }

/* ---------- 動き（animation）。html.lt-anim は pblk-anim.js が付ける ---------- */
.pblk[class*="pblk-anim-"] { transition: opacity 1.4s ease-out, transform 1.4s cubic-bezier(.22, 1, .36, 1); }
html.lt-anim .pblk-anim-fade:not(.is-inview) { opacity: 0; }
html.lt-anim .pblk-anim-up:not(.is-inview) { opacity: 0; transform: translateY(50px); }
html.lt-anim .pblk-anim-zoom:not(.is-inview) { opacity: 0; transform: scale(.94); }

/* stagger：見出し → 中身の順に出す */
.pblk-anim-stagger .pblk-info,
.pblk-anim-stagger .pprt:not(:has(.dl-list-ul)),
.pblk-anim-stagger .dl-list-ul > li { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.lt-anim .pblk-anim-stagger:not(.is-inview) .pblk-info,
html.lt-anim .pblk-anim-stagger:not(.is-inview) .pprt:not(:has(.dl-list-ul)),
html.lt-anim .pblk-anim-stagger:not(.is-inview) .dl-list-ul > li { opacity: 0; transform: translateY(24px); }
.pblk-anim-stagger .dl-list-ul > li:nth-child(1), .pblk-anim-stagger .pprt:nth-child(1) { transition-delay: .15s; }
.pblk-anim-stagger .dl-list-ul > li:nth-child(2), .pblk-anim-stagger .pprt:nth-child(2) { transition-delay: .3s; }
.pblk-anim-stagger .dl-list-ul > li:nth-child(3), .pblk-anim-stagger .pprt:nth-child(3) { transition-delay: .45s; }
.pblk-anim-stagger .dl-list-ul > li:nth-child(4), .pblk-anim-stagger .pprt:nth-child(4) { transition-delay: .6s; }
.pblk-anim-stagger .dl-list-ul > li:nth-child(n+5) { transition-delay: .75s; }

@media (prefers-reduced-motion: reduce) {
  html.lt-anim .pblk[class*="pblk-anim-"],
  html.lt-anim .pblk[class*="pblk-anim-"] * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- 連絡先情報の見せ方（#409） ---- */
.contact-info .ci-icon { margin-right: .4em; color: var(--pb-accent, var(--lt-tertiary-bg)); width: 1.2em; text-align: center; }
.contact-info--icons .info li { border-bottom: 0; padding: 8px 0; }
.contact-info--icons .info dl { float: none; margin: 0 0 6px; display: grid; grid-template-columns: 9em 1fr; gap: 4px 12px; align-items: start; }
.contact-info--icons .info dt { float: none; font-weight: bold; }
.contact-info--icons .info dd { margin-left: 0; }
.contact-info--cards .info ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-info--cards .info li { border-bottom: 0; padding: 0; flex: 1 1 220px; max-width: 320px; }
.contact-info--cards .info dl { float: none; margin: 0 !important; padding: 18px 16px; background: var(--lt-part-bg, #fff); color: var(--lt-part-color, #333); border-radius: var(--lt-r-card, 12px); box-shadow: 0 4px 14px rgb(0 0 0 / .06); text-align: center; height: 100%; box-sizing: border-box; }
.contact-info--cards .info dt { float: none; font-size: 13px; font-weight: bold; letter-spacing: .08em; margin-bottom: 8px; text-align: center; }
.contact-info--cards .info dt .ci-icon { display: block; margin: 0 auto 8px; font-size: 26px; width: auto; }
.contact-info--cards .info dd { margin-left: 0; text-align: center; }
.contact-info--strip .info ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; border-top: 1px solid rgb(0 0 0 / .08); border-bottom: 1px solid rgb(0 0 0 / .08); }
.contact-info--strip .info li { border-bottom: 0; padding: 14px 22px; border-right: 1px solid rgb(0 0 0 / .08); }
.contact-info--strip .info li:last-child { border-right: 0; }
.contact-info--strip .info dl { float: none; margin: 0 !important; display: flex; align-items: center; gap: 10px; }
.contact-info--strip .info dt { float: none; font-size: 0; }
.contact-info--strip .info dt .ci-icon { font-size: 18px; margin: 0; }
.contact-info--strip .info dd { margin-left: 0; }
.contact-info--map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; text-align: left; align-items: start; }
.contact-info--map .logo { grid-column: 1 / -1; text-align: center; }
.contact-info--map .info li { border-bottom: 0; padding: 8px 0; }
.contact-info--map .info dl { float: none; margin: 0 0 6px; display: grid; grid-template-columns: 8em 1fr; gap: 4px 12px; }
.contact-info--map .info dt { float: none; font-weight: bold; }
.contact-info--map .info dd { margin-left: 0; }
.contact-info--map .ci-map { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--lt-r-card, 12px); overflow: hidden; background: #eee; }
.contact-info--map .ci-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contact-info-content:has(.contact-info--strip), .contact-info-content:has(.contact-info--map), .contact-info-content:has(.contact-info--cards) { width: 100% !important; max-width: 1040px; }
.contact-info--icons .info { display: inline-block; width: auto; max-width: 100%; text-align: left; }
@media screen and (max-width: 767px) {
  .contact-info--map { grid-template-columns: 1fr; }
  .contact-info--icons .info dl, .contact-info--map .info dl { grid-template-columns: 7em 1fr; }
  .contact-info--strip .info li { padding: 10px 14px; }
}

/* ---- カード型スライダー（スタッフ・メニュー・クチコミ・ブログ）の見せ方（#409） ---- */
/* 写真を丸く */
.lt-cards--round .card .photo-pb, .lt-cards--round .card .mphoto-pb, .lt-cards--round .card .bphoto-pb { width: 140px; height: 140px; min-height: 0; border-radius: 50%; overflow: hidden; margin: 6px auto 14px; }
.lt-cards--round .card .photo-pb img, .lt-cards--round .card .mphoto-pb img, .lt-cards--round .card .bphoto-pb img { width: 100%; height: 100%; object-fit: cover; }
.lt-cards--round .card .gphoto { border-radius: 50%; }
.lt-cards--round .card { text-align: center; align-items: center; }
.lt-cards--round .card .sname, .lt-cards--round .card .mname, .lt-cards--round .card .title { text-align: center; }
/* 横長（写真を左） */
.lt-cards--wide .card > .photoname { flex-direction: row; align-items: center; gap: 14px; }
.lt-cards--wide .card .photo-pb, .lt-cards--wide .card .mphoto-pb, .lt-cards--wide .card .bphoto-pb { flex: 0 0 42%; width: 42%; min-height: 0; margin: 0; aspect-ratio: 1; border-radius: var(--lt-r-img, 8px); overflow: hidden; }
.lt-cards--wide .card .photo-pb img, .lt-cards--wide .card .mphoto-pb img, .lt-cards--wide .card .bphoto-pb img { width: 100%; height: 100%; object-fit: cover; }
.lt-cards--wide .card .bphoto-pb { float: left; margin: 0 14px 6px 0; }
.lt-cards--wide .card .content, .lt-cards--wide .card .gcontent { font-size: 13px; }
/* 枠なし */
html[data-lt-theme] .lt-cards--plain .splide__slide.card, .lt-cards--plain .card { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 8px 6px !important; }
.lt-cards--plain .card .photo-pb, .lt-cards--plain .card .mphoto-pb, .lt-cards--plain .card .bphoto-pb { border-radius: var(--lt-r-img, 10px); overflow: hidden; width: 100%; }
.lt-cards--plain .card .photo-pb img, .lt-cards--plain .card .mphoto-pb img, .lt-cards--plain .card .bphoto-pb img { width: 100%; height: 200px; object-fit: cover; }
/* 並べて止める：スライダーを動かさず、グリッドで全部出す */
.lt-cards--grid .splide { visibility: visible; }
.lt-cards--grid .splide__track { overflow: visible; }
.lt-cards--grid .splide__list { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; transform: none !important; width: auto !important; }
.lt-cards--grid .splide__slide { width: auto !important; margin: 0 !important; }
.lt-cards--grid .splide__arrows { display: none; }
@media screen and (max-width: 767px) {
  .lt-cards--grid .splide__list { grid-template-columns: 1fr; gap: 12px; }
  .lt-cards--wide .card .photo-pb, .lt-cards--wide .card .mphoto-pb, .lt-cards--wide .card .bphoto-pb { flex-basis: 38%; width: 38%; }
}

/* ---- 新着一覧の見せ方（#409） ---- */
.news--cards .newsIn ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.news--cards .newsIn li { display: flex; flex-direction: column; gap: 8px; margin: 0 !important; padding: 18px 16px !important; background: var(--lt-part-bg, #fff); color: var(--lt-part-color, #333); border: 0 !important; border-radius: var(--lt-r-card, 12px); box-shadow: 0 4px 14px rgb(0 0 0 / .06); }
.news--cards .newsIn li .image { margin: 0; }
.news--cards .newsIn li .image img { width: 44px !important; height: 44px !important; object-fit: cover; border-radius: 50%; }
.news--cards .newsIn dl { margin: 0; }
.news--cards .newsIn dt { font-size: 12px; letter-spacing: .04em; margin-bottom: 6px; }
.news--cards .newsIn dd { margin: 0; font-weight: 600; line-height: 1.5; }
.news--cards .newsIn dd a { color: inherit; }
.news--cards .newsIn dt { color: inherit; opacity: .55; }
.news--ticker .newsIn ul { list-style: none; margin: 0; padding: 0; }
.news--ticker .newsIn li { display: flex; align-items: center; gap: 14px; margin: 0 !important; padding: 12px 4px !important; border: 0 !important; border-bottom: 1px solid rgb(0 0 0 / .08) !important; }
.news--ticker .newsIn li .image { display: none; }
.news--ticker .newsIn dl { display: flex; align-items: center; gap: 14px; margin: 0; flex-wrap: wrap; }
.news--ticker .newsIn dt { flex: 0 0 auto; font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--pb-accent, var(--lt-tertiary-bg)); color: var(--pb-on-accent, var(--lt-tertiary-color, #fff)); letter-spacing: .04em; }
.news--ticker .newsIn dd { margin: 0; }
.news--timeline .newsIn ul { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid currentColor; }
.news--timeline .newsIn { opacity: 1; }
.news--timeline .newsIn ul { border-left-color: color-mix(in srgb, currentColor 25%, transparent); }
.news--timeline .newsIn li { position: relative; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; }
.news--timeline .newsIn li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--pb-accent, var(--lt-tertiary-bg)); box-shadow: 0 0 0 3px var(--lt-content-bg, #fff); }
.news--timeline .newsIn li .image { display: none; }
.news--timeline .newsIn dl { margin: 0; }
.news--timeline .newsIn dt { font-size: 12px; opacity: .6; margin-bottom: 4px; }
.news--timeline .newsIn dd { margin: 0; font-weight: 600; }
@media screen and (max-width: 767px) { .news--cards .newsIn ul { grid-template-columns: 1fr; } }
