/* ---------------------------
   トップセクション
----------------------------*/

/* トップ全体 */
.top {
  position: relative;
  height: 80vh;
  width: 100%;
}
/* キャッチコピーエリア */
.top .copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
}
.top .copy .back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
}
.top .catch_phrase {
  position: relative;
  z-index: 2;
}
.top .copy h2 {
  writing-mode: vertical-rl;
  line-height: 1.6;
  letter-spacing: 10px;
  font-weight: 700;
  right: 4%;
  padding-top: 1rem;
  text-shadow: 2px 2px 3px #c3c3c3;
}
.reservation_area {
  position: absolute;
  right: 5%;
  bottom: -6%;
  background-color: #fff;
  padding: 1.1rem 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow01);
}
.reservation_area .area {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  font-weight: 600;
}
.reservation_area .ex {
  margin-top: .8rem;
}
.reservation_area .ex p {
    font-size: 15px;
    text-align: center;
    line-height: 1.6;
}
.reservation_area .box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.reservation_area .box > div {
  display: flex;
  align-items: center;
}
.reservation_area .box:last-child > div:first-child p:last-child {
  color: #810000;
  font-size: 2rem;
  font-weight: 700;
  margin-left: 8px;
}
.reservation_area .box:last-child > div:last-child p:last-child {
  color: #ea9917;
  font-size: 2rem;
  margin-left: 8px;
  font-weight: 700;
}
.reservation_area .box:first-child {
  border-right: 2px solid #555555;
  margin-right: 1em;
  padding-right: 1rem;
  height: 30px;
}
.reservation_area .link_btn {
  position: absolute;
  right: -5%;
  bottom: -30%;
}
.reservation_area .link_btn .btn a {
  padding: 1rem 2rem;
}
/* --------------------------------------------------
   セクション：ごあいさつ（トップグリーティング）
-----------------------------------------------------*/
.section02.top_greeding {
  position: relative;
  margin-top: 80px;
}
.section02.top_greeding .img_01 {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.section02.top_greeding .img_01 img {
  width: 50%;
  margin-left: auto;
  display: block;
}
/* テキスト・キャッチワード等 */
.section02.top_greeding .catch_word {
  display: flex;
  flex-direction: column;
  margin: 60px 0 0;
  position: relative;
  height: 250px;
}
.section02.top_greeding .catch_word p {
  width: fit-content; 
}
.section02.top_greeding .catch_word .sub01 {
  line-height: 155%;
  font-weight: 600;
}
.section02.top_greeding .catch_word .sub02 {
  position: absolute;
  top: 80%;
  left: 10%;
  line-height: 155%;
  font-weight: 600;
}
.section02.top_greeding .catch_word .copy_ttl {
  position: absolute;
  top: 35%;
  left: 3%;
  font-weight: 800;
  line-height: 155%;
}
.section02.top_greeding .ex {
  height: 100%;
}
.section02.top_greeding .ex ul {
  text-indent: 0rem;
}
.section02.top_greeding .down_img_area {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 2rem;
}
.section02.top_greeding .ex ul li {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-left: 40px;
  line-height: 2.7;
  padding-bottom: 16px;
}
.section02.top_greeding .ex ul li::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-right: 20px;
  margin-left: -40px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 18px;
}
.section02.top_greeding .ex ul li:nth-child(odd)::before {
  background-image: url(../img/circle01.png);
}

.section02.top_greeding .ex ul li:nth-child(even)::before {
  background-image: url(../img/circle02.png);
}
/* --------------------------------------------------
   ウェーブライン（区切り線）
-----------------------------------------------------*/
.wave_line {
  margin: -10% 0;
}
.wave_line img {
  width: 100%;
}
/* --------------------------------------------------
   セクション：医師紹介
-----------------------------------------------------*/
/* 各医師ボックス */
.section03.top_doctor .area .box.box_01, .section03.top_doctor .area .box.box_02 {
  position: relative;
  background-color: #fff;
  border-radius: 8% 10% 11% 9% / 18% 25% 26% 21%;
  box-shadow: var(--shadow01);
  padding: 4%;
  margin: 40px 0;
}
/* フレックスレイアウト内の各パーツ */
.section03.top_doctor .flex_box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
/* 各医師画像 */
.section03.top_doctor .flex_box .parts_01 {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section03.top_doctor .flex_box .parts_01 .img {
  margin: 0 auto;
  display: contents;
}
.section03.top_doctor .flex_box .parts_01 .name {
  font-weight: 600;
}
.section03.top_doctor .flex_box .parts_01 .img img, .section03.top_doctor .flex_box .parts_02 .img img {
  width: 65%;
}
.section03.top_doctor .flex_box .parts_02 .txt_box:not(:first-child) {
  margin-top: 28px;
}
/* 医師詳細テキスト */
.section03.top_doctor .flex_box .parts_02 {
  width: 70%;
}
.section03.top_doctor .flex_box .parts_02 .txt_box ul.lead {
  text-indent: -21px;
}
/* リンクボタン＆イラスト */
.section03.top_doctor .link_btn {
  position: absolute;
  right: 8%;
  bottom: 5%;
  z-index: 5;
}
.section03.top_doctor .illust_box {
  display: inline-block;
  position: absolute;
  bottom: 19%;
  right: 3%;
}
.section03.top_doctor .illust_box img {
  width: 83%;
}
.section03.top_doctor .flex_box .parts_02 .txt_box ul.lead li {
  margin-bottom: .7rem;
  line-height: 1.6;
  text-decoration: none !important;
}
/* --------------------------------------------------
   セクション：診療について
   （院内環境、デイケア、初診・予約、診療費用、訪問看護）
-----------------------------------------------------*/
.section04.top_about {
  position: relative;
}
/* セクション冒頭の画像 */
.section04.top_about .img_01 {
  position: absolute;
  right: 0;
  z-index: 2;
}
.section04.top_about .area {
  margin-top: 65px;
  position: relative;
}
/* 各ボックス内の画像とテキスト */
.section04.top_about .main_area .box:nth-of-type(1) {
  background-color: #fff;
  box-shadow: var(--shadow01);
  width: 70%;
  border-radius: 8% 12% 18% 10% / 18% 50% 50% 21%;
  padding: 2rem;
  z-index: 2;
  position: relative;
}
.section04.top_about .main_area .box:nth-of-type(2) {
  width: 70%;
  margin-left: auto;
  background-color: var(--beige);
  box-shadow: var(--shadow01);
  padding: 8rem  5rem 6rem;
  border-radius: 14% 10% 11% 13% / 53% 25% 26% 30%;
  margin-top: -4%;
  position: relative;
  z-index: 1;
}
.section04.top_about .main_area .box:nth-of-type(3) {
  background-color: #fff;
  box-shadow: var(--shadow01);
  position: relative;
  flex-wrap: wrap;
  display: flex;
  width: 70%;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 6rem 2rem 3rem;
  border-radius: 25% 17% 25% 23% / 32% 24% 30% 30%;
  margin-top: -3%;
  position: relative;
  z-index: 0;
}
.section04.top_about .main_area .box .ex {
  width: 93%;
  padding: 2rem;
  line-height: 2.5;
  font-weight: 700;
}
.section04.top_about .main_area .box ul {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  line-height: 2.3;
  margin-top: 15px;
  text-indent: 0rem;
  padding-left: 0rem;
}
.section04.top_about .main_area .box ul li {
  position: relative;
  padding-left: 40px;
  margin-right: 18px;
}
.section04.top_about .main_area .box ul li:first-child {
  width: 100%;
}
.section04.top_about .main_area .box ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 3px;
  transform: none;
  color: var(--blue);
  font-size: var(--dot-size, 2em);
  line-height: 1;
}
/* カード形式のリンク（院内環境、デイケア、初診・予約、診療費用、訪問看護） */
.section04.top_about .main_area .card {
  position: relative;
  width: 30%;
  height: 210px;
}
.section04.top_about .main_area a {
  z-index: 2;
}
.section04.top_about .main_area .card.card_01 {
  background: url("../img/kankyou_icon.png") center / contain no-repeat;
}
.section04.top_about .main_area .card.card_02 {
  background: url("../img/daycare_icon.png") center / contain no-repeat;
}
.section04.top_about .main_area .card.card_03 {
  background: url("../img/syoshin_icon.png") center / contain no-repeat;
}
.section04.top_about .main_area .card.card_04 {
  background: url("../img/hiyou_icon.png") center / contain no-repeat;
}
.section04.top_about .main_area .card.card_05 {
  background: url("../img/dx_icon.png") center / contain no-repeat;
}
.section04.top_about .main_area .card .link_ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: #fff;
  display: inline-block;
  line-height: 28px;
  text-align: center;
}
.section04.top_about .main_area .card .img_arrow {
  position: absolute;
  top: 10%;
  right: 5%;
}
/* リンクボタン（各ボックス内） */
.section04.top_about .area .box .link_btn {
  float: inline-end;
  /* display: inline-block; */
}
.section_sub_ttl {
  display: inline-block;
  padding: 4rem 4rem 4rem 4rem;
  letter-spacing: 3px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url('../img/subttl_back.png');
}
.section_sub_ttl h4 {
  font-weight: 600;
}
.section04.top_about .main_area .box .ttl {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5em;
  font-weight: 600;
  padding-left: 16px;
}
.top_about .sub_area .txt_box .ttl {
  display: inline;
  align-items: flex-start;
  gap: 0.5em;
  font-weight: 600;
}
.ttl-icon01 {
  display: inline-block;
  width: 40px;
  height: 35px;
  background-image: url("../img/star.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 0.5em;
}
.top_about .sub_area .ttl-icon01 {
  display: inline-block;
  width: 35px;
  height: 25px;
  background-image: url("../img/star.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 0.5em;
}
.top_about .sub_area .ttl-icon02 {
  display: inline-block;
  width: 35px;
  height: 25px;
  background-image: url("../img/totas.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 0.5em;
}
/* ２次エリア：個別コンテンツ各ボックス */
/* --------------------------------------------------
   サブエリア用CSS骨格（.top_about .sub_area）
   ※プロパティは各自追加してください
-----------------------------------------------------*/
/* 各ボックス（.box） */
.top_about .sub_area .box {
  margin-top: 60px;
}

/* ボックスのバリエーション */
.top_about .sub_area .box.box_01, .top_about .sub_area .box.box_02, .top_about .sub_area .box.box_03, .top_about .sub_area .box.box_04, .top_about .sub_area .box.box_05 {
  position: relative;
  height: 800px;
}
.top_about .sub_area .box.box_03 {
  height: 700px;
}
.top_about .sub_area .box.box_04 {
  height: 930px;
}
.top_about .sub_area .box.box_01 .section_sub_ttl {
  position: absolute;
  left: 0;
}
.top_about .sub_area .txt_box {
  background-color: hsl(0deg 0% 100% / 92%);
  box-shadow: var(--shadow01);
  width: 70%;
  padding: 4rem;
  border-radius: 15% 29% 15% 14% / 20% 27% 27% 29%;
  position: absolute;
  right: 0;
  bottom: 0;
}
.top_about .sub_area .txt_box .ex {
  margin-top: 30px;
  margin-bottom: 40px;
}
.top_about .sub_area .txt_box .ex {
  margin-top: 16px;
}
.top_about .sub_area .txt_box .ex li.mark {
  padding-left: 1.8rem;
  text-indent: -1.5rem;
}
.top_about .sub_area .box.box_02 .section_sub_ttl {
  position: absolute;
  right: 0;
}
.top_about .sub_area .box.box_04 .section_sub_ttl {
  right: 0;
  position: absolute;
}
.top_about .sub_area .box.box_01 .img_01 {
  position: absolute;
  top: 10%;
  left: 5%;
  z-index: -1;
}
.top_about .sub_area .box.box_02 .img_01 {
  z-index: -1;
  right: 5%;
  top: 10%;
}
.top_about .sub_area .box.box_03 .img_01 {
  left: 5%;
  top: 5%;
  z-index: -1;
}
.top_about .sub_area .box.box_04 .img_01 {
  top: 7%;
  right: 3%;
  z-index: -1;
}
.top_about .sub_area .box.box_05 .img_01 {
  left: 0;
  z-index: -1;
}
.top_about .sub_area .box.box_01 .txt_box {
}
.top_about .sub_area .box.box_02 .txt_box {
  left: 0;
}
.top_about .sub_area .box.box_03 .txt_box {
  top: 30%;
  height: auto;
}
.top_about .sub_area .box.box_04 .txt_box {
  left: 0;
}
.top_about .sub_area .box.box_05 .txt_box {
}
.top_about .sub_area .box.box_03 .link_btn {
  bottom: 10%;
  position: absolute;
  right: 5%;
}
/* --------------------------------------------------
   トップスケジュール
   .section05.top_schedule
-----------------------------------------------------*/
.section05.top_schedule {
  margin-top: 130px;
}
/* --------------------------------------------------
   アクセスセクション
   .section01.top_access
-----------------------------------------------------*/
.top_access .container {
  margin-top: 85px;
}
.top_access .box {
  width: 80%;
  margin: 50px auto 16px;
}
.top_access .box .sub_ttl {
  font-weight: 700;
}
.top_access .map_area {
  width: 80%;
  margin: 0 auto;
}
/* --------------------------------------------------
 提供先医療機関セクション
 .section01.top_partner
-----------------------------------------------------*/
.top_partner .contents {
  margin-top: 80px;
}
.top_partner .area {
  background-color: #fff;
  border-radius: 6% 24% 6% 7% / 15% 25% 20% 16%;
  box-shadow: var(--shadow01);
  width: 80%;
  margin: 0 auto;
}
.top_partner .flex_box {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 6rem;
    height: 595px;
    justify-content: center;
    gap: 50px;
}
.top_partner .flex_box .card {
    width: 47%;
    align-items: center;
    display: flex;
}
.top_partner .flex_box .card img {
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}
.top_partner .flex_box .card:nth-child(1)  {
}
.top_partner .flex_box .card:nth-child(1) img {
}
.top_partner .flex_box .card:nth-child(2) img {
}
.top_partner .flex_box .card:nth-child(3) img {
}
.top_partner .flex_box .card:nth-child(4) img {
}
.top_partner .flex_box .card:nth-child(5) img {
}
/* slide */
.top .slide_area {
  width: 95%;
  margin: 0 auto;
  height: 100%;
  position: relative;
  z-index: -1;
}
.swiper {
  height: 100%;
}
.swiper-wrapper {
  height: 100%;
}
.swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.swiper-slide picture {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
}
.slide_area .swiper-pagination {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}
@media screen and (max-width:830px) {
  .swiper-slide img {
    border-radius: 30px;
  }
}
@media screen and (max-width:480px) {
  .swiper-slide img {
    border-radius: 15px;
  }
}

/* modal */
.top_greeding .modal-open {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 54%;
  left: 56%;
  font-weight: bold;
  margin: auto;
  cursor: pointer;
  transform: translate(-50%,-50%);
  color: #555555;
  background-color: var(--beige);
  display: inline-block;
  padding: 2rem 4rem;
  border-radius: 53% 46% 40% 60% / 62% 76% 42% 58%;
  box-shadow: var(--shadow01);
  transition: .3s ease-in-out;
}
.top_greeding .modal-open:hover {
  box-shadow: none;
}
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.top_greeding .modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 10;
}
/*モーダル本体の擬似要素の指定*/
.top_greeding .modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.top_greeding .modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.top_greeding .modal-body {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 90%;
}
/*モーダルを閉じるボタンの指定*/
.top_greeding .modal-close{
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
	top: -40px;
	right: -40px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.top_greeding .modal-content {
  background: #fff;
  text-align: left;
  background-color: var(--bg2);
  border-radius: 30px;
  padding: 3rem 2rem;
  position: relative;
  z-index: 998;
}
.top_greeding .modal-content ul {
  text-indent: -1.3rem;
  padding-left: 1.3rem;
}


@media screen and (max-width:1600px) {
  .section04.top_about .main_area .box:nth-of-type(3) {
    margin-top: -5%;
  }
}
/* ============== タブレット縦 ============== */
@media screen and (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
    .top_partner .flex_box .card {
    width: 45%;
}
.top_partner .flex_box {
    gap: 8px;
}
.top_schedule .area .down {
    flex-direction: column;
  }
}
/* ============== タブレット横 ============== */
@media screen and (min-width: 601px) and (max-width: 1366px) and (orientation: landscape) {
.top_partner .flex_box {
    padding: 3rem 3rem;
    height: 475px;
    gap: 20px;
}
.top_schedule .area .down {
    flex-direction: column;
  }
}
@media screen and (max-width:830px) {
  /* top */
  .top_schedule .area .down {
    flex-direction: column;
  }
  .top .copy .back {
    top: 46%;
    width: 65vw;
  }
  .top {
    height: 90vh;
  }
  .reservation_area {
    position: relative;
    right: 0%;
    bottom: inherit;
    width: 100%;
    margin-top: 8px;
  }
  .reservation_area .link_btn {
    bottom: -27%;
    right: 0%;
  }
  /* top_greeding */
  .section02.top_greeding .img_01 img {
    width: 40%;
  }
  .section02.top_greeding .catch_word .copy_ttl {
    top: 30%;
  }
  .section02.top_greeding .catch_word .sub02 {
    top: 70%;
  }
  .section02.top_greeding .ex {
    margin-top: 25px;
  }
  .section02.top_greeding .ex ul li:nth-child(odd)::before {
    top: 17%;
    width: 20px;
    height: 20px;
  }
  .section02.top_greeding .ex ul li:nth-child(2)::before {
    top: 7%;
  }
  .section02.top_greeding .ex ul li:nth-child(even)::before {
    top: 17%;
    width: 20px;
    height: 20px;
  }
  .section02.top_greeding .ex ul li:nth-child(3)::before {
    top: 12%;
  }
  .section02.top_greeding .img_03 {
    bottom: -3%;
    right: 0;
    width: 50%;
  }
  .section02.top_greeding .img_02 {
    bottom: 5%;
    right: 54%;
    width: 40%;
  }
  .section02.top_greeding .catch_word {
    height: 200px;
  }
  .section02.top_greeding .down_img_area {
    margin: 100px 0 0;
  }
  .top_greeding .modal-open {
    top: 46%;
    left: auto;
    right: 5%;
    transform: none;
    padding: 1rem 2rem;
  }
  /* topdoctor */
  .section03.top_doctor .flex_box {
    align-items: center;
    flex-direction: column;
  }
  .section03.top_doctor .flex_box .parts_01 {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5rem;
  }
  .section03.top_doctor .flex_box .parts_01 .img img, .section03.top_doctor .flex_box .parts_02 .img img {
    width: 35%;
  }
  .section03.top_doctor .area .box.box_01, .section03.top_doctor .area .box.box_02 {
    border-radius: 65px;
  }
  .section03.top_doctor .area .box.box_01 {
    z-index: -1;
  }
  .section03.top_doctor .area .box.box_02 {
    z-index: 0;
  }
  .section03.top_doctor .flex_box .parts_02 {
    width: 100%;
    margin-top: 22px;
  }
  /* shinryou */
  .section04.top_about .img_01 {
    width: 40%;
    top: -1%;
  }
  .section04.top_about .main_area .box:nth-of-type(1) {
    width: 70%;
    padding: 1rem;
    border-radius: 35px;
  }
  .section04.top_about .main_area .box:nth-of-type(2) {
    width: 90%;
    padding: 4rem 2rem 3rem;
    border-radius: 50px;
  }
  .section04.top_about .main_area .box ul {
    margin-top: 5px;
  }
  .section04.top_about .main_area .box ul li {
    line-height: 35px;
  }
  .section04.top_about .main_area .box:nth-of-type(3) {
    width: 85%;
    border-radius: 64px;
    padding: 4rem 1rem 3rem;
  }
  .section04.top_about .main_area .card {
    width: 45%;
    height: 150px;
  }
  .top_about .sub_area .box.box_01 .img_01 {
    top: 0%;
    left: 47%;
  }
  .section_sub_ttl {
    padding: 2.5rem 2.2rem 2.4rem 2rem;
  }
  .top_about .sub_area .box.box_01, .top_about .sub_area .box.box_02, .top_about .sub_area .box.box_03, .top_about .sub_area .box.box_04, .top_about .sub_area .box.box_05 {
    height: 500px;
    position: relative;
    width: 100%;
  }
  .top_about .sub_area .box.box_02 .img_01 {
    right: 47%;
    top: 0%;
  }
  .top_about .sub_area .img_01 {
    width: 50%;
  }
  .top_about .sub_area .box.box_03 .img_01 {
    left: 47%;
  }
  .top_about .sub_area .box.box_03 {
    height: 420px;
  }
  .top_about .sub_area .txt_box {
    width: 85%;
    padding: 2rem 3rem;
    border-radius: 73px;
  }
  .top_about .sub_area .box.box_04 {
    height: 675px;
  }
  .top_about .sub_area .box.box_03 .img_01 {
    left: 47%;
    top: -12%;
  }
  .top_about .sub_area .txt_box .ttl::before {
    top: 56%;
}
  .top_about .sub_area .txt_box .ttl {
    line-height: 1.8;
  }
  .top_about .sub_area .box.box_04 .txt_box p:nth-child(3){
    top: 46%;
  }
  .top_about .sub_area .txt_box .ex {
    margin-top: 15px;
  }
  .top_about .sub_area .box.box_05 .img_01 {
    left: 46%;
  }
  .top_about .sub_area .box.box_05 {
    height: 410px;
  }
  .top_about .sub_area .box.box_05 .ex {
    margin-bottom: 15px;
  }
  .top_about .sub_area .box.box_02 {
    height: 520px;
  }
  .top_about .sub_area .box.box_03 .txt_box {
    top: 26%;
    height: auto;
  }
  .top_about .sub_area .box.box_03 .link_btn {
    bottom: -2%;
  }
  .top_about .sub_area .box.box_04 .img_01 {
    top: 4%;
    right: 47%;
    z-index: -1;
  }
  .section04.top_about .main_area .box ul li::before {
    top: 0;
    line-height: 34px;
    left: 8px;
  }
  .section04.top_about .main_area .box .ex {
    width: 100%;
    padding: 1rem;
  }
  /* top_schedule */
  .top_schedule .name {
    font-size: 25px;
  }
  .top_schedule .area {
    margin-top: 40px;
  }
  /* access */
  .top_access .box {
    width: 100%;
  }
  .top_access .map_area {
    width: 100%;
  }
  /* partner */
  .top_partner .area {
    width: 100%;
  }
  .top_partner .flex_box {
    border-radius: 65px;
    padding: 1rem 2rem;
    height: 300px;
  }
  .top_partner .flex_box .card img {}
  .top_partner .flex_box .card:nth-child(1) img {
  }
  .top_partner .flex_box .card:nth-child(2) img {
  }
  .top_partner .flex_box .card:nth-child(3) img {
  }
  .top_partner .flex_box .card:nth-child(4) img {
  }
  .top_partner .flex_box .card:nth-child(5) img {
  }
  .top_about .sub_area .box.box_04 .img_01 {
    top: 0%;
    right: 44%;
  }
}

@media screen and (max-width:630px) {
  .section_sub_ttl {
    padding: 2.5rem 2.5rem 2.7rem 1.5rem;
  }
  /* top */
  .top .copy .back {
    width: 95vw;
  }
  .top .copy h2 {
    font-size: 20px;
  }
  /* reservation */
  .reservation_area .area {
    flex-direction: column;
    width: 100%;
  }
  .reservation_area .box:first-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    height: auto;
  }
  .reservation_area .ex {
    margin-top: 16px;
  }
  .reservation_area .ex p {
    font-size: 13px;
    text-align: left;
    line-height: 1.6;
  }
  .section04.top_about .main_area .box ul li {
    line-height: 30px;
  }
  .reservation_area {
    padding: 16px 8px 7px;
    position: relative;
    left: 0;
    top: 0px;
    width: 100%;
    margin-top: 8px;
  }
  .reservation_area .link_btn {
    bottom: -22%;
    right: 0%;
  }
  .reservation_area .link_btn .btn a {
    padding: 0.7rem 1.3rem;
    font-size: 13px;
  }
  .top .copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* top_news */
  .section01.top_news {
    margin-top: 35px;
  }
  /* greeding */
  .section02.top_greeding .img_01 {
    top: 9%;
    z-index: -1;
  }
  .section02.top_greeding .img_01 img {
    width: 50%;
  }
  .section02.top_greeding .contents {
    position: relative;
  }
  .section02.top_greeding .catch_word {
    height: auto;
    gap: 1rem;
    margin-top: 95px;
  }
  .section02.top_greeding .catch_word .sub01 {
    position: relative;
    font-size: 18px;
  }
  .section02.top_greeding .catch_word .sub02 {
    position: relative;
    font-size: 18px;
  }
  .section02.top_greeding .catch_word .sub02.sp4 {
    margin-left: 15px;
  }
  .section02.top_greeding .catch_word .copy_ttl {
    position: relative;
    font-size: 20px;
    font-weight: 800;
  }
  .section02.top_greeding .ex ul li {
    padding-left: 0px;
    line-height: 2;
    margin-bottom: 15px;
    padding-bottom: 0;
  }
  .section02.top_greeding .ex ul li:nth-child(odd)::before {
    width: 10px;
    height: 10px;
    position: absolute;
    top: -4%;
    left: 7%;
  }
  .section02.top_greeding .ex ul li:nth-child(even)::before {
    width: 10px;
    height: 10px;
    position: absolute;
    top: -3%;
    left: 7%;
  }
  .section02.top_greeding .img_02 {
    display: none;
  }
  .section02.top_greeding .img_03 {
    width: 75%;
  }
  .section02.top_greeding .ex ul {
    text-indent: 0;
  }
  .top_greeding .modal-open {
    top: 52%;
  }
  .top_greeding .modal-content {
    border-radius: 15px;
    padding: 1rem 1rem;
  }
  .top_greeding .modal-container {
    padding: 20px 5px;
  }
  .top_greeding .modal-close {
    top: -20px;
    right: -20px;
    z-index: 999;
  }
  /* doctor */
  .section03.top_doctor .area .box.box_01, .section03.top_doctor .area .box.box_02 {
    padding: 7% 2%;
    margin: 25px 0
  }
  .section03.top_doctor .flex_box .parts_01 {
    justify-content: center;
    gap: 1rem;
  }
  .section03.top_doctor .flex_box .parts_01 .name_box .posttype {
    line-height: 30px;
  }
  .section03.top_doctor .flex_box .parts_02 {
    margin-top: 8px;
  }
  .section03.top_doctor .flex_box .parts_02 .txt_box .ttl {
    line-height: 40px;
    font-size: 20px;
  }
  .section03.top_doctor .flex_box .parts_02 .txt_box ul.lead {
    text-indent: -17px;
  }
  .section03.top_doctor .illust_box {
    bottom: 8%;
    right: 3%;
    opacity: .4;
    display: flex;
    justify-content: flex-end;
  }
  .section03.top_doctor .link_btn {
    position: absolute;
    right: 0%;
    bottom: 0%;
  }
  .section03.top_doctor .area .box.box_01, .section03.top_doctor .area .box.box_02 {
    padding-bottom: 80px;
    z-index: 1;
  }
  .section03.top_doctor .flex_box .parts_02 .txt_box:not(:first-child) {
    margin-top: 16px;
  }
  .section03.top_doctor .illust_box img {
    width: 50%;
  }
  .section04.top_about .area {
    position: relative;
  }
  .section04.top_about .main_area {
    margin-top: -25%;
  }
  .section04.top_about .main_area .box ul li::before {
    line-height: 28px;
    left: 12px;
  }
  /* shiryou */
  .ttl-icon01 {
    width: 25px;
    height: 20px;
    margin-top: 0.4em;
  }
  .top_about .sub_area .ttl-icon01 {
    width: 20px;
    height: 12px;
  }
  .top_about .sub_area .ttl-icon02 {
    width: 22px;
    height: 14px;
  }
  .section04.top_about .img_01 {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    z-index: -1;
  }
  .section04.top_about .img_01 img {
    width: 60%;
  }
  .section04.top_about .main_area .box:nth-of-type(1) {
    padding: 1rem;
    width: 100%;
    background-color: #ffffffd6;
  }
  .section04.top_about .main_area .box .ex {
    width: 100%;
    padding: 8px;
    line-height: 2;
  }
  .section04.top_about .main_area .box:nth-of-type(2) {
    width: 100%;
    padding: 2rem 1rem 2rem;
    border-radius: 12%;
    margin-top: 8px;
  }
  .section04.top_about .main_area .box:nth-of-type(3) {
    width: 100%;
    border-radius: 9%;
    padding: 10px;
    margin-top: 8px;
  }
  .section04.top_about .main_area .card .link_ttl {
    width: 100%;
    text-align: center;
    font-size: 14px;
  }
  .section04.top_about .main_area .card {
    height: 120px;
  }
  .section04.top_about .main_area .card .img_arrow {
    right: -10%;
  }
  .section04.top_about .main_area .card .img_arrow img {
    width: 60%;
  }
  .top_about .sub_area .txt_box {
    width: 100%;
    padding: 2rem 1rem;
    border-radius: 10%;
    position: absolute;
  }
  .top_about .sub_area .box.box_01 {
    height: 485px;
  }
  .top_about .sub_area .box.box_02 {
    height: 543px;
  }
  .top_about .sub_area .box.box_03 {
    height: 560px;
  }
  .top_about .sub_area .box.box_04 {
    height: 585px;
}
  .top_about .sub_area .box.box_05 {
    height: 560px;
  }
  .top_about .sub_area .box.box_03 {
    height: 500px;
}
  .top_about .sub_area .box.box_05 {
    height: 500px;
  }
  .top_about .sub_area .txt_box .ttl {
    line-height: 1.6;
    font-size: 16px;
  }
  .top_about .sub_area .txt_box .ex {
    margin-top: 8px;
    margin-bottom: 25px;
  }
  .top_about .sub_area .box.box_01 .img_01 {
    top: 0%;
    right: 0;
    left: auto;
  }
  .top_about .sub_area .box.box_02 .img_01 {
    top: 15%;
    left: 0;
    right: auto;
    justify-content: flex-start;
  }
  .top_about .sub_area .box.box_03 .img_01 {
    top: -5%;
    z-index: -1;
    right: 0;
    left: auto;
  }
  .top_about .sub_area .box.box_05 .img_01 {
    right: 0;
    left: auto;
  }
  .top_about .sub_area .txt_box .ex li.mark {
    padding-left: 1.6rem;
    text-indent: -1.5rem;
  }
  .top_about .sub_area .box.box_02 .txt_box {
    top: 36%;
  }
  .top_about .sub_area .box.box_03 .txt_box {
    top: 40%;
    height: auto;
    background-color: #ffffffcf;
  }
  .top_about .sub_area .box.box_04 .txt_box {
    top: 22%;
  }
  .top_about .sub_area .box.box_04 .img_01 {
    top: 5%;
  }
  .top_about .sub_area .box.box_05 .img_01 {
    top: -9%;
    z-index: -1;
  }
  /* access */
  .section05.top_schedule {
    margin-top: 35px;
  }
  .top_schedule .area {
    margin-top: 25px;
  }
  .top_schedule .name {
    font-size: 18px;
  }
  .top_access .box {
    margin: 25px auto 30px;
  }
  .top_access .container {
    margin-top: 30px;
  }
  /* partner */
  .top_partner .flex_box {
    padding: 3rem 1rem;
    height: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 32px;
    align-items: center;
  }
  .top_partner .flex_box .card {
    width: 85%;
    margin: 0 auto;
  }
  .top_partner .flex_box .card img {
    max-width: 100%;
    max-height: 70px;
    height: auto;
    display: block;
  }
  .top_partner .flex_box .card:nth-child(1) {
    width: 85%;
  }
  .top_partner .flex_box .card:nth-child(1) img {
    width: 100%;
  }
  .top_partner .flex_box .card:nth-child(2) img {
    width: 80%;
  }
  .top_partner .flex_box .card:nth-child(3) img {
    width: 80%;
  }
  .top_partner .flex_box .card:nth-child(4) img {
    width: 80%;
  }
  .top_partner .flex_box .card:nth-child(5) img {
    width: 80%;
  }
  .top_partner .contents {
    margin-top: 50px;
  }
  .top_partner .area {
    width: 100%;
    border-radius: 35px;
    margin-top: 18px;
}
}