@charset "utf-8";

/* ------------------------------

ベース

------------------------------ */

html {
    font-size: 62.5%;
}

body {
    color: #535353;
    font-size: 1.6rem;
    font-family: 'Lato', 'Noto Sans JP', sans-serif;
    font-feature-settings: "palt";
    font-weight: 300;
    letter-spacing: .15em;
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: #91d920;
    font-weight: 400;
    transition: .3s ease-out;
}

a:hover {
    opacity: .6;
}

p {
    margin-bottom: 32px;
}

img {
    max-width: 100%;
}

dl,
address {
    margin-bottom: 24px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto,
.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto,
.col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto,
.col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto,
.col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding: 0 12px;
}


/* ------------------------------

ユーティリティ

------------------------------ */

.sp {
    display: none;
}

.mobile {
    display: none;
}

.pc {
    display: block;
}

.wrapper {
    margin: 0 auto;
    max-width: 1200px;
    padding: 80px 0;
}

.wrapper--subpage {
    padding-bottom: 50px;
}

.wrapper--subpage-section {
    padding: 40px 0;
}

.section-inner {
    padding: 52px;
}

.grid-spreader {
    margin: 0 -12px;
}

.horizontal-spacer {
    margin-right: -20px;
}

.horizontal-spacer > * {
    margin-right: 20px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-reverse {
    flex-direction: row-reverse;
}

.flex-left {
    justify-content: flex-start;
}

.flex-center {
    justify-content: center;
}

.flex-right {
    justify-content: flex-end;
}

.flex-bottom {
    align-items: flex-end;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-white {
    color: #fff;
    font-weight: 400;
}

.box-center {
    margin-left: auto;
    margin-right: auto;
}

.img-full img {
    width: 100%;
}


/* ------------------------------

コンポーネント

------------------------------ */

.label {
    background-color: #eeaa0c;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 400;
    height: 25px;
    min-width: 77px;
    padding: 2px 1em;
    text-align: center;
}

.btn {
    animation-delay: .9s;
    background-color: #eeaa0c;
    border-radius: 100vh;
    color: #fff;
    display: block;
    padding: .625em;
    text-align: center;
    width: 383px;
}

.btn:hover {
    animation: .3s ease-out 0s elastic;
    opacity: 1;
}

@keyframes elastic {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.btn-square {
    background-color: #91D920;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    height: 50px;
    line-height: 50px;
    padding-top: 12px;
    text-align: center;
    transition: .3s ease-out;
    vertical-align: bottom;
    width: 50px;
}

.btn-square:hover {
    opacity: .6;
}

.btn-square--rsv {
    background-color: #EEAA0C;
    padding-top: 10px;
    margin-right: 4px;
}

.btn-square::before {
    content: "";
    background: url(../image/menu-icon.svg) no-repeat;
    display: block;
    height: 18px;
    margin: 0 auto -16px;
    width: 23px;
}

.btn-square--rsv::before {
    background: url(../image/mail-icon.svg) no-repeat;
    margin: 0 auto -14px;
}

.title {
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 32px;
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.8;
}

.title--big,
.title--big-pc {
    font-size: 4rem;
}

.title--white {
    color: #fff;
}

.title--center-circle {
    margin-bottom: 50px;
}

.title::before {
    color: #91D920;
    content: attr(data-subtitle);
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.title--white::before {
    color: #fff;
}

.title--center-circle::before {
    background: url(../image/title-circle-icon.svg) no-repeat;
    content: "";
    height: 40px;
    margin: 0 auto 24px;
    width: 100px;
}

.title--circle::before {
    background-color: #91d920;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 16px;
    margin-right: 18px;
    vertical-align: 3px;
    width: 16px;
}

.simple-list dt {
    color: #91d920;
    font-weight: 500;
    margin-bottom: .25em;
}

.simple-list > dt {
    color: #535353;
    margin-bottom: 1.5em;
}

.simple-list dd {
    margin-bottom: 1em;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .3s ease-out, transform .2s ease-out;
}

.card:hover {
    box-shadow: 0 4px 4px rgba(177, 228, 98, 0.05), 
                0 1px 6px rgba(177, 228, 98, 0.025), 
                0 8px 8px rgba(177, 228, 98, 0.05), 
                0 16px 16px rgba(177, 228, 98, 0.05), 
                8px 32px 32px rgba(177, 228, 98, 0.075), 
                8px 64px 64px rgba(177, 228, 98, 0.075);
    transform: translateY(-10px);
}

.card__textbox {
    padding: 16px;
}

.card__label {
    margin-bottom: 8px;
}

.card__label a {
    color: #fff;
}

.card__label a:hover {
    opacity: 1;
}

.card__title {
    margin-bottom: 10px;
}

.card__description {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.card__date {
    color: #91D920;
    font-size: 1.2rem;
    margin-bottom: 0;
    text-align: right;
}


/* ------------------------------

ヘッダー

------------------------------ */

.header {
    background: url(../image/main-visual.png) no-repeat center/cover fixed;
    height: 100vh;
    max-height: 768px;
    position: relative;
}

.header--subpage {
    max-height: 450px;
}

.header--greeting {
    background: linear-gradient(0deg,rgba(145, 217, 32, .75),rgba(145, 217, 32, .75)), url(../about/greeting/image/greeting-main-visual.png) no-repeat top center/cover fixed;
}

.header--facility {
    background: linear-gradient(0deg,rgba(145, 217, 32, .75),rgba(145, 217, 32, .75)), url(../about/facility/image/facility-main-visual.png) no-repeat top center/cover fixed;
}

.header::after {
    bottom: -56px;
    color: #91D920;
    content: "Yoshioka Family Dental Clinic";
    font-size: 7rem;
    position: absolute;
    right: -100px;
    text-transform: uppercase;
    white-space: nowrap;
}

.header--subpage::after {
    display: none;
}

.header__top {
    background-color: #fff;
    height: 129px;
    padding: 18px 0;
    position: relative;
    transition: .6s ease-out;
    line-height: 1.6;
}

.header__top.show {
    background-color: rgba(255, 255, 255, .95);
    position: fixed;
    transition: .6s ease-in;
    width: 100%;
    z-index: 5;
}

.header__top::after {
    background: url(../image/header-bottom.svg) no-repeat;
    bottom: -96px;
    content: "";
    height: 100%;
    left: -1px;
    max-height: 97px;
    position: absolute;
    width: 105%;
}

.header__top.show::after {
    display: none;
}

.header__wrapper {
    padding: 0;
}

.header__item-wrapper {
    display: inline-block;
    padding: 0 12px;
    width: auto;
}

.header__logo {
    margin-bottom: 0;
}

.header__info {
    margin-bottom: 18px;
}

.rsv-msg {
    color: #eeaa0c;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: .5em;
}

.btn--rsv {
    font-size: 1.8rem;
    width: auto;
}

.mv-text {
    position: absolute;
    top: 50%;
    transform: translateY(-20%);
}

.mv-text__title {
    margin-bottom: 20px;
}

.mv-text-subpage {
    position: absolute;
    bottom: 50px;
}

.mv-text-subpage__title {
    margin-bottom: 0;
}

.global-nav-sp {
    background-color: rgba(145, 217, 32, .95);
    display: none;
    font-size: 2.4rem;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
}

.close-btn {
    cursor: pointer;
    font-size: 1.2rem;
    position: absolute;
    top: 32px;
    transition: .3s ease-out;
    right: 32px;
}

.close-btn:hover {
    opacity: .6;
}

.global-nav-sp__wrapper {
    left: 50%;
    padding: 80px 20px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.global-nav-sp li {
    margin-bottom: 40px;
}

.pankuzu-list {
    font-size: 1.4rem;
    height: 60px;
    padding: 1em 0;
}


/* ------------------------------

お知らせ

------------------------------ */

.news,
.information {
    padding: 0 46px;
}

.news-list > li {
    margin-bottom: 24px;
}

.news-list > li:last-of-type {
    margin-bottom: 32px;
}


/* ------------------------------

診療科目・診療時間

------------------------------ */

.department-list {
    margin-bottom: 16px;
}

.department-item {
    background-color: #effadd;
    border-radius: 5px;
    box-sizing: border-box;
    color: #91D920;
    font-weight: 400;
    min-height: 115px;
    padding: 18px 16px 13px;
    width: calc((100% - 48px)/4);
}

.department-item::before {
    content: "";
    display: block;
    height: 50px;
    margin: 0 auto;
    width: 50px;
}

.department-item--general::before {
    background: url(../image/general-icon.png) no-repeat;
}

.department-item--child::before {
    background: url(../image/child-icon.png) no-repeat;
}

.department-item--preventive::before {
    background: url(../image/preventive-icon.png) no-repeat;
}

.department-item--cosmetic::before {
    background: url(../image/cosmetic-icon.png) no-repeat;
}


/* ------------------------------

ごあいさつ

------------------------------ */

.greeting {
    position: relative;
}

.greeting__decoration {
    position: absolute;
}

.greeting__photo-6,
.greeting__circle-4,
.greeting__circle-5 {
    z-index: -5;
}

.greeting__photo-3,
.greeting__photo-4,
.greeting__circle-6 {
    z-index: -10;
}

.greeting__photo-1,
.greeting__circle-1,
.greeting__circle-3 {
    z-index: -15;
}

.greeting__photo-2,
.greeting__photo-5,
.greeting__circle-2 {
    z-index: -20;
}

.greeting__photo-1 {
    left: 12%;
    top: -27%;
}

.greeting__photo-2 {
    right: 18%;
    top: -18%;
}

.greeting__photo-3 {
    bottom: 4%;
    left: -3%;
}

.greeting__photo-4 {
    right: -3%;
    top: -11%;
}

.greeting__photo-5 {
    bottom: -22%;
    left: 16%;
}

.greeting__photo-6 {
    bottom: -27%;
    right: 10%;
}

.greeting__circle-1 {
    left: 0;
    top: -12%;
}

.greeting__circle-2 {
    left: 4%;
    top: 1%;
}

.greeting__circle-3 {
    right: 12%;
    top: -27%;
}

.greeting__circle-4 {
    bottom: -15%;
    left: 9%;
}

.greeting__circle-5 {
    bottom: 6%;
    right: 0;
}

.greeting__circle-6 {
    bottom: -4%;
    right: 4%;
}


/* ------------------------------

よしおか院長ブログ

------------------------------ */

.blog {
    background: url(../image/blog-background.svg) no-repeat top 80px center/contain;
    padding-top: 200px;
    position: relative;
}

.blog::before {
    background: url(../image/blog-icon-1.svg) no-repeat;
    content: "";
    height: 157px;
    left: 30%;
    position: absolute;
    top: 11%;
    width: 168px;
}

.blog__description {
    margin-bottom: 40px;
}

.blog__btn {
    position: absolute;
    right: 52%;
    top: 299px;
    width: 180px;
}


/* ------------------------------

スライダー

------------------------------ */

.slick-slide {
    padding: 0 12px;
}

.slick-slide:focus {
    outline: none;
}


/* ------------------------------

設備紹介

------------------------------ */

.facility {
    background: url(../image/facility-background.png) no-repeat center/cover;
    border-radius: 20px;
    margin: -80px 0 0;
    overflow: hidden;
    padding: 80px 0;
    position: relative;
}

.facility::before,
.facility::after {
    content: "";
    position: absolute;
}

.facility::before {
    background: url(../image/facility-icon-1.svg) no-repeat;
    height: 92px;
    left: 21%;
    top: 12%;
    width: 94px;
}

.facility::after {
    background: url(../image/facility-icon-2.svg) no-repeat;
    height: 76px;
    right: 23%;
    top: 18%;
    width: 78px;
}


/* ------------------------------

アクセス

------------------------------ */

.gmap-wrapper {
    height: 0;
    margin-bottom: 32px;
    overflow: hidden;
    padding-top: 61.80%;
    position: relative;
}

.gmap-wrapper > iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}


/* ------------------------------

フッター

------------------------------ */

.footer__wrapper {
    padding: 60px 0;
}

.footer__logo {
    max-width: 383px;
}

.footer__nav {
    padding-top: 18px;
}

.footer__nav li {
    margin-bottom: 24px;
}

.footer__child-list {
    padding-top: 18px;
}

.footer__child-list li {
    background: url(../image/chevron-right-icon.svg) no-repeat left center;
    margin-bottom: 14px;
    padding-left: 18px;
}

.footer__child-list li > a {
    color: #535353;
    font-weight: 300;
}

.btn--page-top {
    bottom: -100%;
    height: 64px;
    line-height: 34px;
    position: fixed;
    right: 24px;
    transition: .6s ease-in;
    width: 64px;
}

.btn--page-top.show {
    bottom: 24px;
    transition: .6s ease-out;
}

.copyright {
    background-color: #91D920;
    padding: 1em;
}


@media screen and (max-width:1199px) {

    /* ------------------------------

    ユーティリティ Tablet

    ------------------------------ */

    .mobile {
        display: block;
    }
    
    .pc {
        display: none;
    }

    .wrapper {
        max-width: none;
        padding: 60px 20px;
    }

    .wrapper--subpage {
        margin-bottom: -32px;
        padding-bottom: 50px;
    }

    .wrapper--subpage-section {
        padding: 30px 0;
    }

    .section-inner {
        padding: 32px 12px 0;
    }

    .text-center-mobile {
        text-align: center;
    }

    .box-center-mobile {
        margin-left: auto;
        margin-right: auto;
    }


    /* ------------------------------

    コンポーネント Tablet

    ------------------------------ */

    .btn {
        width: 100%;
    }

    .btn--page-top {
        width: 64px;
    }

    .title--big-pc {
        font-size: 3.2rem;
    }


    /* ------------------------------

    ヘッダー Tablet

    ------------------------------ */

    .header {
        background-position: center right 22%;
        max-height: 785px;
    }

    .header--subpage {
        max-height: 235px;
    }

    .header__wrapper {
        padding: 0 16px;
    }

    .header__top {
        height: auto;
        padding: 10px 0;
    }

    .header__top::after {
        display: none;
    }

    .header__logo img {
        max-width: 235px;
        width: 235px;
    }

    .mv-text {
        padding-top: 53px;
        position: static;
        transform: translateY(0);
    }

    .mv-text-subpage {
        bottom: auto;
        position: static;
        padding-top: 70px;
    }

    .global-nav-sp__wrapper {
        padding: 80px 20px;
    }

    .pankuzu-list {
        padding: 1em 20px;
    }


    /* ------------------------------

    お知らせ Tablet

    ------------------------------ */

    .news,
    .information {
        padding: 0;
    }

    .news {
        margin-bottom: 60px;
    }


    /* ------------------------------

    診療科目・診療案内 Tablet

    ------------------------------ */

    .department-list {
        margin-bottom: 4px;
    }

    .department-item {
        margin-bottom: 16px;
        width: calc((100% - 16px)/2);
    }


    /* ------------------------------

    ごあいさつ Tablet

    ------------------------------ */

    .greeting__circle-1 {
        left: 3%;
    }

    .greeting__circle-2 {
        left: 7%;
    }

    .greeting__circle-5 {
        right: 3%;
    }

    .greeting__circle-6 {
        right: 7%;
    }


    /* ------------------------------

    よしおか院長ブログ Tablet

    ------------------------------ */

    .blog {
        background: url(../image/blog-background-mobile.svg) no-repeat top center/100%;
    }

    .blog::before {
        left: auto;
        right: 11%;
        top: 8%;
    }

    .horizontal-scroll-list {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .horizontal-scroll-list li {
        display: inline-block;
        width: 45%;
    }

    .card:hover {
        box-shadow: none;
        transform: translateY(0);
    }

    .card__textbox {
        white-space: normal;
    }
    
    .blog__btn {
        margin-top: 32px;
        position: static;
    }


    /* ------------------------------

    設備紹介 Tablet

    ------------------------------ */

    .facility {
        background-position: center left 35%;
        border-radius: 0;
        margin: 0 -20px;
        padding: 140px 20px 100px;
    }

    .facility::before {
        top: 4%;
    }

    .facility::after {
        top: 10%;
    }


    /* ------------------------------

    アクセス Tablet

    ------------------------------ */

    .access__info {
        margin-bottom: 8px;
    }

    .access__label {
        display: block;
        margin-bottom: 20px;
        width: 100%;
    }


    /* ------------------------------

    フッター Tablet

    ------------------------------ */

    .footer__wrapper {
        padding: 20px 20px 36px;
    }

    .footer__info {
        margin-bottom: 60px;
    }

}


@media screen and (max-width:768px) {

    /* ------------------------------

    ユーティリティ SP

    ------------------------------ */

    .sp {
        display: block;
    }

    /* ------------------------------

    ヘッダー SP

    ------------------------------ */

    .header__logo img {
        max-width: 175px;
    }

    .mv-text {
        font-size: 1.4rem;
    }

    .mv-text__title {
        font-size: 2.4rem;
    }


    /* ------------------------------

    よしおか院長ブログ SP

    ------------------------------ */

    .horizontal-scroll-list li {
        width: 85%;
    }

}