@charset "UTF-8";
/*コンテンツ幅*/
.wrap {
  max-width: calc(1188px + 3rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media screen and (1300px > width) {
  .wrap {
    width: 100%;
    padding: 0 2rem;
  }
}
@media screen and (430px > width) {
  .wrap {
    padding: 0 1rem;
  }
}

/*ふわっとする動き*/
.fade-in {
 overflow: hidden;
    opacity: 0;
    transition: all 1.5s;
    transform: translate(0,50px);
}
.fade-right {
 overflow: hidden;
    opacity: 0;
    transition: all 1.5s;
   transform: translate(50px,0);
}
.fade-left {
 overflow: hidden;
    opacity: 0;
    transition: all 1.5s;
   transform: translate(-50px,0);
}

.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/*見出し*/
h2 {
  color: #124b80;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 150%;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6.25rem;
  height: 0.25rem;
  border-radius: 2px;
  background-color: #124b80;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 150%;
}

@media screen and (max-width: 1024px) {
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5625rem;
  }
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 1.5625rem;
  }
  h3 {
    font-size: 1.125rem;
  }
}
/*---▼リンクボタン▼---*/
.btn {
  border: 1px solid #124b80;
  background-color: #124b80;
  padding: 0.8rem 3.5rem 0.8rem 1.5rem;
  color: #fff;
  position: relative;
  top: 0.8rem;
}

.btn::before,
.btn::after {
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  content: "";
  height: 25px;
  margin: auto;
  position: absolute;
  right: 1.5rem;
  top: 1.2rem;
  transition: opacity 0.5s;
  width: 25px;
}

.btn::before {
  background-image: url(../img/common/yajirushi_1.svg);
}

.btn::after {
  background-image: url(../img/common/yajirushi_2.svg);
  opacity: 0;
}

.btn:hover {
  background-color: #fff;
  color: #124b80;
  opacity: 1 !important;
}

.btn:hover::before {
  opacity: 0;
}

.btn:hover::after {
  opacity: 1;
}

@media screen and (max-width: 420px) {
  .btn {
    font-size: 1rem;
  }
  a.btn {
    font-size: 1rem;
  }
}
section {
  padding: 5rem 0;
}

.tac {
  text-align: center;
}

.tac_btn {
  text-align: center;
  position: relative;
  height: 3.1rem;
}

.tar {
  text-align: right;
}

.tar_btn {
  text-align: right;
  position: relative;
  height: 3.1rem;
}

.tal {
  text-align: left;
}

.flex_box {
  display: flex;
}

@media screen and (max-width: 430px) {
  section {
    padding: 3rem 0;
  }
  .flex_box {
    flex-direction: column;
  }
  .sp-tac {
    text-align: center;
  }
}
/*---▼ファーストビュー▼---*/
.fv_top_page {
  background: url("../img/top/fv-img.webp") center top/cover no-repeat;
  text-align: center;
  height: 12.453rem;
  margin-top: 91.68px;
  padding: 0;
}

.fv_top_page h1 {
  color: #fff;
  background: rgba(18, 75, 128, 0.8);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 150%;
  padding: 1rem 5rem;
  display: inline-block;
  margin-top: 4rem;
}

@media screen and (max-width: 1024px) {
  .fv_top_page {
    margin-top: 61.68px;
  }
  .fv_top_page h1 {
    font-size: 1.8625rem;
  }
}
@media screen and (max-width: 420px) {
  .fv_top_page {
    height: 17.625rem;
    margin-top: 0;
  }
  .fv_inner_page .main_fv_page {
    width: 100%;
    max-width: 90%;
  }
  .fv_top_page h1 {
    font-size: 1.8rem;
    padding: 0.8rem 3rem;
    margin-top: 8rem;
  }
}
/*---▼404ページ▼---*/
.code_sec {
  padding: 13rem 0;
}

.code_sec p {
  text-align: center;
  line-height: 150%;
}

@media screen and (max-width: 1024px) {
  .code_sec {
    padding: 9rem 0;
  }
}
@media screen and (max-width: 420px) {
  .code_sec {
    padding: 3rem 0;
  }
  .code_sec p {
    font-size: 0.9rem;
  }
}
/*---▼院内紹介▼---*/
section.clinic_sec .flex_box {
  gap: 4rem 3rem;
  justify-content: space-between;
  margin-top: 3.94rem;
  margin-bottom: 6.94rem;
  flex-wrap: wrap;
}

section.clinic_sec .flex_box::after {
  content: "";
  display: block;
  width: calc(33.3333333333% - 2rem);
}

section.clinic_sec .flex_box > div {
  width: calc(33.3333333333% - 2rem);
}

section.clinic_sec .flex_box h3 {
  color: #124b80;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 150%;
  margin-top: 1rem;
}

@media screen and (max-width: 420px) {
  section.clinic_sec .flex_box {
    flex-direction: column;
    gap: 2.5rem;
  }
  section.clinic_sec .flex_box > div {
    width: 100%;
  }
}
/*---▼よくある質問▼---*/
.accordion-content {
  display: none;
}

.accordion {
  margin-bottom: 5rem;
}

.accordion a {
  text-decoration: underline;
}

.accordion-header {
  background-color: #f7f5ef;
  padding: 1.5rem 45px 1.5rem 20px;
  margin: 1.75em 0 0;
  transition: background 0.3s ease;
  cursor: pointer;
  position: relative;
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-weight: 700;
  line-height: 150%;
}

.accordion-header::before,
.accordion-header::after {
  position: absolute;
  content: "";
  top: 1px;
  right: 20px;
  bottom: 0;
  width: 12px;
  height: 2px;
  margin: auto;
  background: #222222;
}

.accordion-header::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

.accordion-header.active::after {
  transform: rotate(0deg);
}

.accordion-content {
  background-color: #f7f5ef;
  padding: 1.5rem 20px 1.5rem;
  padding-top: 0;
}

.accordion-header span,
.accordion-content span {
  padding-left: 3rem;
  position: relative;
}

.accordion-content span {
  padding-left: 3rem;
  position: relative;
  display: block;
  border-top: 1px solid #000;
  padding-top: 1rem;
}

.accordion-header span::before {
  position: absolute;
  content: "Q.";
  top: -6px;
  left: 0;
  color: #124b80;
  font-family: Montserrat;
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 100%;
}

.accordion-content span::before {
  position: absolute;
  content: "A.";
  top: 15px;
  left: 0;
  color: #eb585a;
  font-family: Montserrat;
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 100%;
}

/* hover */
.accordion-header:hover {
  background-color: #f7f5ef;
}

/*---▼アクセス▼---*/
section.access_sec .calendar_box table {
  display: block;
  border-collapse: collapse;
  /* overflow-x: scroll;で、
  スマホ画面幅に表が入りきらない場合は
  横スクロールしてくれます */
  overflow-x: scroll;
}

section.access_sec .calendar_box table tbody {
  width: 100%;
}

section.access_sec .calendar_box table .time {
  color: #222222;
  font-size: 1.25rem;
}

section.access_sec .calendar_box table th,
section.access_sec .calendar_box table td {
  width: 100%;
  background: #f7f5ef;
  padding: 0.7rem 2.5rem;
  text-align: center;
  border: 1px solid #ffffff;
  color: #124b80;
}

section.access_sec .calendar_box table th {
  background: #124b80;
  color: #fff;
  font-size: 1.25rem;
  line-height: 200%;
  font-weight: 700;
}

section.access_sec .calendar_box .subject {
  margin-top: 2.25rem;
}

section.access_sec .calendar_box p {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  line-height: 120%;
  padding: 1rem 0 0.8rem 0;
}

section.access_sec .calendar_box p span {
  color: #124b80;
  text-align: center;
  font-family: "Open Sans";
  font-weight: 700;
  line-height: 200%;
  border: 1px solid #124b80;
  padding: 0rem 1rem;
  white-space: nowrap;
  width: 90px;
}

section.map_sec .map_box {
  margin: 2rem 0;
}

section.map_sec iframe {
  width: 100%;
  height: 500px;
}

section.map_sec .subject {
  margin-top: 2.25rem;
}

section.map_sec .subject p {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  line-height: 120%;
  padding: 1rem 0 0.8rem 0;
}

section.map_sec .subject p span {
  color: #124b80;
  text-align: center;
  font-family: "Open Sans";
  font-weight: 700;
  line-height: 200%;
  border: 1px solid #124b80;
  padding: 0rem 1rem;
  white-space: nowrap;
  width: 90px;
}

@media screen and (max-width: 420px) {
  section.access_sec .calendar_box table th,
  section.access_sec .calendar_box table td {
    padding: 0.3rem;
    font-size: 0.9rem;
  }
  section.access_sec .calendar_box table .time {
    font-size: 1rem;
  }
  section.map_sec iframe {
    height: 250px;
  }
}
/*---▼治療のご案内▼---*/
/*初診の方へ*/
section.beginner_sec .flex_box > div {
  flex: 1;
}

section.beginner_sec .flex_box h2 {
  text-align: left;
  margin: 1rem 0;
}

section.beginner_sec .flex_box .img_box {
  margin-right: calc(50% - 50vw);
}

section.beginner_sec .flex_box .bk {
  background: rgba(255, 255, 255, 0.79);
  padding: 3rem;
  padding-left: 0;
  margin-right: -3rem;
  z-index: 1;
  position: relative;
}

section.beginner_sec .flex_box p.blue {
  background: #124b80;
  padding: 1.5rem 1.12rem;
  color: #fff;
  margin: 1.5rem 0;
}

section.beginner_sec .flex_box a.btn {
  background: #fff;
  color: #124b80;
}

section.beginner_sec .flex_box a.btn:hover {
  background: #124b80;
  color: #fff;
}

section.beginner_sec .flex_box a.btn::before {
  border-top: solid 1px #124b80;
  border-right: solid 1px #124b80;
}

section.beginner_sec .flex_box a.btn:hover::before {
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
}

@media screen and (max-width: 1024px) {
  section.beginner_sec .flex_box {
    flex-direction: column-reverse;
    text-align: center;
  }
  section.beginner_sec .flex_box p {
    text-align: left;
  }
  section.beginner_sec .flex_box h2 {
    text-align: center;
  }
  section.beginner_sec .flex_box .img_box {
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1rem;
    width: 80%;
  }
  section.beginner_sec .flex_box .bk {
    padding: 0;
    padding-left: 0;
    margin-right: 0;
  }
  section.beginner_sec .flex_box p.blue {
    margin-bottom: 3rem;
  }
}
@media screen and (max-width: 430px) {
  section.clinic_sec .tac {
    text-align: left;
  }
  section.clinic_sec .tac.btn {
    text-align: center;
  }
  section.clinic_sec .flex_box {
    gap: 2rem;
  }
}
section.clinic_sec h2 {
  margin-bottom: 3rem;
}

section.clinic_sec .medical h3 {
  font-family: "Noto Serif JP";
  font-size: 1.5625rem;
  font-weight: 600;
  line-height: 150%;
}

section.clinic_sec .medical {
  margin-bottom: 6rem;
}

section.clinic_sec .medical > div {
  background: #f7f5ef;
  padding: 1.44rem 2.38rem;
  margin: 0.5rem 0 2.87rem 0;
}

section.clinic_sec .medical .title {
  color: #124b80;
  font-size: 1.5625rem;
  font-weight: 700;
  line-height: 150%;
  text-decoration-line: underline;
}

section.clinic_sec .medical > div a,
section.clinic_sec .medical_2 > div a {
  color: #124b80;
  font-weight: 700;
  line-height: 120%;
  text-decoration-line: underline;
}

section.clinic_sec .medical_2 h3 {
  font-family: "Noto Serif JP";
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 0.87rem;
}

section.clinic_sec .medical_2 > div {
  background: #f7f5ef;
  padding: 1.44rem 2.38rem;
  margin: 0.5rem 0 2.87rem 0;
}

section.clinic_sec ul {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

section.clinic_sec ul li {
  color: #124b80;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  border: 1px solid #124b80;
  background: #fff;
  position: relative;
  cursor: pointer;
  padding: 1rem 8.3125rem;
  transition: 0.5s;
}

section.clinic_sec ul li:before {
  content: "";
  width: 0.35356rem;
  height: 0.35356rem;
  border: 0;
  border-top: solid 1px #124b80;
  border-right: solid 1px #124b80;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  margin: auto;
}

section.clinic_sec ul li:hover {
  background: #124b80;
  color: #fff;
}

section.clinic_sec ul li:hover::before {
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
}

@media screen and (max-width: 420px) {
  section.clinic_sec h2 {
    margin-bottom: 1rem;
  }
  section.clinic_sec ul {
    flex-direction: column;
    gap: 1rem;
  }
  section.clinic_sec ul li {
    padding: 1.5rem 0;
  }
  section.clinic_sec .medical > div {
    padding: 1rem;
    line-height: 180%;
  }
  section.clinic_sec .medical h3,
  section.clinic_sec .medical_2 h3 {
    font-size: 1.125rem;
  }
}
/*---▼自由診療▼---*/
section.self_sec .flex_box {
  gap: 1rem;
  margin-bottom: 5rem;
}

section.self_sec .flex_box img {
  width: 30.875rem;
  flex-shrink: 0;
}

section.self_sec .flex_box h2 {
  text-align: left;
  color: #124b80;
  font-family: "Noto Serif JP";
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 0.38rem;
}

section.self_sec .flex_box .text_box {
  display: flex;
  flex-direction: column;
}

section.self_sec .flex_box .text_box > p {
  flex-grow: 1;
}

section.self_sec .flex_box .text_box > div {
  text-align: right;
}

@media screen and (max-width: 420px) {
  section.self_sec .flex_box h2 {
    font-size: 1.5625rem;
  }
  section.self_sec .flex_box {
    gap: 1rem;
  }
  section.self_sec .flex_box img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
  }
  section.self_sec .flex_box .text_box > div {
    text-align: center;
    margin-top: 2rem;
  }
}
/*---▼院長紹介▼---*/
section.doctor_sec .flex_box {
  gap: 4.25rem;
}

section.doctor_sec .flex_box h2 {
  text-align: left;
  margin-bottom: 3.15rem;
}

section.doctor_sec .flex_box p {
  line-height: 200%;
}

section.doctor_sec .flex_box h3 {
  margin-top: 1.19rem;
  text-align: right;
  font-family: "Noto Serif JP";
  font-size: 1.25rem;
  font-weight: 600;
}

section.doctor_sec .flex_box img {
  width: 38.1875rem;
  height: 36.0625rem;
  flex-shrink: 0;
}

section.profile_sec {
  background: #f7f5ef;
}

section.profile_sec h2 {
  margin-bottom: 2.75rem;
}

section.profile_sec h3,
section.list_sec h3 {
  color: #124b80;
  font-size: 1.5625rem;
  font-weight: 500;
}

section.profile_sec ul li {
  margin-top: 1.56rem;
  border-bottom: 1px solid rgba(34, 34, 34, 0.5);
  padding-bottom: 1.37rem;
  display: flex;
  gap: 3rem;
}

section.list_sec .flex_box {
  gap: 8rem;
  justify-content: flex-start;
}

section.list_sec .flex_box ul {
  margin-top: 1.44rem;
}

section.list_sec .flex_box ul li {
  display: flex;
  margin-bottom: 0.5rem;
}

section.profile_sec ul li span {
  width: 6rem;
}

section.list_sec .flex_box ul li::before {
  content: "・";
  display: block;
}

@media screen and (max-width: 420px) {
  section.doctor_sec .flex_box {
    gap: 2.25rem;
  }
  section.doctor_sec .flex_box h2 {
    text-align: center;
    margin-bottom: 1rem;
  }
  section.doctor_sec .flex_box p {
    line-height: 150%;
  }
  section.doctor_sec .flex_box img {
    width: 100%;
    height: auto;
  }
  section.profile_sec h2 {
    margin-bottom: 0.75rem;
  }
  section.profile_sec ul li {
    flex-direction: column;
    gap: 0rem;
  }
  section.list_sec .flex_box {
    gap: 2rem;
  }
}/*# sourceMappingURL=common.css.map */