/*==========================*/
/* 共通
/*==========================*/
.c-section {
  padding-top: 0;
}

.title-under-border {
  border-bottom: 1px solid !important;
  padding-bottom: 10px !important;
  padding-left: 10px !important;
}

#page-top {
  display: none;
}

.kasou-fv p {
  margin-top: -20px !important;
}

.button18 a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 1em 2em;
  width: -moz-fit-content;
  width: fit-content;
  color: white;
  font-size: 18px;
  font-weight: 700;
  background-color: #cccccc;
  transition: 0.3s;
}

.button18 a::before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  right: -0.7em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: white;
  transition: 0.3s;
}

.button18 a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.7em;
  transform: translateY(-50%);
  width: 50px;
  height: 2px;
  background-color: white;
  transition: 0.3s;
}

.button18 a:hover {
  text-decoration: none;
}

.button18 a:hover::before,
.button18 a:hover::after {
  right: -1.4em;
}

.float-button-top .button18 {
  background-color: #f79d43;
  color: white;
}
.float-button-top a {
  background-color: #f79d43;
  color: white;
}
.float-button-under .button18 {
  background-color: #93dba6;
  color: white;
}
.float-button-under a {
  background-color: #93dba6;
  color: white;
}

@media screen and (max-width: 480px) {
  .smb-section__title strong span {
    font-size: 2rem;
  }
}

/*==========================*/
/* ヘッダーカスタマイズ
/*==========================*/
[data-has-global-nav="true"] .l-2row-header__row:last-child {
  margin-top: 0px;
}

.c-header-content {
  display: flex;
  align-items: center;
}

.header-tel {
  display: flex;
  justify-content: flex-start;
  font-weight: bold;
  font-size: 20px;
}

.header-tel-number {
  margin-left: 6px;
}

.header-btn-recruit {
  display: table;
}

.header-btn-recruit a.c-btn {
  background-color: var(--accent-color);
  color: white;
  border-radius: 10px;
  font-weight: bold;
  width: 280px;
  height: 44px;
  margin-left: 23px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.header_line {
  margin-left: 10px;
}

.header-btn-recruit a.c-btn::after {
  /* content: "";
  width: 7.7px;
  height: 7.7px;
  border-top: 2px solid var(--accent-color, #cd162c);
  border-right: 2px solid var(--accent-color, #cd162c);
  transform: rotate(45deg) translate(1px, 1px); */
}

.menu-item-contact {
  position: absolute;
  top: 0;
  right: 0;
  width: 192px;
  height: 100%;
}

.c-navbar {
  justify-content: flex-end;
}

.c-navbar__item {
  flex: initial;
}

.c-site-branding__title {
  position: absolute;
  /* height: 100%; */
  top: 0;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 480px) {
  .c-site-branding__title {
    position: initial;
    /* height: 100%; */
    /* top: 0; */
    margin-top: 0px;
    display: flex;
    align-items: center;
    font-size: 15px;
  }

  .l-header__content .c-fluid-container {
    padding: 0 19px;
  }
}

.l-2row-header .p-global-nav .c-navbar__item > a {
  padding-top: 16px;
  padding-bottom: 12px;
}

.p-global-nav .c-navbar__item > a {
  font-size: 16px;
  line-height: 1.5;
}

@media (min-width: 64em) {
  .l-2row-header__row:first-child {
    padding-top: 4px;
    padding-bottom: 0px;
  }
}

/*==========================*/
/* 右下追従
/*==========================*/

/* フローティングバー全体のスタイリング */
.floating-contact-bar {
  position: fixed; /* 画面に固定 */
  bottom: 0; /* 下から0pxの位置 */
  right: 0; /* 右から0pxの位置 */
  z-index: 1000;
  padding: 10px; /* 内側の余白 */
  border-radius: 10px 10px 0 0;
  /* box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.3); */
  flex-direction: column;
  width: 320px;
  display: none;
  opacity: 0; /* 初期状態では透明 */
  transition: opacity 0.3s, transform 0.3s; /* 透明度と位置の変化にアニメーションを設定 */
}

.floating-contact-bar.show {
  display: flex; /* 表示 */
  animation: fadeIn 0.3s ease forwards; /* アニメーションを適用 */
}

/* リンクのスタイリング */
.floating-contact-bar a {
  display: inline-block;
  margin: 0 5px;
  text-decoration: none;
  font-weight: bold; /* フォントを太く */
}

.float-button-top {
  margin-bottom: 10px;
}

.bar-text-pc {
  display: inline;
}
.bar-text-sp {
  display: none;
}

/* メディアクエリによるレスポンシブ対応 */
@media (max-width: 600px) {
  .floating-contact-bar {
    /* flex-direction: row; */
    /* width: 100%; */
    padding: 0;
  }
  .bar-text-pc {
    display: none;
  }
  .bar-text-sp {
    display: block;
  }
  /* .float-button-top {
    width: 50%;
    margin-bottom: 0;
  }
  .float-button-under {
    width: 50%;
    margin-bottom: 0;
  }
  .floating-contact-bar a {
    padding: 10px;
  } */
}

/*==========================*/
/* トップページ
/*==========================*/

/* MV */
.home .c-entry__content {
  padding: 0px;
}

/* スライダー全体 */
.fv-slider {
  position: relative;
  width: 100vw; /* 全幅 */
  max-width: 100%;
  height: 85vh; /* 高さを画面の70% */
  overflow: hidden; /* 余計な部分を非表示 */
  margin-top: 0px !important;
}

/* スライダー内の画像 */
.fv-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover; /* 画像がスライダー内に収まるように */
  opacity: 0; /* 非表示 */
  transform: scale(1); /* 初期状態でズームなし */
  transition: opacity 1.5s ease, transform 5s ease; /* フェードとズームのアニメーション */
  z-index: 1; /* マスクより下に配置 */
}

/* 表示中の画像 */
.fv-slider img.active {
  opacity: 1; /* 表示 */
  transform: scale(1.1); /* ゆっくりズームイン */
}

/* 常にかかる黒系のマスク */
.fv-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 黒色の透明マスク */
  z-index: 2; /* 画像の上に配置 */
  pointer-events: none; /* ユーザー操作を無効化 */
}

/* メインテキスト */
.fv-slider-text {
  position: absolute;
  top: 50%; /* 縦方向の中央 */
  left: 50%; /* 横方向の中央 */
  transform: translate(-50%, -50%); /* 完全中央揃え */
  color: white; /* 白文字 */
  text-align: left; /* テキストを中央揃え */
  font-size: 3.5rem; /* メインテキストのサイズ */
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* テキストを見やすくする影 */
  z-index: 3; /* マスクと画像より上に配置 */
  width: 90%; /* テキスト幅の調整 */
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .fv-slider-text {
    font-size: 2rem;
    top: 40%; /* 縦方向の中央 */
  }
}

/* サブテキスト */
.fv-slider-subtext {
  position: absolute;
  top: calc(50% + 5rem); /* メインテキストの下に配置 */
  left: 50%; /* 横方向の中央 */
  transform: translateX(-50%); /* 横方向の中央揃え */
  color: white; /* 白文字 */
  text-align: left; /* テキストを中央揃え */
  font-size: 2rem; /* サブテキストのサイズ */
  font-weight: 400; /* サブテキストは軽めのフォント */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); /* テキストを見やすくする影 */
  z-index: 3; /* マスクと画像より上に配置 */
  width: 90%; /* テキスト幅の調整 */
  line-height: 1.5;
}

.sp-fv-text {
  display: none;
}

@media screen and (max-width: 767px) {
  .fv-slider-subtext {
    font-size: 1rem;
    margin-top: 10px;
    top: calc(40% + 5rem); /* メインテキストの下に配置 */
  }
  .pc-fv-text {
    display: none;
  }
  .sp-fv-text {
    display: block;
    margin-top: 150px;
  }
}

/* featureブロック */
.features-sec h3 {
  margin-top: 10px !important;
  margin-bottom: 15px !important;
}

.number-p {
  color: var(--accent-color);
  font-weight: bold;
}

/* featureブロック */
.specialty-sec h3 {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
  color: var(--accent-color);
}

/* 担当医カレンダー */

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

.schedule-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: center;
  font-family: sans-serif;
  border: 0.5px solid #000;
}

.schedule-table th,
.schedule-table td {
  border: 0.5px solid #000;
  padding: 8px 12px;
}

.schedule-table thead th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.schedule-table .closed {
  color: black;
}

.schedule-table th {
  background-color: #f8f8f8;
  color: #000 !important;
  font-weight: bold;
}
.scroll-hint {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
  display: none;
}

@media (max-width: 768px) {
  .scroll-hint {
    display: block;
  }
  .table-scroll {
    margin-top: 10px !important;
  }
}

/* 受診の流れ */

.number-circle {
  width: 100px;
  height: 100px;
  background-color: var(--accent-color);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

@media screen and (max-width: 480px) {
  .number-circle {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }
}

/* よくある質問 */

.accordion-002 {
  max-width: 1000px;
  margin-bottom: 7px;
  border: 2px solid var(--accent-color);
  border-radius: 5px;
}

.accordion-002 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  /* アイコンの色はここで変える */
  background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2028%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%2214%22%20style%3D%22fill%3A%2305CDD2%3B%22%2F%3E%3C%2Fsvg%3E");
  background-position: right calc(2em - 7px) center;
  background-size: 22px;
  background-repeat: no-repeat;
  color: black;
  font-weight: 600;
  cursor: pointer;
}

.accordion-002 summary::-webkit-details-marker {
  display: none;
}

.accordion-002 summary::after {
  content: "";
  display: inline-block;
  width: 8px; /* 矢印のサイズを大きく */
  height: 8px; /* 正方形に調整 */
  border-bottom: 2px solid #fff; /* 線を細めに */
  border-right: 2px solid #fff; /* 線を細めに */
  transform: rotate(45deg); /* 矢印の向き */
  transition: transform 0.3s ease-in-out;
}

.accordion-002[open] summary::after {
  transform: rotate(225deg);
}

.accordion-002 p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 0 2em 1.5em;
  color: #333333;
  transition: transform 0.5s, opacity 0.5s;
}

.accordion-002[open] p {
  transform: none;
  opacity: 1;
}

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

/* フッター全体の配色・レイアウト */
.l-footer-widget-area {
  background-color: #b8e6e8 !important; /* 水色 */
  padding: 2em 1em;
}

.footer-left {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
}

.footer-left strong {
  margin-top: 0px;
  margin-left: 135px;
}

/* フッター右ナビ */
.footer-nav {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 1rem;
}
.footer-nav a {
  color: #000;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  transition: color 0.4s ease;
}
.footer-nav a:hover {
  color: var(--accent-color);
}
.footer-nav a span {
  display: block;
  font-weight: normal;
  font-size: 0.8rem;
}

/* ボタン類 */
.footer-btns {
  margin-top: 0.8em;
  display: flex;
  align-items: center;
  gap: 0.8em;
  justify-content: flex-end;
}
.btn-foreign {
  background: #00d1d1;
  color: #fff;
  padding: 0.4em 1em;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
}
.btn-foreign:hover {
  background: #00bbbb;
}

@media screen and (max-width: 480px) {
  .footer-left strong {
    margin-top: 0px;
    margin-left: 100px;
  }
}

/* ギャラリー */

@keyframes horizontal-animation {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.slider-container {
  display: flex;
}

.slider-wrapper {
  display: flex;
  animation: horizontal-animation 120s linear infinite;
}

.slider-wrapper li {
  list-style: none;
}

.slide {
  width: 400px;
  margin-right: 20px;
}

.slide img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* スライドにマウス置くと止まる */
/* @media (hover: hover) {
  .slider-container:hover .slider-wrapper {
    animation-play-state: paused;
  }
} */

.scroll-infinity {
  position: relative;
  width: 100vw;
  overflow: hidden; /* コンテンツがはみ出さないように隠す */
}

.scroll-infinity__wrap {
  display: flex;
  animation: scroll-infinity 30s linear infinite;
}

.scroll-infinity__list {
  display: flex;
  flex-shrink: 0;
}

.scroll-infinity__item {
  flex-shrink: 0;
  width: 20%; /* 5つの画像が同時に表示されるように設定 */
  box-sizing: border-box;
  padding: 5px; /* 画像間のスペース（任意） */
}

.scroll-infinity__item img {
  width: 100%;
  height: 230px; /* すべての画像の高さを統一 */
  object-fit: cover; /* 画像が枠内に収まるように調整 */
  display: block;
}

/* アニメーション */
@keyframes scroll-infinity {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(-50%); /* コンテンツの半分をスクロール */
  }
}

.gallery4-proposal {
  width: 40%;
  margin-left: auto;
  margin-right: auto;
}

/* 会社概要 */

.table_design03 {
  display: table;
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
}

.row {
  display: table-row;
}

.cell {
  display: table-cell;
  padding: 1em;
  border-bottom: 2px solid #c1c7c6;
}

.header {
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
  border-bottom: 2px solid #4d9bc1;
}

@media screen and (max-width: 480px) {
  .header {
    width: 30%;
    min-width: 4em;
  }
}

.requirements-sec h2 {
  border-bottom: 1px solid var(--accent-color) !important;
  padding-bottom: 10px;
  padding-left: 10px;
}

/*==========================*/
/* 当院について
/*==========================*/

/* ドクター紹介 */
.doctor-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.doctor-card {
  width: calc(33.333% - 20px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

@media screen and (max-width: 480px) {
  .doctor-card {
    width: 100%;
  }
}

.doctor-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #e0fafa; /* ← #02CDD2の薄い色相 */
}
.doctor-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.doctor-body {
  padding: 15px;
  text-align: center;
}
.doctor-name {
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}
.doctor-message {
  text-align: left;
  font-size: 14px;
  margin-bottom: 10px;
}
.doctor-button {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  text-align: center;
  width: 60%;
  font-weight: bold;
}

/* スタッフ紹介 */
.staff-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.staff-card {
  position: relative;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* padding: 15px; */
  text-align: center;
}

.staff-tag {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #02cdd2;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 8px;
  /* border-radius: 3px; */
}

.staff-thumb img {
  width: 100%;
  height: auto;
  /* padding: 5px; */
}

.staff-body {
  padding: 10px;
}

.staff-name {
  text-align: left;
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
}

.staff-message {
  font-size: 14px;
  color: #333;
  margin-top: 5px;
  text-align: left;
  white-space: pre-line;
}

.staff-hobby {
  margin-top: 10px;
  margin-bottom: 5px;
}

.staff-hobby,
.staff-license {
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

/* 経歴について */
.career-timeline {
  max-width: 760px;
  margin: 0 auto;
  padding: 2em 1em;
  font-family: "Helvetica Neue", sans-serif;
}

.section-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 1.5em;
  border-bottom: 2px solid #02cdd2;
  padding-bottom: 0.5em;
}

.timeline {
  position: relative;
  margin-left: 30px;
  border-left: 3px solid #02cdd2;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5em;
  padding-left: 30px;
}

.timeline-marker {
  width: 14px;
  height: 14px;
  background-color: #02cdd2;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #02cdd2;
  position: absolute;
  left: -9px;
  top: 50%;
}

.timeline-content {
  background: #f8f8f8;
  border-radius: 6px;
  padding: 1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.timeline-date {
  font-weight: bold;
  font-size: 1.1em;
  color: #02cdd2;
  margin-bottom: 0.3em;
}

.timeline-detail {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}

/*==========================*/
/* 採用情報ページ
/*==========================*/

.recruit-mission-sec h3 {
  font-size: 1.8rem;
  margin-bottom: 0px !important;
}

.recruit-concept-text {
  margin-top: -30px !important;
  margin-bottom: 5px !important;
}

@media screen and (max-width: 480px) {
  .recruit-mission-sec h3 {
    font-size: 1.8em;
    margin-bottom: 0px !important;
  }

  .recruit-concept-text {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    font-size: 1.4rem !important;
  }
}

/* 理想の人物像 */
.ideal-sec h3 {
  margin-bottom: 0px !important;
}

/* インタビュー */

.interview-sec .number-p {
  color: var(--accent-color);
  font-size: 2rem;
  font-weight: bold;
}

.interview-sec h3 {
  margin-top: 5px !important;
  margin-bottom: 15px !important;
}

/* スタッフの１日 */
@media screen and (max-width: 480px) {
  .schedule-sec h3 {
    margin-top: 30px !important;
    margin-bottom: 10px !important;
  }
}

/*==========================*/
/* お問い合わせ
/*==========================*/

/* セクション全体のレイアウト */
.contact-contents-3 {
  display: flex;
  justify-content: space-between; /* 横並び & 均等配置 */
  align-items: center;
  padding: 40px 20px;
}

/* ボタン */
.contact-contents-3__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 1px solid #b7e6e8;
  text-decoration: none;
  transition: background 0.3s ease-in-out, filter 0.3s ease-in-out;
  background: #daf5f6;
}

/* ボタンのアイコン */
.contact-contents-3__button-icon {
  font-size: 20px;
  color: white;
  font-weight: bold;
}

/* ホバー時のアニメーション */
.contact-contents-3__button:hover {
  background: #b7e6e8;
}

.contact-contents-3__button:hover .contact-contents-3__button-icon {
  color: #ffffff;
}

/* 追加部分のスタイル */
.contact-contents-3__info {
  display: flex;
  align-items: center;
}

.contact-contents-3__info-text {
  margin-right: 20px; /* ボタンとの間隔を設定 */
  font-size: 25px; /* テキストのサイズ */
  font-weight: bold; /* フォントの太さ */
}

/* タイトルテキスト */
.contact-txt {
  font-size: 45px;
  font-weight: bold;
}

@media (max-width: 767px) {
  .contact-contents-3 {
    flex-direction: column; /* スマホでは縦並びに */
    text-align: center; /* テキストを中央揃え */
    padding: unset; /* PC用の padding を無効化 */
    align-items: flex-start; /* 左揃え */
  }
  .contact-contents-3__info {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 真ん中配置 */
    width: 100%; /* 幅を100%に */
    margin-top: 20px; /* ボタンとの間隔を確保 */
  }
  .contact-contents-3__info-text {
    margin-right: 0; /* 横の間隔をなくす */
    margin-bottom: 20px; /* 下に少し余白をつける */
    font-size: 20px; /* フォントサイズを調整 */
  }
  .contact-contents-3__button {
    width: 80px; /* ボタンのサイズを調整 */
    height: 80px;
  }
  .contact-contents-3__button-icon {
    font-size: 18px; /* アイコンのサイズを調整 */
  }
}

/* クリニック概要 */
@media screen and (max-width: 480px) {
  .about-clinic-sec iframe {
    height: 300px;
  }

  .contact-txt {
    font-size: 2rem;
  }
}

/*==========================*/
/* コラムページ：タブナビゲーション */
/*==========================*/

.custom-tab {
  margin-bottom: 2em;
  max-width: ;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}
.tab-nav li {
  border: 1px solid #00c4cc;
  border-radius: 2em;
  padding: 0.5em 1.5em;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.tab-nav li.active {
  background: #00c4cc;
  color: #fff;
}

/*==========================*/
/* パネル切り替え & 投稿カードグリッド */
/*==========================*/

.tab-panel {
  display: none;
  width: 100%;
}
.tab-panel.active {
  display: flex;
  justify-content: center; /* グリッド自体を中央に */
}

/* 投稿カードラッパー（最大3列・中央寄せ） */
.post-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5em;
  max-width: calc(350px * 3 + 3em); /* カード3枚分＋gap */
  width: 90%;
  justify-content: center;
}

/* 投稿カード */
.post-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid #ccc;
  /* padding: 1em; */
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s;
}
.post-card:hover {
  background-color: #e0fafa; /* ← #02CDD2の薄い色相 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.post-card img {
  width: 100%;
　height: 300px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tag-label {
  position: absolute;
  top: 0;
  right: 0;
  background: #00c4cc;
  color: #fff;
  font-size: 0.75em;
  padding: 0.3em 0.6em;
  border-bottom-left-radius: 4px;
}

.post-text {
  padding: 10px;
}
.meta {
  margin-top: 1.5em;
  font-size: 0.9em;
  color: #666;
}
.title {
  font-weight: bold;
  margin-top: 0.3em;
}

/* 投稿カードが1件のとき、最大幅にしない */
.post-wrapper:has(.post-card:nth-child(1):nth-last-child(1)) {
  grid-template-columns: 350px; /* 固定幅1列にする */
  justify-content: center;
}

.entry-sec .smb-section__title {
  text-align: center;
}

.entry-sec .smb-section__lede {
  text-align: center;
}

.c-meta__item--author {
  display: none;
}

/*==========================*/
/* 投稿詳細ページ
/*==========================*/
/* 次の投稿、前の投稿非表示 */
.c-prev-next-nav {
  display: none;
}

/* ページネーション非表示 */
.p-breadcrumbs-wrapper {
  display: none;
}

/* タイトル下の属性非表示 */
.c-entry__meta {
  display: none;
}
.c-meta {
  display: none;
}

/* ドクター投稿 */
.single-doctor h2 {
  border-bottom: 1px solid var(--accent-color) !important;
  padding-bottom: 10px;
  padding-left: 10px;
}

.single .c-page-header {
  height: 230px;
  background-color: var(--accent-color);
  color: white;
}

.single .c-page-header__bgimage {
  background-color: var(--accent-color);
}

.single .c-page-header__bgimage img {
  opacity: 0;
}

/* .c-meta__item--modified {
  display: none;
}

.c-meta__item--author {
  display: none;
} */

/* エントリーフォーム */

.smf-form--business .smf-item__col--label {
  flex: 0 0 18em;
  max-width: 18em;
  background-color: #b7e6e8;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
}

.smf-item__label__text {
  font-weight: bold;
}

input {
  width: 100%;
}

.smf-button-control button {
  margin-top: 50px;
  width: 350px;
}

.smf-placeholder {
  text-align: center;
  margin-top: 20px;
}

/*==========================*/
/* モーダル
/*==========================*/
#sgpb-popup-dialog-main-div {
  max-width: 1000px !important;
  margin: auto;
}

@media screen and (max-width: 480px) {
  .sgpb-main-html-content-wrapper h2 {
    line-height: 1;
  }
  .sgpb-main-html-content-wrapper h2 strong {
    font-size: 1.5rem;
  }
  .sgpb-main-html-content-wrapper .wp-block-cover {
    min-height: 80px !important;
  }

  .sgpb-main-html-content-wrapper
    .wp-block-snow-monkey-blocks-section-break-the-grid
    .c-container {
    padding: 0px;
  }
}
