@charset "UTF-8";

/*-------------------------------------------------------------------------
							/ページレイアウト/
-------------------------------------------------------------------------*/
.top_section__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .top_section {
    margin: auto;
    padding: 0 20px;
  }
  .floating_btn {
    bottom: 32px;
    z-index: 99;
  }
}
/*-------------------------------------------------------------------------
							/見出し/
-------------------------------------------------------------------------*/
.top_section__title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title__wrapper {
  width: auto;
  position: relative;
}
.title {
  font-size: 40px;
  text-align: center;
}
.title__acs {
  font-size: 28px;
  font-family: var(--eng-acs);
  color: var(--sub-color);
  transform: skewX(-4deg) rotate(-8deg) translate(45%, 50%);
  position: absolute;
  right: 0;
  bottom: -30%;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .title {
    font-size: 36px;
  }
  .title__acs {
    font-size: 24px;
  }
}

/*-------------------------------------------------------------------------
							/メインビジュアル/
-------------------------------------------------------------------------*/

.mainvisual {
  width: 100%;
  height: 100dvh;
  background-image: url("../img/assets/mainvisual4.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  opacity: 1;
  z-index: 111;
  transition: opacity 1s;
}
.prev_visual_img {
  width: 100%;
  height: 100%;
  background-image: url("../img/assets/mainvisual2.webp");
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: opacity 1s;
  z-index: -111;
}
.indicator {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.indicator__item {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 0.5;
  border-radius: 100vw;
  cursor: pointer;
}
.indicator__item.active {
  opacity: 1;
}
.scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
}
.scroll__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.scroll__wrapper::before {
  position: absolute;
  content: "";
  width: 1.5px;
  height: 32px;
  background-color: #fff;
  opacity: 0.5;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 10px);
}
.scroll__wrapper::after {
  position: absolute;
  content: "";
  width: 1.5px;
  height: 0px;
  background-color: #fff;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 10px);
  animation: scrollAnime 5s infinite;
}
@keyframes scrollAnime {
  0% {
    height: 0px;
  }
  49% {
    height: 32px;
  }
  51% {
    height: 32px;
  }
  100% {
    height: 0px;
  }
}
.scroll__text {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 767px) {
  .prev_visual_img {
    background-image: url("../img/assets/new_mv_sp.webp");
  }
}

/*-------------------------------------------------------------------------
							/お知らせ/
-------------------------------------------------------------------------*/

.news {
  margin-top: 144px;
  margin-bottom: 144px;
}
.news .top_section__inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.news__wrapper {
  margin-top: 40px;
  margin-bottom: 40px;
}
.news__container {
  padding: 40px 0 34px 0;
  border-bottom: 1px solid #efefef;
}
.news__container:last-of-type {
  border-bottom: unset;
}
.news__box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}
.news__date {
  color: #707070;
}
.news_cat {
  padding-left: 11px;
  font-size: 14px;
  position: relative;
  color: var(--sub-color);
  transition: 0.3s;
}
.news_cat::before {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 100vw;
  background-color: var(--sub-color);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.news_cat:hover {
  opacity: 0.5;
}
.news__title {
  line-height: 1.75;
  color: #2b2b2b;
  transition: 0.3s;
}
.news__container:hover .news__title {
  opacity: 0.5;
}
.pagelink {
  width: 100%;
  height: auto;
  font-family: var(--jp-font-bold);
  color: #2b2b2b;
  border: 1px solid #ddd;
  background-color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  border-radius: 4px;
  transition: 0.3s;
}
.pagelink svg {
}
.pagelink__box {
  width: 48px;
  height: 48px;
  border-radius: 100vw;
  background-color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
}
.pagelink:hover {
  border: 1px solid var(--sub-color);
  color: var(--sub-color);
}
.pagelink:hover .pagelink__box {
  background-color: var(--sub-color);
}
.pagelink:hover .cls-1 {
  stroke: #fff;
}
@media screen and (max-width: 1279px) {
  .news {
    margin-top: 120px;
    margin-bottom: 120px;
  }
  .news .top_section__inner {
    max-width: 928px;
    padding: 0 64px;
  }
}
@media screen and (max-width: 767px) {
  .news {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  .news__wrapper {
    margin-top: 32px;
    margin-bottom: 24px;
  }
  .news .top_section__inner {
    max-width: 928px;
    padding: 0;
  }
  .news__container {
    padding: 32px 0 26px;
  }
  .pagelink {
    display: block;
    padding: 28px 24px;
    text-align: left;
  }
  .pagelink__box {
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/*-------------------------------------------------------------------------
							/教室について＆研修医・学生の方へ/
-------------------------------------------------------------------------*/
.twice {
  width: 100%;
  height: auto;
  position: relative;
}
.twice::before {
  width: 94.4444%;
  background-color: var(--main-color);
  height: 100%;
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
.twice__inner {
  padding: clamp(120px, 8.3333%, 144px) 0;
  width: 100%;
}
.twice__wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.twice__wrapper:last-of-type {
  margin-top: clamp(120px, 8.3333%, 144px);
}
.twice__wrapper--reverse {
  flex-direction: row-reverse;
  margin-top: clamp(120px, 8.3333%, 144px);
}
.twice__container {
  display: flex;
  align-items: flex-start;
  /* justify-content: flex-end; */
  flex: 1;
  /* margin-right: 6.25%; */
  margin-left: 12.5%;
}
.twice__container--right {
  margin-left: 0;
  margin-right: 12.5%;
  justify-content: flex-end;
}
.twice_container__inner {
  width: 79.0697%;
  /* max-width: 400px; */
}
.twice__title {
  justify-content: flex-start;
}
.twice .title {
  text-align: left;
  color: #fff;
}
.twice .title--br {
  line-height: 1.3;
  margin: -6px 0;
}
.twice .title__acs {
  color: #64d574;
}
.twice__illust {
  height: auto;
  margin-top: 80px;
}
.twice__nav {
  background-color: #fff;
  padding: clamp(48px, 3.3333%, 64px);
  padding-right: 0;
  width: 57.6388%;
}
.twice__nav--left {
  padding: clamp(48px, 3.3333%, 64px);
  padding-left: 0;
}
.twice_nav__inner {
  width: 77.2151%;
}
.twice_nav__inner--left {
  margin-left: auto;
}
.twice_nav__container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: clamp(40px, 6.763%, 48px);
  margin-bottom: clamp(40px, 6.763%, 48px);
  border-bottom: 1px solid #efefef;
}
.twice_nav__container:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: unset;
}
.twice_nav__list {
  background-color: #fff;
  width: calc(50% - 32px);
  /* flex: 1; */
}
.twice_nav__list--single {
  background-color: #fff;
  flex: none;
  width: calc(50% - 32px);
}
.twice_list__link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  /* padding: 32px 24px; */
}
.twice_list__icon {
  width: 80px;
  height: 80px;
  background-color: var(--main-color);
  margin-right: 24px;
}
.twice_list__box {
  display: grid;
  width: 100%;
  padding-right: 24px;
}
.twice_list__text {
  font-size: 20px;
}
.twice_list__caption {
  font-size: 14px;
  color: #326a3a;
  font-family: var(--eng-font);
  white-space: nowrap;
  /* margin-top: 10px; */
}
.twice_list__item {
  margin-top: 10px;
  width: 100%;
  overflow: hidden;
}
.twice_nav__title {
  margin-bottom: 48px;
}
.twice_title__text {
  font-size: 28px;
}
.twice_title__caption {
  font-size: 16px;
  margin-top: 12px;
  font-family: var(--eng-font);
  color: var(--sub-color);
}

/*-------------------------------------------------------------------------
							/教室について＆研修医・学生の方へ v2/
-------------------------------------------------------------------------*/
.various {
  width: 100%;
  height: auto;
  position: relative;
}
.various::before {
  width: 100%;
  background-color: var(--main-color);
  height: 100%;
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  transition: 0.6s;
  transition-delay: 0.1s;
  transition-timing-function: cubic-bezier(0, 0.35, 0.3, 1);
}
.various__inner {
  padding: clamp(144px, 8.3333%, 144px) 0;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-direction: row-reverse;
  gap: 7.2222%;
}
.various__title {
  justify-content: flex-start;
}
.various .title {
  text-align: left;
  color: #2b2b2b;
  line-height: 1.3;
  margin: -6px 0;
}
.various .title--br {
  line-height: 1.3;
  margin: -6px 0;
}
.various .title__acs {
  color: var(--sub-color);
}
.various__illust {
  width: 100%;
  height: auto;
  position: sticky;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s;
}
.various__illust.active {
  opacity: 1;
}
.various__container--left {
  width: 25%;
  position: relative;
}
.various__container--right {
  width: 57.6388%;
  flex: none;
}
.various__nav {
  background-color: #fff;
  padding: 64px 64px 64px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}
.various__nav--left {
  padding: clamp(48px, 3.3333%, 64px);
  padding-left: 0;
}
.various_nav__inner {
  width: 81.201%;
}
.various_nav__inner--left {
  margin-left: auto;
}
.various_nav__container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid #efefef;
}
.various_nav__container:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: unset;
}
.various_nav__list {
  background-color: #fff;
  width: calc(50% - 32px);
}
.various_nav__list--single {
  background-color: #fff;
  flex: none;
  width: calc(50% - 32px);
}
.various_list__link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: 0.3s;
}
.various_list__link:hover {
  opacity: 0.5;
}
.various_list__icon {
  width: 80px;
  height: 80px;
  background-color: var(--main-color);
  margin-right: 24px;
}
.various_list__box {
  display: grid;
  width: 100%;
  padding-right: 24px;
}
.various_list__text {
  font-size: 20px;
  color: #2b2b2b;
}
.various_list__text--small {
  font-size: 16px;
}
.various_list__caption {
  font-size: 12px;
  color: #326a3a;
  font-family: var(--eng-font);
  white-space: nowrap;
  text-wrap: wrap;
}
.various_list__item {
  margin-top: 10px;
  width: 100%;
  overflow: hidden;
}
.various_nav__title {
  margin-bottom: 48px;
}
.various-content__title {
  width: auto;
  padding: 64px 0 64px 17.3493%;
  margin-right: 64px;
  position: relative;
  border-bottom: 1px solid var(--main-color);
}
.various-title__wrapper {
  width: max-content;
  position: relative;
}
.various-content__title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background-color: var(--sub-color);
  transition: 0.6s;
  transition-delay: 0.3s;
  transition-timing-function: cubic-bezier(0, 0.35, 0.3, 1);
}
.various__content--first .various-content__title.active::before {
  width: calc(18.7989% + var(--v-first));
}
.various__content--second .various-content__title.active::before {
  width: calc(18.7989% + var(--v-second));
}
.various__content--third .various-content__title.active::before {
  width: calc(18.7989% + var(--v-third));
}
.various-title__text {
  font-size: 32px;
  color: #2b2b2b;
}
.various-title__caption {
  font-size: 22px;
  font-family: var(--eng-acs);
  color: var(--sub-color);
  transform: skewX(-4deg) rotate(-8deg) translate(45%, 50%);
  position: absolute;
  right: 0;
  bottom: -55%;
  white-space: nowrap;
}
.various__content {
  background-color: #fff;
  border-radius: 0 4px 4px 0;
}
.various__content:not(:last-of-type) {
  margin-bottom: 80px;
}
.various_container__inner {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
}
.various_container__box {
  width: 100%;
  height: 100%;
}
.various_nav__list--full {
  width: 100%;
}
.various_list__external {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.various-external__text {
  font-size: 14px;
  color: #707070;
}
.various-external__text_br {
  display: none;
}
.various__content--img {
  display: none;
}
@media screen and (max-width: 1279px) {
  .various__inner {
    padding: 120px 64px 120px 0;
    gap: 64px;
  }
  .various__container--left {
    width: auto;
    flex: 1;
  }
  .various__container--right {
    width: 60%;
  }
  .various-content__title {
    padding: 48px 0 48px 64px;
    margin-right: 40px;
  }
  .various-title__text {
    font-size: 28px;
    line-height: 1.25;
  }
  .various-title__caption {
    bottom: -32%;
  }
  .various__nav {
    padding: 0px 40px 0px 64px;
  }
  .various_nav__inner {
    width: 100%;
  }
  .various_nav__container {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .various_nav__list {
    width: 100%;
  }
  .various_nav__list:first-of-type {
    border-bottom: 1px solid #efefef;
  }
  .various_nav__container:last-of-type .various_nav__list:last-of-type {
    border-bottom: none;
  }
  .various_list__link {
    padding: 40px 0;
  }
}
@media screen and (max-width: 767px) {
  .various.top_section {
    padding: 0;
  }
  .various__inner {
    flex-wrap: wrap;
    padding-top: 80px;
    padding: 80px 0;
  }
  .various__container--left {
    display: none;
  }
  .various__container--right {
    width: 100%;
    padding-right: 20px;
  }
  .various__content--img {
    width: 100%;
    padding-left: 20px;
    display: block;
    margin-left: auto;
    margin-bottom: 40px;
  }
  .various__content--img.first {
    margin-top: 0;
  }
  .various__content--img img {
    width: 60%;
    margin: 0 auto;
  }
  .various_nav__container {
    display: block;
    padding-bottom: 0px;
    margin-bottom: 0px;
    border: none;
  }
  .various__nav {
    display: block;
    padding: 0;
  }
  .various_nav__list {
    width: 100%;
    border-top: 1px solid #efefef;
  }
  .various_nav__list:first-of-type {
    border-bottom: none;
  }
  .various_list__link {
    padding: 32px 0;
  }
  .various_nav__container:first-child .various_nav__list:first-child {
    border-top: none;
  }
  .various_nav__inner {
    width: 90%;
    margin: 0 auto;
  }
  .various-content__title {
    padding: 44px 0 44px 20px;
  }
  .various-external__text {
    text-align: right;
  }
  .various-external__text_br {
    display: block;
  }
  .various-title__text {
    font-size: 28px;
  }
  .various__content--second .various-title__text {
    line-height: 1.4;
    margin: -5.6px 0;
  }
  .various-title__caption {
    font-size: 20px;
  }
  .various__content--second .various-title__caption {
    right: 5%;
    bottom: -20%;
  }
}
/*-------------------------------------------------------------------------
							/診療のご案内/
-------------------------------------------------------------------------*/
.patients {
  width: 100%;
  height: 200px;
  margin-top: -100px;
  position: relative;
}
.patients__inner {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #efefef;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
}
.patients__title {
  width: auto;
}
.patients .title {
  text-align: left;
}
.patients__link {
  display: flex;
  align-items: center;
  gap: 40px;
}
.patients_link__text {
  font-size: 20px;
  margin-bottom: 16px;
}
.patients_link__caption {
  color: #707070;
}
.patients_link__external {
  width: 16px;
  height: auto;
}

/*-------------------------------------------------------------------------
							/写真/
-------------------------------------------------------------------------*/
@media screen and (max-width: 1279px) {
  .top_section.photo {
    margin-top: 120px;
  }
}
@media screen and (max-width: 767px) {
  .top_section.photo {
    margin-top: 80px;
    margin-bottom: 80px;
    width: 100%;
    padding: 0;
  }
  .photo__wrapper {
    margin-bottom: 0;
    gap: 20px;
    padding-left: 20px;
  }
}

/*-------------------------------------------------------------------------
							/リンク集/
-------------------------------------------------------------------------*/
@media screen and (max-width: 1279px) {
  .related_sites {
    margin-top: 120px;
  }
  .related_sites .top_section__inner {
    max-width: 1128px;
    padding: 0 64px;
  }
  .related_sites__list {
    min-width: unset;
  }
}

@media screen and (max-width: 767px) {
  .related_sites {
    margin-top: 100px;
  }
  .related_sites .top_section__inner {
    padding: 0;
  }
  .related_sites .special_link {
    margin-top: 56px;
    height: auto;
    padding: 32px 0;
  }
  .related_sites__wrapper {
    margin-top: 56px;
    margin-bottom: 56px;
  }
  .related_sites__list {
    height: auto;
    /* padding: 32px 0; */
  }
  .related_sites__link {
    padding: 32px 0;
  }
}
