@charset "UTF-8";

/* ===================================================
  shops-common.css（店舗共通）
  「全店・全ページで使ってOK」なものだけ置く
=================================================== */

/* 共通：画像センタリング（ブロックの追加CSSクラス用） */
.img_center{
  margin: 0 auto !important;
  display: table;
}

/* 共通：枠線系のリセット（汎用ユーティリティ） */
.u-border{ border:0; }
.clear{ clear:both; }

/* reCAPTCHA非表示（意図がある場合のみ） */
.grecaptcha-badge{ visibility:hidden; }

/* “最大でも枠いっぱい”に（画像の暴れ防止） */
.entry-content img,
.post-content img{
  max-width:100%;
  width:auto;
  height:auto;
}

/* 2-3カラムの位置調整（共通にして良いなら） */
.wp-block-column{ margin-top:0 !important; }
.itemtop{ margin:0 !important; column-gap:0 !important; gap:0 !important; }

/* カルーセル（WPSAC）共通 */
.wppsac-carousel-slides:first-child{ margin-top:20px; }
h2.wppsac-post-title{
  font-size:1.5em;
  text-align:center;
  padding:1rem 2rem;
  border:0;
  background:#fff !important;
  font-weight:700 !important;
  color:#333;
}
.wppsac-sub-content{ font-size:1.4rem; }
.wppsac-wrap .wppsac-post-image{ margin:auto; }
.wppsac-post-slider h2.wppsac-post-title a,
.wppsac-post-carousel h2.wppsac-post-title a{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:16px;
  line-height:18px;
}
div.wppsac-post-date{ margin:5px; }

/* リストの疑似要素：全ページに効かせたくない場合はスコープを付けてください */
.entry-content .content ul>li:before{ content:""; }

/* エリアリスト（共通で使うなら） */
ul.area, ul.area2{ display:flex; flex-wrap:wrap; }
.area li{ width:120px; margin-top:1.2rem!important; }
.area2 li{
  font-size:0.8em;
  display:inline-block;
  width:170px;
  margin-top:1.2rem!important;
  margin-bottom:.25em;
}

/* フォーム（contact7）共通 */
.contact7{ max-width:100%; box-sizing:border-box; }
.contact7 dt{ font-weight:normal; }
.contact7 dd{ margin:0 0 10px 0; } /* background-color: は未指定だったので外した */

/* 必須/任意マーク */
.contact7 .must{ background:#FF1A00; }
.contact7 .optional{ background:#999; }
.contact7 .must,
.contact7 .optional{
  color:#FFF;
  border-radius:3px;
  font-size:0.7em;
  margin-left:10px;
  padding:5px 10px;
  letter-spacing:2px;
}

.btn_contact7{ text-align:center; }
.btn_contact7 input{
  padding:15px;
  width:70%;
  background-color:#005513;
  color:#FFF;
  font-size:1.1em;
  font-weight:bold;
  letter-spacing:0.2em;
  border:1px solid #005513;
  transition:0.3s;
}
.btn_contact7 input:hover{
  background-color:#FFF;
  color:#005513;
}

@media (min-width:768px){
  .contact7 dt{
    float:left;
    clear:left;
    width:35%;
    margin:0;
    padding:7px 10px 5px;
  }
  .contact7 dd{
    margin-left:35%;
    padding:5px 10px 5px;
  }
}

/* アコーディオン（共通） */
.area-accordion details{
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  margin:10px 0;
}
.area-accordion summary{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.area-accordion summary::-webkit-details-marker{ display:none; }
.area-accordion summary::after{ content:"＋"; font-weight:900; transition:transform .2s ease; }
.area-accordion details[open] summary::after{ content:"−"; }
.area-accordion details[open]{ box-shadow:0 6px 20px rgba(0,0,0,.06); }
.area-accordion ul{ margin:0; padding:8px 18px 16px; border-top:1px dashed #e5e7eb; }
.area-accordion li{ margin:2px 0; }

/* WPSP（WP Show Posts）共通：カード */
.wpsp-cards .wp-show-posts-inner{
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  transition:.15s;
}
.wpsp-cards .wp-show-posts-inner:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.wpsp-cards .wp-show-posts-image img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
}
.wpsp-cards .wp-show-posts-entry-title{
  font-weight:700;
  font-size:1rem;
  margin:.4rem .6rem 0;
}
.wpsp-cards .wp-show-posts-entry-summary{
  margin:.2rem .6rem .8rem;
  font-size:.92rem;
  color:#4b5563;
}
.wpsp-cards .wp-show-posts-read-more{
  margin:0 .6rem .8rem;
  display:inline-block;
  font-weight:700;
}
.wpsp-cards .wp-show-posts-entry-title a{
  display:inline-block;
  background:#fff;
  color:#111827;
  padding:6px 10px;
  border-radius:8px;
  text-decoration:none;
}
.wpsp-cards .wp-show-posts-inner:hover .wp-show-posts-entry-title a{
  background:#e5e7eb;
}

/* WPSP テーブル風 */
.wpsp-table .wp-show-posts article{
  display:grid;
  grid-template-columns:1fr 120px 90px;
  gap:12px;
  align-items:center;
  padding:12px 8px;
  border-bottom:1px solid #e5e7eb;
}
.wpsp-table .wp-show-posts-image{ display:none; }
.wpsp-table .wp-show-posts-entry-title{ margin:0; font-weight:700; }
.wpsp-table .wp-show-posts-entry-meta{ color:#6b7280; font-size:.92rem; text-align:center; }
.wpsp-table .wp-show-posts-read-more{ text-align:right; display:block; font-weight:700; }
@media (max-width:640px){
  .wpsp-table .wp-show-posts article{ grid-template-columns:1fr; }
  .wpsp-table .wp-show-posts-entry-meta,
  .wpsp-table .wp-show-posts-read-more{ text-align:left; }
}

/* 3カラム画像をグリッド化（崩れ防止） */
.column.column-3pc{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  align-items:start;
}
@media (max-width:768px){
  .column.column-3pc{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px){
  .column.column-3pc{ grid-template-columns:1fr; }
}

/* TOPヒーロー内の rc-redband を縮小（body.page-id-2 に依存しない） */
section.content section.hero .hero__content.rc-hero h2.rc-redband{
  font-size: clamp(16px, 4.0vw, 22px) !important;
  padding: 10px 8px !important;
  margin: 10px 0 12px !important;
  line-height: 1.2 !important;
}

/* 赤帯：共通（まずはスマホ基準） */
section.content section.hero .hero__content.rc-hero h2.rc-redband{
  font-size: clamp(16px, 4.0vw, 22px) !important;
  padding: 10px 8px !important;
  margin: 10px 0 12px !important;
  line-height: 1.2 !important;
}

/* PCだけ少し大きく戻す */
@media (min-width: 769px){
  section.content section.hero .hero__content.rc-hero h2.rc-redband{
    font-size: 26px !important;
    padding: 14px 12px !important;
  }
}


/* ===========================
  rc: mobile hamburger nav（整理版）
=========================== */

/* PC：ボタンもパネルも出さない */
.rc-navToggle,
#rc-mobileNav{
  display:none;
}

/* SP */
@media (max-width: 768px){

  /* 既存の横並びグローバルナビを消す（THE THOR側に合わせてどれか効けばOK） */
  nav.globalNavi,
  nav.globalNaviWrap,
  nav.globalNav{
    display:none !important;
  }

  /* ボタン表示 */
  .rc-navToggle{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 14px;
    border:1px solid #ddd;
    border-radius:12px;
    background:#fff;
    font-weight:700;
    line-height:1;
    cursor:pointer;
  }

  /* アイコン（三本線） */
  .rc-navToggle__icon{
    width:22px;
    height:2px;
    background:#111;
    position:relative;
    display:inline-block;
  }
  .rc-navToggle__icon::before,
  .rc-navToggle__icon::after{
    content:"";
    position:absolute;
    left:0;
    width:22px;
    height:2px;
    background:#111;
  }
  .rc-navToggle__icon::before{ top:-7px; }
  .rc-navToggle__icon::after{ top: 7px; }

  /* パネル土台 */
  #rc-mobileNav{
    display:block;
    margin:12px 12px 0;
    padding:10px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
  }

  /* hidden中は消す（念のため） */
  #rc-mobileNav[hidden]{
    display:none !important;
  }

  /* 中のナビ（複製された nav.globalNav 想定） */
  #rc-mobileNav ul{
    list-style:none;
    margin:0;
    padding:0;
  }

  #rc-mobileNav li{
    margin:0;
    border-top:1px solid #eef2f7;
  }
  #rc-mobileNav li:first-child{
    border-top:0;
  }

  #rc-mobileNav a{
    display:block;
    padding:14px 12px;
    color:#111;
    text-decoration:none;
    font-weight:700;
  }

  #rc-mobileNav a:hover{
    background:#f7f7f7;
  }

  /* 開いてる時に背景スクロール止める（任意） */
  html.rc-nav-open,
  html.rc-nav-open body{
    overflow:hidden;
  }

  /* 長くなったらスクロール */
  #rc-mobileNav{
    max-height:70vh;
    overflow:auto;
  }
}

/* === #rc-mobileNav 内の“元ナビCSS”を打ち消して縦並びにする（追加） === */
@media (max-width: 768px){

  /* パネル内は横スクロールさせない */
  #rc-mobileNav{ overflow-x: hidden; }

  /* ここが肝：テーマ側の flex/横並び指定を潰す */
  #rc-mobileNav nav,
  #rc-mobileNav ul,
  #rc-mobileNav li{
    display: block !important;
    float: none !important;
    width: 100% !important;
  }

  /* ul が flex になってるのを潰す */
  #rc-mobileNav ul{
    display: block !important;
    flex: none !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* a をボタンっぽく縦に並べる */
  #rc-mobileNav a{
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
  }
}

/* =========================
  記事末尾クロージング（西新涯）
========================= */
.rc-close{
  margin: 28px 0;
  padding: 16px 16px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
}
.rc-close p{ margin: 0 0 12px; }
.rc-close p:last-child{ margin-bottom: 0; }
.rc-close a{ text-decoration: underline; }

.rc-close__actions{
  list-style: none;
  padding: 0;
  margin: 12px 0 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.rc-close__btn{
  display: block;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(0,0,0,.14);
  background: #fff;
  color: #111;
}
.rc-close__btn--tel{
  background: #1fa53a; /* 緑CTA */
  border-color: rgba(0,0,0,.0);
  color: #fff;
}
.rc-close__btn--route{
  background: #111;
  border-color: rgba(0,0,0,.0);
  color: #fff;
}

@media (min-width: 700px){
  .rc-close__actions{
    grid-template-columns: 1fr 1fr;
  }
}

.rc-close__hours small,
.rc-close__note small{
  color: rgba(0,0,0,.70);
}

/* =========================
  記事末尾クロージング：ボタン可読性＆高さ揃え
========================= */

/* ボタン内リンクの“青＋下線”を潰す */
.rc-close__btn{
  color: #fff !important;
  text-decoration: none !important;
}
.rc-close__btn:visited{
  color: #fff !important;
}

/* ボタンの中の文字がリンク扱いで青くなるケースの保険 */
.rc-close__btn *{
  color: inherit !important;
  text-decoration: none !important;
}

/* 高さズレ対策：同じ高さに揃える */
.rc-close__actions{
  align-items: stretch;
}
.rc-close__btn{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  line-height: 1.2;
  white-space: normal;
}

/* 既存の色指定をより強く（テーマに負けないように） */
.rc-close__btn--route{
  background: #111 !important;
  color: #fff !important;
}
.rc-close__btn--tel{
  background: #1fa53a !important;
  color: #fff !important;
}

/* PCは2列時に“折り返し”が起きにくいよう余白調整（任意） */
@media (min-width: 700px){
  .rc-close__btn{
    padding: 14px 16px;
  }
}


/* =========================
  高さズレ最終対策（確実版）
========================= */
.rc-close__actions{
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch !important;
}

.rc-close__actions > li{
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;          /* li自体を伸ばす */
  align-items: stretch !important;
}

.rc-close__actions > li > a.rc-close__btn{
  width: 100%;
  height: 100% !important;           /* liに合わせて同じ高さに */
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2;
}

/* スマホは縦並びのままにしたい場合 */
@media (max-width: 699px){
  .rc-close__actions{
    grid-template-columns: 1fr !important;
  }
}

/* 目次（.outline）：初期は閉じる */
.outline{
  position: relative;
}

/* リスト部分を初期非表示 */
.outline ol,
.outline ul{
  display: none;
}

/* 見出し行は残す（目次 + 閉じるボタンがあるので） */
.outline .outline__title,
.outline .outline-title,
.outline h2,
.outline h3{
  margin-bottom: 0;
}



/* 記事見出し（赤帯化されてる h2）を上品サイズに統一 */
body .postContents .content h2{
  padding: 12px 14px !important;
  font-size: clamp(18px, 2.2vw, 26px) !important;
  line-height: 1.35 !important;

  /* 余白も圧を下げる */
  margin: 26px 0 12px !important;

  /* もしborderが太すぎるなら */
  border-top-width: 2px !important;
  border-bottom-width: 2px !important;
}

/* スマホはもう少し締める */
@media (max-width: 520px){
  body .postContents .content h2{
    padding: 10px 12px !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin: 22px 0 10px !important;
  }
}

/* ─────────────────────────────
  スマホ：ヒーロー（.viral）を短くして、本文の見え始めを早める
───────────────────────────── */
@media (max-width: 768px){

  /* ヒーロー全体を短く（まずここが本体） */
  .viral{
    max-height: 34vh !important;   /* ← 30〜36vhで好み調整 */
    overflow: hidden !important;
  }

  /* 背景レイヤーが別要素なら高さ追従（構造的にあるので保険） */
  .viral .viral__bg{
    height: 100% !important;
  }

  /* 中の余白を削る（ここが効くと“体感で短く”なる） */
  .viral .viral__container{
    padding: 12px 0 !important;
  }

  /* タイトルの圧を落とす */
  .viral .heading-primary{
    font-size: clamp(18px, 5.2vw, 22px) !important;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
  }

  /* メタ（日付・タグの箱）を薄く＆小さく */
  .viral ul.datelist{
    margin: 6px 0 0 !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.88) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .viral ul.datelist li{
    margin: 0 !important;
    padding: 0 !important;
  }

@media (max-width: 768px){
  .viral ul.dateList > li.icon-tag{
    display: none !important;
  }
}

@media (max-width: 768px){
  .breadcrumb{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    clip:rect(1px,1px,1px,1px) !important;
    white-space:nowrap !important;
  }
}

@media (max-width: 768px){
  .outline{
    margin: 10px 0 12px !important;
    padding: 10px 12px !important;
  }
  .outline ul{
    margin-top: 6px !important;
  }
}

@media (max-width: 768px){
  .outline{
    margin: 12px 0 4px !important;
  }
}

/* まず閉じ */
.outline ul.outline__list{
  display:none;
}

/* checkedなら開く */
.outline input.outline__toggle:checked ~ ul.outline__list{
  display:block !important;
}

