* {
    font-family: "zuume-cut",
        sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1C2328;
}

html {
    scroll-behavior: smooth;
}

img {
    width: 200px;
}

h1,
h2,
h3,
h4,
a,
#testimonials .swiper-slide p,
#footer-top li {
    font-family: "zuume-cut",
        sans-serif;
    font-weight: 700;
    font-style: normal;

}

h1 {
    font-size: 140px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 40px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 16px;
}

ul {
    display: flex;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

h2,
li a,
#about-left p,
#services h3,
#services h5 #discount h5,
#discount p,
#blog h3,
#blog h5,
#footer-bottom-left-inner li {
    color: white;
}

li a {
    font-size: 27px;
}

.sns a,
.benefit-unit i {
    color: white;
}

.sns a {
    font-size: 30px;
}

.sns a:hover {
    opacity: 0.5;
}

.btn {
    display: block;
    width: 25%;
    margin: 70px auto 0;
    padding: 10px;
    border-radius: 50px;
    background-color: #6B40F1;
    color: white;
    font-size: 20px;
    text-align: center;
    transition: all 0.5s
}

#layer1 {
    position: relative;
    top: 340px;
}

#layer2 {
    background-image: url(imgs/center.jpg);
    background-size: cover;
    padding-bottom: 140px;
}

.title {
    padding-top: 80px;
    text-align: center;
}

.lead {
    padding-top: 20px;
    text-align: center;
    color: white;
}

/*==================================================
ヘッダーメニューアンダーライン
===================================*/
.gnavi li a {
    /*線の基点とするためrelativeを指定*/
    position: relative;
}

.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: -5px;
    left: 0;
    /*線の形状*/
    width: 100%;
    height: 2px;
    background: white;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);
    /*X方向0、Y方向1*/
    transform-origin: left top;
    /*左上基点*/
}

/*hoverの設定*/
.gnavi li a:hover::after {
    transform: scale(1, 1);
    /*X方向にスケール拡大*/
}

/* ================================================== */

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

header img {
    width: 100%;
    height: 860px;
    top: 0;
    left: 0;
    object-fit: cover;
    position: fixed;
    z-index: 0;
}

#header {
    width: 100%;
    padding: 30px 60px;
    position: fixed;
    z-index: 3;
    transition: all 0.5s
}

#header li+li {
    margin-left: 40px;
}

#header .sns {
    margin-left: 75px;
}


.sns a+a {
    margin-left: 20px;
}

header h1 {
    font-size: 140px;
    position: sticky;
    padding-top: 22%;
    color: white;
    text-align: center;
}

/* -----------------hamburger-menu-------------------- */
#drawer-toggle {
    display: none;
}

#hamburger-nav {
    display: flex;
    justify-content: end;
}

/* --------------------------------------------------- */
/* --------------------------------------------------- */
/* ---------------------about me------------------------ */
#about {
    display: flex;
    width: 100%;
    background-color: #1C2328;
}

#about-left {
    width: 50%;
    padding: 100px 0;
    margin-left: 50px;
}

#about-left h2 {
    width: 65%;
    margin: 0 auto;
}

#about-left p {
    width: 65%;
    margin: 50px auto 0;
    font-size: 25px;
    text-align: justify;
}

#about-right {
    display: inline-flex;
    width: 30%;
    margin: 0 auto;
    vertical-align: middle;
}

#about-right img {
    width: 100%;
}

.about-btn {
    border: 1px solid #1C2328;
}

#page-top {
    position: fixed;
    color: #e5e1f2;
    font-size: 50px;
    margin-right: 25px;
    bottom: 70px;
    right: 0;
    transition: all 0.5s
}

#page-top:hover {
    color: #6B40F1;
}


/* --------------------------------------------------- */
/* ---------------------services------------------------ */
#services-main {
    width: 60%;
    margin: 62px auto 0;
    display: flex;
    justify-content: space-between;
}

.unit {
    width: 31%;
}

.unit span {
    display: table;
    width: 56px;
    height: 56px;
    border-radius: 5px;
    background-color: white;
    position: relative;
    left: 30px;
    top: 22px;
    z-index: 1;
    box-shadow: 0px 2px 0px #1C2328;
}

.unit span i {
    display: table-cell;
    font-size: 30px;
    /* width: 100%; */
    text-align: center;
    vertical-align: middle;
}

.unit-group {
    width: 100%;
    height: 383px;
    border-radius: 10px;
    background-color: white;
    position: relative;
}

.unit-inner {
    width: 83%;
    margin: 0 auto;
}

.unit-inner h4 {
    padding-top: 60px;
}

.unit-inner p {
    margin-top: 20px;
}

.unit-inner a {
    position: absolute;
    bottom: 60px;
}

.unit-inner a:hover {
    opacity: 0.5;
}

.unit-inner a i {
    margin-left: 20px;
}

/* --------------------------------------------------- */
/* ---------------------benefit------------------------ */
#benefit {
    margin-top: 80px;
    background-color: white;
}

#benefit-main {
    width: 63%;
    margin: 0 auto;
    padding-bottom: 150px;
    display: flex;
}

.benefit-unit {
    width: calc(100%/3);
}

.benefit-unit .circle {
    display: table;
    width: 95px;
    height: 95px;
    margin: 130px auto 0;
    border-radius: 50%;
    background-color: #6B40F1;
}

.benefit-unit .circle i {
    display: table-cell;
    font-size: 40px;
    text-align: center;
    vertical-align: middle;
}

.benefit-unit .line {
    display: inline-block;
    width: 100%;
    height: 3px;
    background: #6B40F1;
    background-image: -webkit-linear-gradient(left, #ddd4ff, #6B40F1, #ddd4ff);
    background-image: -moz-linear-gradient(left, #ddd4ff, #6B40F1, #ddd4ff);
    background-image: -ms-linear-gradient(left, #ddd4ff, #6B40F1, #ddd4ff);
    background-image: -o-linear-gradient(left, #ddd4ff, #6B40F1, #ddd4ff);
}

.benefit-unit p {
    text-align: center;
}

/* --------------------------------------------------- */
/* ---------------------discount------------------------ */
#discount {
    width: 100%;
    margin-top: 140px;
    background-color: #6c40f1d1;
}

#discount h5,
strong {
    color: white;
}

#discount h5 {
    padding-top: 30px;
    text-align: center;
}

#discount p {
    padding: 50px 0 60px;
    font-size: 50px;
    text-align: center;
}

strong {
    font-size: 110px;
}

/* --------------------------------------------------- */
/* ---------------------blog------------------------ */
#blog {
    padding-bottom: 130px;
    background-color: #1C2328;
}

/* ------------------slider------------------ */
.container {
    margin-inline: auto;
    max-width: 60%;
    position: relative;
}

.swiper {
    margin: 90px auto 0;
    width: 100%;
    border-radius: 10px;
}

.swiper--wrapper {
    /* wrapperのサイズを調整 */
    width: 100%;
    border-radius: 10px;
}

.swiper-slide {
    /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
    width: 100%;
    height: 500px;
    display: flex;
    border-radius: 10px;
}

.swiper-slide img {
    border-radius: 10px 0 0 10px;
    width: 50%;
    object-fit: cover;
}

.swiper-slide img+div {
    width: 50%;
    padding: 75px 4%;
    box-sizing: border-box;
}

.swiper-slide img+div p {
    margin-top: 40px;
    text-align: justify;
}

.swiper-slide:nth-child(1),
.swiper-slide:nth-child(2),
.swiper-slide:nth-child(3) {
    background-color: white;
}

.swiper-pagination-bullets {
    position: static;
    margin-top: 16px;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    margin: 0 0 0 10px !important;
    background: #ddd4ff !important;
}

.swiper-pagination-bullet:first-child {
    margin: 0 !important;
}



/* 次ページボタンのスタイル */
.fa-circle-chevron-right::after {
    display: none;
}

.fa-circle-chevron-right,
.fa-circle-chevron-left {
    font-size: 40px;
    color: white;
}

.fa-circle-chevron-right::before {
    position: absolute;
    left: 60px;
}

/* 前ページボタンのスタイル */
.fa-circle-chevron-left::after {
    display: none;
}

.fa-circle-chevron-left::before {
    position: absolute;
    right: 60px;
}



/* ------------------------------------------ */
/* --------------------------------------------------- */
/* ---------------------testimonials------------------- */
#testimonials {
    width: 100%;
    padding: 100px 0;
    background-color: white;
    text-align: center;
}

#testimonials span {
    color: #e4dcff;
    font-size: 400px;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {
    position: relative;
    z-index: 1;
    /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
    top: -355px;
    margin-bottom: -250px;
}

/*　背景画像設定　*/

.slider-item {
    width: 100%;
    /*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
}

.slider-item h4 {
    font-size: 30px;
}

.slider-item p {
    display: inline-block;
    width: 70%;
    font-size: 30px;
    margin-top: 90px;
    text-align: left;
    text-align: justify;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    z-index: 3;
    top: 60%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;
    /*矢印の色*/
    border-right: 2px solid #ccc;
    /*矢印の色*/
    height: 25px;
    width: 25px;
}

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

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

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

.slick-dots {
    top: 100px;
    z-index: 3;
    width: fit-content;
    margin: 0 auto;
    margin-top: 45px;
}

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

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

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

/* =============================================== */

/* ---自動スライダー--- */
@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.scroll-infinity {
    margin-top: 50px;
}

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 40s infinite linear 0.5s both;
}

.scroll-infinity__item {
    width: calc(70vw/1);
}

.scroll-infinity__item h1 {
    font-size: 200px;
    color: #1c23281e;
}

/* --------------- */

/* --------------------------------------------------- */
/* ---------------------appointment-------------------- */
#appointment {
    width: 100%;
    background-image: url(imgs/bottom.jpg);
    background-size: cover;
}

#wrapper {
    width: 78%;
    margin: 0 auto;
    padding: 95px 0;
    display: flex;
    justify-content: space-between;
}

#wrapper-left {
    width: 30%;
    border-radius: 10px;
    background-color: white;
}

#wrapper-left-inner {
    width: 90%;
    margin: 0 auto;
    padding: 50px 0;
}

#wrapper-left-inner h3 {
    font-size: 40px;
}

.appointment-unit {
    display: flex;
    flex-direction: column;
}

h3+.appointment-unit {
    margin-top: 60px;
}

.appointment-unit+.appointment-unit {
    margin-top: 20px;
}

.appointment-unit label {
    font-size: 20px;
    margin-bottom: 5px;
}

.appointment-unit input {
    height: 45px;
    border: 0.5px solid #1C2328;
    border-radius: 50px;
    padding: 0 10px;
}

h3+.appointment-unit input {
    padding: 0 90px;
}

.appointment-unit textarea {
    height: 120px;
    border: 0.5px solid #1C2328;
    border-radius: 10px;
    padding: 5px 10px;
}

.appointment-btn {
    width: 35%;
    border: 1px solid white;
}

#working-hours {
    display: flex;
    height: 60px;
    padding: 20px 40px;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    position: absolute;
    bottom: 381px;
    right: 11%;
}

#working-hours a {
    display: flex;
}

#working-hours a:hover {
    opacity: 0.5;
}

#working-hours i {
    font-size: 20px;
    display: flex;
    align-items: center;
}


#working-hours p {
    margin-left: 20px;
    font-size: 20px;
}

.modaal-container {
    width: 20%;
}

.modaal-content-container h2 {
    margin-bottom: 40px;
    text-align: center;
    font-size: 30px;
    color: #1C2328;
}

.modaal-content-container dl {
    display: flex;
    /* width: fit-content;
    margin: 0 auto; */
    justify-content: space-between;
}

.modaal-content-container dt,
.modaal-content-container dd {
    font-size: 25px;
}

.modaal-content-container dd {
    margin-left: 50px;
}


/* ----------------モーダル---------------------- */
.hide-area {
    display: none;
}

/*ボタンの色*/
.modaal-close:after,
.modaal-close:before {
    background: #ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
    background: #666;
}

/* --------------------------------------------- */

/* --------------------------------------------------- */
/* ---------------------footer------------------------ */
footer {
    width: 100%;
    background-color: #1C2328;
    padding: 70px 0;
}

#footer {
    width: 78%;
    margin: 0 auto;
}

#footer-top {
    width: fit-content;
    margin: 0 auto;
}

#footer-top li {
    font-size: 27px;
    color: white;
}

#footer-top li+li {
    margin-left: 40px;
}

#footer-bottom {
    width: 100%;
    margin-top: 65px;
    display: flex;
    justify-content: space-between;
}

#footer-bottom-left {
    display: flex;
}

#footer-bottom-left img {
    width: 50px;
}

#footer-bottom-left-inner {
    display: table;
    margin-left: 25px;
}

#footer-bottom-left-inner ul {
    display: flex;
    display: table-cell;
    vertical-align: middle;
    flex-direction: column;
}

#footer-bottom-left-inner li {
    font-size: 20px;
}


/* --------------------------------------------------- */


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

    #layer1 {
        top: 210px;
    }

    /* --------header------- */
    header h1 {
        font-size: 110px;
    }

    /* --------------------- */

    /* --------about------- */
    #about-left h2 {
        width: 80%;
    }

    #about-left p {
        width: 80%;
    }

    #about-right {
        width: 37%;
    }

    /* --------------------- */
    /* --------services------- */
    #services-main {
        width: 85%;
    }

    .unit-inner h4 {
        font-size: 20px;
    }

    /* --------------------- */
    /* --------discount----- */
    #discount p {
        font-size: 45px;
    }

    strong {
        font-size: 80px;
    }

    /* ---------------------- */

    /* ------testimonials---- */

    /* ---自動スライダー--- */
    .scroll-infinity__item {
        width: calc(75vw / 1);
    }

    .scroll-infinity__item h1 {
        font-size: 130px;
    }

    /* --------------- */

    /* ---------------------- */

    /* ------appointment------ */
    #wrapper-left {
        width: 47%;
    }

    .modaal-container {
        width: 35%;
    }

    /* ---------------------- */
}

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

    #layer1 {
        top: 170px;
    }

    /* --------header------- */
    header img {
        height: 560px;
    }

    header h1 {
        font-size: 95px;
    }

    /* --------------------- */
    /* --------about------- */

    #about-left {
        width: 100%;
        margin-left: 0;
    }

    #about-right {
        display: none;
    }

    #about-left p {
        width: 70%;
    }

    /* --------------------- */

    /* --------services------- */
    .unit-inner h4 {
        font-size: 16px;
        padding-top: 50px;
    }

    .unit-inner a {
        bottom: 50px;
    }

    /* --------------------- */
    /* -----benefit----- */
    #benefit-main {
        width: 80%;
    }

    .benefit-unit .circle i {
        font-size: 30px;
    }

    .benefit-unit .circle {
        width: 80px;
        height: 80px;
    }

    .benefit-unit p {
        margin: 0 10px;
    }

    /* ----------------- */
    /* --------discount----- */
    #discount p {
        font-size: 40px;
    }

    strong {
        font-size: 70px;
    }

    /* ---------------------- */
    /* -------blog------- */
    .container {
        max-width: 75%;
    }

    /* ------------------ */
    /* ------testimonials---- */
    .slick-dots {
        margin-top: -10px;
    }

    /* ---自動スライダー--- */
    .scroll-infinity__item h1 {
        font-size: 105px;
    }

    .scroll-infinity {
        margin-top: 0px;
    }

    /* --------------- */

    /* ---------------------- */
    /* ------appointment------ */
    #wrapper {
        display: block;
    }

    #wrapper-left {
        width: 70%;
        margin: 0 auto;
    }

    #working-hours {
        display: flex;
        width: max-content;
        margin: 30px auto 0;
        padding: 20px 40px;
        align-items: center;
        position: static;
    }

    .modaal-container {
        width: 45%;
    }

    /* ---------------------- */

    #footer-bottom {
        width: 95%;
    }
}

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

    /* -------blog------- */
    .swiper-slide {
        height: 430px;
    }

    .swiper-slide img+div {
        padding: 30px 4%;
    }

    /* ---------------------- */
}

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

    /* --------services------- */
    #services-main {
        width: 95%;
    }

    /* --------------------- */
    /* ------testimonials---- */
    .slider-item p {
        width: 80%;
    }

    /* ---自動スライダー--- */
    .scroll-infinity__item h1 {
        font-size: 95px;
    }

    /* --------------- */

    /* ---------------------- */
}

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

    /* ---hamburger--- */
    #hamburger-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        height: 100%;
        transform: translateX(100%);
        background-color: #fff;
        transition: ease .4s;
        z-index: 3;
        opacity: 0;
    }

    #hamburger-nav.active {
        opacity: 1;
        transform: translateX(0);
    }

    #hamburger-nav ul {
        position: absolute;
        top: 45%;
        left: 57%;
        transform: translate(-50%, -50%);
        padding: 0;
        flex-direction: column;
    }

    #hamburger-nav ul li {
        margin-bottom: 55px;
        margin-left: 0;
        font-size: 25px;
    }

    #hamburger-nav li:first-child {
        display: block;
    }

    #hamburger-nav ul li a {
        font-size: 35px;
        color: #1C2328;
    }

    #hamburger-nav ul li:last-child a {
        display: block;
        width: 340px;
        padding: 2px 0;
    }

    #drawer-toggle {
        display: block;
        position: relative;
        right: -615px;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;
        z-index: 99;
    }

    #drawer-toggle span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background: white;
        width: 50%;
    }

    #drawer-toggle span:nth-of-type(1) {
        top: 15px;
    }

    #drawer-toggle span:nth-of-type(2) {
        top: 23px;
    }

    #drawer-toggle span:nth-of-type(3) {
        top: 31px;
    }

    #drawer-toggle.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 50%;
        background-color: #1C2328;
    }

    #drawer-toggle.active span:nth-of-type(2) {
        opacity: 0;
        /*真ん中の線は透過*/
    }

    #drawer-toggle.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 50%;
        background-color: #1C2328;
    }

    #header .sns {
        margin-left: 0;
        position: absolute;
        top: 550px;
        right: 270px;
    }

    #hamburger-nav .sns a {
        color: #1C2328;
        font-size: 40px;
    }

    /* ------------------- */
    /* -------blog------- */
    .swiper-slide img+div {
        padding: 25px 4%;
    }

    /* ---------------------- */
}

@media screen and (max-width: 735px) {
    h2 {
        font-size: 40px;
    }

    /* --------header------- */
    #drawer-toggle {
        right: -600px;
    }

    #header .sns {
        right: 267px;
    }

    /* --------------------- */
    /* --------discount----- */
    #discount p {
        font-size: 30px;
    }

    /* ---------------------- */
}

@media screen and (max-width: 720px) {
    #drawer-toggle {
        right: -590px;
    }

    header h1 {
        font-size: 85px;
    }
}

@media screen and (max-width: 716px) {
    #services-main {
        width: 45%;
        flex-direction: column;
    }

    .unit {
        width: 100%;
    }
}

@media screen and (max-width: 705px) {
    .scroll-infinity__item h1 {
        font-size: 90px;
    }
}

@media screen and (max-width: 700px) {
    #drawer-toggle {
        right: -575px;
    }

    #header .sns {
        right: 260px;
    }
}

@media screen and (max-width: 692px) {
    .container {
        max-width: 55%;
    }

    .swiper-slide img {
        width: 100%;
        height: 50%;
        border-radius: 10px 10px 0 0;
    }

    .swiper-slide img+div {
        width: 100%;
        height: 50%;
        padding: 75px 4%;
    }

    .swiper-slide.swiper-slide-active {
        flex-direction: column;
        height: 1%;
    }
}

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

    /* --------header------- */
    #drawer-toggle {
        right: -540px;
    }

    /* --------------------- */
    /* -----benefit----- */
    #benefit-main {
        flex-direction: column;
    }

    .benefit-unit {
        width: 70%;
        margin: 0 auto;
    }

    /* --------------------- */
}

@media screen and (max-width: 675px) {
    #header .sns {
        right: 252px;
    }
}

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

    /* -------blog------- */
    .container {
        max-width: 70%;
    }

    /* ---------------------- */
    /* ------testimonials---- */
    .scroll-infinity__item h1 {
        font-size: 80px;
    }

    /* --------------------- */
    /* ------appointment------ */
    #wrapper-left {
        width: 80%;
    }

    /* ---------------------- */
    /* ------footer------ */
    #footer-top li a {
        font-size: 22px;
    }

    /* --------------------- */
}

@media screen and (max-width: 645px) {
    #drawer-toggle {
        right: -510px;
    }

    header h1 {
        font-size: 75px;
    }
}

@media screen and (max-width: 635px) {
    #hamburger-nav ul {
        left: 70%;
    }

    #header .sns {
        right: 192px;
    }
}

@media screen and (max-width: 610px) {
    #drawer-toggle {
        right: -475px;
    }
}

@media screen and (max-width: 595px) {
    h2 {
        font-size: 35px;
    }

    h3 {
        font-size: 30px;
    }

    /* --------services------- */
    #services-main {
        width: 50%;
    }

    /* --------------------- */

    /* --------discount----- */
    #discount p {
        font-size: 25px;
    }

    /* ---------------------- */
    /* ------testimonials---- */
    .scroll-infinity__item h1 {
        font-size: 72px;
    }

    /* ------------------ */
}

@media screen and (max-width: 580px) {
    #drawer-toggle {
        right: -450px;
    }

    header h1 {
        font-size: 65px;
    }
}

@media screen and (max-width: 565px) {
    #header .sns {
        right: 180px;
    }
}

@media screen and (max-width: 550px) {
    #drawer-toggle {
        right: -405px;
    }

    header h1 {
        font-size: 55px;
        position: relative;
        top: 40px;
    }
}

@media screen and (max-width: 535px) {
    #page-top {
        font-size: 35px;
        margin-right: 10px;
    }

    /* ------testimonials---- */
    .scroll-infinity__item h1 {
        font-size: 65px;
    }

    /* ------------------ */
    /* ---footer------- */
    #footer-top li a {
        font-size: 20px;
    }

    /* ------------------ */
}

@media screen and (max-width: 510px) {
    #drawer-toggle {
        right: -370px;
    }

    #about-left p {
        font-size: 20px;
    }

    .slider-item p {
        font-size: 25px;
    }

    strong {
        font-size: 55px;
    }
}

@media screen and (max-width: 500px) {
    #header .sns {
        right: 170px;
    }
}

@media screen and (max-width: 483px) {
    #services-main {
        width: 60%;
    }

    #discount p {
        font-size: 20px;
    }

    strong {
        font-size: 50px;
    }

    .scroll-infinity__item h1 {
        font-size: 58px;
    }

    #footer-top li a {
        font-size: 17px;
    }
}

@media screen and (max-width: 475px) {
    h2 {
        font-size: 30px;
    }

    #drawer-toggle {
        right: -340px;
    }

    header h1 {
        font-size: 48px;
    }
}

@media screen and (max-width: 470px) {
    #hamburger-nav ul {
        left: 80%;
    }

    #header .sns {
        right: 135px;
    }
}

@media screen and (max-width: 445px) {
    #drawer-toggle {
        right: -315px;
    }
}

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

    h2 {
        font-size: 25px;
    }

    #layer1 {
        top: 90px;
    }

    .btn {
        width: 40%;
    }

    /* --------header-------- */
    header img {
        height: 350px;
    }

    header h1 {
        font-size: 45px;
        top: 25px;
    }

    #header {
        padding: 15px 60px;
    }

    #hamburger-nav ul li a {
        font-size: 25px;
    }

    #header .sns {
        right: 140px;
    }

    #hamburger-nav .sns a {
        font-size: 35px;
    }


    /* --------------------- */

    .slider-item p {
        font-size: 20px;
        margin-top: 50px;
    }

    .scroll-infinity__item h1 {
        font-size: 50px;
    }

    #wrapper-left {
        width: 100%;
    }

    .fa-circle-chevron-left::before {
        right: 45px;
    }

    .fa-circle-chevron-right::before {
        left: 45px;
    }

    .slider {
        top: -290px;
    }

    .slick-dots {
        margin-top: 15px;
    }

    #testimonials span {
        font-size: 250px;
    }

    #testimonials {
        padding-top: 80px;
        margin-top: -80px;
    }

    .modaal-container {
        width: 80%;
    }


    #footer-top li a {
        font-size: 15px;
    }

    #footer-bottom-left img {
        width: 35px;
    }

    #footer-bottom-left-inner li {
        font-size: 15px;
    }
}

@media screen and (max-width: 390px) {
    #drawer-toggle {
        right: -265px;
    }

    #header .sns {
        right: 98px;
    }

    #hamburger-nav ul {
        left: 95%;
    }

    #page-top {
        right: 5px;
    }

    #about-left p {
        width: 80%;
    }

    #discount p {
        font-size: 18px;
    }

    strong {
        font-size: 40px;
    }

    #working-hours {
        padding: 15px 30px;
    }

    #working-hours p {
        font-size: 16px;
    }

    #footer-top li+li {
        margin-left: 30px;
    }

    #footer-top li a {
        font-size: 15px;
    }
}

@media screen and (max-width: 375px) {
    #drawer-toggle {
        right: -255px;
    }

    .modaal-container {
        width: 85%;
    }
}