a {
    text-decoration: none;
    color: black;
}

.slider {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    height: 100vh;
    /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

@media screen and (max-width: 768px) {
    .slider {
        width: 100%;
        height: auto;
        /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    }
}

/*　背景画像設定　*/

.slider-item01 {
    background: url(common/top.webp);
}

.slider-item02 {
    background-image: url(common/docandpa.webp);
}

.slider-item03 {
    background-image: url(common/machine.webp);
}

.slider-item {
    width: 100%;
    /*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 85vh;
    /*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;
    /*背景画像をリピートしない*/
    background-position: center;
    /*背景画像の位置を中央に*/
    background-size: cover;
    /*背景画像が.slider-item全体を覆い表示*/
}

@media screen and (max-width: 768px) {
    .slider-item {
        width: 100%;
        height: 60vh;
    }
}

@media screen and (max-width: 428px) {
    .slider-item {
        width: 100%;
        height: 55vh;
    }
}

/*矢印の設定*/

.slick-prev,
.slick-next {
    position: absolute;
    z-index: 3;
    top: 40%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid gray;
    /*矢印の色*/
    border-right: 2px solid gray;
    /*矢印の色*/
    height: 20px;
    width: 20px;
}


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

    .slick-prev,
    .slick-next {
        top: 50%;
    }
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: 2.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: 2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    position: relative;
    z-index: 3;
    text-align: center;
    margin: -70px 0 0 0;
    /*ドットの位置*/
}

.slick-dots li {
    display: inline-block;
    margin: 0 15px;
}

.slick-dots button {
    border: none;
    color: transparent;
    outline: none;
    width: 10px;
    /*ドットボタンのサイズ*/
    height: 10px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: gray;
    /*ドットボタンの色*/
}

.slick-dots .slick-active button {
    background: black;
    /*ドットボタンの現在地表示の色*/
}


/*========= レイアウトのためのCSS ===============*/


h1 {
    width: 50vw;
    font-size: 42px;
    position: absolute;
    z-index: 2;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    padding: 30px;
    line-height: 1.4;
    font-family: 'ヒラギノ明朝 Pro';
}

.wrapper {
    position: relative;
}

@media screen and (max-width: 768px) {
    h1 {
        width: 60vw;
        top: 50%;
        font-size: 26px;
        padding: 20px;
    }
}

@media screen and (max-width: 428px) {
    h1 {
        font-size: 22px;
    }
}


.test {
    display: inline-block;
    transition: 1s;
    opacity: 0;
}

.test:first-child {
    animation: catch_anime 3s forwards 2.5s;
}

.test:nth-child(2) {
    animation: catch_anime 4s forwards 3.5s;
}

.test:nth-child(3) {
    animation: catch_anime 4s forwards 3.5s;
}

@keyframes catch_anime {
    0% {
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}














/*========= LoadingのためのCSS ===============*/

#loading {
    width: 100%;
    height: 100vh;
    transition: all 1s;
    background-color: #0bd;
    display: flex;
    align-items: center;
}

#loadingcontinue {
    margin: 0 auto;
}

.spinner {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border-radius: 100%;
    animation: sk-scaleout 1.5s infinite ease-in-out;
}

@media screen and (max-width: 428px) {
    .spinner {
        width: 150px;
        height: 150px;
    }
}

/* ローディングアニメーション */
@keyframes sk-scaleout {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1.0);
        opacity: 0;
    }
}

/* コンテンツ部分の装飾 */
#loading {
    width: 100%;
    height: 100vh;
    transition: all 2s;
    background-color: #0bd;

    /* 以下のコードを追加 */
    position: fixed;
    z-index: 999;
}


.loaded {
    visibility: hidden;
}

#logoloading {
    width: 30px;
    height: 33px;
}

#dentalloading {
    display: flex;
    margin-top: 50px;
    justify-content: center;
}

#read {
    margin-top: 5px;
    margin-left: 20px;
    color: white;
}

@media screen and (max-width: 428px) {
    #logoloading {
        width: 25px;
        height: 30px;
    }

    #read {
        margin-top: 2px;
        font-size: 14px;
    }
}

/* ローディングアニメーションここまで */








header {
    background-color: rgba(255,
            255,
            255,
            0.5);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
    top: 0;
}

#logo {
    position: absolute;
    z-index: 5;
    background-color: #FFF;
    padding-top: 3%;
    padding-bottom: 3%;
    padding-right: 3%;
}

.link {
    color: black;
    text-decoration: none;
}

.link:hover {
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
    #logo {
        max-width: 10vw;
        height: auto;
        padding-top: 25px;
        padding-bottom: 0px;
    }

    #logo img {
        width: 130px;
        height: auto;
    }
}







/*ナビゲーション*/
#navigation {
    display: flex;
    margin-top: 30px;
}

.navigationli {
    font-size: 16px;
    color: rgba(11, 10, 12, 1);
    margin-right: 40px;
}





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

    /*============
nav
=============*/
    #humberger {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        background: #ffffff;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 8;
        opacity: 0;
    }

    #humberger {
        right: -220px;
        width: 220px;
    }

    .open #humberger {
        right: 0;
        opacity: 1;
    }

    .inner {
        padding: 25px;
    }

    #navigation {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0;
        margin-top: 100px;
    }

    .navigationli,
    #contactli {
        position: relative;
        margin: 0;
        border-bottom: 1px solid #333;
    }

    .navigationli a,
    #contactli a {
        margin-top: 10px;
        display: block;
        color: #333;
        font-size: 14px;
        padding: 1em;
        text-decoration: none;
        transition-duration: 0.2s;
    }

    .navigationli a:hover,
    #contactli a:hover {
        background: #e4e4e4;
    }



    /*============
.toggle_btn
=============*/
    .toggle_btn {
        margin-top: 15px;
        padding-top: 50px;
        position: fixed;
        right: 30px;
        width: 50px;
        transition: all .5s;
        cursor: pointer;
        z-index: 8;
        background: rgba(81, 194, 238, .8);
        display: block;
    }

    .toggle_btn span {
        display: block;
        position: absolute;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: white;
        border-radius: 4px;
        transition: all .5s;
    }

    .toggle_btn span:nth-child(1) {
        top: 15px;
        left: 10px;
    }

    .toggle_btn span:nth-child(2) {
        top: 24px;
        left: 10px;
    }

    .toggle_btn span:nth-child(3) {
        bottom: 14px;
        left: 10px;
    }

    .open .toggle_btn span {
        background-color: white;
    }

    .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-315deg);
    }

    .open .toggle_btn span:nth-child(2) {
        opacity: 0;
    }

    .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(315deg);
        transform: translateY(-10px) rotate(315deg);
    }

    /*============
#mask
=============*/
    #mask {
        display: none;
        transition: all .5s;
    }

    .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0.5;
        z-index: 7;
        cursor: pointer;
    }
}












/*web予約と電話*/
#reservation {
    right: 0;
    z-index: 2;
    position: fixed;
}

.reservationli {
    writing-mode: vertical-rl;
    font-size: 16px;
    font-weight: 700;
    width: 50px;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: .3s;
    text-orientation: upright;
    color: #fff;
}

.reservationli a {
    color: #fff;
    text-decoration: none;
}

.reservationli:nth-of-type(1) {
    background: #51c2ee;
    border-bottom: 1px solid #fff;
}

.reservationli:nth-of-type(1):hover {
    background: #d8c665;
}

.reservationli:nth-of-type(2):hover {
    background: #a5a5a5;
}

.reservationli:nth-of-type(2) {
    background: #51c2ee;
}

@media screen and (max-width: 768px) {
    .reservationli:nth-of-type(1):hover {
        background: #51c2ee;
    }

    .reservationli:nth-of-type(2):hover {
        background: #51c2ee;
    }
}

/*web予約と電話終わり*/


/*Topスクロール*/
#p-scroll a {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 100;
    text-align: center;
    text-decoration: none;
    background: #51c2ee;
    color: #fff;
    padding: 30px;
    z-index: 2;
}

#p-scroll a:hover {
    background: #33FFFF;
}

@media screen and (max-width: 768px) {
    #reservation-scroll {
        width: 100%;
    }

    #reservation {
        bottom: 0;
        display: flex;
        left: 0;
        right: 0;
        width: 80%;
    }

    .reservationli {
        writing-mode: horizontal-tb;
        font-size: 16px;
        font-weight: 700;
        width: 100%;
        height: 80px;
        justify-content: flex-start;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        position: relative;
        transition: .3s;
        text-orientation: upright;
        border-right: 1px solid #fff;
    }


    #p-scroll a {
        bottom: 0px;
        right: 0px;
        width: 20%;
        height: 81px;
        display: flex;
        justify-content: center;
        padding: 0px;
        display: flex;
        align-items: center;
    }

    #p-scroll a:hover {
        background: #51c2ee;
    }
}




















#news-display {
    width: 100%;
    background-color: rgba(81, 194, 238, .1);
    padding-top: 100px;
    padding-bottom: 100px;
}

#news-display2 {
    width: 80%;
    min-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    opacity: 0;
}

.news-display2js {
    animation-name: fadeanime1;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

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

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



/*News題名*/
#newstitle {
    color: #00c2ee;
    font-family: "Charmonman";
    font-size: 92px;
    position: relative;
}


#newstitle::after {
    content: "ニュース";
    font-family: 'ヒラギノ明朝 Pro';
    font-size: 26px;
    color: black;
    z-index: 1;
    position: absolute;
    margin-left: 50px;
    top: 50px;
    left: 0;
    right: 0;
}

@media screen and (max-width: 428px) {
    #newstitle {
        font-size: 52px;
    }

    #newstitle::after {
        top: 35px;
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    #news-display {
        padding-top: 150px;
    }

    #news-display2 {
        width: 80%;
        min-width: 0px;
        display: block;
    }

    #newstitle::after {
        margin-left: 0px;
    }

    #newstitle {
        text-align: center;
    }
}



.news-list {
    list-style: none outside;
    margin-left: 100px;
}

@media screen and (max-width: 768px) {
    .news-list {
        margin-left: 0px;
        margin-top: 100px;
    }
}

@media screen and (max-width: 428px) {
    .news-list {
        margin-top: 70px;
    }

    .news-list {
        font-size: 14px;
    }
}

.news-list .item a {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 20px 20px;
}

@media screen and (max-width: 428px) {
    .news-list .item a {
        padding: 10px 20px;
    }
}

.news-list .item .date {
    margin: 0;
    min-width: 120px;
    padding: 0 20px 0 0;
}

.news-list .item .category {
    margin: 0;
    min-width: 70px;
    padding: 0 20px 0 0;
}

.news-list .item .category span {
    color: red;
    text-align: center;
    display: inline-block;
    line-height: 1;
}

.news-list .item .title {
    margin: 0;
    width: 100%;
}

.news-list .item a:hover .title {
    color: #00F;
}

@media screen and (max-width: 768px) {
    .news-list .item a {
        flex-wrap: wrap;
    }

    .news-list .item .date {
        min-width: 100px;
    }

    .news-list .item .title {
        margin-top: 10px;
    }
}














/*ボタン題名*/
.viewall {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 80px;
    margin-top: 50px;
    margin-bottom: 100px;
    padding: 1rem 4rem;
    color: #fff;
    font-weight: bold;
    background: #27acd9;
    position: relative;
    transition: 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    #viewallsm {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

.viewall:hover {
    background: #fff;
    color: #27acd9;
}

.viewall:before,
.viewall:after {
    box-sizing: inherit;
    content: "";
    position: absolute;
    border: 2px solid transparent;
    width: 0;
    height: 0;
}

.viewall:before {
    top: 0;
    left: 0;
}

.viewall:after {
    bottom: 0;
    right: 0;
}

.viewall:hover:before,
.viewall:hover:after {
    width: 100%;
    height: 100%;
}

.viewall:hover:before {
    border-top-color: #27acd9;
    border-right-color: #27acd9;
    transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}

.viewall:hover:after {
    border-bottom-color: #27acd9;
    border-left-color: #27acd9;
    transition: border-color 0s ease-out 0.2s, width 0.15s ease-out 0.2s, height 0.15s ease-out 0.3s;
}










/*挨拶*/
#n {
    background-color: white;
    padding-top: 100px;
    padding-bottom: 250px;
}

#Greeting-display1 {
    width: 80%;
    min-width: 700px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    position: relative;
    opacity: 0;
}

@media screen and (max-width: 768px) {
    #Greeting-display1 {
        min-width: 0px;
    }
}


#Greeting {
    color: #00c2ee;
    font-family: "Charmonman";
    font-size: 92px;
    position: relative;
}

#Greeting::after {
    content: "コンセプト";
    font-family: 'ヒラギノ明朝 Pro';
    font-size: 26px;
    color: black;
    z-index: 1;
    position: absolute;
    margin-left: 80px;
    top: 50px;
    left: 0;
    right: 0;
}

@media screen and (max-width: 428px) {
    #Greeting {
        font-size: 52px;
    }

    #Greeting::after {
        font-size: 16px;
        top: 35px;
        margin-left: 60px;
    }
}

#greeting-sentence {
    margin-top: 100px;
    line-height: 2.2;
    position: relative;
}

#greeting-sentence::before {
    background: rgba(81, 194, 238, .3);
    content: "";
    position: absolute;
    top: 80%;
    left: 50px;
    height: 150px;
    width: 150px;
}

#greeting-sentence::after {
    background: rgba(81, 194, 238, .3);
    content: "";
    position: absolute;
    top: 90%;
    left: -80px;
    height: 200px;
    width: 200px;
}



#greeting-matome2 {
    z-index: -1;
    position: absolute;
    top: 0;
    opacity: 0.2;
    right: 0;
}

@media screen and (max-width: 768px) {
    #n {
        padding-bottom: 100px;
    }

    #greeting-sentence {
        line-height: 40px;
    }

    #greeting-matome2 img {
        width: 90vw;
        height: auto;
    }
}

@media screen and (max-width: 428px) {
    #Greeting-display1 {
        width: 90%;
    }

    #greeting-sentence {
        margin-top: 70px;
        line-height: 30px;
        font-size: 14px;
    }
}

#greeting-matome2::after {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: inset 0 0 15px 15px #FFF;
}


.Greeting-display1js {
    animation-name: fadeanime2;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

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

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














#Featuretitle {
    color: #00c2ee;
    font-family: "Charmonman";
    font-size: 92px;
    text-align: center;
    position: relative;
    margin-top: 100px;
    opacity: 0;
}

#Featuretitle::after {
    content: "3つの特徴";
    font-family: 'ヒラギノ明朝 Pro';
    font-size: 26px;
    color: black;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
}

@media screen and (max-width: 428px) {
    #Featuretitle {
        margin-top: 50px;
        font-size: 52px;
    }

    #Featuretitle::after {
        font-size: 16px;
        top: 35px;
    }
}

.Featuretitlejs {
    animation-name: fadeanime3;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeanime3 {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

/*Feature写真1*/
.matome-machine-MTM {
    width: 100%;
    position: relative;
}

.displayflex-machine-MTM {
    display: flex;
    width: 80%;
    min-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
}

@media screen and (max-width: 428px) {
    .displayflex-machine-MTM {
        margin-top: 70px;
    }
}

#machinephoto img {
    max-width: 40vw;
    height: auto;
}

#title-01-sentence {
    padding-left: 50px;
}

#title-01-sentence::after {
    width: 70%;
    margin-left: auto;
    position: absolute;
    z-index: -1;
    margin-top: 5%;
    padding-top: 32%;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(81, 194, 238, .2);
}

.span-machine-MTM {
    font-size: 62px;
    font-family: "Charmonman";
}

.title-machine-MTM {
    font-size: 38px;
    margin-top: 10px;
    line-height: 1;
}

.feature-sentence {
    line-height: 2;
    margin-top: 30px;
}

#title-01-sentence,
#span-and-MTM,
#span-and-MTMsm,
#title-03-sentence {
    margin-top: 70px;
}

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

    #title-01-sentence,
    #span-and-MTM,
    #span-and-MTMsm,
    #title-03-sentence {
        margin-top: 50px;
    }

    .displayflex-machine-MTM {
        display: block;
        min-width: 0px;
    }

    #machinephoto img {
        width: 80%;
        max-width: 100vw;
        height: auto;
    }

    #title-01-sentence {
        padding-left: 0px;
    }

    .feature-sentence {
        margin-top: 10px;
    }
}

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

    #title-01-sentence,
    #span-and-MTM,
    #span-and-MTMsm,
    #title-03-sentence {
        margin-top: 30px;
    }

    .span-machine-MTM {
        font-size: 42px;
    }

    .title-machine-MTM {
        font-size: 26px;
        margin-top: 10px;
        line-height: 1;
    }

    #machinephoto img {
        width: 100%;
        max-width: 100vw;
        height: auto;
    }
}


/*Feature写真2*/
#MTMphoto img {
    max-width: 45vw;
    height: auto;
}

#MTMphoto::after {
    width: 40%;
    margin-left: auto;
    position: absolute;
    z-index: -1;
    margin-top: 3%;
    padding-top: 30%;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(81, 194, 238, .2);
}

#span-and-MTMsm {
    display: none;
}

#feature-sentence2 {
    margin-top: 30px;
    line-height: 2;
    width: 90%;
}

@media screen and (max-width: 768px) {
    #span-and-MTMsm {
        display: block;
    }

    #span-and-MTM {
        display: none;
    }

    #MTMphoto img {
        width: 80%;
        max-width: 100vw;
        height: auto;
    }
}

@media screen and (max-width: 428px) {
    #MTMphoto img {
        width: 100%;
        max-width: 100vw;
        height: auto;
    }
}




/*Feature写真3*/
#hygienistphoto {
    width: 100%;
}

#hygienistphoto img {
    max-width: 40vw;
    height: auto;
}

#title-03-sentence {
    width: 100%;
    padding-left: 50px;
}

#title-03-sentence::after {
    width: 90%;
    height: 300px;
    margin-right: auto;
    position: absolute;
    z-index: -1;
    margin-top: 10%;
    padding-top: 15%;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(81, 194, 238, .2);
}

@media screen and (max-width: 768px) {
    #hygienistphoto img {
        width: 80%;
        max-width: 100vw;
        height: auto;
    }

    #title-03-sentence {
        padding-left: 0px;
    }
}

@media screen and (max-width: 428px) {
    #hygienistphoto {
        width: 100%;
    }

    #hygienistphoto img {
        width: 100%;
        max-width: 100vw;
        height: auto;
    }
}












/*固定写真*/
.container {
    position: relative;
    height: 600px;
    margin-top: 300px;
}

@media screen and (max-width: 768px) {
    .container {
        margin-top: 100px;
        height: 200px;
    }
}

.inner {
    height: 100%;
    clip-path: inset(0);
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('common/room.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}








#trephoto {
    width: 80%;
    position: absolute;
    z-index: -100;
    opacity: 0.1;
}

#photo1-6 {
    flex-wrap: wrap;
    position: relative;
    width: 80%;
    min-width: 700px;
    margin-top: 150px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    display: flex;
    display: grid;
    grid-template-columns: repeat(3, auto);
}

@media screen and (max-width: 768px) {
    #photo1-6 {
        width: 75%;
        min-width: 0px;
        grid-template-columns: repeat(2, auto);
    }
}

@media screen and (max-width: 428px) {
    #photo1-6 {
        width: 90%;
        margin-top: 70px;
    }
}

#treatmenttitle {
    color: #00c2ee;
    padding-top: 150px;
    font-family: "Charmonman";
    font-size: 92px;
    text-align: center;
    position: relative;
    opacity: 0;
}

#treatmenttitle::after {
    content: "診療案内";
    font-family: 'ヒラギノ明朝 Pro';
    font-size: 26px;
    color: black;
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
}

@media screen and (max-width: 428px) {
    #treatmenttitle {
        font-size: 52px;
    }

    #treatmenttitle::after {
        font-size: 16px;
        top: 180px;
    }
}

.treatmenttitlejs {
    animation-name: fadeanime4;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeanime4 {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.section-treatment {
    box-shadow: 0 0 8px gray;
    padding: 24px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin: 0 0 50px 0;
    position: relative;
    opacity: 0;
    transition: 3s;
}

.section-treatment.fadein {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .section-treatment {
        margin: 0 0 50px 0;
        box-shadow: 0 0 8px gray;
        padding: 15px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }
}

@media screen and (max-width: 428px) {
    .section-treatment {
        margin: 0 0 10px 0;
    }
}

.treatmentphoto {
    width: 20vw;
    height: auto;
}

@media screen and (max-width: 768px) {
    .treatmentphoto {
        width: 30vw;
    }
}

@media screen and (max-width: 428px) {
    .treatmentphoto {
        width: 35vw;
    }
}

.section-treatment:before,
.section-treatment:after {
    content: "";
    height: 98%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.section-treatment:before {
    background: #fafafa;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    left: -5px;
    top: 4px;
    transform: rotate(-2.5deg);
}

.section-treatment:after {
    background: #f6f6f6;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    right: -3px;
    top: 1px;
    transform: rotate(1.4deg);
}




.section-treatment:hover {
    background-color: rgba(81, 194, 238, .2);
}

.h3-sentence {
    font-family: 'ヒラギノ明朝 Pro';
    padding-top: 30px;
    padding-bottom: 50px;
    font-size: 28px;
}

@media screen and (max-width: 768px) {
    .h3-sentence {
        font-family: 'ヒラギノ明朝 Pro';
        padding-top: 30px;
        font-size: 24px;
    }
}

@media screen and (max-width: 428px) {
    .h3-sentence {
        font-size: 18px;
        padding-top: 10px;
        padding-bottom: 20px;
    }
}










#footer {
    padding-top: 100px;
}

#contact {
    width: 80%;
    min-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    #contact {
        text-align: center;
        display: block;
        width: 80%;
        min-width: 0px;
    }

    #contactlogo {
        display: flex;
        justify-content: center;
    }
}

#adress {
    margin-top: 50px;
}

#access {
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    #adress-access {
        display: inline-block;
        text-align: left;
    }

    #adress {
        margin-top: 50px;
    }

    #access {
        margin-top: 10px;
    }
}



/*web予約と電話*/
#reservation2 {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    #reservation2 {
        justify-content: center;
    }
}

#reservationli2-1,
#reservationli2-2 {
    writing-mode: horizontal-tb;
    font-size: 16px;
    font-weight: 700;
    width: 200px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    transition: .3s;
    text-orientation: upright;
    margin-bottom: 10px;
}

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

    #reservationli2-1,
    #reservationli2-2 {
        width: 30vw;
        height: 50px;
        margin-bottom: 10px;
    }
}

#reservationli2-1:nth-of-type(1) {
    background: rgba(81, 194, 238, .8);
}

#reservationli2-1:nth-of-type(1):hover {
    background: rgba(216, 198, 101, .8);
}

#reservationli2-2:nth-of-type(2):hover {
    background: rgba(165, 165, 165, .8);
}

#reservationli2-2:nth-of-type(2) {
    background: rgba(81, 194, 238, .8);
}

#reservationli2-1 {
    margin-right: 20px;
}

.linkwrap {
    text-decoration: none;
    color: white;
}

@media screen and (max-width: 428px) {
    #reservation2 {
        margin-top: 40px;
        display: block;
        display: grid;
        grid-template-columns: repeat(1, auto);
    }

    #reservationli2-1,
    #reservationli2-2 {
        width: 200px;
        height: 40px;
        margin-bottom: 10px;
    }

    #reservationli2-1 {
        margin-right: 0px;
    }
}

/*web予約と電話終わり*/



.time-table01 {
    margin-left: 50px;
    margin-top: 90px;
}

.shinryou {
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .time-table01 {
        width: 100%;
        margin-left: 0px;
    }
}

@media screen and (max-width: 428px) {
    .time-table01 {
        margin-top: 40px;
    }
}

.time-table01 th,
.time-table01 td {
    font-family: "FOT-筑紫明朝 Pr6N M";
    text-align: center;
    line-height: 1;
    vertical-align: middle;
    color: #0D3397;
}

.time-table01 th {
    border-bottom: 1px solid #C1C1C1;
    padding: 0px 15px 15px 10px;
}

@media screen and (max-width: 768px) {
    .time-table01 th {
        border-bottom: 1px solid #C1C1C1;
        padding: 0px 0px 15px 0px;
    }
}

.time-table01 th:first-child {
    border-bottom: 1px solid #C1C1C1;
    width: 140px;
}

.time-table01 th:last-child {
    border-bottom: 1px solid #C1C1C1;
}

.time-table01 td {
    border-bottom: 1px solid #C1C1C1;
    padding: 20px 5px;
}

.time-table01 td:first-child {
    border-bottom: 1px solid #C1C1C1;
    font-size: 14px;
}

.time-table01 tr:last-child td:first-child {
    border-bottom: 1px solid #C1C1C1;
}

.time-table01 .event01 {
    color: #ddd;
}

#time {
    margin-left: 50px;
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
    #time {
        margin-left: 0px;
        margin-top: 30px;
        text-align: left;
    }
}




#map {
    width: 80%;
    min-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

@media screen and (max-width: 768px) {
    #map {
        width: 100%;
        min-width: 0px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
    }
}

iframe {
    width: 100%;
    height: 400px;
}

#copy {
    margin-top: 100px;
    padding-bottom: 50px;
    text-align: center;
}