/*
Theme Name: 旗の台病院リニューアルテーマ
Theme URI: https://www.hatanodai.or.jp/
Author: 柏山周子
Author URI: 作成者のアドレス
Description: 旗の台病院リニューアルテーマ
Version: バージョン
License: ライセンス
*/

@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-feature-settings: 'normal';
}

body {
    position: relative;
    width: 100%;
    background: #fff;
    color: #2C2D2D;
    font-size: 16px;
    text-align: left;
    line-height: 1.5;
    word-break: break-all;
}

a {
    color: #076fb8;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.wrapper {
    /* max-width: 1280px; */
    min-width: 1000px;
    margin: 0 auto;
}

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

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

.red {
    color: #EB6262;
}

.right {
    text-align: right;
}

:root {
    scroll-padding: 188px;
    scroll-behavior: smooth;
}

.wp-block-image img {
    display: block;
    height: auto;
    width: 100%;
}

a:hover {
    opacity: 50%;
}

/*  */
.has-medium-font-size {
	font-size: 20px;
}

hr {
	border-top: 1px solid #707070;
}

/* top */
.global-header-wrap {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
}

.global-header {
    display: flex;
    justify-content: space-between;
    padding: 8px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.global-header__logo {
    margin-right: 20px;
}

.global-header__logo p {
    margin-bottom: 8px;
    font-size: 12px;
}

.global-header__right .tel {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #2C2D2D;
}

.global-header__right.pc .tel::before {
    content: "";
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background: url(assets/images/icon_tell.svg);
    background-size: cover;
    flex: none;
}

.global-header__right.pc .traffic-access {
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: 14px;
    color: #1893C9;
    padding: 4px 12px;
    background-color: #fff;
    border: 1px solid #1893C9;
    border-radius: 4px;
}

.global-header__right.pc .traffic-access::before {
    display: inline-flex;
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: url(assets/images/head_ico02.svg);
    background-size: 20px 20px;
}

.global-header .btn_news {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-header .btn_news a {
    color: #EB6262;
    border: 1px solid #EB6262;
    border-radius: 4px;
    padding: 4px 16px;
    font-size: 14px;
}

.global-header__right .right-list ul {
    display: flex;
    align-items: center;
    margin-right: 16px;
    font-size: 14px;
}

.global-header__right.pc p {
    font-size: 12px;
}

.global-header__right.pc p.tel {
    font-size: 32px;
    font-weight: bold;
}

.right-list ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
    padding: 4px 12px;
    height: 32px;
    border-radius: 4px;
    width: 140px;
}

.right-list li.online-reservation {
    background-color: #1893C9;
}

.right-list li.online-reservation a {
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-list li.online-reservation a::before {
    display: inline-flex;
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: url(assets/images/head_ico01.svg);
}


/* メニュー（PCのみ */
.tab-wrap {
    background-color: #EEEEEE;
}

.tab {
    position: relative;
    max-width: 1280px;
    margin: auto;
}

.tab-list {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    width: 100%;
    margin: 0 auto;
}

.tab-list .tab-list-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-height: 40px;
    padding: 8px 0;
    box-sizing: border-box;
    background-color: #EEEEEE;
    color: #2C2D2D;
    text-align: center;
    cursor: pointer;
}

.tab-list .tab-list-item.green {
    background-color: #78CE51;
}

.tab-list .tab-list-item.yellow {
    background-color: #F4D01F;
}

.tab-list .tab-list-item.green:hover,
.tab-list .tab-list-item.green.active,
.tab-list .tab-list-item.yellow:hover,
.tab-list .tab-list-item.yello.active {
    color: #fff;
}

.tab-list .tab-list-item.blue:hover,
.tab-list .tab-list-item.blue.active {
    background-color: #1893C9;
    color: #fff;
}

.tab-contents-wrap {
    position: absolute;
    width: 50%;
    top: 40px;
}

.tab-contents-wrap--3 {
    left: 17%;
}

.tab-contents-wrap--4 {
    left: 34%;
}

.tab-contents-wrap--5,
.tab-contents-wrap--6 {
    right: 0;
}

.tab-contents {
    display: none;
    padding: 16px 36px;
    box-shadow: 0px 5px 10px rgba(45, 45, 45, .2);
}


.tab-contents.green {
    background-color: rgba(120, 206, 81, 0.9);
}

.tab-contents.yellow {
    background-color: rgba(244, 208, 31, 0.9);
}

.tab-contents.blue {
    background-color: rgba(24, 147, 201, 0.9);
}

.tab-contents ul {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 12px 38px;
    font-size: 16px;
    line-height: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-contents.green ul {
    grid-template-columns: auto auto;
}

.tab-contents.yellow ul {
    grid-template-columns: auto auto auto;
}

.tab-contents li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-contents li a .image {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.tab-contents li a .image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.tab-contents ul li a {
    color: #fff;
}

.tab-contents ul li a:hover {
    text-decoration: underline;
}

/* top画像 */

.swiper-container {
    overflow: auto;
    width: 100%;
    overflow: hidden;
}

.top-image-wrap {
    position: relative;
    height: 250px;
}

.top-image-wrap .swiper-button-prev::after,
.top-image-wrap .swiper-button-next::after {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0px 0px 3px #257D6B;
}

.top-image-wrap .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 8px !important;
    background-color: #DADDDE;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: #1893C9 !important;
    opacity: 1 !important;
}

.top-image {
    height: 250px;
    background-position: left top, right center;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, cover;
}

.top-image.top-image--01 {
    background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_ambulance.png);
}

.top-image.top-image--02 {
    background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_building.png);
}

.top-image.top-image--03 {
    background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_endoscope.png);
}

.top-image.child {
    height: 250px;
    position: relative;
    background-position: left top, right center;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, cover;
}

.top-image.child.green {
    background-image: url(assets/images/mvpage-grn.png), url(assets/images/kv_care.png);
}

.top-image.child.yellow {
    background-image: url(assets/images/mvpage-yel.png), url(assets/images/kv_care.png);
}

.top-image.child.blue {
    background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_care.png);
}

.top-image.child.emergency {
    background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_ambulance.png);
}

.top-image.child.endoscope {
    background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_endoscope.png);
}

.top-image__left {
    color: #ffffff;
    padding-left: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    box-sizing: border-box;
}

.top-image__left h2 {
    margin-bottom: 8px;
    font-size: 35px;
    font-weight: normal;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.top-image__left p {
    font-size: 22px;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.container {
    margin: 40px 40px 80px;
}

.main-sidebar-wrapper {
    display: flex;
    margin: 0 auto;
    margin-bottom: 100px;
    max-width: 1200px;
}

.main-sidebar-wrapper.center {
    display: table;
}

.main-sidebar-wrapper.center.information {
    width: 100%;
    max-width: 860px;
}

/* TOPページ 共通 */
section {
    text-align: center;
}

/* TOPページ インフォメーション */
section.top-info {
    background-color: #EAF6F9;
    padding: 40px;
}

.info-medical-hours-box {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
}

.info-box {
    display: grid;
    gap: 8px 10px;
    grid-template-columns: 1fr 1fr;
    padding: 0px 24px;
}

.medical-hours-box {
    background-color: #D7F3FF;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
    text-align: left;
}

.medical-hours-box th,
.medical-hours-box td {
    padding: 8px;
    text-align: center;
}

.medical-hours-box th.time {
    width: 30%;
    font-size: 18px;
    font-weight: bold;
}

.medical-hours-box th.time p {
    margin-top: 0px;
    font-size: 12px;
    color: #2C2D2D;
    text-align: center;
}

.medical-hours-box p.annotation {
    margin: 8px 0px;
}

.illust-btn-box {
    display: flex;
    gap: 16px;
}

.medical-hours-box .illust-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    background-color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 8px 8px 60px;
    text-align: left;
    width: 40%;
}

.medical-hours-box .illust-btn.red {
    position: relative;
    border: 2px solid #EB6262;
    color: #EB6262;
}

.medical-hours-box .illust-btn.blue {
    position: relative;
    border: 2px solid #1DACD8;
    color: #1DACD8;
}

.medical-hours-box .illust-btn.red::before {
    content: "";
    position: absolute;
    left: 0px;
    width: 40px;
    height: 40px;
    background: url(assets/images/illust-btn_red.svg);
}

.medical-hours-box .illust-btn.blue::before {
    content: "";
    position: absolute;
    left: 0px;
    width: 40px;
    height: 40px;
    background: url(assets/images/illust-btn_blue.svg);
}

.medical-hours-box .illust-btn.red::after {
    content: "";
    width: 17px;
    height: 17px;
    background: url(assets/images/icon_arrow_r.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.medical-hours-box .illust-btn.blue::after {
    content: "";
    width: 17px;
    height: 17px;
    background: url(assets/images/icon_arrow_pb.svg);
    background-position: center;
    background-repeat: no-repeat;
}

a.info {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #1DACD8;
    color: #1DACD8;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 8px 8px 16px;
    text-align: left;
}

a.info.reserve,
a.info.fever,
a.info.vaccine {
    padding-left: 44px;
}

a.info::after {
    content: "";
    width: 17px;
    height: 17px;
    background: url(assets/images/icon_circle_arrow_pb.svg);
    background-size: cover;
}

a.info.reserve::before {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(assets/images/icon03_b.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    left: 16px;
}

a.info.fever::before {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(assets/images/icon22_b.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    left: 16px;
}

a.info.vaccine::before {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(assets/images/icon23_b.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    left: 16px;
}

section.top-info .news-box {
    text-align: left;
    max-width: 1120px;
}

section.top-info .news-box a.news {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    padding: 12px 0px;
    border-bottom: 1px solid #505050;
}

section.top-info .news-box a.sp.news {
    display: none;
}

section.top-info .news-box p {
    margin-right: 16px;
    color: #2C2D2D;
}

section.top-info .news-box p.tag {
    width: 120px;
    box-sizing: border-box;
    background-color: #1893C9;
    color: #fff;
    padding: 2px 0px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.top-info .news-box p.recruit {
    background-color: #F4D01F;
}

section.top-info .news-box p.others {
    background-color: #78CE51;
}

section.top-info .news-box h3 {
    font-size: 20px;
    color: #1893C9;
    margin-bottom: 8px;
}

section.top-info .news-box h4 {
    text-decoration: underline;
    color: #076FB8;
}

section.top-info .news-box .btn-blue {
    margin: 24px auto 0;
    width: 219px;
    height: 36px;
    border-radius: 4px;
}

section.top-info .news-box .btn-blue a {
    font-size: 14px;
    width: 219px;
    height: 36px;
    box-shadow: none;
    padding-right: 16px;
    box-sizing: border-box;
}

section.top-info .news-box .btn-blue a::after {
    content: "";
    width: 17px;
    height: 17px;
    background: url(assets/images/icon_circle_arrow_w.svg);
    background-size: 17px;
}

/* TOPページ メッセージ */
section.top-message {
    padding: 80px 40px 40px;
    background: url(assets/images/top_message.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

section.top-message h3 {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 30px;
    margin-bottom: 40px;
}

section.top-message p {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 22px;
    margin-bottom: 40px;
}

section.top-message .btn-blue,
section.top-message .btn-white {
    margin: 0 auto 16px;
}

section.top-message .btn-blue::after {
    display: none;
}

section.top-message .btn-blue a {
    color: #fff;
}

section.top-message .btn-blue a::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 25px;
    height: 25px;
    margin-left: 8px;
    background: url(assets/images/icon_circle_arrow_w.svg);
    border-radius: 50%;
}

section.top-message .btn-white::after {
    display: none;
}

section.top-message .btn-white a {
    color: #1893C9;
}

section.top-message .btn-white a::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 25px;
    height: 25px;
    margin-left: 8px;
    background: url(assets/images/icon_circle_arrow.svg);
    background-size: 25px;
    border-radius: 50%;
}

.specialty-area__inner {
    margin: 40px auto;
    padding: 40px;
    background: #FFFFFF99 0% 0% no-repeat padding-box;
    border-radius: 4px;
    max-width: 1200px;
}

section.top-message .specialty-area__inner p {
    font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ W3', 'メイリオ', Meiryo, sans-serif;
    text-align: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.specialty-area__inner ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 20px;
}

.specialty-area__inner ul li {
    display: block;
    width: 100%;
    background: #1893C9;
    width: 265px;
    height: 40px;
    border-radius: 4px;
    box-shadow: 0px 3px 6px #00000029;
    margin: 0 auto;
}

.specialty-area__inner ul li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 265px;
    height: 40px;
    margin: 0 auto;
    background: #1893C9;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
    padding: 8px 8px 8px 24px;
    text-align: left;
    box-sizing: border-box;
}

.specialty-area__inner ul li a::after {
    content: "";
    width: 17px;
    height: 17px;
    background: url(assets/images/icon_arrow_w.svg);
}

/* TOPページ 受付 */

section.top-reserve .btn-blue,
section.top-reserve .btn-blue a,
section.top-reserve .btn-white,
section.top-reserve .btn-white a,
.reserve-area .btn-blue,
.reserve-area .btn-blue a,
.reserve-area .btn-white,
.reserve-area .btn-white a {
    width: 360px;
}

/* TOPページ 採用 */
section.top-recruit {
    background: url(assets/images/sub/recruit_img01.jpg) no-repeat;
    background-size: 130%;
    background-position: 15% 80%;
    color: #fff;
}

section.top-recruit > div {
	padding: 60px 0;
    backdrop-filter: blur(3px) brightness(90%);
}

section.top-recruit h3 {
    font-size: 24px;
    margin-bottom: 12px;
    text-shadow: 0px 4px 8px #4D4D4D;
}

section.top-recruit p {
    font-size: 18px;
	font-weight: bold;
    margin-bottom: 40px;
    text-shadow: 0px 4px 8px #4D4D4D;
}

section.top-recruit ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px 20px;
    max-width: 1120px;
    margin: auto;
    padding: 0 20px;
}

section.top-recruit ul li.square {
    width: auto;
    border-radius: 4px;
    border: none;
    box-shadow: 0px 5px 10px rgba(45, 45, 45, .2);
}

section.top-recruit ul li.square a {
    width: auto;
    font-size: 20px;
    color: #2C2D2D;
    border-radius: 4px;
    border: none;
}

/* TOPページ アクセス */

section.top-map {
    margin: 40px 0;
}

.gmap {
    width: 60%;
}

.top-map-right {
    text-align: left;
    margin-left: 40px;
}

.top-map-right h3 {
    display: flex;
    align-items: center;
    margin: 32px 0 8px;
    font-size: 20px;
    font-weight: normal;
}

.top-map-right h3:first-child {
    margin-top: 0px;
}

.top-map-right h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 26px;
    margin-right: 8px;
    background-color: #1893C9;
    border-radius: 5px;
}

/* TOPページ ポップアップ追従　診療時間 */

/* サイドボタン */
.side-button {
    position: fixed;
    right: 0;
    top: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    padding: 16px 0;
    border-radius: 8px 0 0 8px;
    background-color: #1893C9;
    color: #fff;
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    cursor: pointer;
    z-index: 99;
}

.side-button-inner {
    text-align: center;
    margin: 0 auto;
    display: inline-block;
}

.side-button-inner::before {
    display: inline-flex;
    content: "";
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
    background: url(assets/images/head_ico01.svg);

}

.side-button-inner:hover {
    opacity: 0.6;
}


.popup {
    position: fixed;
    right: 0;
    top: 45%;
    z-index: 100;
}

.popup_inner {
    background-color: #fff;
    border: 4px solid #1893C9;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 0px 0px 0px 24px;
    padding: 24px;
}

.popup h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border-radius: 24px 0px 0px 0px;
    background-color: #1893C9;
    padding: 10px 16px 10px 52px;
}

.popup h3::before {
    content: "";
    position: absolute;
    left: 24px;
    width: 20px;
    height: 20px;
    background: url(assets/images/ico_time.svg);
}

.popup h3 .close-button {
    content: "";
    right: 16px;
    width: 20px;
    height: 20px;
    background: url(assets/images/ico_close.svg)no-repeat;
    cursor: pointer;
}

.popup .illust-btn {
    position: relative;
    display: block;
    align-items: center;
    border-radius: 20px;
    background-color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 8px 8px 60px;
    text-align: left;
    width: 204px;
}

.popup .illust-btn.red {
    border: 2px solid #EB6262;
    color: #EB6262;
    margin-bottom: 8px;
}

.popup .illust-btn.blue {
    border: 2px solid #1893C9;
    color: #1893C9;
}

.popup .illust-btn::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    width: 40px;
    height: 40px;
}

.popup .illust-btn.red::before {
    background: url(assets/images/illust-btn_red.svg);
}

.popup .illust-btn.blue::before {
    background: url(assets/images/illust-btn_online.svg);
}

.popup .illust-btn::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    right: 8px;
}

.popup .illust-btn.red::after {
    background: url(assets/images/icon_arrow_r.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.popup .illust-btn.blue::after {
    background: url(assets/images/icon_arrow_b.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.popup p.small {
    font-size: 12px;
    margin: 8px 0px 16px;
}

.popup p.small:last-child {
    margin-bottom: 0px;
}

.popup p.red {
    color: #EB6262;
}

/* main */
main {
    width: 100%;
    width: 846px;
}

/* パンくず */
.breadcrumb {
    margin-bottom: 40px;
    overflow-x: auto;
}

.breadcrumb a {
    text-decoration: underline;
}

.breadcrumb ul {
    display: flex;
    font-size: 14px;
}

.breadcrumb ul li {
    display: flex;
    flex: none;
}

.breadcrumb ul li:not(:last-child)::after {
    flex-shrink: 0;
    content: "";
    width: 20px;
    height: 20px;
    margin: 0 16px;
    background: url(assets/images/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: center;

}

/* コンテンツ */
.content-section a {
    text-decoration: underline;
}

.tel-button a {
    text-decoration: none;
    color: #fff;
}

/* ボタン */
.btn-blue {
    display: block;
    width: 100%;
    background: #1893C9;
    width: 500px;
    height: 57px;
    border-radius: 4px;
    box-shadow: 0px 3px 6px #00000029;
    margin: 0 auto;
}

.btn-blue a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 57px;
    margin: 0 auto;
    background: #1893C9;
    border-radius: 4px;
    box-shadow: 0px 3px 6px #00000029;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

.btn-blue a::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 25px;
    height: 25px;
    margin-left: 8px;
    background: url(assets/images/icon_circle_arrow_w.svg);
    border-radius: 50%;
}

.return {
    margin-top: 80px;
}

.return a::after {
    left: 16px;
    margin-left: 0px;
    transform: rotate(-180deg);
}

.btn-blue a:hover {
    background: rgba(24, 147, 201, 1);
}

.btn-white {
    display: block;
    width: 100%;
    background: #fff;
    width: 500px;
    height: 57px;
    border-radius: 4px;
    box-shadow: 0px 3px 6px #00000029;
}

.btn-white a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 57px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #1893C9;
    border-radius: 4px;
    box-shadow: 0px 3px 6px #00000029;
    font-size: 20px;
    color: #1893C9;
    text-decoration: none;
}

.btn-white a::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 25px;
    height: 25px;
    margin-left: 8px;
    background: url(assets/images/icon_circle_arrow.svg);
    background-size: 25px;
    border-radius: 50%;
}

.reserve-area .btn-blue,
.reserve-area .btn-white {
    width: 360px;
}

.reserve-area .btn-white {
    height: 72px;
}

.reserve-area .btn-white a {
    width: auto;
    height: 100%;
}

.content-section h2 {
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1893C9;
    color: #1893C9;
    font-size: 22px;
    font-weight: normal;
}

.content-section h3 {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: normal;
}

.content-section h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 26px;
    margin-right: 8px;
    background-color: #1893C9;
    border-radius: 5px;
}

.content-section h3.pink::before {
    background-color: #FA7590;
}

.content-section h4 {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #78CE51;
    font-size: 18px;
}

.two-column {
    display: flex;
    justify-content: space-between;
}

.two-column .two-column__image {
    margin-left: 20px;
    flex: none;
}

.two-column .two-column__image img {
    width: 240px;
}

.two-column p {
    margin-bottom: 16px;
}

.indent {
    text-indent: -2.5em;
    padding-left: 2.5em;
}

/* table */
table.pc {
    display: table;
}

table {
    border-collapse: collapse;
    width: 100%;
}

tbody {
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
}

tr {
    width: 100%;
    box-sizing: border-box;
}

table th,
table td {
    border: 1px solid #1893C9;
    background-color: #fff;
    padding: 24px;
    text-align: left;
    box-sizing: border-box;
    vertical-align: middle
}

table td.sub {
    font-weight: bold;
    border-bottom: 1px solid #DADDDE;
}

table th {
    background-color: #ebf4f7;
    font-weight: normal;
    vertical-align: middle;
}

/* table-design01 */

.table-design01 th {
    background-color: #ebf4f7;
    width: 20%;
}

.table-design01 td {
    width: 20%;
}

.table-design01 td:last-of-type {
    width: 60%;
}

/* table-design02 */

.table-design02 th {
    width: 28%;
}

/* table-design03 */
.table-design03.pc {
    width: 586px;
}

/* table-design04 */
.table-design04 {
    margin-bottom: 24px;
}

.table-design04 th,
.table-design04 td {
    padding: 16px 4px;
    text-align: center;
}

.table-design04 th.week {
    width: calc(683px / 6);
}

.table-design04 th.md {
    width: 90px;
}

.table-design04 tbody {
    border-color: #1893C9;
}

.table-design04 tr.pale td,
.table-design04 tr.pale th.time {
    border-color: #DADDDE;
}

.table-design04 tr.pale th.time {
    border-right-color: #1893C9;
}

.table-design04 tr.bottom td,
.table-design04 tr.bottom th.time {
    border-bottom-color: #1893C9;
}

.table-design04 tr.pale td:last-of-type {
    border-right-color: #1893C9;
}

.table-design04 tr:first-child {
    height: 40px;
}

.table-design04 tr:first-child th {
    height: 40px;
}

.table-design04 th:nth-of-type(2) {
    width: 52px;
}

.table-design04 td p {
    font-size: 12px;
}

.table-design04 .modal-open {
    color: #25637D;
    text-decoration: underline;
}

.table-design04 .modal-open:hover {
    opacity: 50%;
    text-decoration: none;
    cursor: pointer;
}

/* table-design05 */
.table-design05 th {
    width: 17%;
}

/* table-design06 */
.table-design06 {
    margin-bottom: 24px;
    table-layout: fixed;
}

.table-design06 tbody.pc {
    display: contents;
}


.table-design06 td {
    text-align: center;
}

.table-design06 td a {
    color: #076fb8;
    text-decoration: underline;
}

.table-design06 td a.non {
    pointer-events: none;
    text-decoration: none;
    color: #DADDDE;
    cursor: default;
}

.table-design06 th,
.table-design06 td {
    padding: 24px 8px;
}

/* table-design07 */

/* table-design08 */
.table-design08 th {
    width: 50%;
}

.table-design08 td {
    width: 50%;
}

/* 電話ボタン */
.tel-button {
    display: flex;
    align-items: center;
    height: 44px;
    margin: 16px 0;
    padding: 8px;
    background-color: #1893C9;
    color: #fff;
    font-size: 20px;
    border-radius: 22px;
    min-width: 205px;
}

.tel-button::before {
    content: "";
    width: 28px;
    height: 28px;
    margin-right: 8px;
    background-color: #fff;
    border-radius: 50%;
    background: url(assets/images/icon_tell_w.svg);
}

/* PDF */
.pdf-button {
    display: flex;
    align-items: center;
    height: 44px;
    margin: 16px auto;
    padding: 8px;
    background-color: #ffffff;
    color: #1893C9;
    font-size: 20px;
    border-radius: 22px;
    min-width: 205px;
    border: 1px solid #1893C9;
}

.pdf-button::before {
    content: "";
    width: 28px;
    height: 28px;
    margin-right: 8px;
    border-radius: 50%;
    background-image: url(assets/images/icon_circle_arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

.pdf-button a {
    color: #1893C9;
    text-decoration: none;
}

p:has(+ .pdf-button) {
    text-align: center;
}

/* content-design02 */
.content-design02 {
    padding: 24px;
    background-color: #ebf4f7;
}

.content-design02 ol li {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #707070;
    list-style-position: inside;
}

.content-design02 ol li:last-child {
    margin-bottom: 0px;
}

.content-design02 ol li::marker {
    padding-right: 8px;
}

.content-design02 p {
    margin-top: 24px;
}

/* content-design03 */
.content-design03 {
    padding: 24px;
    background-color: #ebf4f7;
}

.content-design03 h4 {
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
    font-weight: bold;
}

.content-design03 h4+div {
    margin-bottom: 24px;
}

.content-design03 dl {
    margin-bottom: 24px
}

.content-design03 dl:first-of-type {
    margin-bottom: 40px
}

.content-design03 dt {
    margin-bottom: 8px
}

/* content-design05 */
.content-design05 .history {
    display: flex;
	align-items: stretch;
	gap: 24px;
	margin-bottom: 24px;
}
.content-design05 .history img {
	display: block;
	width: 150px;
	height: auto;
	object-fit: cover;
}
.content-design05 .history .bg-blue {
	width: 100%;
	margin-bottom: 0;
	box-sizing: border-box;
}
.content-design05 .bg-blue p:last-child {
    margin-bottom: 0px;
}

/* content-design06 */
.content-design06 p {
    margin-bottom: 16px;
}

/* reserve-list  */
.reserve-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 10px;
    margin-top: 24px;
}

.reserve-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1893C9;
    color: #fff;
    font-size: 20px;
    border-radius: 4px;
    box-shadow: 0px 3px 6px #00000029;
    width: 360px;
    height: 57px;
}

.reserve-list li:nth-child(n+3) {
    width: 360px;
}

.reserve-list li:first-of-type {
    background-color: #EB6262;
    color: #fff;
}

.reserve-list li:nth-of-type(2) {
    background-color: #FFDADA;
    color: #EB6262;
}

.reserve-list li a {
    color: #fff;
    text-decoration: none;
    position: relative;
    width: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reserve-list li:nth-of-type(2) a {
    color: #EB6262;
}

.reserve-list li a::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 25px;
    height: 25px;
    margin-left: 8px;
    background: url(assets/images/icon_circle_arrow_w.svg);
    border-radius: 50%;
}

/* content-design04 */
.content-design04 p {
    margin-bottom: 16px;
}

.content-design04+a {
    display: block;
    margin-bottom: 16px;
    text-decoration: underline;
    color: #076fb8;
}

.content-design04 a {
    display: block;
    margin-bottom: 16px;
    text-decoration: underline;
    color: #076fb8;
}

.content-design02+.content-desig {
    margin-bottom: 24px;
}

/* content-design05 */

.content-design05 .bg-blue {
    margin-bottom: 24px;
    padding: 24px;
    background-color: #ebf4f7;
}

.content-design05 .readmore {
    position: relative;
    padding: 0px 0px 34px;
}

.content-design05 .readmore-content {
    position: relative;
    height: 50px;
    margin-bottom: 24px;
    transition: all .4s;
    overflow: hidden;
}

.content-design05 .readmore-content::before {
    position: absolute;
    display: block;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 75px;
    transition: all .4s;
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 50%);
}

.content-design05 .readmore-content.is_open:before {
    display: none;
}

/* content-design06 */
.content-design06 {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

/* content-design07 */
/* .content-design07 {
    display: flex;
    flex-direction: column;
    align-items: center;
} */

.content-design07 ul {
    margin-bottom: 40px;
}

.content-design07 li {
    position: relative;
    display: flex;
    margin-bottom: 24px;
    padding-left: 32px;
}

.content-design07 li:last-of-type {
    margin-bottom: 0;
}

.content-design07 li:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 13px;
    top: 4px;
    left: 7px;
    transform: rotate(50deg);
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    z-index: 1;
}

.content-design07 li:after {
    content: "";
    position: absolute;
    top: .2em;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: #1893C9;
    border-radius: 2px;
}

/* content-design08（お知らせ）*/
.wp-block-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.content-design08 a.news {
    color: #2C2D2D;
}

.content-design08 a.news li {
    padding: 40px 0;
    border-bottom: 1px solid #DADDDE;
}

.content-design08 a.news span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 25px;
    margin-right: 16px;
    margin-bottom: 16px;
    background-color: #1893C9;
    color: #fff;
    font-size: 14px;
    border-radius: 22px;
}

.content-design08 a.news span.recruit {
    background-color: #F4D01F;
}

.content-design08 a.news span.others {
    background-color: #78CE51;
}

.content-design08 a.news p {
    margin-bottom: 16px;
}

.content-design08 a.news .title {
    font-weight: bold;
}

.content-design08 a.news p.date {
    font-size: 14px;
}

/* blue-button  */
.blue-button {
    padding: 0 24px;
    background-color: #1893C9;
    color: #fff;
    border-radius: 22px;
}

.blue-button.reserve {
    width: 360px;
    height: 57px;
    font-size: 20px;
    border-radius: 4px;
    box-shadow: 0px 3px 6px #00000029;
    display: block;
    margin: 0 auto;
}

.blue-button.more {
    position: absolute;
    left: 50%;
    bottom: 0px;
    margin: 0 auto;
    width: 193px;
    height: 44px;
    font-size: 20px;
    transform: translateX(-50%);
    z-index: 1;
    transition: all .4s;
}

/* サイドバー */
.sidebar {
    position: sticky;
    top: 200px;
    width: 330px;
    margin-left: 24px;
}

.sidebar p {
    display: flex;
    align-items: center;
    width: auto;
    height: 45px;
    padding-left: 24px;
    background-color: #1893C9;
    color: #fff;
}

.sidebar ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #EEEEEE;
    padding: 8px 16px 8px 24px;
}

.sidebar ul li:not(:last-child) {
    margin-bottom: 2px;
}

.sidebar ul li::after {
    flex-shrink: 0;
    content: "";
    width: 20px;
    height: 20px;
    background: url(assets/images/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.sidebar ul li:hover {
    opacity: 50%;
}

.sidebar ul li a {
    width: 100%;
    height: 100%;
    color: #2C2D2D;
}

/* reserve-area */
.reserve-area {
    margin: 40px;
    padding: 80px 40px;
    background-color: #EDF7FB;
    border-radius: 8px;
}

.reserve-area .reserve-area__inner {
    margin-bottom: 60px;
}

.reserve-area p {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.reserve-area ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    max-width: 1200px;
    margin: auto;
}

.reserve-area ul li {
    margin: 0;
}

section.top-reserve .btn-white {
    margin: 0;
    height: 72px;
}

section.top-reserve .btn-white a {
    width: auto;
    height: 100%;
}

/* footer */

footer {
    padding: 40px 80px 80px;
    background-color: #EEEEEE;
    font-size: 14px;
}

.footer-content-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
    background: url(assets/images/footer_bg.png) no-repeat;
    background-position-x: 40%;
    background-position-y: bottom;
}

.footer-left__logo {
    margin-bottom: 14px;
}

.footer-left address {
    margin-bottom: 16px;
}

.footer-left .consultation-hours {
    margin-bottom: 24px;
}

.footer-left .consultation-hours p {
    margin-bottom: 8px;
}

.footer-right {
    display: grid;
    grid-template-columns: 250px 200px;
}

.footer-right li {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-right li a {
    display: inline-flex;
    color: #2C2D2D;
    align-items: center;
}

.footer-right li:not(:last-of-type) {
    margin-bottom: 12px;
}

.footer-right li a::after {
    content: "";
    width: 17px;
    height: 17px;
    margin-left: 8px;
    background: url(assets/images/icon_circle_arrow.svg);
    background-position: center;
    background-size: cover;
}

.footer-bottom {
    padding-top: 16px;
    border-top: 1px solid #707070;
}

.footer-bottom__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 38px;
}

.footer-bottom__content ul {
    display: flex;
    gap: 80px;
}

.footer-bottom__content li a {
    color: #2C2D2D;
}

.footer-bottom__content:not(:last-of-type) {
    margin-right: 80px;
}

.footer-bottom__content img {
    height: 60px;
    box-sizing: border-box;
    background-color: #FFF;
    padding: 8px;
    margin-right: 24px;
}

.footer-bottom__content img.last {
    margin-right: 0;
}

small {
    display: flex;
    justify-content: center;
    align-items: center;
}

#toPageTop {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 0px;
    z-index: 10;
}

#toPageTop img {
    width: 87px;
    height: 87px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}

#toPageTop:hover {
    opacity: 0.8;
}

/* 「医療介護福祉施設の方」タブエリア用  */

.tab-wrap.map {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    background-color: #fff;
}

.tab-wrap.map .tab {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    margin: 0;
}

.tab-wrap.map .tab-label {
    color: White;
    background: LightGray;
    margin-right: 5px;
    padding: 3px 12px;
    order: -1;
    cursor: pointer;
}

.tab-wrap.map .tab-content {
    width: 100%;
    display: none;
    position: relative;
    cursor: pointer;
}

.tab-wrap.map .tab-content::before {
    position: absolute;
    font-family: "Font Awesome 7 Free";
    font-weight: bold;
    font-size: 23px;
    color: #707070;
    content: "\f002";
    display: grid;
    place-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: solid 1px #707070;
    top: 12px;
    right: 12px;
}

.tab-wrap.map .tab-img {
    width: 100%;
    object-fit: cover;
}

/* アクティブなタブ */

.tab-wrap.map .tab-switch:checked+.tab-label {
    background: rgba(24, 147, 201, 0.8);
    cursor: pointer;
}

.tab-wrap.map .tab-switch:checked+.tab-label+.tab-content {
    display: block;
}

/* ラジオボタン非表示 */

.tab-wrap.map .tab-switch {
    display: none;
}

/* 地図拡大モーダル */
.map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.map-modal .modal_bg {
  position: fixed;
  inset: 0;
  background-color: rgb(0, 0, 0, 40%);
}

.map-modal .modal_content {
  position: absolute;
  translate: -50% -50%;
  top: 50%;
  left: 50%;
}

.map-modal .modal_content img {
  max-width: 100vw;
}

.map-modal .close {
  position: absolute;
  display: grid;
  place-content: center;
  font-size: 20px;
  color: #707070;
  width: 40px;
  height: 40px;
  border: solid 1px #707070;
  background-color: #fff;
  box-sizing: border-box;
  top: -48px;
  right: 0;
}

/* お問い合わせ */
.wpcf7 {
    margin: 0 100px;
}

dl.company-tbl input,
dl.company-tbl textarea {
    border: 1px solid #DADDDE;
    background: #EEEEEE;
    width: 100%;
    padding: 4px 8px;
    box-sizing: border-box;
}

dl.company-tbl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

dl.company-tbl dt {
    width: 25%;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

dl.company-tbl dd {
    width: 75%;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.tc {
    text-align: center;
}

.submit-btns {
    width: 100px;
    font-size: 20px;
    margin: 24px auto 0;
    padding: 8px 40px;
    background-color: #1893C9;
    color: #fff;
    border-radius: 25px;
    text-align: center;
}

/* 医師紹介 */
.doctor-list .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
}

.doctor.open::after {
    transform: rotate(270deg);
}

.doctor.open .detail {
    display: flex;
}

.doctor {
    border: 1px solid #707070;
    border-radius: 4px;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
    padding: 16px 24px;
    margin-bottom: 24px;
    text-align: left;
}

.doctor-list .doctor {
    height: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
}

.doctor .overview {
    position: relative;
}

.doctor-list .doctor .btn {
    padding-right: 32px;
}

.doctor .btn::after {
    content: "";
    position: absolute;
    right: 0px;
    width: 25px;
    height: 25px;
    background: url(assets/images/icon_circle_arrow.svg);
    background-size: 25px;
    rotate: 90deg;
    translate: 0 -50%;
    top: 50%;
}

.doctor.open .btn::after {
    transform: rotate(-90deg);
}

.doctor .overview .bold {
    font-weight: bold;
    margin-right: 1rem;
}

.doctor h3 {
    margin-bottom: 0px;
    margin-right: 24px;
}

.doctor-list .doctor h3 {
    margin-right: 0;
}

.doctor .expertise {
    display: flex;
    font-size: 14px;
    position: absolute;
    left: 280px;
    padding-right: 32px;
}

.doctor .expertise .bold {
    flex-shrink: 0;
}

.doctor-list .doctor .expertise {
    position: static;
    padding-right: 0;
    margin-top: 4px;
}

.doctor .detail {
    margin-top: 24px;
    justify-content: space-between;
    gap: 16px;
}

.doctor .detail .image {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
}

.doctor .detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor .speech-bubble {
    width: 100%;
    position: relative;
    background-color: #ebf4f7;
    border: 1px solid #EDF7FB;
    border-radius: 8px;
    padding: 16px 24px;
}

.doctor .wide {
    width: 100%;
}

.doctor .speech-bubble::before,
.doctor .speech-bubble::after {
    content: "";
    position: absolute;
    bottom: 60px;
    width: 0;
    height: 0;
    border-style: solid;
    transform: rotate(60deg);
}

.doctor .speech-bubble::before {
    left: -14px;
    border-color: transparent transparent transparent #EDF7FB;
    border-width: 10px 0 10px 17.32px;
}

.doctor .speech-bubble::after {
    left: -13px;
    border-color: transparent transparent transparent #ebf4f7;
    border-width: 10px 0 10px 17.32px;
    z-index: 10;
}


.doctor .speech-bubble.wide::before,
.doctor .speech-bubble.wide::after {
    content: none;
}

/* 医師紹介モーダル */

body.is-modal {
    overflow: hidden;
}

.modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100vh;
    z-index: 9999;
}

.modal-wrap .modal-bg {
    position: absolute;
    width: 100%;
    height: 100vh;
    background: #fff;
    opacity: 0.5;
}

.doctor.modal {
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: #fff;
    border-radius: 16px;
    padding: 40px;
    margin: 0 auto;
    width: 610px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.doctor.modal .flex {
    align-items: start;
    justify-content: space-between;
}

.doctor.modal .flex p {
    margin: 24px 16px;
    text-indent: -5em;
    padding-left: 5em;
}

.doctor.modal .flex p .bold {
    font-weight: bold;
    margin-right: 1rem;
}

.doctor.modal img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.doctor.modal .speech-bubble {
    width: auto;
    margin: 0 0 24px;
}

.doctor.modal .speech-bubble::before,
.doctor.modal .speech-bubble::after {
    content: none;
}

.doctor.modal .btn-blue {
    width: auto;
    height: auto;
    box-shadow: none;
    padding: 8px 60px;
    font-size: 14px;
    color: #fff;
}

/* 画面サイズ 1024px 未満 */

@media screen and (max-width:1024px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    :root {
        scroll-padding: 94px;
        scroll-behavior: smooth;
    }

    .wrapper {
        max-width: none;
        min-width: auto;
    }

    .global-header-wrap {
        padding: 0;
    }

    .global-header {
        position: sticky;
        top: 16px;
        padding: 8px 16px;
        background-color: #fff;
        box-shadow: 0px 5px 10px rgba(45, 45, 45, .2);
    }

    .global-header__right.pc {
        display: none;
    }

    .global-header__right.sp {
        display: flex;
        align-items: center;
        width: auto;
        height: auto;
        background-color: #fff;
        text-align: center;
    }

    .global-header__right.sp .right-menu {
        display: flex;
        align-items: baseline;
        margin-right: 24px;
    }

    .global-header__right.sp .right-menu li {
        margin-right: 8px;
    }

    .global-header__right.sp .right-menu li:last-child {
        margin-right: 0px;
    }

    .global-header__right.sp .right-menu li p {
        font-size: 12px;
        text-align: center;
        color: #2C2D2D;
        line-height: 14px;
    }

    .global-header__right.sp .right-menu .tel {
        margin-right: 24px;
        font-size: initial;
    }

    .global-header__right.sp .right-menu .tel a {
        height: 53px;
    }

    .top-image-wrap {
        height: 150px;
        overflow: hidden;
    }

    .top-image {
        height: 150px;
        background-position: left -250px top, right -300px top;
        background-repeat: no-repeat, no-repeat;
        background-size: cover, cover;
    }

    .top-image.top-image--01 {
        background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_ambulance.png);
    }

    .top-image.top-image--02 {
        background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_building.png);
    }

    .top-image.top-image--03 {
        background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_endoscope.png);
    }

    .top-image.child {
        height: 150px;
        overflow: hidden;
        background-size: cover;
        background-position: left -250px top, right -300px top;
    }

    .top-image.child.green {
        background-image: url(assets/images/mvpage-grn.png), url(assets/images/kv_care.png);
    }

    .top-image.child.yellow {
        background-image: url(assets/images/mvpage-yel.png), url(assets/images/kv_care.png);
    }

    .top-image.child.blue {
        background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_care.png);
    }

    .top-image.child.emergency {
        background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_ambulance.png);
        background-position: left -250px top, right -250px top;
    }

    .top-image.child.endoscope {
        background-image: url(assets/images/mvpage-blu.png), url(assets/images/kv_endoscope.png);
        background-position: left -250px top, right -160px top;
    }

    .top-image__left {
        padding-left: 40px;
    }

    .top-image__left h2 {
        font-size: 18px;
    }

    .top-image__left p {
        font-size: 12px;
    }

    .container {
        margin: 24px 20px 40px;
    }

    /* main */
    main {
        width: auto;
    }

    .main-sidebar-wrapper {
        display: block;
        margin-bottom: 80px;
    }

    /* TOPページ インフォメーション */
    section.top-info {
        padding: 24px 20px 80px;
        margin-bottom: 0px;
    }

    .tab-wrap.map .tab {
        width: 100%;
    }

    .info-medical-hours-box {
        display: flex;
        gap: 64px;
        flex-direction: column;
        font-size: 14px;
    }

    .info-box {
        display: block;
    }

    a.info {
        margin-bottom: 16px;
    }

    a.info:last-child {
        margin-bottom: 0px;
    }

    .medical-hours-box th,
    .medical-hours-box td {
        padding: 4px;
    }

    .medical-hours-box {
        width: auto;
        margin-bottom: 32px;
        margin-left: 0px;
        padding: 24px 16px;
    }

    .medical-hours-box th.time {
        font-size: 14px;
        width: 47%;
    }

    section.top-info .news-box a.pc {
        display: none;
    }

    section.top-info .news-box a.sp.news {
        display: block;
    }

    section.top-info .news-box p {
        margin-right: 24px;
    }

    section.top-info .news-box h4 {
        margin-top: 8px;
    }

    .medical-hours-box p.annotation {
        text-align: center;
    }

    .illust-btn-box {
        display: block;
    }

    .medical-hours-box .illust-btn.red {
        width: auto;
        margin-bottom: 16px;
    }

    .medical-hours-box .illust-btn.blue {
        width: auto;
    }

    section.top-info .news-box .btn-blue {
        width: 100%;
    }

    section.top-info .news-box .btn-blue a {
        width: auto;
    }

    /* TOPページ メッセージ */
    section.top-message {
        padding: 80px 20px 40px;
        background: url(assets/images/top_message_sp.jpg) no-repeat;
        background-size: 100%;
        background-position: top;
    }

    section.top-message h3 {
        font-size: 20px;
    }

    section.top-message p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .specialty-area__inner {
        margin: 40px 20px 0px;
        padding: 0;
    }

    .specialty-area__inner ul {
        display: block;
    }

    .specialty-area__inner ul li {
        width: auto;
        margin-bottom: 16px;
    }

    .specialty-area__inner ul li:last-child {
        margin-bottom: 0;
    }

    .specialty-area__inner ul li a {
        width: auto;
    }

    /* TOPページ 採用 */
    section.top-recruit {
        background: url(assets/images/top_recruit_sp.jpg) no-repeat;
        background-size: cover;
        padding: 40px 20px;
        margin-bottom: 0px;
    }

    section.top-recruit h3 {
        margin-bottom: 8px;
    }

    section.top-recruit p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    section.top-recruit ul {
        display: block;
    }

    section.top-recruit ul li.square {
        width: 100%;
        margin-bottom: 16px;
    }

    section.top-recruit ul li.square a {
        width: 100%;
    }

    /* TOPページ アクセス */
    section.top-map {
        display: block;
        margin: 0px;
    }

    .gmap {
        width: 100%;
    }

    .top-map-right {
        margin: 24px 20px 80px;
    }

    /* contents section */
    .two-column {
        display: block;
    }

    .two-column .two-column__image {
        text-align: center;
        margin-left: 0px;
    }

    .two-column .two-column__image img {
        width: 100%;
    }

    /* table-design */
    table {
        display: table;
        table-layout: fixed;
        width: 100%;
        table-layout: fixed;
        word-break: break-all;
        line-break: anywhere;
    }

    table.sp {
        display: table;
    }

    table.pc {
        display: none;
    }

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

    /* table-design01 */
    .table-design01 .sub {
        border-bottom: 1px solid #DADDDE;
    }

    /* table-design02 */
    .table-design02 tr {
        display: flex;
        flex-direction: column;
    }

    .table-design02 th,
    .table-design02 td {
        border-bottom: none;
    }

    .table-design02 th {
        width: 100%;
    }

    .table-design02 tr:last-child td {
        border-bottom: 1px solid #1893C9;
    }

    /* table-design04 */
    .table-wrap {
        margin-bottom: 24px;
        overflow-x: auto;
    }

    .table-design04 {
        width: 100%;
        min-width: 728px;
        margin-bottom: 0;
    }

    .table-design04 th {
        position: sticky;
        top: 0;
        left: 0;
    }

    .table-design04 th,
    .table-design04 td {
        border: none;
        border-bottom: 1px solid #505050;
        border-right: 1px solid #505050;
    }


    .table-design04 th:nth-of-type(3),
    .table-design04 td:first-of-type {
        border-left: none;
    }


    .table-design04 th.md,
    .table-design04 th.time {
        border: none;
    }

    .table-design04 th.md::before,
    .table-design04 th.time::before {
        border-top: 1px solid #505050;
    }

    .table-design04 th.time {
        position: sticky;
        top: 0;
        left: 90px;
    }

    .table-design04 th::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        border-left: 1px solid #505050;
    }

    .table-design04 th.time::before {
        border-right: 1px solid #505050;
    }

    .table-design04 th.week::before {
        border-left: none;
        border-top: 1px solid #505050;
    }


    .table-design04 tr:first-of-type th:nth-of-type(n+3) {
        z-index: -1;
    }

    .table-design04 tr:nth-last-of-type(-n+2) th:first-of-type {
        border-bottom: 1px solid #505050;
    }

    /* table-design06 */
    .table-design06 tbody.pc {
        display: none;
    }

    /* table schedule */

    table.schedule-wrap {
        table-layout: auto;
    }

    table.schedule-wrap .schedule th,
    table.schedule-wrap .schedule td {
        text-align: center;
        padding: 24px 0px;
    }

    table.schedule-wrap .schedule th {
        position: relative;
    }

    table.schedule-wrap .schedule th::after {
        top: 23.5px;
        right: 24px;
    }

    table.schedule-wrap .schedule th::after {
        content: "";
        position: absolute;
        width: 25px;
        height: 25px;
        background: url(assets/images/icon_circle_arrow.svg);
        background-size: 25px;
        transform: rotate(90deg);
    }

    table.schedule-wrap .schedule.open th::after {
        transform: rotate(-90deg);
    }

    table.schedule-wrap .schedule .detail.heading td {
        width: 40%;
    }

    table.schedule-wrap .schedule .detail.heading td.left {
        width: 20%;
    }

    table.schedule-wrap .schedule tr.heading td {
        padding: 8px;
    }

    table.schedule-wrap .schedule td p {
        font-size: 12px;
    }

    /* content-design06 */
    .content-design06 {
        font-size: 18px;
    }

    /* reserve-list  */
    .reserve-list {
        display: block;
    }

    .reserve-list li {
        margin: 0 auto 16px;
        max-width: 340px;
    }

    .reserve-list li:nth-child(n+3) {
        width: auto;
        max-width: 340px;
    }

    /* reserve-area */
    .reserve-area {
        margin: 20px;
        padding: 40px 24px;
    }

    .reserve-area .reserve-area__inner {
        margin-bottom: 38px;
    }

    .reserve-area ul {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .reserve-area li:not(:last-of-type) {
        margin-bottom: 16px;
        line-height: 22px;
    }

    .content-section .tab-wrap .tab-label {
        width: calc(100% / 3);
        box-sizing: border-box;
        margin: 0;
    }

    /* ボタン */
    section.top-reserve .btn-blue,
    section.top-reserve .btn-blue a,
    section.top-reserve .btn-white,
    section.top-reserve .btn-white a,
    .reserve-area .btn-blue,
    .reserve-area .btn-blue a,
    .reserve-area .btn-white,
    .reserve-area .btn-white a,
    .content-section .btn-blue,
    .content-section .btn-blue a,
    .btn-blue,
    .btn-blue a,
    .btn-white,
    .btn-white a {
        width: 100%;
    }

    /* お問い合わせ */
    .wpcf7 {
        margin: 0;
    }

    dl.company-tbl {
        display: block;
    }

    dl.company-tbl dt {
        width: 100%;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }

    dl.company-tbl dd {
        width: 100%;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }

    /* お知らせ */

    .wp-block-gallery {
        display: block;
    }

    .wp-block-gallery img {
        margin-bottom: 20px;
    }

    .wp-block-image img {
        width: 100%;
    }

    /* footer */

    footer {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .footer-content-wrap {
        width: 100%;
    }

    .footer-content {
        display: flex;
        align-items: normal;
        flex-direction: column-reverse;
        background-position-x: 50%;
        background-size: calc(100% - 40px);
        padding-bottom: 80px;
    }

    .footer-right {
        margin-bottom: 40px;
        font-size: 12px;
        grid-template-columns: 60% 40%;

    }

    .footer-right li {
        justify-content: flex-start;
    }

    .footer-right li::after {
        content: none;
    }

    .footer-right li a {
        display: flex;
    }

    .footer-right li a::after {
        content: none;
    }

    .footer-right li a::before {
        content: "";
        width: 17px;
        height: 17px;
        margin-right: 8px;
        background-image: url(assets/images/icon_circle_arrow.svg);
        background-size: cover;
    }

    .footer-bottom {
        display: flex;
        justify-content: center;
    }

    .footer-bottom__content {
        text-align: center;
        display: block;
        margin-bottom: 38px;
    }

    .footer-bottom__content ul {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }

    .footer-bottom__content img {
        margin-right: 0px;
    }

    .footer .small {
        font-size: 10px;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        position: relative;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 300;
    }

    .hamburger__line {
        position: absolute;
        width: 30px;
        height: 3px;
        right: 0;
        background-color: #000;
        transition: all 0.5s;
    }

    .hamburger__line--1 {
        top: 0;
    }

    .hamburger__line--2 {
        top: 10px;
    }

    .hamburger__line--3 {
        top: 20px;
    }

    .open .hamburger__line--1 {
        transform: rotate(-45deg);
        top: 11px;
    }

    .open .hamburger__line--2 {
        opacity: 0;
    }

    .open .hamburger__line--3 {
        transform: rotate(45deg);
        top: 11px;
    }


    .sp-nav {
        position: fixed;
        right: -100%;
        top: 0;
        width: 70%;
        margin-top: 70px;
        transition: all 0.5s;
        z-index: 200;
        overflow-y: auto;
    }

    .open .sp-nav {
        right: 0;
        width: 330px;
    }

    .black-bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 5;
        background-color: #000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s;
        cursor: pointer;
        z-index: 100;
    }

    .open .black-bg {
        opacity: 0.3;
        visibility: visible;
    }

    .accordion-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: auto;
        height: 45px;
        padding: 0 16px 0px 24px;
        background-color: #1893C9;
        color: #fff;
    }

    .accordion-title::after {
        content: "";
        width: 20px;
        height: 20px;
        background: url(assets/images/icon_circle_arrow_w.svg);
        background-size: 20px 20px;
        transform: rotate(90deg);
    }

    .accordion-title.open::after {
        transform: rotate(270deg);
    }

    .accordion-inner {
        display: none;
    }

    .accordion-inner li {
        width: 100%;
        height: 36px;
        background-color: #EEEEEE;
    }

    .accordion-inner li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: auto;
        padding: 0 16px 0px 24px;
        color: #2C2D2D;
        line-height: 36px;
    }

    .accordion-inner li a::after {
        content: "";
        width: 20px;
        height: 20px;
        background-image: url(assets/images/icon_arrow.svg);
        background-repeat: no-repeat;
        background-position: center;
    }

    dl.category-accordion-item:not(:last-of-type) {
        background: #fff;
        padding-bottom: 1px;
    }

    dl.category-accordion-item.traffic-access {
        padding: 16px 20px;
        background-color: #fff;
    }

    dl.category-accordion-item.traffic-access a {
        border: 1px solid #1893C9;
        border-radius: 4px;
        color: #1893C9;
        width: auto;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        font-size: 14px;
    }

    dl.category-accordion-item.traffic-access a::before {
        display: inline-flex;
        content: "";
        width: 20px;
        height: 20px;
        margin-right: 8px;
        background: url(assets/images/head_ico02.svg);
        background-size: 20px 20px;
    }

    /* 医師紹介 */
    .doctor .overview {
        display: block;
    }

    .doctor .flex.detail {
        display: block;
    }

    .doctor .speech-bubble {
        width: auto;
    }

    .doctor .detail img {
        margin-right: 0px;
        display: block;
        margin: auto;
        margin-bottom: 16px;
    }

    .doctor .speech-bubble::before,
    .doctor .speech-bubble::after {
        transform: rotate(150deg);
    }

    .doctor .speech-bubble::after {
        left: 47%;
        top: -13px;
    }

    .doctor .speech-bubble::before {
        left: 47%;
        top: -14px;
    }

    .doctor .expertise {
        position: static;
        margin-top: 8px;
        margin-left: 16px;
        padding-right: 0;
    }

    .doctor .btn::after {
        top: 2px;
        right: 0px;
    }

    /* 医師紹介ポップアップ */

    .doctor.modal {
        border-radius: 4px;
        padding: 24px 16px;
        width: calc(100% - 40px);
    }

    .doctor.modal img {
        display: block;
        margin: 16px auto;
    }

    .doctor.modal .flex p {
        font-size: 14px;
        margin: 8px 16px 0px;
    }

    .doctor.modal .speech-bubble {
        margin: 24px 0 0;
    }

    .doctor.modal .btn-blue {
        display: none;
    }

    .doctor.modal .flex {
        position: relative;
        display: block;
    }

    .doctor.modal .flex span.modal-close {
        position: absolute;
        top: -8px;
        right: 0px;
        width: 40px;
        height: 40px;
        background: url(assets/images/icon_circle_close.svg);
        background-size: 40px;
        z-index: 100;
    }

    /* 診療科目一覧 */

    .schedule .modal-open {
        color: #25637D;
        text-decoration: underline;
    }

	.content-design05 .history {
		flex-direction: column;
		align-items: center;
	}
	.content-design05 .history img {
		width: 200px;
	}
}

/* smallPC */
@media screen and (min-width: 1025px) and (max-width: 1152px) {
    .tab-list {
        font-size: 14px;
    }

    .global-header__right.pc p.tel {
        font-size: 28px;
    }
}


/* Tab */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .top-image__left h2 {
        font-size: 18px;
    }

    .top-image__left p {
        font-size: 12px;
    }
}

/* 診療担当医表 */
.schedule {
    background: transparent;
}

.schedule .tab {
    display: flex;
    flex-wrap: wrap;
    max-width: none;
}

.schedule .tab .tab-switch {
    display: none;
}

.schedule .tab .tab-label {
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: lightgray;
    width: 180px;
    margin-right: 5px;
    padding: 8px 12px;
    order: -1;
    cursor: pointer;
}

.schedule .tab-switch:checked+.tab-label {
    background: rgba(24, 147, 201, 0.8);
    cursor: pointer;
}

.schedule .tab .tab-content {
    display: none;
    width: 100%;
}

.schedule .tab-switch:checked+.tab-label+.tab-content {
    display: block;
}

.schedule .tab .tab-content .table-design04 {
    display: table;
}
.schedule .tab .tab-content .schedule-wrap {
    display: none;
}

@media screen and (max-width:1024px) {
    .schedule .tab .tab-content .table-design04 {
        display: none;
    }

    .schedule .tab .tab-content .schedule-wrap {
        display: table;
    }

    .schedule .tab .tab-label {
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        width: 50%;
        padding: 8px 12px;
        margin-right: 0;
    }
}