@charset "UTF-8";

/* ===============================
   Modern Reset (一例)
   =============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  /*  scroll-behavior: smooth;
  scroll-padding-top: 0;*/
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
dl,
dd,
ul,
ol,
li,
fieldset,
form,
legend,
label,
input,
select,
textarea,
table,
caption,
th,
td {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #f7f7f7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
}

iframe {
  display: block;
  /* インライン要素の隙間を除去したい場合に */
  max-width: 100%;
  /* 親要素の幅を超えないようにする */
  border: 0;
  /* デフォルトの枠線を消す */
  aspect-ratio: 16 / 9;
  /* 16:9のアスペクト比を指定 (モダンブラウザ対応) */
  /* object-fit: cover;    ※ iframe には効かないブラウザが多い */
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  /* 必要なら残す */
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem;
}

table {
  border-collapse: collapse;
}

ul,
ol {
  list-style: none;
}

/* ===============================
   Base styles
   =============================== */
button,
input,
textarea,
select {
  font-family: inherit;
  color: inherit;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  appearance: none;
}

h2 {
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: clamp(1rem, 0.927rem + 0.36vw, 1.2rem);
}

.container.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  column-gap: 2rem;
  row-gap: 4rem;
}

@media (max-width: 768px) {
  .container.with-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .container.with-sidebar main {
    padding: 0 1rem;
  }
}

/* ===============================
   Headings
   =============================== */
/*h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  text-wrap: balance;
  line-height: 1.2;
}
h1, h2 {
  line-height: 1;
}
h4 {
  font-size: 1rem;
  margin: 2rem 0 1rem;
}
h4:first-child {
  margin-top: 0;
}
h4::before {
  content: "■ ";
  display: inline-block;
  position: relative;
  color: #333;
  margin-right: 5px;
}
h2 + p {
  text-wrap: balance;
}
h3 + p, h4 + p {
  margin-bottom: 2rem;
}*/
/* ===============================
   Links
   =============================== */
a {
  color: #333;
  text-decoration: none;
  font-weight: 900;
  transition: 0.3s;
}

a:hover,
a:active,
a:visited {
  color: #333;
}

a:hover {
  opacity: 0.5;
}

/* PCは電話番号リンク無効化 (768px以上) */
@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }
}

p a {
  color: #FF8C00
}

p a:hover,
p a:active,
p a:visited {
  color: #FF8C00;
}

/******************************
site-header 
******************************/
.site-header {
  background-color: #fff;
  padding: 1rem;
  position: relative;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ロゴ */
.site-logo img {
  width: 120px;
  height: auto;
}

/* サイトタイトル */
.site-header .container .site-title h1,
.site-header .container .site-title p {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  font-size: clamp(1rem, 0.765rem + 1.18vw, 1.5rem);
  font-weight: bold;
  line-height: 1;
  margin: 0;
}

.site-header .container .site-title p.tagline-text {
  margin-top: 0.3rem;
  font-size: clamp(0.65rem, 0.7rem + 0.8vw, 0.9rem);
  opacity: 0.8;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .site-header .container .site-title p.tagline-text {
    text-align: left;
  }
}

.site-header .container .site-title h1 a,
.site-header .container .site-title p a {
  color: #333;
  text-decoration: none;
}

/* ナビゲーションの外枠 */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* メニューリスト */
.site-header .main-nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  /* align-items: center; */
}

.site-header .main-nav-list li {
  margin: 0;
  padding: 0;
}

.main-nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 0.8rem;
}

/* メニューリスト（サブ） */
.sub-menu-wrapper {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .sub-menu-wrapper {
    display: none;
  }
}

.site-header .sub-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.site-header .sub-nav-list li {
  margin: 0;
  padding: 0;
}

.sub-nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 0.8rem;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 4px 10px;
}

.nav-content-wrapper p.menu-title {
  display: none;
  text-align: center;
  border-bottom: 2px solid #6c9c23;
  padding: 0 0 0.5rem 0;
}

.nav-content-wrapper .pc-hidden {
  display: none;
  margin: 2rem 0 0 0;
}

.nav-content-wrapper .pc-hidden.op-search {
  margin: 0 0 3rem 0;
}

.nav-content-wrapper .pc-hidden .category-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.nav-content-wrapper .pc-hidden .category-list .cat-item a {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
}

.nav-content-wrapper .pc-hidden .menu-search {
  margin-bottom: 1rem;
}

.nav-content-wrapper .pc-hidden .menu-search form {
  display: flex;
}

.nav-content-wrapper .pc-hidden .menu-search input[type="search"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
  width: 100%;
}

.nav-content-wrapper .pc-hidden .menu-search input[type="submit"] {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  background: #d35400;
  color: white;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-content-wrapper p.menu-title {
    display: block;
  }

  .site-header-inner {
    justify-content: space-between;
    /*position: relative;*/
  }

  .nav-wrapper {
    flex-direction: column;
    align-items: flex-end;
    width: auto;
  }

  .nav-content-wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    /* ← スライドアウト状態 */
    width: 80%;
    /* または 100% にしてもOK */
    height: 100vh;
    /* 画面高さいっぱい */
    background-color: #fff;
    padding: 2rem 1.5rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .nav-content-wrapper .pc-hidden {
    display: block;
  }

  .nav-content-wrapper.active {
    left: 0;
    /* ← スライドイン状態 */
  }

  .main-nav-list {
    flex-direction: column;
    margin-top: 1rem;
  }

  .main-nav-list li a {
    display: block;
    /* padding: 0.75rem 0; */
    /* border-bottom: 1px solid #eee; */
  }
}

/* ハンバーガーボタン */
.nav-toggle--wrapper {
  display: none;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
}

.nav-toggle {
  width: 50px;
  height: 50px;
  cursor: pointer;
  margin: 0 auto;
  position: relative;
}

.nav-toggle span {
  display: block;
  margin: 0;
  border: none;
  width: 50%;
  height: 3px;
  background: #000;
  transform-origin: 0% 50%;
  position: absolute;
  top: 12px;
  left: 25%;
  transition: 0.3s;
}

/* ハンバーガー変形用 */
.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 30px;
}

/* ハンバーガー開いた時（バツに変形） */
.nav-toggle.open span {
  left: 30%;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  width: 52%;
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  top: 30px;
  transform: rotate(-45deg);
  width: 52%;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .nav-toggle--wrapper {
    display: block;
  }

  .nav-toggle {
    display: flex;
    z-index: 1100;
    /* メニューより前面に */
  }
}

/******************************
hero-slider
******************************/
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 300px;
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 300px;
  }
}

.hero-slider .slider {
  height: 100%;
  position: relative;
}

.hero-slider .slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  /* 半透明背景：読みやすさUP */
  padding: 1rem 40px;
  border-radius: 8px;
  max-width: 100%;
  min-width: 250px;
}

.hero-slider .slider-text h1 {
  font-size: clamp(1.5rem, 1.029rem + 2.35vw, 2.5rem);
  margin: 0;
  color: #fff;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  position: relative;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/******************************
lead-block
******************************/
section.lead-block {
  padding: 4rem 1rem;
  background-color: #f3f3f3;
}

@media (max-width: 768px) {
  section.lead-block {
    padding: 2rem 1rem;
  }
}

section.lead-block h2 {
  line-height: 1;
  text-align: center;
  margin: 0 0 1rem 0;
}

section.lead-block h2 span {
  color: #fff;
  background-color: #6c9c23;
  padding: 0.25rem 0.75rem;
  margin: 0 0 0 0.25rem;
}

section.lead-block .container {
  width: 1000px;
  max-width: 100%;
  margin: auto;
}

/******************************
post-list
******************************/
section.post-list {
  margin: 4rem 0;
}

@media (max-width: 768px) {
  section.post-list {
    margin: 2rem 0;
  }
}

section.post-list .btn-moreposts {
  display: block;
  background-color: #6c9c23;
  color: #fff;
  width: 200px;
  max-width: 100%;
  padding: 0.75rem;
  margin: 2rem auto 0 auto;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

section.post-list .container {
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

section.post-list h2.post-heading {
  position: relative;
  margin: 0 0 1.5rem 0;
  border-left: 8px solid #6c9c23;
  padding: 0 0 0 0.5rem;
}

section.post-list h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.post-items {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 4rem 0;
}

.post-items:last-of-type {
  margin: 0;
}

@media (max-width: 768px) {
  .post-items {
    grid-template-columns: minmax(0, 1fr);
  }
}

.post-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 768px) {
  .post-item {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.post-thumbnail {
  width: 220px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .post-thumbnail {
    width: 100%;
  }
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  /* トリミングして枠に収める */
  border-radius: 8px;
  /* お好みで角丸 */
}

@media (max-width: 600px) {
  .post-thumbnail img {
    height: auto;
    aspect-ratio: 3/2;
  }
}

.post-detail {
  flex: 1;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .post-detail {
    margin: 1rem 0 0 0;
  }
}

.post-items .post-item .post-excerpt {
  font-weight: normal;
  margin: 0 0 1rem 0;
  opacity: 0.7;
}

.post-detail .post-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-detail .post-data .post-date {
  position: relative;
  opacity: 0.7;
  line-height: 1;
  font-size: 0.8rem;
  padding: 0 0 0 1rem;
}

.post-detail .post-data .post-date::before {
  position: absolute;
  content: "";
  height: 0.8rem;
  width: 0.8rem;
  background: url("../img/icon-update.svg") center/contain no-repeat;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.post-detail .post-data ul {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.post-detail .post-data span {
  display: inline-block;
  background: #6c9c23;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.8rem;
}

/******************************
director-block
******************************/
/* 院長紹介セクション */
.director-block {
  /* ここに背景色や余白などのスタイルを追加 */
  background-color: #fff;
  padding: 4rem 1rem 0 1rem;
  margin: 4rem 0;
}

@media (max-width: 768px) {
  .director-block {
    padding: 2rem 1rem;
  }
}

/* コンテンツ幅制御用 */
.director-block .container {
  /* max-width や padding など */
  max-width: 1000px;
  margin: 0 auto;
}

/* 見出し */
.director-block h2.header-profile {
  /* タイトル用のスタイル */
  color: #6c9c23;
  font-size: clamp(1.5rem, 1.265rem + 1.18vw, 2rem);
  margin: 0 0 0.5rem 0;
  padding: 0;
  border: none;
}

@media (max-width: 768px) {
  .director-block h2.header-profile {
    text-align: center;
  }
}

.profile-content {
  display: flex;
  /* 横並びにするための基本 */
  gap: 2rem;
  /* テキストと画像の間隔 */
  align-items: center;
  /* 垂直方向の整列 */
}

/* 左側：テキストエリア */
.profile-text {
  /* 幅、フォント、余白調整など */
  flex: 1;
  align-self: flex-start;
  padding: 0 0 4rem 0;
}

@media (max-width: 768px) {
  .profile-text {
    flex: auto;
    padding: 0;
    width: 100%;
  }
}

/* 中見出し */
.profile-content .profile-text h3 {
  /* h3のスタイル */
  font-size: 1.2rem;
  margin: 0 0 1rem 0;
}

@media (max-width: 768px) {
  .profile-content .profile-text h3 {
    text-align: center;
  }
}

/* 右側：画像（サムネイル） */
.profile-thumb {
  /* 画像枠の調整、枠線や丸みなど */
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  align-self: flex-end;
  position: relative;
}

/* @media (max-width: 768px) {
  .profile-thumb::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, white, transparent);
  }
} */
.profile-thumb img {
  display: block;
  max-width: 100%;
  height: auto;
  display: block;
  /* border-radius: 50%; などで丸くもできる */
  margin: auto;
}

@media (max-width: 768px) {
  .profile-content {
    flex-wrap: wrap-reverse;
  }

  .profile-thumb {
    width: 100%;
    max-width: 300px;
    margin: 1.5rem auto 0 auto;
  }

  .profile-thumb img {
    max-height: 250px;
  }
}

.profile-name-logo {
  display: block;
  width: 120px;
  max-width: 100%;
  margin: 2rem 0 0 auto;
}

/******************************
map-block
******************************/
section.map-block {
  padding: 2rem 0 0 0;
  background-color: #f4eee3;
  margin: 0 0 2rem 0;
}

section.map-block h2 {
  text-align: center;
  margin: 0 0 1rem 0;
}

/******************************
site-footer
******************************/
footer.site-footer {
  margin: 2rem 0;
}

footer.site-footer p {
  text-align: center;
  font-size: 0.75rem;
}

footer.site-footer .logo {
  display: block;
  width: 150px;
  max-width: 100%;
  margin: 0 auto 1rem auto;
}

/******************************
relatesites-block
******************************/
section.relatesites-block {
  margin: 4rem 1rem;
}

section.relatesites-block h2 {
  text-align: center;
  margin: 0 0 2rem 0;
}

section.relatesites-block .banner-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  section.relatesites-block .banner-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

section.relatesites-block .container {
  width: 1000px;
  max-width: 100%;
  margin: auto;
}

/******************************
single-banner
******************************/
section.single-banner {
  margin: 1rem 0 0 0;
}

.banner-wrapper {
  width: 1200px;
  height: 300px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin: auto;
}

.banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  section.single-banner {
    margin: 0 0 0 0;
  }

  .banner-wrapper {
    width: 100%;
    height: auto;
    border-radius: 0;
  }

  .banner-wrapper img {
    aspect-ratio: 3/2;
  }
}

/******************************
sidebar ウィジェット共通スタイル
******************************/
.sidebar {
  color: #333;
}

/*@media (max-width: 768px) {
  .sidebar {
    margin: 0 1rem;
  }
}*/
.sidebar .widget {
  background-color: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
  /*border: 1px solid #e3e3e3;*/
  border-radius: 8px;
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);*/
}

@media (max-width: 768px) {
  .sidebar .widget {
    margin: 0 1rem 2rem 1rem;
  }
}

.widget-contact {
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .widget-contact {
    margin: 2rem 1rem;
  }
}

.widget-contact .btn-contact,
.widget-contact .btn-reserve {
  display: block;
  padding: 1rem;
  color: #fff;
  text-align: center;
  border-radius: 8px 8px 0 0;
  margin: 0 0 0 0;
}

.widget-contact .btn-contact:last-of-type,
.widget-contact .btn-reserve:last-of-type {
  margin: 0;
}

.widget-contact .btn-contact+.btn-mail {
  background-color: #d35400;
  display: block;
  border-radius: 0 0 8px 8px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 1rem 0;
}

.widget-contact .btn-contact .label-title,
.widget-contact .btn-reserve .label-title {
  background-color: #fff;
  color: #333;
  display: inline-block;
  padding: 0.25rem 1rem;
  font-weight: 900;
  border-radius: 8px;
  margin: 0 0 4px 0;
}

.widget-contact .btn-contact:hover,
.widget-contact .btn-reserve:hover {
  color: #fff;
}

.widget-contact .btn-contact .label-title {
  color: #0099ff;
}

.widget-contact .btn-reserve .label-title {
  color: #6c9c23;
}

.widget-contact .btn-contact .label-number,
.widget-contact .btn-reserve .label-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
}

.widget-contact .btn-contact .label-time,
.widget-contact .btn-reserve .label-time {
  position: relative;
  display: block;
  font-size: 0.8rem;
  line-height: 1;
}

.widget-contact .btn-contact .label-time::before,
.widget-contact .btn-reserve .label-time::before {
  position: relative;
  display: inline-block;
  content: "";
  background: url(../img/icon-time.svg) center/cover no-repeat;
  width: 1em;
  height: 1em;
  margin-right: 0.2rem;
  top: 2px;
}

.widget-contact .btn-contact .label-att,
.widget-contact .btn-reserve .label-att {
  display: block;
  font-size: 0.8rem;
  text-align: left;
  margin: 0.5rem 0 0 0;
}

.widget-contact .btn-contact {
  background: #0099ff;
}

.widget-contact .btn-reserve {
  background: #6c9c23;
  border-radius: 8px;
}

.wp-block-search__label {
  display: none;
}

/* ウィジェットタイトル */
.sidebar .widget h2,
.sidebar .wp-block-heading {
  position: relative;
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  padding: 0 0 0 1.5rem;
  border: none;
  font-weight: bold;
}

.sidebar .widget h2::before,
.sidebar .wp-block-heading::before {
  position: absolute;
  content: "";
  height: 1rem;
  width: 1rem;
  background: url("../img/icon-leave-green.svg") center/contain no-repeat;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* リスト系のスタイル */
.sidebar ul,
.sidebar ol {
  list-style: none;
  margin: 0;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
  /*padding: 0 0 0 1.5rem;*/
}

.sidebar a:hover {
  color: #333;
  opacity: 0.7;
}

/* 検索フォーム */
/* 検索フォーム内の横並び設定 */
.sidebar .wp-block-search__inside-wrapper {
  display: flex;
  gap: 0.5em;
  align-items: center;
}

/* 入力欄のスタイル調整 */
.sidebar .wp-block-search__input {
  flex: 1;
  height: 40px;
  padding: 0 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.2;
}

/* 検索ボタンのスタイル調整 */
.sidebar .wp-block-search__button {
  height: 40px;
  padding: 0 1em;
  background-color: #d35400;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar .wp-block-search__button:hover {
  background-color: #cc0000;
}

/* サムネイル付き最近の投稿ウィジェット */
.sidebar .thumbnail-recent-posts {
  padding: 0;
  margin: 0;
}

.sidebar .thumbnail-recent-posts li {
  margin-bottom: 10px;
}

.sidebar .thumbnail-recent-posts li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.sidebar .thumbnail-recent-posts li a:hover .recent-post-title {
  text-decoration: underline;
  opacity: 0.8;
}

.sidebar .thumbnail-recent-posts img.recent-post-thumb {
  width: auto;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #f0f0f0;
  aspect-ratio: 3/2;
}

.sidebar .thumbnail-recent-posts .recent-post-title {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.3;
  flex: 1;
}

/******************************
記事本文（single-post）用スタイル
******************************/
section.single-post {
  margin: 2rem 1rem;
}

@media (max-width: 768px) {
  section.single-post {
    margin: 0;
  }
}

section.single-post .container {
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

/******************************
main-content
******************************/
section.single-post .container.with-sidebar main {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 768px) {
  section.single-post .container.with-sidebar main {
    padding: 1rem;
    border-radius: 0;
  }
}

/* 記事タイトル（h1） */
.single-post h1 {
  font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 1rem;
  border-left: 8px solid #6c9c23;
  /*background-color: #f4f1e6;*/
  padding: 1rem;
}

@media (max-width: 768px) {
  .single-post h1 {
    padding: 0.5rem;
  }
}

/* 記事内の小見出し（h2〜h4） */
.single-post main h2.wp-block-heading {
  position: relative;
  font-weight: bold;
  margin: 4rem 0 1rem 0;
  border-bottom: 3px double #6c9c23;
  padding: 0 0 0.5rem 2rem;
}

@media (max-width: 768px) {
  .single-post main h2.wp-block-heading {
    padding: 0 0 0.5rem 1.5rem;
  }
}

.single-post main h3.wp-block-heading {
  position: relative;
  font-weight: bold;
  margin: 4rem 0 1rem 0;
  border-bottom: 2px solid rgba(108, 156, 35, 0.5);
  padding: 0 0 0.5rem 0;
}

.single-post aside h2.wp-block-heading {
  margin: 0 0 1rem 0;
}

.single-post h2::before {
  position: absolute;
  content: "";
  height: 1em;
  width: 1em;
  left: 0;
  top: 3px;
  margin: auto;
  background: url("../img/icon-single-post-h2.svg") center/contain no-repeat;
}

.single-post .post-cta h2 {
  background: #0099ff;
  color: #fff;
  border: none;
  margin: 0 0 1rem 0;
  padding: 1rem 0;
}

.single-post .post-cta.reserve h2 {
  background: #6c9c23;
}

.single-post h3 {
  margin: 1.5rem 0 0.75rem;
  color: #444;
}

.single-post h4 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.5rem;
  color: #555;
}

/* 本文の段落 */
.single-post p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #333;
}

.single-post p.post-contact-title {
  position: relative;
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  text-align: center;
  margin: 6rem 0 2rem 0;
  font-size: clamp(1.5rem, 1.265rem + 1.18vw, 2rem);
  font-weight: 900;
}

.single-post p.post-contact-title::before {
  position: absolute;
  content: "";
  width: 2px;
  height: 50px;
  left: 0;
  right: 0;
  top: -75px;
  margin: auto;
  background: #6c9c23;
}

/* 強調（太字・マーカー） */
.single-post strong {
  font-weight: bold;
  background: linear-gradient(transparent 60%, #fff6a9 60%);
}

/* リスト */
.single-post ul,
.single-post ol {
  /*  margin-left: 1.5rem;
  margin-bottom: 1.5rem;*/
}

.single-post ul li,
.single-post ol li {
  margin-bottom: 0.5rem;
}

.single-post ul li:last-of-type,
.single-post ol li:last-of-type {
  margin-bottom: 0;
}

/* 引用ブロック */
.single-post blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #666;
  font-style: italic;
}

/* 投稿詳細 */
.single-post .post-content {
  margin: 0 0 2rem 0;
}

.single-post .post-content figure:first-of-type {
  margin: 0 0 2rem 0;
}

.single-post .post-content figure {
  margin: 1rem 0 2rem 0;
}

/* 画像 */
.single-post .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 0 2rem 0;
}

@media (max-width: 768px) {
  .single-post .post-content img {
    margin: 0 0 1rem 0;
  }
}

/* テーブル */
.single-post table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.single-post th,
.single-post td {
  padding: 0.75em 1em;
  border: 1px solid #ccc;
  text-align: left;
}

.single-post th {
  background-color: #f0f0f0;
  font-weight: bold;
}

.single-post .post-meta {
  /*padding: 10px;*/
  /*background-color: #f4f1e6;*/
  margin: 0 0 1rem 0;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap-reverse;
  align-items: center;
}

.single-post .post-meta .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0;
}

.single-post .post-meta .post-categories li {
  margin: 0;
}

.single-post .post-meta .label-category a {
  display: inline-block;
  background: #6c9c23;
  color: #fff;
  padding: 4px 10px;
  margin: 0;
}

.label-date {
  position: relative;
  padding: 0 0 0 1rem;
}

.label-date::before {
  position: absolute;
  content: "";
  height: 0.8rem;
  width: 0.8rem;
  background: url("../img/icon-update.svg") center/contain no-repeat;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.post-tags {
  margin: 2rem 0;
}

.post-tags p {
  margin: 0;
}

.post-tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
}

.post-tags .tag-list li a {
  display: inline-block;
  background: #d35400;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  text-decoration: none;
}

.post-tags .tag-list li a:hover {
  background: #d35400;
}

/*-- お問い合わせブロック --*/
.post-cta-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .post-cta-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

.post-cta {
  text-align: center;
}

.post-cta .tel {
  font-size: 2rem;
  margin: 0 0 1rem 0;
}

.post-cta .weeks,
.post-cta .notice {
  width: 400px;
  max-width: 100%;
  text-align: left;
  font-size: 0.8rem;
}

.post-cta .weeks {
  margin: 0 auto;
}

.post-cta .notice {
  margin: 0 auto 2rem auto;
}

.post-cta .btn-contact {
  display: block;
  padding: 1rem;
  background: #d35400;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.5;
  transition: all 0.3s;
  width: 400px;
  max-width: 100%;
  margin: auto;
}

.post-cta.reserve .btn-contact {
  background: #6c9c23;
}

.post-cta .btn-contact:hover {
  opacity: 0.5;
}

.post-cta .btn-contact span {
  display: block;
  font-size: 1.5rem;
}

.post-cta .btn-contact span.label {
  display: inline-block;
  background: #fff;
  color: #d35400;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  padding: 4px 15px;
}

.post-cta.reserve .btn-contact span.label {
  background: #fff;
  color: #6c9c23;
}

/******************************
パンくずリスト
******************************/
section.breadcrumb-block {
  margin: 1rem;
}

section.breadcrumb-block .container {
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

section.breadcrumb-block .container .breadcrumb {
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  align-items: center;
}

section.breadcrumb-block .container .breadcrumb li {
  position: relative;
  padding: 0;
  margin: 0;
}

section.breadcrumb-block .container .breadcrumb li:first-of-type {
  padding: 0 0 0 1rem;
}

section.breadcrumb-block .container .breadcrumb li:first-of-type::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  height: 0.8rem;
  width: 0.8rem;
  background: url("../img/icon-home.svg") center/contain no-repeat;
  margin: auto;
}

section.breadcrumb-block .container .breadcrumb li::after {
  position: absolute;
  content: ">";
  top: 0;
  right: -1rem;
}

section.breadcrumb-block .container .breadcrumb li:last-of-type::after {
  display: none;
}

.breadcrumb a {
  color: #333;
  opacity: 0.8;
  line-height: 1;
}

.breadcrumb a:hover {
  color: #333;
}

/******************************
category-archive
******************************/
.archive-list {
  margin: 4rem 1rem;
}

.archive-list .container {
  width: 1000px;
  max-width: 100%;
  margin: auto;
}

.archive-list h2 {
  font-size: clamp(1.5rem, 1.265rem + 1.18vw, 2rem);
  margin: 0 0 2rem;
  border-left: 6px solid #333;
  padding-left: 0.75rem;
  color: #222;
}

.archive-list article {
  /*  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;*/
}

.archive-list article h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.archive-list article h3 a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
}

.archive-list article h3 a:hover {
  color: #333;
  opacity: 0.7;
}

.archive-list article p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

/******************************
tags-block
******************************/
.tags-block {
  margin: 4rem 1rem;
}

.tags-block .container {
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

.tags-block h2 {
  margin: 0 0 1.5rem 0;
  border-left: 8px solid #6c9c23;
  padding: 0 0 0 0.5rem;
  font-size: 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.tag-list li a {
  display: inline-block;
  padding: 6px 12px;
  background: #d35400;
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
}

.tag-list li a:hover {
  background: #d35400;
}

/******************************
osusume-links
******************************/
section.osusume-links {
  text-align: center;
  padding: 0;
  background: #f4f1e6;
  margin: 4rem 0 1rem 0;
  border-radius: 8px;
  border: 2px solid #6c9c23;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
}

section.osusume-links.js-ready {
  visibility: visible;
  height: auto;
  opacity: 1;
}

section.osusume-links h2 {
  font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
  position: relative;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  margin: 0;
  border: none;
  padding: 1rem;
  color: #333;
  overflow: hidden;
}

section.osusume-links h2::before {
  position: absolute;
  content: "";
  height: auto;
  width: 35px;
  background: url("../img/icon-book.svg") center/contain no-repeat;
  top: 0;
  left: 1rem;
  bottom: 0;
  margin: auto;
}

section.osusume-links h2::after {
  position: absolute;
  content: "";
  height: auto;
  width: 60px;
  background: url("../img/icon-tap.svg") center/cover no-repeat;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

@media (max-width: 768px) {
  section.osusume-links h2::before {
    width: 1.5rem;
  }

  section.osusume-links h2::after {
    width: 50px;
  }

  section.osusume-links h2 {}
}

section.osusume-links ul {
  margin: 2rem;
}

@media (max-width: 768px) {
  section.osusume-links ul {
    margin: 1rem;
  }
}

section.osusume-links ul li {
  margin: 0 0 0.5rem 0;
  padding: 0.5rem 1rem;
  background-color: #fff;
  border-radius: 8px;
}

section.osusume-links ul li:last-of-type {
  margin: 0 0 0 0;
}

section.osusume-links ul li a {
  display: block;
  text-align: left;
  position: relative;
  padding: 0 0 0 1.5rem;
  font-weight: normal;
}

section.osusume-links ul li a::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 1rem;
  width: 1rem;
  background: url("../img/icon-leaves.svg") center/contain no-repeat;
}

section.osusume-links ul li a.label_hari::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 1rem;
  width: 1rem;
  background: url("../img/icon-header-heading.svg") center/contain no-repeat;
}

/******************************
profile-widget
******************************/
.sidebar .widget.widget-director {
  position: relative;
  background-color: #f4f1e6;
  padding: 3rem 2rem 1rem 2rem;
  margin: 0 0 2rem 0;
  text-align: center;
  border: 0;
}

@media (max-width: 768px) {
  .sidebar .widget.widget-director {
    border-radius: 0;
  }
}

.sidebar .widget.widget-director h2 {
  font-size: 1.2rem;
  padding: 0;
  margin: 0 0 1rem 0;
}

.sidebar .widget.widget-director h2::before {
  display: none;
}

.sidebar .widget.widget-director::before {
  display: inline-block;
  content: "";
  position: absolute;
  background: url("../img/icon-leaves.svg") center/contain no-repeat;
  height: 45px;
  width: 45px;
  margin: 0 auto;
  top: -22.5px;
  left: 0;
  right: 0;
}

.sidebar .widget.widget-director img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
}

.sidebar .widget.widget-director p {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.sidebar .widget.widget-director a {
  color: #d35400;
  font-weight: bold;
  text-decoration: none;
}

.sidebar .widget.widget-director a:hover {
  text-decoration: underline;
}

.sidebar .widget.widget-director .director-author {
  margin: auto;
}

.sidebar .widget.widget-director .director-name {
  font-size: 1.2rem;
  font-weight: 900;
}

.sidebar .widget.widget-director .director-description {
  text-align: left;
}

/******************************
voice-list
******************************/
.voice-list-wrapper {
  margin: 2rem 0;
}

.voice-list-wrapper h2 {
  position: relative;
  padding: 0 0 0 2rem;
}

.voice-list-wrapper h2::before {
  position: absolute;
  content: "";
  height: 1em;
  width: 1.5rem;
  background: url("../img/icon-voice.svg") center/contain no-repeat;
  left: 0;
  bottom: 0;
  top: 0;
  margin: auto;
}

.voice-list-wrapper>ul.voice-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.voice-list-wrapper>ul.voice-list>li.voice-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice,
.voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice {
  background-color: #ffffff;
  /*  border: 1px solid #ddd;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);*/
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {

  .voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice,
  .voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice {
    padding: 0.5rem;
  }
}

.voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice {
  flex-direction: row-reverse;
}

.voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice .thumbnail,
.voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice .thumbnail {
  width: 100px;
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 768px) {

  .voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice .thumbnail,
  .voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice .thumbnail {
    width: 100%;
  }
}

.voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice .thumbnail img,
.voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice .thumbnail img {
  width: 100%;
  max-width: 100px;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: auto;
}

.voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice .content,
.voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice .content {
  flex: 1;
  background-color: #f4eee3;
  padding: 2rem;
  border-radius: 8px;
}

.voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice .content {
  background-color: #f9f9f9;
}

@media (max-width: 768px) {

  .voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice .content,
  .voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice .content {
    flex: auto;
    padding: 1rem;
  }
}

.voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice .content .title,
.voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice .content .title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice .content .text,
.voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice .content .text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .voice-list-wrapper>ul.voice-list>li.voice-item {
    flex-direction: column;
  }

  .voice-list-wrapper>ul.voice-list>li.voice-item>.patient-voice,
  .voice-list-wrapper>ul.voice-list>li.voice-item>.doctor-voice {
    flex: 1 1 100%;
  }
}

/* 共通：吹き出し本体 */
.voice-list-wrapper .voice-item .content {
  position: relative;
  overflow: visible;
}

/* 左側の三角（患者） */
.voice-list-wrapper .voice-item .patient-voice .content::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: -28px;
  border-width: 15px;
  border-style: solid;
  border-color: transparent #f4eee3 transparent transparent;
  z-index: 1;
}

/* 右側の三角（先生） */
.voice-list-wrapper .voice-item .doctor-voice .content::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  right: -28px;
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent transparent #f9f9f9;
  z-index: 1;
}

/* SP時：下向きに変更 */
@media screen and (max-width: 768px) {

  .voice-list-wrapper .voice-item .patient-voice .content::before,
  .voice-list-wrapper .voice-item .doctor-voice .content::before {
    top: auto;
    bottom: -10px;
    left: 50%;
    right: auto;
    /* ← 右からの指定をリセット */
    transform: translateX(-50%);
    border-style: solid;
    border-width: 10px 10px 0 10px;
    /* 上三角 */
    border-color: #f4eee3 transparent transparent transparent;
  }

  .voice-list-wrapper .voice-item .doctor-voice .content::before {
    border-color: #f9f9f9 transparent transparent transparent;
  }
}

/******************************
speechballoon
******************************/
.speechballoon {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 1rem;
  max-width: 840px;
  margin: 2rem auto;
  flex-wrap: wrap-reverse;
}

@media screen and (max-width: 768px) {
  .speechballoon {
    margin: 1rem auto;
  }
}

.speechballoon .thumbnail-area {
  width: 120px;
  overflow: hidden;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .speechballoon .thumbnail-area {
    width: 100%;
  }
}

.speechballoon .thumbnail-area button {
  display: inline-block;
  margin: 0 0 10px 0;
}

.speechballoon .thumbnail-area img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin: 0 auto 0.5rem auto;
}

.speechballoon .thumbnail-name {
  font-weight: bold;
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

.speechballoon .balloon {
  position: relative;
  flex: 1;
  background: #f4f1e6;
  padding: 1rem;
  border-radius: 1rem;
  min-height: 120px;
}

.speechballoon .balloon p:last-of-type {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .speechballoon .balloon {
    flex: auto;
  }
}

.speechballoon .balloon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -28px;
  transform: translateY(-50%);
  border-width: 15px;
  border-style: solid;
  border-color: transparent #f4eee3 transparent transparent;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .speechballoon .balloon::before {
    top: auto;
    bottom: -10px;
    left: 50%;
    right: auto;
    /* ← 右からの指定をリセット */
    transform: translateX(-50%);
    border-style: solid;
    border-width: 10px 10px 0 10px;
    /* 上三角 */
    border-color: #f4eee3 transparent transparent transparent;
  }
}

/* 基本スタイル */
.speechballoon .balloon .is-layout-flex {
  justify-content: center;
}

.speechballoon .balloon .is-layout-flex .wp-block-button__link.wp-element-button {
  display: block;
  padding: 0.5rem 1rem;
  /* 内側の余白 */
  background-color: #d35400;
  /* ボタンの背景色（初期状態） */
  color: #fff;
  /* テキスト色 */
  text-align: center;
  text-decoration: none;
  /* リンク下線の除去 */
  border-radius: 8px;
  /* 角の丸み */
  font-size: 0.8rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 1rem auto 0 auto;
  position: relative;
}

.speechballoon .balloon .is-layout-flex .wp-block-button__link.wp-element-button::before {
  position: relative;
  display: inline-block;
  content: "";
  top: 2px;
  margin-right: 0.5rem;
  height: 1em;
  width: 1em;
  background: url("../img/icon-link.svg") center/contain no-repeat;
}

/* ホバー時のスタイル */
.speechballoon .balloon .is-layout-flex .wp-block-button__link.wp-element-button:hover {
  opacity: 0.7;
}

/* フォーカス時のスタイル */
.wp-block-button__link.wp-element-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.5);
  /* フォーカス時の外枠 */
}

/* アクティブ時のスタイル */
.wp-block-button__link.wp-element-button:active {
  background-color: #003e66;
  /* クリック時の背景色 */
}

/******************************
post-attention
******************************/
.post-attention-wrapper {
  background-color: #f7f7f7;
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid #6c9c23;
}

@media screen and (max-width: 768px) {
  .post-attention-wrapper {
    padding: 1.5rem 1rem;
  }
}

.post-attention-wrapper h3 {
  position: relative;
  margin: 0 0 0.5rem 0;
  padding: 0 0 0 2rem;
}

.post-attention-wrapper h3::before {
  position: absolute;
  content: "";
  height: 1.5rem;
  width: 1.5rem;
  background: url("../img/icon-user.svg") center/contain no-repeat;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

.post-attention-wrapper .contents-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-attention-wrapper .contents-list .contents-list-item {
  display: flex;
  column-gap: 2rem;
  row-gap: 1rem;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
  background: #ffffff;
  border-radius: 8px;
  flex-wrap: wrap;
}

.post-attention-wrapper .contents-list .contents-list-item .thumbnail {
  width: 120px;
}

@media screen and (max-width: 768px) {
  .post-attention-wrapper .contents-list .contents-list-item .thumbnail {
    width: 120px;
  }
}

.post-attention-wrapper .contents-list .contents-list-item .thumbnail img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  display: block;
  margin: auto;
  border-radius: 50%;
}

.post-attention-wrapper .contents-list .contents-list-item .thumbnail p {
  margin: 0.5rem 0 0 0;
  font-size: 0.8rem;
  text-align: center;
}

.post-attention-wrapper .contents-list .contents-list-item .content {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .post-attention-wrapper .contents-list .contents-list-item .content {
    flex: auto;
  }
}

.post-attention-wrapper .contents-list .contents-list-item .content p.ttl {
  font-size: 1.2rem;
  margin: 0;
  color: #6c9c23;
}

@media screen and (max-width: 768px) {
  .post-attention-wrapper .contents-list .contents-list-item .content p.ttl {
    text-align: center;
  }
}

.post-attention-wrapper .contents-list .contents-list-item .content p.text {
  font-weight: normal;
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem 0;
}

@media screen and (max-width: 768px) {
  .post-attention-wrapper .contents-list .contents-list-item .content p.text {
    font-weight: normal;
  }
}

.post-attention-wrapper .contents-list .contents-list-item .content p.name {
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: left;
  margin: 0 0 0 0;
}

@media screen and (max-width: 768px) {
  .post-attention-wrapper .contents-list .contents-list-item .content p.name {
    text-align: center;
  }
}

/******************************
back-top-top
******************************/
#back-to-top {
  all: unset;
  position: fixed;
  bottom: 60px;
  right: 20px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  /* 非表示時にクリックできないようにする */
  transition: opacity 0.4s ease;
  /* フェード用 */
  background: #fff;
  padding: 5px;
  border-radius: 50%;
}

#back-to-top img {
  height: 50px;
  width: 50px;
}

@media screen and (max-width: 768px) {
  #back-to-top img {
    height: 50px;
    width: 50px;
  }
}

#back-to-top.show {
  opacity: 0.7;
  pointer-events: auto;
}

/******************************
access
******************************/
/* ルート詳細 */
/* アクセスエリア全体 */
.access_area_wrapper {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin: 1rem 0;
  padding: 0;
}

/* アクセスブロック */
.access_area_inner {
  background-color: #ffffff;
  margin: auto;
  padding: 0;
}

/* メイン見出し */
.access_area_wrapper .access_area_inner h2.access_header {
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  padding: 1rem 1rem;
  /*border: 1px solid #e3e3e3;*/
  background: #f9f9f9;
  border-radius: 8px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .access_area_wrapper .access_area_inner h2.access_header {
    padding: 1rem 3rem 1rem 3rem;
  }
}

.access_area_wrapper .access_area_inner h2.access_header::before {
  display: inline-block;
  position: relative;
  content: "";
  height: 20px;
  width: 20px;
  top: 4px;
  bottom: 0;
  left: 0;
  right: auto;
  margin: 0 0.5rem 0 0;
}

@media screen and (max-width: 768px) {
  .access_area_wrapper .access_area_inner h2.access_header::before {
    display: inline-block;
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    top: 0;
    bottom: 0;
    left: 1rem;
    right: auto;
    margin: auto;
  }
}

.access_area_wrapper .access_area_inner h2.access_header::after {
  background: url("../img/icon-plus-acordion.svg") center/contain no-repeat;
  display: inline-block;
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  top: 0;
  bottom: 0;
  right: 1rem;
  left: auto;
  margin: auto;
  transition: all 0.3s;
}

.access_area_wrapper .access_area_inner h2.access_header.is-active::after {
  background: url("../img/icon-plus-acordion.svg") center/contain no-repeat;
  display: inline-block;
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  top: 0;
  bottom: 0;
  right: 1rem;
  left: auto;
  margin: auto;
  transform: rotate(-405deg);
}

/* コンテンツ領域 */
.access_area_inner .access_content {
  overflow: hidden;
  display: none;
}

.access_area_inner .access_content .access_routes .access_routes_header {
  margin: 2rem 0 0 0;
  padding: 0.5rem 0 0.5rem 3rem;
  background: #6c9c23;
  color: #fff;
  position: relative;
  border-radius: 8px;
}

.access_area_inner .access_content .access_routes .access_routes_header::before {
  position: absolute;
  content: "";
  height: 1rem;
  width: 1rem;
  background: url("../img/icon-access-white.svg") center/contain no-repeat;
  top: 0;
  left: 1rem;
  bottom: 0;
  margin: auto;
}

.access_area_inner .access_content .access_block {
  margin: 3rem 0 1rem 0;
  padding: 2rem;
  display: block;
  position: relative;
  z-index: 1;
  background-color: #f8f7f3;
}

@media screen and (max-width: 768px) {
  .access_area_inner .access_content .access_block {
    padding: 1rem;
  }
}

.access_area_inner .access_content .access_block:last-of-type {
  margin: 3rem 0 0 0;
}

.access_area_inner .access_content .access_block .steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 50px;
  row-gap: 1rem;
  align-items: center;
}

/* 地域ごとの見出し */
.route_header {
  font-size: 1.2rem;
  color: #5f442f;
  margin-bottom: 10px;
  font-weight: 600;
}

/* 交通手段 */
.access_area_inner .route_mobile {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  padding: 0.5rem 1rem;
  position: relative;
  background: #6c9c23;
  color: #fff;
}

/* 詳細説明 */
.access_area_inner .route_detail {
  font-size: 0.8rem;
  color: #555555;
  line-height: 1.6;
}

.access_area_wrapper .access_area_inner .access_routes .access_block .access_midashi {
  background: #f8f7f3;
  color: #333;
  position: absolute;
  display: inline-block;
  top: -32px;
  left: 0;
  margin: auto;
  font-weight: 600;
  text-align: center;
  border-radius: 8px 8px 0 0;
  min-width: 150px;
  max-width: 100%;
  padding: 4px 10px;
}

.single-post .access_location {
  display: inline-block;
  background-color: #ff8891;
  padding: 0.2rem 1rem;
  color: #f9f9f9;
  border-radius: 8px;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem 0;
}

.single-post .access_location:first-of-type {
  margin: 0 0 0.5rem 0;
}

.sp_label {
  position: relative;
  display: inline-block;
}

.sp_label::after {
  position: absolute;
  content: "";
  height: 13px;
  width: 30px;
  background: url("../img/icon-right-arrow-triple.svg") center/contain no-repeat;
  right: -40px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.sp_goal {
  position: relative;
  display: inline-block;
  background-color: #6c9c23;
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 8px;
}

.access_area_wrapper .access_area_inner .access_routes .access_block .txt_caution {
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
}

.pagination .page-numbers {
  display: flex;
  gap: 0.5rem;
}

.pagination .page-numbers .page-item a,
.pagination .page-numbers .page-item span {
  color: rgba(51, 51, 51, 0.5);
  display: block;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(51, 51, 51, 0.2);
  font-weight: 500;
}

.pagination .page-numbers .page-item.is-current a,
.pagination .page-numbers .page-item.is-current span {
  color: rgba(51, 51, 51, 1);
  font-weight: 700;
  background-color: rgba(51, 51, 51, 0.2);
}

.pagination .page-numbers .page-item a.prev,
.pagination .page-numbers .page-item a.next {
  color: rgba(51, 51, 51, 1);
}

section.profile-page {
  margin: 4rem 1rem;
}

section.profile-page .container {
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

/****************************** 
プロフィール固定ページ用 
******************************/
/* ベース */
.profiles {
  list-style: none;
  margin-block: 0;
  margin-inline: auto;
  padding: 0;
  max-width: 900px;
}

.profile {
  margin-block: 1.5rem;
  /* カード同士の間隔 */
}

/* カード本体 */
.profile-item {
  display: flex;
  align-items: center;
  column-gap: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  flex-wrap: wrap-reverse;
}

@media (max-width: 640px) {
  .profile-item {
    padding: 1rem;
  }
}

.profile-item.reverse {
  flex-direction: row-reverse;
}

/* サムネイル */
.profile-item .profile-item--thumb {
  width: 300px;
  max-width: 100%;
}

.profile-item .profile-item--thumb img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}

/* テキスト部 */
.profile-item .profile-item--text {
  flex: 1;
  /* 残り幅いっぱい */
}

@media (max-width: 640px) {
  .profile-item .profile-item--text {
    flex: auto;
  }
}

.profile-item .profile-item--text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.profile-item .profile-item--text h3 span {
  display: block;
}

.profile-item .profile-item--text h3 span.label-first {
  background: #6c9c23;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.profile-item .profile-item--text .profile-item--logo {
  display: block;
  width: 120px;
  max-width: 100%;
  margin: 2rem 0 0 auto;
}

@media (max-width: 640px) {
  .profile-item .profile-item--text h3 {
    font-size: 1.2rem;
    text-align: center;
    justify-content: center;
  }

  .profile-item .profile-item--text h3 span.label-first {
    width: 100%;
    font-size: 1rem;
  }

  .profile-item .profile-item {
    flex-direction: column;
    text-align: center;
  }

  .profile-item .profile-item--thumb img {
    width: 60%;
    margin-inline: auto;
  }
}

.profile-lead-wrapper {
  width: 900px;
  max-width: 100%;
  margin-inline: auto;
  margin-block: 4rem;
  text-align: center;
}

.profile-lead-wrapper .profile-lead-ttl {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  text-align: center;
  color: #6c9c23;
  font-size: 2rem;
  font-weight: 900;
}

@media (max-width: 640px) {
  .profile-lead-wrapper .profile-lead-ttl {
    font-size: 1.5rem;
  }
}

/****************************** 
求人ブロック
******************************/
.block-recruit {
  background: #f4eee3;
  padding: 3rem 1rem;
  margin: 4rem 0;
  border-top: 5px solid #6c9c23;
  border-bottom: 5px solid #6c9c23;
}

.block-recruit .container {
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

.block-recruit .container .main-ttl {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.block-recruit .container .main-ttl img {
  display: block;
  margin-inline: auto;
  width: 500px;
  max-width: 100%;
}

.block-recruit .container .main-ttl::first-letter {
  font-size: calc(2rem * 1.5);
}

.recruit-main-content {
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 2rem;
}

.recruit-main-content .recruit-thumbnail {
  width: 300px;
  max-width: 100%;
}

.recruit-main-content .recruit-thumbnail img {
  width: 100%;
}

.recruit-main-content .recruit-description {
  flex: 1;
  line-height: 2;
  max-width: 100%;
}

.recruit-main-content .recruit-description .recruit-banner {
  display: block;
  margin: 2rem auto 0 auto;
  width: 400px;
  max-width: 100%;
  border-radius: 8px;
  font-size: 1.5rem;
  color: #6c9c23;
  text-align: center;
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  line-height: 1;
}

.recruit-main-content .recruit-description .recruit-banner span {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.recruit-main-content .recruit-description .recruit-banner img {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .block-recruit .container .main-ttl {
    font-size: 1.5rem;
  }

  .block-recruit .container .main-ttl::first-letter {
    font-size: calc(1.5rem * 1.5);
  }

  .recruit-main-content .recruit-description {
    flex: auto;
  }

  .recruit-main-content .recruit-thumbnail {
    width: 100%;
  }

  .recruit-main-content .recruit-description .recruit-banner {
    width: 300px;
  }
}

/****************************** 
投稿-汎用リスト
******************************/
ul.wp-block-list {
  margin-block: 1.5rem;
}

ul.wp-block-list>li {
  position: relative;
  padding-left: 1.2rem;
}

ul.wp-block-list>li::before {
  position: absolute;
  content: "";
  height: 0.5rem;
  width: 0.5rem;
  background: url("../img/list-headicon.svg") center/contain no-repeat;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

ol.wp-block-list li ul.wp-block-list {
  margin-block: 1rem;
  margin-left: 1rem;
}

ol.wp-block-list li:last-of-type ul.wp-block-list {
  margin-bottom: 0;
}

/****************************** 
治療前治療後ブロック
******************************/
.before-after-block {
  margin-bottom: 1.5rem;
}

.before-after-block .before-after-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  margin-bottom: 0.5rem;
  padding: 1rem;
  background-color: #f9f9f9;
  width: 700px;
  max-width: 100%;
  gap: 4rem;
}

@media (max-width: 640px) {
  .before-after-block .before-after-items {
    gap: 2rem;
  }
}

.before-after-block.has-arrow .before-after-items::after {
  position: absolute;
  content: "";
  background: url(../img/icon-arrow.svg) center/contain no-repeat;
  height: 2rem;
  width: 2rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 640px) {
  .before-after-block .before-after-items::after {
    height: 1rem;
    width: 1rem;
  }
}

.before-after-block .before-after-items .before-after-item p {
  margin: 0 0 0.5rem 0;
  padding: 0.5rem;
  text-align: center;
  font-weight: 700;
  background-color: #6c9c23;
  border: 2px solid #6c9c23;
  color: #fff;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .before-after-block .before-after-items .before-after-item p {
    font-size: 0.8rem;
    background-color: transparent;
    border: 2px solid #6c9c23;
    color: #6c9c23;
  }
}

.before-after-block .before-after-items .before-after-item img {
  display: block;
  margin-block: 0;
  width: 100%;
  object-fit: cover;
}

.before-after-block .before-after-description-title {
  font-size: 0.9rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 0;
}

.before-after-block .before-after-items {
  --img-h: clamp(220px, 45vw, 480px);
}

.before-after-block .before-after-items .before-after-item img {
  height: var(--img-h);
  object-fit: cover;
  /* 高さを揃えて見せたい場合はこちら */
}