@charset "utf-8";
main.medical {}

/*mainvisual*/
.mainvisual {
    position: relative;
    width: 100%;
    padding-top: 165px;
}
.mainvisual .mainvisual-text {
    display: block;
    width: 584px;
    margin: 0 auto;
}
@media screen and (max-width: 767px) {
    .mainvisual {
        padding-top: 80px;
    }
    .mainvisual .mainvisual-text {
        width: 296px;
    }
}

/*s-intro*/
.s-intro {
    margin-top: 65px;
}
.s-intro p {
    font-size: clamp(14px, calc(14px + (16 - 14) * ((100vw - 768px) / (1366 - 768))), 16px);
    font-weight: bold;
    text-align: center;
}
.s-intro p:last-child {
    font-weight: normal;
}
.s-intro p:not(:last-child) {
    margin-bottom: 20px;
}
.s-intro p a {
    text-decoration: underline;
}
@media screen and (max-width: 767px) {
    .s-intro {
        margin-top: 25px;
    }
}

/*s-keywords*/
.s-keywords {
    margin-top: 45px;
}
.s-keywords .flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 11px;
}
.s-keywords p {
    padding: 12px 17px;
    border: 1px solid #D4E6B3;
    border-radius: 34px;
    background-color: #fff;
    color: #709A1C;
    font-size: clamp(14px, calc(14px + (16 - 14) * ((100vw - 768px) / (1366 - 768))), 16px);
}
@media screen and (max-width: 767px) {
    .s-keywords .flex {
        gap: 10px;
    }
    .s-keywords p {
        padding: 6px 13px;
    }
}

/*s-reference*/
.s-reference {
    margin-top: 90px;
}
.s-reference h2 {
    margin-bottom: 55px;
    font-size: clamp(30px, calc(30px + (36 - 30) * ((100vw - 768px) / (1366 - 768))), 36px);
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
}
.s-reference h2 span {
    display: block;
    color: #BDADA9;
    font-size: clamp(16px, calc(16px + (22 - 16) * ((100vw - 768px) / (1366 - 768))), 22px);
    font-weight: normal;
    line-height: 1.2;
}
.s-reference .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px 15px;
    align-items: stretch;
}
.s-reference .flex::after{
    content: "";
    display: block;
    width: 32%;
}
.s-reference .reference-block {
    flex: 0 0 32%;
    display: flex;
    flex-direction: column;
    padding: 28px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.65);
    border: 1px solid #BDADA9;
}
.s-reference .reference-block .reference-txt {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.s-reference .reference-block .reference-txt h3 {
    position: relative;
    padding-left: 15px;
    font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 768px) / (1366 - 768))), 18px);
    font-weight: bold;
    line-height: 1.4;
}
.s-reference .reference-block .reference-txt h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 5px;
    height: 92%;
    background: var(--green-gradation);
}
.s-reference .reference-block .reference-txt p {
    margin-top: 18px;
    line-height: 1.5;
}
.s-reference .reference-block .reference-note {
    display: flex;
    flex-direction: column;
    /*flex-grow: 1;*/
    margin-top: 18px;
    padding: 10px;
    background-color: #FAF7F5;
}
.s-reference .reference-block .reference-note p {
    font-size: 12.5px;
}
.s-reference .reference-block .reference-links {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}
.s-reference .reference-block .reference-links a {
    position: relative;
    display: inline-block;
    padding-right: 17px;
    color: #5B9024;
    font-weight: bold;
    line-height: 1.4;
    text-align: right;
}
.s-reference .reference-block .reference-links a:after {
    position: absolute;
    top: 4px;
    right: 0;
    display: block;
    width: 10px;
    height: 10px;
    background-image: url(../img/common/icon_target_g.svg);
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
}
@media screen and (max-width: 1024px) {
    .s-reference .flex {
        gap: 0;
    }
    .s-reference .reference-block {
        flex: 0 0 49%;
        margin-bottom: 15px;
    }
    .s-reference .flex::after {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .s-reference {
        margin-top: 50px;
    }
    .s-reference h2 {
        margin-bottom: 25px;
    }
    .s-reference .flex {
        display: block;
    }
}

/*s-links*/
.s-links {
    margin-top: 100px;
    padding-bottom: 200px;
}
.s-links a {
    position: relative;
    display: flex;
    justify-content: center;
    width: 274px;
    margin: 0 auto;
    padding: 20px 0;
    background: var(--green-gradation);
    color: #fff;
    font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 768px) / (1366 - 768))), 18px);
    font-weight: bold;
}
@media screen and (max-width: 767px) {
    .s-links {
        margin-top: 45px;
        padding-bottom: 90px;
    }
    .s-links a {
        width: 214px;
        padding: 15px 0;
    }
}