/* Theme Name: 訪問看護ステーションいつき〜樹〜
Theme URI: 
Description: 港区の訪問看護ステーション、いつきのホームページです。
Version: 1.0
Author: Shu Hamaji
*/

@charset "utf-8";

/* SECTION FIRST VIEW */

#first_view {
    max-width: 77.5rem;
    margin-left: auto;
    margin-right: auto;
}

#first_view .first_view_wrapper {
    position: relative;
    padding-top: 8rem;
}

@media screen and (max-width:768px) {
    #first_view .first_view_wrapper {
        padding-top: 6rem;
    }
}

#first_view .first_view_wrapper .first_view_container {
    height: 75vh;
    overflow: hidden;
    border-radius: 3.13rem;
    position: relative;
}

@media screen and (max-width:1080px) {
    #first_view .first_view_wrapper .first_view_container {
        height: 35.5rem;
    }
}

@media screen and (max-width:768px) {
    #first_view .first_view_wrapper .first_view_container {
        height: 35.5rem;
    }
}

#first_view .first_view_wrapper .first_view_container::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0, 0, 0, .1);
    position: absolute;
    top: 0;
}

#first_view .first_view_wrapper .first_view_container li {
    display: flex;
    justify-content: center;
}

#first_view img {
    width: 100%;
}

@media screen and (max-width:768px) {
    #first_view img {
        height: 35.5rem;
        object-fit: cover;
    }
}

#first_view h2 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'zen Maru Gothic', serif;
    font-weight: 900;
    font-size: 1.88rem;
    text-align: center;
    line-height: 2em;
    letter-spacing: .2em;
    width: 100%;
}

@media screen and (max-width:768px) {
    #first_view h2 {
        top: 67%;
        left: 9%;
        transform: translate(0%, 0%);
        font-weight: 900;
        font-size: 1.5rem;
        text-align: left;
        width: auto;
    }
}

/* SECTION TOP ABOUT */

#top-about {
    margin-top: 5rem;
}

#top-about .top-about-bg {

    background-image: url(img/top-about-tree.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;
    max-width: 60rem;
    margin: 0 auto;
}

@media screen and (max-width:768px) {
    #top-about .top-about-bg {
        background-size: 60%;
        background-position: center;
    }
}

@media screen and (max-width:412px) {
    #top-about .top-about-bg {
        background-size: 160%;
    }
}

#top-about .top-about-content-box {
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
}

#top-about .top-about-container-1-text {
    width: 55%;
    padding-top: 5rem;
    font-size: 1.25rem;
}

@media screen and (max-width:768px) {
    #top-about .top-about-container-1-text {
        width: 100%;
        padding-top: 2.5rem;
    }
}

@media screen and (max-width:768px) {
    #top-about .top-about-container-1-text:first-of-type {
        padding-top: 0;
    }
}

#top-about .top-about-container-1-text span {
    font-weight: bold;
    font-size: 1.25rem;
}

#top-about .top-about-container-1-text.text-right {
    margin-left: auto;
}

.top-about-bg .btn-area {
    margin-top: 11.25rem;
}

@media screen and (max-width:768px) {
    .top-about-bg .btn-area {
        margin-top: 3.13rem;
    }
}

@media screen and (max-width:412px) {
    .top-about-bg .btn-area {
        margin-top: 2.5rem;
    }
}

.top-about-container-2 {
    border-radius: 1.25rem;
    max-width: 65rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.top-about-container-2 .top-about-content-box {
    padding: 3.13rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width:768px) {
    .top-about-container-2 .top-about-content-box {
        padding: 1.25rem 0;
        display: block;
    }
}

.top-about-container-2 .top-about-content-box .top-about-container-2-left,
.top-about-container-2 .top-about-content-box .top-about-container-2-right {
    width: 48%;
}

@media screen and (max-width:768px) {
    .top-about-container-2 .top-about-content-box .top-about-container-2-left,
.top-about-container-2 .top-about-content-box .top-about-container-2-right {
    width: 100%;
}
}

@media screen and (max-width:768px) {
    .top-about-container-2 .top-about-content-box .top-about-container-2-left {
    margin-bottom: 1.25rem;
}
}

.top-about-container-2 .top-about-content-box .top-about-container-2-left img {
    width: 100%;
    border-radius: 1.25rem;
}

.top-about-container-2 .top-about-container-2-right {
    position: relative;
}

.top-about-container-2 .top-about-container-2-right p {
    margin-bottom: 3.13rem;
}


@media screen and (max-width:768px) {
    .top-about-container-2 .top-about-container-2-right p {
        margin-bottom: 1.25rem;
    }
}

@media screen and (max-width:768px) {
    .top-about-container-2 .top-about-container-2-right p:last-of-type {
        margin-bottom: 0;
    }
}

.top-about-container-2 .btn-area {
    padding-bottom: 0;
}

@media screen and (max-width:1280px) {
    .top-about-container-2 .btn-area {
        display: none;
    }
}

.top-about-container-2 .btn-area a {
    background-color: #Fff;
    color: #BA866A;
    width: 15rem;
}

.top-about-container-2 .btn-area a:hover {
    background-color: #BA866A;
    color: #fff;
    transition: .5s;
}

.top-about-container-2 .btn-area a img {
    width: 1.5rem;
}

.top-about-container-2 .btn-area a span {
    letter-spacing: .3em;
    margin-left: .3em;
    font-family: 'zen Maru Gothic', serif;
    font-weight: 500;
}

/* SECTION SERVICE */

section#service {
    max-width: 100%;
    width: 100%;
    margin-top: 0;
}

#service .service-wrapper {
    max-width: 65rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 9.3rem;
}

@media screen and (max-width:768px) {
    #service .service-wrapper {
        padding-top: 6.25rem;
    }
}

#service .heading-subtitle {
    width: 70%;
}

@media screen and (max-width:768px) {
    #service .heading-subtitle {
        width: 100%;
    }
}

#service ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#service ul::after {
    content:"";
    display: block;
    width: 17.5rem;
}

#service .service-content {
    width: 17.5rem;
    border-radius: 15px;
    background-color: #fff;
    display: flex;
    margin-bottom: 3.13rem;
}

@media screen and (max-width:768px) {
    #service .service-content {
        width: 100%;
    }
}

#service .service-content-box {
    padding:1.88rem 1.25rem;
    flex-grow: 1;
}

#service .service-title {
    font-weight: bold;
    color: #BA866A;
    margin-bottom: 0.62rem;
}

@media screen and (max-width:768px) {
    #service .service-title .sp-block {
        display: inline;
    }
}

#service .service-text {
    font-size: 1rem;
    letter-spacing: .05em;
}

/* SECTION TOP NEWS */

#top-news .top-news-bg {
    background-image: url(img/tokyo-tower_shaddow.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

#top-news h3 {
    padding-top: 9.3rem;
}

@media screen and (max-width:768px) {
    #top-news h3 {
    padding-top: 6.25rem;
}
}

section#top-news {
    margin-top: 0;
}

#top-news li {
    width: 100%;
    border-bottom: 1px solid #999;
    padding-bottom: 1.88rem;
    margin-bottom: 1.88rem;
}

#top-news .news-link-area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#top-news .news-link-area .news-date {
    margin-right: 1.25rem;
}

#top-news .news-link-area:hover .news-date {
    color:#BA866A;
    transition: .5s;
}

#top-news .news-link-area .category-box {
    margin-right: 1.25rem;
    background-color: #BA866A;
    border: 1px solid #BA866A;
    border-radius: 5px;
    line-height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

#top-news .news-link-area:hover .category-box {
    background-color: #fff;
    transition: .5s;
}

#top-news .news-link-area .category-box span {
    font-size: 0.88rem;
    color: #fff;
    padding: 0 0.88rem;
}

#top-news .news-link-area:hover .category-box span {
    color: #BA866A;
    transition: .5s;
}

#top-news .news-link-area:hover .news-title {
    color:#BA866A;
    transition: .5s;
}

#top-news .btn-area {
    padding-top: 1.88rem;
}

#top-news .btn-area a {
    margin-left: 0;
}

@media screen and (max-width:768px) {
    #top-news .btn-area a {
        margin-left: auto;
        margin-right: auto;
    }
}

/* SECTION AREA */

section#area {
    max-width: 100%;
    width: 100%;
    margin-top: 0;
}

#area .area-wrapper {
    max-width: 65rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 9.3rem;
    padding-bottom: 9.3rem;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

@media screen and (max-width:768px) {
    #area .area-wrapper {
        display: block;
        padding-top: 6.25rem;
        padding-bottom: 6.25rem;
    }
}

#area .area-left {
    width: 30%;
}

@media screen and (max-width:768px) {
    #area .area-left {
        width: 100%;
    }
}

#area .area-right {
    width: 63%;
    position: relative;
    overflow: hidden;
    border-radius: 1.56rem;
    border: 1px solid #D3D9D2;
    box-sizing: border-box;
}

@media screen and (max-width:768px) {
    #area .area-right {
        width: 100%;
        margin-bottom: 3.13rem;
    }
}

#area .area-right p {
    position: absolute;
}

#area .area-right .area-01 {
    top: 33%;
    right: 30%;
}

@media screen and (max-width:412px) {
    #area .area-right .area-01 {
        top: 33%;
        right: 28%;
        font-size: 1rem;
    }
}

#area .area-right .area-02 {
    top: 49%;
    left: 37%;
}

@media screen and (max-width:412px) {
    #area .area-right .area-02 {
        top: 49%;
        left: 35%;
        font-size: 1rem;
    }
}

#area .area-right .area-03 {
    top: 18%;
    left: 36%;
}

@media screen and (max-width:412px) {
    #area .area-right .area-03 {
        top: 15%;
        left: 33%;
        font-size: 1rem;
    }
}

#area .area-right .area-04 {
    top: 70%;
    right: 38%;
}

@media screen and (max-width:412px) {
    #area .area-right .area-04 {
        top: 67%;
        right: 35%;
        font-size: 1rem;
    }
}

#area .area-right img {
    width: 100%;
    vertical-align: bottom;
}

@media screen and (max-width:768px) {
    #area .btn-area {
        padding-bottom: 0;
    }
}

#area .btn-area {
    padding-bottom: 0;
}

#area .btn-area a {
    margin-left: 0;
}

@media screen and (max-width:768px) {
    #area .btn-area a {
        margin-left: auto;
        margin-right: auto;
    }
}