@charset "utf-8";
/* CSS Document */

/* fukagawa-hp.or.jp
-----------------------------------------------------*/
#title {
    background-image: url("image/title_corporation.jpg");
}
#title::before {
    background: #4c5dae;
}
#title h1 {
    background-image: url("image/title_corporation_icon.png");
}
@media screen and (max-width: 640px) {
    #title {
        background-image: url("image/title_corporation_sp.jpg");
    }
}

#intro div {
    width: 672px;
}
#intro div .catch {
    margin-bottom: 0.8em;
    font-size: 36px;
}
#intro div p + p {
    margin-top: 1em;
}
#intro div .post {
    margin-top: 90px;
    margin-top: 40px;
}
#intro div .sign {
    margin-top: 0;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
}
#intro div .post,
#intro div .sign span {
    font-size: 0.875em;
}
#intro div .sign strong {
    font-size: 26px;
}
@media screen and (max-width: 1200px) {
    #intro div {
        width: calc(100% - 450px);
    }
    #intro div .catch {
        font-size: clamp(1.625rem, -0.25rem + 3.33vw, 2.25rem);
        white-space: normal;
    }
}
@media screen and (max-width: 1100px) {
    #intro div .post {
        /*margin-top: clamp(1.875rem, -15rem + 30vw, 5.625rem);*/
    }
}
@media screen and (max-width: 900px) {
    #intro div {
        width: calc(100% - 50vw);
    }
    #intro div p.photo img {
        width: 48vw;
    }
}
@media screen and (max-width: 770px) {
    #intro div {
        width: 100%;
    }
    #intro div p.photo {
        position: static;
        width: 100%;
        justify-content: center;
        margin-bottom: 1.5em;
    }
    #intro div p.photo img {
        width: 60%;
        max-width: 370px;
    }
    #intro div .sign strong {
        font-size: clamp(1.375rem, 0.912rem + 1.48vw, 1.625rem);
    }
}

/* ==============================================
    philosophy
============================================== */
#philosophy p {
    font-size: 32px;
    color: #20a7ac;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    text-align: center;
    line-height: 1.9;
}
@media screen and (max-width: 1000px) {
    #philosophy p {
        font-size: clamp(1.625rem, 0.75rem + 2vw, 2rem);
        line-height: 1.625;
    }
}
@media screen and (max-width: 650px) {
    #philosophy p {
        text-align: left;
        line-height: 1.45;
    }
    #philosophy p br {
        display: none;
    }
}

#basic_policy p,
#medical_policy li {
    font-size: 22px;
    color: #57c0c4;
    font-weight: 700;
}
#medical_policy ol {
    margin-left: 1.5em;
}
#medical_policy li + li {
    margin-top: 1em;
}
@media screen and (max-width: 800px) {
    #basic_policy p,
    #medical_policy li {
        font-size: clamp(1rem, 0.375rem + 2vw, 1.375rem);
    }
}

/* ==============================================
    doctor
============================================== */
#doctor .inner {
    width: 100%;
    max-width: 1105px;
    margin: 0 auto;
}
#doctor dt {
    font-size: 22px;
    color: #57c0c4;
    font-weight: 700;
}
#doctor dd {
    margin-top: 1em;    
    text-align: justify;
}
#doctor dd span {
    display: block;
    margin-bottom: 1em;
}
@media screen and (max-width: 1000px) {
    #doctor dt {
        font-size: clamp(1.125rem, 0.125rem + 2vw, 1.375rem);
    }
}
@media screen and (min-width: 701px) {
    #doctor .inner {
        display: flex;
        justify-content: space-between;
    }
    #doctor dl {
        width: 30%;
        max-width: 315px;
    }
    #doctor dt,
    #doctor dd span {
        text-align: center;
    }
}
@media screen and (max-width: 700px) {
    #doctor dl + dl {
        margin-top: 2em;
    }
}


/* ==============================================
    about
============================================== */
#about .center {
    font-size: 28px;
    color: #57c0c4;
    font-weight: 700;
}
#about .center img {
    margin-top: 0.7em;
    max-width: 60%;
    min-width: 340px;
}
@media screen and (max-width: 700px) {
    #about .center {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }
}

/* ==============================================
    movie
============================================== */
#movie {
    margin-top: 60px;
    text-align: center;
}
.movie_wrap {
    width: 100%;
    max-width: 826px;
    margin: 0 auto;
}
/*#movie video {
    width: 100%;
    max-width: 100%;
    height: auto;
}

#movie span {
    display: block;
    background: #ddd;
    height: 400px;
}*/

/* ==============================================
    loopSlider
============================================== */
.loopSlider .slick-list {
    overflow: visible !important;
}
.loopSlider .slick-slide {
    margin: 0 16px;
}
.loopSlider .slick-slide img {
    display: block;
    width: 100%;
}
@media screen and (max-width: 1200px) {
    .loopSlider .slick-slide {
        margin: 0 10px;
    }
}
@media screen and (max-width: 900px) {
    .loopSlider .slick-slide {
        margin: 0 6px;
    }
}

.loopSlider + .btn_large {
    margin-top: 3em;
}

/* ==============================================
    history
============================================== */
#history th,
#history td {
    padding: 0 0 40px;
    background: none;
    vertical-align: top;
    border: none;
    text-align: left;
}
#history th {
    font-weight: 700;
    white-space: nowrap;
}
#history th:first-of-type {
    position: relative;
    width: 4em;
    padding-left: 2em;
    color: #20a7ac;
}
#history th:last-of-type {
    width: 2em;
    padding-left: 1em;
    color: #2a2c2d;
    text-align: right;
}
#history th:first-of-type::before,
#history th:first-of-type::after {
    position: absolute;
    top: 2px;
    content: "";
    display: block;
}
#history th:first-of-type::before {
    width: 2px;
    height: 100%;
    left: 10px;
    background: #20a7ac;
}
#history th:first-of-type::after {
    width: 19px;
    height: 19px;
    background: #fff;
    border: 2px solid #20a7ac;
    border-radius: 50%;
    left: 0;
}
#history td {
    padding-left: 5em;
}
#history th:last-of-type::before,
#history th:last-of-type::after,
#history tr:last-of-type th::before {
    content: none;
}
@media screen and (max-width: 800px) {
    #history td {
        padding-left: 2em;
    }
}
@media screen and (max-width: 500px) {
    #history th:last-of-type {
        padding-left: 0.5em;
    }
    #history th:first-of-type::after {
        top: 0;
    }
    #history td {
        padding-left: 1em;
    }
}
