@charset "UTF-8";

/*---------------------------
共通部分
--------------------------------*/
html {
    font-size: 62.5%;
    margin: 0 auto;
}

body {
    font-family: "BIZ UDPGothic", sans-serif;
    line-height: 1.7rem;
    color: #4a3416;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a:hover {
    opacity: 0.8;
    transition: 0.3s;
}

li {
    list-style: none;
}

main .wrapper {
    max-width: 1080px;
    margin: 0 auto;
}

.sp {
    display: none !important;
}
.pc {
    display: block !important;
}

a {
    text-decoration: none;
}

.index {
    font-weight: 600;
    font-style: normal;
}

/*---------------------------
header
--------------------------------*/

#header {
    width: 100%;
    height: 15vh;
    position: fixed;
    background-color: #fff;
    z-index: 50;
}

.upper {
    padding: 0 2rem;
    margin: 1rem 0;
}

#header .logo {
    width: 100%;
    max-width: 200px;
    left: 50%;
    position: relative;
    transform: translate(-50%);
}

.navi {
    background-color: #4a3416;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.8rem;
    max-width: 1080px;
    margin: 0 auto;
}

.menu li {
    display: inline-block;
    padding: 1.2rem 0;
    font-family: "Zen Maru Gothic", sans-serif;
}

.nav_item a {
    color: #fff;
}

/*---------------------------
main共通
--------------------------------*/
.index {
    font-size: 2.5rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: normal;
    position: relative;
    z-index: 10;
    display: inline-block;
}

.index::before {
    content: "";
    position: absolute;
    background-color: #67c66c;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    left: -10%;
    opacity: 0.7;
    z-index: -1;
    transform: translate(-50%, -50%);
}

/*---------------------------
mainvisual
--------------------------------*/
.mainvisual {
    position: relative;
}

.size {
    font-size: 3.5rem;
}

.mainvisual::before {
    content: "For everyone's smile.";
    font-family: "Zen Maru Gothic", sans-serif;
    position: absolute;
    color: #4a3416;
    font-size: 6.5rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    white-space: nowrap;
}

.mainvisual::after {
    content: "みんなが笑顔になれる歯医者さんを目指して。";
    font-family: "Zen Maru Gothic", serif;
    position: absolute;
    color: #4a3416;
    font-size: 2.5rem;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    white-space: nowrap;
}

.mainvisual img {
    width: 100%;
    height: 100vh;
    padding-top: 16vh;
    display: block;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

/*---------------------------
reserve
--------------------------------*/

.reserve {
    padding: 5rem 2rem 8rem;
}

.heading p {
    text-align: center;
    font-size: 2.3rem;
    font-family: "Zen Maru Gothic", sans-serif;
}

.btn-box {
    display: flex;
    justify-content: center;
    gap: 10rem;
    margin-top: 5rem;
}

.btn-box a {
    display: flex;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 2.5rem;
    width: 200px;
    padding: 2rem 0;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-box .web {
    background-color: #4a3416;
    color: #fff;
}

.btn-box .web:hover {
    background-color: #fff;
    color: #4a3416;
    opacity: 1;
    border: 1px solid #4a3416;
}

.btn-box .tel {
    background-color: #2f9e39;
    color: #fff;
    border: 1px solid #2f9e39;
}

.btn-box .tel:hover {
    background-color: #fff;
    color: #2f9e39;
    opacity: 1;
}

/*---------------------------
information
--------------------------------*/
#information {
    width: 100%;
    margin-bottom: 5rem;
    padding: 0 3rem;
}

.info-flex {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
}

#information .section-title {
    white-space: nowrap;
}

table {
    font-size: 1.7rem;
}

.biz-hour {
    display: block;
    border-collapse: collapse;
}

.biz-hour th {
    /* １番上の線 */
    /* #A28C63っていうのが色の名前なので、ここをお好みで */
    border-top: 1px solid #4a3416;
}

.biz-hour th,
.biz-hour td {
    padding: 10px 20px;
    text-align: center;
    border-bottom: 1px solid #4a3416;
}

.am,
.pm {
    white-space: nowrap;
}

.notice {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 2rem 0 0 2rem;
}

.notice li {
    list-style-type: disc;
    margin: 1rem 0;
}

/*---------------------------
feature
--------------------------------*/

#feature {
    background-color: #dff7df;
    padding: 5rem;
    z-index: -1;
    margin: 5rem 0;
}

#feature .index {
    z-index: 20;
    left: 10%;
}

#feature .index::before {
    z-index: -1;
    left: 0%;
}

.feature-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(35% - 3rem);
    gap: 4rem;
    background-color: #f7f7f7;
    border: 1px solid #c6c6c6;
    border-radius: 15px;
    margin: 3rem 4rem;
    padding: 3rem 0;
}

.feature img {
    width: 100%;
    max-width: 100px;
}

.feature .text {
    font-size: 2.3rem;
    font-family: "Zen Maru Gothic", serif;
    line-height: 1.6;
    text-align: center;
}

.feature:hover {
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

/*---------------------------
greeting
--------------------------------*/

#greeting {
    padding-top: 4rem;
    position: relative;
    margin: 5rem 0 3rem;
}

#greeting .index {
    z-index: 20;
    left: 10%;
}

#greeting .index::before {
    z-index: -1;
    left: 0%;
}

.greeting-flex {
    display: flex;
    align-items: center;
    margin-top: 5rem;
}

.greeting-flex img {
    width: 50%;
    position: relative;
    top: 10%;
    left: 10%;
}

.explanation {
    background-color: #f7f7f7;
    font-size: 1.6rem;
    line-height: 1.6;
    width: 50%;
    z-index: 20;
    padding: 2rem 3rem;
    border-radius: 15px;
}

.profile-btn {
    text-align: center;
    margin-top: 3rem;
}

.profile-btn a {
    display: inline-block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 1.6rem;
    padding: 1.5rem 4rem;
    background-color: #4a3416;
    color: #fff;
}

/*---------------------------
access
--------------------------------*/

#access {
    padding: 5rem 0 8rem;
    margin-top: 5rem;
    background-color: #dff7df;
}

#access .index {
    z-index: 20;
    left: 10%;
}

.address {
    font-size: 1.4rem;
    line-height: 2;
    margin: 3rem 0 3rem 10rem;
}

#access .index::before {
    z-index: -1;
    left: 0%;
}

.map {
    margin: 0 auto;
    width: 80%;
    height: 300px;
}

/*---------------------------
footer
--------------------------------*/

#footer {
    background-color: #4a3416;
    padding: 2rem 2rem;
}

.copyright {
    color: #fff;
}

.copyright {
    text-align: center;
    padding: 10px 15px 20px 15px;
    border-top: 2px solid #fff;
}

.address {
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    width: 100%;
    max-width: 200px;
    margin: 1.5rem 0;
}

#footer .menu {
    margin: 0;
}

#footer .menu li {
    margin-right: 2.5rem;
    font-size: 1.4rem;
    position: relative;
}

#footer .menu li::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 2rem;
    top: 26%;
    right: -32%;
    background-color: #fff;
}

#footer .menu li:nth-child(2)::after,
#footer .menu li:nth-child(3)::after {
    right: -22%;
}

#footer .menu li:nth-child(4)::after {
    right: -13%;
}

#footer .menu li:nth-child(5)::after {
    display: none;
}

/*------------------------------------
スマホ
----------------------------------------*/

@media screen and (max-width: 767px) {
    /*------------------------------------
    共通
    --------------------------------*/
    .pc {
        display: none !important;
    }
    .sp {
        display: block !important;
    }

    /*------------------------------------
    header
    --------------------------------*/

    #header {
        background-color: #4a3416;
        height: 10vh;
    }

    #header .logo {
        left: 25%;
    }

    /*------------------------------------
    ハンバーガーメニュー
    --------------------------------*/

    /*ハンバーガーメニューの3本線を作る*/

    #header .hamburger {
        width: 5rem;
        height: 5rem;
        cursor: pointer;
        position: fixed;
        top: 1.5rem;
        right: 2rem;
        z-index: 30;
    }

    #header .hamburger span {
        width: 3rem;
        height: 0.3rem;
        background-color: #fff;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: all 0.3s;
    }

    #header .hamburger span:nth-of-type(1) {
        top: 1.6rem;
    }

    #header .hamburger span:nth-of-type(2) {
        top: 2.5rem;
    }

    #header .hamburger span:nth-of-type(3) {
        top: 3.4rem;
    }

    /*ハンバーガーメニューを押したときに出てくるメニューを作る*/

    #header .navi {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        transition: all 0.5s;
    }

    #header .navi .menu {
        width: 100%;
        height: 60vh;
        flex-direction: column;
        padding: 8rem 0;
        overflow: auto;
        font-size: 2rem;
    }

    #header .navi .menu li {
        padding: 1rem 0;
        margin-left: 0;
    }

    /*ボタンを押した時の動作をつくる*/
    #header .navi.active {
        right: 0;
        margin: 0;
    }

    #header .hamburger.active span:nth-of-type(1) {
        top: 24px;

        transform: rotate(-45deg);
    }

    #header .hamburger.active span:nth-of-type(2) {
        opacity: 0;
    }

    #header .hamburger.active span:nth-of-type(3) {
        top: 24px;
        transform: rotate(45deg);
    }

    /*------------------------------------
    main共通
    --------------------------------*/
    .index {
        font-size: 2.3rem;
    }

    #feature .index,
    #greeting .index,
    #access .index {
        left: 50%;
        transform: translate(-50%);
    }

    /*------------------------------------
    mainvisual
    --------------------------------*/
    .mainvisual img {
        padding-top: 10vh;
        width: 100%;
        height: 60vh;
    }

    .mainvisual::before,
    .mainvisual::after {
        white-space: nowrap;
    }

    .mainvisual::before {
        font-size: 3.8rem;
    }

    .mainvisual::after {
        font-size: 1.5rem;
    }

    /*---------------------------
reserve
--------------------------------*/

    .reserve {
        padding-top: 2.5rem;
    }

    .reserve p {
        font-size: 1.8rem;
    }

    .btn-box {
        gap: 3rem;
        margin-top: 2rem;
    }

    .btn-box a {
        flex-direction: column;
        width: 150px;
        font-size: 1.8rem;
        padding: 1.5rem 1rem;
    }

    .link-text {
        margin-top: 0.5rem;
    }

    .size {
        font-size: 2.8rem;
    }

    .btn-box .web {
        left: 8%;
        top: 43%;
    }

    .btn-box .tel {
        right: 8%;
        top: 43%;
    }

    /*------------------------------------
    information
    --------------------------------*/

    #information {
        padding: 0 2rem;
    }

    .info-flex {
        flex-direction: column;
    }

    .schedule {
        width: 100%;
        max-width: 100%;
    }

    .biz-hour {
        max-width: 100%;
        font-size: 1.5rem;
    }

    .biz-hour th,
    .biz-hour td {
        padding: 10px 10px; /* スマホ時に横スクロールしないよう、横の余白（padding）を20px→10pxに */
    }

    .notice li {
        font-size: 1.4rem;
    }

    /*------------------------------------
    feature
    --------------------------------*/

    #feature {
        padding: 5rem 2rem;
    }

    .feature-flex {
        justify-content: center;
        padding: 0;
        gap: 5%;
        margin: 5rem 0 3rem;
    }

    .feature {
        flex-direction: column;
        width: 40%;
        height: 40%;
        flex-wrap: wrap;
        margin: 0;
        gap: 1rem;
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

    .feature img {
        width: 100%;
        max-width: 80px;
    }

    .feature .text {
        font-size: 2rem;
    }

    /*------------------------------------
    greeting
    --------------------------------*/

    #greeting {
        padding: 0 2rem;
    }

    .greeting-flex {
        flex-direction: column;
    }

    .greeting-flex img {
        left: 0;
        width: 100%;
    }

    .explanation {
        font-size: 1.4rem;
        width: 90%;
        background-color: transparent;
        padding: 2rem;
    }

    /*------------------------------------
    access
    --------------------------------*/

    #access {
        padding: 5rem 2rem;
    }

    .address {
        margin: 0;
        font-size: 1.4rem;
        text-align: center;
        margin: 3rem 0;
    }

    /*------------------------------------
    footer
    --------------------------------*/

    .footer-logo {
        margin: 0 0 1.5rem 0;
    }

    .footer-flex {
        flex-direction: column;
    }

    #footer .menu {
        margin-bottom: 1.5rem;
    }

    #footer .menu li {
        font-size: 1.2rem;
        white-space: nowrap;
        margin-right: 1.8rem;
    }

    #footer .menu li::after {
        right: -25%;
    }

    #footer .menu li:nth-child(2)::after {
        right: -21%;
    }

    #footer .menu li:nth-child(3)::after {
        right: -20%;
    }

    #footer .menu li:nth-child(4)::after {
        right: -11%;
    }

    #footer .menu li:nth-child(5) {
        margin-right: 0;
    }
}

@media (max-width: 1020px) and (min-width: 768px) {
    #header {
        height: 10vh;
    }

    #header .menu {
        max-width: 900px;
        padding: 0 3rem;
    }

    #feature .index,
    #greeting .index,
    #access .index {
        left: 50%;
        transform: translate(-50%);
    }

    .mainvisual img {
        padding-top: 10vh;
        width: 100%;
        height: 60vh;
    }

    .reserve p {
        font-size: 2rem;
    }

    .btn-box {
        margin-top: 3rem;
    }

    .info-flex {
        flex-direction: column;
    }

    .feature {
        margin: 2rem 1rem;
        width: 40%;
        gap: 2rem;
    }

    #greeting {
        padding: 0 2rem;
    }

    #access {
        padding: 5rem 2rem;
    }

    .address {
        margin: 0;
    }
}

/*
* {
    outline: 2px red solid;
}*/
