@charset "UTF-8";

/*!
Theme Name: Rapo-rapo
Description: "cocoon"テーマをインストールの上、有効にしてください。
Theme URI: 
Author: rapo
Author URI: 
Template:   cocoon-master
Version:    ぬ
*/

/* ============================================
   基本設定・レイアウト
============================================ */
body, html {
  position: relative;
  z-index: 0;
}

body.page .post-date {
  display: none !important;
}

.kasaneru {
  position: relative;
  z-index: 1;
  min-height: 300px;
}

.top-overlay {
  position: relative;
  z-index: 10;
}

.top-biggy {
position: relative;
z-index: 0;
min-height: 500px;
}

.top-biggy::before {
  content: "";
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 40rem;
transform: translateY(-40rem);
background-image: url('/wp-content/themes/rapo-rapo/bonjiri/layered-waves-haikei.svg');
  background-size: cover;
  background-position: bottom;
  z-index: -1;
}

.top-biggy::after {
  content: "";
  position: absolute !important;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40rem;
  transform: translateY(38rem);
background-image: url('/wp-content/themes/rapo-rapo/bonjiri/layered-waves-haikei-bottom.svg');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

/* ============================================
   ヘッダー
============================================ */

#header-container {
  box-shadow: 0 0 10px rgba(30, 30, 30, .1);
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 10;
  height: 100px;
}

#container {
  padding-top: 100px;
}

.header-container-in.hlt-top-menu {
  display: flex;
  justify-content: start;
  align-items: center;
}

.logo-header {
  flex: 1 1 auto;
  max-height: 100%;
}

.logo-header img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
}

.header-small {
  opacity: 0.9;
}

.header-small .header-container-in.hlt-top-menu .logo-header img {
  max-width: 100%;
  margin: 10px 0;
}

/* ============================================
   ナビゲーション
============================================ */

.navi {
  background: none;
}

.navi-in > ul .sub-menu {
  background: #fff;
  box-shadow: 0 0 10px rgba(30, 30, 30, .1);
}

.navi-in > ul li {
  width: auto;
}

.navi-in {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  right: 100px !important;
}

.hlt-tm-right .navi-in > ul {
  justify-content: flex-start;
}

.navi-in a {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  color: #000;
  padding: 60px 10px;
  display: inline-flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  perspective: 800px;
  box-sizing: border-box;
  top: -60px;
}

.navi-in a:hover {
  transform: translateY(-6px) rotateX(6deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.navi-in a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%) scaleX(0.5) translateZ(0);
  width: 60%;
  height: 8px;
  background: linear-gradient(135deg, #ff9ce4, #9ccaff);
  border-radius: 2px;
  opacity: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
}

.navi-in a:hover::after {
  transform: translateX(-50%) scaleX(1) translateZ(10px);
  opacity: 1;
}

.menu-header > li::before {
  font-size: 1.8em;
}

.navi-in > ul .caption-wrap {
  margin-top: 55px !important;
  padding-top: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================
   見出しリセット・デザイン
============================================ */

/* 見出しリセット（h2-h6を統合） */
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  background: none;
  border: 0;
  padding: 0;
}

/* H2見出しデザイン */
.entry-content h2 {
  display: inline-block;
  margin: 1.5em auto;
  padding: 1em 1.2em;
  background: #2c3e50;
  color: white;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.entry-content h2:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #2c3e50;
  width: 0;
  height: 0;
}

/* H2・H3共通 */
h2, h3 {
  display: block;
  margin: 1em auto;
  padding: 0.3em 1em;
  border-radius: 5px;
  font-weight: bold;
}

h2, h3.wp-block-heading {
  text-align: inherit;
}

h2.wp-block-heading {
  text-align: center !important;
}

h3.wp-block-heading {
  text-align: left !important;
}

/* H3見出しデザイン */
.heading12 {
  position: relative;
  font-size: 26px;
  display: flex;
  align-items: center;
}

.heading12::before {
  content: attr(data-number);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  color: white;
  text-shadow: -1px -1px 0 #f48fb1, 0px -1px 0 #f48fb1, 1px -1px 0 #f48fb1, -1px 0px 0 #f48fb1, 1px 0px 0 #f48fb1, -1px 1px 0 #f48fb1, 0px 1px 0 #f48fb1, 1px 1px 0 #f48fb1;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.heading12 span {
  margin-left: 70px;
  position: relative;
  z-index: 1;
  white-space: normal;
}

.heading12::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(30px);
  width: 100%;
  height: 1px;
  background-color: #f48fb1;
}

/* H4見出しデザイン */
.entry-content h4{
  position: relative;
  display: inline-block;
font-size:1.05em;
font-weight: 400;
  color: #2d3748;
  background: #f7fafc;
  padding: 15px 25px;
  border-radius: 15px;
  box-shadow: 
    8px 8px 16px rgba(203, 213, 225, 0.6),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
  margin: 20px 0;
  border-left: 5px solid #4299e1;
}

.entry-content h4::before {
  content: "\f054";  /* FontAwesome の右矢印アイコン（fas fa-chevron-right） */
  font-family: "Font Awesome 5 Free"; /* FA5 Free を指定 */
  font-weight: 900; /* solid の場合は 900 */
  color: #4299e1;
  margin-right: 10px;
  display: inline-block;
}

/* H5見出しデザイン */
.entry-content h5 {
  color: #000;
  font-size: 1em;
  padding: 10px;
  border-bottom: dotted 3px #6396c9;
}

/* H6見出しデザイン */
.entry-content h6 {
  color: #000;
  font-size: 1em;
  padding: 5px;
  border-left: solid 7px #2c3e50;
}

/* 見出し内要素リセット */
.entry-content h2 > span::before,
.entry-content h2 > span::after {
  content: none !important;
  counter-increment: none;
}

/* 大量の要素に対する統合リセット */
.article h4 > span::before,
blockquote p:first-of-type::before,
ul.is-style-link li a::before,
ol.is-style-link li a::before,
.widget_recent_entries ul li a::before,
.widget_categories ul li a::before,
.widget_archive ul li a::before,
.widget_pages ul li a::before,
.widget_meta ul li a::before,
.widget_rss ul li a::before,
.widget_nav_menu ul li a::before,
.wp-block-group ul li a::before,
.comment-btn::before,
.menu-drawer a::before,
.is-style-faq .toggle-button::after,
body.page .wp-block-vk-blocks-alert.has-alert-icon::before {
  content: none !important;
  display: none !important;
}

/* ============================================
   カスタムリスト
============================================ */

.custom-maru {
  list-style: none;
  padding-left: 1.5em;
  counter-reset: custom-counter;
}

.custom-maru li {
  position: relative;
  margin-bottom: 0.5em;
}

.custom-maru li::before {
  position: absolute;
  left: -1.5em;
  font-weight: bold;
}

.custom-maru li:nth-child(1)::before { content: "①"; }
.custom-maru li:nth-child(2)::before { content: "②"; }
.custom-maru li:nth-child(3)::before { content: "③"; }
.custom-maru li:nth-child(4)::before { content: "④"; }
.custom-maru li:nth-child(5)::before { content: "⑤"; }
.custom-maru li:nth-child(6)::before { content: "⑥"; }
.custom-maru li:nth-child(7)::before { content: "⑦"; }
.custom-maru li:nth-child(8)::before { content: "⑧"; }
.custom-maru li:nth-child(9)::before { content: "⑨"; }
.custom-maru li:nth-child(10)::before { content: "⑩"; }
.custom-maru li:nth-child(11)::before { content: "⑪"; }
.custom-maru li:nth-child(12)::before { content: "⑫"; }

/* ============================================
   UI要素
============================================ */

/* NEW!ラベル */
.new-txt {
  background-color: #ff0000;
  color: #fff;
  font-size: .8em;
  padding: .1em .5em;
  border-radius: 1px;
  margin-right: 5px;
}

/* 重要なお知らせ */
.important-notice-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #a94442;
  padding: 6px 12px;
  border-radius: 3px;
  width: 100%;
  color: #f5f5f5;
  font-weight: 600;
  font-size: 16px;
}

.important-notice-label {
  background-color: #f5f5f5;
  color: #a94442;
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700;
}

.important-notice-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #f5f5f5;
}

.important-notice-title a {
  color: #f5f5f5;
  text-decoration: none;
}

.important-notice-title a:hover {
  text-decoration: underline;
}

/* ============================================
   検索ボックス・フォーム
============================================ */

.search-box {
  border-radius: 20px;
  overflow: hidden;
  background: #e8e6e1;
  border: 2px solid #fff;
}

.search-edit {
  flex: 1;
  padding: 14px 20px;
  font-size: 16px;
  border: none;
  background: transparent;
  color: #333;
  outline: none;
}

.search-edit::placeholder {
  color: #888;
}

.search-submit {
  background: #1e90ff;
  border: none;
  padding: 14px 40px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.5s ease, transform 0.4s ease;
  top: -0.02rem;
  right: -1px;
}

.search-submit:hover {
  background: #061e36;
  transform: scale(1.1);
}

.search-submit .fas {
  pointer-events: none;
}

input[type=text], input[type=password], input[type=date], input[type=datetime], input[type=email], input[type=number], input[type=search], input[type=tel], input[type=time], input[type=url], textarea, .search-edit {
  border: none !important;
}


/* ============================================
   ハンバーガーメニュー（PC用）
============================================ */

.pc-hamburger-wrapper {
  position: fixed;
  top: 0;
  right: 101px;
  z-index: 9999;
}

.pc-hamburger-toggle {
  display: none;
}

.pc-hamburger-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: fixed;
  width: 100px;
  height: 100px !important;
  background-color: #4c5370;
  border-bottom-left-radius: 15px;
  z-index: 9999999;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.7s ease, background-color 0.6s ease, box-shadow 0.7s ease;
}

.pc-hamburger-icon:hover {
  transform: translateY(4px) scale(1.1);
  background-color: #757b98;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.pc-hamburger-icon span {
  display: block;
  height: 2px;
  width: 40px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: 0.4s ease;
}

#pc-hamburger-toggle:checked + .pc-hamburger-icon span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

#pc-hamburger-toggle:checked + .pc-hamburger-icon span:nth-child(2) {
  opacity: 0;
}

#pc-hamburger-toggle:checked + .pc-hamburger-icon span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

.pc-hamburger-icon::after {
  content: "メニュー";
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  display: block;
  user-select: none;
}

#pc-hamburger-toggle:checked + .pc-hamburger-icon::after {
  content: "閉じる";
}

.pc-hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff7f9;
  z-index: 9999;
  padding: 30px 100px 20px 100px;
  box-sizing: border-box;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

body.pc-ready .pc-hamburger-menu {
  visibility: visible;
  transition-delay: 0s;
}

body.pc-ready #pc-hamburger-toggle:checked ~ .pc-hamburger-menu {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.hamburger-widget {
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-top: 5vh;
  margin-bottom: 2vh;
}

.hamburger-widget > *:first-child {
  box-shadow: none !important;
}

.pc-hamburger-menu ul {
  text-align: center;
  padding: 0;
}

.pc-hamburger-menu li {
  margin: 20px 0;
}

.pc-hamburger-menu a {
  font-size: 24px;
  color: #333;
  text-decoration: none;
}

/* ============================================
   モバイルメニュー・ハンバーガー
============================================ */

.navi-menu-button.menu-button:first-of-type {
  position: relative;
  background-color: #2c3e50;
  color: white !important;
  border-top-right-radius: 15px;
  cursor: pointer;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

:root {
--floating-height: 80px; /* フッター高さをここで定義 */
}

.mobile-footer-menu-buttons {
  background-color: #f1f1f1 !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7) !important;
min-height: var(--floating-height);
}

.menu-open:first-of-type {
  color: white !important;
}

.mobile-footer-menu-buttons .menu-icon, .mobile-footer-menu-buttons .menu-caption, .is-style-color-head th {
  color: #000;
}

.mobile-footer-menu-buttons .menu-button:first-of-type .menu-icon,
.mobile-footer-menu-buttons .menu-button:first-of-type .menu-caption {
  color: #fff !important;
}

.navi-menu-icon.home-menu-icon.custom-menu-icon.menu-icon {
  font-size: 1.5rem;
}

.menu-close-button {
  padding: 20px 24px 30px;
  text-align: left;
  font-size: 1.3em;
  color: #333;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

.mobile-menu-buttons .menu-button .menu-top.menu-header.menu-pc i {
  font-size: 2em;
  display: block;
  margin-bottom: 0.4em;
  color: #444;
}

#menu-mobile-menu > li.navi-menu-button:first-child .navi-menu-icon .fa-bars {
  font-size: 1.8em;
  color: #fff;
}

.menu-icon .fas,
.menu-icon .fa-solid {
  font-size: 1.4em;
  margin-top: 4px;
  color: #333;
}

.menu-caption {
  font-size: 0.82em !important;
  font-weight: 600 !important;
  margin-top: 4px;
  color: #555;
  opacity: 1;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6px 0 4px;
}

.navi-menu-close-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  min-width: 44px;
  min-height: 44px;
  background-color: #555;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.navi-menu-close-button:hover {
  background-color: #333;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

.navi-menu-close-button .fas {
  font-size: 1.4em;
  color: #fff;
}

.navi-menu-close-button::after {
  content: "閉じる";
  display: block;
  font-size: 0.75em;
  color: #fff;
  font-weight: bold;
  user-select: none;
  margin-top: 6px;
}

/* ============================================
   ボックスメニュー
============================================ */

.box-menu-box.block-box.box-menu-22 {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 5px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.box-menu {
  background: #ffffff;
  box-shadow: none !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.box-menu .box-menu-icon .fas {
  color: #777;
  font-size: 35px;
}

.box-menu:hover {
  box-shadow: none !important;
  background-color: #f0f0f0;
  transform: scale(0.9);
}

.box-menu:hover .box-menu-icon .fas {
  color: #d43535;
  transition: color 0.8s ease;
}

/* ============================================
   パンくずリスト
============================================ */

.breadcrumb {
  font-size: 1em;
  font-weight: 300;
  color: #000;
  background: #eee !important;
  padding: 4px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  user-select: none;
  position: relative;
  border: none;
  flex-wrap: wrap;
  gap: 0.4em;
}

.breadcrumb::before {
  content: "現在の位置";
  font-weight: 500;
  color: #fff;
  background-color: #c86c91;
  margin-right: 10px;
  padding: 5px 12px;
  border-radius: 12px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.04em;
  user-select: none;
  display: inline-block;
  vertical-align: middle;
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.breadcrumb a {
  color: #1a237e;
  text-decoration: none;
  position: relative;
  transition: color 0.8s ease;
}

.breadcrumb a:hover {
  color: #ff6f91;
}

.breadcrumb span.current {
  color: #999;
  font-weight: 600;
}

.fa-file {
  display: inline-block;
  width: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-size: 0;
}

.fa-file:before {
  content: '';
}

/* ============================================
   記事リスト・最新記事
============================================ */

.latest-posts-wrap {
max-width: 150%;
  margin: 1em auto;
}

.latest-posts-wrap ul.latest-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest-posts-wrap ul.latest-posts-list li {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  background-color: #ffffff;
  transition: background-color 0.4s, box-shadow 0.4s;
  padding: 0.5em 1.5em;
  border-top: 1px dotted #ccc;
  margin: 0;
}

.latest-posts-wrap ul.latest-posts-list li:first-child {
  border-top: none;
}

.latest-posts-wrap ul.latest-posts-list li:hover {
  background-color: #f5f5f5;
}

.latest-posts-wrap .cat-badge {
  display: inline-block;
width: 8em;
  padding: 0.4em 0.9em;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 999px;
  color: #fff;
  line-height: 1;
  text-align: center;
  margin-right: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* カテゴリー別色分け */
.latest-posts-wrap .cat-info {
  background-color: #00796b;
  color: #fff;
}

.latest-posts-wrap .cat-kouza {
  background-color: #f9a825;
  color: #fff;
}

.latest-posts-wrap .cat-cafe-info {
  background-color: #3949ab;
  color: #fff;
}

.latest-posts-wrap .cat-none {
  background-color: #616161;
  color: #fff;
}

.latest-posts-wrap ul.latest-posts-list li a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s;
  margin-left: 1em;
}

.latest-posts-wrap ul.latest-posts-list li a:hover {
  color: #0073aa;
  text-decoration: underline;
}

.latest-posts-wrap .ymd {
  font-size: 0.8rem;
  color: #777;
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 20px;
}

body.postid-615 .info-list-item-categorys .entry-category {
  display: none !important;
}

.info-list-item-categorys {
  display: none;
}

/* ============================================
   サイドバー・目次
============================================ */

.sidebar .widget_toc {
  background-color: #403f3f;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  will-change: box-shadow;
}

.sidebar .widget_toc:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(0, 0, 0, 0.18);
}

.sidebar .toc-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 20px;
  background-color: #403f3f;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar .toc-title i {
  margin-right: 10px;
  font-size: 1.2em;
  color: #fff;
}

.sidebar .toc-content {
  background-color: #f5f5f7;
  padding: 16px 20px;
  max-height: 400px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.sidebar .toc-content::-webkit-scrollbar {
  width: 10px;
}

.sidebar .toc-content::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 8px;
}

.sidebar .toc-content::-webkit-scrollbar-track {
  background: #eee;
}

.sidebar .toc li {
  line-height: 1.8;
  margin-bottom: 0.6em;
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

.sidebar .toc li a {
  color: #1c1c1e;
  text-decoration: none;
  padding: 4px 6px;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.sidebar .toc li a:hover {
  background-color: rgba(33, 150, 243, 0.1);
  color: #1565C0;
}

.sidebar .toc .toc-list ul,
.sidebar .toc .toc-list ol {
  list-style: none;
  padding-left: 1em;
  border-left: 2px solid #403f3f;
  margin-left: 0;
  margin-top: 0.5em;
}

.toc {
  background: none;
}

.sidebar-scroll {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
}

/* ============================================
   ページ階層・親子ページ
============================================ */
.sibling-pages-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 28px;
  max-width: 520px;
  margin: 40px auto;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* 見出し */
.sibling-parent-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.sibling-parent-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  opacity: 0.8;
}

.sibling-parent-title:hover {
  color: inherit !important;
  background: inherit !important;
  border-color: inherit !important;
  transform: none !important;
  text-decoration: none !important;
  filter: none !important;
  cursor: default !important;
}


/* リスト */
.sibling-pages-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sibling-pages-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f9f9fb;
  border: 1px solid #e5e7eb;
  color: #333;
  font-weight: 500;
  font-size: 0.95em;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.sibling-pages-list a:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.08);
}

.sibling-pages-list .current-page a {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
  font-weight: 600;
  pointer-events: none;
}

/* レスポンシブ */
@media (max-width: 480px) {
  .sibling-pages-box {
    margin: 20px 12px;
    padding: 20px;
  }
  
  .sibling-parent-title {
    font-size: 1.2em;
  }
  
  .sibling-pages-list a {
    padding: 12px 14px;
    font-size: 0.9em;
  }
}

/* ============================================
   トップへ戻る・フッター周り
============================================ */

#go-to-top {
  position: fixed;
  z-index: 555;
}

.go-to-top-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(240, 240, 240, 0.65));
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  color: #222;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  position: fixed;
  bottom: 30px;
  right: 20px;
}

.go-to-top-button:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(240, 240, 240, 0.5));
  color: #383869;
}

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

#footer {
  background-color: #4a5f7a;
  color: #fff;
  width: 50%;
  margin: 0;
  padding: 20px 60px;
  position: relative;
}

#footer::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 0;
  border-top: 1px dashed #fff;
  box-sizing: border-box;
  pointer-events: none;
}

#footer.footer a {
  color: pink;
}

#footer.footer a:hover {
  color: #3399ff;
}

.footer-container {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

#footer .wrap {
  max-width: none !important;
  width: 100% !important;
}

.footer-center {
  width: 0% !important;
}

.company-info-widget p:first-of-type {
  font-weight: bold;
  font-size: 1.4rem;
}

/* フッターボックスメニュー */
.footer-right .box-menus {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  padding: 10px 0;
}

.footer-right .box-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  padding: 10px;
  background-color: #f9f9f9;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 14px;
}

.footer-right .box-menu:hover {
  background-color: #f0f0f0;
  color: #000;
  transform: none;
}

.footer-right .box-menu-icon {
  font-size: 20px;
  color: #999;
  margin-bottom: 6px;
}

.footer-right .box-menu-label {
  font-weight: 500;
  line-height: 1.4;
  color: #333;
}

.footer-right .box-menu-description {
  display: none;
}

/* フッターカスタムメニュー */
.widget-footer-left .custom-menu-class {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.widget-footer-left .custom-menu-class li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #333;
  transition: color 0.2s ease;
}

.widget-footer-left .custom-menu-class li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #999;
  font-size: 16px;
}

.menu-item.fa-house::before { content: "\f015"; }
.menu-item.fa-building::before { content: "\f1ad"; }
.menu-item.fa-graduation-cap::before { content: "\f19d"; }
.menu-item.fa-headset::before { content: "\f590"; }

.widget-footer-left .custom-menu-class li a {
  text-decoration: none;
  color: inherit;
}

.widget-footer-left .custom-menu-class li a:hover {
  color: #f48fb1;
}

/* ============================================
   装飾要素・その他
============================================ */

/* 区切り線 */
hr.pattern-hr {
  height: 8px;
  background-image: repeating-linear-gradient(45deg, #ccc 0, #ccc 1px, transparent 0, transparent 50%), repeating-linear-gradient(135deg, #ccc 0, #ccc 1px, transparent 0, transparent 50%);
  background-size: 8px 8px;
  border: none;
  margin: 1.5em 5em;
}

/* アイキャッチ非表示 */
.eye-catch-wrap {
  display: none !important;
}

/* ホーム専用非表示設定 */
.home .article-header.entry-header,
.home footer.article-footer.entry-footer,
.home #block-65 {
  display: none;
}

/* 記事タイトル装飾 */
.title-date-wrapper {
  position: relative;
  padding-top: 1.2em;
  padding-bottom: 1.2em;
  padding-left: 1.5em !important;
  background: #f48fb1;
  font-size: 1.2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 4em;
}

.title-date-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-top: 25px solid #d1b3ba;
  border-left: 70px solid transparent;
  filter: blur(0.5px);
}

.entry-title {
  font-size: 2.5rem !important;
  font-weight: 700;
  color: white;
}

.date-tags {
  margin-right: 1.5rem;
  color: whitesmoke;
}

/* ナビメニュー調整 */
#navi-menu-input:checked ~ #navi-menu-content {
  width: 100% !important;
  max-width: none;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

/* TOCターゲット調整 */
[id^="toc"]:target {
  padding-top: 85px;
  margin-top: 160px;
}

/* トップページ用 */
body.home #container {
  padding-top: 30px;
}

/* ============================================
   検索ボックス（ナビメニュー内）
============================================ */

#navi-menu-content .search-box {
  max-width: 520px;
  width: 90%;
  margin: 12px auto;
  display: flex;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #f2f3f5;
  box-sizing: border-box;
  height: 46px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#navi-menu-content .search-edit {
  flex-grow: 1;
  border: none;
  font-size: 1em;
  padding: 0 12px;
  outline: none;
  background-color: #fff;
  color: #333;
  height: 100%;
  box-sizing: border-box;
}

#navi-menu-content .search-edit::placeholder {
  color: #888;
}

#navi-menu-content .search-submit {
  background-color: #4ea0f0;
  border: none;
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: background-color 0.3s ease;
  border-radius: 0 12px 12px 0;
}

#navi-menu-content .search-submit:hover {
  background-color: #3a89d8;
}

#navi-menu-content .search-submit .fas {
  color: #fff;
  font-size: 1.2em;
}

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

/* タブレット・PC（1024px以上） */
@media screen and (min-width: 1024px) {
  .footer-left,
  .footer-right {
    width: 50% !important;
  }
  
  .entry-content.cf #toc {
    display: none !important;
  }
}

/* タブレット以下（1024px以下） */
@media screen and (max-width: 1024px) {
  #header-container {
    position: static !important;
	margin-top: 0 !important;
  }
  
  .content {
    margin-top: -30px;
  }
  
  .n2-ss-slider, .n2-ss-slider .n2-ss-slider-1 {
    z-index: 0 !important;
    position: relative !important;
  }
  
  .header-container-in.hlt-top-menu {
    max-height: 100px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1 !important;
    position: relative;
  }
  
  #container {
    padding-top: 0 !important;
  }
  
  .search-edit {
    font-size: 14px !important;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .header-container-in.hlt-top-menu .header {
    padding-top: 20px;
  }
  
  .pc-hamburger-wrapper {
    display: none;
  }
  
  .footer-left {
    width: 100% !important;
  }
  
  .footer-right {
    width: 0% !important;
    display: none !important;
  }
  
  #footer {
    padding: 20px 40px;
    width: 80%;
  }

  .sidebar-menu-button .widget_toc {
    display: none;
  }
  
  .breadcrumb {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
gap: 4px 12px;
padding: 6px;
    line-height: 1.5;
  }
  
  .breadcrumb::before {
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 6px;
  }
  
  .breadcrumb a,
  .breadcrumb span.current {
    white-space: nowrap;
  }
  
  .breadcrumb-item {
    right: 0;
  }
  
  .breadcrumb .sp {
    left: 0;
  }
  
  .latest-posts-wrap ul.latest-posts-list li {
    flex-wrap: wrap;
    padding: 0.5em 1em;
  }
  
  .latest-posts-wrap .cat-badge,
  .latest-posts-wrap .ymd {
    margin-right: 1em;
    order: 1;
  }
  
  .latest-posts-wrap ul.latest-posts-list li a {
    order: 2;
    margin-left: 0;
    margin-top: 0.5em;
    width: 100%;
  }
  
  .footer-left,
  .footer-right {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .footer-right {
    display: none;
  }
  
  .footer-left {
    width: 100%;
  }
  
  #footer {
    padding: 16px 20px;
    width: 100%;
  }
  
  .footer-widgets {
    display: flex !important;
  }
  
  .custom-menu-class {
    display: block !important;
  }
  
  .title-date-wrapper {
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    padding-left: 1em !important;
    font-size: 1em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }
  
  .entry-title {
    font-size: 1.8rem !important;
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
  
  .date-tags {
    margin-right: 1.5rem;
    font-size: 1.3rem;
  }
}

/* 600px以下での追加調整 */
@media (max-width: 600px) {
  .footer-right .box-menu {
    width: 48%;
  }
}

/* 480px以下（スマートフォン小画面） */
@media screen and (max-width: 480px) {
  input[type="range"] {
    width: 100%;
    max-width: none;
    height: 8px;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }
}

/* プリント用 */
@media print {
  .pc-hamburger-icon {
    display: none !important;
  }
}


#toc-2 li.current {
	background-color: #ffbc0099; /* ハイライト色 */
}












/* ===============================
   固定目次ボタン（PC非表示）
   =============================== */

/* デフォルトは非表示 */
#fix_tocbtn {
  display: none;
}

/* モバイル・タブレットのみ表示 */
@media screen and (max-width: 1023px) {
  #fix_tocbtn {
    display: flex;                  /* flexで中身を整列 */
    position: fixed;
    bottom: calc(var(--floating-height) + 15px);
    right: 15px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
  }
}

/* アイコン */
#fix_tocbtn i {
  font-size: 28px;   /* アイコンを大きく */
  margin-bottom: 4px;
}

/* 表示状態 */
#fix_tocbtn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ホバー時 */
#fix_tocbtn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/* クリック時 */
#fix_tocbtn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}



.entry-content .toc {
  font-size: 1em;
  padding: 1.2em 1.5em;
  background: linear-gradient(135deg, #fff9f9 0%, #ffeaea 100%);
  border-radius: 16px;
  border: 1px solid #f8dcdc;
  box-shadow: 0 2px 8px rgba(242, 139, 130, 0.08);
  position: relative;
  overflow: hidden;
}

.entry-content .toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f28b82, #e57373, #f28b82);
  border-radius: 16px 16px 0 0;
}

.entry-content .toc-title {
  font-size: 1.5em;
  font-weight: 700;
color: #fff; /* 柔らかい赤ピンク */
  margin-bottom: 1em;
  padding: 0.6em 1em; /* 余白を少し広め */
  display: flex;
  align-items: center;
background: #f28b82; /* 白抜き */
  border-left: 6px solid #f28b82; /* 柔らかい色のアクセントライン */
  border-radius: 8px; /* 丸みを強めて柔らかく */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ふんわり軽い影 */
  position: relative;
}

/* -------------------------------
   目次コンテンツの基本設定
   ------------------------------- */
.entry-content .toc-content ol {
  position: relative;
  margin: 0;
  padding: 0;
}

.entry-content .toc-content ol li {
  position: relative;
  margin-bottom: 0.3em;
  border-radius: 8px;
  transition: all 0.2s ease;
  list-style: none;
}

.entry-content .toc-content ol li:last-child {
  margin-bottom: 0;
}

/* -------------------------------
   共通リンクスタイル
   ------------------------------- */
.entry-content .toc a {
  color: #6d5c5c;
  text-decoration: none;
  display: block;
  border-bottom: 1px dashed #f3b0ac;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.entry-content .toc a:hover {
  color: #e57373;
  background-color: rgba(242, 139, 130, 0.08);
  border-color: #f28b82;
}

.entry-content .toc-content ol li:last-child .toc a {
  border-bottom: none;
}

/* -------------------------------
   1階層目（メインヘッダー）
   ------------------------------- */
.entry-content .toc-content > ol > li > a {
  padding: 0.8em 1em 0.8em 2.2em;
  font-weight: 700;
  font-size: 1.1em;
}

.entry-content .toc-content > ol > li > a:before {
  font-family: FontAwesome;
  content: "\f105";
  color: #f28b82;
  position: absolute;
  left: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  transition: all 0.2s ease;
}

.entry-content .toc-content > ol > li > a:hover:before {
  color: #e57373;
  transform: translateY(-50%) translateX(3px);
}

/* -------------------------------
   2階層目（サブヘッダー）
   ------------------------------- */
.entry-content .toc-content > ol > li > ol > li > a {
padding: 0.8em 1em 0.8em 3.8em;
  font-weight: 500;
  font-size: 1.1em;
}

.entry-content .toc-content > ol > li > ol > li > a:before {
  font-family: FontAwesome;
  content: "\f0da";
  color: #f28b82;
  position: absolute;
left: 1.8em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  transition: all 0.2s ease;
}

.entry-content .toc-content > ol > li > ol > li > a:hover:before {
  color: #e57373;
  transform: translateY(-50%) translateX(2px);
}

/* -------------------------------
   3階層目（詳細項目）
   ------------------------------- */
.entry-content .toc-content > ol > li > ol > li > ol > li > a {
  padding: 0.8em 1em 0.8em 6.2em;
  font-weight: 400;
}

.entry-content .toc-content > ol > li > ol > li > ol > li > a:before {
  font-family: FontAwesome;
  content: "\f111";
  color: #f7c1bd;
  position: absolute;
left: 5.8em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  transition: all 0.2s ease;
}

.entry-content .toc-content > ol > li > ol > li > ol > li > a:hover:before {
  color: #f28b82;
}

/* -------------------------------
   4階層目（最詳細項目）
   ------------------------------- */
.entry-content .toc-content > ol > li > ol > li > ol > li > ol > li > a {
  padding: 0.8em 1em 0.8em 8.2em;
  font-weight: 300;
}

.entry-content .toc-content > ol > li > ol > li > ol > li > ol > li > a:before {
  font-family: FontAwesome;
  content: "\f0c8";
  color: #f9d6d1;
  position: absolute;
  left: 6.5em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7em;
  transition: all 0.2s ease;
}

.entry-content .toc-content > ol > li > ol > li > ol > li > ol > li > a:hover:before {
  color: #f7c1bd;
}







.time-box {
  max-width: 420px;
  margin: 20px auto;
  background: #fff;
  border: 2px solid #f0c674; /* アクセントカラー */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
}

.time-box dl {
  margin: 0;
}

.time-box dt {
  background: #fef6e4;
  color: #333;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  padding: 12px;
  border-bottom: 1px solid #f0c674;
}

.time-box dd {
  margin: 0;
  padding: 15px 20px;
}

.time-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #ddd;
}

.time-item:last-child {
  border-bottom: none;
}

.time-label {
  font-weight: bold;
  color: #444;
}

.time-value {
  color: #222;
  font-size: 1rem;
}




.contact-boxes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-item {
  flex: 1 1 calc((100% - 20px) / 2);
  background-color: #fceef1; /* 淡いくすみピンク */
  padding: 12px 12px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.contact-item dl {
  margin: 0;
}

.contact-item dt {
  background-color: #c97a85; /* 落ち着いたローズ系 */
  border-radius: 6px;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  padding: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}

.contact-item dd {
  margin: 0;
  line-height: 1.5;
  text-align: center;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-tel {
  display: flex;
  font-size: 2rem;
  text-decoration: none;
  line-height: 1.3;
  text-align: center;
  color: #8c4b57 !important; /* 深みのあるローズブラウン */
  margin-bottom: 8px;
  border-bottom: 2px solid #8c4b57;
  padding-bottom: 1px;
  align-items: center;
}

.contact-tel::before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
  color: #8c4b57;
  font-size: 1.5rem;
}

.contact-time {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #5a4b4b; /* くすみ系ダークグレー */
}

.contact-note {
  margin: 0;
  font-size: 0.9rem;
  color: #b05c6e; /* 落ち着いたピンク寄り */
}

/* 開館時間用 */
.contact-item.openhours dd {
  display: block;
  font-size: 1rem;
  text-align: left;
  padding: 5px 30px;
}

.openhours-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #c97a85;
}

.openhours-item:last-child {
  border-bottom: none;
}

.openhours-item .label {
  font-weight: bold;
  color: #5a4b4b;
}

.openhours-item .value {
  color: #b05c6e;
}

/* 電話ボックスの時間表示 */
.phone-hours {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-time-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 6px 0;
  border-bottom: 1px dashed #c97a85;
}

.phone-time-item:last-child {
  border-bottom: none;
}

.phone-time-item .label {
  font-weight: bold;
  color: #5a4b4b;
  font-size: 1rem;
  padding-right: 20px;
}

.phone-time-item .value {
  color: #b05c6e;
  font-size: 1rem;
}

/* 記事本文に限定 */
.entry-content .contact-boxes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.entry-content .contact-item {
  flex: 1 1 calc((100% - 20px) / 2);
  background-color: #defaf0; /* 薄めミントグリーン */
  padding: 12px 12px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.entry-content .contact-item dl {
  margin: 0;
}

.entry-content .contact-item dt {
  background-color: #56c596; /* 少し濃いミントグリーンでアクセント */
  border-radius: 6px;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  padding: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}

.entry-content .contact-item dd {
  margin: 0;
  line-height: 1.5;
  text-align: center;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.entry-content .contact-tel {
  display: flex;
  font-size: 2rem;
  text-decoration: none;
  line-height: 1.3;
  text-align: center;
  color: #275c46 !important;
  margin-bottom: 8px;
  border-bottom: 2px solid #275c46;
  padding-bottom: 1px;
  align-items: center;
}

.entry-content .contact-tel::before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
  color: #275c46;
  font-size: 1.5rem;
}

.entry-content .contact-time {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #2f4f4f; /* 落ち着いたダークグレー */
}

.entry-content .contact-note {
  margin: 0;
  font-size: 0.9rem;
  color: #3e8e7e; /* 薄いグリーン寄りの文字色 */
}

/* 開館時間用 */
.entry-content .contact-item.openhours dd {
  display: block;
  font-size: 1rem;
  text-align: left;
  padding: 5px 30px;
}

.entry-content .openhours-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #56c596;
}

.entry-content .openhours-item:last-child {
  border-bottom: none;
}

.entry-content .openhours-item .label {
  font-weight: bold;
  color: #2f4f4f;
}

.entry-content .openhours-item .value {
  color: #3e8e7e;
}

/* 電話ボックスの時間表示 */
.entry-content .phone-hours {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.entry-content .phone-time-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 6px 0;
  border-bottom: 1px dashed #56c596;
}

.entry-content .phone-time-item:last-child {
  border-bottom: none;
}

.entry-content .phone-time-item .label {
  font-weight: bold;
  color: #2f4f4f;
  font-size: 1rem;
  padding-right: 20px;
}

.entry-content .phone-time-item .value {
  color: #3e8e7e;
  font-size: 1rem;
}


/* フッター内のみ適用 */
footer .contact-boxes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

footer .contact-item {
  flex: 1 1 calc((100% - 20px) / 2);
  background-color: #e2f0fa;
  padding: 12px 12px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

footer .contact-item dl {
  margin: 0;
}

footer .contact-item dt {
  background-color: #3569a8;
  border-radius: 6px;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  padding: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}

footer .contact-item dd {
  margin: 0;
  line-height: 1.5;
  text-align: center;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer .contact-tel {
  display: flex;
  font-size: 2rem;
  text-decoration: none;
  line-height: 1.3;
  text-align: center;
  color: #3569a8 !important;
  margin-bottom: 8px;
  border-bottom: 2px solid #3569a8;
  padding-bottom: 1px;
  align-items: center;
}

footer .contact-tel::before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
  color: #3569a8;
  font-size: 1.5rem;
}

footer .contact-time {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #333;
}

footer .contact-note {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* 開館時間用 */
footer .contact-item.openhours dd {
  display: block;
  font-size: 1rem;
  text-align: left;
  padding: 5px 30px;
}

footer .openhours-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #ccc;
}

footer .openhours-item:last-child {
  border-bottom: none;
}

footer .openhours-item .label {
  font-weight: bold;
  color: #444;
}

footer .openhours-item .value {
  color: #222;
}

/* 電話ボックスの時間表示 */
footer .phone-hours {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer .phone-time-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 6px 0;
  border-bottom: 1px dashed #ccc;
}

footer .phone-time-item:last-child {
  border-bottom: none;
}

footer .phone-time-item .label {
  font-weight: bold;
  color: #444;
  font-size: 1rem;
  padding-right: 20px;
}

footer .phone-time-item .value {
  color: #222;
  font-size: 1rem;
}





/* スマホは縦並び */
@media screen and (max-width: 768px) {
  .contact-boxes {
    flex-direction: column;
  }
.contact-item {
  flex: 1 1 100%;
margin: 0 10px;
}
	.top-contact{margin: 0 20px !important;}
}









.footer-sns {
margin-top: 10px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
width: 60px;
height: 60px;
border-radius: 12px;
background: #fff;
color: #000 !important;
font-size: 30px;
  transition: transform 0.2s ease, background 0.3s ease;
text-decoration: none !important;
}

.footer-sns a:hover {
background: gray;
  transform: translateY(-3px);
}


/* PC（769px以上）は非表示 */
@media screen and (min-width: 1024px) {
  .entry-content .toc {
display: none !important;
  }
}











/* オーバーレイ背景 */
.overlay-img-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}
.overlay-img-lightbox.active {
  opacity: 1;
}
/* 画像ラッパー */
.overlay-img-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: inline-block;
}
/* 拡大画像 */
.overlay-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}
/* ボタン共通スタイル */
.overlay-close-btn,
.overlay-zoom-btn {
  position: fixed; /* 画面上に固定 */
  top: 20px;
  width: 80px;
  height: 70px;
  border-radius: 12px;
  font-weight: bold;
  border: 2px solid #000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 8px 4px;
}

/* ボタン内のスタイリング */
.overlay-close-btn::before,
.overlay-zoom-btn::before {
  content: attr(data-symbol);
  font-size: 2rem;
  margin-bottom: 2px;
}

.overlay-close-btn::after,
.overlay-zoom-btn::after {
  content: attr(data-text);
  font-size: 0.75rem;
  white-space: nowrap;
}

/* 閉じるボタン */
.overlay-close-btn {
  right: 20px;
  background: red;
  color: #fff;
}
/* 拡大縮小ボタン */
.overlay-zoom-in {
  right: 120px;
  background: #fff;
  color: #000;
}
.overlay-zoom-out {
  right: 220px;
  background: #fff;
  color: #000;
}
/* ホバー効果 */
.overlay-close-btn:hover,
.overlay-zoom-btn:hover {
  transform: scale(1.1);
}
/* スマホ対応 */
@media (max-width: 1024px) {
  .overlay-close-btn,
  .overlay-zoom-btn {
    width: 70px;
    height: 65px;
    top: 15px;
  }
  
  .overlay-close-btn::before,
  .overlay-zoom-btn::before {
    font-size: 1.8rem;
  }
  
  .overlay-close-btn::after,
  .overlay-zoom-btn::after {
    font-size: 0.7rem;
  }
  
  .overlay-zoom-in { right: 100px; }
  .overlay-zoom-out { right: 180px; }
}








.add-slidemenu-contents > *:last-child {
margin-bottom: 20px; 
}

/* STEP全体カウンター初期化 */
.step_container {
  counter-reset: step;
  margin: 1rem 0;
}

/* STEPコンテンツ縦並び */
.step_content {
  display: flex;
  flex-direction: column;
gap: 30px;
}

/* STEPアイテム */
.step_item_container {
  display: flex;
  position: relative;
  padding-left: 70px; /* ラベル幅＋余白 */
  align-items: flex-start;
  min-height: 50px; /* 最小の高さを確保 */
}

/* STEPラベル丸 */
.step_item_counter_label {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f05f8d;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-align: center;
  z-index: 1;
}

/* STEP文字 */
.step_item_counter_label::before {
  content: 'STEP';
  font-size: 0.6rem;
  line-height: 1;
}

/* 番号 */
.step_item_counter_label::after {
  counter-increment: step;
  content: counter(step);
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 2px;
}

/* 縦ライン（ラベル下端から次のSTEPまで） */
.step_item_container::before {
  content: '';
  position: absolute;
  left: 25px;      /* ラベル中央 */
  top: 50px;       /* ラベル下端からスタート */
  width: 2px;
  background-color: #fab1c6;
  z-index: 0;
height: calc(100% + 30px); /* アイテム高さ + gap分を追加 */
}

/* 最後のSTEPはラインを消す */
.step_item_container:last-child::before {
  display: none;
}

/* 内側コンテンツ */
.step_item_inner_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 10px; /* 下部に余白を追加してラインとの調整 */
}

/* タイトル */
.step_item_title {
font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 6px;
  color: #333;
}

/* 本文 */
.step_item_content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  word-break: break-word;
}

/* ================================== */
/* 1024px 以下のレスポンシブ調整 */
@media screen and (max-width: 1024px) {
  .step_item_container {
    padding-left: 60px;
    min-height: 40px;
  }
  
  .step_item_counter_label {
    width: 40px;
    height: 40px;
  }
  
  .step_item_counter_label::before {
    font-size: 0.5rem;
  }
  
  .step_item_counter_label::after {
    font-size: 1.2rem;
  }
  
  .step_item_container::before {
    left: 20px;
    top: 40px;  /* ラベル下端から開始 */
    width: 2px;
    height: calc(100% + 20px); /* アイテム高さ + gap分を追加 */
  }
  
  .step_item_title {
font-size: 1.2rem;
  }
  
  .step_item_content {
    font-size: 0.9rem;
  }
}

.toc-title::after {
content: "項目をクリックして移動";
font-size: 0.9em;
color: #83bcfc;
margin-left: 20px;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.3s ease, transform 0.3s ease;
font-weight: lighter;
}

.sidebar-scroll:hover .toc-title::after {
  opacity: 1;
  transform: translateY(0);
}