@charset "UTF-8";

/* CSS Document */
:root {
    --serif: "Shippori Mincho", serif;
    --round: "Kiwi Maru", sans-serif;
    --sans: "Noto Sans JP", sans-serif;
}

.serif {
    font-family: var(--serif);
}

.round {
    font-family: var(--round);
}

.sans {
    font-family: var(--sans);
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

* {
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    border: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    table-layout: fixed;
    list-style: none;
    -webkit-overflow-scrolling: touch;
    appearance: none;
    -webkit-appearance: none;
}

body {
    color: #222;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.8rem;
    -webkit-text-size-adjust: 100%;
    letter-spacing: 0.05rem;
    vertical-align: top;
}

h1 {
    font-family: "FP-ヒラギノ角ゴ ProN W3", sans-serif;
}

h2 {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "FP-ヒラギノ角ゴ ProN W3", sans-serif;
    padding-left: 15px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    backface-visibility: hidden;
    border: 0;
}

img.map,
map area {
    outline: none;
}

figure {}

a img {
    border: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /*タップ時の影をなくす*/
}

a:link,
a:visited {
    text-decoration: none;
    color: #222;
}


.inner {
    max-width: 1060px;
    margin: 0 auto;

}

/*
footer {
    text-align: center;
    padding: 30px 30px 128px 30px;
    color: #fff;
    max-width: 1400px;
    margin: auto;
}

@media only screen and (max-width: 860px) {
    footer {
        padding: 30px 30px 128px 30px;
    }
}

footer h1 {
    font-size: 1.2rem;
    text-align: left;
}

footer h2 {
    font-size: 0.8rem;
    opacity: 0.5;
    padding: 0;
    margin: 15px 0;
}

footer a:link,
footer a:visited {
    display: inline-block;
    color: #fff;
}

footer li {
    text-align: left;
    line-height: 2.4rem;
}

footer .table>* {
    text-align: left;
    padding: 0;
}

.linebanner {}
*/


/* ////////////////////////////////////////////
*                sphone-nav
* //////////////////////////////////////////// */

.sns-list {
    position: absolute;
    right: 30px;
    top: 200px;
    display: flex;
    gap: 20px;
    flex-direction: column;

    @media screen and (max-width: 1200px) {
        width: 80px;
        right: 20px;
        top: 160px;
    }

    @media screen and (max-width: 860px) {
        width: 100%;
        position: relative;
        flex-direction: row;
        justify-content: center;
        top: 0px;
        right: 0px;
        padding: 20px 0;

        img {
            width: 60px;
        }
    }
}


#gnav-trigger {
    position: fixed;
    top: 0;
    right: 0;
    width: 140px;
    aspect-ratio: 1 / 1;
    border-radius: 0 0 0 20px;
    z-index: 999;
    flex-shrink: 0;
    cursor: pointer;
    background: #0096b0;

    @media screen and (max-width: 1200px) {
        width: 120px;
    }

    @media screen and (max-width: 860px) {
        width: 80px;
        border-radius: 80px;
        top: 10px;
        right: 10px;
    }

}

.is-drawer-open #gnav-trigger {
    background: none;
}

#gnav-trigger::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}


#panel-btn-text {
    display: block;
    position: absolute;
    top: 71%;
    left: 50%;
    transform: translate(-50%, -71%);
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-family: var(--serif);

    @media screen and (max-width: 1200px) {
        font-size: 14px;
    }

    @media screen and (max-width: 860px) {
        display: none;
    }
}

#panel-btn-text::before {
    content: "MENU";
    color: #fff;
}

.is-drawer-open #panel-btn-text::before {
    color: #333;
}

#panel-btn-icon {
    display: block;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 50px;
    height: 2px;
    background: #fff;
    transition: .2s
}

#panel-btn-icon:after,
#panel-btn-icon:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 50px;
    height: 2px;
    background: #fff;
    transition: .3s
}


.is-drawer-open #panel-btn-icon,
.is-drawer-open #panel-btn-icon:after,
.is-drawer-open #panel-btn-icon:before {
    background: #333;
}

#panel-btn-icon:before {
    margin-top: -18px
}

#panel-btn-icon:after {
    margin-top: 16px
}

@media screen and (max-width: 1200px) {

    #panel-btn-icon,
    #panel-btn-icon:after,
    #panel-btn-icon:before {
        width: 40px;
    }

    #panel-btn-icon:before {
        margin-top: -12px
    }

    #panel-btn-icon:after {
        margin-top: 10px
    }
}

@media screen and (max-width: 860px) {

    #panel-btn-icon {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #panel-btn-icon,
    #panel-btn-icon:after,
    #panel-btn-icon:before {
        width: 30px;
    }

    #panel-btn-icon:before {
        margin-top: -8px
    }

    #panel-btn-icon:after {
        margin-top: 6px
    }
}

#panel-btn .close {
    background: 0 0
}

#panel-btn .close:after,
#panel-btn .close:before {
    margin-top: 0
}

#panel-btn .close:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg)
}

#panel-btn .close:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg)
}


#drawer-bg {
    display: none;
    width: 500px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 998;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    @media screen and (max-width: 1200px) {
        width: 80%;
    }
}

#drawer-menu {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 100px;
    z-index: 101;

    @media screen and (max-width: 860px) {
        top: 80px;
    }
}


#drawer-menu li {
    display: block;
    padding: 0 1em;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

#drawer-menu li a {
    display: block;
    padding: 0.7em 1em;
    font-weight: bold;
    color: #002d74;
    font-size: 20px;
    line-height: 1.8;

    @media screen and (max-width: 860px) {
        font-size: clamp(14px, calc(18px - (4 * ((860px - 100vw) / 540))), 18px);
    }
}

#drawer-menu li a .areaname {}


.is-drawer-open #drawer-bg {
    display: block;
    animation-duration: .5s;
    animation-name: fadein
}

.is-drawer-open #drawer-menu {
    display: block;
}

/* has children
------------------------------------------*/
#drawer-menu li.parent a {
    display: inline-block;
    position: relative;
}

#drawer-menu li.parent::after {
    position: absolute;
    right: 2vmax;
    top: 0;
    content: '\f107';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    padding-right: 0.5em;
    font-size: 4vmax;
}

#drawer-menu li.parent.open::after {
    content: '\f106';
}

#drawer-menu ul.sub-menu {
    display: none;
    margin: 0 1em;
}

#drawer-menu ul.sub-menu li {
    display: block;
    position: relative;
}

#drawer-menu ul.sub-menu li a::before {
    content: '\f105';
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    padding-right: 0.5em;
    color: var(--main-color);
}


.footer-line {
    padding: 5vmax 3vmax;
    background: url(images/footer-line-bg.png)no-repeat top center / cover;
    color: #fff;

    .ttl {
        font-size: 44px;
        font-family: var(--sans);
        font-weight: 500 !important;
        text-align: center;
        line-height: 1.2;

        @media screen and (max-width: 860px) {
            font-size: clamp(20px, calc(44px - (24 * ((860px - 100vw) / 540))), 44px);
        }
    }


    .subttl {
        font-size: 36px;
        font-family: var(--sans);
        font-weight: 500 !important;
        line-height: 1.2;
        margin-bottom: 1em;
        text-align: center;

        @media screen and (max-width: 860px) {
            font-size: clamp(14px, calc(34px - (20 * ((860px - 100vw) / 540))), 34px);
        }
    }

    .read {
        margin-bottom: 3vmax;
    }

    .line-box {
        background: rgba(255, 255, 255, 0.9);
        padding: 2vmax;
        display: inline-block;

        .line-box-inner {
            display: flex;
            justify-content: space-around;
            gap: 2vmax;

        }

        .line-more {
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            color: #00b45e;
            font-size: 26px;
            font-weight: 600;
            line-height: 1.6;

            @media screen and (max-width: 860px) {
                font-size: clamp(14px, calc(26px - (12 * ((860px - 100vw) / 540))), 26px);
            }
        }
    }
}

.footer-cpr {
    padding: 1em;
    text-align: center;
    font-size: 16px;

    @media screen and (max-width: 860px) {
        font-size: 10px;
    }
}

.scroll-disp {
    opacity: 0;
    transform: translate3d(0, 46px, 0);
}

.scroll-disp.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 1s;
}

#page-top {
    position: fixed;
    bottom: 65px;
    right: 10px;
    font-size: 1rem;
    z-index: 99;
}

#page-top a {
    background-color: rgba(28, 42, 50, 0.9);
    text-decoration: none;
    color: #fff;

    width: 60px;
    height: 60px;
    padding-top: 25%;
    text-align: center;
    display: block;
    border-radius: 30px;
}

#page-top a:hover {
    text-decoration: none;
    background-color: rgba(28, 42, 50, 1);
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0 0;
}

.inner {
    max-width: 960px;
    margin: auto;
}

.card {
    width: 100%;
    padding: 30px 30px 30px 30px;
}

.hide {
    display: none;
}

.menu {
    position: fixed;
    background-color: rgba(28, 42, 50, 0.9);
    height: 100%;
    overflow: auto;
    width: 260px;
    left: 0;
    top: 0;
    z-index: 10;
    padding: 25px 25px 25px 50px;
    color: #aaa;
    background-image: url("images/dentalambition.png");
    background-position: 10px 20px;
    background-repeat: no-repeat;
}

.menu a,
.menu a:visited {
    color: #fff;
}

.menu .logo1 {
    font-size: 0.8rem;
    font-family: "Shippori Mincho B1", serif;

    line-height: 1.2rem;
    margin-bottom: 15px;
}

.menu .logo2 {
    font-size: 1rem;
    line-height: 1.4rem;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    margin-bottom: 5px;
}

.menu .logo3 {
    font-size: 1.6rem;
    line-height: 1.8rem;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 600;
    margin-bottom: 50px;
}

.menu ul li {
    padding-bottom: 20px;
}

.paper {
    width: 100%;
    margin: auto;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.content {
    width: 100%;
    margin: auto;
}

.table {
    width: 100%;
    display: table;
}

.table>* {
    display: table-cell;
    vertical-align: top;
}

.flex {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.space-64 {
    height: 64px;
    width: 64px;
    display: block;
}

.space-32 {
    height: 32px;
    width: 32px;
    display: block;
}

.space-24 {
    height: 24px;
    width: 24px;
    display: block;
}

.space-16 {
    height: 16px;
    width: 16px;
    display: block;
}

@media screen and (max-width: 860px) {
    .flex {
        flex-direction: column;
    }
}

.sp {
    display: none;
}

.pc {
    display: block;
}

.serif {
    font-family: var(--serif);
}

.normalbutton,
a.normalbutton {
    background-color: #1c2a32;
    font-family: "M PLUS 1p", sans-serif;
    color: #fff;
    font-size: 1.4rem;
    padding: 15px;
    position: relative;
    max-width: 480px;
    min-width: 260px;
    display: block;
    margin: 40px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

a.bigbutton {
    background-color: #1c2a32;
    font-family: "M PLUS 1p", sans-serif;
    color: #fff;
    font-size: 1.1rem;
    padding: 15px;
    position: relative;
    max-width: 480px;
    min-width: 260px;
    display: block;
    margin: 40px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

a.bigbutton:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

a.bigbutton:after {
    content: "\f105";
    font-size: 1.4rem;
    font-family: FontAwesome;
    color: #fff;
    display: inline-block;
    position: absolute;
    right: 20px;
    font-weight: normal;
}

a.contactbutton {
    background-color: rgba(204, 105, 107, 1);
    font-family: "M PLUS 1p", sans-serif;
    color: #fff;
    font-size: 1.4rem;
    padding: 25px;
    position: relative;
    max-width: 560px;
    min-width: 280px;
    display: block;
    margin: 40px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

a.contactbutton:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

a.contactbutton:after {
    content: "\f1d8";
    font-size: 1.4rem;
    font-family: FontAwesome;
    color: #fff;
    display: inline-block;
    position: absolute;
    right: 20px;
    font-weight: normal;
}

.spmenu {
    width: 100%;
    background-color: rgba(28, 42, 50, 0.9);
    position: fixed;
    bottom: 0;
    z-index: 99;
}

.spmenu ul {
    display: table;
    width: 100%;
}

.spmenu ul>li {
    display: table-cell;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.spmenu ul>li a {
    color: #fff;
    display: block;
    width: 100%;
    auto: 100%;
    font-family: FontAwesome;
    font-size: 1.3rem;
}

.spmenu #menupanel {
    display: none;
}

.spmenu .submenu a {
    display: inline-block;
    width: 49%;
    padding: 6px 3px;
    color: #fff;
}

.instagram {
    display: block;
    width: 170px;
    height: auto;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99;
    transition: all ease 0.3s;
}

.instagram:hover {
    width: 180px;
    height: 180px;
    top: 15px;
    right: 15px;
}

.instagram img {
    width: 100%;
    display: block;
}

.instagram_sp {
    display: block;
    width: 100%;
    height: auto;
    padding: 32px 0 10px 0;
    max-width: 400px;
    margin: auto;
}

.instagram_sp img {
    width: 100%;
    display: block;
}

.line {
    display: block;
    width: 170px;
    height: auto;
    position: fixed;
    top: 210px;
    right: 20px;
    z-index: 99;
    transition: all ease 0.3s;
}

.line:hover {
    width: 180px;
    height: 180px;
    top: 205px;
    right: 15px;
}

.line img {
    width: 100%;
    display: block;
}

.line_sp {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px 0 32px 0;
    max-width: 400px;
    margin: auto;
}

.line_sp img {
    width: 100%;
    display: block;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.hide {
    display: none;
}

@media screen and (max-width: 860px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .table {
        display: block;
        width: 100%;
    }

    .table>* {
        display: block;
        width: 100%;
    }

    .card {
        padding: 24px;
    }
}

.fade {
    opacity: 0;
}

.fade.active {
    opacity: 1;
    transition: all 0.5s ease-in-out;
}

.fadeRight {
    opacity: 0;
}

.fadeRight.active {
    animation-name: fadeRightAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeRightAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeLeft {
    opacity: 0;
}

.fadeLeft.active {
    animation-name: fadeLeftAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeUp {
    opacity: 0;
}

.fadeUp.active {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spacer-128 {
    height: 128px;
}

.spacer-72 {
    height: 72px;
}

.spacer-64 {
    height: 64px;
}

.spacer-48 {
    height: 48px;
}

.spacer-32 {
    height: 32px;
}

.spacer-24 {
    height: 24px;
}

.spacer-16 {
    height: 16px;
}