/* カラー変更 */

:root {
    --content-width: 1200px;
    --main-color01: #CBECF1;
    --main-color02: #AFE1F3;
    --sub-color: #BCD3F0;
    --accent-color: #BCC5EF;
}


/* コンテンツレイアウト */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-break: break-all;
    border-spacing: 0;
    border-collapse: collapse;
    text-indent: initial;
    text-decoration: none;
    line-height: 2.0em;
    margin: 0;
}

body {
    overflow-x: hidden;
    font-family: "Noto Sans JP", sans-serif, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "游ゴシック体", "Yu Gothic", YuGothic, Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", sans-serif;
    color: #101B4D;
}

/* main {
  padding-top: 100px;
} */

/* @media (max-width: 767px) {
  main {
    padding-top: 82px;
  }
} */
ul {
  padding-left: 20px;
}
li::marker {
    color: var(--main-color02);
}

a:hover {
    opacity: 0.7;
}

section {
    padding: 60px 0;
}

section:first-of-type {
    padding-top: 0px;
}

@media (max-width: 767px) {
    section {
        padding: 30px 0;
    }
}

.home section:first-of-type {
    padding-top: 60px;
}

@media (max-width: 767px) {
    .home section:first-of-type {
        padding-top: 30px;
    }
}

.container {
  margin: 0 auto;
  max-width: var(--content-width);
}
@media (max-width: 1200px) {
  .container {
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
    margin: 0 auto;
    max-width: var(--content-width);
  }
  .container:first-child {
    margin-top: 0;
  }
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .row {
        display: block;
        margin-top: 0;
    }
    .row.sp-2row {
        display: flex;
    }
}

.row.reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.row .span_1 {
    width: calc(100% / 12 * 1);
}

.row .span_2 {
    width: calc(100% / 12 * 2);
}

.row .span_3 {
    width: calc(100% / 12 * 3);
}

.row .span_4 {
    width: calc(100% / 12 * 4);
}

.row .span_5 {
    width: calc(100% / 12 * 5);
}

.row .span_6 {
    width: calc(100% / 12 * 6);
}

.row .span_7 {
    width: calc(100% / 12 * 7);
}

.row .span_8 {
    width: calc(100% / 12 * 8);
}

.row .span_9 {
    width: calc(100% / 12 * 9);
}

.row .span_10 {
    width: calc(100% / 12 * 10);
}

.row .span_11 {
    width: calc(100% / 12 * 11);
}

.row .span_12 {
    width: 100%;
}

.row>.col {
    margin-top: 30px;
    margin-left: 0;
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
}

@media (max-width: 767px) {
    .row>.col {
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
        padding-right: calc(30px / 2);
        padding-left: calc(30px / 2);
        width: 100%;
    }
    .row.sp-2row>.col {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .row .span_1 {
        width: auto;
    }
    .row>.col:not(:first-child) {
        margin-top: 20px;
    }
}


/* ヘッダー */

header {
    /*position: fixed;*/
    width: 100%;
    z-index: 100;
    /*padding: 10px 30px;*/
    top: 0;
}

.header-wrap {
    position: relative;
    width: auto;
    margin: 0 auto;
}

.header-top {
    padding: 0 24px 12px;
    position: fixed;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    width: 100%;
}

/*.header-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}*/

.header-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /*justify-content: flex-end;*/
    justify-content: space-between;
}

.header_nav-wrap {
    display: flex;
    justify-content: space-between;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.logo-wrap img {
    /*max-width: 402px;
    width: 100%;
    height: clamp(32px, 6vw, 72px);
    width: auto;
    max-width: none;*/
    width: 280px;
    padding-top: 16px;

}

.header-address {
    font-family: "Yu Mincho", "YuMincho", serif;
    /* padding-bottom: 16px; */
    font-size: 18px;
}

/* .header-address p {
    line-height: 1.2;
} */

.header-address p a.header-link {
    color: #101B4D;
    font-size: 14px;
    font-family: Noto sans jp;
    position: relative;
    padding-right: 11px; /* 矢印のスペース */
    margin-right: 20px;
}

.header-address p a.header-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #101B4D;
  border-right: 2px solid #101B4D;
  transform: translateY(-50%) rotate(45deg); /* ← 右向き矢印になる */
}

.header-tel::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f095"; /* ← 電話アイコン */
    margin-right: 6px;
    color: #CBECF1;
}
.header-tel {
    color: #101B4D;
    font-size: 26px;
}

/* 横並び設定 */
.gnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between; /* ← 均等配置 */
  width: 750px;
  font-family: "Noto Serif JP", serif;
}

.gnav-item {
  position: relative;
  width: 100%; /* 全て均等に広がる */
  text-align: center;
  font-weight: bold;
}

.gnav-item > a {
  display: block;
  text-decoration: none;
  color: #101B4D;
  font-size: 16px;
}

/* ▼ サブメニュー（アコーディオン部分） */
.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  position: absolute;
  left: 50%;
  transform: translateX(-80px);
  width: 160px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease; /* ← アコーディオンの動き */
}
/* サブメニュー内のリンク */
.sub-menu li a {
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
.sub-menu li a:hover {
    background-color: #fffff5 !important;
    opacity: 1;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

.sub-menu02 {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  transition: max-height 0.4s ease; /* ← アコーディオンの動き */
  display: none;
}
.sub-menu02 li a {
  display: block;
  position: relative;
  padding: 4px 10px 4px 45px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #101B4D;
  font-size: 14px;
  background-color: #fff;
}
.sub-menu02 li a::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 1px;
    background-color: #D0D0D0;
}
.sub-menu02 li a:hover {
    background-color: #fffff5 !important;
    opacity: 1;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

/* ▼ ホバーで開く（max-heightを広げる） */
.gnav-item:hover .sub-menu {
  max-height: 400px; /* ← 十分大きな値にする（サブメニューの高さより大きく） */
}
.gnav-item a {
    width: 100%;
    text-decoration: none;
}
.gnav-item a:hover {
    border-bottom: 3px solid #95B5DF;
    background-color: #fffff5 !important;
    opacity: 1;
}


@media (min-width: 1024px) {
    .header-main {
        display: none;
    }
}

@media(max-width:1023px) {
    .header-top {
        padding: 0;
        padding-left: 10px;
        height: 80px;
        background-color: #fff;
    }

    .logo-wrap img {
        height: 50px;
        width: auto;
        padding-top: 13px;
    }
}

@media(max-width:768px) {
    .logo-wrap {
        width: calc(100% - 80px);
    }
}

.header-head a {
    display: inline-block;
}

.header-copy:not(.title) {
    color: #fff;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 20px 0;
    padding: 5px 0 4px;
    text-align: left;
    position: relative;
    font-family: "Noto Serif JP", serif;
}

.header-copy:not(.title) {
    font-size: 12px;
    color: #656565;
    margin: 10px 0 0;
    /* margin-top: 10px; */
}

@media (max-width: 960px) {
    .header-copy:not(.title) {
        font-size: 10px;
        line-height: 1;
        margin-top: 5px;
    }
}

.header-btn {
    position: relative;
    cursor: pointer;
    width: 80px;
    height: 80px;
    z-index: 999999999;
    /* background-color: var(--main-color01); */
    color: #101B4D;
}

.header-btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 26px;
    height: 3px;
    border-radius: 2px;
    background: #101B4D;
    width: 35px;
}

.header-btn span:nth-of-type(1) {
    top: 24px;
}

.header-btn span:nth-of-type(2) {
    top: 36px;
}

.header-btn span:nth-of-type(3) {
    top: 48px;
}

.header-btn span:nth-of-type(4) {
    top: 48px;
    background: none;
    font-size: 14px;
    color: #fff;
    left: 18px;
    width: 60px;
    font-family: "Cinzel", serif;
}

.header-btn.active span:nth-of-type(1) {
    top: 24px;
    left: 26px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.header-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.header-btn.active span:nth-of-type(3) {
    top: 36px;
    left: 26px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

.header_nav {
    margin-right: 0px;
    font-size: clamp(13px, 0.6vw + 0.6rem, 18px);

}

@media (min-width: 1023px) {
    .header-btn {
        display: none;
    }
}

/* グローバルメニュー */

.header_nav ul {
    display: flex;
    justify-content: right;
    /*flex-wrap: wrap;*/
    flex-wrap: nowrap;
    white-space: nowrap;
    box-sizing: border-box;
    margin: 0 auto;
    padding-left: 0px;
    list-style: none;
}

.header_nav ul li a {
    /*padding: 5px 40px 5px 0;*/
    display: flex;
    align-items: center;
    flex-direction: column;
    line-height: 1;
    color: #000;
    /*font-weight: bold;*/
    /*font-size: 18px;*/
    font-size: 1em;
    padding: clamp(0.3em, 0.6vw, 0.6em) clamp(1.6em, 2.4vw, 2.4em) clamp(0.3em, 0.6vw, 0.6em) 0;
}

/*.header_nav ul li a span {
  font-weight: normal;
  color: var(--main-color02);
  font-family: "Marcellus", serif;
  font-size: 16px;
}*/

.header_nav ul li {
    position: relative;
}

/*.header_nav ul li a:hover {
  text-decoration: underline;
}*/

nav li.has-child {
    position: relative;
}

nav li.has-child::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f107';
    position: absolute;
    /*right: 35px;
    bottom: -8px;*/
    /*right: clamp(0.8em, 1.8vw, 2.2em);*/
    right: clamp(0.8em, 1.4vw, 2.2em);
    bottom: -0.5em;
    transform: translateY(-50%);
    color: var(--main-color02);
}

nav li.has-child.active::after {
    content: '\f106';
}

nav li.has-child a {
    cursor: pointer;
    /*padding: 5px 56px 5px 0;*/
    padding: clamp(0.3em, 0.6vw, 0.6em) clamp(2.2em, 2.8vw, 3.2em) clamp(0.3em, 0.6vw, 0.6em) 0;
}

nav li.has-child.active a .nav-title {
    color: var(--main-color02);
    border-bottom: 1px solid;
}

nav li.has-child ul.single {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /*top: 70px;*/
    top: 3.8em;
    z-index: 4;
    /*visibility: hidden;
  opacity: 0;*/
    /*transition: all .3s;*/
    background: #fff;
    /*font-size: 18px;*/
    font-size: 1em;
    padding: 0;
    font-family: "Yu Mincho", "YuMincho", serif;
}


/*nav li.has-child div {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 4;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  background: #fff;
  padding: 20px;
  display: flex;
  gap: 0 20px;
  font-size: 1rem;
}

nav li.has-child div ul {
  display: flex;
  flex-direction: column;
}

nav li.has-child div ul p {
  border-bottom: 2px solid var(--main-color01);
  color: var(--main-color01);
  font-weight: bold;
}

nav li.has-child div ul p span {
  padding: 0 10px;
  border-radius: 50px;
  font-size: 12px;
  color: #fff;
  background: var(--main-color01);
  margin-left: 10px;
}*/

nav li.has-child ul:before {
    content: '';
    position: absolute;
    height: 20px;
    width: 160px;
    top: -20px;
}

nav li.has-child ul li a {
    color: #000;
    display: block;
    /*width: 170px;*/
    width: auto;
    text-decoration: none !important;
    /*padding: 10px;*/
    padding: 0.6em 0.8em 0.6em 1.8em;
    border-bottom: 1px dashed #AAAAAA;
    line-height: 1.2;
    position: relative;
    min-width: 200px;
}

nav li.has-child ul li a::before {
    content: '';
    width: 9px;
    height: 9px;
    background-color: var(--main-color01);
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
}

/*nav li.has-child ul li a:hover {
    background-color: #EFF8EA;
}*/


nav li.has-child ul {
    display: none;
}

.header_nav .has-child ul {
    display: none;
}

.header_nav ul li a:hover .underline {
    display: inline;
    text-decoration: underline;
}

.nav-title {
    text-align: center;
    font-family: "Yu Mincho", "YuMincho", serif;
    line-height: 1.1;
}

.nav-title span {
    font-family: "Cinzel", serif;
    font-size: 12px;
    color: var(--main-color02);

}

.endoscopy-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 70px;
    z-index: 4;
    /* transition: all .3s; */
    background: #fff;
    font-size: 18px;
    padding: 16px 24px;
    width: auto;
}

.endoscopy-menu-inner {
    display: flex;
    justify-content: center;
    font-family: "Yu Mincho", "YuMincho", serif;
    gap: 0 40px;
}

.endoscopy-menu-inner p {
    background-color: var(--main-color01);
    color: #fff;
    text-align: center;
    padding: 10px;
}

.endoscopy-menu-inner ul {
    display: block !important;
}

@media(max-width: 1445px) {
    .header_nav ul li a {
        /*padding: 5px 30px 5px 0;*/
        padding-right: clamp(1.2em, 2vw, 1.8em);
    }

    nav li.has-child a {
        /*padding: 5px 36px 5px 0;*/
        padding-right: clamp(1.6em, 2.4vw, 2.2em);
    }

    nav li.has-child::after {
        /*right: 18px;*/
        /*right: clamp(0.6em, 1.4vw, 1.2em); */
        right: clamp(0.6em, 1.2vw, 1.2em);
    }
}

@media(max-width:1360px) {
    .header_nav-wrap {
        flex-wrap: wrap;
    }

    .header-right {
        width: 100%;
        margin-top: -42px;
    }
}

@media (max-width: 1023px) {
    .header-right {
        display: none;
    }
}


/* スライドナビゲーション */

.slide {
    background-color: #fff;
    /*width: 300px;*/
    width: 360px;
    min-height: 100vh;
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 10;
    overflow: scroll;
    padding-top: 100px;
}

.slide-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    background: transparent;
    cursor: pointer;
}

@media (max-width: 767px) {
    .slide {
        padding-top: 80px;
    }
}

@media (max-width: 375px) {
    .slide {
        width: 100%;
    }
}

.slide-menu {
    list-style: none;
    /*border-top: 2px solid #fff;*/
    padding: 0;
    padding: 40px 20px;
}

.slide-menu>ul {
    padding: 0;
    list-style: none;
}

.slide-menu>ul>li {
    border-bottom: 1px solid #D0D0D0;
}

.slide-menu>ul>li>a {
    text-decoration: none;
    color: #101B4D;
    padding: 5px 10px;
    display: block;
    font-size: 16px;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;
}

/*.slide-menu>ul>li>a:hover {
    background-color: var(--main-color02);
    box-shadow: inset 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease 0s;
    opacity: 1;
}*/

.slide-menu>ul>li.menu-item-has-children>a {
    position: relative;
}

.slide-menu>ul>li.menu-item-has-children>a::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f107';
    display: block;
    position: absolute;
    top: 50%;
    right: 3%;
    font-size: 20px;
    transform: translate(0px, -50%);
    margin: auto;
    transition: 0.2s;
    color: #101B4D;
}

.slide-menu>ul>li.menu-item-has-children.active {
    border-bottom: none;
}

.slide-menu>ul>li.menu-item-has-children.active>a {
    color: #101B4D;
}

.slide-menu>ul>li.menu-item-has-children.active>a::after {
    transform: translate(0, -50%) rotate(180deg);
    transition: transform 0.3s ease;
}


/* .slide {
    background-color: var(--main-color02);
    width: 300px;
    min-height: 100vh;
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 10;
    overflow: scroll;
    padding-top: 100px;
}
.slide-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    background: transparent;
    cursor: pointer;
}
@media (max-width: 767px) {
    .slide {
        padding-top: 80px;
    }
}

.slide-menu {
    list-style: none;
    border-top: 2px solid #fff;
    padding: 0;
}

.slide-menu>ul {
    padding: 0;
}

.slide-menu>ul>li {
    border-bottom: 2px solid #fff;
}

.slide-menu>ul>li>a {
    text-decoration: none;
    color: #fff;
    padding: 20px;
    display: block;
}

.slide-menu>ul>li>a:hover {
    background-color: var(--main-color02);
    box-shadow: inset 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease 0s;
    opacity: 1;
} */


/* ぱんくず */

.bread_wrap {
    margin-top: 0;
    margin-bottom: 0;
}

.bread {
    overflow: hidden;
}

.bread ul {
    margin: 0 auto;
    float: none;
    display: flex;
    justify-content: end;
}

@media (max-width: 767px) {
    .bread ul {
        padding: 15px 0;
    }
}

.bread ul li {
    list-style: none;
    position: relative;
    float: left;
    margin-right: 20px;
    padding-right: calc(20px + 9px);
}

@media (max-width: 767px) {
    .bread ul li {
        margin-right: 15px;
        padding-right: calc(15px + 9px);
    }
}

.bread ul li a {
    padding: 0;
    text-decoration: underline;
    color: var(--main-color02);
}

.bread ul li a:hover {
    color: #1b1b1b;
    text-decoration: none;
}

.bread ul li:after {
    content: '>';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.bread ul li:last-child {
    padding-right: 0;
    margin-right: 0;
}

.bread ul li:last-child:after {
    content: none;
}

.medicalinfo {
    background-color: var(--accent-color);
}


/* 画像のフィックス */

figure {
    margin: 0;
    text-align: center;
}

img {
    vertical-align: middle;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.recruit-info-container img, .news-item img {
    width: auto;
}

figure img {
    width: inherit;
}


/* 投稿 */

.article_list {
    padding: 30px;
    border: 1px solid var(--main-color02);
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .article_list {
        padding: 20px;
    }
}

.article_list:first-child {
    margin-top: 0;
}

.article_list:nth-child(n+2) {
    margin-top: 30px;
}

.article_date {
    display: flex;
    align-items: center;
    gap: 20px;
}

.article_detail {
    padding: 4%;
    margin-bottom: 4%;
    font-size: 1.2rem;
}

.article_detail img {
    width: auto;
}

.article_detail .span_12 {
    margin: 2% 0;
}

.article_button {
    margin-top: 30px;
    text-align: right;
}

@media (max-width: 767px) {
    .article_button {
        margin-top: 20px;
    }
}

.more {
    display: inline-block;
    overflow: hidden;
    margin: auto;
}

.more.btn_ss a,
.more.btn_ss span {
    padding: 0.3em 2.1em 0.3em 1.4em;
}

.more.btn_s a,
.more.btn_s span {
    padding: 0.5em 2.1em 0.5em 1.4em;
}

.more.btn_m a,
.more.btn_m span {
    padding: 0.5em 2.1em 0.5em 1.4em;
}

.more a,
.more span {
    display: inline-block;
    letter-spacing: normal;
    color: var(--main-color02);
    border: 1px solid var(--main-color02);
    padding: 0.9em 1.6em;
    margin-bottom: 1px;
    text-decoration: none;
}

.more a:after,
.more span:after {
    border-color: var(--main-color02);
}

.more a:hover,
.more span:hover {
    color: #333;
    border-color: #333;
}

.more a:hover:after,
.more span:hover:after {
    border-color: #333;
}

.more a.add_arrow,
.more span.add_arrow {
    padding-right: 1.9em;
}

.add_arrow {
    display: block;
    position: relative;
}

.add_arrow:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 5%;
    margin: auto;
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.add_arrow:hover:after {
    right: 3%;
    border-color: #fff;
}

.more {
    display: inline-block;
    overflow: hidden;
    margin: auto;
}

.more a {
    display: inline-block;
    letter-spacing: normal;
    border: 1px solid var(--main-color02);
    color: var(--main-color02);
    padding: 0.3em 1.3em 0.3em 1em;
    margin-bottom: 1px;
    text-decoration: none;
    font-size: 1.2rem;
}

.pager {
    overflow: hidden;
    margin-bottom: 5%;
}

.pager .pager_prev {
    float: left;
}

.pager .pager_prev a {
    display: block;
    position: relative;
    padding-left: 15px;
    text-decoration: none;
}

.pager .pager_prev a:before,
.pager .pager_prev a:after {
    content: "";
    display: block;
    position: absolute;
    left: 2px;
    margin: auto;
    width: 8px;
    height: 1px;
    background: var(--main-color02);
    -webkit-transition: .2s;
    transition: .2s;
}

.pager .pager_prev a:before {
    -webkit-transform: translateY(-50%) rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
    top: calc(50% - 2px);
}

.pager .pager_prev a:after {
    -webkit-transform: translateY(-50%) rotate(-135deg);
    transform: translateY(-50%) rotate(-135deg);
    top: calc(50% + 3px);
}

.pager .pager_prev a:hover {
    text-decoration: underline;
}

.pager .pager_prev a:hover:before {
    left: 0;
}

.pager .pager_prev a:hover:after {
    left: 0;
}

.pager .pager_next {
    float: right;
}

.pager .pager_next a {
    display: block;
    position: relative;
    padding-right: 15px;
    text-decoration: none;
}

.pager .pager_next a:before,
.pager .pager_next a:after {
    content: "";
    display: block;
    position: absolute;
    right: 2px;
    margin: auto;
    width: 8px;
    height: 1px;
    background: var(--main-color02);
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: .2s;
    transition: .2s;
}

.pager .pager_next a:before {
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    top: calc(50% - 2px);
}

.pager .pager_next a:after {
    -webkit-transform: translateY(-50%) rotate(135deg);
    transform: translateY(-50%) rotate(135deg);
    top: calc(50% + 3px);
}

.pager .pager_next a:hover {
    text-decoration: underline;
}

.pager .pager_next a:hover:before {
    right: 0;
}

.pager .pager_next a:hover:after {
    right: 0;
}

.top-doctor,
.top-diagnosis,
.top-recruit {
    background: var(--accent-color);
}

.top-clinic {
    background: #AB9D83;
}

.top-news {
    background: url(/wp-content/uploads/sec-4-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    padding-top: 70px;
}

.news-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 25px;
    padding-bottom: 30px;
}

.news-items-inner {
    background: #fff;
    display: ruby;
    align-items: center;
    position: relative;
    padding-right: 30px;
    padding: 15px;
    border: 1px solid #c1c1c1;
    display: flex;
}

/* .news-items-inner:before {
    content: '→';
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 24px;
    color: #000;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
} */

/* .news-items-inner:last-child {
    border-bottom: none;
} */

.news-item img {
width: 100px;
}

.cat {
    /* background: var(--main-color01);
    padding: 0 10px;
    color: #fff;
    margin: 2px; */
    display: none;
}

.post-title {
    line-height: 1;
    color: #101B4D;
    display: block;
    height: 100%;
}

time {
    width: 100%;
    color: #656565;
    padding-right: 20px;
    border-right: 1px solid #656565;
    margin-right: 20px;
    margin-left: 10px;
    display: block;
    width: 150px;
}

.news-item a {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: #101B4D;
    /*line-height: 0;*/
    display: block;
    width: 100%;
    height: 100%;
}

.news-content {
    width: 100%;
    margin: 15px 0 0;
    line-height: 1.5;
}

.news-items-inner:hover {
    background-color: #fffff5;
}

.news-item {
    width: calc(100% - 160px);
}

.post-title::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    content: "\f105";
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.top-news a.btn-1 {
    color: #101B4D;
    display: block;
    width: 180px;
    padding: 10px 0 10px 25px;
    background: #fff;
    margin: 30px auto;
    text-align: left;
    border-radius: 0;
    border: 1px solid #c1c1c1;
}
.top-news a.btn-1::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    content: "\f105";
    right: 20px;
}
.top-news a.btn-1:hover {
    background-color: #fffff5 !important;
    opacity: 1;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .news-item {
        width: 100%;
        flex: auto;
    }
    .news-items {
        padding-top: 15px;
        padding-bottom: 10px;
    }
    .news-items-inner {
        display: flex;
        flex-direction: column;
        padding: 7px 15px 17px;
    }
    time {
        border-right: none;
        border-bottom: 1px solid #656565;
        margin-left: 0;
        margin-right: 0;
        padding-bottom: 4px;
        width: 100%;
    }
    .post-title {
        padding-top: 15px;
    }
    .post-title::after {
        right: 15px;
        top: 70%;
    }
}


  /* コンタクトフォーム */

  span[class^="cf-"] {
    display: block;
  }

  .form-wrap dl {
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0;
    gap: 0;
    align-items: stretch;
  }

  .form-wrap dl:last-child {
    margin-bottom: 0;
  }

  .form-wrap dl dt {
    font-weight: bold;
    width: 240px;
    background: var(--main-color01);
    padding: 10px;
    color: #fff;
    border-bottom: 1px solid #fff;
  }

  .form-wrap dl dd {
    padding: 10px;
    margin-left: 0;
    width: calc(100% - 240px);
    background: #fff;
  }

  .reqired {
    color: #f00;
  }

  input[type=text],
  input[type=number],
  input[type=date],
  input[type=tel],
  input[type=url],
  input[type=email]
   {
    width: 100%;
    font-size: 20px;
    border: none;
    background: #ececec;
    height: 100%;
  }

.submit{
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

  button{
    text-decoration: none;
    border: none;
    outline: 0;
    color: #fff;
    cursor: pointer;
    background: none;
    padding: 23px 20px 23px 20px;
    width: 100%;
  }

  button:hover{
    color: #FFF;
  }

  select {
    font-size: 20px;
    border: none;
    background: #ececec;
    height: 100%;
  }

  textarea {
    width: 100%;
    border: none;
    background: #ececec;
    height: 100%;
  }

  @media (max-width: 820px) {
      .form-wrap dl dd {
          width: 100%;
      }
      .form-wrap dl dt {
          width: 100%;
      }
    }


/* カレンダー */

.calendars {
    display: flex;
    gap: 20px 2%;
}

.xo-event-calendar .calendar:first-child .month-next {
    visibility: hidden;
}

.xo-event-calendar .calendar:nth-child(n+2) .month-next {
    visibility: visible;
}

.xo-event-calendar table.xo-month .month-header>span {
    margin: 0 20px;
    flex-grow: 0;
}

@media (max-width: 480px) {
    .calendars {
        flex-wrap: wrap;
    }
    .xo-event-calendar .calendar:first-child .month-next {
        visibility: visible;
    }
    .xo-event-calendar .calendar:nth-child(n+2) .month-next {
        visibility: hidden;
    }
}

.xo-event-calendar table.xo-month td,
.xo-event-calendar table.xo-month th {
    border: none;
}

.xo-event-calendar table.xo-month {
    border: none;
}

.xo-event-calendar table.xo-month .month-dayname td div {
    text-align: center;
}

.holiday-titles {
    display: flex;
    flex-wrap: wrap;
}

.xo-event-calendar p.holiday-title {
    margin-right: 20px;
}

.xo-event-calendar table.xo-month button {
    background: var(--main-color02);
    width: 32px;
    border-radius: 50%;
}

.xo-event-calendar table.xo-month button span.nav-next {
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    margin-right: 5px;
}

.xo-event-calendar table.xo-month button span.nav-prev {
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    margin-left: 5px;
}

.xo-event-calendar table.xo-month .month-event-title {
    background: var(--main-color01)!important;
    text-align: center;
}


/* Slider */

.header-bottom {
    background: url('/wp-content/uploads/mv-bg.jpg') no-repeat center bottom/cover;
    background-size: 100%;
    padding-top: 132px;
    position: relative;
    width: 100%;
    height: 85vh;
}

.catch {
    width: 35%;
}

.catch-inner {
    background: url('/wp-content/uploads/catch-bg.png') no-repeat center/contain;
    position: absolute;
    /*top: -35px;*/
    top: 0;
    /* left: -10px; */
    width: 600px;
    height: 400px;
    z-index: 1;
}

.catch-copy .line1,
.catch-copy .line2 {
    display: block;
    font-size: 38px;
    font-weight: bold;
    line-height: 1.3;
    font-family: "Noto Serif JP", serif;
    background-color: rgba(255, 255, 255, 0.9);
}

.catch-copy .line3 {
    display: block;
    font-size: 18px;
    margin-top: 15px;
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.9);
}

.catch-copy .line1 {
    position: absolute;
    top: 140px;
    left: 80px;
    width: 430px;
    letter-spacing: 1px;
}

.catch-copy .line2 {
    position: absolute;
    top: 195px;
    left: 80px;
    width: 430px;
    letter-spacing: 1px;
}

.catch-copy .line3 {
    position: absolute;
    top: 250px;
    left: 80px;
    width: 430px;
    letter-spacing: 2px;
}

.mv {
  position: relative;
}

.slider01 {
    width: 60%;
    border-radius: 40px 0 0 40px;
    position: absolute!important;
    right: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.slick-slide > div {
    line-height: 0;
}
.mv-image {
  height: 65vh;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.mv-image.mv01 {
  background-image: url(/wp-content/uploads/fader-1.jpg);
  border-radius: 40px 0 0 40px;
}

.mv-image.mv02 {
  background-image: url(/wp-content/uploads/fader-2.jpg);
  border-radius: 40px 0 0 40px;
}

.mv-image.mv03 {
  background-image: url(/wp-content/uploads/fader-3.jpg);
  border-radius: 40px 0 0 40px;
}

@media(min-width:1750px) {
    .catch-inner {
        left: 5%;
    }
}

@media(min-width:1537px) {
    .catch-inner {
        top: 32px;
    }
}

@media(max-width:1536px) {
    .header-bottom {
        height: 100vh;
    }
}

@media (max-width: 768px) {
.header-bottom {
        height: 80vh;
        padding-top: 90px;
    }
    .catch {
        width: 100%;
        margin-bottom: 20px;
    }

    .catch-inner {
        top: -80px;
        left: -60px;
        width: 90%;
        height: 350px;
        z-index: 0;
    }
    .catch-copy .line1 {
    top: 100px;
    left: 80px;
    width: 350px;
    font-size: 30px;
    text-align: left;
    }
    .catch-copy .line2 {
    top: 145px;
    left: 80px;
    width: 350px;
    font-size: 30px;
    text-align: left;
    }
    .catch-copy .line3 {
    top: 180px;
    left: 80px;
    width: 350px;
    text-align: left;
    }
    .slider01 {
        width: 90%;
        position: absolute !important;
        right: 0;
        top: 190px;
    }
    .mv-image {
        height: 40vh;
    }
}
@media (max-width: 480px) {
    .mv-image {
        height: 30vh;
    }
}

/* 見出し */

h2.heading-1 {
    margin: 1em 0 2em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: 700;
    font-size: 30px;
    font-family: "Noto Serif JP", serif;
    color: #101B4D;
    letter-spacing: 5px;
    border-bottom: none;
    line-height: 1;
    text-align: center;
}

h2.heading-1 span {
    display: block;
    font-size: 14px;
    color: #656565;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
}

h2.heading-1::after {
    display: block;
    content: "";
    position: absolute;
    width: 60px;
    height: 32px;
    background: url(/wp-content/uploads/h2-line.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 50%;
    transform: translateX(-50%);
    bottom: -37px;
}

h2.heading-1 a {
    color: var(--main-color02);
}

h3.heading-1 {
    background-color: rgba(16,27,77,0.7);
    font-family: "Noto Serif JP", serif;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    padding: 2px 17px 0;
    margin: 1em 0 0.5em;
}

/* h3.heading-1 {
    margin: 0 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: bold;
    padding-top: 0;
    font-size: 1.4rem;
    color: var(--main-color02);
    padding-left: 1em;
}

h3.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    background: linear-gradient(to top, #D9D1C1 50%, var(--main-color02) 50%);
    ;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
} */

h4.heading-1 {
    font-family: "Noto Serif JP", serif;
    position: relative;
    padding-left: 30px;
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 0.8em 0 0.2em;
    color: #101B4D;
    font-weight: bold;
}
h4.heading-1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: #101B4D;
}

/* h4.heading-1 {
    margin: 0 0 0.5em;
    font-size: 1.2rem;
    position: relative;
    color: var(--main-color02);
    font-weight: normal;
    line-height: 1.5em;
} */

h5.heading-1 {
    margin: 0 0 0.5em;
    font-size: 1rem;
    position: relative;
    color: var(--main-color02);
    font-weight: normal;
    line-height: 1.5em;
}

#pagetitle {
  position: relative;
  padding: 2em 0.5em;
  /*background: var(--main-color01);*/
  background-color: #fff;
  background-image: url(/wp-content/uploads/mv-bg.jpg);
  background-size: cover;
  background-position: top;
  height: 300px;
  margin-top: 50px;
  text-align: center;
}

#pagetitle:after {
  content: "";
  position: absolute;
}

#pagetitle span {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  display: block;
  box-sizing: border-box;
  line-height: 1.5em;
  text-shadow: 0px 0px 5px #ffffff;
  color: #656565;
  font-family: "Noto Sans JP", sans-serif;
}

.pagetitle-main {
  padding: 40px;
  text-align: center;
}
.pagetitle-main {
    display: inline-block;
    background: rgba(255, 255, 255, 0.5);
    padding: 0 250px 20px;
    margin-top: 70px;
}

.pagetitle-main p {
  color: #101B4D;
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: bold;
  text-shadow: 0px 0px 5px #ffffff;
  padding-top: 20px;
  line-height: 1.6em;
}

@media (max-width: 768px) {
    #pagetitle {
        height: 220px;
        background-size: contain;
        background-position: bottom;
        background-repeat: no-repeat;
        margin-top: 30px;
    }
    .pagetitle-main {
        padding: 0 50px 20px;
        margin-top: 40px;
    }
    .pagetitle-main p {
        font-size: 28px;
    }
    #pagetitle span {
        font-size: 16px;
    }
}

/* #pagetitle {
    position: relative;
    color: #fff;
    padding: 2em 0.5em;
    background: var(--main-color01);
}

#pagetitle:after {
    content: '';
    position: absolute;
}

#pagetitle span {
    text-align: center;
    font-size: 2.0rem;
    font-weight: normal;
    display: block;
    box-sizing: border-box;
    line-height: 1.5em;
} */

@media (max-width: 480px) {
    h2.heading-1 {
        font-size: 2rem;
    }
    h3.heading-1 {
        font-size: 1.4rem;
    }
}


/* ボタン */

.btn-1 {
    color: #fff;
    display: block;
    width: 180px;
    margin-left: auto;
    height: auto;
    padding: 16px 20px 16px 20px;
    background: var(--main-color02);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    position: relative;
    border-radius: 50px;
    text-align: center;
}

.btn-1:hover {
    color: #fff;
    background: #B28575;
}

.btn-2 {
    color: #fff;
    display: block;
    width: 180px;
    height: auto;
    padding: 23px 20px 23px 20px;
    background: var(--main-color02);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    position: relative;
    border-radius: 50px;
    text-align: center;
}

.btn-2:hover {
    color: #fff;
    background: #B28575;
}

.btn-u {
    /*margin: 0 auto;*/
    text-align: center;
    padding: 13px;
    max-width: 360px;
    border-radius: 100vh;
    border: 1px solid #CBECF1;
    box-shadow: 0 0 12px rgba(203, 236, 241, 0.7);
    color: #101B4D;
    display: block;
    width: 100%;
}

.btn-u:hover {
    background-color: #CBECF1;
    transition: all 0.3s ease;
    opacity: 1;
}

.btn-u.right {
    margin-left: auto;
}

/* テーブル */

.table-schedule {
    width: 100%;
}

.table-schedule td,
.table-schedule th {
    border-bottom: 1px solid #C9D6DF;
    padding: 0.2em 0.3em;
    text-align: center;
    font-weight: normal;
}

.table-schedule td {
    color: #000;
}

@media (max-width: 480px) {
    .table-schedule td,
    .table-schedule th {
        padding: 0.7em .3em;
    }
}

.table-default {
    width: 100%;
}

.table-default td,
.table-default th {
    padding: 0.7em 1em;
    border: 1px solid #C9D6DF;
    vertical-align: middle;
}

.table-default th {
    background: var(--pale-color);
}
.table-schedule thead th:first-child {
    font-size: 0;
}

/* 流れ */

.bg {
    background: #e8f6fb;
    padding: 10px 15px;
    display: block;
    border: 1px solid #fff;
    box-shadow: 0 3px 3px #ebeae8;
    border-radius: 13px 0;
    margin-right: 10px;
}

span.bg {
    background: var(--main-color02);
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    display: block;
}

.indent {
    margin-left: 2em;
    text-indent: -2em;
}

.indent span.bg {
    display: inline;
}

.frame {
    border: 1px solid var(--main-color02);
    border-radius: 6px;
    padding: 1em 0;
    position: relative;
    display: flex;
}

.frame>.col {
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
}

.span_6 .frame,
.span_4 .frame {
    margin-top: 30px;
}

@media (max-width: 767px) {
    .span_6 .frame,
    .span_4 .frame {
        margin-top: 20px;
    }
    .frame {
        display: block;
    }
    .frame .span_2,
    .frame .span_3,
    .frame .span_4,
    .frame .span_5,
    .frame .span_6,
    .frame .span_7,
    .frame .span_8,
    .frame .span_9,
    .frame .span_10 {
        width: 100%!important;
    }
}

.frame.arrow:after {
    border-color: transparent transparent transparent var(--main-color02);
    border-style: solid;
    border-width: 26px 0 26px 18px;
    content: '';
    margin-top: -11px;
    position: absolute;
    right: 50%;
    bottom: -36px;
    transform: rotate(90deg);
}

.frame.arrow.end:after {
    display: none;
}


/* リスト */

dl {
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0;
    align-items: flex-start;
    gap: 10px;
}

dl dt {
    font-weight: bold;
    width: 180px;
}

dl dd {
    width: calc(100% - 200px);
}

.clinic-info dt {
    background: var(--main-color02);
    color: #fff;
    text-align: center;
    border-radius: 15px;
}

.access-map {
    width: 100%;
}

.access-info dt {
    background: var(--main-color02);
    color: #fff;
    text-align: center;
    width: 180px;
    border-radius: 50px;
}

.access-info dd {
    width: 100%;
}

.access-info ul li {
    border-bottom: 1px dashed #bababa;
}

.top-recruit {
    background-color: var(--accent-color);
}

.recruit-info dd {
    background-color: #fff;
}

.recruit-info dl {
    align-items: stretch;
}

.recruit {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1A1131;
    padding: 10px 40px;
    border: solid 5px var(--main-color01);
    position: relative;
}

.recruit ::before {
    content: "";
    position: absolute;
    border: solid 1px var(--main-color01);
    top: 5px;
    left: 5px;
    bottom: 5px;
    right: 5px;
}

.recruit-info dl dt{
    background-color: var(--main-color01);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: #fff;
  }

.recruit-info dl dd {
    display: flex;
    align-items: center;
    padding: 20px;
}

.history {
    display: flex;
    gap: 5px 0;
    flex-wrap: wrap;
    padding-left: 0;
}

.history li{
    border-bottom: 1px dotted #b4b4b4;
    flex-grow: 1;
    width: 100%;
    list-style: none;
}

@media(max-width:768px) {
    .clinic-info dl {
        flex-direction: column;
    }
    .clinic-info dt,
    .clinic-info dd {
        width: 100%;
    }
}
/* ページトップ */

.pagetop-wrap {
  position: fixed;
  display: inline-block;
  padding: 0 6px;
  background: #fff;
  color: #656565;
  text-decoration: none;
  bottom: 100px;
  right: 15px;
  font-size: 14px;
  cursor: pointer;
}

/* 上に矢印アイコンを表示 */
.pagetop-wrap::before {
  content: "";
  position: absolute;
  top: -20px;               /* 上に20px浮かせる */
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: url('/wp-content/uploads/page-top-arrow.png') no-repeat center center;
  background-size: contain;
}

.pagetop-wrap a {
text-decoration: none;
  color: #656565;
}

@media (max-width: 768px) {
    .pagetop-wrap {
        bottom: 135px;
        left: 10px;
        right: auto;
    }
}
/* グローバルメニュー */

.header_nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin: 0 auto;
    list-style: none;
    padding: 10px 0 20px;
    gap: 0 15px;
}

.header_nav ul li {
    position: relative;
}

.header_nav ul li a {
    color: #101B4D;
}

.header_nav ul li a:hover {
    text-decoration: underline;
    color: var(--pale-color);
}

.header_nav span {
    display: block;
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 1023px) {
  .header_nav ul {
    display: none;
  }
}

/* フッター */
/*footer {
  background: #504C44;
}*/
footer {
    color:#101B4D;
}
.footer {
  position: relative; 
  background: url(/wp-content/uploads/copyright-bg.jpg) no-repeat;
  background-position: center bottom;
  background-size: auto;
  bottom: 0;
}
@media (max-width: 768px) {
    .footer {
        background-position: center calc(100% + 360px);
    }
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(/wp-content/uploads/footer-bg.jpg) no-repeat;
  background-position: center top;
  background-size: cover;
  z-index: -1; 
}

.footer-top {
  width: 100%;
  /* height: 40px; */
  background: url(/wp-content/uploads/bg-u.jpg);
}

.footer-wrap {
  /*max-width: var(--content-width);*/
  margin: 0 auto;
  padding: 20px 0 0;
}

.footer__links ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 10px 0;
}

.footer__links ul li {
  position: relative;
}

.footer__links ul li:before {
  position: absolute;
  content: "・";
  height: 100%;
  right: 0;
  width: 8px;
  color: #fff;
}

.footer__links ul li:last-child:before {
  content: "";
}

.footer__links ul li a {
  padding: 10px;
  color: #fff;
}
/*.footer-info {
  display: flex;
  gap:20px;
  padding: 0 20px;
}*/

.footer-info-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-menu-wrap {
  background: url(/wp-content/uploads/bg-u.jpg);
}
.footer-menu {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
  padding: 80px 16px 40px;
}

.footer-info-content {
  display: flex;
  flex-wrap: wrap;
  /*gap: 40px;*/
  padding: 40px 0;
}

.footer-item {
  width: 50%;
}

.footer-info-content .footer-item:nth-of-type(1) {
  padding-right: 40px;
}

.footer-item dl {
  display: table;
  width: 100%;
}

.footer-item dl dt {
  color: #00437c;
  width: 115px;
  text-align: center;
  letter-spacing: 0.2em;
}

.footer-item dl dt,
.footer-item dl dd {
  border-bottom: 1px dashed var(--main-color01);
  display: table-cell;
  vertical-align: middle;
  padding: 16px 0;
  line-height: 1.5;
}

.footer-item dl dd a {
  color: #333;
}

.dd-bg {
  background: var(--main-color01);
  color: #fff;
  padding: 5px 8px;
  line-height: 1.5;
  font-size: 14px;
}

.footer-item p {
  line-height: 1.8;
}

@media (max-width:768px) {
    .footer-item img.f-logo {
        width: 60%!important;
    }
}

.footer_nav li {
  list-style: none;
  position: relative;
  font-weight: bold;
}

.footer_nav li::before {
  content: "";
  display: block;
  width: 28px;
  height: 22px;
  background: url(/wp-content/uploads/leaf.png);
  background-size: cover;
  position: absolute;
  left: -30px;
  top: 5px;
}

.footer_nav li > ul > li {
  font-weight: normal;
}

.footer_nav li > ul > li::before,
.footer_nav_s li::before {
  content: "";
  display: block;
  position: absolute;
  background: #333;
  width: 3px;
  height: 1px;
  left: -10px;
  top: 50%;
}

.footer_nav_p {
  font-weight: bold;
}

.footer_nav_p,
.footer_nav_s li {
  position: relative;
  list-style: none;
}

.footer_nav_p::before {
  content: "";
  display: block;
  width: 28px;
  height: 22px;
  background: url(/wp-content/uploads/leaf.png);
  background-size: cover;
  position: absolute;
  left: -30px;
  top: 5px;
}

.footer_nav a,
.footer_nav_s a {
  color: #333;
}

.sym-wrap {
  display: flex;
  flex-wrap: wrap;
}

.footer-slider {
  padding: 80px 0;
  background: var(--accent-color);
}

.footer-slider .slick-list {
  margin: 0 -10px;
}
.footer-slider .slick-slide {
  margin: 0 10px;
}

.photo img {
  border: 5px solid #ffffff;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1200px) {
  .footer-info-content {
    padding: 40px 16px;
  }
}

@media(max-width:768px) {
  .footer-info-content {
    gap: 40px 0;
  }
}

@media (max-width: 480px) {
  .footer-item dl dt {
    width: 100px;
  }
  .footer-slider {
    padding: 40px 0;
  }
  .footer-info-content {
    gap: 40px 0;
  }
  .footer-info-content .footer-item:nth-of-type(1) {
    padding-right: 0;
  }
}

.sns_icon {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 10px;
  justify-content: flex-end;
}

.clinic_sns_icon {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 10px;
}

.footer-policy-link {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 20px;
  justify-content: flex-end;
}

.footer-policy-link a {
  color: #000;
}

.subject-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.subject-box span {
  color: #101B4D;
  /* font-weight: bold; */
  padding: 6px 10px;
  line-height: 1.2;
}

.subject-box span:nth-child(1) {
  background: var(--main-color01);
}

.subject-box span:nth-child(2) {
  background: var(--main-color02);
}

.subject-box span:nth-child(3) {
  background: var(--sub-color);
}

.subject-box span:nth-child(4) {
  background: var(--accent-color);
}

.footer-adress-tel {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.footer-adress-tel li {
  display: block;
}

.footer-adress-tel li.ft-adress::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f3c5";
    display: inline-block;
    color: var(--main-color01);
    font-size: 20px;
    padding-right: 5px;
}
.footer-adress-tel li.ft-adress br + span {
    display: inline-block;
    margin-left: 1.2em;
}

@media screen and (max-width: 768px) {
  .footer-adress-tel {
    flex-direction: column;
    align-items: center;
    gap: 10px; /* 縦の間隔 */
  }
}

.f_diagnosis_box {
    margin-bottom: 30px;
}

.f_diagnosis_box div.ttl {
    background: var(--main-color01);
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 10px;
    margin-bottom: 10px;
    text-align: center;
}

.f_access_box {
    margin-bottom: 30px;
}

.f_access_box div.access-item {
  display: flex;
  align-items: center;
  position: relative;
}
.f_access_box div.access-item span {
    background-color: #fff;
    padding: 0 20px 0 40px;
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: bold;
}
.f_access_box div.access-item:before {
    content: "";
    position: absolute;
    background-image: url(/wp-content/uploads/icon-4.png);
    left: 0;
    top: 50%;
    background-size: cover;
    height: 40px;
    width: 32px;
    background-color: #fff;
    transform: translateY(-50%);
}
.f_access_box div.access-item:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #101B4D;
    transform: translateY(-50%);
    z-index: -1;
}

.f_access_box .list {
    margin-left: 20px;
}

/* .f_parking_box {
    margin-bottom: 30px;
} */

.f_parking_box div.access-item {
  display: flex;
  align-items: center;
  position: relative;
}

.f_parking_box div.access-item span {
    background-color: #fff;
    padding: 0 20px 0 40px;
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: bold;
}

.f_parking_box div.access-item:before {
    content: "";
    position: absolute;
    background-image: url(/wp-content/uploads/icon-5.png);
    left: 0;
    top: 50%;
    background-size: cover;
    height: 40px;
    width: 32px;
    background-color: #fff;
    transform: translateY(-50%);
}

.f_parking_box div.access-item:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #101B4D;
    transform: translateY(-50%);
    z-index: -1;
}

.f_parking_box div.f_access_box .list {
    margin-left: 20px;
}

.f_parking_box ul.list-box {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;     /* 右側を縦中央揃え */
  border-left: 0;
}

.f_parking_box ul.list-box > li {
  flex: 1;                /* 左右を均等に（比率変えたければ調整OK） */
  padding: 4px 20px;
  position: relative;
}

/* 左右の間に縦線を入れる */
.f_parking_box ul.list-box > li.left {
    flex: 3;
  border-right: 2px solid #ccc;  /* 縦線 */
  padding-right: 20px;
}

.f_parking_box ul.list-box > li.right {
    flex: 7;
  padding-left: 20px;
}

@media (max-width: 768px) {
    .f_parking_box ul.list-box > li.left {
        flex: 5.5;
    }
    .f_parking_box ul.list-box > li.right {
        flex: 4.5;
    }
    .f_access_box div.access-item .ttl::after {
        width: 230px;
    }
    .f_parking_box div.access-item .ttl::after {
        width: 250px;
    }
}

/* 左側のリストのスタイル */
.f_parking_box ul.list {
  list-style: disc;
  padding: 0;
  margin: 0;
  margin-left: 20px;
}

/* 右側のテキスト（縦中央揃え） */
.f_parking_box ul.right-box {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;  /* ←テキストを上下中央に */
  height: 100%;         /* 要素全体の中央にするため */
}

/* 全体レイアウト */
.footer-schedule {
  display: flex;
  align-items: stretch;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
    .footer-schedule {
        padding: 10px 16px;
        margin-bottom: 0px;
    }
}

/* 各ボックス */
.schedule-box {
  flex: 1;
  padding: 0 20px;
}

/* 中央の縦線：左側のボックスのみ */
.schedule-box:first-child {
  border-right: 1px solid #D0D0D0; /* PCのみ */
}

/* ど真ん中の仕切り線 */
.divider {
  width: 2px;               /* 縦線の太さ */
  background-color: #ccc;   /* 好きな色 */
  margin: 0 20px;           /* 左右の余白（＝gapの代わり） */
}

/* タイトル */
.schedule-ttl {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
}
.schedule-ttl span {
    border-bottom: 1px solid #d0d0d0;
    padding: 0 15px 8px;
}

/* テーブル */
.table-schedule {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 14px;
}
.table-schedule thead th {
  background: #CBECF1;
  font-weight: bold;
  padding: 8px;
  border: none;
}
.table-schedule thead tr:first-child th {
  border-bottom: none;
}
.table-schedule td {
  padding: 8px;
  border-bottom: 1px solid #ccc;
  border-left: none;
  border-right: none;
}

/* テーブル02 */

.table-schedule-02 {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}
.table-schedule-02 tbody th {
  background: #cceeff;
  font-weight: bold;
  padding: 8px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  width: 25%;
}
.table-schedule-02 td {
  padding: 8px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: left;
}
@media (max-width:768px) {
    .table-schedule-02 tbody th {
        width: 25%;
    }
}

/* SP：縦並び、縦線なし */
@media screen and (max-width: 768px) {
  .footer-schedule {
    flex-direction: column;
  }
  .divider {
    display: none;
  }
  .schedule-box {
    padding: 0;
  }
  .schedule-box:first-child {
    border-right: none;
  }
}

.schedule-txt {
    list-style-type: none;
    padding-top: 5px;
    padding-left: 0;
}
.schedule-txt li {
    margin-bottom: 10px;
}
.schedule-txt li span {
    padding-left: 80px;
    display: block;
}
.schedule-txt li {
    position: relative;
}
.schedule-txt li:nth-child(1):before {
    position: absolute;
    content: '小児科';
    background: var(--main-color02);
    padding: 0 10px;
}
.schedule-txt li:nth-child(2):before {
    position: absolute;
    content: '皮膚科';
    background: var(--sub-color);
    padding: 0 10px;
}
.schedule-txt li:nth-child(3):before {
    position: absolute;
    content: '婦人科';
    background: var(--accent-color);
    padding: 0 10px;
}

/* フッター全体 */
.footer-links {
    width: 100%;
}

/* PC用：横並び */
.footer-links-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* 各列 */
.footer-column {
  flex: 1;              /* 均等幅、比率を変えたい場合は調整可 */
}

/* タイトル */
.footer-title {
font-family: "Noto Serif JP", serif;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  padding: 0 0 4px 5px;
  border-bottom: 1px solid #D0D0D0; /* 下線 */
}

/* リンクリスト */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* .footer-column ul li {
  margin-bottom: 6px;
} */

.footer-column ul li a {
  text-decoration: none;
  font-size: 14px;
}

.footer-column ul li a {
    color: #101B4D;
    font-size: 14px;
    font-family: Noto sans jp;
    position: relative;
    padding-right: 14px; /* 矢印のスペース */
    margin-right: 20px;
}

.footer-column ul li a::after {
  content: ">";
  position: absolute;
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  margin-left: 5px;
}

.footer-column ul li a:hover::after {
    margin-left: 10px;
}
.footer-column ul li a:hover {
    text-decoration: underline;
}

/* SP：縦並び */
@media screen and (max-width: 768px) {
  .footer-links-container {
    flex-direction: column;
    gap: 30px;
  }
  .footer-column {
    flex: none;
  }
}

.footer-links-list {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.footer-links-list li a {
  text-decoration: none;
  color: #101B4D;
  font-size: 14px;
  position: relative;
  padding-right: 14px;
}
.footer-links-list li a:hover {
   text-decoration: underline;
}

.footer-links-list li a::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;                /* リンクの右端に配置 */
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #101B4D;
  border-right: 1px solid #101B4D;
  transform: translateY(-50%) rotate(45deg); /* ← 右向き矢印になる */
}

@media(max-width:1023px) {
  .footer-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-info {
    flex-wrap: wrap;
  }
  .footer-info-inner {
    width: 100%;
  }
  .footer-item {
    width: 100%;
  }
  .footer-item iframe {
    height: 450px;
  }
}

@media (max-width: 480px) {
  .sns_icon {
    flex-wrap: wrap;
    justify-content: center;
  }
  .sns_icon li {
    width: 80px;
  }
  .footer-policy-link {
    display: block;
  }
  .footer-item iframe {
    height: 200px;
  }
}

.copy {
  padding: 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #656565;
}

@media (max-width: 480px) {
  .copy {
    padding: 65px 16px 20px;
    font-size: 14px;
  }
}
@media (min-width: 768px) {
    .footer-tel-box {
        display: none;
    }
}
@media (max-width: 768px) {
  .footer-tel-box {
    text-align: center;
    align-items: center;
    font-family: "Noto Serif JP", serif;
    padding: 15px;
    background-image: linear-gradient(90deg, #cbecf1, #bcc5ef);
  }
  .footer-tel {
    background-color: #fff;
    text-align: center;
    align-items: center;
  }
  .footer-tel a {
    text-decoration: none;
    font-weight: bold;
  }
}
/* 予約ボタン */

.reservation_area {
    position: fixed;
    top: 170px;
    right: 0;
    z-index: 1;
}

.reservation_area ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.reservation_area li {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-text-orientation: upright;
    text-orientation: upright;
    list-style: none;
    letter-spacing: 2px;
}

.reservation_area li a {
    display: block;
    padding: 25px 10px;
    transition: all 0.2s ease-out;
}

@media (hover: hover) {
    .reservation_area li:nth-child(1) a:hover,
    .reservation_area li:nth-child(2) a:hover,
    .reservation_area li:nth-child(3) a:hover {
        padding-right: 30px;
    }
}

.reservation_area li:nth-child(1) a,
.reservation_area li:nth-child(3) a {
    color: #000;
    background: var(--main-color01);
}

.reservation_area li:nth-child(2) a {
    color: #fff;
    background: var(--main-color02);
}

@media (max-width: 480px) {
    .reservation_area {
        bottom: 0px;
        top: auto;
        width: 100%;
    }
    .reservation_area ul {
        flex-direction: row;
    }
    .reservation_area ul li {
        width: 33.3%;
        writing-mode: horizontal-tb;
        text-align: center;
    }
    .reservation_area li a {
        padding: 10px 5px;
    }
}


/* トグル */


.icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
}

.icon:before {
    left: 0;
    transform: rotate(45deg);
}

.icon:after {
    right: 0;
    transform: rotate(-45deg);
}

.icon:before,
.icon:after {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: var(--main-color02);
}

details{
    border-top: 1px solid;
  }
  details:hover{
    background: var(--accent-color);
  }
  details:last-child{
    border-bottom: 1px solid;
  }
  summary {
    display: block;
    list-style: none;
  }

  summary::-webkit-details-marker {
    display: none;
  }

  .toggle-head.qa {
    position: relative;
  }

  .toggle-head.qa:before {
    position: absolute;
    content: "Q.";
    top: 13px;
    left: 20px;
    font-weight: bold;
    color: var(--main-color01);
    font-family: serif;
    font-size: 24px;
  }

  .toggle_inner {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px 15px 50px;
    font-weight: bold;
    color: var(--main-color01);
  }

  .toggle_inner-icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
  }

  .toggle_inner-icon:before {
    left: 0;
    transform: rotate(45deg);
  }

  .toggle_inner-icon:after {
    right: 0;
    transform: rotate(-45deg);
  }

  .toggle_inner-icon:before, .toggle_inner-icon:after {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: var(--main-color01);
  }

  .toggle-content p {
    padding: 20px 20px 20px 60px;
    background: #fff;
    margin: 0;
    position: relative;
  }

  .toggle-content p a{
    color: var(--main-color01);
    text-decoration: underline;
  }

  .answer:before {
    position: absolute;
    content: "A.";
    top: 18px;
    left: 30px;
    font-weight: bold;
    color: var(--main-color01);
    font-family: serif;
    font-size: 24px;
  }

  details[open] .toggle_inner-icon {
    transform: rotate(180deg);
  }

/* 設備紹介 */

.facility-warap {
    max-width: 100%;
  }

  .facility-slider img,
  .facility-slider-sub img {
    width: 100%;
    height: auto;
  }
  .slick-prev, .slick-next {
    z-index: 1;
  }

  .facility-thumb>.slick-prev:before,.facility-thumb>.slick-next:before,
  .facility-thumb-sub>.slick-prev:before,.facility-thumb-sub>.slick-next:before {
    color: #000!important;
  }

  .facility-thumb img, 
  .facility-thumb-sub img {
    transition: all ease-in-out .3s;
    opacity: .2;
  }
  .slick-current img{
    opacity: 1;
  }
  .facility-thumb,
  .facility-thumb-sub {
    margin: 10px 0 0;
  }
  .facility-thumb,
  .facility-thumb-sub {
    cursor: pointer;
  }
  .facility-caption {
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
  }

  /* 料金表 */

.price-wrap {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--main-color01);
    margin-bottom: 20px;
  }

  .price-wrap:last-of-type {
    margin-bottom: 0px;
  }

  .price-name {
    border-right: 1px solid var(--main-color01);
    width: 300px;
    background: var(--accent-color);
    padding: 5px;
    font-weight: bold;
  }

  .price-fee {
    width: calc(100% - 300px);
    padding: 5px;
    display: flex;
    justify-content: flex-end;
  }

  .price-disc,
  .price-term,
  .price-risk {
    width: 100%;
    padding: 5px;
    border-top: 1px solid var(--main-color01);
    display: flex;
    gap: 10px;
  }
  .price-head {
    width: 125px;
    border-right: 1px solid;
  }
  .price-text {
    width: calc(100% - 135px);
  }


  @media (max-width: 480px) {
    .price-name {
      border-right: none;
      width: 100%;
    }
    .price-fee {
      width: 100%;
    }
  }


/* 汎用クラス */

.bg-red {
    background-color: #fe266d!important;
}

.bg-blue {
    background-color: #1646b1!important;
}

.bg-green {
    background-color: #5fcf32!important;
}

.bg-orange {
    background-color: #ffa204!important;
}

.text-red {
    color: #db2d2d!important;
}

.text-blue {
    color: #2420db!important;
}

.text-green {
    color: #6ddb20!important;
}

.text-orange {
    color: #E1AB3A!important;
}

.text-pink {
    color: #db20b2!important;
}

.text-black {
    color: #000000!important;
}

.text-brown {
    color: #937437!important;
}

.text-gray {
    color: #555555!important;
}

.text-white {
    color: #FFFFFF!important;
}

.mt0 {
    margin-top: 0px!important;
}

.mb0 {
    margin-bottom: 0px!important;
}

.mt10 {
    margin-top: 10px!important;
}

.mt20 {
    margin-top: 20px!important;
}

.mt30 {
    margin-top: 30px!important;
}

.mt40 {
    margin-top: 40px!important;
}

.mt50 {
    margin-top: 50px!important;
}

.mt60 {
    margin-top: 60px!important;
}

.mr10 {
    margin-right: 10px!important;
}

.mr20 {
    margin-right: 20px!important;
}

.mr30 {
    margin-right: 30px!important;
}

.mr40 {
    margin-right: 40px!important;
}

.mr50 {
    margin-right: 50px!important;
}

.mr60 {
    margin-right: 60px!important;
}

.mb10 {
    margin-bottom: 10px!important;
}

.mb20 {
    margin-bottom: 20px!important;
}

.mb30 {
    margin-bottom: 30px!important;
}

.mb40 {
    margin-bottom: 40px!important;
}

.mb50 {
    margin-bottom: 50px!important;
}

.mb60 {
    margin-bottom: 60px!important;
}

.ml10 {
    margin-left: 10px!important;
}

.ml20 {
    margin-left: 20px!important;
}

.ml30 {
    margin-left: 30px!important;
}

.ml40 {
    margin-left: 40px!important;
}

.ml50 {
    margin-left: 50px!important;
}

.ml60 {
    margin-left: 60px!important;
}

.pt10 {
    padding-top: 10px!important;
}

.pt20 {
    padding-top: 20px!important;
}

.pt30 {
    padding-top: 30px!important;
}

.pt40 {
    padding-top: 40px!important;
}

.pt50 {
    padding-top: 50px!important;
}

.pt60 {
    padding-top: 60px!important;
}

.pr10 {
    padding-right: 10px!important;
}

.pr20 {
    padding-right: 20px!important;
}

.pr30 {
    padding-right: 30px!important;
}

.pr40 {
    padding-right: 40px!important;
}

.pr50 {
    padding-right: 50px!important;
}

.pr60 {
    padding-right: 60px!important;
}

.pb10 {
    padding-bottom: 10px!important;
}

.pb20 {
    padding-bottom: 20px!important;
}

.pb30 {
    padding-bottom: 30px!important;
}

.pb40 {
    padding-bottom: 40px!important;
}

.pb50 {
    padding-bottom: 50px!important;
}

.pb60 {
    padding-bottom: 60px!important;
}

.pl10 {
    padding-left: 10px!important;
}

.pl20 {
    padding-left: 20px!important;
}

.pl30 {
    padding-left: 30px!important;
}

.pl40 {
    padding-left: 40px!important;
}

.pl50 {
    padding-left: 50px!important;
}

.pl60 {
    padding-left: 60px!important;
}

.text-bold {
    font-weight: bold!important;
}

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

.text-right {
    text-align: right!important;
}

.text-left {
    text-align: left!important;
}

.text-xlarge {
    font-size: 1.6rem!important;
}

.text-large {
    font-size: 1.4rem!important;
}

.w100 {
    width: 100%!important;
}

@media (max-width: 767px) {
    .pc-only {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .text-xlarge {
        font-size: 2.0rem;
    }
    .text-large {
        font-size: 1.6rem;
    }
    .sp-only {
        display: none !important;
    }
}

@media (min-width: 767px) and (max-width: 1023px) {
    .tablet-hide {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .tablet-only {
        display: none !important;
    }
}

/* 診療案内 */

.top-medical-info {
    background: url(/wp-content/uploads/footer-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    padding-top: 70px;
}
.medical-info-wrap {
    border-bottom: 2px dashed #D0D0D0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.medical-info-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 2%;
}
.medical-info-box {
    position: relative;
    width: 49%;
    padding: 20px 20px 30px;
    display: flex;
    flex-direction: column;
}
.medical-info-box img {
    width: 100%;
}
.medical-info-text {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 90%;
    height: auto;
    /*margin: -75px auto 0;*/
    margin: -205px auto 0;
    padding: 20px;
}
.medical-info-text p.ttl {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
    text-align: center;
    font-family: "Noto Serif JP", serif;
}
.medical-info-text p.ttl span {
    border-bottom: 1px solid #d0d0d0;
    padding: 0 15px 8px;
    letter-spacing: 3px;
}
.medical-info-text p.txt {
    margin-bottom: 18px;
}
.medical-info-text p.btn {
    margin: 0 auto;
    text-align: center;
    padding: 13px;
    width: 180px;
    border-radius: 100vh;
    border: 1px solid #CBECF1
}
.medical-info-text p.btn a {
    text-decoration: none;
    color: #101B4D;
}
.medical-info-text p.btn.btn01 {
    box-shadow: 0 0 12px rgba(203,236,241,0.7);
}
.medical-info-text p.btn.btn01:hover {
    background-color: #CBECF1;
    transition: all 0.3s ease;
    opacity: 1;
}
.medical-info-text p.btn.btn02 {
    box-shadow: 0 0 12px rgba(175,225,243,0.7);
}
.medical-info-text p.btn.btn02:hover {
    background-color: #AFE1F3;
    transition: all 0.3s ease;
    opacity: 1;
}
.medical-info-text p.btn.btn03 {
    box-shadow: 0 0 12px rgba(188,211,240,0.7);
}
.medical-info-text p.btn.btn03:hover {
    background-color: #BCD3F0;
    transition: all 0.3s ease;
    opacity: 1;
}
.medical-info-text p.btn.btn04 {
    box-shadow: 0 0 12px rgba(188,197,239,0.7);
}
.medical-info-text p.btn.btn04:hover {
    background-color: #BCC5EF;
    transition: all 0.3s ease;
    opacity: 1;
}
@media (max-width: 767px) {
    .medical-info-inner {
        flex-direction: column;
    }
    .medical-info-box {
        width: 100%;
    }
    .medical-info-text {
        width: 90%;
    }
    .medical-info-wrap {
        border-bottom: none;
        padding-bottom: 0;
    }
}
.medical-info-02-wrap {
    margin: 40px 0 10px;
}
.medical-info-02-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 2%;
}
.medical-info-gairai-box,
 .medical-info-touseki-box,
 .medical-info-nyuin-box {
    position: relative;
    width: 32%;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-radius: 0 8% 0 0;
    margin-top: 50px;
}
.medical-info-gairai-box {
    background-color: #AFE1F3;
}
.medical-info-gairai-box::after {
    content: "";
    background: url(/wp-content/uploads/icon-1-maru.png) no-repeat center/contain;
    position: absolute;
    top: -55px;
    left: 0;
    width: 120px;
    height: 120px;
}
.medical-info-touseki-box {
    background-color: #BCD3F0;
}
.medical-info-touseki-box::after {
    content: "";
    background: url(/wp-content/uploads/icon-2-maru.png) no-repeat center/contain;
    position: absolute;
    top: -55px;
    left: 0;
    width: 120px;
    height: 120px;
}
.medical-info-nyuin-box {
    background-color: #BCC5EF;
}
.medical-info-nyuin-box::after {
    content: "";
    background: url(/wp-content/uploads/icon-3-maru.png) no-repeat center/contain;
    position: absolute;
    top: -55px;
    left: 0;
    width: 120px;
    height: 120px;
}
.medical-info-02-inner p.ttl {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
    text-align: center;
    font-family: "Noto Serif JP", serif;
}
.medical-info-02-inner p.ttl span {
    border-bottom: 1px solid #fff;
    padding: 0 15px 8px;
}
.medical-info-02-inner p.link {
    width: 100%;
}
.medical-info-02-inner p.link a:hover {
    background-color: #fffff5!important;
    opacity: 1;
    transition: all 0.3s ease;
}
.medical-info-02-inner a {
    font-family: "Noto Serif JP", serif;
    font-weight: bold;
    color: #101B4D;
    display: block;
    width: 100%;
    padding: 20px 0 20px 25px;
    background: #fff;
    margin: 10px auto;
    text-align: left;
    border-radius: 0;
    border: 1px solid #c1c1c1;
}
.medical-info-02-inner a::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    content: "\f105";
    right: 35px;
}

@media (max-width: 767px) {
    .medical-info-02-inner {
        flex-direction: column;
        gap: 30px 2%;
    }
    .medical-info-gairai-box,
     .medical-info-touseki-box,
     .medical-info-nyuin-box {
        width: 100%;
    }
}

/* 当院の特徴 */

.top-feature {
    background: url(/wp-content/uploads/sec-4-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    padding-top: 70px;
}

.feature-ttl {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background-color: #fff;
    padding: 5px 5px;
    width: 480px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* グラデーション風シャドウ */
    margin: 0 auto 50px;
    letter-spacing: 1px;
}

.feature-ttl span {
    font-size: 30px;
}

@media (max-width: 768px) {
    .feature-ttl {
        width: 100%;
        line-height: 1.2em;
        padding: 5px 5px 10px;
    }
    .feature-ttl span {
        font-size: 26px;
    }
}

/* .feature-wrap {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
} */
.feature-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-grow: 1;
    position: relative;
    width: 100%;
}

/*========================================
  共通のスタイル
========================================*/

/* PC：横並び */
.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: nowrap;
  background: #fff;
  width: 100%;
}
.feature-item.item01, 
.feature-item.item03 {
    border-radius: 200px 0 0 200px;
}
.feature-item.item02 {
    border-radius: 0 200px 200px 0;
}


/*-------------------------
  数字パーツ
-------------------------*/
.number-box {
  width: 180px;
  align-items: center;
  font-size: 48px;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  text-align: center;
}
.number-box span.num01 {
    color: #AFE1F3;
}
.number-box span.num02 {
    color: #BCD3F0;
}
.number-box span.num03 {
    color: #BCC5EF;
}

/* .left-round {
  border-radius: 100% 0 0 100% / 50%;
  padding-left: 50px;
}

.right-round {
  border-radius: 0 100% 100% 0% / 50%;
  padding-left: 9px;
} */

/*-------------------------
  テキストパーツ
-------------------------*/
.text-box {
  padding: 30px;
  width: 80%;
  box-sizing: border-box;
}

.text-box .ttl {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 1px;
}

.text-box .underline {
  height: 1px;
  background: #D0D0D0;
  margin-bottom: 15px;
}

.text-box .txt {
  font-size: 16px;
  line-height: 1.7;
}

/*-------------------------
  画像
-------------------------*/

.feature-item div.img-box {
    width: 200px;
    height: -webkit-fill-available;
}

.feature-img {
    height: 100%;
  width: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.feature-img.img01 {
  background-image: url(/wp-content/uploads/img-7.jpg);
}
.feature-img.img02 {
  background-image: url(/wp-content/uploads/img-8.jpg);
}
.feature-img.img03 {
  background-image: url(/wp-content/uploads/img-9.jpg);
}

/*========================================
  スマホ版（768px以下）
========================================*/
@media screen and (max-width: 768px) {

  /* 横並び → 縦並びへ */
  .feature-item {
    flex-direction: column;
    align-items: center;
  }
.feature-item div.img-box {
    width: 100%;
}
.feature-item.item01, 
.feature-item.item02, 
.feature-item.item03 {
    border-radius: 200px 200px 0 0;
}
.feature-item.item02 {
    flex-direction: column-reverse;
}
.feature-img.img01 {
  background-image: url(/wp-content/uploads/img-7-sp.jpg);
}
.feature-img.img02 {
  background-image: url(/wp-content/uploads/img-8-sp.jpg);
}
.feature-img.img03 {
  background-image: url(/wp-content/uploads/img-9-sp.jpg);
}
.feature-img {
    width: 100%;
    height: 30vh;
}
  .number-box {
  width: 100%;
  height: 150px;
  font-size: 56px;
  justify-content: center;
}
.number-box span {
    line-height: 3em;
}
.text-box {
  padding: 0 20px 20px;
  width: 100%;
}
}

.top-doctor {
    background-color: var(--accent-color);
}

.doctor-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
    position: relative;
}

.doctor-wrap:before {
    content: '';
    position: absolute;
    left: 0;
    width: 588px;
    height: 418px;
    background-image: url(/wp-content/uploads/top-doctor02.png);
    background-size: cover;
    background-position: center;
}

.doctor-img {
    display: none;
}

.doctor-content {
    position: relative;
    width: 700px;
    padding: 5px;
    margin-top: 140px;
    border: solid 8px var(--main-color02);
    background-color: rgba(255, 255, 255, 0.8);
}

.doctor-content > div {
    padding: 20px;
    border: solid 2px var(--main-color02);
}

.doctor-content p span {
    display: block;
}

@media (max-width: 768px) {
    .doctor-wrap:before {
        display: none;
    }
    .doctor-content {
        margin-top: 0px;
    }
    .doctor-img {
        display: block;
        width: 100%;
    }
    .doctor-content {
        width: 100%;
    }
}

/* 診療時間表 */

.top-clinicinfo {
    background: url(/wp-content/uploads/footer-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    padding-top: 100px;
    position: relative;
    z-index: -1;
}
.clinicinfo-wrap {
    max-width: 1200px;
    margin: 0 auto 15px;
}

.clinicinfo-inner {
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 60px;
}

.schedule-top-box {
  background: #fff;
  padding: 20px;
  width: 45%;
  position: relative;
}
/* boxの影 (filterプロパティ未対応のブラウザ) */
.schedule-top-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px; /* filterが効かない場合黒い影をつける */
  z-index: -1;
}
/* boxの影 (filterプロパティ対応済のブラウザ) */
@supports (-webkit-filter: blur(20px)) {
  .schedule-top-box::before {
    background-image: linear-gradient(135deg, #f3e9fe 0, #d1fee8 50%, #d9e6ff 100%);
    -webkit-filter: blur(10px);
    filter: blur(10px);
    transform: translateY(10px);
    box-shadow: none;
  }
}

.schedule-img-pc {
    width: 80%;
    margin: 0 auto 20px;
}
.schedule-img-sp {
    display: none;
}

/* SP用 */
@media (max-width: 768px) {
  .clinicinfo-inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .schedule-top-box {
    width: 100%;
  }
  .schedule-img-pc {
    display: none;
  }
  .schedule-img-sp {
    display: block;
    width: 100%;
    margin: 0 auto 20px;
}
}

/* .clinic-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #fff;
    padding: 40px;
}
@media (max-width: 480px) {
    .clinic-wrap {
        padding: 30px 15px;
    }
}
.home .clinic-info {
    width: 350px;
}

.clinic-schedule {
    width: calc(100% - 370px);
}

.schedule-title {
    background: var(--main-color02);
    text-align: center;
    font-weight: bold;
    color: #fff;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .clinic-info {
        width: 100%;
    }
    .clinic-schedule {
        width: 100%;
    }
} */

.access-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}


.pdf-name-box {
    border: 1px solid rgb(204, 204, 204);
    display: inline-block;
    padding: 15px 55px 15px 10px;
}

.pdf-img {
    width: 30px;
    height: 30px;
}

.pdf-name {
    color: #5b5b5b;
}


/*　背景色枠　*/
.well {
  padding: 7px 20px 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
.well blockquote {
  border-color: #ddd;
  border-color: rgba(0, 0, 0, 0.15);
}
.well .lead {
  font-size: 20px;
  margin-bottom: 0 !important;
  margin-left: 17px;
  position: relative;
  font-weight: bold;
  padding-left: 5px;
}
.well .lead::before {
  content: "";
  width: 10px;
  height: 10px;
  left: -16px;
  top: 15px;
  z-index: 1;
  position: absolute;
  border-radius: 10px;
}
.well_blue {
  background-color: #d6f1fe !important;
  border: 1px solid #54baeb !important;
}
.well_blue .lead::before {
  background: #54baeb;
}
.well_pink {
  background-color: #f7d9de !important;
  border: 1px solid #feafbd !important;
}
.well_pink .lead::before {
  background: #feafbd;
}
@media (max-width: 768px) {
    .well .lead {
        font-size: 16px;
    }
}
/*　リンクボタン　*/
.btn_detail {
  border-radius: 20px !important;
  -moz-border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  color: #FFFFFF !important;
  background-color: #101B4D;
  border: 3px solid #100964;
  text-decoration: none !important;
  margin-bottom: 30px;
  padding: 6px 10px 8px 20px;
  text-decoration: none !important;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  position: relative;
}
@media only screen and (max-width: 768px) {
  .btn_detail {
    font-size: 13px !important;
    width: 100%;
    text-align: center;
    padding: 8px 10px 8px 10px;
    letter-spacing: -1px;
    margin: 20px auto;
    display: block;
  }
}
.btn_detail:hover {
  background-color: #FFFFFF;
  border: 2px solid #101B4D;
  color: #101B4D !important;
  text-decoration: none;
}

@media only screen and (max-width: 768px) {
  #access .btn_detail {
    width: auto !important;
  }
}
.ta_right {
    text-align: right;
}
.mtb_10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

/*　access住所　*/
@media (max-width: 768px) {
    .access_adress dt {
        width: 30%;
    }
    .access_adress dd {
        width: 65%;
    }
}

/*　Q&A枠　*/
.panel-info {
    border-color: #bce8f1!important;
}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-info > .panel-heading {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.fw_bold {
    font-weight: bold !important;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.panel-body {
    padding: 15px;
}

/*　Q&A画像　*/
.mammo_box {
    display: flex;
    justify-content: center;
    gap: 60px;
}
.mammo_box div.img {
    width: 45%;
}

/*　アンカーリンクずれ調整　*/
html {
    scroll-padding-top: 100px;
}

.link_box {
    display: flex;
    gap: 30px;
}

@media(max-width:767px) {
    .link_box {
        flex-wrap: wrap;
        gap: 20px;
    }
}

.medical-notice-list {
  list-style: none;
  padding-left: 1em;
  text-indent: -1em;
}

.flex-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

.flex-list li {
    width: 47%;
}

@media(max-width: 767px) {
    .flex-list li {
        width: 100%;
    }
}

.medical-check-box {
    color: #101B4D;
    background-color: #cceeff;
    border: 1px solid #8fd8fc;
    padding: 20px;
    font-size: 18px;
    border-radius: 20px;
}
.medical-check-box p.text01 {
    margin-bottom: 20px;
}