@charset "utf-8";

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

メインビジュアル

==================================================================*/
.mainvisual_wrap {
  position: relative;
}
.mainvisual_text {
  position: absolute;
  left: 6.7vw;
  top: 8.59vw;
  color: rgba(108, 145, 142, 1);
  font-size: 4.5vw;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
   line-height: 1.7;
}
.mainvisual_text01 {
  font-weight: bold;
  font-size: 120%;
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-feature-settings: normal;
  margin: 0 0.4em;
}
@media (min-width: 960px){

  .mainvisual {
    display: grid;
    max-width: 95vw;
    margin: auto;
    grid-template-columns: 81vw auto;
    align-items: center;
    gap: 2.5vw 0;
  }
  .mainvisual_text {
    left: 10.7vw;
  }
  .mainvisual01 {
    grid-row: 1/ 3;
    margin: 0;
  }
  .mainvisual02 {
    grid-column: 2 / 3;
    grid-row: 1/ 2;
      align-self: end;
  }
  .mainvisual02 img {
    max-width: unset;
    width: 200%;
    margin-left: -100%;
    border-radius: 1.9vw;
  }
  .mainvisual03 {
    grid-column: 2 / 3;
    grid-row: 2/ 3;
    align-self: start;
  }
  .mainvisual03 img {
    max-width: unset;
    width: 150%;
    margin-left: -50%;
    border-radius: 1.6vw;
  }
  .mainvisual_text {
    font-size: 1.7vw;
  }
}
@media (min-width: 1920px){
  .mainvisual01 img {
    width: 82vw;
  }
}


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

医院からのお知らせ

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


.top_notice {
  background: linear-gradient(351deg,rgba(145, 197, 192, 0.9),rgba(235, 242, 185, 0.9));
}
.top_notice_inner {
  max-width: fit-content;
  margin: 0 auto 0;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  display: grid;
  grid-gap: 40px;
  padding: 40px;
  translate:  0 -60px;
  line-height: 1.5;
}
.top_notice h2 {
  font-size: 22px;
  text-align: left;
  font-family: yu-mincho-pr6n, serif;
  margin-bottom: 10px;
}
.top_notice_time {
  letter-spacing: 0;
  font-family: 'Noto Sans JP',sans-serif;
}
.top_notice_time th {
  color: rgba(145, 197, 192, 1);
  padding: 5px 20px;
  text-align: center;
  font-weight: bold;
}
.top_notice_time td {
  padding: 5px 12px;
  text-align: center;
}
.top_notice_time tbody th,
.top_notice_time tbody td {
  border-top: 1px solid #000;
  text-align: center;
}


@media (min-width: 1080px){
  .top_notice_inner {
    grid-template-columns: 23em auto;
  }
}
@media (max-width: 959px){
  .top_notice {
    position: relative;
    background: none;
    z-index: 0;
  }
  .top_notice_inner {
    grid-template-columns: auto;
    max-width: 85%;
    translate: 0;
  }
  .top_notice_info h2 {
    text-align: center;
    font-size: 24px;
  }
  .top_notice_time table {
    width: 100%;
    margin-bottom: 10px;
  }
  .top_notice_time th {
    width: 9em;
  }
  .top_notice_time td {
    padding-left: 5px;
    padding-right: 5px;
  }  
  
}
@media (max-width: 959px) and (min-width: 560px){
  .top_notice_time {
    max-width: fit-content;
    margin: auto;
  }
  .top_notice_time_text {
    max-width: fit-content;
    margin: auto;
  }
}
@media (max-width: 559px){
  .top_notice_inner {
    padding: 5vw;
  }
  .top_notice_inner h2 {
    font-size: 24px;
    padding-top: 2vw;
  }
  .top_notice_time th,
  .top_notice_time td {
    padding-left: 5px;
    padding-right: 5px;
  }
  .top_notice_time_text {
    font-size: 12px;
  }
}
@media (max-width: 419px){
  .top_notice_time {
    font-size: 3.7vw;
  }
}


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

院長挨拶

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

.top_greeting {
  position: relative;
  padding: 100px 50px;
  margin-bottom: 40px;
  overflow: hidden;
}
.top_greeting h2 {
  color: #000000;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}

.bg_top_greeting {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.bg_top_greeting img {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: 100%;
}
.top_greeting_inner {
  position: relative;
  padding: 50px;
  max-width: fit-content;
  margin: auto;
  z-index: 1;
}
.top_greeting_inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: rgba(255,255,255,0.5);
  /* filter: blur(20px); */
  border-radius: 44px;
  top: 0;
  height: 100%;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
}
.top_greeting h2 .jp {
  display: block;
  font-size: 30px;
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-weight: bold;
  letter-spacing: 0.09em;
  margin-bottom: 0.2em;
  line-height: 1.2;
}
.top_greeting h2 .en {
  color: #3C3C3C;
  font-size: 18px;
  display: block;
  font-weight: bold;
  letter-spacing: 0;
}
.top_greeting h3 {
  color: #91C5C0;
  font-weight: bold;
  font-family: fot-tsukuardgothic-std, sans-serif;
  margin-bottom: 22px;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.1em;
  font-size: 19px;
}

.top_greeting_text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-feature-settings: initial;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 16px;
  text-align: left;
}
.top_greeting_name {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  color: #000;
  margin-top: 32px;
  letter-spacing: 0;
  line-height: 1.2;
}
.top_greeting_name .position {
  font-size: 80%;
}

.top_greeting_inner::after {
  content: "";
  position: absolute;
  left: 100%;
  width: 320px;
  margin-left: -40px;
  top: 0;
  bottom: -100px;
  background: 0% 100% / contain no-repeat;
  background-image: url(../../../uploads/2025/11/img_top_greeting_owner_2x.png);
}
@supports (mask) {
  .top_greeting_inner::after {
    background-image: url("../../../uploads/2025/11/img_top_greeting_owner_2x.jpg");
    mask: url(../../..//uploads/2025/11/img_top_greeting_owner_mask.png) 0 100% / contain no-repeat;
  }
}
@supports (background-image: url(../../../uploads/2025/11/img_top_greeting_owner_2x.webp)) {
  .top_greeting_inner::after {
    background-image: url(../../../uploads/2025/11/img_top_greeting_owner_2x.webp);
    mask: unset;
  }
}
@media (min-width: 960px){
  .top_greeting h2 .jp {
    font-size: 45px;
    text-box-trim: trim-both;
  }
  .top_greeting h2 .en {
    font-size: 18px;
    text-box-trim: trim-both;
  }
  .top_greeting h3 {
    font-size: 28px;
  }
  .top_greeting_text {
   text-align: center;
  }
  .top_greeting_name {
    font-size: 24px;
  }
}

@media (min-width: 1120px) and (max-width: 1339px){
  .top_greeting_inner {
    translate: -60px;
  }
}
@media (max-width: 1119px){
  .top_greeting {
    padding-bottom: 400px;
  }
  .top_greeting_inner::after {
    left: 50%;
    width: 320px;
    margin-left: -170px;
    margin-top: 30px;
    top: 100%;
    height: 535px;
    bottom: unset;
    image-rendering: -webkit-optimize-contrast;
  }
}
@media (max-width: 559px){
  .top_greeting {
    padding-left: 0;
    padding-right: 0;
  }
  .top_greeting_inner {
    padding-left: 30px;
    padding-right: 30px;
  }
  .top_greeting_inner::before {
    border-radius: 0;
  }
  .top_greeting_text {
    text-align: left;
  }

}



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

治療と特徴
タイトル部分

==================================================================*/
.top_feature {
  color: rgba(60, 60, 60, 1);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
}
.top_feature_titlebox {
  position: relative;
  padding: 1px;
  margin-bottom: -1px;
}
.bg_top_feature_titlebox {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.bg_top_feature_titlebox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.top_feature_titlebox_box {
  background: linear-gradient(90deg, rgba(255,255,255,0),rgba(255,255,255,0.9),rgba(255,255,255,0.9),rgba(255,255,255,0));
  /* margin: 40px 0; */
}
.top_feature_titlebox_box_inner {
  max-width: fit-content;
  margin: 40px auto;
  padding: 40px;
}

.top_feature h2 {
  font-size: 30px;
  text-align: center;
  font-weight: 500;
  font-family: fot-tsukuardgothic-std, sans-serif;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}
.top_feature h2 .top_feature_title_main {
  font-size: 57.5px;
}
.top_feature h2 .top_feature_title_main .mini {
  font-size: 80%;
}
.top_feature h2 .top_feature_title_en {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}
@media (min-width: 960px){
  .top_feature h2 {
    font-size: 36px;
  }
  .top_feature h2 .top_feature_title_main {
    font-size: 84.5px;
  }
  .top_feature {
    font-size: 22px;
  }
}
@media (max-width: 959px){
  .top_feature h2 {
    margin-bottom: 25px;
    line-height: 1.3;
  }
  .top_feature h2 .top_feature_title_en {
    position: relative;
    top: -6px;
  }
  .top_feature_text {
    margin-bottom: 40px;
  }
  .top_feature h2 {
    font-size: 24px;
  }
  .top_feature h2 .top_feature_title_en {
    font-size: 14px;
    top: 0;
  }
}

.top_feature_box_title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
  position: relative;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.top_feature01_box::before,
.top_feature02_box::before,
.top_feature03_box::before,
.top_feature04_box::before { 
  color: #fff;
  position: absolute;
  left: 50%;
  top: 3px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 100px;
  letter-spacing: 0;
  text-box-trim: trim-both;
  display: grid;
  align-items: end;
  line-height: 1;
  translate: -50% 0;
  font-weight: bold;
}
.top_feature h3 .sub_title {
  font-size: 18px;
  display: inline-block;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 2px;
}
.top_feature_text {
  text-align: center;
  font-size: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-feature-settings: initial;
  color: #3C3C3C;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 960px){
  .top_feature01_box::before {
    content: none;
  }
  .top_feature_box_title {
    font-size: 36px;
    padding-left: 80px;
    max-width: unset;
  }
  .top_feature_box_title::before {
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    font-family: "Zen Maru Gothic", sans-serif;
    letter-spacing: 0;
    text-box-trim: trim-both;
    display: grid;
    align-items: end;
    line-height: 1;
    margin-bottom: -0.05em;
    font-size: 140px;
  }
  .top_feature h3 .sub_title {
    font-size: 21px;
  }
}

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

治療と特徴
01

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

.top_feature01 {
  position: relative;
  background: linear-gradient(90deg, rgba(145, 197, 192, 1) 50%, rgba(145, 197, 192, 0.5));
}
.bg_top_feature01 {
  position: absolute;
  left: 50%;
  width: 50%;
  top: 0;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.bg_top_feature01 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.top_feature01_box {
  max-width: 610px;
  margin: auto;
  padding: 120px 7% 80px;
}
.top_feature01_box::before {
  content: "1";
}
.top_feature01_box_title {
  margin-bottom: 30px;
}
.top_feature01_box_img {
  margin-bottom: 20px;
}

@media (max-width: 959px) {
  .top_feature01_box_img img {
    width: 100%;
  }
}
@media (min-width: 960px) {
  .top_feature01 {
    background: linear-gradient(90deg, rgba(145, 197, 192, 1) 50%, rgba(145, 197, 192, 0));
  }
  .top_feature01_box {
    max-width: 1220px;
    display: grid;
    grid-template-columns: 1fr 40%;
    grid-gap: 0 30px;
    padding: 80px 40px;
  }
  .top_feature01_box::before {
    content: none;
  }
  .top_feature01_box_img {
    margin-bottom: 0;
  }
  .top_feature01_box_title h3::before {
    content: "1";
  }
}
@media (min-width: 1140px){
  .top_feature01_box_title {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    align-self: end;
  }
  .top_feature01_box_img {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
  .top_feature01_box_text {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: start;
  }
}
@media (min-width: 960px) and (max-width: 1139px){
  .top_feature01_box {
    grid-template-columns: 1fr 1fr;
  }
  .top_feature01_box_title {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    align-self: end;
  }
  .top_feature01_box_img {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .top_feature01_box_text {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: start;
  }

}


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

治療と特徴
02

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

.top_feature02_box {
  position: relative;
  background: linear-gradient(90deg,rgba(235, 242, 185, 0.5),rgba(235, 242, 185, 1));
}
.bg_top_feature02 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.bg_top_feature02 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.top_feature02_box::before {
  content: "2";
  color: rgba(145, 197, 192, 1);
}
.top_feature02_box_inner {
  max-width: 610px;
  margin-left: auto;
  margin-right: auto;
  padding: 120px 7% 80px;
  display: grid;
}
.top_feature02_box_title {
  margin-bottom: 30px;
}
.top_feature02_box_img {
  margin-bottom: 30px;
}
.top_feature02_box_img img {
  border-radius: 30px;
}
.top_feature02_box_text {
  margin-bottom: 20px;
}

@media (min-width: 960px){
  .top_feature0203_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .top_feature02_box_inner {
    height: 100%;
    grid-template-rows: auto auto 1fr;
    margin-right: unset;
    padding: 90px 40px;
  }
  .top_feature02_box_img img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
  .top_feature02_box::before { 
    content: none;
  }
  .top_feature02_box_title h3::before {
    content: "2";
    color: rgba(145, 197, 192, 1);
  }
  .top_feature02_box_title {
    order: 1;
  }
  .top_feature02_box_img {
    order: 3;
  }
  .top_feature02_box_text {
    order: 2;
  }

}



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

治療と特徴
03

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

.top_feature03_box {
  position: relative;
  background: linear-gradient(90deg,rgba(247, 210, 152, 1),rgba(247, 210, 152, 0.5));
}
.bg_top_feature03 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.bg_top_feature03 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.top_feature03_box::before {
  content: "3";
}
.top_feature03_box_inner {
  max-width: 610px;
  margin-right: auto;
  margin-left: auto;
  padding: 120px 7% 80px;
  display: grid;
}
.top_feature03_box_title {
  margin-bottom: 30px;
}
.top_feature03_box_img {
  margin-bottom: 30px;
}
.top_feature03_box_img img {
  border-radius: 30px;
}
.top_feature03_box_text {
  margin-bottom: 20px;
}
@media (min-width: 960px){
  .top_feature03_box::before { 
    content: none;
  }
  .top_feature03_box_inner {
    height: 100%;
    grid-template-rows: auto auto 1fr;
    margin-left: unset;
    padding: 90px 40px;
  }
  .top_feature03_box_img img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
  .top_feature03_box_title {
    order: 1;
  }
  .top_feature03_box_title h3::before {
    content: "3";
    color: #fff;
  }
  .top_feature03_box_img {
    order: 3;
  }
  .top_feature03_box_text {
    order: 2;
  }

}

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

治療と特徴
04

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

.top_feature04 {
  position: relative;
  background: #e5e5e5;
}
.bg_top_feature04 {
  position: absolute;
  left: 50%;
  width: 50%;
  top: 0;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.bg_top_feature04 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.top_feature04_box {
  max-width: 610px;
  margin: auto;
  padding: 120px 7% 80px;
}
.top_feature04_box::before {
  content: "4";
}
.top_feature04_box_img {
  margin-bottom: 20px;
}
.top_feature04_box_img img {
  border-radius: 30px;
}
.top_feature04_box_title {
  margin-bottom: 30px;
}

@media (min-width: 960px){
  .top_feature04_box {
    max-width: 1220px;
    display: grid;
    grid-template-columns: 1fr 40%;
    grid-gap: 0 30px;
    padding: 80px 40px;
  }
  .top_feature04_box::before {
    content: none;
  }
  .top_feature04_box_title h3::before {
    content: "4";
  }
  .top_feature04_box_img {
    margin-bottom: 0;
  }
}

@media (min-width: 1140px){
  .top_feature04_box_title {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    align-self: end;
  }
  .top_feature04_box_img {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
  .top_feature04_box_text {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: start;
  }
}
@media (min-width: 960px) and (max-width: 1139px){
  .top_feature04_box {
    grid-template-columns: 1fr 1fr;
  }
  .top_feature04_box_title {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    align-self: end;
  }
  .top_feature04_box_img {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .top_feature04_box_text {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: start;
  }
}


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

定期検診

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

.top_examination {
  position: relative;
  background: linear-gradient(90deg,rgba(108, 145, 142, 0.84),rgba(108, 145, 142, 0.84),rgba(145, 197, 192, 0.84));
  padding: 80px 40px 220px;
  overflow: hidden;
}
.top_examination_inner {
  max-width: fit-content;
  margin: auto;
}
.bg_top_examination {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.bg_top_examination img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.top_examination h2 {
  font-size: 36px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  line-height: 1.4;
}
.top_examination h2 .en {
  font-size: 18px;
  display: block;
  font-weight: normal;
  letter-spacing: 0;
  font-family: "Noto Sans JP", sans-serif;
}
.top_examination_inner {
  text-align: center;
  color: #fff;
}
.top_examination_btn {
  text-align: center;
  margin-top: 30px;
}
.top_examination_btn a {
  display: inline-block;
  padding: 15px 20px;
  min-width: 300px;
  border: 1px solid #fff;
  color: #fff;
  position: relative;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
}
.top_examination_btn a::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 15px;
  top: 50%;
  translate:  0 -50%;
  clip-path: polygon(0 0%,0 100%, 100% 50%);
  background: #fff;
  right: 15px;
  transition: all 0.3s;
}
.img_top_examination {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: 60px;
  width: 280px;
}
.top_examination_btn a:hover {
  background: #fff;
  color: #8DA5A0;
  border-color: #8DA5A0;
}
.top_examination_btn a:hover::after  {
  background: #8DA5A0;
}

@media (min-width: 960px){
  .top_examination {
    padding-bottom: 80px;
  }
  .img_top_examination {
    margin-left: 160px;
  }
}
@media (max-width: 559px){
  .top_examination {
    padding-bottom: 190px;
  }
  .img_top_examination {
    left: unset;
    margin-left: 0;
    right: -50px;
  }
  .top_examination_btn {
    margin-right: 90px;
    margin-left: 0;
  }
  .top_examination_btn a {
    min-width: unset;
    width: 100%;
  }
}

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

診療科目・診療メニュー

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

.top_menu {
  padding: 60px 20px 20px;
  background: linear-gradient(149deg,rgba(235, 242, 185, 1),rgba(145, 197, 192, 1));
}
.top_menu h2 {
  font-size: 36px;
  text-align: center;
  color: rgba(108, 145, 142, 1);
  margin-bottom: 30px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  line-height: 1.4;
}
.top_menu h2 .en {
  font-size: 18px;
  display: block;
  font-weight: normal;
  letter-spacing: 0;
  font-family: "Noto Sans JP", sans-serif;
}
.top_menu_subject_inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  max-width: 1220px;
  margin: 0 auto 60px;
  gap: 20px;
}
.top_menu_subject_item {
  display: grid;
  /* grid-template-rows: subgrid;
  grid-row: span 3; */
  /* gap: 0; */
    line-height: 1.4;
}
.top_menu_subject_item a {
  color: inherit;
  text-decoration: none;
  background: #fff;
  padding: 15px 20px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.top_menu_subject_item .img {
  /* background: #6c918e; */
  /* mix-blend-mode: multiply; */
  height: 110px;
  padding: 20px;
}
.top_menu_subject_item .img img {
    width: 250%;
    height: 250%;
    margin-top: -26%;
  /* object-fit: contain; */
  /* object-position: 50% 50%; */
  /* background: #eee; */
  display: block;
  /* margin: auto; */
  /* filter: brightness(0) saturate(100%) invert(58%) sepia(21%) saturate(403%) hue-rotate(126deg) brightness(89%) contrast(86%); */
  transition: all 0.3s ease;
}

.top_menu_subject_item .title {
  color: #6c918e;
  font-weight: bold;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}
.top_menu_subject_item a:hover {
  background: #6C918E;
  color: #fff;
}
.top_menu_subject_item a:hover .title {
  color: #fff;
}
.top_menu_subject_item a:hover .img img {
  filter: brightness(0) saturate(100%) invert(99%) sepia(100%) saturate(2%) hue-rotate(269deg) brightness(105%) contrast(101%);
}
@media (max-width: 1199px){
  .top_menu_subject_item .img {
    height: 10vw;
  }
  .top_menu_subject_item .img img {
    margin-top: 0;
    translate: 0 -30%;
  }
}
@media (max-width: 959px){
  .top_menu_subject_item .img {
      height: 12vw;
  }
  .top_menu_subject_inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 559px){
  .top_menu_subject_inner {
    grid-template-columns: repeat(1, 1fr);
  }
  .top_menu_subject_item {
    max-width: 300px;
    margin: auto;
  }
  .top_menu_subject_item .img {
    height: 80px;
  }
}


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

診療メニュー

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

.top_menu_treatment_inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: 1fr 1fr;
  max-width: 1220px;
  margin: 0 auto 60px;
  gap: 20px;
}
.top_menu_treatment_item a {
  color: unset;
  text-decoration: none;
    display: grid;
    height: 100%;
  padding: 15px;
  background: #fff;
  border-radius: 30px;
  line-height: 1.4;
  transition: all 0.3s ease;
    grid-template-rows: auto 1fr;
}
.top_menu_treatment_item .img {
  height: 110px;
  padding: 20px;
  transition: all 0.3s ease;
}
.top_menu_treatment_item .img img {
    width: 250%;
    height: 250%;
    margin-top: -21%;
  /* object-fit: contain; */
  /* object-position: 50% 50%; */
  /* background: #eee; */
  display: block;
  /* margin: auto; */
  /* filter: brightness(0) saturate(100%) invert(58%) sepia(21%) saturate(403%) hue-rotate(126deg) brightness(89%) contrast(86%); */
  transition: all 0.3s ease;
}
.top_menu_treatment_item .title {
  color: #6c918e;
  font-weight: bold;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  display: grid;
  align-items: center;
}
.top_menu_treatment_item a:hover {
  background: #6C918E;
}
.top_menu_treatment_item a:hover .title {
  color: #fff;
}
.top_menu_treatment_item a:hover .img img {
  filter: brightness(0) saturate(100%) invert(99%) sepia(100%) saturate(2%) hue-rotate(269deg) brightness(105%) contrast(101%);
}
@media (min-width: 1200px){
  .top_menu_treatment_item.prevention .img img {
    translate: 5px -10px;
  }
}
@media (max-width: 1199px){
  .top_menu_treatment_item .img {
    height: 10vw;
  }
  .top_menu_treatment_item .img img {
    margin-top: 0;
    translate: 0 -30%;
  }
}
@media (max-width: 959px){
  .top_menu_treatment_item .img {
      height: 12vw;
  }
  .top_menu_treatment_inner {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}
@media (max-width: 559px){
  .top_menu_treatment_item .img {
    height: 80px;
  }
  .top_menu_treatment_item .title {
    font-size: 20px;
    line-height: 1.2;
  }
}


/*==========================================================================*/
/*==footer loop==*/
/*==========================================================================*/
.footerloop {
  display: flex;
  overflow: hidden;
  max-width: 100vw;
  padding: 30px;
  grid-gap: 30px;
  background: #91C5C0;
}
.footerloop_box {
  display: flex;
  animation: footerloop_anime 95s infinite linear 0.5s both;
  align-items: center;
  grid-gap: 30px;
}
.footerloop .slide {
  width: calc(100vw / 1.5);
}
@keyframes footerloop_anime {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (min-width: 560px) and (max-width: 959px) {
  .footerloop .slide {
    width: calc(100vw / 2.5);
  }
}
@media (min-width: 960px) {
  .footerloop .slide {
    width: calc(100vw / 5.5);
  }
}
/*==========================================================================*/
/*==footer loop   ここまで==*/
/*==========================================================================*/