@charset 'UTF-8';
@import url('https://fonts.googleapis.com/css2?family=Unna:ital,wght@0,400;0,700;1,400;1,700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');

html,
body{
    color:#131313;
    font-family: "Zen Old Mincho", serif;
    background:repeat center/1920px url('img/madoi/background.webp');
    min-width:1280px;
}

@media only screen and (min-width:1025px){
    html,body{
        overflow:initial;
    }
}

.font-gothic{
    font-family: "Zen Kaku Gothic New", sans-serif;
}
.font-unna{
    font-family: "Unna", serif;
    line-height:1.2;
}


/* HEADER */
.main-header{
    display: flex;
    justify-content: space-between;

    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:20px 50px 0;
    pointer-events:none;
    z-index:99;
}

.header-logo{
    pointer-events:auto;
}
.header-logo img{
    width:310px;
    transition:0.2s;
}
@media only screen and (max-width:1440px){
    .header-logo img{
        width:260px;
    }
    .header-menu__ul{
        gap:30px;
    }
}

.header-menu__ul{
    display:flex;
    justify-content:space-between;
    gap:56px;
    pointer-events:auto;
}
.header-menu__li a{
    color:#FFF;
    text-align:center;
}
.header-menu__li__en{
    font-size:24px;
}
.header-menu__li__jp{
    font-size:12px;
    font-weight:bold;
}

.header-sptoggle{
    pointer-events:auto;
}

@media only screen and (min-width:1025px){
    .header-sptoggle{
        display:none;
    }
    .main-header::before{
        content:'';
        position:absolute;
        left:0;
        top:0;
        z-index:-1;
        width:100%;
        height:calc(100% + 20px);
        background:linear-gradient(to bottom, #644C27, transparent);
        opacity:0;
        transition:0.2s;
    }
    .main-header.scrolled::before{
        opacity:1;
    }
    .main-header.scrolled .header-logo img{
        filter:brightness(100);
    }
}


/* ASIDE */
.main-aside{
    position:fixed;
    right:0;
    bottom:117px;
    z-index:99;
}

.aside-link{
    transition:0.3s;
}
.aside-link.scrolled{
    transform:translateX(217px);
}
.aside-link.scrolled:hover{
    transform:translateX(0);
}
.aside-link a{
    color:#E2DACD;
    padding:25px;
    display:flex;
    align-items:center;
    gap:15px;
}
.aside-link a:hover{
    opacity:1;
}
.aside-link.link01 a{
    background:linear-gradient(to right, #3E4977, #050A20);
}
.aside-link.link02 a{
    background:linear-gradient(to right, #5B755D, #1A2E1B);
}
.aside-link__icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
}
.aside-link__text{
    border-left:1px dashed #E2DACD;
    font-size:20px;
    font-weight:bold;
    line-height:34px;
    padding-left:15px;
}

@media only screen and (min-width:1025px){
    .aside-link:not(:last-child){
        margin-bottom:5px;
    }
    .aside-link a{
        border-top-left-radius:5px;
        border-bottom-left-radius:5px;
        width:290px;
    }
}


/* FOOTER */
.main-footer{
    color:#FFF;
    background:linear-gradient(to bottom, #C4B294, #644C27);
    padding:60px 0 80px;
}
.footer-wrap{
    width:100%;
    max-width:1640px;
    padding:0 20px;
    margin:0 auto;
}
.footer-logo{
    text-align:center;
    margin-bottom:44px;
}
.footer-logo img{
    width:195px;
}

.footer-comps{
    display:flex;
    justify-content:space-between;
    gap:60px;
}
.footer-comp{
    position:relative;
    margin-bottom:70px;
}
@media only screen and (min-width:1440px){
    .footer-comp{
        width:calc((100% - (60px * 4)) / 5)
    }
}
.footer-comp:not(:first-child)::before{
    content:'';
    position:absolute;
    left:-30px;
    top:0;
    width:0;
    height:100%;
    border-right:1px dashed #FFF;
}
.footer-comp__title{
    font-size:18px;
    font-weight:bold;
    margin-bottom:12px;
}
.footer-comp__info{
    font-size:14px;
    font-weight:500;
    line-height:calc(30/14);
}
.footer-comp__info a{
    color:#FFF;
}

.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.footer-links__ul{
    display:flex;
    align-items:center;
    gap:10px;
}
.footer-links__li a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:224px;
    height:44px;
    color:#FFF;
    border-radius:100vh;
    border:1px solid #FFF;
    font-size:16px;
    font-weight:500;
}
.footer-links__li a:hover{
    opacity:1;
    background:#FFF;
    color:#644C27;
}
.footer-copytight .copyright{
    font-size:12px;
    font-weight:500;
}


/* MV */
.madoi-mv{
    position:relative;
}
.madoi-mv__bg{
    position:relative;
    z-index:1;
    border-top-left-radius:600px;
    overflow:hidden;
}
.madoi-mv__bg video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
@media only screen and (min-width:1025px){
    .madoi-mv__bg video{
        height:1080px;
    }
}
.madoi-mv__content{
    position:absolute;
    color:#FFF;
    z-index:2;
    bottom:90px;
    left:120px;
}
.madoi-mv__content__main{
    margin-bottom:40px;
}
.madoi-mv__content__main img{
    width:650px;
}
.madoi-mv__content__sub{
    font-size:22px;
    font-weight:bold;
}

/* CONCEPT */
.madoi-wrap{
    max-width:1640px;
    margin:0 auto;
    padding:0 20px;
    width:100%;
}

.madoi-sec01{
    padding:150px 0 200px;
}
.madoi-sec01__flex01{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:space-between;
    gap:30px 0;
}
.madoi-sec01__flex01__content{
    width:39.6%;
    position:sticky;
    top:100px;
    left:0
}
.madoi-sec01__flex01__imagecontainer{
    width:50%;
}
.madoi-sec01__flex01__img{
    width:100%;
    margin-bottom:80px;
}
.madoi-sec01__flex02{
    margin-top:60px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:30px 0;
}
.madoi-sec01__flex02__content{
    width:39.6%;
}
.madoi-sec01__flex02__img{
    width:50%;
}

.madoi-concept__text{
    font-size:18px;
    font-weight:500;
    line-height:calc(52/18);
}
.madoi-concept__subtitle{
    margin-top:100px;
    font-size:40px;
    font-weight:bold;
    line-height:calc(70/40);
}

.madoi-sec01__multiimgs{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    gap:40px;
}
.madoi-sec01__multiimgs img{
    width:45%;
}
.madoi-sec01__multiimgs img:nth-of-type(1){
    padding-top:30%;
}


/* DESIGN LIFESTYLE */
.madoi-bigwrap{
    width:100%;
    max-width:1820px;
    padding:0;
    margin:0 auto;
}

.madoi-s02{
    display:flex;
    flex-wrap:wrap;
    align-items:stretch;
}
.madoi-s02:not(:last-child){
    margin-bottom:60px;
}
.madoi-s02__content{
    order:2;
    width:35%;

    padding:100px;

    color:#FFF;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap:60px;

    mix-blend-mode:multiply;
}
.madoi-s02__img{
    order:1;
    width:65%;
}
.madoi-s02__img img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    border-top-left-radius:600px;
    border-bottom-left-radius:10px;
}

.madoi-s02__content.c01{
    background:linear-gradient(to right bottom, #C4B294,#644C27);
}
.madoi-s02__content.c02{
    background:linear-gradient(to right bottom, #3E4977,#050A20);
}
.madoi-s02__content.c03{
    background:linear-gradient(to right bottom, #5B755D,#1A2E1B);
}

.madoi-s02__content__head{
    color:#D9D1B1;
}
.madoi-s02__numbers{
    font-size:70px;
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
    gap:0.3em;
}
.madoi-s02__numbers span.current{
    font-size:200%;
    line-height: 0.87em;
}
.madoi-s02__content__head__subtitle{
    font-size:24px;
    text-align:right;
    margin-top:1em;
}

.madoi-s02__content__texts--title{
    font-size:30px;
    font-weight:600;
    line-height:calc(50/30);
}
.madoi-s02__maintext{
    margin-top:1em;
    font-size:16px;
    font-weight:500;
    line-height:calc(36/16);
}


/* Performance */
.madoi-sec03{
    padding:200px 0 250px;
}
.madoi-s3__head__title{
    font-size:170px;
    line-height:1;
    color:#D9C9B1;
}
.madoi-s3__head__img{
    text-align:right;
    margin:-50px 0;
}
.madoi-s3__head__img img{
    width:65.625vw;
    border-radius:400px 0 0 5px;
    transform:translateX(20px);
}
@media only screen and (min-width:1640px){
    .madoi-s3__head__img img{
        transform:translateX(calc((100vw - 1640px) / 2 + 20px));
    }
}
.madoi-s3__mainc__title{
    font-size:40px;
    font-weight:bold;
    line-height:calc(70/40);
    margin-bottom:80px;
}
.madoi-s3__mainc__text{
    font-size:18px;
    font-weight:bold;
    line-height:calc(42/18);
}
.madoi-s3__columns{
    margin-top:130px;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:80px;
}
.madoi-s3__column__img{
    border-radius:5px;
    overflow:hidden
}
.madoi-s3__column__title{
    font-size:20px;
    font-weight:bold;
    margin:0.6em 0 0.4em;
}
.madoi-s3__column__text{
    font-size:14px;
    font-weight:500;
    line-height:calc(30/14);
}

.madoi-s3__lists{
    margin-top:130px;
}
.madoi-s3__list dt{
    cursor:pointer;
    position:relative;
    display:flex;
    align-items:center;
    gap:0 30px;
    padding:50px 0;
    padding-right:40px;
}
.madoi-s3__list__icon{
    width:60px;
    height:60px;
    display:block;
}
.madoi-s3__list__icon img{
    width:100%;
    height:100%;
    vertical-align:top;
    object-fit:contain;
    object-position:center;
}
.madoi-s3__list__title{
    font-size:30px;
    font-weight:bold;
}
.madoi-s3__list__toggler{
    position:absolute;
    width:20px;
    height:20px;
    right:10px;
    top:calc(50% - 10px);
}
.madoi-s3__list__toggler span{
    position:absolute;
    width:20px;
    height:3px;
    top:8.5px;
    left:0;
    background:linear-gradient(to right bottom, #C4B294, #644C27);
    transition:0.2s;
}
.madoi-s3__list__toggler:not(.open) span:nth-of-type(2){
    transform:rotate(90deg);
}
.madoi-s3__list{
    border-top:1px solid #DFDBD6;
}
.madoi-s3__list:last-child{
    border-bottom:1px solid #DFDBD6;
}
.madoi-s3__list dd:not(.open){
    display:none;
}
.madoi-s3__list dd{
    padding-bottom:100px;
}
.madoi-s3__list__subtitle{
    font-size:24px;
    font-weight:bold;
    line-height:calc(50/24);
    margin-bottom:20px;
}
.madoi-s3__list__text{
    font-size:16px;
    font-weight:500;
    line-height:calc(36/16);
}


/* Brand Story */
.madoi-sec04{
    padding:250px 0 0;
    position:relative;
}
.madoi-s4__bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:1040px;
    background:#C4B294;
    border-top-left-radius:800px;
    mix-blend-mode:multiply;
    z-index:1;
}
.madoi-sec04 .madoi-wrap{
    position:relative;
    z-index:2;
}
.madoi-s4__entitle{
    font-size:170px;
    line-height:1;
    color:#FFF;
    opacity:0.15;
    padding-left:19.5%;
}
.madoi-s4__flex01{
    display:flex;
    flex-wrap:wrap;
    flex-direction:row-reverse;
    margin-top:-80px;
}
.madoi-s4__flex01__content{
    width:50%;
    color:#FFF;
}
.madoi-s4__flex01__img{
    width:50%;
    padding-top:180px;
}
.madoi-s4__f1__c__title{
    font-size:70px;
}
.madoi-s4__f1__c__title small{
    font-size:24px;
}
.madoi-s4__f1__c__text{
    font-size:18px;
    font-weight:600;
    line-height:2;
}
.madoi-s4__flex01__img img{
    max-width:unset;
    width:45.3125vw;
    border-radius:0 570px 5px 0;
    transform:translateX(-20px);
}
@media only screen and (min-width:1640px){
    .madoi-s4__flex01__img img{
        transform:translateX(calc((100vw - 1640px) / 2 * -1 - 20px));
    }
}
.madoi-s4__f1__c__img{
    margin-top:80px;
    text-align:right;
}
.madoi-s4__f1__c__img img{
    width:400px;
    border-radius:260px 5px 5px 5px;
    transform:translateX(20px);
}


/* Appointment */
.madoi-sec05{
    padding-top:250px;
}
.madoi-s5__accessbox{
    margin-top:88px;

    display:flex;
    flex-wrap:wrap;
    flex-direction:row-reverse;
    align-items:center;
}
.madoi-s5__accessbox__content{
    width:550px;
}
.madoi-s5__accessbox__title{
    text-align:center;
}
.madoi-s5__accessbox__title--en{
    font-size:100px;
    line-height:1;
    color:#D9C9B1;
    mix-blend-mode:multiply;
}
.madoi-s5__accessbox__title--jp{
    font-size:29px;
    font-weight:bold;
    margin-top:-1.5em;
    line-height: 1.6;
}
@media only screen and (min-width:768px){
    .madoi-s5__accessbox__title--jp br{
        display:none;
    }
}
.madoi-s5__accessbox__address{
    margin:30px 0;
    text-align:center;
    font-size:18px;
    font-weight:500;
    line-height:calc(40/18);
}
.madoi-s5__accessbox__telbox{
    max-width:350px;
    width:100%;
    margin:0 auto;
}
.madoi-s5__accessbox__telbox__title{
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    font-weight:bold;
    background:linear-gradient(to right, transparent, rgba(196,178,148,0.15) 10%, #C4B294 50%, rgba(196,178,148,0.15) 90%, transparent);
}
.madoi-s5__accessbox__telbox__tel{
    font-size:50px;
    font-weight:bold;
    text-align:center;
    letter-spacing:0.05em;
    margin-top:8px;
}
.madoi-s5__accessbox__telbox__tel a{
    color:#131313;
}
.madoi-s5__accessbox__map{
    width:calc(100% - 550px);
}
.madoi-s5__accessbox__map iframe{
    min-height:500px;
    height:100%;
}
.madoi-s5__contact{
    margin-top:100px;
    padding:130px 200px 150px;
    background:rgba(255,255,255,0.5);
    filter:drop-shadow(0 0 20px rgba(0,0,0,0.16));
}
.madoi-s5__contact__maint{
    font-size:20px;
    font-weight:bold;
    line-height:2;
    text-align:center;
    margin-bottom:70px;
}
.madoi-s5__contact__tabtoggler{
    display:flex;
    justify-content:center;
    gap:20px;
    align-items:center;
}
.madoi-tabtoggler{
    width:270px;
    height:75px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:100vh;
    background:linear-gradient(to right bottom, #5B755D, #1A2E1B 50%);
    color:#FFF;
    font-size:24px;
    font-weight:bold;
    letter-spacing:0.05em;
    border:1px solid #1A2E1B;
    position:relative;
}
.madoi-tabtoggler.open{
    pointer-events:none;
}
.madoi-tabtoggler:not(.open){
    color:#1A2E1B;
    background:#EFECE7;
    cursor:pointer;
}
.madoi-tabtoggler::before{
    content:'';
    position:absolute;
    width:12px;
    height:7px;
    background:no-repeat center/contain url('img/madoi/icon-tab.svg');
    right:40px;
    top:calc(50% - 3.5px);
}
.madoi-tabtoggler:not(.open)::before{
    filter:invert(1);
}
.madoi-s5__contact__tabs{
    margin-top:50px;
}

/* BOTTOM SLIDER */
.madoi-bottomslider{
    position:relative;
    margin-top:200px;
}
.madoi-bottomslider::before{
    content:'';
    position:absolute;
    z-index:0;
    height:100%;
    width:100%;
    bottom:0;
    left:0;
    background:linear-gradient(to top, #C4B294, transparent);
}
.madoi-bottomslider .slick-track{
    position:relative;
    z-index:2;
}
.madoi-bottomslider .slick-slide{
    line-height:1;
}
.madoi-bottomslide{
    padding:0 10px;
}


/* ANIMATION */
/* ANIMATION */
.fadein {
    opacity : 0.1;
    transform : translate(0, 50px);
    transition : all 800ms;
}
.fadeinr {
    opacity : 0.1;
    transform : translate(50px, 0);
    transition : all 800ms;
}
.fadeinb {
    opacity : 0.1;
    transform : translate(0, 50px);
    transition : all 800ms;
}
.fadeint {
    opacity : 0.1;
    transform : translate(0, -50px);
    transition : all 800ms;
}
.fadeinl {
    opacity : 0.1;
    transform : translate(-50px, 0);
    transition : all 800ms;
}
.fadeino {
    opacity : 0.1;
    transition : all 800ms;
}

.fadein.scrollin, .fadeinr.scrollin, .fadeinb.scrollin, .fadeint.scrollin, .fadeinl.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}
.fadeino.scrollin {
   opacity : 1;
}

@supports (-ms-ime-align:auto) {
.fadein {
    opacity : 1;
    transform : inherit;
    transition : inherit;
}
.fadeinr {
    opacity : 1;
    transform : inherit;
    transition : inherit;
}
.fadeinb {
    opacity : 1;
    transform : inherit;
    transition : inherit;
}
.fadeint {
    opacity : 1;
    transform : inherit;
    transition : inherit;
}
.fadeinl {
    opacity : 1;
    transform : inherit;
    transition : inherit;
}
.fadeino {
    opacity : 1;
    transition : inherit;
}

.fadein.scrollin, .fadeinr.scrollin, .fadeinb.scrollin, .fadeint.scrollin, .fadeinl.scrollin {
    opacity : 1;
    transform : inherit;
}
.fadeino.scrollin {
   opacity : 1;
}
}/* @ supports end */

@media only screen and (max-width:1280px){
/* ANIMATION */
.fadein,
.fadeinr,
.fadeinl,
.fadeinb,
.fadeint{
    opacity : 0.1;
    transform : translate(0, 50px);
    transition : all 800ms;
}
}/* fade animation wrap over */
.clear_from_top.ef,
.inner-clear_from_top.ef>*{
	-webkit-clip-path: inset(0 0 100% 0);
	clip-path: inset(0 0 100% 0);
	transition:all .8s ease;
}
.clear_from_bottom.ef,
.inner-clear_from_bottom.ef>*{
	-webkit-clip-path: inset(100% 0 0 0);
	clip-path: inset(100% 0 0 0);
	transition:all .8s ease;
}
.clear_from_left.ef,
.inner-clear_from_left.ef>*{
	-webkit-clip-path: inset(0 100% 0 0);
	clip-path: inset(0 100% 0 0);
	transition:all .8s ease;
}
.clear_from_right.ef,
.inner-clear_from_right.ef>*{
	-webkit-clip-path: inset(0 0 0 100%);
	clip-path: inset(0 0 0 100%);
	transition:all .8s ease;
}
.clear_from_lefttop.ef,
.inner-clear_from_lefttop.ef>*{
	-webkit-clip-path: inset(0 100% 100% 0);
	clip-path: inset(0 100% 100% 0);
	transition:all .8s ease;
}
.clear_from_righttop.ef,
.inner-clear_from_righttop.ef>*{
	-webkit-clip-path: inset(0 100% 0 100%);
	clip-path: inset(0 100% 0 100%);
	transition:all .8s ease;
}
.clear_from_leftbottom.ef,
.inner-clear_from_leftbottom.ef>*{
	-webkit-clip-path: inset(100% 100% 0 0);
	clip-path: inset(100% 100% 0 0);
	transition:all .8s ease;
}
.clear_from_rightbottom.ef,
.inner-clear_from_rightbottom.ef>*{
	-webkit-clip-path: inset(100% 0 0 100%);
	clip-path: inset(100% 0 0 100%);
	transition:all .8s ease;
}
.clear_from_top.ef.scrollin,
.clear_from_bottom.ef.scrollin,
.clear_from_left.ef.scrollin,
.clear_from_right.ef.scrollin,
.inner-clear_from_top.ef.scrollin>*,
.inner-clear_from_bottom.ef.scrollin>*,
.inner-clear_from_left.ef.scrollin>*,
.inner-clear_from_right.ef.scrollin>*,
.clear_from_lefttop.ef.scrollin,
.clear_from_righttop.ef.scrollin,
.clear_from_leftbottom.ef.scrollin,
.clear_from_rightbottom.ef.scrollin,
.inner-clear_from_lefttop.ef.scrollin>*,
.inner-clear_from_righttop.ef.scrollin>*,
.inner-clear_from_leftbottom.ef.scrollin>*,
.inner-clear_from_rightbottom.ef.scrollin>*{
	-webkit-clip-path: inset(0);
	clip-path:inset(0);
}

/* 1439px */
@media only screen and (max-width:1439px){
    /* FOOTER */
    .footer-comps{
        gap:44px;
    }
    .footer-comp{
        width:calc((100% - (44px * 4)) / 5);
    }
    .footer-comp:not(:first-child)::before{
        left:-22px;
    }
}

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

    html,body{
        min-width:100%;
    }

    /* HEADER */
    .main-header{
        padding:20px 10px 0;
    }
    .header-logo a:hover{
        opacity:1;
    }
    .header-logo img{
        width: 210px;
        vertical-align: top;
    }
    .header-sptoggle{
        cursor:pointer;
        width:40px;
        height:40px;
        top:20px;
        right:10px;
        position:absolute;
        z-index:99;
    }
    .header-sptoggle span{
        position:absolute;
        left:0;
        width:100%;
        height:3px;
        border-radius:100vh;
        background:linear-gradient(to bottom, #C4B294, #644C27 50%);
        transition:0.2s;
    }
    .header-sptoggle span:nth-of-type(1){
        top:0;
    }
    .header-sptoggle span:nth-of-type(2){
        top:10px;
    }
    .header-sptoggle span:nth-of-type(3){
        top:20px;
    }
    .header-sptoggle.open span:nth-of-type(1){
        top:10px;
        transform:rotate(45deg);
    }
    .header-sptoggle.open span:nth-of-type(2){
        opacity:0;
    }
    .header-sptoggle.open span:nth-of-type(3){
        top:10px;
        transform:rotate(-45deg);
    }
    .header-sptoggle small{
        position:absolute;
        bottom:0;
        left:0;
        width:100%;
        text-align:center;
        font-size:13px;
        line-height:1;
        transition:0.2s;
    }
    .header-sptoggle.open small{
        color:#FFF;
    }

    .header-menu{
        position:fixed;
        top:0;
        right:0;
        z-index:98;
        width:100%;
        max-width:400px;
        height:100vh;
        padding:80px 30px 0;
        background:linear-gradient(to bottom, #C4B294, #644C27 50%);
        transition:0.3s;
        transform:translateX(101%);
    }
    .header-menu.open{
        transform:translateX(0);
    }
    .header-menu__ul{
        display:block;
        padding-bottom:60px;
        height:100%;
        overflow-y:scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .header-menu__ul::-webkit-scrollbar {
        display:none;
    }
    .header-menu__li:not(:last-child){
        margin-bottom:35px;
    }
    .header-menu__li__en{
        font-size:28px;
    }
    .header-menu__li__jp{
        font-size:16px;
    }

    /* ASIDE */
    .main-aside{
        bottom:0;
        width:100%;
    }
    .aside-links{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:0;
    }
    .aside-link a{
        padding:16px;
        justify-content:center;
    }

    /* FOOTER */
    .main-footer{
        padding:60px 0 100px;
    }
    .footer-comps{
        flex-wrap:wrap;
        gap: 30px 0;
        margin-bottom:40px;
    }
    .footer-comp{
        width:50%;
        margin-bottom:0;
    }
    .footer-comp:not(:first-child)::before{
        content:none;
    }
    .footer-comp:nth-of-type(2n+1){
        padding-right:30px;
    }
    .footer-comp:nth-of-type(2n){
        border-left:1px dashed #FFF;
        padding-left:30px;
    }

    .footer-bottom{
        flex-wrap:wrap;
        gap:20px;
        justify-content:center;
    }
    .footer-copytight{
        width:100%;
    }
    .footer-copytight .copyright{
        text-align:center;
    }

    /* MV */
    .madoi-mv{
        padding-top:80px;
    }
    .madoi-mv__bg{
        border-top-left-radius: 0;
        height:600px;
    }
    .madoi-mv__bg img{
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center bottom;
    }
    .madoi-mv__content{
        bottom: auto;
        left: 10%;
        width: 55%;
        top: 140px;
    }
    .madoi-mv__content__main img{
        filter: drop-shadow(2px 4px 6px black);
    }
    .madoi-mv__content__sub{
        font-size:18px;
        filter: drop-shadow(2px 4px 6px black);
    }


    /* CONCEPT */
    .madoi-sec01{
        padding:100px 0;
    }
    .madoi-sec01__flex01__content,
    .madoi-sec01__flex01__imagecontainer,
    .madoi-sec01__flex02__content,
    .madoi-sec01__flex02__img{
        width:100%;
    }
    .madoi-sec01__flex01__img{
        margin-bottom:40px;
    }
    .madoi-concept__subtitle{
        margin-top:50px;
    }
    .madoi-sec01__multiimgs{
        justify-content:center;
    }


    /* DESIGN LIFESTYLE */
    .madoi-s02__img{
        width:100%;
        height:300px;
    }
    .madoi-s02__content{
        width:100%;
        padding:20px 20px 50px;
    }


    /* PERFORMANCE */
    .madoi-sec03{
        padding:100px 0;
    }
    .madoi-s3__head__title{
        font-size:12vw;
    }
    .madoi-s3__head__img{
        margin:30px 0;
    }
    .madoi-s3__head__img img{
        width:100vw;
        height:200px;
        object-fit:cover;
        object-position:center;
    }
    .madoi-s3__mainc__title{
        font-size:30px;
        margin-bottom:1em;
    }
    .madoi-s3__columns {
        margin-top: 50px;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .madoi-s3__list__text{
        font-size:15px;
    }

    /* BRAND STORY */
    .madoi-sec04{
        padding:100px 0 0;
    }
    .madoi-s4__bg{
        height:100%;
        border-top-left-radius:0;
    }
    .madoi-s4__entitle{
        font-size:12vw;
        padding-left:0;
    }
    .madoi-s4__flex01{
        margin-top:-6vw;
    }
    .madoi-s4__flex01__content{
        width:100%;
    }
    .madoi-s4__f1__c__title{
        font-size:50px;
    }
    .madoi-s4__flex01__img {
        width: 100%;
        padding-top: 0;
        margin-top: -18vw;
    }
    .madoi-s4__flex01__img img{
        width:88vw;
    }

    /* APPOINTMENT */
    .madoi-sec05{
        padding-top:100px;
    }
    .madoi-s5__accessbox__content{
        width:100%;
        padding-bottom:50px;
    }
    .madoi-s5__accessbox__map{
        width:100%;
    }
    .madoi-s5__accessbox__map iframe{
        width:calc(100% + 40px);
        transform:translateX(-20px);
        max-width:unset;
        min-height:300px;
    }
    .madoi-s5__contact{
        padding:50px 20px;
    }
    .madoi-s5__contact__maint{
        font-size:18px;
        margin-bottom:30px;
    }

}/* 1024px */


/* 767px */
@media only screen and (max-width:767px){

    /* HEADER */
    .main-header{
        padding:10px 10px 0;
    }
    .header-logo img {
        width: 180px;
        vertical-align: top;
    }
    .header-sptoggle{
        top:10px;
    }

    /* ASIDE */
    .aside-link a{
        padding:20px 10px;
        gap:10px;
    }
    .aside-link__icon{
        width:20px;
        height:20px;
    }
    .aside-link__text{
        font-size: 14px;
        font-weight: bold;
        line-height: 1;
        padding-left: 10px;
    }


    /* FOOTER */
    .main-footer{
        padding:50px 0 80px;
    }
    .footer-comps{
        gap:0;
    }
    .footer-comp{
        width:100%;
    }
    .footer-comp:nth-of-type(2n+1){
        padding-right:0;
    }
    .footer-comp:nth-of-type(2n) {
        border-left: 0;
        padding-left: 0;
    }
    .footer-comp:not(:last-child){
        padding-bottom:20px;
        margin-bottom:20px;
        border-bottom:1px dashed #FFF;
    }

    .footer-links{
        width:100%;
    }
    .footer-links__ul{
        flex-wrap:wrap;
        justify-content:center;
    }
    .footer-links__li{
        width:100%;
    }
    .footer-links__li a{
        width:100%;
    }

    /* BOTTOM SLIDER */
    .madoi-bottomslider{
        margin-top:50px;
    }
    .madoi-bottomslide{
        padding:0;
    }


    /* MV */
    .madoi-mv{
        padding-top:60px;
    }
    .madoi-mv__bg{
        height:540px;
    }
    .madoi-mv__content{
        left: 20px;
        width: calc(100% - 40px);
        top: 50%;
        transform: translateY(-50%);
    }
    .madoi-mv__content__main{
        margin-bottom:20px;
    }
    .madoi-mv__content__main img{
        max-width:450px;
        width:100%;
    }
    .madoi-mv__content__sub{
        font-size:4vw;
    }


    /* CONCEPT */
    .madoi-concept__text{
        font-size:14px;
        line-height:2;
    }
    .madoi-concept__subtitle {
        margin-top: 30px;
        font-size: 22px;
    }
    .madoi-sec01__multiimgs img:nth-of-type(1){
        padding-top:0;
    }
    .madoi-sec01__multiimgs img{
        width:100%;
        max-width:220px;
    }

    /* DESIGN LIFESTYLE */
    .madoi-s02__img{
        height:200px;
    }
    .madoi-s02__img img{
        border-top-left-radius:0;
    }
    .madoi-s02__numbers{
        font-size:30px;
    }
    .madoi-s02__content__head__subtitle{
        font-size: 20px;
        margin-top: 0.2em;
    }
    .madoi-s02__content{
        gap:20px;
    }
    .madoi-s02__content__texts--title{
        font-size:22px;
    }
    .madoi-s02__maintext{
        font-size:14px;
    }
    .madoi-s02:not(:last-child){
        margin-bottom:0;
    }


    /* PERFORMANCE */
    .madoi-s3__mainc__title{
        font-size:22px;
    }
    .madoi-s3__mainc__text{
        font-size:14px;
        line-height:2;
    }
    .madoi-s3__columns{
        gap:20px 10px;
    }
    .madoi-s3__column__title{
        font-size:14px;
    }
    .madoi-s3__column__text{
        font-size:11px;
        line-height:2;
    }
    .madoi-s3__lists{
        margin-top:50px;
    }
    .madoi-s3__list dd{
        padding-bottom:40px;
    }
    .madoi-s3__list dt{
        padding:20px 0;
        padding-right:40px;
        gap:0 10px;
    }
    .madoi-s3__list__icon{
        width:30px;
        height:30px;
    }
    .madoi-s3__list__title{
        font-size:22px;
    }
    .madoi-s3__list__subtitle{
        font-size:18px;
    }
    .madoi-s3__list__text{
        font-size:14px;
    }


    /* BRAND STORY */
    .madoi-s4__f1__c__title{
        font-size:28px;
    }
    .madoi-s4__f1__c__text{
        font-size:14px;
        margin-top:30px;
    }


    /* APPOINTMENT */
    .madoi-s5__accessbox__title--en{
        font-size:70px;
    }
    .madoi-s5__accessbox__title--jp{
        font-size:22px;
    }
    .madoi-s5__accessbox__address{
        font-size:14px;
    }
    .madoi-s5__accessbox__telbox__tel{
        font-size:40px;
    }
    .madoi-s5__contact{
        margin-top:50px;
    }
    .madoi-s5__contact__maint{
        font-size:14px;
    }
    .madoi-s5__contact__tabtoggler{
        gap:0;
    }
    .madoi-tabtoggler{
        width:50%;
        height:60px;
        border-radius:0;
        font-size:18px;
    }
    .madoi-tabtoggler::before{
        right:10px;
    }

    /* FORM */
    .madoi-s5__contact__tab .table-grad:after{
        display:none;
    }
    .table-wrap{
        overflow: hidden;
        white-space: wrap;
        margin-bottom: 0;
    }
    table.inquiry,
    table.inquiry thead,
    table.inquiry tbody,
    table.inquiry tr,
    table.inquiry th,
    table.inquiry td{
        display:block;
        width:100%;
        overflow-wrap: break-word;
        word-break: break-all;
        white-space: wrap;
    }
    .halfname:not([name="add-no"]){
        width:100%;
    }
    form textarea{
        width:100%;
    }









}/* 767px */