/*コンテンツ幅*/

.wrap {
    max-width: calc(1188px + 3rem);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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


/*見出し*/

h2 {
    color: #222;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 1.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
}

h2 span {
    color: #124B80;
    display: block;
    text-align: center;
    font-family: "Open Sans";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
}

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

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 1.8rem;
        gap: 0.5rem;
    }
    h1 span {
        font-size: 1.2rem;
    }
    .fdc h1 {
        flex-direction: column;
        gap: 0;
    }
    h2 {
        font-size: 1.5625rem;
    }
    h2 span {
        font-size: 0.875rem;
    }
    h2::after {
        bottom: -5px;
        width: 3.125rem;
    }
    h3 {
        font-size: 1.125rem;
    }
}


/*---▼リンクボタン▼---*/

a.btn {
    color: #fff;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
    padding: 0.5rem 2rem;
    border: 1px solid #124B80;
    background: #124B80;
    position: relative;
}

a.btn:before {
    content: '';
    width: 0.35356rem;
    height: 0.35356rem;
    border: 0;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0;
    margin: auto;
}

a.btn:hover {
    color: #124B80;
    background: #fff;
    opacity: 1;
}

a.btn:hover:before {
    border-top: solid 1px #124B80;
    border-right: solid 1px #124B80;
}

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


/*---▼共通スタイル▼---*/


/*公開したら消す*/

.machi {
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 1.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
    background: #E3E3E3;
    padding: 17rem 0;
    margin-top: 5rem;
}

@media screen and (max-width: 420px) {
    .machi {
        font-size: 1rem;
        margin-top: 2.5rem;
        padding: 8rem 0;
    }
}

section {
    padding: 5rem 0;
}

.tac {
    text-align: center;
}

.tar {
    text-align: right;
}

.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 {
    padding: 2.88rem 0;
    background: #F7F5EF;
    text-align: center;
    margin-top: 5rem;
}

.fv_inner_page {
    position: relative;
}

.fv_inner_page h1 {
    color: #124B80;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

.fv_inner_page h1 span {
    display: block;
    color: rgba(34, 34, 34, 0.50);
    text-align: center;
    font-family: "Open Sans";
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    margin-top: 1rem;
}

.breadcrumbs {
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 200%;
    color: #fff;
    margin: 0 auto;
    position: absolute;
    width: calc(1315px + 3rem);
    right: 0;
    left: 0;
    bottom: 1rem;
    display: flex;
    gap: 0.3rem;
}

@media screen and (max-width: 1024px) {
    .breadcrumbs {
        font-size: 0.7rem;
        padding: 0 0.5rem;
        width: auto;
        flex-flow: wrap;
        line-height: 120%;
    }
}

@media screen and (max-width: 420px) {
    .fv_inner_page .bk_img {
        object-position: 0 0rem;
    }
    .fv_inner_page .main_fv_page {
        width: 100%;
        max-width: 90%;
    }
    .fv_inner_page h1 {
        font-size: 1.8rem;
    }
    .fv_inner_page h1 span {
        font-size: 1.3rem;
    }
}


/*---▼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(100% / 3 - 2rem);
}
section.clinic_sec .flex_box>div {
    width: calc(100% / 3 - 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 .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.50);
    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;
    }
}
