@charset "UTF-8";
@import "subpage.css";
a {
  text-decoration: none;
}
a:hover {
  transition: 0.3s;
  opacity: 0.7;
}

html {
  color: #554530;
  font-family: "Noto Sans JP", sans-serif;
  height: 100%;
}

body {
  height: 100%;
}

ol,
ul {
  list-style: none;
  list-style-type: none;
}

.main_wrap {
  max-width: 1150px;
  margin: auto;
  padding: 0px 10px;
}

.wave {
  height: calc(100% - 135px);
  padding: 0 30px;
  background-image: url(/image/wave1.svg);
  background-position: center center;
  background-size: contain;
}
@media (min-width: 1920px) {
  .wave {
    background-size: cover;
  }
}

h2 {
  font-size: 35px;
  font-weight: bold;
  position: relative;
  margin-bottom: 30px;
}
h2::after {
  content: "";
  position: absolute;
  height: 35px;
  width: 35px;
  top: -14px;
  z-index: -1;
  left: -12px;
  background-size: contain;
  background-image: url(/image/headline2.svg);
}

.btn {
  background-color: #554530;
  padding: 10px 40px;
  border-radius: 50px;
  color: white;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}
.btn span {
  position: relative;
  padding-right: 20px;
  font-weight: bold;
}
.btn span::after {
  content: "";
  position: absolute;
  height: 27px;
  width: 27px;
  background-size: contain;
  top: -3px;
  right: -26px;
  display: block;
  margin-left: 10px;
  background-image: url(/image/btn_arrow.svg);
}
.btn:hover {
  transition: 0.3s;
  background: #96cc94;
  border-color: #96cc94;
  color: #fff;
  opacity: 0.7;
}

.main_visual_wrap {
  position: relative;
}
.main_visual_wrap::after {
  position: absolute;
  z-index: -1;
  content: "";
  background-color: #fcf3f3;
  width: 100%;
  left: 0;
  height: 240px;
  display: block;
  bottom: 0;
}
.main_visual_wrap .m_v_content {
  max-width: 1920px;
  margin: auto;
}
.main_visual_wrap .m_v_content .m_v_image {
  position: relative;
  text-align: right;
}
.main_visual_wrap .m_v_content .m_v_image::before {
  content: "";
  max-width: 1920px;
  height: 150px;
  width: 100%;
  background-size: contain;
  margin-left: 0;
  background-image: url(/image/touzai.svg);
  display: block;
  z-index: 2;
  position: absolute;
  bottom: -67px;
}
@media (min-width: 1400px) {
  .main_visual_wrap .m_v_content .m_v_image::before {
    height: 220px;
  }
}
.main_visual_wrap .m_v_content .m_v_image picture img {
  max-width: 1450px;
  width: 90%;
}
.main_visual_wrap .m_v_content .mv_caption {
  width: 700px;
  height: 350px;
  background-size: contain;
  margin-left: 0;
  display: block;
  z-index: 1;
  position: absolute;
  bottom: 15%;
  left: 10px;
}
@media (max-width: 1100px) {
  .main_visual_wrap .m_v_content .mv_caption {
    width: 390px;
    height: 210px;
  }
}
@media (max-width: 700px) {
  .main_visual_wrap .m_v_content .mv_caption {
    width: 190px;
    height: 145px;
  }
}

.top_intro {
  padding-top: 40px;
  background-color: #fcf3f3;
}
.top_intro .top_webmc {
  padding: 0 10px;
  text-align: center;
}
.top_intro .top_webmc img {
  max-width: 800px;
  margin: auto;
  width: 100%;
}

.wave_container .wave_line {
  background-image: url(/image/wave2.svg);
  width: 100%;
  background-size: cover;
  height: 110px;
}
@media (min-width: 1920px) {
  .wave_container .wave_line {
    height: 150px;
  }
}
.wave_container .wave2 {
  background-image: url(/image/wave3.svg);
}

.top_info {
  display: flex;
  max-width: 900px;
  margin: auto;
  gap: 30px;
  justify-content: center;
  padding-bottom: 90px;
}
@media (max-width: 1000px) {
  .top_info {
    flex-wrap: wrap;
  }
}
.top_info .item {
  border-radius: 20px;
  background-color: white;
  text-align: center;
}
.top_info .item .text {
  margin-bottom: 20px;
}
.top_info .item .text p {
  margin-bottom: 10px;
}
.top_info .item a {
  padding: 10px;
  display: inline-block;
  width: 210px;
  border-radius: 7px;
  transition: all 0.3s;
  color: #554530;
}
.top_info .item a span {
  position: relative;
  font-size: 15px;
}
.top_info .item a span::after {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  top: 3px;
  right: -20px;
}
.top_info .teiki {
  border: 4px solid #61a8cb;
}
.top_info .teiki a {
  border: 1px solid #61a8cb;
}
.top_info .teiki a:hover {
  background-color: #5ab4d8;
  color: #fff;
}
.top_info .teiki a:hover span::after {
  background-image: url(/image/ar1.svg);
}
.top_info .tokutei {
  border: 4px solid #7ba677;
}
.top_info .tokutei a {
  border: 1px solid #8fcc66;
}
.top_info .tokutei a:hover {
  background-color: #8fcc66;
  color: #fff;
}
.top_info .tokutei a:hover span::after {
  background-image: url(/image/ar2.svg);
}

.top_feature {
  max-width: 1300px;
  display: flex;
  margin: auto;
  gap: 50px;
  padding: 100px 10px;
}
@media (max-width: 1000px) {
  .top_feature {
    flex-wrap: wrap;
  }
}
.top_feature img {
  border-radius: 20px;
  width: 100%;
}
.top_feature .text_wrap h2 {
  margin-bottom: 30px;
}
.top_feature .text_wrap p {
  margin-bottom: 30px;
}
.top_feature .text_wrap .wrap_item {
  position: sticky;
  top: 100px;
  width: 370px;
  margin: 0 0 0 auto;
}
@media (max-width: 1000px) {
  .top_feature .text_wrap .wrap_item {
    width: 100%;
  }
}
.top_feature .content_wrap .item {
  margin-bottom: 30px;
}
.top_feature .content_wrap .item h3 {
  color: #61a8cb;
  font-size: 20px;
  margin-bottom: 7px;
}

.top_medical_checkup {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding-bottom: 70px;
  padding-top: 20px;
}
.top_medical_checkup img {
  width: 100%;
}
.top_medical_checkup .mc_item p + p {
  margin-bottom: 20px;
}
.top_medical_checkup .mc_item .btn {
  margin-bottom: 20px;
}
.top_medical_checkup .mc_image2 {
  text-align: right;
}
.top_medical_checkup .mc_image2 img {
  width: 90%;
}

.top_news {
  padding: 0px 10px;
  margin-bottom: 70px;
}
.top_news .main_wrap {
  display: flex;
  gap: 30px;
  border: 1px solid #909090;
  padding: 30px 50px;
  border-radius: 20px;
  box-shadow: 0px 7px 0px 0px rgba(0, 0, 0, 0.4);
}
.top_news .main_wrap .item {
  width: 160px;
}
.top_news .main_wrap .item h2 {
  margin-bottom: 10px;
}
.top_news .main_wrap .item h2::after {
  display: none;
}
.top_news .main_wrap .item .btn_news {
  background: #554530;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 20px;
  color: #fff;
}
.top_news .main_wrap .news_content {
  width: calc(100% - 160px);
}

.news_content li {
  margin-bottom: 10px;
}
.news_content li a {
  display: flex;
  gap: 20px;
  font-size: 16px;
  color: #554530;
}

.post_wrap a {
  display: flex;
  color: #554530;
}
.post_wrap a .time {
  width: 120px;
}
.post_wrap a .title.post_title {
  width: calc(100% - 120px);
}

header {
  background-color: #fcf3f3;
}
header a {
  color: #554530;
}
header .web_monshin {
  position: absolute;
}
header .web_monshin img {
  position: relative;
  right: -286px;
  width: 160px;
}
@media (max-width: 1000px) {
  header .web_monshin {
    position: relative;
  }
  header .web_monshin img {
    right: 40px;
  }
}
@media (max-width: 600px) {
  header .web_monshin img {
    right: 30px;
    width: 120px;
  }
}

.head_white {
  background-color: #fff !important;
}

.hamburger {
  width: 100%;
  padding: 20px 30px;
  max-width: 1400px;
  display: flex;
  z-index: 3;
  margin: auto;
}

.logo img {
  width: 86%;
}
@media (max-width: 600px) {
  .logo img {
    width: 130px;
  }
}

.hamburger .btn-gNav {
  position: fixed;
  top: 23px;
  right: 20px;
  width: 30px;
  height: 24px;
  z-index: 12;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 400ms;
}
@media (max-width: 780px) {
  .hamburger .btn-gNav {
    top: 25px;
  }
}
.hamburger .btn-gNav span {
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  transition: all 400ms;
}
.hamburger .btn-gNav span:nth-child(1) {
  top: 0;
}
.hamburger .btn-gNav span:nth-child(2) {
  top: 10px;
}
.hamburger .btn-gNav span:nth-child(3) {
  top: 20px;
}
.hamburger .btn-gNav.open span:nth-child(1) {
  background: #ffffff;
  top: 6px;
  transform: rotate(-45deg);
}
.hamburger .btn-gNav.open span:nth-child(2), .hamburger .btn-gNav.open span:nth-child(3) {
  top: 6px;
  background: #ffffff;
  transform: rotate(45deg);
}

.btn-gNav {
  display: none;
}

.gNav {
  display: flex;
  justify-content: space-between;
}
.gNav .gNav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}
.gNav .gNav-menu li {
  margin: 0 auto;
  padding: 0 5px;
  margin-top: auto;
  position: relative;
}
.gNav .gNav-menu li a {
  text-decoration: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 10px;
}
.dropdown-menu li {
  width: 240px;
  padding-bottom: 15px !important;
}
.dropdown-menu li:first-child {
  padding-top: 15px !important;
}
.dropdown-menu a {
  padding: 20px;
  font-weight: bold;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.header_right {
  margin-left: auto;
  display: flex;
}
.header_right .r_tel {
  text-align: center;
  position: relative;
}
@media (max-width: 600px) {
  .header_right .r_tel {
    display: none;
  }
}
.header_right .r_tel::before {
  content: "";
  position: absolute;
  display: block;
  top: 14px;
  left: -50px;
  width: 65px;
  height: 36px;
  background: url(/image/head_tell.svg) no-repeat;
  background-size: contain;
}
@media (max-width: 1000px) {
  .header_right .r_tel::before {
    top: 6px;
  }
}
.header_right .r_tel .tell {
  font-weight: bold;
  font-size: 1.5625vw;
}
@media (max-width: 1000px) {
  .header_right .r_tel .tell {
    font-size: 20px;
  }
}
.header_right .r_tel .rt {
  font-size: 0.625vw;
}
@media (max-width: 1000px) {
  .header_right .r_tel .rt {
    font-size: 10px;
  }
}

.contact_wrap {
  display: none;
}

@media screen and (max-width: 1000px) {
  .btn-gNav {
    display: block;
  }
  .btn-gNav span {
    background: #795548;
  }
  .gNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    height: 100%;
    background-color: rgba(55, 33, 20, 0.9882352941);
    font-size: 16px;
    box-sizing: border-box;
    z-index: 3;
    padding-top: 20px;
    transition: 0.3s;
    font-size: 15px;
  }
  .gNav.open {
    right: 0;
  }
  .gNav .gNav-menu {
    padding: 0;
    width: 100%;
    height: 100%;
    display: block;
    flex-direction: column;
    /*justify-content: center;*/
  }
  .gNav .gNav-menu li {
    width: 86%;
    padding: 10px;
    border-bottom: #525252 1px solid;
  }
  .gNav .gNav-menu li a {
    color: #fff;
  }
  .open2.btn-gNav span:nth-child(1) {
    background: #ffffff;
    top: 6px;
    transform: rotate(-45deg) translate(-5px, 5px);
  }
  .open2.btn-gNav span:nth-child(2) {
    background: #ffffff;
    top: 6px;
    opacity: 0; /* 第2スパンを非表示にする */
  }
  .open2.btn-gNav span:nth-child(3) {
    background: #ffffff;
    top: 20px;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  .dropdown {
    color: #fff;
    margin-top: 12px;
  }
  .dropdown-menu {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none !important;
    z-index: 1;
  }
  .dropdown-menu li {
    border-bottom: #525252 3px dotted !important;
  }
  .dropdown-menu li:first-child {
    margin-top: 11px;
    border-top: #525252 3px dotted !important;
  }
  .dropdown-menu li:last-child {
    border-bottom: 0 !important;
  }
}
@media (max-width: 600px) {
  .header {
    position: relative;
  }
  .gNav .gNav-menu li {
    width: 96%;
  }
  .sp_bottom_nav {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background-color: #211f1c;
    color: white;
    display: flex;
    justify-content: space-evenly;
  }
  .sp_bottom_nav a {
    color: white;
    text-decoration: none;
  }
  .sp_bottom_nav .tell_wrap {
    margin: auto;
    padding: 10px 20px;
    position: relative;
    width: 50%;
    text-align: center;
  }
  .sp_bottom_nav .tell_wrap a {
    position: relative;
  }
  .sp_bottom_nav .tell_wrap::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 80px;
    background-color: #ffffff;
    position: absolute;
    top: 0px;
    right: 0px;
  }
  .sp_bottom_nav .tell_wrap .tell {
    font-size: 19px;
    font-weight: bold;
  }
  .sp_bottom_nav .tell_wrap .rt {
    font-size: 10px;
    line-height: 1;
  }
  .sp_bottom_nav .contact_wrap {
    padding: 10px 20px;
    margin: auto;
    width: 50%;
    display: block;
    position: relative;
  }
  .sp_bottom_nav .contact_wrap a {
    position: relative;
  }
  .sp_bottom_nav .contact_wrap .form {
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-align: center;
  }
  .sp_bottom_nav .contact_wrap .form span {
    font-size: 11px;
  }
}
footer {
  background-color: #fcf3f3;
  position: sticky;
  top: 100vh;
  width: 100%;
}
footer .footer_wrap {
  gap: 50px;
  display: flex;
  justify-content: center;
  padding: 50px 10px;
  flex-wrap: wrap;
}
footer .footer_wrap .f_item1 .logo_wrap {
  margin-bottom: 10px;
}
footer .footer_wrap .f_item1 .bh_wrap .b_hour_wrap .title {
  font-size: 18px;
  font-weight: bold;
  padding-top: 19px;
  margin-bottom: 1px;
}
footer .footer_wrap .f_item1 .bh_wrap .b_hour_wrap dl div {
  display: flex;
  gap: 10px;
}
footer .footer_wrap .f_item1 .bh_wrap .b_hour_wrap dl div dt {
  width: 60px;
}
footer .footer_wrap .f_item1 .bh_wrap .b_hour_wrap dl div dd {
  width: calc(100% - 60px);
}
footer .footer_wrap .f_item1 .bh_wrap .schedule_tbl {
  border-collapse: collapse;
  border-bottom: 1px solid #b9b9b9;
  display: table-cell;
}
footer .footer_wrap .f_item1 .bh_wrap .schedule_tbl tbody .t_head th {
  color: #fff;
  background: #554530;
  padding: 10px;
}
footer .footer_wrap .f_item1 .bh_wrap .schedule_tbl tbody .t_head th:first-child {
  border-radius: 20px 0 0 20px;
}
footer .footer_wrap .f_item1 .bh_wrap .schedule_tbl tbody .t_head th:last-child {
  border-radius: 0px 20px 20px 0px;
  font-size: 12px;
  padding: 10px 25px 10px 0;
}
footer .footer_wrap .f_item1 .bh_wrap .schedule_tbl tbody .t_main td {
  padding: 10px;
  text-align: center;
}
footer .footer_wrap .f_item1 .bh_wrap .schedule_tbl tbody .t_main td:first-child {
  padding: 10px 20px;
}
footer .footer_wrap .f_item1 .bh_wrap p {
  padding-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}
footer .footer_wrap .f_item1 .contact_wrap {
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 10px;
}
footer .footer_wrap .f_item1 .contact_wrap div .title {
  font-weight: bold;
  font-size: 18px;
}
footer .footer_wrap .f_item1 .contact_wrap div p {
  font-size: 13px;
}
footer .footer_wrap .f_item1 .contact_wrap .f_contact_btn {
  display: inline-block;
  background-color: #61a8cb;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 15px;
  line-height: 29px;
  color: #fff;
  width: -moz-fit-content;
  width: fit-content;
}
footer .footer_wrap .f_item1 .contact_wrap .f_tell_wrap {
  grid-area: 2/1/3/3;
  display: grid;
  place-content: center;
}
footer .footer_wrap .f_item1 .contact_wrap .f_tell_wrap dl div {
  gap: 10px;
  display: flex;
}
footer .footer_wrap .f_item1 .contact_wrap .f_tell_wrap dl div dd {
  font-weight: bold;
}
footer .footer_wrap .f_item1 .contact_wrap .f_tell_wrap dl div dd a {
  color: #923636;
}
footer .footer_wrap .f_item2 .map_wrap iframe {
  width: 500px;
  height: 400px;
}
footer .footer_bottom {
  padding-bottom: 20px;
}
footer .footer_bottom ul {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  justify-content: center;
}
footer .footer_bottom ul a {
  color: #cdaab9;
  font-size: small;
}

.fadein {
  opacity: 0;
  position: relative;
  transform: translate(0, 0);
  transition: all 1.5s;
}
.fadein.fadein-left {
  transform: translate(-30px, 0);
}
.fadein.fadein-right {
  transform: translate(30px, 0);
}
.fadein.fadein-up {
  transform: translate(0, -30px);
}
.fadein.fadein-bottom {
  transform: translate(0, 30px);
}
.fadein.scrollin {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

.parent-element {
  overflow: hidden; /* 要素がはみ出るのを防ぐ */
}

/* フェードインに時差を追加 */
.fadein:nth-child(1) {
  transition-delay: 0s;
}

.fadein:nth-child(2) {
  transition-delay: 0.2s;
}

.fadein:nth-child(3) {
  transition-delay: 0.3s;
}

/* 必要に応じて増やせます */
@media (max-width: 1000px) {
  h2 {
    font-size: 30px;
    padding-left: 10px;
  }
  h2::after {
    height: 35px;
    width: 35px;
    background-size: contain;
    left: -2px;
  }
  .main_visual_wrap::after {
    height: 300px;
  }
  .top_news .main_wrap {
    flex-wrap: wrap;
    gap: 0 20px;
  }
  .top_news .main_wrap .item {
    display: contents;
  }
  .top_news .main_wrap .item .btn_news {
    height: 40px;
  }
  .top_news .main_wrap .news_content {
    width: 100%;
  }
  .top_medical_checkup {
    padding-top: 20px;
  }
}
@media (max-width: 600px) {
  h2 {
    font-size: 23px;
  }
  h2::after {
    height: 25px;
    width: 25px;
    left: 0;
    z-index: -1;
    top: -10px;
  }
  .main_visual_wrap::after {
    height: 170px;
  }
  .main_visual_wrap .m_v_content .m_v_image picture img {
    width: 100%;
  }
  .main_visual_wrap .m_v_content .m_v_image:before {
    bottom: -96px;
  }
  .wave_container .wave_line {
    background-size: cover;
    height: 50px;
    background-position: right;
  }
  .top_intro .top_webmc {
    padding: 0 26px;
  }
  .top_info .teiki a {
    background-color: #5ab4d8;
    color: #fff;
  }
  .top_info .teiki a span::after {
    background-image: url(/image/ar1.svg);
  }
  .top_info .tokutei a {
    background-color: #8fcc66;
    color: #fff;
  }
  .top_info .tokutei a span::after {
    background-image: url(/image/ar2.svg);
  }
  .top_info .info_content_wrap {
    width: 90%;
  }
  .top_info img {
    width: 100%;
  }
  .top_medical_checkup {
    flex-wrap: wrap;
    padding: 0 10px 60px;
  }
  .top_news .main_wrap {
    padding: 30px 30px;
  }
  .top_news .main_wrap .item {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .news_content li a {
    flex-wrap: wrap;
    gap: 5px;
    flex-direction: column;
  }
  footer .footer_wrap {
    gap: 10px;
  }
  footer .footer_wrap .f_item1 .logo_wrap {
    max-width: 290px;
    margin: 0 auto 10px;
  }
  footer .footer_wrap .f_item1 .contact_wrap .f_contact_btn {
    font-size: 13px;
  }
  footer .footer_wrap .bh_wrap .schedule_tbl tbody .t_head th {
    font-size: 12px;
  }
  footer .footer_wrap .bh_wrap .schedule_tbl tbody .t_head th:last-child {
    width: 62px;
  }
  footer .footer_wrap .bh_wrap .schedule_tbl tbody .t_main td:first-child {
    padding: 5px 5px;
  }
  footer .f_item2 .map_wrap iframe {
    height: 300px !important;
    width: 330px !important;
  }
}
@media (max-width: 460px) {
  .main_visual_wrap::after {
    height: 170px;
  }
}
#youtube-area {
  position: relative;
  z-index: 1; /*最背面に設定*/
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0;
  height: 740px;
  border-radius: 50px;
}
@media (max-width: 600px) {
  #youtube-area {
    position: relative;
    height: 340px;
  }
}

/*jQueryで付与されたappearクラスがついたらYoutubeエリアをふわっと表示*/
#youtube-area.appear {
  animation-name: PageAnimeAppear;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.77777778vh;
  height: 56.25vw;
  min-height: 100%;
  min-width: 100%;
}

/*youtubeがクリックされないためのマスク*/
#youtube-mask {
  position: absolute;
  z-index: 2; /*下から2番目に表示*/
  top: 0;
  width: 100%;
  height: 100%;
}/*# sourceMappingURL=style.css.map */