@charset "UTF-8";

/* ------
  - *基本設定
  - *パンくずリスト
  - *ページ内リンク
  - *ページャー
  - *書式設定
  - *タイトル
  - *タブ
  - *テーブル
  - *メインビジュアル
  - *医院案内
  - *医師紹介
  - *アクセス
  - *ブログ
  - *404
------ */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
main section {
  margin-bottom: 80px;
}

main section .inner, .breadcrumb .inner, .page_links .inner, .blog_wrap {
  max-width: 1100px;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
  .inner {
    width: 100%;
    margin: auto;
    padding: 0 20px;
  }
}

/* ==================================================================================================================================

  *パンくずリスト

================================================================================================================================== */
.breadcrumb {
  margin: 30px auto !important;
}

.breadcrumb_list {
  counter-reset: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
}

.breadcrumb_list li {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.breadcrumb_list li::after {
  content: "\f054";
  position: relative;
  top: -1px;
  padding: 0 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 70%;
}

/* 親、子、孫が複数ある場合、最後以外にカンマを表示 */
.breadcrumb_list li.parent:has(~ .parent)::after,
.breadcrumb_list li.child:has(~ .child)::after,
.breadcrumb_list li.grandchild:has(~ .grandchild)::after {
  content: ",";
  position: relative;
  top: 0;
  padding: 0 5px;
  font-family: inherit;
  font-weight: normal;
  font-size: 100%;
}

/* 最後の要素の矢印を消す */
.breadcrumb_list li:last-of-type::after {
  display: none;
}

/* ==============================================
  *SP パンくずリスト
============================================== */
@media screen and (max-width: 640px) {
  .breadcrumb {
    font-size: 13px;
  }
}

/* ==================================================================================================================================

  *ページ内リンク

================================================================================================================================== */
.page_links {
  margin-bottom: 50px;
}

.page_links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.page_links li {
  position: relative;
  z-index: 1;
}

.page_links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 15px;
  background: var(--sub-color);
  border: 2px solid var(--sub-color);
  border-radius: 10px;
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #ffffff;
  font-size: 94%;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.page_links a:hover {
  color: var(--sub-color);
  background: #fff;
}

/* ----- 2列 ----- */
.twoLinks li {
  width: calc(50% - 5px);
}

/* ----- 3列 ----- */
.threeLinks li {
  width: calc(33.3333333333% - 6.6666666667px);
}

/* ==============================================
  *SP ページ内リンク
============================================== */
@media screen and (max-width: 640px) {
  .page_links {
    margin-bottom: 40px;
  }

  /* ----- 2列 ----- */
  .twoLinks li {
    width: 100%;
  }

  /* ----- 3列 ----- */
  .threeLinks li {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *ページャー

================================================================================================================================== */
.pager {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 30px auto 0;
  font-size: 15px;
}

/* ----- ページャーのボタン ----- */
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 1px 2px;
  background: #d7d7d7;
  border-radius: 50%;
  color: #ffffff;
  line-height: 1;
}

/* リンクの場合  */
a.page-numbers.prev, a.page-numbers.next {
  padding: 0 0 5px 1px;
  font-size: 170%;
}

a.page-numbers:hover {
  background: #929292;
  color: #ffffff;
}

/* 開いているページ */
.page-numbers.current {
  background: var(--main-color);
  color: #ffffff;
}

/* ==================================================================================================================================

  *サイドバー

================================================================================================================================== */
.sidebar {
  z-index: 3;
  flex-shrink: 0;
  width: 25%;
}

.side_box {
  padding: 20px;
  background: var(--bg-color);
}

.side_box:not(:last-of-type) {
  margin-bottom: 30px;
}

.side_box .children {
  padding-left: 10px;
}

.side_box a {
  color: var(--text-color);
}

.side_box a:hover {
  color: var(--main-color);
}

.side_title {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
  padding: 0 0 5px 5px;
  border-bottom: solid 2px var(--main-color);
  font-weight: bold;
  font-size: 110%;
  line-height: 1.5;
  text-align: left;
}

.side_title i {
  margin-right: 10px;
  color: var(--main-color);
}

/* ----- サイドバー（診療案内） ----- */
.sidebar .medical li {
  padding: 10px 15px;
  border-bottom: 1px solid var(--line-color);
}

@media screen and (max-width: 640px) {
  .sidebar {
    width: 100%;
    margin: 0;
    padding: 0 20px;
  }

  .side_box:not(:last-of-type) {
    margin-bottom: 20px;
  }
}

/* ==================================================================================================================================

  *書式設定

================================================================================================================================== */
.mtem {
  margin-top: 2em;
}

.mbem {
  margin-bottom: 1em;
}

/* 段落余白 */
main .inner > *:not(h1, h2, h3, h4, h5) {
  margin-bottom: 2em;
}

main .inner > *:not(h1, h2, h3, h4, h5):last-child {
  margin-bottom: 0;
}

/* ----- text ----- */
.text {
  position: relative;
}

.text > *:not(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 2em;
}

.text > *:not(h1, h2, h3, h4, h5, h6):last-child {
  margin-bottom: 0;
}

/* ==================================================================================================================================

  *タイトル

================================================================================================================================== */
h2, h3, h4, h5, h6 {
  position: relative;
  z-index: 1;
  margin-top: 50px;
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.75;
}

h2:first-of-type,
h3:first-of-type,
h4:first-of-type,
h5:first-of-type,
h6:first-of-type,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
  margin-top: 0;
}

h2 {
  margin-bottom: 25px;
  background: var(--main-color);
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 150%;
  letter-spacing: .075em;
  line-height: 1.6;
}

h3 {
  margin-bottom: 20px;
  font-size: 138%;
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .075em;
  line-height: 1.6;
}

h3::before,
h3::after {
  display: block;
  content: "";
  width: 100%;
  height: 2px;
}

h3::before {
  background: linear-gradient(to right, #359d52, #91cba1);
  margin-bottom: 5px;
}

h3::after {
  background: linear-gradient(to left, #359d52, #91cba1);
  margin-top: 5px;
}

h4 {
  margin-bottom: 17px;
  width: fit-content;
  font-size: 125%;
  line-height: 1.7;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--sub-color);
}

h5 {
  margin-bottom: 15px;
  font-size: 113%;
  color: var(--main-color);
}

/* ==================================================================================================================================

  *タブ

================================================================================================================================== */
.tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 20px;
  background: #a9a9a9;
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

.tab_list li.active {
  background: var(--main-color);
}

.panel_wrap > *:not(:last-child) {
  margin-bottom: 2em;
}

.panel {
  margin: 0 !important;
  padding: 20px;
  background: var(--bg-color);
}

.panel > *:not(:last-child) {
  margin-bottom: 2em;
}

/* ==============================================
  *SP
============================================== */
@media screen and (max-width: 640px) {
  .tab_list {
    flex-flow: column;
  }

  .tab_list li {
    width: 100%;
  }

  .tab_list .panel {
    margin-top: 20px;
    padding: 15px;
  }
}

/* ==================================================================================================================================

  *テーブル

================================================================================================================================== */
/* ------ 基本設定 ------ */
table th, table td {
  width: auto;
  padding: 10px;
  border: 1px solid var(--line-color);
  text-align: center;
  vertical-align: middle;
}

table th {
  background: var(--bg-color);
}

/* tdを左揃え */
.td_left td {
  text-align: start !important;
}

/* ------ ScrollHint ------ */
.scrolltable {
  overflow: visible !important;
}

/* ----- 最初の行のthがメインカラー、２列目以降のthに背景色がつく ----- */
.table01 tr th {
  background: var(--bg-color);
  font-size: 105%;
}

.table01 tr:first-child th {
  background: #af9c6c;
  color: #ffffff;
}

/* ----- 一番左側がthになるテーブル（SP時は縦に1列表示） ----- */
.table02 th, .table02 td {
  position: relative;
  z-index: 1;
}

.table02 .list_items {
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
}

.table02 .list_item {
    display: flex;
    align-items: center;
    justify-content: center; /* 中央寄せを維持する場合 */
    /* gap は不要（または微調整用） */
}

.table02 dt {
    width: 7em; /* 文字数に合わせて調整（例：7文字分） */
    text-align: left; /* 左揃えにするとより綺麗です */
}

.doctors {
	font-family: var(--font);
    font-size: 125%;
}

/* 1列目（曜日）の横幅を指定 */
.doctors th:nth-child(1) {
    width: 14%;
}

@media screen and (min-width:641px){
	.table02_recruit th{
		width: 38%;
	}
	}

/* ==============================================
  *SP テーブル
============================================== */
@media screen and (max-width: 640px) {
  /* ------ ScrollHint ------ */
  .scrolltable {
    overflow: auto !important;
  }

  .scrolltable table {
    min-width: 800px;
    min-height: 170px;
    background: none !important;
  }

  .scroll-hint-icon {
    top: 50% !important;
    left: 50% !important;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 135px !important;
    height: 100px !important;
    transform: translate(-50%, -50%) !important;
  }

  /* ----- 一番左側がthになるテーブル（SP時は縦に1列表示） ----- */
  .table02 tr th, .table02 tr td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  .table02 tr:last-child td:last-child {
    border-bottom: 1px solid var(--line-color);
  }
}

/* ==================================================================================================================================

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  background: var(--main-color);
  overflow: hidden;
}

.mainvisual .mainvisual_bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
}

.mainvisual .mainvisual_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.mainvisual .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: 50px 0;
}

/* ----- 下層ページの見出し ----- */
.main_headline {
  color: #fff;
  font-size: 200%;
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 0 8px #404040, 0 0 8px #404040;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  .mainvisual .inner {
    min-height: 180px;
    padding: 30px 20px;
  }

  /* ----- 下層ページの見出し ----- */
  .main_headline {
    font-size: 150%;
  }
}

/* ==================================================================================================================================

  *医院案内

================================================================================================================================== */
.clinic_desc {
  width: 100%;
}

.clinic_desc dl {
  display: flex;
}

.clinic_desc dt {
  width: 20%;
  padding: 15px;
  border-bottom: 1px dotted var(--line-color);
  font-weight: bold;
}

.clinic_desc li:first-child dt {
  padding-top: 0;
}

.clinic_desc dd {
  width: 80%;
  padding: 15px;
  border-bottom: 1px dotted var(--line-color);
}

.clinic_desc dd .zipcode {
  margin-right: 10px;
}

.clinic_desc li:first-child dd {
  padding-top: 0;
}

.facilities_list {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.facilities_item {
  width: calc(33.3333333333% - 13.3333333333px);
  background: var(--bg-color);
}

.facilities_item dd {
  padding: 15px 20px;
}

.facilities_item h3 {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  /* ↑reset css */
  color: var(--text-color);
  font-size: 125%;
}

.facilities_item h3:not(:last-child) {
  margin-bottom: 10px;
}

/* reset css */
.facilities_item h3::before, .facilities_item h3::after {
  display: none;
}

/* ----- 画像がない時用 ----- */
.facilities_item.noimg {
  padding: 15px 20px;
}

.facilities_item.noimg p {
  margin-top: 5px;
}

/* ==============================================
  *SP 医院案内
============================================== */
@media screen and (max-width: 640px) {
  .clinic_desc dl {
    display: block;
  }

  .clinic_desc dt {
    width: 100%;
    padding: 15px 0 5px;
    border-bottom: none;
  }

  .clinic_desc li:first-child dt {
    padding-top: 0;
  }

  .clinic_desc dd {
    width: 100%;
    padding: 0 0 15px;
  }

  .facilities_item {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *医師紹介

================================================================================================================================== */
.doctor_box:not(:last-child) {
  margin: 0;
  padding: 0 0 60px;
}

.doctor_flex {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.doctor_text {
  width: 100%;
}

.doctor_text > *:not(:first-child) {
  margin-top: 30px !important;
}

.doctor_name {
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: right;
  line-height: 1.7;
}

.doctor_name .position {
  font-size: 130%;
}

.doctor_name .name {
  font-size: 150%;
}

.doctor_img {
  flex-shrink: 0;
  width: 350px;
}

.doctor_career {
  margin-top: 30px;
}

.career_box {
  padding: 30px;
  background: var(--bg-color);
}

.career_box:not(:last-of-type) {
  margin-bottom: 20px;
}

.career_box h3 {
  margin: 0 0 10px;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 140%;
}

.career_box h3::before, .career_box h3::after {
  display: none;
}

/* 日付あり */
.career_box dl {
  display: flex;
  gap: 10px;
  border-bottom: 1px dashed var(--line-color);
}

.career_box dl > * {
  padding: 10px 20px;
}

.career_box dt {
  width: 15%;
}

/* 日付なし */
.career_box li {
  padding: 10px 20px;
  border-bottom: 1px dashed var(--line-color);
}

/* フリーエリア */
.doctor_freearea {
  margin-top: 30px;
}

/* ==============================================
  *SP 医師紹介
============================================== */
@media screen and (max-width: 640px) {
  .doctor_flex {
    flex-flow: column;
    gap: 30px;
  }

  .doctor_img {
    order: -1;
    width: 100%;
    margin: 0 auto;
  }

  .career_box {
    padding: 20px;
  }

  /* 日付あり */
  .career_box dl {
    flex-flow: column;
    gap: 0;
  }

  .career_box dl > * {
    padding: 10px;
  }

  .career_box dt {
    width: 100%;
    padding: 10px 10px 5px;
  }

  .career_box dd {
    width: 100%;
    padding: 5px 10px 10px;
  }

  /* 日付なし */
  .career_box li {
    padding: 10px;
  }
}

/* ==================================================================================================================================

  *アクセス

================================================================================================================================== */
/* ----- MAP ----- */
.access .googlemap iframe {
  width: 100%;
  height: 400px;
}

/* イラストマップのみ */
.access .illustmap {
  width: 100%;
  height: fit-content;
  text-align: center;
}

/* 両方を表示する時 */
.mapflex {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 30px;
}

.mapflex > * {
  display: flex;
  flex-grow: 1;
  align-items: stretch;
  width: calc(50% - 10px) !important;
}

.mapflex > .googlemap {
  position: relative;
  z-index: 1;
  flex-shrink: 1;
  width: calc(50% - 20px);
  height: auto;
}

.mapflex > .googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ----- 住所 ----- */
.access .location {
  position: relative;
  z-index: 1;
  padding: 0 0 0 40px;
  font-weight: bold;
}

.access .location::before {
  content: "\f3c5";
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 13px;
}

.access span {
  display: inline-block;
  margin-right: 10px;
}

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

/* ----- ルート案内 ----- */
.route_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px 30px;
}

.route_item {
  width: calc(50% - 15px);
}

.route_item > *:not(:last-child) {
  margin-bottom: 1em;
}

.route_title {
  position: relative;
  z-index: 1;
  min-height: 30px;
  padding: 0 0 0 40px;
  font-size: 110%;
}

.route_title .number {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1;
}

/* ==============================================
  *SP アクセス
============================================== */
@media screen and (max-width: 640px) {
  .mapflex > * {
    width: 100% !important;
  }

  /* ----- ルート案内 ----- */
  .route_list {
    gap: 30px;
  }

  .route_item {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *ブログ

================================================================================================================================== */
/* ----- 共通 ----- */
.blog_wrap {
  display: flex;
  gap: 50px;
  margin: 0 auto 80px;
  padding: 0;
}

.blog_wrap .inner {
  width: 75%;
  margin: 0;
  padding: 0;
}

.blog_wrap .contents {
  display: flex;
  flex-flow: wrap;
  gap: 30px 20px;
  width: 100%;
  margin: 0 !important;
}

/* 日付 */
.blog_date {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.5;
}

.blog_date::before {
  content: "\f073";
  display: inline-block;
  margin-right: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
}

/* カテゴリー */
.blog_categorys {
  display: flex;
  flex-flow: wrap;
  gap: 0 5px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.blog_categorys a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.5;
}

.blog_categorys a::before {
  content: "\f02b";
  position: relative;
  top: 1px;
  display: inline-block;
  margin-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

/* ----- サイドバ（サムネイル付き） ----- */
.blog_list_thum {
  display: flex;
  flex-flow: column;
}

.blog_list_thum li {
  padding: 15px 0;
}

.blog_list_thum li:first-child {
  padding-top: 0;
}

.blog_list_thum li:last-child {
  padding-bottom: 0;
}

.blog_list_thum li:not(:last-child) {
  border-bottom: 1px dashed var(--line-color);
}

.blog_list_thum li a {
  display: flex;
  gap: 10px;
  color: var(--text-color);
  font-size: 95%;
  line-height: 1.75;
}

.blog_list_thum li a:hover {
  color: var(--main-color);
}

/* サムネイル */
.blog_item_thum {
  float: none;
  display: block;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.blog_item_thum img {
  float: none;
  display: block;
  width: auto;
  min-height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.2s;
}

.blog_item a:hover img {
  transform: scale(1.1);
}

/* タイトル */
.blog_item_title {
  padding: 5px 0;
}

/* カテゴリー */
.side_blog_category a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 0 0 15px;
  color: var(--text-color);
}

.side_blog_category a :hover {
  color: var(--main-color);
}

.side_blog_category a::before {
  content: "-";
  position: absolute;
  top: 0;
  left: 0;
}

/* ----- アーカイブページ ----- */
.blog_box {
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 13.3333333333px);
  height: auto;
  background-color: #ffffff;
  border: solid 1px var(--line-color);
}

/* サムネイル */
.blog_box .thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-bottom: solid 1px var(--line-color);
  text-align: center;
}

.blog_box .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 13/9;
}

.blog_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 15px 15px 20px;
  border-top: none;
}

/* 見出し */
.blog_box h2.blog_title {
  margin: 0 0 15px;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 110%;
}

.blog_box h2.blog_title:before, .blog_box h2.blog_title:after {
  display: none;
}

.blog_box .btn01 {
  margin-top: auto;
  text-align: center;
}

.blog_box .btn01 > * {
  min-width: auto;
}

/* ----- 記事ページ ----- */
.blog_single_box {
  width: 100%;
}

/* サムネイル */
.blog_single_box .thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 30px;
  text-align: center;
}

#index {
  margin: 0 0 30px;
  padding: 20px;
  background: var(--bg-color);
}

#index .index_title {
  margin: 0 0 0;
  font-weight: bold;
  font-size: 110%;
}

#index a {
  color: var(--text-color);
}

#index a:hover {
  color: var(--main-color);
}

#index .index_h2 {
  position: relative;
  z-index: 1;
  padding: 5px 0 5px 20px;
  font-weight: bold;
  color: var(--text-color);
  font-size: 110%;
}

#index .index_h2::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--main-color);
}

#index .index_h3 {
  position: relative;
  z-index: 1;
  padding: 5px 0 5px 25px;
}

#index .index_h3::before {
  content: "-";
  position: absolute;
  top: 5px;
  left: 10px;
}

.blog_single_box .blog_text > *:not(h1, h2, h3, h4, h5) {
  margin-bottom: 2em;
}

.blog_single_box .blog_text > *:not(h1, h2, h3, h4, h5):last-child {
  margin-bottom: 2em;
}

/* ==============================================
  *SP ブログ
============================================== */
@media screen and (max-width: 640px) {
  /* ----- 共通 ----- */
  .blog_wrap {
    flex-flow: column;
    gap: 70px;
    width: 100%;
  }

  .blog_wrap .inner {
    width: 100%;
    padding: 0 20px;
  }

  /* ----- アーカイブページ ----- */
  .blog_box {
    width: 100%;
  }

  /* サムネイル */
  .blog_box .thumbnail {
    height: auto;
    min-height: auto;
  }

  .blog_box .thumbnail img {
    width: 100%;
    height: auto;
  }
}

/* ==================================================================================================================================

404

================================================================================================================================== */
.error404 main > .inner {
  padding: 20px 0 80px;
}

.error404 main p {
  text-align: center;
}

/* ==============================================
  *SP 404
============================================== */
@media screen and (max-width: 640px) {
  .error404 main > .inner {
    padding: 0px 20px 60px;
  }
}

/* ==================================================================================================================================

診療案内 > オンライン診療について

================================================================================================================================== */
.color-red{
  color: #f71616;
}

p.align_right{
  text-align: right;
}

.recommend_wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.recommend_wrap .column{
  width: calc((100% - 50px) / 3);
  border-radius: 10px;
  border: 2px solid #189343;
  padding: 10px;
  text-align: center;
}

.recommend_wrap .recommend_title{
  margin-bottom: 10px;
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: var(--main-color);
  font-size: 120%;
}

.app_dl_wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.app_dl_wrap .column{
  width: calc((100% - 40px) / 2);
  max-width: 230px;
  text-align: center;
}

.app_dl_wrap .column img{
  height: 65px;
  width: auto;
}

/* ==============================================
 *SP 診療案内 > オンライン診療について
============================================== */
@media screen and (max-width: 640px) {
  .recommend_wrap{
    flex-direction: column;
  }

  .recommend_wrap .column{
    width: 100%;
  }

  .app_dl_wrap{
    gap: 20px;
  }

  .app_dl_wrap .column{
    width: calc((100% - 20px) / 2);
    max-width: 150px;
  }

  .app_dl_wrap .column img{
    height: 45px;
  }
}

/* ==================================================================================================================================

医療機関の方へ

================================================================================================================================== */
.to_medical_flow {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: var(--bg-color);
  padding: 30px;
}

.to_medical_flow ol{
  gap: 0 !important;
}

.to_medical_flow li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-radius: 5px;
  padding: 10px 25px !important;
  background: #ffffff;
  font-family: zen-maru-gothic, sans-serif;
  font-style: normal;
  line-height: 1.5;
}

.to_medical_flow li:last-of-type{
  margin-bottom: 10px;
}

.to_medical_flow li::before {
  content: "" !important;
}

.to_medical_flow li:not(:last-of-type)::after {
  content: '';
  width: 15px;
  height: 15px;
  border: 0;
  border-bottom: solid 2px #333;
  border-right: solid 2px #333;
  transform: rotate(45deg) translateX(-50%);
  position: absolute;
  bottom: -30px;
  left: 50%;
}

.to_medical_flow .text {
  display: flex;
  align-items: center;
  font-size: 120%;
}

.to_medical_flow .text span {
  margin-bottom: 0;
  color: var(--main-color);
  font-size: 120%;
  line-height: 1;
  padding-right: 10px;
}

.to_medical_flow .img_wrap {
  width: 75px
}

/* ==============================================
 *SP 医療機関の方へ
============================================== */
@media screen and (max-width: 640px) {
  .to_medical_flow .text {
    font-size: 100%;
  }

  .to_medical_flow .img_wrap {
    width: 60px
  }
}

/* ==================================================================================================================================

入院のご案内

================================================================================================================================== */
table.hospitalization_paid th{
  width: 30%;
}

/* ==============================================
 *SP 入院のご案内
============================================== */
@media screen and (max-width: 640px) {
  table.hospitalization_paid th {
    width: 100%;
  }
}

/* ==================================================================================================================================

病院案内

================================================================================================================================== */
.clinic_philosophy_signature{
  text-align: right;
}

.clinic_philosophy_signature span{
  font-size: 130%;
}

/* ==================================================================================================================================

ご挨拶

================================================================================================================================== */
.doctor_catchcopy{
    font-size: 130%;
    font-family: "zen-maru-gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.05em;
    margin-bottom: 0.8em !important;
    color: var(--main-color);
}

.doctor_name .name span{
    font-size: 85%;
}

.img_my-number {
    max-width: 700px;
    margin: 0 auto;
}

.img_maina {
    max-width: 300px;
    margin: 0 auto;
}
