*{
    margin: 0;
    padding: 0;
    z-index: 50;

    --color-primary-white: 217, 217, 217;
    --color-base-black: 37, 37, 37;
	--color-base: 29,29,39;
    --color-white: 250,250,250;
    --color-brown: 159, 139, 119;
    --color-black: 15,15,15;
    --color-gray: 226,226,226;

    color: rgb(var(--color-black));
}

:root{
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    width: 100%;
}


html{
    width: 100vh;
    padding: 0;
}

body{
    width: 100%;
    display: flex;
    flex-direction: column;
    /* background-color: black; */
}

h1,h2,h3,h4,.font_barlow{
    font-family: "Barlow", serif;
    font-weight: 500;
}

p{
    font-size: 0.8rem;
}

input[type="text"],
input[type="email"],
textarea{
    color: rgb(var(--color-black));
    margin: 0;
    font-size: 0.7rem;
    padding: 0.8rem 1rem;
    border-radius: 0.3rem;
    background-color: rgb(var(--color-primary-white));
    border: 0.1rem solid rgb(var(--color-base-black));
    width: 100%;
}

textarea{
    height: 10rem;
    resize: none;
    overflow-y: auto;
}

.link_button{
    padding: 0.7rem 2rem;
    border-radius: 100rem;
    border-width: 0.1rem;
    color: rgb(var(--color-white));
    border-color: rgb(237, 0, 0);
    background-color: rgba(var(--color-white),0);
    font-size: 0.8rem;
    transition: background-color ease-in-out .3s, color ease-in-out .3s;
}

.link_button:hover{
    color: rgb(var(--color-base-black));
    background-color: rgba(var(--color-primary-white),1);
}

.link_button.skelton{
    color: rgb(var(--color-base-black));
    background-color: rgba(var(--color-primary-white),0);
}

.link_button.skelton:hover{
    background-color: rgba(var(--color-primary-white),1);
}

input[type="submit"].link_button{
    width: 10rem;
    text-align: center;
}
  
h2.rightbar{
    padding: 0.2rem;
    padding-right: 0.5rem;
    border-right: 0.1rem solid rgb(var(--color-green));
    border-style: solid;
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
    height: fit-content;
    background-color: rgba(var(--color-primary-white),0);
    z-index: 100;
    padding: 0.8rem 2rem;
	padding-top: 2rem;
}

header a{
    font-family: "Barlow", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 0.8rem;
}

header .title_wrapper{
    position: absolute;
    left:0;
    top: 0.5rem;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
header .title_wrapper a{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .title_wrapper a img{
    height: 100%;
    height: 2rem;
    filter: drop-shadow(0 0 10px rgba(var(--color-black),0.9));
}

header .top_bar{
    right: 0;
    top:0;
    visibility: hidden;
    position: fixed;
    display: flex;
    height: 100dvh;
    flex-direction: column;
    align-items: end;
    row-gap: 3rem;
    justify-content: flex-start;
    background-color: rgb(var(--color-primary-white));
    padding-top: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
    right: -130%;
    width: 20rem;
    transition: right cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.5s, visibility linear 0.5s;
}
header .slide_menu_checkbox:checked ~ .top_bar{
    visibility: visible;
    right: 0%;
}

header .top_bar a{
    font-family: "Barlow","Noto Sans JP";
    font-weight: 500;
    font-size: 1rem;
    padding: 0.3rem 0;
    border-left: solid 1px rgb(var(--color-gray));
}

header .top_bar a.only_smt{
	display: none;
}

header .slide_menu_toggle{
    position: relative;
    display: block;
    width: 2.1rem;
    height: 1.2rem;
    z-index: 130;
}

header .slide_menu_toggle div{
    width: 100%;
    height: 2px;
    background-color: rgba(var(--color-primary-white),1);
    filter: drop-shadow(0 0 5px rgba(var(--color-black),0.9));
    position: absolute;
    transition: top ease-in-out .5s, bottom ease-in-out .5s, opacity ease-in-out .5s, rotate ease-in-out .6s, background-color ease-in-out .3s;
    border-radius: 100rem;
    user-select: none;
}
header .slide_menu_toggle div:nth-child(1){
    top: 0;
}
header .slide_menu_toggle div:nth-child(2){
    top: calc(50% - .5px);
    opacity: 0;
}
header .slide_menu_toggle div:nth-child(3){
    top: calc(100% - 1px);
}

header .slide_menu_checkbox:checked ~ .slide_menu_toggle div:nth-child(1){
    top: calc(50% - 2px*0.5);
    rotate: 45deg;
    background-color: rgba(var(--color-base-black),1);
}

header .slide_menu_checkbox:checked ~ .slide_menu_toggle div:nth-child(2){
    opacity: 0;
}

header .slide_menu_checkbox:checked ~ .slide_menu_toggle div:nth-child(3){
    top: calc(50% - 0.2rem*0.5);
    rotate: -45deg;
    background-color: rgba(var(--color-base-black),1);
}

header .lang_wrapper{
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

header .lang_wrapper ul.bogo-language-switcher{
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(var(--color-black),0.9));
}

header .lang_wrapper ul.bogo-language-switcher::after{
    content: "";
    display: block;
    order: 2;
    width: 2px;
    height: 1rem;
    background-color: rgb(var(--color-white));
}

header .lang_wrapper ul.bogo-language-switcher li{
    transform: translateY(-0.1rem);
}

header .lang_wrapper ul.bogo-language-switcher li.en{
    order: 3;
}

header .lang_wrapper ul.bogo-language-switcher li.ja{
    order: 1;
}

header .lang_wrapper ul.bogo-language-switcher span.bogo-language-name a{
    font-size: 0.8rem;
    color: rgb(var(--color-white));
    font-family: "Inter";
    font-weight: 400;
}

header .lang_wrapper ul.bogo-language-switcher span.bogo-language-name a{
    font-size: 0.8rem;
    color: rgb(var(--color-white));
    font-family: "Inter";
    font-weight: 400;
}

header .lang_wrapper ul.bogo-language-switcher span.bogo-language-name a.current{
    text-decoration: underline;
}



footer{
    display: flex;
    justify-content: center;
    height: 25rem;
    background-color: rgb(var(--color-primary-white));
    position: relative;
    padding-top: 4rem;
}

footer p, footer a{
    font-family: "Noto Sans JP";
    color: rgb(var(--color-base-black));
    font-size: 0.7rem;
}

footer h4{
    color: rgb(var(--color-base-black));
    font-family: "Barlow";
    font-weight: 500;
    font-style: normal;
    font-size: 0.8rem;
}

footer .content_box{
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 5rem;
}

footer .info_wrapper, footer .site_map_wrapper{
    display: flex;
}

footer .info_wrapper{
    row-gap: 1.5rem;
    flex-direction: row;
    column-gap: 3rem;
}

footer .info_wrapper .info_list{
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
    row-gap: 1.5rem;
}

footer .info_wrapper .info_list h4, footer .site_map_list h4{
    font: "Noto Sans";
    font-size: 0.6rem;
    margin-bottom: 1rem;
}

footer .info_wrapper .addr_box{
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

footer .info_wrapper .addr_box.ul *{
    text-decoration: underline;
}

footer .info_wrapper .addr_box.mail_addr{
	user-select: none;
}

footer .info_wrapper .addr_box.mail_addr p span.mail_as{
	font-size: 0;
}
footer .site_map_wrapper{
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
}

footer .site_map_list{
    display: flex;
    flex-direction: column;
    row-gap: 0.9rem;   
    min-width: 6rem;
}

footer .site_map_list h4{
    font-size: 0.6rem;
    margin-bottom: 1.5rem;
}

footer .site_map_list a{
    font-size: 0.7rem;
    transition: color ease-in-out .3s;
}

footer .site_map_list a:hover{
    color: rgb(var(--color-white));
}

footer .copy_box{
    position: absolute;
    flex-direction: column;
    row-gap: 0.2rem;
    bottom: 0;
    padding-bottom: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
footer .copy_box *{
    color: rgb(var(--color-white));
}
footer .copy_box img{
    height: 2rem;
    filter: invert(100%);
}
footer .copy_box p{
    color: rgb(var(--color-base-black));
    font-size: 0.5rem;
}

/* content box */


.header_box{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32rem;
    position: relative;
    background-color: rgb(var(--color-base));
}

.header_box .bg{
    position: absolute;
    height: 100%;
    width: 100%;
}

.header_box .bg img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.header_box .front{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: start;
    justify-content: end;
	margin-bottom: 0;
}

.header_box .front::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(var(--color-base-black),1) 0%, rgba(var(--color-base-black),0.6) 70%, rgba(var(--color-base-black),0) 100%);
    z-index: 5;
}

.header_box .front h1{
    font-family: "Noto Sans JP";
    font-size: 2rem;
    color: rgb(var(--color-white));
    white-space: nowrap;
    padding-right: 0.5rem;
}

.content_box_wrapper{
    position: relative;
    width: 100%;
    min-height: 20rem;
    background-color: rgb(var(--color-gray));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem 0;
    row-gap: 1rem;
    align-items: center;
}
.content_box_wrapper .content_box:nth-last-child(1){
    margin-bottom: 2rem;
}

.content_box_wrapper.gray_blue{
    background-color: rgb(var(--color-gray-blue));
}
.content_box_wrapper.long{
    min-height: 40rem;
    row-gap: 3rem;
}
.content_box_wrapper.fullscreen{
    min-height: 100dvh;
}

.content_box_wrapper.fullscreen.with_bg{
    padding: 0;
}

.content_box_wrapper.fullscreen.with_bg img{
    position: absolute;
    z-index: 5;
    top: 0;
    height: 100dvh;
    width: 100%;
    object-fit: cover;
}
.content_box{
    width: 100%;
    max-width: 1300px;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}
.content_box.center{
    align-items: center;
    text-align: center;
}
.content_box.slider{
    width: 100%;
}

.content_box.row{
    display: flex;
    height: 20rem;
    flex-direction: row;
    column-gap: 1rem;
}

.content_box.row .row_item{
    display: flex;
    height: 100%;
    flex-grow: 1;
}
.content_box.row .row_item.with_gap{
    row-gap: 2rem;
}

.content_box.margin{
    margin: 0 0 2rem 0;
    column-gap: 3rem;
}

.content_box .row_item.wide{
    width: 60rem;
}

.content_box.row .row_item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row_item.before_after_wrapper{
    display: flex;
    width: 100%;
    flex-direction: row;
    column-gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.row_item.before_after_wrapper div{
    position: relative;
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 0.5rem;
}

.row_item.before_after_wrapper i{
    color: rgb(var(--color-brown));
}

.row_item.before_after_wrapper .before::after,
.row_item.before_after_wrapper .after::after{
    position: absolute;
    font-size: 0.7rem;
    bottom: -1.5rem;
}

.row_item.before_after_wrapper .before::after{
    content: "BEFORE";
}

.row_item.before_after_wrapper .after::after{
    content: "AFTER";
}


.content_box_wrapper.full{
    min-height: 30rem;
}
.content_box_wrapper.full .bg{
    position: absolute;
    object-fit: cover;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.content_box_wrapper.full .content_box{
    z-index: 10;
}

.content_box.item_list{
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    row-gap: 2rem;
    column-gap: 2rem;
    flex-wrap: wrap;
    /* justify-content: space-between; */
}

.content_box.item_list .item{
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.content_box.item_list .item img{
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.content_box.desc_box{
    margin-bottom: 0.5rem;
}


.image_row{
    width: 100%;
    height: 20rem;
    display: flex;
    flex-direction: row;
    column-gap: 1.5rem;
    justify-content: space-between;
    overflow-x: auto;
}

.image_row img{
    display: flex;
    height: 100%;
    object-fit: cover;
    flex-shrink: 1;
}

.item_box_col{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.item_box_row{
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
}

h1.big{
    font-size: 2rem;
}

p.big{
    font-size: 1rem;
}

.font_crimson{
    font-family: "Crimson Text", serif;
}
.font_crimson.bold{
    font-weight: 600;
}

.font_normal{
    font-weight: normal;
}

.icon_arrow{
    content: url(../img/svg/arrow_right.svg);
    height: 3rem;
    width: 3rem;
    filter: invert(57%) sepia(5%) saturate(1351%) hue-rotate(349deg) brightness(97%) contrast(92%);
}

.icon_arrow.down{
    rotate:90deg;
}



.div_fit_elem{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.smt_show{
    display: none !important;
}

@media screen and (max-width: 600px) {
	/* CSS for SmartPhones */
    :root{
        font-size: 12px;
    }

    header{
        height: 6rem;
    }
    header .top_bar{
        right: 0;
        top:0;
        visibility: hidden;
        position: fixed;
        height: 100dvh;
        flex-direction: column;
        align-items: end;
        row-gap: 3rem;
        justify-content: flex-start;
        background-color: rgb(var(--color-primary-white));
        padding-top: 10rem;
        padding-left: 2rem;
        right: -130%;
        width: 85lvw;
        transition: right cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.5s, visibility linear 0.5s;
    }
    header .top_bar a, .logo_typo{
        font-size: 1.2rem;
        white-space: nowrap;
    }
    header .top_bar a{
        font-size: 1.7rem;
        position: relative;
        border: none;
    }

	header .top_bar a.only_smt{
		display: flex;
	}
	
    header .slide_menu_checkbox:checked ~ .top_bar{
        visibility: visible;
        right: 0%;
    }

    header .slide_menu_toggle{
        visibility: visible;
    }
    footer{
        height: auto;
        padding: 2rem 0;
    }
    footer .content_box{
        flex-direction: column;
        row-gap: 2rem;
    }
    footer .info_wrapper, footer .site_map_wrapper{
        display: flex;
        row-gap: 1rem;
        padding: 2rem 0;
    }

    footer .info_wrapper{
        left: auto;
    }
    footer .site_map_wrapper{
        top: 0rem;
        flex-direction: row;
        justify-content: flex-start;
    }
    footer .site_map_list{
        row-gap: 0.6rem;
        row-gap: 1rem;
    }
    footer .site_map_list h4{
        font-size: 0.6rem;
        margin-bottom: 1rem;
    }

    footer .site_map_list a{
        font-size: 0.8rem;
    }

    .content_box.item_list{
        display: flex;
        flex-direction: column;
    }

    .content_box{
        padding: 0 2rem;
    }

    .smt_hide{
        display: none !important;
    }
    
    .smt_show{
        display: inherit !important;
    }
}