/**************************************************************
【共通設定】
**************************************************************/
/* =================================================
   SPのみpadding
================================================= */

@media screen and (max-width: 767px) {
    .SP_pr60 {
        padding-right: 60px !important;
    }
    .SP_pl60 {
        padding-left: 60px !important;
    }
}

/* =========================
   改行制御
========================= */

/* デフォルトでは改行しない（PC） */
.TB_br,
.SP_br {
  display: none;
}

/* スマホ（767px以下）のみ改行を表示 */
@media (max-width: 767px) {
  .SP_br {
    display: inline;
  }
}

/* タブレット＆スマホ（1024px以下）で改行を表示 */
@media (max-width: 1024px) {
  .TB_br {
    display: inline;
  }
}

/* =========================
   ボタン共通
========================= */

/* ボタンの行間 */
.elementor-button {
  line-height: 1.4;
}

/* =========================
   フッター
========================= */

/* footer text を中央寄せ */
#copyright span {
  display: block;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 !important;
  text-align: center !important;
  height: 60px !important;
  line-height: 60px !important;
}

/* =========================
   テキスト装飾
========================= */

/* 打ち消し線 */
.del {
  text-decoration: line-through;
}




/**************************************************************
【ボックス設定】
**************************************************************/

/* =========================
   黒ライン文字ボックス
========================= */

/* 中央寄せ */
.framebox01 {
  border: 1px solid #000;
  padding: 10px;
  background: #fff;
  margin: auto;
  display: inline-block;
}

/* 左寄せ */
.framebox02 {
  border: 1px solid #000;
  padding: 10px;
  background: #fff;
  display: inline-block;
}

/* =========================
   白抜きタブ風ボックス
========================= */

/* 中央寄せ */
.framebox03 {
  color: #fff;
  padding: 10px 40px;
  background: #31665c;
  margin: auto;
  display: inline-block;
  border-radius: 0 0 20px 20px;
  line-height: 1.2em;
}

/* テキスト中央寄せ */
.framebox01,
.framebox02,
.framebox03 .center {
  text-align: center;
}




/**************************************************************
【メニュー設定】
**************************************************************/

/* =========================
   メニューボタンコンテナ
========================= */

.menu_box01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 25px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 12px 25px;
}

/* ボタンラッパー */
.menu_box01 .inner {
  flex: 1 1 calc((100% - 50px) / 3);
  min-width: 200px;
  box-sizing: border-box;
}

/* =========================
   メニューボタン
========================= */

.menu_btn01 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  text-decoration: none;
  color: #58a092 !important;
  background-color: #fff;
  border: 3px solid #58a092;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu_btn01:hover {
  background-color: #d8f3ee;
  color: #31665c !important;
  border: 3px solid #58a092;
  text-decoration: none !important;
}

.menu_btn01 img {
  width: 84px;
  height: 70px;
  margin-right: 15px;
  object-fit: contain;
}

.menu_btn01 span {
  font-size: 18px;
  font-weight: bold;
}

/* =========================
   レスポンシブ
========================= */

/* タブレット */
@media (max-width: 1024px) {
  .menu_box01 .inner {
    flex: 1 1 calc((100% - 25px) / 2);
  }
}

/* スマホ */
@media (max-width: 768px) {
  .menu_box01 .inner {
    flex: 1 1 100%;
  }
}




/**************************************************************
【SPフローティングボタン・PCスティッキーメニュー】
**************************************************************/

/* =========================
   スマホ専用サイドボタン
========================= */

@media (max-width: 767px) {
  .side_btn_taka,
  .side_btn_tamon,
  .side_btn_yamada {
    display: flex !important;
    position: fixed;
    right: 0;
    bottom: 15%;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
  }

  .side_btn_taka .btn_item,
  .side_btn_tamon .btn_item,
  .side_btn_yamada .btn_item {
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
    background-color: #88794d;
    padding: 10px 5px 10px 10px !important;
    border-radius: 4px 0 0 4px;
    font-size: 13px !important;
    font-weight: 999;
  }
}

/* PC・タブレットでは非表示 */
@media (min-width: 768px) {
  .side_btn_taka,
  .side_btn_tamon,
  .side_btn_yamada {
    display: none !important;
  }
}

/* =========================
   PC/TB専用サイドバナー
========================= */

.side_bnr {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.bnr_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background-color: #31665c;
  padding: 10px;
  border-radius: 12px 0 0 12px;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 500;
  width: 50px;
}

/* 2番目だけ色変更 */
.bnr_item:nth-child(2) {
  background-color: #88794d;
}

/* Hover */
.bnr_item:nth-child(1):hover {
  background-color: #58a092;
  color: #fff;
}

.bnr_item:nth-child(2):hover {
  background-color: #ceb486;
  color: #fff;
}

/* アイコン */
.bnr_icon {
  font-size: 20px;
  margin-bottom: 8px;
}

/* 縦書き */
.bnr_item span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

/* スマホでは非表示 */
@media (max-width: 768px) {
  .side_bnr {
    display: none;
  }
}

/* =========================
   Sticky Navigation
========================= */

/* TCDメガメニューをStickyメニューより前面に表示 */
#header{
    position: relative;
    z-index: 1000;
}

.megamenu{
    z-index:1001 !important;
}

/* Sticky Navigation */
.sticky-nav,
.sticky-nav.is-fixed{
  overflow: visible !important;
  position: relative;
  width: 100%;
  z-index: 200;
  transition: box-shadow 0.3s ease, background 0.3s ease;}

/* Elementskitのドロップダウンメニュー用
.sticky-nav .elementskit-menu-container,
.sticky-nav .elementskit-navbar-nav,
.sticky-nav .elementskit-navbar-nav > li{
    overflow: visible !important;
}

.sticky-nav .elementskit-dropdown,
.sticky-nav .elementskit-submenu-panel,
.megamenu,
.megamenu.active_mega_menu{
    z-index: 999999 !important;
} */

.sticky-nav.is-fixed {
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  background: #f9f9f9;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
  z-index: 900;
  overflow: visible;
}

/* タブレット縦 */
@media (max-width: 1024px) {
  .sticky-nav.is-fixed {
    top: 100px;
  }
}

/* =========================
   ElementKit サブメニュー
========================= */

.ekit-menu-nav li {
  position: relative;
}

.ekit-menu-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  display: none;
}

/* Hover時に表示 */
.ekit-menu-nav .menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* =========================
   Elementor / TCD 衝突防止
========================= */

.sticky-nav,
.sticky-nav.is-fixed {
  transform: none !important;
  will-change: auto !important;
}

.elementor-section:has(.sticky-nav),
.elementor-container:has(.sticky-nav) {
  transform: none !important;
}

/**************************************************************
【バナー・ボタン設定】
**************************************************************/

/* =========================
   中央寄せボタン
========================= */

.button01 {
  display: flex;
  justify-content: center;
}

.button01 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 70px;
  padding: 10px 20px;
  font-size: 17px;
  line-height: 70px;
  border: 1px solid #31665c;
  border-radius: 70px;
  background: #fff;
  color: #31665c;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button01 a:hover {
  background: #31665c;
  color: #fff !important;
  text-decoration: none;
}

/* =========================
   details開閉バナーボタン
========================= */

summary.banner-btn {
  list-style: none;
  cursor: pointer;
}

summary.banner-btn::marker {
  display: none;
}

summary.banner-btn::-webkit-details-marker {
  display: none;
}

summary.banner-btn img {
  transition: opacity 0.3s ease;
}

summary.banner-btn:hover img {
  opacity: 0.7;
}

/* detailsフェードイン開閉アニメーション */
/* 
.accordion .accordion-content {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .4s ease, transform .4s ease;
}

.accordion[open] .accordion-content {
  opacity: 1;
  transform: translateY(0);
  animation: accordionFade .4s ease;
} */

.accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);

  transition:
    max-height .45s ease,
    opacity .35s ease,
    transform .35s ease;
}

.accordion[open] .accordion-content {
  max-height: 3000px;
  opacity: 1;
  transform: translateY(0);
}

@keyframes accordionFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/**************************************************************
【テーブル設定】
**************************************************************/

/* =========================
   テーブル共通
========================= */

/* テーブルの横スクロール無効化 */
.post_content .s_table table.tbl01,
.post_content .s_table table.tbl02 {
  overflow: unset !important;
  white-space: normal !important;
}

/* =========================
   tbl01（霊園概要など）
========================= */

table.tbl01 {
  width: 100%;
  margin: 0 auto 40px;
}

table.tbl01 th {
  width: 30%;
  padding: 10px;
  background: #e9f2f1;
  font-weight: bold;
  word-break: break-word;
}

table.tbl01 td {
  padding-left: 1em;
  word-break: break-word;
}

/* =========================
   tbl02（バス時刻表など）
========================= */

table.tbl02 td:first-child {
  background: #e9f2f1;
}

table.tbl02 td {
  padding: 3px;
  text-align: center;
  word-break: break-word;
}

/* =========================
   横スクロールテーブル
========================= */

.table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* PCでは非表示 */
.table-scroll::after {
  display: none;
}

/* スマホ・タブレット */
@media screen and (max-width: 1024px) {
  .table-scroll::after {
    content: "← 横にスクロールできます";
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
  }
}

/* =========================
   tbl03（永代供養一覧）
========================= */

table.tbl03 {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse !important;
}

table.tbl03 th,
table.tbl03 td {
  padding: 5px;
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle !important;
}

table.tbl03 th {
  background: #e9f2f1;
  line-height: 1.3;
}

/* 縦書き */
table.tbl03 td.vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-align: center;
  vertical-align: middle;
  padding: 0 10px;
  white-space: nowrap;
}

/* 画像 */
table.tbl03 img {
  width: 90px;
  height: 60px;
  object-fit: cover;
}

/* =========================
   スマホ対応
========================= */

@media screen and (max-width: 767px) {

  table.last td:last-child {
    width: 90%;
  }

  /* tbl01 */
  table.tbl01 {
    width: 90%;
    padding-right: 10px;
  }
  table.tbl01 th,
  table.tbl01 td {
    display: block;
    width: 100%;
    text-align: center;
  }
  table.tbl01 th {
    border-bottom: none;
  }
  table.tbl01 td {
    border-bottom: 1px solid #ccc;
  }
	
  /* tbl02 */
  table.tbl02 {
    width: 80%;
    padding-right: 20px;
  }

  table.tbl02 .thead {
    display: none;
  }

  table.tbl02 tr {
    width: 100%;
  }

  table.tbl02 td {
    display: block;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    text-align: right;
  }

  table.tbl02 td:first-child {
    background: #31665c;
    color: #fff;
    font-weight: bold;
    text-align: center;
  }

  table.tbl02 td::before {
    content: attr(data-label);
    float: left;
    margin-right: 10px;
    font-weight: bold;
  }
}

/* =========================
   タブレット対応
========================= */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  table.tbl01 th,
  table.tbl01 td {
    display: table-cell;
    padding-left: 25px;
    text-align: left;
  }
}

/**************************************************************
【リスト設定】
**************************************************************/

/* =========================
   タグ
========================= */

.tag01 {
  font-size: 0.8em;
  font-weight: 500;
}

.tag01 ul {
  margin: 0;
}

.tag01 li {
  display: block;
  float: left;
  margin: 0 5px 10px 0;
  padding: 0 5px;
  list-style-type: none;
  background: #ceb486;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

/* =========================
   リスト共通
========================= */

/* 項目の余白 */
ol li,
ul li,
dl li {
  margin-bottom: 20px;
}

/* =========================
   チェックリスト
========================= */

ul.check-list,
dl.check-list {
  padding-left: 0;
  list-style: none;
}

/* チェックアイコン */
ul.check-list li::before,
dl.check-list dt::before {
  content: "\2714\FE0F";
  margin-right: 0.5em;
  color: #f87905;
}

dl.check-list dd {
  padding-left: 50px;
}

/* =========================
   丸リスト
========================= */

ul.custom-list,
dl.custom-list {
  padding-left: 0;
  list-style: none;
}

/* ●アイコン */
ul.custom-list li,
dl.custom-list dt {
  position: relative;
  padding-left: 1.2em;
}

ul.custom-list li::before,
dl.custom-list dt::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #58a092;
}

/* 説明文 */
ul.custom-list dd,
dl.custom-list dd {
  padding-left: 1.2em;
}

/* =========================
   装飾なしリスト
========================= */

ul.none-list {
  margin: 0;
  list-style: none !important;
}

/* =========================
   Elementor アイコンリスト
========================= */

selector .elementor-icon-list-item {
  margin-bottom: 25px;
}

selector .elementor-icon-list-text {
  line-height: 1.6em;
}

/* 最後だけ余白なし */
selector .elementor-icon-list-item:last-child {
  margin-bottom: 0;
}




/**************************************************************
【Elementor / ElementsKit 調整】
**************************************************************/

/* =========================
   高さ揃え
========================= */

/* カラム・ラップ */
.elementor-column,
.elementor-column .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* ウィジェットコンテナ */
.elementor-widget-container,
.ekit-wid-con,
.elementor-widget-container > a.ekit_global_links,
.ekit-wid-con > a {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* アイコンボックス */
.elementskit-infobox {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* テキスト部分 */
.box-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* ヘッダー */
.elementskit-box-header,
.elementskit-info-box-icon {
  flex: 0 0 auto !important;
}

/* リンク全体 */
.ekit_global_links {
  display: block !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

/* 余白 */
.elementskit-infobox,
.elementskit-infobox .box-body {
  padding: 24px !important;
}

/* =========================
   スマホ対応
========================= */

@media (max-width: 767px) {

  .elementor-column,
  .elementor-column .elementor-widget-wrap {
    flex-direction: column !important;
  }

  .elementor-column {
    width: 100% !important;
  }
}

/**************************************************************
【Happy Addons 調整】
**************************************************************/

/* =========================
   Image Carousel 中央寄せ
========================= */

.ha-carousel .ha-slick-content {
  text-align: center !important;
}

.ha-carousel .ha-slick-subtitle,
.ha-carousel .ha-slick-title {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}




/**************************************************************
【VK Blocks カスタマイズ】
**************************************************************/

/* =========================
   最近の投稿（新着情報）
========================= */

/* 指定カテゴリのタイトル・カテゴリ名を黒に統一 */

.postList li:has(.postList_terms a[href*="news_takatsuki"]) .postList_terms a,
.postList li:has(.postList_terms a[href*="news_takatsuki"]) .postList_title a,

.postList li:has(.postList_terms a[href*="news_yamadagawa"]) .postList_terms a,
.postList li:has(.postList_terms a[href*="news_yamadagawa"]) .postList_title a,

.postList li:has(.postList_terms a[href*="news_tamonin"]) .postList_terms a,
.postList li:has(.postList_terms a[href*="news_tamonin"]) .postList_title a,

.postList li:has(.postList_terms a[href*="news_hongonji"]) .postList_terms a,
.postList li:has(.postList_terms a[href*="news_hongonji"]) .postList_title a {
  color: #000 !important;
}




/**************************************************************
【Elementor アコーディオン】
**************************************************************/

/* =========================
   Qアイコン
========================= */

.e-n-accordion-item-title-header::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 12px;
  border-radius: 50%;
  background: #c12f3c;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
}




/**************************************************************
【フリーダイヤル】
**************************************************************/

/* =========================
   共通
========================= */

.free-dial,
.footer-free-dial {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.6em;
  font-weight: bold;
  color: #2da953;
  background: url(https://izumiya-gr.com/reien/wp-content/uploads/2025/06/img_freedial.gif)
              no-repeat left center;
  text-indent: 17px;
}

/* =========================
   リンク
========================= */

.free-dial a,
.footer-free-dial a {
  display: inline-block;
  color: #2da953;
  text-decoration: none;
}

/* =========================
   タブレット対応
========================= */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .free-dial {
    font-size: 1.2em;
  }
}

/* =========================
   スマホ対応
========================= */

@media (max-width: 767px) {

  .free-dial {
    display: inline-block;
    width: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 1.4em;
    background-size: 28px auto;
    text-indent: 17px;
  }
}




/**************************************************************
【Popup Maker】
**************************************************************/

/* =========================
   背景オーバーレイ
========================= */

.pum-overlay {
  background-color: rgba(0, 0, 0, 0.3) !important;
}


/**************************************************************
   SiteMap
**************************************************************/

.izumiya-sitemap{
    max-width:1100px;
    margin:0 auto;
}

/* =========================
   メニュー全体
========================= */

.izumiya-sitemap-menu{
    display:flex;
    flex-wrap:wrap;
    gap:20px 40px;
    list-style:none !important;
    margin:0;
    padding:0;
}

/* =========================
   上段6項目を2列表示
   1 2
   3 4
   5 6項目
========================= */

.izumiya-sitemap-menu > li:nth-child(-n+6){
    width:calc(50% - 20px);
}

/* =========================
   7項目の「霊園・墓地を探す」は横幅いっぱい
========================= */

.izumiya-sitemap-menu > li:nth-child(7){
    width:100%;
}

/* =========================
   1階層目
========================= */

.izumiya-sitemap-menu > li{
    position:relative;
    padding-left:20px;
    margin-bottom:25px;
    font-size:22px;
    font-weight:700;
}

/* 三角矢印マーク */

.izumiya-sitemap-menu > li::before{
    content: "▸";
    position:absolute;
    left:0;
    top:2px;
    color:#ceb486;
    font-size:22px;
}

/* =========================
   リンク
========================= */

.izumiya-sitemap-menu a{
    color:#000;
    text-decoration:none;
    transition:.2s;
}

.izumiya-sitemap-menu a:hover{
    color:#ceb486;
    text-decoration: none !important;
}

/* =========================
   2階層目
========================= */

.izumiya-sitemap-menu .sub-menu{
    list-style:none;
    margin:15px 0 0 18px;
    padding-left:18px;
    border-left:1px solid #ddd;
}

/* =========================
   2階層目の項目
========================= */

.izumiya-sitemap-menu .sub-menu li{
    position:relative;
    margin:10px 0;
    font-size:16px;
    font-weight:400;
}

/* =========================
   3階層目
========================= */

.izumiya-sitemap-menu .sub-menu .sub-menu{
    margin-top:8px;
}

/* =========================
   スマホ
========================= */

@media (max-width:767px){

    .izumiya-sitemap-menu{
        display:block;
    }

    .izumiya-sitemap-menu > li{
        width:100% !important;
    }

}

/**************************************************************
   footer
**************************************************************/

/* ロゴ＋住所 */
#footer_inner {
  text-align: left;
}

/* メニュー */
#footer_nav {
  text-align: left;
}

/* コピーライト */
#copyright {
  text-align: center;
}

/* =================================================
   追加フッターメニュー
================================================= */

.common-footer {
  margin: 20px 0 0;
  padding: 20px 0;
  background: #f1f1f1;
  font-size: 14px;
  text-align: center;
}

/* リンク */
.common-footer a {
  margin: 0 12px;
  color: #777;
  text-decoration: none;
}

.common-footer a:hover {
  text-decoration: underline;
}

/* スマホ */
@media (max-width: 768px) {

  .common-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: center;
  }

  .common-footer a {
    display: block;
    margin: 0;
  }
}

/* ==========================================
   ブログ記事ページの不要な要素を非表示
========================================== */

/* 「記事のタイトルとURLをコピーする」ボタン */
.single-post .single_copy_title_url {
    display: none;
}

/* Follow me Box */
.single-post .veu_followSet {
    display: none;
}

/* 前後の記事ナビ */
.single-post #next_prev_post {
    display: none;
}

