@charset "UTF-8";
/* --- ブレイクポイント定義（SWELLに準拠） --- */
/* --- キーフレーム定義 --- */
/* ローディング：スピナー用（回転） */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* --- スタイル定義 --- */
/* 共通設定 */
/* メインカラー */
/* 背景色 */
/* 背景色2 */
/* 文字色 */
/* 文字色2 */
/* 文字色3 */
/* ボーダー色 */
.text-primary {
  color: #e87c17;
}

.text-color {
  color: #333333;
}

.text-sub-color {
  color: #6B5B4D;
}

.text-min-color {
  color: #666666;
}

/* ベースフォント */
/* 見出しフォント */
.f-heading {
  font-family: "Noto Serif JP", serif;
}

.c-pageTitle {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
}

.post_content h2, .post_content h3 {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
}

.fs-xs {
  font-size: 14px;
}

.fs-base {
  font-size: 16px;
}

.fs-sm {
  font-size: 20px;
}

.fs-md {
  font-size: 24px;
}

.fs-lg {
  font-size: 26px;
}

.fs-xl {
  font-size: 30px;
}

.fs-xxl {
  font-size: 36px;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-none {
  display: none;
}

.portfolio-loading-spinner {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(232, 124, 23, 0.2);
  border-top: 4px solid #e87c17;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* --- 共通css --- */
.content-cover {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.content-inner {
  max-width: calc(1320px + 8vw);
  margin: 0 auto 6em;
  padding: 0 4vw;
}

.d-flex {
  display: flex;
}

@media screen and (min-width: 960px) {
  .d-md-flex {
    display: flex;
  }
}

@media screen and (min-width: 1080px) {
  .d-lg-flex {
    display: flex;
  }
}

@media screen and (min-width: 1200px) {
  .d-xl-flex {
    display: flex;
  }
}

@media screen and (min-width: 1320px) {
  .d-xxl-flex {
    display: flex;
  }
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

@media screen and (min-width: 960px) {
  .flex-md-row {
    flex-direction: row;
  }
}

@media screen and (min-width: 1080px) {
  .flex-lg-row {
    flex-direction: row;
  }
}

@media screen and (min-width: 1200px) {
  .flex-xl-row {
    flex-direction: row;
  }
}

@media screen and (min-width: 1320px) {
  .flex-xxl-row {
    flex-direction: row;
  }
}

.border {
  border: 1px solid #e87c17;
}

.text-center {
  text-align: center;
}

@media screen and (max-width: 599px) {
  .sp-left {
    text-align: left;
  }
}

.d-sm-block {
  display: block;
}
@media screen and (min-width: 600px) {
  .d-sm-block {
    display: none;
  }
}

/* --- パターン：ご予約・お問い合わせ --- */
.top-cta {
  background-color: #e87c17;
  padding: 3em 5%;
}
.top-cta__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  align-items: center;
}
.top-cta__blocks {
  display: flex;
  gap: 2em;
  width: 100%;
  align-items: stretch;
}
.top-cta__block {
  flex: 1;
  text-align: center;
  color: #6B5B4D;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1em;
  padding: 2em 1.5em;
}
.top-cta__block:first-child {
  border-right: none;
}
.top-cta__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0.3em;
  letter-spacing: 0.05em;
  font-family: "Noto Serif JP", serif;
  color: #6B5B4D;
}
.top-cta__sub {
  font-size: 16px;
  margin-bottom: 1.2em;
  line-height: 1.6;
  color: #6B5B4D;
}
.top-cta__note {
  font-size: 14px;
  margin-top: 0.6em;
  color: #6B5B4D;
  opacity: 0.8;
}
.top-cta__note a {
  color: #6B5B4D;
  border-bottom: 1px solid #6B5B4D;
}
.top-cta__caution {
  font-size: 14px;
  color: #FFFFFF;
  opacity: 0.9;
  text-align: center;
}
.top-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0.6em;
  background-color: #FFFFFF;
  color: #6B5B4D;
  font-size: 20px;
  font-weight: bold;
  padding: 0.65em 2.5em 0.65em 2em;
  border-radius: 50px;
  text-decoration: none;
  width: 100%;
  transition: box-shadow 0.15s, transform 0.15s;
  line-height: 1;
  box-shadow: 0 4px 0 rgb(174, 93, 17);
  border: 2px solid #e87c17;
  background-color: #FFF8F1;
}
.top-cta__btn::after {
  content: "→";
  position: absolute;
  right: 1.2em;
  font-size: 0.8em;
  color: #FFFFFF;
  background: #e87c17;
  border-radius: 1.2rem;
  padding: 0.2rem;
  line-height: 1.04;
}
.top-cta__btn:hover {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #cccccc;
}
.top-cta__btn__icon {
  color: #e87c17;
  font-size: 1.1em;
  line-height: 1;
  width: 1.2em;
}
.top-cta__btn--line {
  border: 2px solid #6c8e2d;
  box-shadow: 0 4px 0 rgb(78.5454545455, 103.2727272727, 32.7272727273);
  background-color: #f1f5ea;
}
.top-cta__btn--line::after {
  background: #6c8e2d;
}
.top-cta__btn--line__icon {
  color: inherit;
  font-size: inherit;
}
@media screen and (max-width: 959px) {
  .top-cta__btn {
    font-size: 1.2rem;
    padding: 0.55em 2.5em 0.55em 1.5em;
  }
}
@media screen and (max-width: 959px) {
  .top-cta {
    padding: 1.8em 5%;
  }
  .top-cta__inner {
    gap: 1.5em;
  }
  .top-cta__blocks {
    flex-direction: column;
    gap: 1.5em;
  }
  .top-cta__block:first-child {
    padding: 1.5em 1.5em;
  }
  .top-cta__block:last-child {
    padding: 1.5em 1.5em;
  }
  .top-cta__title {
    font-size: 1.1em;
    margin-bottom: 0.2em;
  }
  .top-cta__sub {
    font-size: 14px;
    margin-bottom: 0.8em;
  }
}

/* --- ハンバーガーメニュー --- */
.p-spMenu__inner::before {
  background-color: #FFF8F1;
}

.c-widget__title.-spmenu {
  display: none;
}

.hamburger-reserve-btn {
  display: block;
  color: #333333;
  align-items: center;
  display: inline-flex;
  gap: 0.5em;
  justify-content: center;
  box-shadow: 0 4px 0 rgb(174, 93, 17);
  border: 2px solid #e87c17;
  border-radius: 30px;
  width: 300px;
  font-size: 1.4rem;
  line-height: 1.4;
  margin: 0.2rem 0 1rem;
  padding: 0.5rem 1rem;
  background-color: #FFFFFF;
}
.hamburger-reserve-btn:hover {
  box-shadow: 0 0 0 transparent;
  -webkit-transform: translate3d(0, 4px, 0);
  transform: translate3d(0, 4px, 0);
}
.hamburger-reserve-btn i {
  font-size: 1.3rem;
}
.hamburger-reserve-btn img {
  width: 2.5rem;
}
.hamburger-reserve-btn span {
  line-height: 1;
}
.hamburger-reserve-btn p {
  color: #fff;
}

/* --- ヘッダー --- */
.-parallel-bottom .l-header__logo {
  width: max-content;
  padding: 0;
}

.-parallel-bottom .l-header__inner {
  justify-content: space-between;
  padding-top: 0;
}

.l-header.-parallel .w-header {
  width: max-content;
  margin-top: 0;
  margin-bottom: 0;
  transform: translateY(-7px);
}

#gnav {
  padding-top: 1rem;
}

.c-gnav {
  font-family: "Noto Serif JP", serif;
}
.c-gnav > .menu-item > a .ttl {
  font-size: 16px;
  color: #6B5B4D;
  font-weight: bold;
  padding: 0 2rem;
}
.c-gnav > .menu-reserve > a {
  background-color: #e87c17;
  transition: 0.4s;
}
.c-gnav > .menu-reserve > a .ttl {
  color: #FFFFFF;
  font-weight: normal;
}
.c-gnav > .menu-reserve > a::after {
  content: none;
}
.c-gnav > .menu-reserve > a:hover {
  background-color: #FFF8F1;
}
.c-gnav > .menu-reserve > a:hover .ttl {
  color: #e87c17;
}

@media screen and (min-width: 960px) {
  .-parallel .l-header__gnav .c-gnav {
    justify-content: space-evenly;
  }
}

.l-header__bar, .-parallel-bottom .l-header__inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.l-header__barInner {
  padding: 0;
}

#header-tel {
  margin-left: 1rem;
  font-size: 30px;
  color: #e87c17;
}

/* --- フッター --- */
@media screen and (max-width: 959px) {
  .p-fixBtnWrap {
    bottom: 4rem;
  }
  .w-footer__box {
    padding: 0;
  }
  .l-footer {
    z-index: 5;
  }
}
.l-footer {
  padding-bottom: 50px;
}

.sp-footer-menu {
  display: none;
}
@media screen and (max-width: 959px) {
  .sp-footer-menu {
    display: flex;
    list-style: none;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 10;
  }
  .sp-footer-menu__btn {
    width: 100%;
    margin: 0;
    text-align: left;
  }
  .sp-footer-menu__btn a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    padding: 0.75rem 1rem 0.75em 1.5rem;
    color: #fff;
  }
  .sp-footer-menu__btn:first-child {
    background: #6B5B4D;
  }
  .sp-footer-menu__btn:nth-child(2) {
    background: #e87c17;
  }
  .sp-footer-menu__btn__text {
    padding: 0 1rem 0 0.5rem;
  }
}

/* --- トップページ --- */
.pickupSlider__swiper {
  width: 100%;
  height: auto;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  width: 100%;
}

.swiper-slide {
  width: 100%;
  height: auto;
  display: flex;
  flex-shrink: 0;
}
@media screen and (max-width: 959px) {
  .swiper-slide.has-background {
    padding: 2em 2.5em;
  }
}

.swiper-slide > div {
  width: 100%;
}

.swiper-button-next, .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #6B5B4D;
  border: 1px solid #6B5B4D;
  border-radius: 30px;
  cursor: pointer;
}
.swiper-button-next::after, .swiper-button-prev::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 20px;
}

.swiper-button-prev {
  left: -30px;
}
@media screen and (max-width: 959px) {
  .swiper-button-prev {
    left: -10px;
  }
}
.swiper-button-prev::after {
  content: "\f104"; /* Font Awesomeの左矢印アイコン */
}

.swiper-button-next {
  right: -30px;
}
@media screen and (max-width: 959px) {
  .swiper-button-next {
    right: -10px;
  }
}
.swiper-button-next::after {
  content: "\f105"; /* Font Awesomeの右矢印アイコン */
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media screen and (max-width: 959px) {
  .wp-block-group.pickupSlider__item {
    display: block;
  }
}

.top-pickup-header {
  position: relative;
}
.top-pickup-header::before {
  content: "迷ったらこれ！";
  font-size: 16px;
  color: #6B5B4D;
  position: absolute;
  top: -1.3rem;
  left: calc(50% - 9.5em);
  transform: translateX(-50%) rotate(-8deg);
  background: linear-gradient(transparent 64%, rgba(232, 124, 23, 0.4) 0%);
  padding: 0 1em;
  z-index: -1;
}
@media screen and (max-width: 599px) {
  .top-pickup-header::before {
    top: -2rem;
    left: calc(50% - 5em);
  }
}

.top-pickup__title {
  border-bottom: 1px solid #666666;
  padding-bottom: 0.5em;
}

.p-mainVisual__inner {
  min-height: 600px;
}

.p-mainVisual__textLayer {
  font-family: "Noto Serif JP", serif;
  justify-content: flex-start;
}
.p-mainVisual__textLayer .p-blogParts {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.p-mainVisual__textLayer .top_copy {
  margin-top: 1% !important;
}
@media screen and (max-width: 959px) {
  .p-mainVisual__textLayer .top_copy {
    font-size: 1rem;
    margin-top: 5% !important;
  }
}
.p-mainVisual__textLayer .top_copy__text {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.5em 1em 0.5em;
  line-height: 1.1;
  display: inline-block;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 959px) {
  .p-mainVisual__textLayer .top_copy__text {
    padding: 0.5em 1em;
  }
}
.p-mainVisual__textLayer .top_subcopy {
  color: #FFFFFF;
  text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px;
  font-size: 20px;
}
@media screen and (max-width: 959px) {
  .p-mainVisual__textLayer .top_subcopy {
    font-size: 16px;
  }
}
.p-mainVisual__textLayer .top_point__inner {
  width: 50%;
  min-width: 480px;
  margin-left: auto;
  gap: 0 !important;
}
@media screen and (max-width: 959px) {
  .p-mainVisual__textLayer .top_point__inner {
    width: 100%;
    min-width: auto;
    position: absolute;
    bottom: 3rem;
  }
}
.p-mainVisual__textLayer .top_point__item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 10px;
  color: #6B5B4D;
}
@media screen and (max-width: 959px) {
  .p-mainVisual__textLayer .top_point__item {
    font-size: 10px;
    font-weight: bold;
    padding: 0;
    line-height: 1.4;
  }
}
.p-mainVisual__textLayer .top_point__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
@media screen and (max-width: 959px) {
  .p-mainVisual__textLayer .top_point__item::before {
    width: 110px;
    height: 110px;
  }
}

.top-reason {
  counter-reset: point;
}

.top-point {
  counter-increment: point;
  position: relative;
  font-family: "Noto Serif JP", serif;
}
.top-point::before {
  content: "POINT";
  text-align: center;
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 13px;
  color: #FFFFFF;
  background-color: #e87c17;
  border-radius: 30px;
  width: 60px;
  height: 60px;
  padding: 0.6rem 0.5rem 0.5rem 0.5rem;
}
.top-point::after {
  content: counter(point);
  position: absolute;
  top: 10px;
  left: -10px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF;
  z-index: 1;
  width: 60px;
}

.top-pride {
  position: relative;
}
.top-pride .top-pride__content {
  width: 60%;
  padding: 7em 10% 7em 3em;
}
@media screen and (max-width: 599px) {
  .top-pride .top-pride__content {
    width: 100%;
    padding: 6em 3em 4em 3em;
  }
}
.top-pride .top-pride__content::before {
  content: url(/wp-content/themes/kaifuku/assets/img/top/foot-reflexology-massage.svg);
  position: absolute;
  top: -5%;
  left: -2%;
  z-index: 1;
}
@media screen and (max-width: 599px) {
  .top-pride .top-pride__content::before {
    top: -200px;
    left: -1%;
  }
}
.top-pride .top-pride__content__title {
  color: #6B5B4D;
  font-size: 1.3em;
}
.top-pride .top-pride__content__text {
  line-height: 1.9;
}
.top-pride__image {
  width: 45%;
  position: absolute;
  top: -80px;
  right: 0;
}
@media screen and (max-width: 599px) {
  .top-pride__image {
    width: 80%;
    top: -160px;
  }
}

.top-menu__item__image, .top-staff__item__image {
  position: relative;
}
.top-menu__item__image figcaption, .top-staff__item__image figcaption {
  position: absolute;
  top: -0.4em;
  left: 0;
  opacity: 1;
  font-size: 1rem;
}
.top-menu__item__image figcaption span, .top-staff__item__image figcaption span {
  padding: 0.3rem 1rem;
}

.top-access__tel {
  width: fit-content;
  padding: 1em 2em;
}
.top-access__tel dd {
  margin-left: 0;
  padding: 0.5em 0 0 0;
}
.top-access__tel__number {
  color: #e87c17;
  margin-bottom: 0;
}

/* --- メニュー・料金ページ --- */
@media screen and (max-width: 959px) {
  .post_content .menu-title {
    font-size: 20px;
  }
}
.post_content .menu-title + p {
  font-size: 1.1rem;
}
.post_content .menu-subtitle {
  padding-top: 0.3em;
  margin-bottom: 1em;
}

.menu-title div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFF8F1;
  padding: 0.75em 1em;
}
@media screen and (max-width: 599px) {
  .menu-title div {
    display: block;
  }
}
.menu-title div p {
  display: inline-block;
  color: #6B5B4D;
  padding-left: 1em;
  border-left: 2px solid #6B5B4D;
}
@media screen and (max-width: 599px) {
  .menu-title div p {
    font-size: 1rem;
    margin-top: 1em !important;
  }
}

.price-table-thead {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid #dcdcdc;
  padding: 0.5rem 1rem;
}
.price-table-thead .price-table-thead__title {
  color: #6B5B4D;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  position: relative;
}
@media screen and (max-width: 959px) {
  .price-table-thead .price-table-thead__title {
    grid-column: span 6;
  }
}
.price-table-thead .price-table-thead__title::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  left: -1rem;
  top: 0;
  background-color: #6B5B4D;
}

.price-table-tr {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid #dcdcdc;
  padding: 0.5rem 1rem;
}
@media screen and (max-width: 959px) {
  .price-table-tr {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 959px) {
  .price-table-tr .price-table-tr__th {
    grid-column: 1/-1;
  }
}
.price-table-tr .price-table-tr__th p:nth-child(1) {
  font-weight: bold;
}
@media screen and (max-width: 959px) {
  .price-table-tr .price-table-tr__td {
    grid-column: span 3;
  }
}
.price-table-tr .swl-fz {
  word-break: keep-all;
}
@media screen and (max-width: 959px) {
  .price-table-tr__simple .price-table-tr__th {
    grid-column: span 4;
  }
  .price-table-tr__simple .price-table-tr__td {
    grid-column: span 2;
  }
}

/* --- 目次表示ショートコード --- */
/* 横並びボタン版（toc_buttons） */
.toc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media screen and (max-width: 959px) {
  .toc-buttons {
    gap: 6px;
  }
}

.toc-button {
  display: inline-block;
  padding: 1rem 0.5rem;
  background-color: #FFF8F1;
  color: #6B5B4D;
  transition: background-color 0.3s ease;
  border: 1px solid #6B5B4D;
  width: calc(20% - 8px);
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toc-button:hover {
  color: white;
  background-color: #6B5B4D;
}
@media screen and (max-width: 959px) {
  .toc-button {
    width: calc(50% - 6px);
  }
}

/* アコーディオン版（toc_accordion） */
.p-tocMenu {
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 16px;
}
.p-tocMenu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.p-tocMenu__item {
  border-bottom: 1px solid #eee;
}
.p-tocMenu__item:last-child {
  border-bottom: none;
}
.p-tocMenu__header {
  color: #333333;
  border-bottom: 1px solid #dcdcdc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: background-color 0.3s ease;
}
.p-tocMenu__header:hover {
  color: #e87c17;
}
@media screen and (max-width: 959px) {
  .p-tocMenu__header {
    font-size: 14px;
  }
}
.p-tocMenu__title {
  flex-grow: 1;
  padding: 0.75em 0.5em;
}
.p-tocMenu__toggle {
  user-select: none;
  background: none;
  border: none;
  padding: 0.75em 0.5em;
  width: 40px;
  color: #333333;
}
.p-tocMenu__submenu {
  list-style: none;
  margin: 0;
  max-height: 100vh;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.p-tocMenu__submenu.is-hidden {
  max-height: 0;
  opacity: 0;
}
@media screen and (max-width: 959px) {
  .p-tocMenu__submenu.is-hidden {
    padding: 0;
  }
}
.p-tocMenu__subitem {
  padding: 0.25em;
}
.p-tocMenu__link {
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 0.25em 0;
  transition: color 0.3s ease;
}
.p-tocMenu__link:hover {
  color: #e87c17;
}
.p-tocMenu__link:hover .p-tocMenu__link__subicon {
  color: #e87c17;
}
.p-tocMenu__link__subicon {
  color: #333333;
  margin-right: 0.5em;
}

/* スマホドロワー版（toc_accordion モバイル用） */
@media screen and (max-width: 959px) {
  .p-tocMenu {
    display: none;
  }
}
.p-tocDrawer__trigger {
  display: none;
}
@media screen and (max-width: 959px) {
  .p-tocDrawer__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    bottom: 10%;
    z-index: 1000;
    writing-mode: vertical-rl;
    background-color: #e87c17;
    color: #fff;
    border: none;
    padding: 1em 0.6em;
    font-size: 14px;
    font-family: "Noto Serif JP", serif;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    letter-spacing: 0.15em;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }
  .p-tocDrawer__trigger:hover {
    background-color: rgb(185.6, 99.2, 18.4);
  }
}

.p-tocDrawer__overlay {
  display: none;
}
@media screen and (max-width: 959px) {
  .p-tocDrawer__overlay.is-active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }
}

.p-tocDrawer {
  display: none;
}
@media screen and (max-width: 959px) {
  .p-tocDrawer {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    z-index: 1002;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  }
  .p-tocDrawer.is-active {
    left: 0;
  }
}
.p-tocDrawer__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border: none;
  padding: 1rem;
  width: 100%;
  font-size: 24px;
  color: #333333;
  cursor: pointer;
  transition: color 0.3s ease;
}
.p-tocDrawer__close:hover {
  color: #e87c17;
}
.p-tocDrawer__heading {
  margin: 0 1rem 1rem;
}
.p-tocDrawer__list {
  list-style: none;
  margin: 0;
  padding: 0 1rem 2rem;
}
.p-tocDrawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dcdcdc;
}
.p-tocDrawer__link {
  flex-grow: 1;
  display: block;
  padding: 0.5em 0.5em;
  color: #333333;
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  text-decoration: none;
  transition: color 0.3s ease;
}
.p-tocDrawer__link:hover {
  color: #e87c17;
}
.p-tocDrawer__toggle {
  user-select: none;
  background: none;
  border: none;
  padding: 0.75em 0.5em;
  width: 40px;
  color: #333333;
  cursor: pointer;
  flex-shrink: 0;
}
.p-tocDrawer__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5em 0.75em;
  border-bottom: 1px solid #dcdcdc;
  max-height: 100vh;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.p-tocDrawer__sublist.is-hidden {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border-bottom: none;
}
.p-tocDrawer__subitem {
  padding: 0.1em 0;
}
.p-tocDrawer__subicon {
  color: #666666;
  margin-right: 0.3em;
  font-size: 12px;
}
.p-tocDrawer__sublink {
  display: block;
  padding: 0.35em 0.5em;
  color: #333333;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.p-tocDrawer__sublink:hover {
  color: #e87c17;
}
.p-tocDrawer__sublink:hover .p-tocDrawer__subicon {
  color: #e87c17;
}

/* --- アクセス --- */
.route-list {
  counter-reset: route-step;
}

.access-list {
  position: relative;
}
.access-list::before {
  counter-increment: route-step;
  content: counter(route-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 2rem;
  background: #6B5B4D;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.access-list::after {
  position: absolute;
  color: #e87c17;
  font-weight: bold;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
@media screen and (max-width: 599px) {
  .access-list::after {
    display: flex;
    font-family: "Font Awesome 6 Free";
    content: "\f0dd";
    font-size: 2rem;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

.route-list > .is-layout-constrained > .wp-block-columns:last-child > .wp-block-column:last-child .access-list::after {
  display: none !important;
}