@charset "utf-8";

/*----------------------------------------------------------
/* スタイル定義
/* last/2023.6.14
-----------------------------------------------------------*/
/*リセット系*/
.page p:empty,
.archive p:empty,
.blog p:empty {
  display: none;
}

img,
.page img,
.archive img,
.blog img,
.single img {
  max-width: 100%;
}

.page ul,
.archive ul,
.blog ul,
.singe ul {
  margin: 0;
}

a.tel-link {
  color: #38B14B;
}

@media screen and (max-width: 767px) {
  a.tel-link {
    text-decoration: underline;
  }
}

@media print,
(min-width: 768px) {
  a.tel-link {
    pointer-events: none;
  }
}

/*------------------------------
| 固定ページ共通スタイル
------------------------------*/
/*   レイアウト   */
.page-wrapper {
  padding-top: 65px;
  position: relative;
  border-bottom: solid 1px #52CC65;
}

.page-inner {
  max-width: 1110px;
  margin: 0 auto 160px auto;
  padding: 0 15px;
}

.page-inner>div {
  margin: 100px 0;
}

.page-inner>div.page-section {
  margin-top: -120px;
  padding-top: 120px;
}

.page-section>div {
  margin: 80px 0;
}

.page-section>div:first-of-type {
  margin-top: 48px;
}

.page-section-inner>div {
  margin: 60px auto;
}

.page-section-inner>div:nth-child(2) {
  margin-top: 40px;
}

.page p {
  margin: 10px 0 30px 0;
  line-height: 1.6;
  letter-spacing: 0.02rem;
}

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

.pc-max-1080 {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 767px) {
  .common-md-flex>div {
    width: 100%;
  }

  .common-md-flex>div:nth-child(n+2) {
    margin: 20px 0 0 0;
  }
}

@media screen and (max-width: 1365px) {
  .page-inner {
    margin: 0 auto 300px auto;
  }
}

@media print,
(min-width: 768px) {
  .page-wrapper {
    padding-top: 117px;
  }

  .page-inner>div {
    margin: 120px 0;
  }

  .page-inner>div.page-section {
    margin-top: -140px;
    padding-top: 140px;
  }

  .page-section>div:first-of-type {
    margin-top: 60px;
  }

  .common-md-flex .text-box {
    margin-top: 0;
    width: 70%;
  }

  .common-md-flex div.img-box {
    margin: 0;
    width: 26%;
  }
}

@media screen and (min-width: 1367px) {
  .page-inner {
    max-width: 1230px;
  }
}

/*   葉っぱ調整   */
.page-wrapper {
  background-image: url(./images/common/bg_page-leaf-top.png), url(./images/common/bg_page-leaf-bottom.png);
  background-position: 0% 140px, 100% 98%;
  background-repeat: no-repeat;
  /*
  background-image: url(./images/common/bg_page-leaf-top.png),url(./images/common/bg_page-leaf-bottom.png),url(./images/common/bg_page-leaf-middle.png),url(./images/common/bg_page-leaf-bottom.png);
  background-position: 0% 0%,100% 35%,0% 65%,100% 100%;
  background-repeat: no-repeat,no-repeat,no-repeat,no-repeat;
  */
}

main {
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 768px) {

  .page-wrapper,
  .contact-wrapper main {
    background-size: 38vw, 45vw;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1365px) {

  .page-wrapper,
  .contact-wrapper main {
    background-size: 18%, 18%;
  }
}

@media screen and (max-width: 1365px) {

  .page-wrapper,
  .contact-wrapper main {
    background-position: 0% 30px, 100% 99.8%;
    /*background-size: 200px, 240px;*/
  }
}

@media print,
(min-width: 1366px) {

  .page-wrapper,
  .contact-wrapper main {
    background-size: 18%, 18%;
  }
}

@media screen and (min-width: 1200px) {
  main::before {
    content: "";
    display: block;
    width: 240px;
    height: 560px;
    position: absolute;
    top: 35%;
    left: calc(1080px + (50vw - 540px));
    background: url(./images/common/bg_page-leaf-bottom.png) no-repeat left top/contain;
  }

  main::after {
    content: "";
    display: block;
    width: 240px;
    height: 640px;
    position: absolute;
    top: 65%;
    right: calc(1080px + (50vw - 540px));
    background: url(./images/common/bg_page-leaf-middle.png) no-repeat right top/contain;
  }
}

.contact-wrapper {
  background: none;
}

.contact-wrapper main {
  background-image: url(./images/common/bg_page-leaf-top.png), url(./images/common/bg_page-leaf-bottom.png);
  background-position: 0% 280px, 100% 95%;
  background-repeat: no-repeat;
}

.contact-wrapper main::before,
.contact-wrapper main::after,
.page-sitemap main::before,
.page-sitemap main::after,
.page-snspolicy main::before,
.page-snspolicy main::after,
.page-privacy main::before,
.page-privacy main::after {
  content: none;
}

/*-校正中処置-*/
.page-grouphome .page-wrapper,
.page-recruit .page-wrapper {
  background: none;
}

.page-grouphome main::before,
.page-grouphome main::after,
.page-recruit main::before,
.page-recruit main::after {
  content: none;
}

@media screen and (min-width: 1367px) {
  main::before {
    width: 300px;
    height: 520px;
    left: calc(1260px + (50vw - 600px));
  }

  main::after {
    width: 300px;
    height: 600px;
    right: calc(1260px + (50vw - 600px));
  }
}

/*   ページタイトル   */
.page-title {
  position: relative;
  padding: 60px 0 0 0;
  margin-bottom: 100px;
  /*margin: 0 calc(50% - 50vw);
  padding: 60px calc(50vw - 50%) 0 calc(50vw - 50%);*/
}

.page-title::before {
  content: "";
  display: block;
  width: 100%;
  height: 120px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: url(./images/common/bg_page-title.jpg) no-repeat center center/cover;
}

.page-title img {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 20px auto;
}

.page-title span {
  display: block;
  font-size: 3.2rem;
  font-weight: bold;
  text-align: center;
}

@media print,
(min-width: 768px) {
  .page-title {
    /*padding: 120px calc(50vw - 50%) 0 calc(50vw - 50%);*/
    padding: 120px 0 0 0;
    margin-bottom: 120px;
  }

  .page-title::before {
    height: 180px;
  }

  .page-title span {
    font-size: 4rem;
  }
}

/*------------------------------
| ページ内index
------------------------------*/
.page-index {
  position: fixed;
  top: 80px;
  right: 0;
  display: flex;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  transition: .3s all ease-in-out;
}

.page-index-list {
  min-width: 260px;
}

.page-index-list ul {
  margin: 0;
}

.page-index-list li a {
  position: relative;
  display: block;
  padding: 15px;
  background: #F1FAFF;
  font-weight: bold;
  font-size: 1.6rem;
}

.page-index-list li a::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  right: 15px;
  border-top: 1px solid #1a1a1a;
  border-right: 1px solid #1a1a1a;
  transform: translateY(-50%) rotate(45deg);
}

.page-index-list li:nth-child(n+2) a {
  border-top: 1px solid #ccc;
}

.page-index-tab {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  color: #fff;
  font-size: 1.1rem;
  background: #00B4ED;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  cursor: pointer;
}

.page-index-tab img {
  display: block;
  width: 30px;
  height: auto;
  margin: 0 auto;
}

.page-index-tab>div:last-child {
  position: relative;
  transition: .3s all ease-in-out;
}

@media screen and (min-width: 768px) {
  .page-index {
    top: 140px;
  }
}

@media screen and (max-width: 1199px) {
  .page-index {
    align-items: flex-start;
  }

  .page-index-tab,
  .page-index-list {
    box-shadow: 0px 3px 6px #00000029;
  }

  .page-index-tab>div:last-child {
    display: none;
  }
}

@media print,
(min-width: 1200px) {
  .page-index {
    box-shadow: 0px 3px 6px #00000029;
  }

  .page-index-tab>div:last-child::before {
    content: "閉じる";
    display: block;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 1rem;
  }

  .page-index-tab.switch>div:last-child::before {
    content: "開く";
  }

  .page-index-tab.switch>div:last-child img {
    rotate: 180deg;
  }
}

/*---タブ開閉---*/
@media print,
(max-width: 1199px) {
  .page-index {
    transform: translateX(calc(100% - 38px));
  }

  .page-index.switch {
    transform: translateX(0);
  }
}

@media screen and (min-width: 1200px) {
  .page-index.switch {
    transform: translateX(calc(100% - 38px));
  }
}

/*------------------------------
| 画像共通
------------------------------*/
.page .img-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0;
}

.page .img-block>div {
  width: 100%;
  max-width: 600px;
}

.img-box {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .page .img-block>div:nth-of-type(n+2) {
    margin-top: 20px;
  }
}

@media print,
(min-width: 768px) {
  .page .img-block {
    margin: 60px 0;
  }

  .page .img-block>div {
    margin: 0 20px;
  }

}

/*------------------------------
| ボタン共通
------------------------------*/
.page .button-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0;
}

.page .button-box::before,
.page .button-box::after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
}

.page .button-box::before {
  order: 1;
}

.page .button-box>div {
  width: 100%;
  margin-bottom: 20px;
}

.page .button-box>div a,
.common-button {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1.8rem;
  transition: .2s all ease;
  background: #fdfdfd;
}

.page .button-box>div a img,
.common-button img {
  padding: 0 10px 0 0;
}

.page .button-box>div a::before,
.common-button::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: #52CC65;
  border-radius: 50%;
}

.page .button-box>div a::after,
.common-button::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  right: 24px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.page .button-box>div a:hover,
.common-button:hover {
  background: #E6F9E6;
  color: #1a1a1a;
}

.page .button-box>div a:hover img,
.common-button:hover img {
  opacity: 1;
}

@media print,
(min-width: 768px) {
  .page .button-box>div {
    width: 32%;
  }

  .page .button-box>div a,
  .common-button {
    padding: 20px;
  }

  .page .button-box::before,
  .page .button-box::after {
    width: 32%;
  }
}

/*---院長コラムへのリンク---*/
.page .button-box.to-column {
  justify-content: center;
  margin: 60px 0;
}

.page .button-box.to-column::before,
.page .button-box.to-column::after {
  content: none;
}

.page .button-box.to-column>div {
  width: 100%;
  max-width: 600px;
}

.page .button-box.to-column>div a {
  border: 2px solid #52CC65;
}

.page .button-box.to-column>div a:hover {
  color: #38B14B;
  font-weight: bold;
}

@media print,
(min-width: 768px) {
  .page .button-box.to-column {
    margin: 80px 0;
  }

  .page .button-box.to-column>div {
    margin: 0 20px;
  }
}

/*------------------------------
| テキスト共通
------------------------------*/
.page h3 span {
  padding-left: 10px;
  font-size: 1.6rem;
}

@media print,
(min-width: 768px) {
  .page h3 span {
    font-size: 2rem;
  }
}

.page-md-maru {
  position: relative;
  padding: 0 0 0 1.2em;
  margin: 0 0 10px 0;
  font-weight: bold;
  font-size: 1.8rem;
}

.page-md-maru::before {
  content: "●";
  display: inline-block;
  position: absolute;
  top: 2.2px;
  left: 0;
  font-size: 1.6rem;
  color: #52cc65;
}

a.external-link {
  position: relative;
  display: inline-block;
  padding: 0 0 0 24px;
  color: #00B4ED;
  text-decoration: underline;
}

a.external-link::before {
  content: url(./images/about/icon_external-link.svg);
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
}

p.caution {
  margin: 30px 0;
  padding: 0 0 0 1.1em;
  position: relative;
}

p.caution::before {
  content: "※";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

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

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

.text-important {
  font-weight: bold;
  color: #DE1010;
}

.text-marker {
  background: linear-gradient(180deg, transparent 0 60%, #FEFE76 60% 100%);
}

a.text-link {
  text-decoration: underline;
  font-weight: bold;
  color: #38B14B;
}

/*------------------------------
| テーブル共通
------------------------------*/
.common-table {
  width: 100%;
}

.common-table th,
.common-table td {
  padding: 15px;
  border: 1px solid #ccc;
  text-align: center;
  background: #fdfdfd;
}

/* 外来担当医表用 2023.4.1～ */
.seishinka.pm th,
.seishinka.pm td {
  border-top: double 4px #ccc;
}

.common-table th {
  background: #E6F9E6;
}

@media screen and (max-width: 767px) {
  .table-wrap {
    overflow-x: auto;
  }

  .common-table {
    width: 780px;
  }
}

@media print,
(min-width: 768px) {

  .common-table th,
  .common-table td {
    padding: 20px;
  }
}

/*------------------------------
| リスト共通
------------------------------*/
/*---丸付きリスト---*/
.common-list li {
  position: relative;
  padding: 0 0 0 1.2em;
  margin: 0 0 10px 0;
}

.common-list li::before {
  content: "●";
  display: inline-block;
  position: absolute;
  top: 2.2px;
  left: 0;
  font-size: 1.6rem;
  color: #52cc65;
}

.common-list li:last-child {
  margin: 0;
}

/*---数字付きリスト---*/
ol {
  counter-reset: ol-num;
}

ol li {
  position: relative;
  margin: 0 0 10px 0;
  padding: 0 0 0 32px;
}

ol li::before {
  counter-increment: ol-num;
  content: counter(ol-num);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 3px;
  left: 0;
  color: #fff;
  font-size: 1.6rem;
  background: #52cc65;
  border-radius: 50%;
}

@media screen and (max-width: 767px) {
  ol li {
    padding: 0 0 0 28px;
  }

  ol li::before {
    width: 22px;
    height: 22px;
  }
}

/*---テーブル風リスト---*/
.common-dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid #ccc;
}

.common-dl dt,
.common-dl dd {
  width: 100%;
  padding: 15px;
  margin: 0;
  border-bottom: 1px solid #ccc;
}

.common-dl dt {
  background: #E6F9E6;
}

.common-dl dt span {
  font-size: 90%;
}

.common-dl dd {
  background: #fdfdfd;
  word-break: break-all;
}

@media print,
(min-width: 768px) {

  .common-dl dt,
  .common-dl dd {
    padding: 20px 30px;
  }

  .common-dl dt {
    width: 25%;
  }

  .common-dl dd {
    width: 75%;
  }
}

/*---説明リスト---*/
.description-list {
  margin: 0 0 30px 0;
}

.description-list dt {
  display: inline-block;
  padding: 4px 20px;
  min-width: 140px;
  text-align: center;
  color: #fff;
  background: #52CC65;
}

.description-list dd {
  margin: 0 0 30px 0;
  font-weight: bold;
}

.description-list dd:last-child {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .description-list dt {
    margin: 0 0 8px 0;
  }
}

@media print,
(min-width: 768px) {
  .description-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .description-list dd {
    width: calc(100% - 160px);
  }
}

/*------------------------------
| 説明用BOX
------------------------------*/
.comment-box {
  margin: 30px 0;
  padding: 15px;
  border: 1px solid #52CC65;
  background: #fdfdfd;
}

.comment-box p {
  margin: 0 0 10px 0;
}

.comment-box-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #38B14B;
}

@media print,
(min-width: 768px) {
  .comment-box {
    margin: 40px 0;
    padding: 30px;
  }

  .comment-box-title {
    font-size: 2rem;
  }
}

/*------------------------------
| FAQ
------------------------------*/
.page .faq-list {
  margin: 40px 0;
}

.faq-list li {
  position: relative;
  padding: 15px;
  border: 2px solid #52CC65;
  border-radius: 10px;
  background: #fdfdfd;
}

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

.faq-list p.faq-title {
  margin: 0 0 10px 0;
  padding-left: 32px;
  font-weight: bold;
  font-size: 2rem;
  color: #38B14B;
}

.faq-title span {
  position: absolute;
  top: 10px;
  left: -6px;
  display: inline-block;
  padding: 2px 15px 6px 15px;
  background: #52cc65;
  color: #fff;
}

.faq-title span::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  bottom: -6px;
  left: 0;
  border-right: 6px solid #2EAC41;
  border-left: 0;
  border-top: 0;
  border-bottom: 6px solid transparent;
}

.faq-list p:nth-of-type(2) {
  margin: 0;
  padding: 10px 0 0 0;
  border-top: 1px solid #52CC65;
}

@media print,
(min-width: 768px) {
  .faq-list li {
    padding: 30px;
  }

  .faq-list p.faq-title {
    padding-left: 40px;
    font-size: 2.4rem;
  }

  .faq-title span {
    top: 20px;
    padding: 2px 20px 6px 20px;
  }

  .faq-list p:nth-of-type(2) {
    padding: 20px 0 0 40px;
  }
}

/*------------------------------
| お問い合わせブロック
------------------------------*/
.page .contact-block {
  padding: 30px 20px;
  margin: 40px auto;
  max-width: 1080px;
  text-align: center;
  border-radius: 10px;
  background: #EFFBD3;
}

.contact-block p {
  margin: 0;
}

.contact-block>p:last-of-type:not([class]) {
  margin-top: 20px;
}

.contact-block .purpose {
  margin: 0 0 20px 0;
  font-size: 2rem;
}

.contact-block .name {
  margin: 0 0 10px 0;
  font-weight: bold;
  color: #38B14B;
}

.contact-block>div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 8px 0;
  color: #38B14B;
  font-weight: bold;
}

.contact-block>div.time {
  align-items: flex-start;
  color: #1a1a1a;
  font-weight: normal;
}

.contact-block>div.time p {
  text-align: left;
}

.contact-block>div>p {
  margin: 0 10px;
}

.contact-block>div.no-fax>p {
  margin: 0;
}

.contact-block .tel-num {
  font-size: 2.8rem;
}

.contact-block div span:not([class]) {
  font-weight: normal;
}

.contact-block .notes {
  margin: 0 0 20px 0;
  font-size: 1.4rem;
  color: #38B14B;
}

@media print,
(min-width: 768px) {
  .contact-block .notes {
    font-size: 1.6rem;
  }
}

/*------------------------------
| カバー画像
------------------------------*/
.page .cover-area {
  display: block !important;
  width: 100%;
  height: 380px;
}

.cover-area.outpatient {
  background-image: url(./images/outpatient/gairai-top.jpg);
}

.cover-area.seishinka-daycare {
  background-image: url(./images/daycare/seishinka-daycare-top.jpg);
}

.cover-area.ninchisho-daycare {
  background-image: url(./images/daycare/ninchisho-daycare-top-s.jpg);
}

@media screen and (max-width: 767px) {
  .page .cover-area {
    display: block !important;
    width: 100vw;
    height: 250px;
    margin: 40px calc(50% - 50vw);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
}

@media print,
(min-width: 768px) {
  .page .cover-area {
    border-radius: 10px;
    overflow: hidden;
  }
}

/*------------------------------
| 当院の概要
------------------------------*/
/*---ページ切替タブ---*/
.page-tab-box {
  margin-top: 60px;
}

.page-tab-list li a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  font-weight: bold;
  font-size: 2.4rem;
  color: #52CC65;
  background: #fdfdfd;
  border: 2px solid #52CC65;
}

.page-tab-list li.current a {
  background: #52CC65;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .page-tab-list li:nth-child(n+2) {
    margin-top: 20px;
  }
}

@media print,
(min-width: 768px) {
  .page-tab-box {
    margin-top: 80px;
  }

  .page-tab-list {
    display: flex;
    justify-content: center;
  }

  .page-tab-list li {
    width: 48%;
    max-width: 300px;
    margin: 0 1%;
  }
}

/*---院長からのご挨拶---*/
#greeting .greeting-message,
#grouphome .greeting-message {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.greeting-name {
  text-align: right;
}

.greeting-name>span {
  position: relative;
  display: inline-block;
}

.greeting-name>span::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: -70px;
  background: #1a1a1a;
}

.greeting-name span span {
  padding: 0 0 0 1em;
  font-weight: bold;
}

/*---私たちの思い---*/
.mind-message {
  position: relative;
  padding: 60px 15px 30px 15px;
  background: #FFFAEB;
  font-size: 1.8rem;
  line-height: 1.6;
}

.mind-title {
  margin: 0 0 40px 0;
  text-align: center;
}

.mind-message p:last-child {
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  #mind .mind-message {
    margin: 48px calc(50% - 50vw) 0;
  }

  .mind-message p:last-child {
    text-align: right;
  }
}

@media print,
(min-width: 768px) {
  .mind-message {
    padding: 60px 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 2rem;
    line-height: 1.9;
  }
}

@media screen and (min-width: 1200px) {
  .mind-message::before {
    content: url(./images/about/leaf-r.png);
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }

  .mind-message::after {
    content: url(./images/about/leaf-l.png);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

/*---病院理念---*/
.hp-philosophy {
  font-weight: bold;
  font-size: 1.8rem;
}

.policy-list li {
  font-weight: bold;
}

@media print,
(min-width: 768px) {
  .hp-philosophy {
    font-size: 2rem;
  }
}

/*---病院理念---*/
.hp-summary .hp-address span {
  display: block;
  margin: 15px 0;
  color: #38B14B;
  font-size: 1.6rem;
}

.hp-summary .hp-address span a {
  font-weight: bold;
  font-size: 2.4rem;
  color: #38B14B;
}

/*---認知症の地域活動---*/
.activity-team-list li span {
  display: block;
  padding-top: 4px;
  font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
  .activity-team-list li:nth-child(n+2) {
    margin-top: 20px;
  }
}

@media print,
(min-width: 768px) {
  .activity-team-list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .activity-team-list::before,
  .activity-team-list::after {
    content: "";
    display: block;
    width: 32%;
    height: 0;
  }

  .activity-team-list::before {
    order: 1;
  }

  .activity-team-list li {
    width: 32%;
  }

  .activity-team-list li:nth-child(n+4) {
    margin-top: 40px;
  }
}

/*------------------------------
| 部門紹介
------------------------------*/
.page .doctor-photo-box>div,
.page .byoutou-photo-box>div {
  max-width: 480px;
}

.department-img-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.department-img-box li {
  width: 100%;
}

.byoutou-info {
  padding: 30px 15px;
  background: #EFFBD3;
}

.byoutou-info>div:nth-of-type(n+2) {
  margin-top: 60px;
}

@media screen and (max-width: 767px) {
  .department-img-box li:nth-child(n+2) {
    margin-top: 20px;
  }

  .department-img-box.img-triple {
    justify-content: space-between;
  }

  .department-img-box.img-triple li:nth-child(n+2) {
    width: 49%;
  }

  .page-section-inner .byoutou-info {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@media print,
(min-width: 768px) {
  .department-img-box li {
    width: 32%;
    margin: 0 1%;
  }

  .department-img-box.img-triple li:first-child {
    margin-left: 0;
  }

  .department-img-box.img-triple li:last-child {
    margin-right: 0;
  }

  .byoutou-info {
    padding: 30px;
  }
}

/*---老年精神科---*/
.magokoro-list span,
.program-list span {
  font-weight: bold;
}

.magokoro-list p,
.program-list p {
  margin-bottom: 20px;
}

/*---リハビリ科---*/
.nikoyaka-img-box {
  justify-content: space-between;
  position: relative;
}

.nikoyaka-img-box::before,
.nikoyaka-img-box::after {
  content: "";
  display: block;
  width: 32%;
}

.nikoyaka-img-box::before {
  order: 1;
}

.nikoyaka-img-box li {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .nikoyaka-img-box li:nth-child(n+2) {
    margin-top: 20px;
  }
}

@media print,
(min-width: 768px) {
  .nikoyaka-img-box li:nth-child(n+4) {
    margin-top: 20px;
  }
}

/*---地域連携室---*/
.common-md-flex.renkeishitsu-info {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/*------------------------------
| 外来
------------------------------*/

/*---初診・再診---*/
.gairai-inner h3 {
  position: relative;
  margin: 0 0 30px 0;
  padding: 0 0 0 46px;
  font-size: 2rem;
  border: none;
}

.gairai-inner h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  position: absolute;
  top: -2px;
  left: 0;
}

.syoshin .gairai-inner h3::before {
  background: url(./images/outpatient/icon_check-y.svg) no-repeat center center/contain;
}

.saishin .gairai-inner h3::before {
  background: url(./images/outpatient/icon_check-g.svg) no-repeat center center/contain;
}

.syoshin .contact-block {
  background: #FFFAEB;
}

.gairai-tag {
  display: inline-block;
  margin: 0 16px 0 0;
  padding: 0 10px;
  font-weight: normal;
  font-size: 1.6rem;
}

.syoshin .gairai-tag {
  background: #E3D835;
}

.saishin .gairai-tag {
  background: #52CC65;
  color: #fff;
}

.gairai-inner .common-list {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media print,
(min-width: 768px) {
  .gairai-inner h3 {
    margin: 0 0 40px 0;
    font-size: 2.4rem;
  }
}

/*---外来診療担当医---*/
table tr.seishinka th {
  background: #FFFAEB;
}

table tr.rounen-seishinka th {
  background: #FFF7F1;
}

.table-block span {
  display: block;
  margin: 0 0 10px 0;
  text-align: right;
}

/*------------------------------
| 入院
------------------------------*/
/*---入院相談の流れ---*/
.flow-list li {
  position: relative;
  padding: 15px;
  border: 2px solid #52CC65;
  border-radius: 10px;
}

.flow-list li:nth-child(n+2) {
  margin-top: 60px;
}

.flow-list li::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-right: 30px solid transparent;
  border-left: 30px solid transparent;
  border-top: 20px solid #38B14B;
  border-bottom: 0;
}

.flow-list li.flow-end::before {
  content: none;
}

.flow-list p {
  margin: 0;
}

.flow-list .flow-title {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.8rem;
  color: #38B14B;
}

.flow-list li p:nth-child(2) {
  padding: 20px 0 0 0;
  border-top: 1px solid #52CC65;
}

.flow-flex {
  margin-top: 60px;
}

.flow-cont h4 {
  margin: 40px 0 10px 0;
  padding: 0;
  font-size: 2rem;
  color: #EE8E12;
  border: none;
}

.flow-list.reha-flow li,
.flow-list.reha-flow li p:nth-child(2) {
  border-color: #00B4ED;
}

.flow-list.reha-flow .flow-title,
.flow-cont .flow-flex h4 {
  color: #00B4ED;
}

.flow-list.reha-flow li::before {
  border-top: 20px solid #00B4ED;
}


@media screen and (max-width: 767px) {

  .flow-list li,
  .flow-list li p:nth-child(2) {
    border-color: #EE8E12;
  }

  .flow-list .flow-title {
    color: #EE8E12;
  }

  .flow-list li::before {
    border-top: 20px solid #EE8E12;
  }
}

@media print,
(min-width: 768px) {
  .flow-list li {
    padding: 24px;
  }

  .flow-list .flow-title {
    font-size: 2.2rem;
  }

  .flow-cont h4 {
    display: none;
  }

  .seishin-flow li,
  .seishin-flow li p:nth-child(2) {
    border-color: #EE8E12;
  }

  .seishin-flow li::before {
    border-top: 20px solid #EE8E12;
  }

  .seishin-flow .flow-title {
    color: #EE8E12;
  }

  .seishin-flow li:first-child::after {
    content: "精神療養・認知症治療病棟";
    display: block;
    position: absolute;
    top: -2em;
    left: 0;
    font-size: 1.8rem;
    font-weight: bold;
    color: #EE8E12;
  }

  .reha-flow li:nth-child(3)::after {
    content: "回復期リハビリテーション病棟";
    display: block;
    position: absolute;
    top: -2em;
    left: 0;
    font-size: 1.8rem;
    font-weight: bold;
    color: #00B4ED;
  }

  .flow-list.reha-flow li:nth-child(-n+2) {
    display: none;
  }

  .flow-list.reha-flow li:nth-child(3) {
    margin-top: 0;
  }

  .flow-list.reha-flow li:nth-child(n+4) {
    display: flex;
    align-items: center;
  }

  .flow-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
  }

  .flow-flex>ul {
    width: 49%;
  }
}

/*---必要なもの---*/
div.nyuin-box {
  margin-bottom: 40px;
}

@media print,
(min-width: 768px) {
  .nyuin-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
  }

  .nyuin-list::before,
  .nyuin-list::after {
    content: "";
    display: block;
    width: 48%;
  }

  .nyuin-list::before {
    order: 1;
  }

  .nyuin-list li {
    width: 48%;
  }
}

@media screen and (min-width: 1200px) {

  .nyuin-list li,
  .nyuin-list::before,
  .nyuin-list::after {
    width: 24%;
  }
}

.sentaku-caution {
  display: block;
  margin-bottom: 8px;
}

.menkai dt {
  font-size: 2rem;
  background: #F2A541;
}

.menkai dd span {
  font-size: 2rem;
}

@media print,
(min-width: 768px) {

  .menkai dt,
  .menkai dd span {
    font-size: 2.4rem;
  }
}

/*------------------------------
| デイケア
------------------------------*/
/*---精神科デイケア---*/
.daycare-info {
  margin: 60px 0;
}

.daycare-info dt {
  background: #52CC65;
  color: #fff;
  border-color: #fff;
}

.daycare-info,
.daycare-info dd {
  border-color: #52CC65;
}

@media print,
(min-width: 768px) {
  .daycare-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .daycare-list li {
    width: 49%;
  }
}

/*---利用料金---*/
.daycare-price tr:nth-of-type(-n+2) th {
  padding: 10px 15px;
}

.long th,
.daycare-price tr:nth-of-type(odd).long td {
  background: #FFFAEB;
}

.short th,
.seishinka-daycare-price tr:nth-of-type(odd).short td {
  background: #FFF7F1;
}

.seishinka-daycare-price tr:nth-of-type(3) th:nth-child(2),
.seishinka-daycare-price tr:nth-of-type(4) th:first-child,
.seishinka-daycare-price tr:nth-of-type(5) th:nth-child(2),
.seishinka-daycare-price tr:nth-of-type(6) th:first-child {
  font-weight: normal;
}

@media print,
(min-width: 768px) {
  .daycare-price tr:nth-of-type(-n+2) th {
    padding: 10px 20px;
  }
}

/*---タイムスケジュール---*/
.time-schedule {
  border: none;
}

.time-schedule dt {
  width: 24%;
  background: #52CC65;
  color: #fff;
  text-align: center;
  border-color: #fff;
}

.time-schedule dd {
  width: 76%;
  background: #E6F9E6;
  border-color: #fff;
  font-weight: bold;
}

@media screen and (max-width: 767px) {

  .time-schedule dt,
  .time-schedule dd {
    padding: 15px 10px;
  }
}

/*---活動プログラム---*/
.daycare-program tr th:first-child {
  width: 15%;
  text-align: left;
  font-weight: normal;
}

.daycare-program tr:nth-of-type(n+2) th:first-child {
  background: #FFFAEB;
}

.daycare-program tr th:nth-child(n+2),
.daycare-program tr td:nth-child(n+2) {
  width: 17%;
}

.daycare-program span {
  display: block;
  text-align: center;
  font-size: 1.4rem;
}

.program-list li p.text-box {
  margin-bottom: 0;
}

/*---デイサービスとの違い---*/
.daycare-hikaku>div {
  position: relative;
  padding: 60px 15px 15px 15px;
  border: 1px solid #52CC65;
  background: #fdfdfd;
}

.daycare-hikaku h4 {
  display: inline-block;
  padding: 10px 20px;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  color: #fff;
  font-size: 2rem;
  background: #52CC65;
  border-bottom-right-radius: 10px;
}

.daycare-hikaku>div p:first-of-type {
  font-weight: bold;
  font-size: 1.8rem;
}

.daycare-hikaku>div p:last-of-type {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .daycare-hikaku>div:nth-of-type(n+2) {
    margin-top: 30px;
  }
}

@media print,
(min-width: 768px) {
  .daycare-hikaku {
    display: flex;
    justify-content: space-between;
  }

  .daycare-hikaku>div {
    width: 48%;
    padding: 70px 30px 30px 30px;
  }

  .daycare-hikaku h4 {
    font-size: 2.4rem;
  }

  .daycare-hikaku>div p:first-of-type {
    font-size: 2rem;
  }
}

/*---当院デイケアの特徴---*/
.daycare-features-list li {
  margin-bottom: 20px;
}

.daycare-features-list li span {
  font-weight: bold;
  font-size: 1.8rem;
}

.daycare-features-list div p {
  margin: 10px 0;
}

@media print,
(min-width: 768px) {
  .daycare-features-list li span {
    font-size: 2rem;
  }
}

/*---合同行事---*/
.daycare-event-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

.daycare-event-list::before,
.daycare-event-list::after {
  content: "";
  display: block;
  width: 48%;
}

.daycare-event-list::before {
  order: 1;
}

.daycare-event-list li {
  position: relative;
  width: 48%;
  padding: 30px 20px;
  border-radius: 10px;
}

.daycare-event-list li:nth-child(odd) {
  background: #FFF7F1;
}

.daycare-event-list li:nth-child(even) {
  background: #FFFAEB;
}

.daycare-event-list li p {
  margin: 0;
}

.daycare-event-list li div {
  margin: 20px 0;
}

.event-title {
  padding-left: 60px;
  font-weight: bold;
  font-size: 2rem;
}

.daycare-event-list li span {
  position: absolute;
  top: 16px;
  left: -6px;
  display: inline-block;
  padding: 6px 12px;
  color: #fff;
  font-weight: bold;
  font-size: 2rem;
}

.daycare-event-list li:nth-child(odd) span {
  background: #F25A81;
}

.daycare-event-list li:nth-child(even) span {
  background: #F2A541;
}

.daycare-event-list li span::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  bottom: -6px;
  left: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 6px solid transparent;
}

.daycare-event-list li:nth-child(odd) span::before {
  border-right: 6px solid #D6486C;
}

.daycare-event-list li:nth-child(even) span::before {
  border-right: 6px solid #D48F36;
}

@media screen and (max-width: 767px) {
  .daycare-event-list li {
    width: 100%;
    padding: 20px 15px;
    margin-top: 40px;
  }
}

@media print,
(min-width: 768px) {
  .event-title {
    font-size: 2.4rem;
  }

  .daycare-event-list li span {
    top: 20px;
    font-size: 2.4rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .daycare-event-list li:nth-child(n+3) {
    margin-top: 40px;
  }
}

@media screen and (min-width: 1200px) {
  .daycare-event-list li {
    width: 32%;
  }

  .daycare-event-list li:nth-child(n+4) {
    margin-top: 40px;
  }
}

/*------------------------------
| アクセス
------------------------------*/
@media screen and (max-width: 767px) {
  .access-block>div:nth-of-type(n+2) {
    margin-top: 40px;
  }
}

@media print,
(min-width: 768px) {
  .access-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .access-block>div {
    width: 48%;
  }
}

/*---乗換案内---*/
.transit-list li {
  max-width: 480px;
}

.transit-list li:nth-child(odd) {
  padding: 10px 40px;
  font-weight: bold;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 100vh;
}

.takeya li:nth-child(odd) {
  background: #9847C1;
}

.miyako li:nth-child(odd) {
  background: #D82929;
}

.transit-list li:nth-child(even) {
  padding: 20px;
  margin-left: 40px;
  font-weight: bold;
}

.transit-list li:nth-child(even) span {
  display: block;
  font-size: 1.8rem;
}

.takeya li:nth-child(2) {
  color: #9847C1;
  border-left: 1px solid #9847C1;
}

.miyako li:nth-child(2) {
  color: #D82929;
  border-left: 1px solid #D82929;
}

.transit-list li:nth-child(4) {
  border-left: 1px dashed #707070;
}

.transit-list li:last-child {
  background: #fdfdfd;
  border: 2px solid #52CC65;
  color: #38B14B;
}

@media print,
(min-width: 768px) {
  .transit-list li:nth-child(odd) {
    font-size: 2rem;
  }

  .transit-list li:nth-child(even) span {
    font-size: 2rem;
  }
}

/*---マップ---*/
.g-map {
  width: 100%;
  overflow: hidden;
}

.g-map>div {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}

.g-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-map span {
  display: inline-block;
  padding-top: 20px;
}

@media print,
(min-width: 1200px) {
  .g-map>div {
    padding-top: 40%;
  }
}

/*------------------------------
| 情報
------------------------------*/
/*---実績---*/
ul.graph-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px 0;
}

.graph-list li h4 {
  padding: 10px 30px;
  color: #fff;
  font-size: 2rem;
  background: #347DDE;
  border-radius: 100vh;
  border: none;
}

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

  .graph-list li:nth-child(n+2) {
    margin-top: 40px;
  }
}

@media print,
(min-width: 768px) {
  .graph-list li {
    width: 48%;
  }

  .graph-list li:nth-child(n+3) {
    margin-top: 40px;
  }
}

/*---ピックアップ---*/
@media print,
(min-width: 768px) {
  .common-md-flex.pickup .text-box {
    width: 56%;
  }

  .common-md-flex.pickup .img-box {
    width: 40%;
  }
}

/*認定医*/
.ninteii-item {
  padding: 15px;
  border: 1px solid #52CC65;
}

.ninteii-item p {
  position: relative;
  margin: 0 0 20px 0;
  padding: 0 0 0 10px;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.4;
}

.ninteii-item p::before {
  content: "";
  display: block;
  width: 3px;
  height: 20px;
  position: absolute;
  top: 6px;
  left: 0;
  background: #52cc65;
}

.ninteii-item p span {
  font-size: 1.4rem;
}

.ninteii-item ul {
  margin: 20px 0 0 0;
}

.ninteii-item ul.common-list li {
  margin-bottom: 6px;
}

@media screen and (max-width: 767px) {
  .ninteii-list .ninteii-item:nth-child(n+2) {
    margin-top: 20px;
  }
}

@media print,
(min-width: 768px) {
  .ninteii-list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .ninteii-item {
    width: 32%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .ninteii-item p span {
    display: block;
  }
}

@media screen and (min-width: 1200px) {
  .ninteii-item p {
    font-size: 2.2rem;
  }

  .ninteii-item p span {
    font-size: 1.6rem;
  }
}

/*---関連機関---*/
.kanren-link-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.kanren-link-list::before,
.kanren-link-list::after {
  content: "";
  display: block;
  width: 49%;
  height: 0;
}

.kanren-link-list::before {
  order: 1;
}

.kanren-link-list li {
  width: 49%;
  min-height: 70px;
}

.kanren-link-list li a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 10px;
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  background: #fdfdfd;
}

.kanren-link-list li a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kanren-link-list li a span {
  font-size: 1.6rem;
  line-height: 1.2;
}

@media screen and (max-width: 767px) {
  .kanren-link-list li:nth-child(n+3) {
    margin-top: 20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {

  .kanren-link-list li,
  .kanren-link-list::before,
  .kanren-link-list::after {
    width: 32%;
  }

  .kanren-link-list li:nth-child(n+4) {
    margin-top: 20px;
  }
}

@media print,
(min-width: 768px) {
  .kanren-link-list li {
    min-height: 80px;
  }

  .kanren-link-list li a {
    padding: 15px 20px;
  }
}

@media print,
(min-width: 1200px) {

  .kanren-link-list li,
  .kanren-link-list::before,
  .kanren-link-list::after {
    width: 24%;
  }

  .kanren-link-list li:nth-child(n+5) {
    margin-top: 20px;
  }
}

/*---発行物---*/
.publication-thumb {
  max-width: 240px;
}

.publication-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.publication-list::before,
.publication-list::after {
  content: "";
  display: block;
  height: 0;
}

.publication-list::before {
  order: 1;
}

.publication-list li a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  background: #fdfdfd;
  border-radius: 6px;
  transition: all .2s ease;
}

.publication-list li a::before {
  content: url(./images/information/icon_pdf.svg);
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.publication-list li a:hover {
  background: #E6F9E6;
}

.publication-list li div>span {
  display: block;
}

.publication-date {
  font-size: 1.6rem;
  color: #707070;
}

.publication-date span {
  display: inline-block;
  padding: 0 4px;
  margin-right: 6px;
  background: #f3f3f3;
  font-size: 1.4rem;
}

.publication-list li.no-entry {
  width: 100%;
}


@media screen and (max-width: 767px) {
  .publication-thumb {
    margin: 0 auto 40px auto;
  }

  .publication-list li,
  .publication-list::before,
  .publication-list::after {
    width: 100%;
  }

  .publication-list li:nth-child(n+2) {
    margin-top: 20px;
  }

  .publication-list li a {
    padding: 20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {

  .publication-list li,
  .publication-list::before,
  .publication-list::after {
    width: 49%;
  }

  .publication-list li:nth-child(n+3) {
    margin-top: 20px;
  }
}

@media print,
(min-width: 768px) {
  .publication-block {
    display: flex;
    justify-content: space-between;
  }

  .publication-thumb {
    width: 20%;
  }

  .publication-archive {
    width: 75%;
  }
}

@media print,
(min-width: 1200px) {

  .publication-list li,
  .publication-list::before,
  .publication-list::after {
    width: 32%;
  }

  .publication-list li:nth-child(n+4) {
    margin-top: 20px;
  }
}

/*------------------------------
| お問い合わせ
------------------------------*/
/*---レイアウト---*/
.contact-wrapper .page-inner,
.contact-wrapper .page-inner .page-section:last-child,
.contact-wrapper .page-inner .page-section:last-child .page-section-inner:last-child,
.contact-form-section .page-inner>div:last-child {
  margin-bottom: 0;
}

.contact-form-section {
  padding: 100px 0;
  margin: 120px 0 160px 0;
  background: #EFFBD3;
}

.contact-form-section .page-inner>div {
  margin: 60px 0;
}

@media print,
(min-width: 768px) {
  .contact-form-section {
    padding: 120px 0;
  }

  .contact-form-section .page-inner>div {
    margin: 80px 0;
  }
}

/*---注意事項---*/
.contact-note {
  padding: 15px;
  background: #fdfdfd;
}

.contact-form-section .contact-note {
  border-radius: 10px;
}

.contact-note p {
  margin: 0 0 20px 0;
}

.contact-note p:last-child {
  margin: 0;
}

.contact-intro,
.contact-error {
  background: #FFE6E6;
}

.contact-intro ul {
  margin: 20px 0;
}

.contact-intro ul li {
  font-weight: bold;
}

.contact-intro ul li::before,
.contact-error ul li::before {
  color: #DE1010;
}

@media print,
(min-width: 768px) {
  .contact-note {
    padding: 30px;
  }
}

/*---その他---*/
#docment .button-box .pdf-link-button::before,
#meeting .button-box .pdf-link-button::before {
  content: url(./images/common/icon_pdf.svg);
  transform: translateY(-50%);
  width: auto;
  height: auto;
  background: none;
}

#docment .button-box .pdf-link-button::after,
#meeting .button-box .pdf-link-button::after,
#meeting .button-box .word-link-button::after {
  content: none;
}

#meeting .button-box .word-link-button::before {
  content: url(./images/common/icon_word.svg);
  transform: translateY(-50%);
  width: 30px;
  height: auto;
  background: none;
}

.contact-form-section h2 {
  text-align: center;
  background: none;
}

.contact-form-section h2::before {
  width: 2px;
  height: 24px;
  top: auto;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

/*---フォーム---*/
.required {
  display: inline-block;
  padding: 2px 10px;
  margin: 0 4px 0 0;
  border-radius: 100vh;
  color: #fff;
  font-size: 1.4rem;
  background: #DE1010;
}

.form-cont dl {
  width: 100%;
  margin: 0 0 30px 0;
}

.form-cont dt {
  position: relative;
}

.form-cont dt .required {
  position: absolute;
  top: 0;
  right: 0;
}

.form-cont dd .attention {
  display: block;
  margin-top: 8px;
  font-size: 1.6rem;
  line-height: 1.4;
}

.form-cont input[type="text"],
.form-cont input[type="email"],
.form-cont textarea {
  width: 100%;
}

.form-cont input,
.form-cont textarea {
  border: 1px solid #52CC65;
  border-radius: 4px;
}

.form-cont dd .error {
  display: block;
  margin-top: 8px;
  font-size: 1.6rem;
  font-weight: bold;
  color: #DE1010;
}

.form-cont dd.is-error input,
.form-cont dd.is-error textarea {
  background: #FFE6E6;
}

@media screen and (max-width: 767px) {

  .form-cont dt,
  .form-cont dd {
    width: 100%;
  }

  .form-cont dt {
    margin-bottom: 10px;
  }

  .form-cont .mwform-tel-field input[type="text"] {
    width: 30%;
  }
}

@media print,
(min-width: 768px) {
  .form-cont dl {
    display: flex;
    justify-content: space-between;
    margin: 0 0 40px 0;
  }

  .form-cont dt {
    width: 34%;
  }

  .form-cont dd {
    width: 64%;
  }
}

/*---送信ボタン---*/
.submit-button-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 60px;
}

.submit-button-box>div {
  position: relative;
  width: 100%;
}

.submit-button-box input {
  width: 100%;
  padding: 15px;
  text-align: left;
  color: #fff;
  border-radius: 10px;
  background: #52CC65;
  transition: all .2s ease;
}

.submit-button-box>div::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50%;
  transition: all .2s ease;
}

.submit-button-box>div::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  right: 24px;
  border-top: 2px solid #52CC65;
  border-right: 2px solid #52CC65;
  transform: translateY(-50%) rotate(45deg);
  transition: all .2s ease;
}

.submit-button-box .back-button input {
  color: #38B14B;
  background: #fdfdfd;
}

.submit-button-box>div.back-button::before {
  background: #52CC65;
}

.submit-button-box>div.back-button::after {
  border-color: #fff;
}

.form-input .submit-button-box>div.back-button,
.form-error .submit-button-box>div.back-button,
.form-thanks .submit-button-box>div.back-button {
  display: none;
}

@media print,
(min-width: 768px) {
  .submit-button-box>div {
    width: 32%;
    margin: 0 20px;
  }

  .submit-button-box input {
    padding: 20px;
    border: 1px solid #52CC65;
  }
}

/*ホバーアクション*/
.submit-button-box input:hover {
  background: #fdfdfd;
  color: #38B14B;
}

.submit-button-box>div:hover::before {
  background: #52CC65;
}

.submit-button-box>div:hover::after {
  border-color: #fff;
}

.submit-button-box .back-button input:hover {
  color: #fff;
  background: #52CC65;
}

.submit-button-box>div.back-button:hover::before {
  background: #fff;
}

.submit-button-box>div.back-button:hover::after {
  border-color: #52CC65;
}

/*------------------------------
| サイトマップ
------------------------------*/
.page-section>.sitemap-inner {
  margin: 0 auto;
}

.sitemap-list>li {
  margin: 0 0 30px 0;
}

.sitemap-list li>span {
  display: block;
}

.sitemap-list li>span a {
  position: relative;
  display: block;
  margin: 0 0 16px 0;
  padding: 20px 0 20px 32px;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  font-size: 2rem;
  color: #38B14B;
}

.sitemap-list li>span a::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: #52CC65;
  border-radius: 50%;
  transition: all .2s ease;
}

.sitemap-list li>span a::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  left: 5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: all .2s ease;
}

.sitemap-list .sitemap-child-menu {
  margin: 0 0 0 24px;
}

.sitemap-list .sitemap-child-menu li a {
  display: block;
  position: relative;
  padding: 6px 0 6px 20px;
}

.sitemap-list .sitemap-child-menu li a::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 0;
  border-top: 1px solid #1a1a1a;
  border-right: 1px solid #1a1a1a;
  transform: translateY(-50%) rotate(45deg);
}

@media print,
(min-width: 768px) {
  .sitemap-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .sitemap-list>li {
    width: 46%;
    margin: 0 0 40px 0;
  }

  .sitemap-list>li.sitemap-item-wide {
    width: 100%;
  }

  .sitemap-list li>span a {
    font-size: 2.4rem;
  }
}

/*------------------------------
| 院長コラム
------------------------------*/
.column-wrapper main::before,
.column-wrapper main::after {
  content: none;
}

.column-wrapper .page-inner>div {
  margin: 60px 0;
}

.column-kiji-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-kiji-list li {
  padding: 15px;
  background: #FFF7F1;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0px 3px 6px #00000029;
}

.column-kiji-thumb {
  position: relative;
  margin: 0 0 20px 0;
  padding-top: 66.6%;
  width: 100%;
  height: 0;
  border: 1px solid #e8e8e8;
}

.column-kiji-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.column-kiji-date {
  margin: 0 0 10px 0;
}

.column-kiji-date time {
  font-size: 1.4rem;
  color: #707070;
}

.column-kiji-title {
  margin: 0 0 40px 0;
  font-weight: bold;
}

.column-kiji-detail .column-kiji-button {
  margin: 0;
  text-align: right;
}

.column-kiji-button span {
  display: inline-block;
  position: relative;
  transition: all 02s ease;
}

.column-kiji-button span::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  background: #52CC65;
  border-radius: 50%;
  transition: all .2s ease;
}

.column-kiji-button span::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  left: -25px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: all .2s ease;
}

.column-kiji-list li a:hover .column-kiji-button span {
  text-decoration: underline;
}

/*---院長インスタ---*/
#incho-instagram-box {
  position: relative;
  margin: 0 auto 0;
  padding-top: 40px;
}

#incho-instagram-box>h2 {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  font-size: 2.4rem;
  background: none;
}

#incho-instagram-box>h2::before {
  display: none;
}

#incho-instagram-box .official-insta-link {
  position: absolute;
  top: 0;
  right: 0;
}

@media (max-width: 479px) {

  /*--- insta plugin style override ---*/
  #incho-instagram-box #sb_instagram #sbi_images>div {
    width: 33.33%;
  }
}

@media (min-width: 480px) {

  /*--- insta plugin style override ---*/
  #incho-instagram-box #sb_instagram #sbi_images>div {
    width: 20%;
  }
}

@media print,
(min-width: 768px) {
  .column-kiji-list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .column-kiji-list li {
    width: 32%;
    padding: 30px 20px;
  }

  .column-kiji-list::before,
  .column-kiji-list::after {
    content: "";
    display: block;
    width: 32%;
    height: 0;
  }

  .column-kiji-list::before {
    order: 1;
  }

  .column-kiji-date time {
    font-size: 1.6rem;
  }

  /*---院長インスタ---*/
  #incho-instagram-box {
    width: 70%;
  }

  /*--- insta plugin style override ---*/
  #incho-instagram-box #sb_instagram #sbi_images>div {
    width: 20%;
  }

}

/*---ページナビ---*/
.pagenav-block .pages {
  display: none !important;
}

.pagenav-block .wp-pagenavi>span,
.pagenav-block .wp-pagenavi>a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 30px;
  text-align: center;
  font-size: 1.6rem;
  color: #38B14B;
  border-radius: 2px;
  border: 1px solid #52CC65;
}

.pagenav-block .wp-pagenavi>span.current {
  color: #fff;
  background: #52CC65;
  border-color: #52CC65;
}

.pagenav-block .wp-pagenavi>a {
  margin-left: 8px;
}

.pagenav-block .wp-pagenavi>a:hover {
  border-color: #52CC65;
  background: #E6F9E6;
}

/*---インスタリンクボタン追加---*/
.button-box.to-archive {
  margin-bottom: 40px;
}

.single-inner .button-box.to-instagram {
  margin-top: 40px;
}

.single-inner .to-instagram .common-button::before {
  content: url(./images/common/icon_external-link_gr.svg);
  background: none;
}

.single-inner .to-instagram .common-button::after {
  content: none;
}

.newicon {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 8px 2px 8px;
  line-height: 1;
  font-size: 1.4rem;
  color: #fff;
  background-color: #F25A81;
  border-radius: 4px;
}

/*------------------------------
| 投稿詳細ページ
------------------------------*/
.single-inner h2 {
  margin: 0 0 40px 0;
  padding: 0 0 6px 0;
  font-size: 2.4rem;
  border-bottom: solid 3px #52cc65;
  background: none;
  border-radius: 0;
}

.single-inner h2::before {
  content: none;
}

.single-kiji-box {
  max-width: 1080px;
}

.post-date {
  text-align: right;
  font-size: 1.6rem;
}

.post-date span {
  padding-right: 10px;
}

.single-inner>div {
  margin: 60px auto;
}

.single-inner .button-box {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.single-inner .button-box div {
  width: 100%;
  max-width: 387px;
}

@media print,
(min-width: 768px) {
  .single-inner h2 {
    font-size: 2.8rem;
  }
}

/*---投稿記事見出し---*/
.single-kiji-box h3 {
  margin: 40px 0;
  padding: 0 0 0 10px;
  font-size: 2rem;
  border-left: solid 6px #52cc65;
  border-bottom: none;
}

.single-kiji-box h4 {
  margin: 30px 0;
  padding: 0 0 6px 0;
  font-size: 1.8rem;
  border-left: none;
  border-bottom: solid 3px #e6f9e6;
}

.single-kiji-box h4::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30%;
  height: 3px;
  border-bottom: solid 3px #52cc65;
}

.single-kiji-box h5,
.single-kiji-box h6 {
  margin: 20px 0;
  padding: 0 0 0 1em;
  font-size: 1.8rem;
}

.single-kiji-box h5 {
  border: none;
}

.single-kiji-box h5::after {
  content: none;
}

.single-kiji-box h6 {
  position: relative;
  font-weight: bold;
}

.single-kiji-box h5::before,
.single-kiji-box h6::before {
  display: inline-block;
  position: absolute;
  top: 2.2px;
  left: 0;
  font-size: 1.6rem;
  color: #52cc65;
}

.single-kiji-box h5::before {
  content: '■';
}

.single-kiji-box h6::before {
  content: '●';
}

.single-kiji-box p {
  margin: 10px 0 20px 0;
  line-height: 1.6;
}

.single-kiji-box p a {
  text-decoration: underline;
  font-weight: bold;
  color: #38B14B;
}

.single-kiji-box p a:hover {
  text-decoration: none;
}

.single-kiji-box figure {
  max-width: 680px;
  margin: 40px auto;
  text-align: center;
}

@media print,
(min-width: 768px) {
  .single-kiji-box h3 {
    font-size: 2.4rem;
  }

  .single-kiji-box h4 {
    font-size: 2rem;
  }

  .single-kiji-box p {
    line-height: 1.8;
  }
}

/*------------------------------
| 採用バナー追加
------------------------------*/
header .cmn-menubtn li:last-child {
  display: none;
}

@media screen and (min-width: 1260px) {
header .cmn-menubtn .linkbtn.upper a img {
    width: 110px;
  }

  header .cmn-menubtn li:nth-child(2) a img {
    width: 143px;
  }
}

@media screen and (min-width: 1720px) {

  header .cmn-menubtn .linkbtn a {
    display: block;
    margin-bottom: 6px;
  }

  header .cmn-menubtn .linkbtn.upper a img {
    width: 140px;
  }

  header .cmn-menubtn li:nth-child(2) a img {
    width: 182px;
  }

}

/* SDボトムボタン／採用・問い合わせ */
.footer-fix-box {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 10px 15px;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.footer-fix-box .cmn-menubtn {
  position: relative;
  padding: 0;
  bottom: auto;
  left: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0 !important;
  background: none;
}

.footer-fix-box .fix-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 16px;
  position: absolute;
  top: -16px;
  left: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  /* border: 1px solid #A9BEBE; */
  border-radius: 4px 4px 0 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 1;
}

footer .cmn-menubtn>li {
  padding: 0 12px;
}

@media screen and (max-width: 767px) {
  footer .cmn-menubtn {
    flex-wrap: wrap;
  }

  footer .cmn-menubtn>li:last-child {
    margin: 8px 0 0 0;
    padding: 0 24px;
    width: 100%;
  }
}

@media print,
(min-width: 768px) {
  footer .cmn-menubtn>li:nth-child(-n+2) {
    display: none;
  }

  footer .cmn-menubtn>li:last-child img {
    max-width: 480px;
  }

  .footer-fix-box .fix-close {
    width: 40px;
    height: 100%;
    top: 0;
    left: 0;
    font-size: 1.4rem;
    border-right: 1px solid #fff;
    border-radius: 0;
    background: none;
  }
}

/*------------------------------
| ホーム校正画面用
------------------------------*/
.page-id-289 .page-wrapper,
.page-id-289 main::before,
.page-id-289 main::after {
  background: none !important;
}

/* 見出し */
.page-id-289 h2 {
  position: relative;
  margin-bottom: 40px;
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
  background: none !important;
  border: none !important;
}

.page-id-289 h2::after {
  display: block;
  content: '|';
  font-size: 2rem;
  font-weight: bold;
  color: #52CC65;
}

.page-id-289 h2::before {
  content: none !important;
}
