@charset "UTF-8";

/* 共通 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 0.9rem;
    font-family: "Noto Serif JP", serif;
    letter-spacing: 0.1em;
    line-height: 1.5;
    color: #1d1d1d;
}

ul,
li {
    list-style: none;
}

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

a {
    text-decoration: none;
    color: #000;
}

p {
    max-width: 900px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.start {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #FFFFFF;
    z-index: 555;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
}

.start img {
    width: auto;
    height: 100%;
}

.start p {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    letter-spacing: 0.5rem;
}

.load-fade {
    opacity: 0;
    transition: all 5s;
}

.load-fade2 {
    opacity: 0;
    transition: all 7s;
}

.load-fade3 {
    opacity: 0;
    transition: all 9s;
}

.load-fade.done {
    opacity: 1;
    transform: translate(0, 0);
}

.load-fade2.done {
    opacity: 1;
    transform: translate(0, 0);
}

.load-fade3.done {
    opacity: 1;
    transform: translate(0, 0);
}

#js-pagetop {
    position: fixed;
    bottom: 50px;
    right: 55px;
    width: 60px;
    height: 60px;
}

#js-pagetop a {
    width: 60px;
    height: 60px;
    text-decoration: none;
    background-color: #dbd1b5aa;
    display: block;
    text-align: center;
    border-radius: 30px;
    box-shadow: 2px 12px 8px -2px #999999;
}

#js-pagetop a::before {
    content: '\f062';
    font-family: 'Font Awesome 5 Free';
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 60px;
}

/* header */
header {
    position: relative;
    top: 0;
    z-index: 99999;
    width: 100%;
    background-color: #fff;
}

.header_box {
    height: 80px;
    width: 75%;
    margin-left: auto;
    margin-right: 0;
}

.nav_box {
    width: 80%;
}

.nav_box ul {
    align-items: center;
    height: 80px;
    justify-content: space-around;
    font-weight: 600;
    opacity: 1;
}

.nav_box ul a {
    position: relative;
    transition: transform .5s;
}

.nav_box ul a li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav_title {
    font-size: 1rem;
    z-index: 201;
}

.nav_sub_title {
    position: absolute;
    top: 45px;
    font-size: 1.2rem;
    font-family: "Allura", cursive;
    font-weight: normal;
    transform: rotate(-3deg);
    color: #fff;
}

.nav_contact {
    position: fixed;
    z-index: 199;
    bottom: 0;
    width: 100%;
    left: 0;
}

.nav_contact ul {
    align-items: center;
    height: 8vh;
}

.nav_contact ul a {
    width: 25%;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    height: 8vh;
}

.nav_contact ul a.phone {
    width: 50%;
}

.nav_contact ul a.instagram {
    color: #1d1d1d;
}


.phone {
    background-color: #1d1d1d;
}

.phone i {
    font-weight: 600;
    font-size: 20px;
}

.line {
    background-color: #06C755;
}

.line i {
    font-weight: 400;
    font-size: 20px;
}

.instagram {
    background-color: #dbd1b5;
}

.instagram i {
    font-weight: 400;
    font-size: 20px;
}

.logo_box {
    position: absolute;
    top: 10%;
    left: 2%;
}

.logo_box h1 img {
    width: 80px;
}

#header #navi {
    transition: all 1s;
    overflow-y: auto;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    top: 0;
    right: -110vw;
    background-color: #dbd1b5cc;
    position: fixed;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

#header #navi li {
    padding: 10px;
    margin-top: 20px;
}

#header {
    position: relative;
}

#header .reservation_btn {
    width: 120px;
    height: 55px;
    z-index: 300;
    top: 0%;
    right: 70px;
    cursor: pointer;
    position: fixed;
    margin: 1rem 1rem 0 0;
}

#header .reservation_btn a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #1d1d1d;
    border: 1px solid #1d1d1d;
    border-radius: 50px;
}

#header .reservation_btn a i {
    margin-right: 10px;
}

#header .reservation_btn a:hover {
    color: #1d1d1d;
    background-color: #fff;
    border: 1px solid #1d1d1d;
}

#header .nav_btn {
    width: 55px;
    height: 55px;
    z-index: 300;
    top: 0%;
    right: 0;
    cursor: pointer;
    position: fixed;
    margin: 1rem;
    background-color: #dbd1b5aa;
    border-radius: 100px;
}

#header .change-color {
    background-color: #dbd1b5aa;
    border-radius: 100px;
    margin: 1rem;
    transition: 0.3s;
}

#header .change-line {
    background-color: #fff;
    transition: 0.3s;
}

.hamburger_line {
    transition: all 0.6s;
    height: 2px;
    left: 30%;
    background-color: #fff;
    position: absolute;
}

.hamburger_line1 {
    top: 21px;
    width: 24px;
}

.hamburger_line2 {
    top: 28px;
    width: 16px;
}

.hamburger_line3 {
    top: 35px;
    width: 10px;
}

.nav_bg {
    opacity: 0;
    transition: all 0.6s;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    top: 0;
    left: 0;
    visibility: hidden;
    background-color: #000;
    cursor: pointer;
    position: fixed;
}

/* 表示された時用のCSS */
.nav_open #header #navi {
    right: 0;
}

.nav_open .nav_bg {
    opacity: 0.4;
    visibility: visible;
}

.nav_open .hamburger_line1 {
    transform: rotate(45deg);
    top: 28px;
    left: 14px;
    background-color: #fff;
}

.nav_open .hamburger_line2 {
    width: 0;
    left: 14px;
}

.nav_open .hamburger_line3 {
    transform: rotate(-45deg);
    width: 24px;
    top: 28px;
    left: 14px;
    background-color: #fff;
}

.nav_open #header .nav_btn {
    background-color: #dbd1b500;
}

br.sp {
    display: none;
}

/* home_content */
.home_content {
    position: relative;
}

.home_img_box {
    height: 110vh;
    width: 70%;
    margin-top: 0;
    margin-right: auto;
    nav-left: 0;
    object-fit: cover;
}

.home_img_box img {
    height: 110vh;
    width: auto;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    object-fit: cover;
}

.slide {
    position: relative;
}

.slide img {
    display: block;
    position: absolute;
    width: 0;
    animation: slideAnime 36s ease;
    animation-iteration-count: infinite;
}

/*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) {
    animation-delay: 0s
}

.slide img:nth-of-type(2) {
    animation-delay: 4s
}

.slide img:nth-of-type(3) {
    animation-delay: 8s
}

.slide img:nth-of-type(4) {
    animation-delay: 12s
}

.slide img:nth-of-type(5) {
    animation-delay: 16s
}

.slide img:nth-of-type(6) {
    animation-delay: 20s
}

.slide img:nth-of-type(7) {
    animation-delay: 24s
}

.slide img:nth-of-type(8) {
    animation-delay: 28s
}

.slide img:nth-of-type(9) {
    animation-delay: 32s
}

/*=== スライドのアニメーション ========================= */
@keyframes slideAnime {
    0% {
        width: 0;
    }

    12% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

.home-text-overlay {
    position: absolute;
    top: 20%;
    right: 10vw;
    transform: rotate(90deg);
    /* 文字を90度回転 */
    z-index: 10;
    /* 文字が画像の上に表示されるように設定 */
}

.home-text-overlay p {
    margin: 0;
    font-size: 17rem;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    color: #1d1d1d;
    opacity: 0;
    animation: fadeIn 4s forwards;
    animation-delay: 4s;
}

.home-text-overlay-2 {
    position: absolute;
    top: 55%;
    left: 8vw;
    transform: rotate(-20deg);
    z-index: 10;
    font-family: "Allura", cursive;
    font-size: 5rem;
    color: #dbd1b5;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.home_content_text {
    position: absolute;
    top: 55%;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.home_content_text p {
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    color: #1d1d1d;
    background-color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-left: 0;
    margin-bottom: 1rem;
    line-height: 1.1;
}

/*コンテンツを下からふわっとフェードインする*/
.fade-in {
    opacity: 0;
    position: relative;
    top: 50px;
}

.fade-in-active {
    opacity: 1;
    /* 透明度を元に戻す */
    top: 0;
    /* ずらしていた位置を戻すことで上に上がっているようにみえる */
    transition: 2s;
}

.delay1 {
    transition-delay: 0.5s;
}

.delay2 {
    transition-delay: 1s;
}

.delay3 {
    transition-delay: 1.5s;
}


section {
    margin: 0 auto;
}

.vertical-line {
    width: 50%;
    height: 100px;
    border-right: 1px solid #1d1d1d;
    margin-top: 10%;
}

/* concept */
.concept_box {
    width: 600px;
    height: auto;
    aspect-ratio: 1;
    margin: 8% auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.concept_text_box {
    padding: 0;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.concept_border {
    width: 10%;
    border-top: 1px solid #1d1d1d;
}

.concept_title {
    font-size: 1.8rem;
    font-weight: bold;
    writing-mode: vertical-lr;
}

.concept_title p {
    white-space: nowrap;
}

.concept_h2 {
    margin: 40px 0;
}

.concept_h2 h2 {
    font-size: 2rem;
}

.concept_detail {
    width: auto;
    padding: 20px;
}

.concept_detail p {
    margin-bottom: 1rem;
}

.concept_img {
    width: 50%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.fade-in.concept_img {
    top:0px;
}

/*Probrem*/
.probrem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    background-color: #e6e5d7;
    padding:5% 0;
}

.left-to-right.fade-in-active {
    width: 0%;
    white-space: nowrap;
    overflow: hidden;
    animation: l-to-r 4s linear;
    animation-fill-mode: forwards;
}

@keyframes l-to-r {
    from {

        width: 0%;
    }

    to {

        width: 100%;
    }

}

.probrem h2 {
    margin: 0 auto 20px;
    text-align: center;
    color:#1d1d1d;
}

.probrem_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
    max-width: 900px;
    margin: 0 auto;
}

.probrem_content {
    margin: 3%;
    display: flex;
    flex-direction: column;
}

.probrem_Q {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    z-index: 10;
}

.probrem_Q_text {
    font-size: 2rem;
    display: flex;
    flex-direction: column;
}

.probrem_Q p {
    background-color: #fff;
    line-height: 1;
    width: fit-content;
    height: fit-content;
    display: inline-block;
    margin: 5px;
}

.probrem_A {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

/*before-after*/

.before-after_title {
    margin: 10% auto 0;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.before-after_title h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.before-after_title p {
    margin-top: 10px;
}

.before-after {
    width: 70%;
    margin: 60px auto;
    background-color: #dbd1b540;
    display: flex;
    flex-direction: column;
    max-width: 900px;
}

.before-after_container {
    margin: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.before-after_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.before-after_content p {
    margin-top: 10px;
    font-weight: bold;
}

.before-after_img_box img {
    width: 17vw;
    max-width: 250px;
    aspect-ratio: 1;
    object-fit: cover;
}

.yazirusi {
    position: relative;
    width: 4%;
    padding-bottom: 30px;
}

.line01 {
    height: 0.5px;
    background-color: #1d1d1d;
}

.line02 {
    position: absolute;
    top: 0;
    right: 0;
    transform-origin: right bottom;
    width: 20%;
    height: 0.5px;
    background-color: #1d1d1d;
    transform: rotate(45deg);
}

.before-after>p {
    text-align: center;
    margin-bottom: 20px;
    width: 90%;
}

/*slider*/
.slider {
    width: 100%;
    margin: 80px 0;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    animation: slide 30s linear infinite;
}

.slides img {
    width: 25%;
    flex-shrink: 0;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}



/*MENU*/
.h2_title {
    margin: 10% auto 5%;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.h2_title h2 {
    margin-bottom: 10px;
    font-size: 2rem;
    color: #1d1d1d;
    z-index: 10;
}

.h2_title p {
    position: absolute;
    top: 22px;
    font-size: 2rem;
    font-family: "Allura", cursive;
    transform: rotate(-3deg);
    color: #dbd1b5cc;
}

.menu_deco {
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 5rem;
    font-family: "Allura", cursive;
    transform: rotate(-5deg);
    color: #dbd1b5;
}

.menu_detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin: 0 auto;
}

.menu_detail h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.menu_detail ol {
    margin: 5% 0 10%;
    font-size: 1.5rem;
    writing-mode: vertical-lr;
}

.menu_detail ol li {
    margin: 0 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.lesson-maru {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
    width:60px;
    height:60px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    background-color: #1d1d1d;
    border-radius: 50%;
    margin: 30px;
}

.lesson-maru>.points {
    font-size: 0.7rem;
}

.menu_container {
    width: 70%;
    margin: 60px auto;
    padding: 5%;
    background-color: #dbd1b540;
    display: flex;
    flex-direction: column;
    max-width: 900px;
}

.menu_container h3 {
    font-size: 1.5rem;
    border-bottom: 1px solid #1d1d1d;
    padding-bottom: 1rem;
    margin-bottom: 5%;
}

.menu_container h3 span {
    font-size: 1rem;
}

.menu_content {
    margin: 20px 0;
}

.menu_content_title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items:end;
}

.menu_content_title h4 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.menu_content_title h4 span {
    background-color: #fff;
    line-height: 1;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.menu_content_title p {
    font-size: 1rem;
    font-weight: bold;
    margin-left: 40px;
    margin-bottom: 5px;
}

.menu_content_bottom {
    padding: 5% 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #1d1d1d;
}

.menu_content_bottom.last {
    border-bottom: none;
    padding-bottom: 0;
}

.menu_content_bottom img {
    width: 35%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.menu_content_detail {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.menu_content_detail span {
    font-size: 1.5rem;
    font-weight: bold;
    padding-bottom: 5%;
}

.menu_content_detail p span {
    font-size: 0.8rem;
    padding-bottom: 0;
}

/*Reservation*/

.reservation {
    width: 70%;
    margin: 0 auto;
    background-color: #1d1d1d;
    max-width: 900px;
    padding: 60px 0;
}

.h2_title.reserv {
    margin: 0 auto;
}

.h2_title.reserv h2 {
    color: #fff;
}

.reservation_border {
    width: 10%;
    border-top: 1px solid #fff;
}

.reservation_text {
    width: 80%;
    margin: 40px auto;
}

.reservation_text p {
    color: #fff;
}

.reservation_text p a {
    color: #fff;
    text-decoration: underline;
}

.reservation_box {
    display: flex;
    justify-content: center;
}

.reservation_box a {
    letter-spacing: 0.3em;
    padding: 20px;
    display: block;
    width: 40%;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
}

.reservation_cont {
    background-color: #fff;
    color: #1d1d1d;
    transition: all 0.5s ease-out;
    border: 1px solid #fff;
}

.reservation_cont:hover {
    background-color: #1d1d1d;
    color: #fff;
    border: 1px solid #fff;
}


/*FAQ*/
.faq {
    width: 70%;
    margin: 5% auto;
    max-width: 900px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2rem 0;
    border-bottom: 1px solid #1d1d1d80;
}

.faq-container:last-of-type {
    border-bottom: none;
}

.faq-content {
    display: flex;
    flex-direction: row;
    align-items: start;
    width: 100%;
    height: fit-content;
    padding: 1rem 0;
}

.maru {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    aspect-ratio: 1;
    border-radius: 50%;
}

.maru span {
    font-size: 0.8rem;
    line-height: 0;
}

.maru.question {
    color: #dbd1b5;
    background-color: #1d1d1d;
}

.maru.answer {
    color: #1d1d1d;
    background-color: #dbd1b580;
}

.faq-text {
    display: flex;
    align-items: center;
    width: 90%;
    height: auto;
    min-height: 32px;
    padding-left: 2rem;
}

.faq-text p {
    margin-left: 0;
}

.faq-text p.question {
    font-weight: bold;
}



/*Profile*/

section.prof {
    background-color: #dbd1b540;
    margin: 0 auto;
    padding-top: 5px;
}

.profile {
    width: 70%;
    margin: 5% auto 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.profile img {
    width: 40%;
    height: auto;
    object-fit: cover;
    padding-bottom: 10%;
}

.profile_detail {
    width: 55%;
    margin: 60px auto;
    padding-bottom: 10%;
}

.profile_detail div {
    margin-bottom: 20px;
}

.profile_detail div span.name {
    font-size: 2rem;
    font-weight: bold;
}

.profile_detail div span.license {
    font-size: 1rem;
    font-weight: bold;
}

/* contact */
iframe {
    vertical-align: bottom;
}

.contact_box {
    background-color: #fbfbfb;
    padding: 2.4rem 0;
    text-align: center;
}

.contact_title {
    font-size: 2rem;
    font-weight: bold;
}

.contact_box p {
    opacity: 0.8;
}

.contact_message {
    font-size: 1rem;
    margin-top: 0rem;
}

.contact_box a {
    letter-spacing: 0.3em;

    padding: 20px;
    display: block;
    width: 40%;
    font-size: 1.125rem;
    font-weight: bold;
}

.phone_cont {
    background-color: #1d1d1d;
    color: #fff;
    transition: all 0.5s ease-out;
    border: 1px solid #1d1d1d;
}

.line_cont {
    background-color: #06C755;
    color: #fff;
    transition: all 0.5s ease-out;
    border: 1px solid #06C755;
}

.phone_cont:hover {
    background-color: #fff;
    color: #1d1d1d;
    border: 1px solid #1d1d1d;
}

.line_cont:hover {
    background-color: #fff;
    color: #06C755;
    border: 1px solid #06C755;
}

.contact_box a i {
    font-weight: 600;
}

.contact_footer {
    width: 900px;
    margin: 30px auto;
    justify-content: space-around;
}

.contact_info_box {
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

.footer {
    background-color: #dbd1b5;
    padding: 4rem 0 8rem 0;
    text-align: center;
}

.footer a {
    color: #fff;
    font-size: 0.75rem;
}

.footer a:hover {
    opacity: 0.6;
}

.footer_nav {
    justify-content: space-around;
    margin: 0 auto;
}

.footer_size {
    width: 60%;
    margin: 0 auto;
    border-bottom: 0.85px solid #fff;
    padding-bottom: 1.5rem;
}

.footer p {
    font-size: 0.75rem;
    color: #fff;
    padding-top: 1rem;
}


h2 {
    font-size: 1.5rem;
    color: #1d1d1d;
    font-weight: bold;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* company */
p.company_text {
    margin: 2.5rem auto;
}

.company_table_bgc {
    position: absolute;
    top:500px;
    left: 0;
    background-color: #fff;
    padding: 60px 100px;
}

.fade-in.company_table_bgc {
    top:500px;
}

.fade-in-active.company_table_bgc {
    top:400px;
}

.company_table {
    border-collapse: collapse;
    width: 600px;
}

.company_table th,
.company_table td {
    padding: 10px;
    font-weight: normal;
    border-bottom: 1px solid rgb(88, 87, 87, 0.5);
}

.company_table th {
    padding: 10px 40px;
}

.company_img_box {
    position: relative;
    margin-top: 4rem;
    text-align: right;
}

.company_img {
    display: inline-block;
    width: 100%;
    height: auto;
    margin-bottom: 250px;
}

.company_img img {
    width: 70%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1024px) {
    #js-pagetop {
        display: none;
    }

    p {
        max-width: 600px;
        margin: 0 auto;
    }

    .before-after {
        max-width: 600px;
        margin: 40px auto;
    }

    .before-after_img_box img {
        width: 17vw;
    }

    .menu_container {
        max-width: 600px;
    }

    .menu_content_title {
        align-items: baseline;
    }

    .reservation {
        max-width: 600px;
    }

    .faq {
        max-width: 600px;
    }

    .footer {
        padding: 4rem 0 11vh 0;
    }

    .reservation_box a {
        letter-spacing: 0.3em;
        padding: 20px;
        display: block;
        width: 80%;
        font-size: 1.125rem;
    }

    .reservation_box a i {
        font-weight: 600;
    }

    .contact_box a {
        letter-spacing: 0.3em;
        padding: 20px;
        display: block;
        width: 300px;
        font-size: 1.125rem;
    }

    .contact_box a i {
        font-weight: 600;
    }

    .contact_footer {
        width: 70%;
        margin: 30px auto;
        justify-content: space-around;
    }

    .company_table_bgc {
        position: absolute;
        background-color: #fff;
        transform: translate(-50%, -50%);
        top:500px;
        left: 40%;
        right: initial;
        padding: 40px 80px;
    }

    .company_table {
        border-collapse: collapse;
        width: 470px;
    }

    .company_img {
        margin-bottom: 250px;
    }

    .footer_nav {
        justify-content: space-around;
        width: 90%;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .footer_nav a {
        width: 50%;
        margin-top: 0.5rem;
    }
}

@media screen and (max-width: 880px) {
    .home-text-overlay {
        right: 9%;
    }

    .home-text-overlay p {
        font-size: 10rem;
    }

    .home-text-overlay-2 {
        font-size: 3rem;
        left: 17vw;
    }

    .h2_title {
        margin-top: 20%;
    }

    .probrem_container {
        width: 80%;
        box-sizing: border-box;
    }

    .slides img {
        width:40%;
    }

    .menu_detail {
        width: 90%;
    }

    .menu_container {
        width: 90%;
    }

    .reservation {
        width: 90%;
    }

    .menu_content_title {
        flex-direction: column;
    }

    .menu_content_title h4 {
        font-size: 1.2rem;
    }

    .menu_content_title p {
        margin: 0;
    }

    .menu_content_bottom {
        flex-direction: column;
    }

    .menu_content_bottom img {
        width: 100%;
    }

    .menu_content_detail {
        width: 100%;
        margin-top: 5%;
    }

    .menu_content_detail span {
        font-size: 1.2rem;
    }

    .concept_box {
        width: 90%;
    }

    .concept_detail {
        padding: 20px 0;
    }

    .concept_text_box {
        margin-top: 15%;
    }

    .before-after {
        width: 90%;
        margin: 30px auto;
    }

    .before-after>p {
        text-align: left;
    }

    .before-after_img_box img {
        width: 20vw;
    }

    .faq {
        width: 90%;
    }

    .profile {
        flex-direction: column;
        margin-top: 10%;
    }

    .profile img {
        width: 100%;
    }

    .profile_detail {
        width: 100%;
        margin: 5% auto;
    }

    .footer_size {
        width: 90%;
        margin: 0 auto;
        border-bottom: 0.85px solid #fff;
        padding-bottom: 1.5rem;
    }

    .contact_box a {
        letter-spacing: 0.3em;
        opacity: 1;
        padding: 20px;
        width: 300px;
        font-size: 1.125rem;
    }

    .line_cont {
        margin-top: 1rem;
    }

    .contact_box a i {
        font-weight: 600;
    }

    .contact_footer {
        width: 70%;
        margin: 30px auto;
        align-items: center;
        flex-direction: column;
    }
}

@media screen and (max-width: 670px) {
    p {
        margin: 0 auto;
    }

    #header #navi {
        padding-top: 100px;
    }

    br.sp {
        display: block;
    }

    .home_img_box {
        width: 80%;
        height: 85vh;
    }

    .home_img_box img {
        height: 85vh;
    }

    .home-text-overlay {
        right: auto;
        left: 60%;
    }

    .home-text-overlay p {
        font-size: 8rem;
    }

    .home-text-overlay-2 {
        font-size: 3rem;
        top: 75%;
        left: 0vw;
    }

    .home_content_text {
        top: 60%;
    }

    .logo_box {
        left: 5%;
    }

    .slide img {
        min-height: 60vh;
    }

    .concept_img {
        width:80%;
    }

    h2.left-to-right {
        font-size: 1rem;
        padding-top: 10%;
    }

    .probrem_Q {
        display: flex;
        justify-content: center;
    }

    .probrem_Q_text {
        writing-mode: vertical-rl;
        white-space: nowrap;
    }

    .probrem_A {
        margin: 5% 0 10%;
    }

    .before-after_img_box img {
        width: 23vw;
    }

    .menu_deco {
        font-size: 3rem;
        right: -5px;
    }

    .vertical-line {
        margin-top: 30%;
    }

    a.btn-c {
        font-size: 1.25rem;
        position: relative;
        padding: 1rem 3rem 1rem 3rem;
        border-radius: 100vh;
    }
    
    .footer_size {
        width: 95%;
    }

    .menu_detail ol li {
        margin: 0 2%;
    }

    .lesson-maru {
        margin: 10px;
    }

    .company_table_bgc {
        position: absolute;
        background-color: #fff;
        transform: translate(-50%, -50%);
        left: 50%;
        height: 300px;
        bottom: 0px;
        right: initial;
        padding: 5%;
    }

    .company_table {
        border-collapse: collapse;
        width: 300px;
    }

    .company_img {
        width: 100%;
        height: 400px;
        margin-bottom: 200px;
    }

    .company_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 0px 0px 0;
    }

    .company_table th {
        padding: 10px 0px;
    }
}

@media screen and (max-width: 510px) {
    .start img {
        width: 100%;
    }

    .home-text-overlay {
        right: auto;
        left: 40%;
    }

    .logo_box_bgc {
        height: 160px;
        width: 180px;
        background-color: #dbd1b5aa;
        position: relative;
        z-index: 99;
    }

    .footer_size {
        width: 95%;
    }

    .footer {
        padding: 2rem 0 11vh 0;
    }

    .start .txt {
        font-weight: bold;
        color: #fff;
        font-size: 2.5rem;
        position: relative;
        text-align: center;
        height: 120px;
        width: 150px;
    }
}