@charset "utf-8";

/* =============
common
==============*/
.front__catch {
    font-size: 2rem;
}

.front-section__lead {
    gap: 16px;
    align-items: center;
    margin-top: 32px;
}

@media screen and (min-width:768px){
    .front__catch{
        font-size:3.2rem;
        letter-spacing: 8px;
    }
}

.header {
    background-image: url(../images/dodo_png/front-fv.png);
    display: block;
    padding-top: 96px;
    padding-bottom:112px;
}
/* nav初期表示 */
.nav {
    background-image: url(../images/dodo_png/front-fv.png);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.4s;
    z-index: 10;
}



.nav.active {
    transform: translateX(0);
}

.nav__list {
    margin-left: 48px;
    margin-top: 120px;
}

.nav__item {
    font-size: 2.0rem;
    color: var(--vivid-brown);
    font-family: var(--font-title);
    margin-top: 40px;

}



.hamburger-menu span {
    position: absolute;
    background-color: var(--primary-white);
    width: 22px;
    height: 2px;
    border-radius: 1px;
    transition: all 0.4s ease-in-out;

}


.hamburger-menu span:nth-of-type(1) {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-menu span:nth-of-type(2) {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-menu.active span:nth-of-type(1) {
    transform: translateY(4px) rotate(-45deg);
    left: 30%;
}

.hamburger-menu.active span:nth-of-type(2) {
    transform: translateY(-4px) rotate(45deg);
    left: 30%;
}

.sns {
    width: 40px;
    height: 40px;
}

.front-header--top{
    width: 100%;
    height:auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


@media screen and (min-width:1128px) {
    .header {
        text-align: center;
        position: relative;
        aspect-ratio: 1440/860;
    }

    .front-header {
        height: 100%;
        position: absolute;
        display: block;
        max-width:423px;
    }

    .fixed{
        display:none;
    }


    hgroup {
        position: relative;
        margin-left: 60px;
    }

    .header__logo {
        max-width: 226px;
        aspect-ratio: 226/206;
        display: block;
    }

    .hamburger-menu {
        display: none;
    }


}

@media screen and (min-width:1920px) {
    .header{
        aspect-ratio: 1920/760;
    }
    
}

@media screen and (min-width:1128px) {
    
    .nav {
        transform: translateX(0);
        z-index: 0;
        background: none;
        position: static;
        text-align: left;
        height:auto;
    
    }
    
    .nav__list {
        margin-left:34%;
        margin-top:30px;
    
    }
}


/*======================
.fornt-fv
====================== */
.front-fv{
    background-image: url(../images/dodo_png/front-fv.png);
    width:100%;
}

@keyframes subtlePulse {
    0% { transform: scale(1); }  
    50% { transform: scale(1.015); } /* ほんの少し膨らむ */
    100% { transform: scale(1); }  
  }
  
  .front-fv__mainVisual {
    animation: subtlePulse 12s infinite ease-in-out;
  }

.header__topic--sp {
    font-family: var(--font-title);
    font-size: 2.4rem;
    color: var(--primary-white);
    line-height: 1.25;
    writing-mode: vertical-rl;
    position: absolute;
    right: 19.2%;
    top: 26.6%;
    letter-spacing: 6px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.header__topic--sp span {
    font-size: 2rem;
    letter-spacing: 5px;
}

.hukidasi {
    position: relative;
    width: 150px;
    left: 50%;
    z-index:1;
}


.hukidasi span:nth-of-type(1) {
    position: absolute;
    background-color: var(--btn-brown);
    width: 28px;
    height: 2px;
    left: -22px;
    top: 0;
    transform: translateY(-10px) rotate(85deg);

}

.hukidasi span:nth-of-type(2) {
    position: absolute;
    background-color: var(--btn-brown);
    width: 28px;
    height: 2px;
    right: -12px;
    bottom: -28px;
    transform: translateY(-1px) rotate(159deg);

}

.front-fv__subcopy {
    font-family: "Yuji Boku";
    transform: rotate(20.867deg);
    font-size: 1.5rem;

}

.front-fv__mainVisual {
    position: relative;
    margin-top: 30px;
    width:100%;
    text-align: center;
}

.front-fv__slide {
    padding: 0 1.75%;
    max-width: 362px;
    margin: 0 auto;
}


/* .front-fv__image {
   width:96.5%;
   max-width:362px;
} */

@media screen and (min-width:1128px){
    
    .front-fv {
        right: 100px;
        width:100%;
    }

    .front-fv__mainVisual {
        position: absolute;
        top: 10%;
      
    }

    .front-fv__slide {
        width:48.8%;
        max-width:707px;
    }

    hgroup {
        position: relative;
        margin-left: 60px;
    }

    .header__topic--pc {
        position: absolute;
        top: 60px;
        left:150px;
        display: block;
        font-family: var(--font-title);
        font-size: 3.2rem;
    }

    .header__topic--sp {
        display: none;
    }

    .hukidasi {
        position: relative;
        width: 320px;
        left: 60%;
        top:-10px;
    }

    .front-fv__subcopy {
        font-size: 3.2rem;
    }

    .hukidasi span:nth-of-type(1) {
        width: 58px;
        height: 3px;
        left: -40px;
        top: -16px;
        transform: translateY(-10px) rotate(79deg)
    }
    
    .hukidasi span:nth-of-type(2) {
        width: 60px;
        height: 3px;
        right: -26px;
        bottom: -58px;
        transform: translateY(-1px) rotate(158deg)
    }

    
}



/*======================
.front-about
====================== */

.front-about__inner{
    width:100%;
    height:1453px;
overflow: hidden;
}

.front-about__top{
    position:relative;
    max-width: 375px;
    aspect-ratio: 375/458;
    left:50%;
    transform:translateX(-50%)
}

.front-about__image{
    position:absolute;
    z-index: 1;
}



.door{
     width:182px;
    aspect-ratio: 182/240;
    top:4.5%;
    right:6.4%;
}

.haniwa{
    left:6.1%;
    top:12.5%;
    width:135px;
    aspect-ratio: 135/95;

}

.load{
    width:156px;
    aspect-ratio: 156/207;
    right:62.6%;
    bottom:15.7%;
    left:-4%;
}

.doma{
    width:223px;
    aspect-ratio: 223/167;
    right:-20.2%;
    bottom:0.5%;
}

.doma::after{
    position: absolute;
    content: '';
    background-image: url(../images/dodo_png/sp/flowor.svg);
    width:56px;
    aspect-ratio: 56/126;
    transform: translateX(-100%);
    top:10px;
    left:-10px;
}


.front-about__lead{
    margin:0 auto;
    max-width:375px;
    padding:0 6.4%;
    position: relative;
    z-index: 1;
    /* width:var(--contentsWidth-sp); */  
   
}

.front-about__txt{
    margin-top:32px;
}

.btn-viewmore__about{
    margin-top:32px;
    margin-left:auto;
    padding:4px;
}


.front-about__bottom{
    position:relative;
    max-width:375px;
    aspect-ratio: 375/473;
    left:50%;
    transform:translateX(-50%);
    margin-top:36px;

}

.window{
    width:222px;
    aspect-ratio: 222/167;
    top:0;
    right:-4.5%;
}

.kaidan{
    width:129px;
    aspect-ratio: 129/173;
    top:7.2%;
    left:0;
}

.girl{
    width:136px;
    aspect-ratio: 136/105;
    top:33.3%;
    right:27.2%;

}
.rokuro{
    width:259px;
    aspect-ratio: 259/173;
    right:14.9%;
    bottom:5.3%;
}



@media screen and (min-width:768px) {
    .front-about__inner{
        width:100%;
        height:1142px;
    }
    
    .front-about__top{
        position:relative;
        width:1440px;
        max-width: initial;
        aspect-ratio: 1440/507;
        overflow: hidden;
        /* left:50%;
    transform:translateX(-50%) */
    }  
    
    .door{
         width:325px;
        aspect-ratio: 325/243;
        top:10.8%;
        right:37.7%;
    }

    .haniwa{
        width:187px;
        aspect-ratio: 187/133;
        top:37.7%;
        right:20%;
        left:initial;
    }
    
    .load{
        width:285px;
        aspect-ratio: 285/380;
        left:-0.8%;
        top:25%;
    }
    
    .doma{
        width:285px;
        aspect-ratio: 285/380;
        right:-1.1%;
        bottom:8.6%;
    }

    .doma::after{
        display: none;
    }

    
    .front-about__lead{
        max-width:746px;
        aspect-ratio: 746/449;
        margin-top:-193px;

    }
    .front-about__flex{
        display: flex;
        justify-content: center;
    }

    .front__catch--about{
        writing-mode: vertical-rl;
    }

    .front-about__indent{
        margin-top:64px;
    }
    
    .front-about__txt{
        margin-left:102px;
    }

    .front-about__txtbox{
        margin-top:56px;
    }
    
    .btn-viewmore__about{
        margin-top:26px;
        margin-left:auto;
    }
    
    .front-about__bottom{
            position:relative;
            width:1440px;
            max-width: initial;
            aspect-ratio: 1440/389;
            margin-top:-45px;
            overflow: hidden;
        }  
    
    
    .window{
        width:380px;
        aspect-ratio: 380/285;
        top:0;
        right:-7.7%;
    }
    
    .kaidan{
        width:362px;
        aspect-ratio: 362/282;
        left:-1.6%;
        bottom:25.1%;
    }

    .girl{
        width:203px;
        aspect-ratio: 203/158;
        top:31.3%;
        right:20.1%;
    
    }
    .rokuro{
        width:453px;
        aspect-ratio: 453/286;
        right:32.7%;
        bottom:6.4%;

    }

    .rokuro::after{
        position: absolute;
        content: '';
        background-image: url(../images/dodo_png/flowor--pc.svg);
        width:104px;
        aspect-ratio: 104/235;
        top:0;
        left:-28px;
        transform: translateX(-100%);

    }
    
    
}

/*======================
.fornt-trial
====================== */

.front-trial__inner{
    width:100%;
overflow: hidden;
}

.front-trial__top{
    padding-right:var(--contentsPadding-sp);
    
}


.front__catch--trial,
.front__catch--works{
    writing-mode: vertical-rl;
}

.front__catch--trial{
   
    line-height:1.2;
    margin-top:8px;
}

.front-trial__main{
    gap:32px;
}
.front-trial__image{
    margin-top:36px;
   width:76.5%;
    aspect-ratio: 287/195;
    margin-left:-17px;
}


.mark-make::after{
    content: "つくる";
    color:var(--primary-white);
    position:absolute;
    top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-wrap: nowrap;
}

.btn-viewmore__trial{
    margin-top:32px;
    margin-left:auto;
}

.front-trial__bottom{
    text-align: center;
    margin-top:24px;
}

.cource-three{
    width:357px;
    aspect-ratio: 357/170;
}

.niwa{
    width: 384px;
aspect-ratio: 4/3;
display: block;
margin-left: auto;
}

@media screen and (min-width:768px) {
    .front-trial__inner{
        width:100%;
        height:1103px;
    overflow: hidden;
    }
    
    .front-trial__top{
        padding-right:22.7%;
        margin-left:21.8%;
        
    }
    
    
    .front__catch--trial{
       
        line-height:1.2;
        margin-top:8px;
    }
    
    .front-trial__main{
        gap:11.8%;

        margin-top:112px;
    }
    .front-trial__image{
        max-width: 582px;
        margin-top:90px;
    }
    
    .front-trial__detail{
        width:582px;
    }


    .cource-three{
        position: absolute;
       transform: translateX(-100%);
    }

    .btn-viewmore__trial{
        margin-top:24px;
        padding:4px;
    }
    
}


/* student-works、accessはcommon */


/*======================
.extraFun
====================== */
.extraFun{
   background-image: url(../images/dodo_png/extraFun.png);
   text-align: center;
}

.boy{
    width:91px;
   aspect-ratio: 91/64;
}

.extraFun__list{
    width:100%;
    max-width:706px;
    margin:0 auto;

}

.extraFun__item{
    margin:40px auto 0;
    position: relative;
    max-width:321px;
}

.extraFun__item:first-of-type::after,
.extraFun__item:last-of-type::after{
    position:absolute;
    color:var(--primary-white);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" fill="none"><path d="M99.388 55.2286C90.7451 98.7831 58.6035 96.2912 48.7812 99.2242C19.7786 104.841 6.44238e-05 79.1921 0 47.1783C-5.51306e-05 19.7824 31.7719 2.15391e-05 54.5006 0C71.0798 -1.57115e-05 104.961 27.1462 99.388 55.2286Z" fill="%23C79F28"/></svg>');
    background-size: cover;
    width:70px;
    height:70px;
    display: flex;
    align-items: center;
    justify-content: center;
    top:-20px;
    left:-10px;
}

.extraFun__item:first-of-type::after{
    content:'知る';
}

.extraFun__item:last-of-type::after{
    content:'診断';
}


.extrafun__txt{
    margin-top:16px;
}

.btn-viewmore__fun{
    width:141px;
    margin:16px auto 0;
    padding:4px;
}

@media screen and (min-width:768px) {
    .extraFun__list{
        display: flex;
        gap:64px;
        justify-content: center;
    }

    .extraFun__item{
        width:100%;
    }

    .front__catch--fun{
        letter-spacing: 0;
    }
    
}








