@charset "UTF-8";


*{
    margin: 0 ;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
}
/* 最低限の各ブラウザの余白と、行間をリセット（チャラ）にして同じ見せ方にする */
/* *の、ユニバーサルセレクター（すべてのタグ）を使っても大丈夫 */
    

body {

    font-family: "Noto Sans JP", serif;
    font-weight: 400;
    font-style: normal;
    color: #444;
    font-size: 14px;
    /* サイト全体の文字色を定義しておく */
}
ul {
    list-style: none;
    /*  ul liの装飾を削除する  */
}
a {
    text-decoration: none;
    /*   aタグの初期設定。aタグはでデフォルトで持っている下線を消しておく */
}
img{
    max-width: 100%;
    /* 親要素以上に大きくならない */
    vertical-align: bottom;
    /* imgは、文字と同等扱いなので、必ず下部に余白（デセンダー）が出来てしまうのを防ぐ。他の防ぐ方法としてインライン要素をブロック要素に変える方法もあり */
}

/* リセット、及び共有設定 */

/*-----------------------------------------
   html - setting   
-----------------------------------------*/
html{
    scroll-behavior: smooth;
}

/*-----------------------------------------
    container- setting   
-----------------------------------------*/

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 10px;
}

/*------------------------
    burger menu setting
------------------------*/

.burger {
    width: 60px;
    height: 55px;
    position: fixed;
    background-color: #fff;
    padding: 10px;
    top: 100px;
    right: 0;
    border-radius: 3px;
    cursor: pointer;
    z-index: 1;
  } 
.burger span {
    position: absolute;
    width: 70%;
    height: 4px;
    background-color: #333;
    inset: 0;
    margin: auto;
    transition: .3s;
    border-radius: 10px;
}
.burger span:nth-child(1) {
    top: -30%;
    transition-delay: .1s;
}
.burger span:nth-child(3) {
    top: 30%;

    transition-delay: .3s;
}
.burger span:nth-child(4) {
    height: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: bold;
    text-align: center;
    top: 45%;
    font-size: 11px;
    font-weight: bold;
    transition-delay: .3s;

}


.burger.active{
    z-index: 1200;
}
.burger.active > span:nth-child(1) {
    width: 0;
    top: 0%;
} 
.burger.active > span:nth-child(2) {
    width: 40%;
}
.burger.active > span:nth-child(3) {
    width: 0;
    top: 0;
} 
.burger.active > span:nth-child(4) {
    top: 10%;
} 


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

header{
    margin-bottom: 70px;
}

.header_inner {
    display: grid;
    /* 子要素、水平方向の揃えの親要素設定  */
    grid-template-columns: 200px auto;
    justify-content: space-between;
    /*  水平方向の揃えのオプション ( 両端揃い )*/
    height: 100px;
    /* 高さ指定 */
    align-items: center;
    /* heightの垂直中央揃えのオプション  */
}  




/*-----------------------------------------
    nav_menu setting
------------------------------------------*/

.nav{
    z-index: 100;
    position: fixed;
    top: 0;
    left: 100%;
    width: 50%;
    height: 100vh;
    padding-top: 100px;
    background-color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    transition: 0.4s;
}
.nav.drawer{
    left: 50%;
}
.nav ul{
    position: relative;
}
.nav li{
    position: absolute;
    width: 100%;
    top: 0;
    left: 100%;
    transition: 0.4s cubic-bezier(.24,.3,.29,1.3);
}
.nav.drawer li{
    left: 0;
}
.nav li:nth-of-type(1){
    transition-delay: 0.06s;
    top: 0;
}
.nav li:nth-of-type(2){
    transition-delay: 0.12s;
    top: 60px;
}
.nav li:nth-of-type(3){
    transition-delay: 0.18s;
    top: 120px;
}
.nav li:nth-of-type(4){
    transition-delay: 0.24s;
    top: 180px;
}
.nav li:nth-of-type(5){
    transition-delay: 0.3s;
    top: 240px;
}

.nav li a {
    display: block;
    /* インライン要素のa タグをブロック要素に変換し、幅と高さを取得できるようにする */
    text-align: center;
    /* テキストを中央に整列 */
    font-family: "Cormorant Garamond", serif;
    padding: 20px 0;
    color: #fff;
    font-size: 20px;
    transition: 0.4s;
    
}   
.nav li a:hover {
    background-color: #555;
    color: #eee;
}



/*-----------------------------------------
    main_image img setting
------------------------------------------*/
.main_image {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slideimg {
  position: absolute;
  inset: 0;/*親要素内にフルサイズで配置*/
  opacity: 0;
  background-size: cover;/* 画像をスライド全体にカバー */
  animation: slideAnime 12s infinite; /* 15秒で1サイクル */
}

@keyframes slideAnime {
  0%, 40%, 100% { opacity: 0; }/* スライドの非表示タイミング */
  15%, 25% { opacity: 1; }/* スライドの表示タイミング */
}

/* 各スライドのアニメーションタイミングを均等にずらす */
.slideimg:nth-of-type(1){
  background-image: url(../img/hero_img_01.png);
  animation-delay: 0s;
  background-position:100%;
}

.slideimg:nth-of-type(2) {
  background-image: url(../img/hero_img_02.png);
  animation-delay: 3s;
  background-position:10%;
}

.slideimg:nth-of-type(3) {
  background-image: url(../img/hero_img_03.png);
  animation-delay: 6s;
  background-position:0%;
}

.slideimg:nth-of-type(4) {
  background-image: url(../img/hero_img_04.png);
  animation-delay: 9s;
  background-position:60%;
}

/*-----------------------------------------
    header catch setting
------------------------------------------*/


.catch_text{
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    position: absolute;
    width: 80%;
    height: 80px;
    background-color: rgba(238, 238, 238, 0.425);
    border-radius: 10cap;
    text-align: center;
}





.catch_text h2{
    font-family: "Rampart One", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
    line-height: 80px;
    color: #fff;
}


@media (width < 1020px) {

    .catch_text{
        height: 60px;
        background-color: rgba(238, 238, 238, 0.425);
        border-radius: 10cap;
    }

    .catch_text h2{
        font-size: 28px;
        line-height: 60px;
    }



    
}

@media (width < 768px) {

    .catch_text{
        height: 40px;
        background-color: rgba(238, 238, 238, 0.425);
        border-radius: 10cap;
    }

    .catch_text h2{
        font-size: 20px;
        line-height: 40px;
    }
    
    
}

/*-----------------------------------------
    main setting
------------------------------------------*/
main h2{
    border-left: 4px solid #556;
    font-family: "Cormorant Garamond", serif;
    padding: 3px 8px; 
    font-size: 22px;  
    margin-bottom: 20px; 
}
main h3{
    padding: 8px 0 8px 10px ; 
    font-size: 20px;  
    font-family: "Cormorant Garamond", serif;
    /* margin: 10px 0 18px;  */
    
}


/*-----------------------------------------
    section.profile.item setting
------------------------------------------*/

#profile{
    padding: 20px auto;
}


.profile_content{
    margin: 30px auto;
    display: grid;
    grid-gap: 0 40px;
    grid-template-columns: 300px 1fr;
}

.profile_content img{
    width: 300px;
    height: 280px;
    object-fit: cover;
    object-position: center;

}
.profile_content .profile_txt p{
    line-height: 2rem;
    padding: 10px 30px;
}
.profile_content .profile_txt h3{
    font-size: 20px;
    font-weight: 600;
}

.profile_qualification{
    margin-bottom: 60px;
}

.profile_qualification span{
    font-size: 18px;
}



.profile_qualification li{
    padding-left: 30px;
    font-size: 16px;
}

.profile_t .p_name{
    margin: 20px auto;
    font-size: 20px;
    border-bottom: 2px solid #556;
}


.profile_t ul{
    margin:20px auto;
    padding: 0 20px;
}
.profile_t ul li{
    margin-bottom: 30px;
}
.profile_t ul li span{
    padding-left: 10px;
    font-size: 20px;
    line-height: 2em;
}

.profile_qualification li{
    padding-left: 30px;
    font-size: 18px;
}
@media (width < 798px) {

    .profile_t li span{
        padding-left: 10px;
        font-size: 18px;
        line-height: 2em;
    }
#web li .photo{
    inset: 0;
    margin: auto;
}
}
/*-----------------------------------------
    skill setting
------------------------------------------*/

#skill{
    margin: 20px auto;
    padding: 20px auto;
}

#skill h2{
    margin-bottom: 30px;
}

.profile_skill h3{
    margin: 20px auto;
    font-size: 24px;
    font-weight: 600;
}

.profile_skill{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.profile_skill.p_skill_box{
    width: 300px;
}


.profile_skill.p_skill_box img{
    width: 100%;
}

.p_skill_text{
    width: 100%;
    height: 300px;
}
.p_skill_img{
    max-width: 300px;
    max-height: 280px;
    overflow: hidden;

}


.p_skill_text p{
    letter-spacing: 0.1em;
    padding-left: 20px;
    font-size: 1.01rem;
    margin: 14px auto;
}



.skill_01{
    
    transform: translate(0,-100px);
    opacity: 0;
    transition: 1.5s;
}

.skill_01.is-show {
    
    transform: translate(0,0);
    opacity: 1;
}


.skill_02{
    transform: translate(0,-200px);
    opacity: 0;
    transition: 3s;
}

.skill_02.is-show {
    
    transform: translate(0,0);
    opacity: 1;
}


.skill_03{
    transform: translate(0,-300px);
    opacity: 0;
    transition: 4.5s;
}

.skill_03.is-show {
    
    transform: translate(0,0);
    opacity: 1;
}

@media (width < 798px) {

    .skill_01{
    
        transform: translate(-100px,0);
        opacity: 0;
        transition: 1.5s;
    }

    
    
    .skill_02{
        transform: translate(-100px,0);
        opacity: 0;
        transition: 2.5s;
    }

    
    
    .skill_03{
        transform: translate(-100px,0);
        opacity: 0;
        transition: 2.5s;
    }
    

    
}


/*-----------------------------------------
    section.item setting
------------------------------------------*/

section.item{
    margin-bottom: 150px;
    /* 次の下のブロックに余白を設定 */
    padding-top: 30px;
}
section.web.item ul{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px, 1fr));
    grid-gap: 40px;
}
section.item ul{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px, 1fr));
    grid-gap: 40px 30px;
}

section.original ul{
    margin-bottom: 100px;
 }

section.web.item ul li p.photo{
    /* sectionにwebと、item両方クラスがついている p.photoの比率を、16/9に設定 */
    aspect-ratio: 16/9;
    margin-bottom: 5px;
}


section.web h2{
    margin-top: 30px;
}


section.item ul li p.photo{
    aspect-ratio: 10/7;
    margin-bottom: 5px;
}

section.item ul li img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
    /* filter: grayscale(100%) ; */

}

section.item ul li img:hover{
    /* filter: grayscale(0%) ; */
    transform: translate(4px, 4px)
}


section.item ul.list{
    display: block;
    /* 親要素のulで設定されているgridを無効にして、gapを打ち消す */
    list-style: disc;
}
section.item ul.list>li{
    line-height: 1.3;
    margin-left: 30px;
    letter-spacing: 0.05em;
    padding-bottom: 8px;
}
section.item .text{
    line-height: 1.5;
    /* 一番読みやすい行間は、line-heightの、1.5～2の間とされてる */
    letter-spacing: 0.05em;
    /* 一番読みやすい文字間は、letter-spacingの、0.05em～0.08emの間とされてる */
    padding: 5px 9px 10px;
    /* 内側の余白の調整 */
}
section.item .cp_embed_wrapper{
    margin-bottom: 100px;
}



.item .list,
.item .text{
    padding-left:20px ;
}
.item h3{
    font-size: 1.2rem;
    margin: 20px auto 0px;
}



/*-----------------------------------------
    banner setting
------------------------------------------*/
#banner ul li img,
#banner_lesson ul li img{
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.6);
}
#banner ul li img:hover,
#banner_lesson ul li img:hover{
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0);
}
/*-----------------------------------------
    icon setting
------------------------------------------*/


#icon img{
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.6);
}

#icon img:hover{
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0);
}
/*-----------------------------------------
    pattern setting
------------------------------------------*/


#pattern img{
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.6);
}

#pattern img:hover{
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0);
}

/*-----------------------------------------
    footer setting
------------------------------------------*/

footer{
    background-color: #ccc;
}
.footer_inner h3{
    padding: 80px 0 80px 20px;
    font-size: 20px;
}


/*-----------------------------------------
    toTop setting
------------------------------------------*/

.toTop{
    display: block;;
    position: fixed;
    right: 2%;
    bottom: -100px;
    width: 50px;
    height: 50px;
    background-color: #444;
    text-align: center;
    line-height: 50px;
    font-size: 14px;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: .4s cubic-bezier(.24,.3,.29,1.3);
}

.toTop.up{
    bottom: 50px;
}


@media (max-width:768px) {

/*-----------------------------------------
   html - responsive setting   
-----------------------------------------*/
html{
    scroll-behavior: auto;
    /* スマホの場合のページ内移動のアニメーションを無効 */
}    


/*-----------------------------------------
    burger responsive menu setting
------------------------------------------*/

    .burger {
        
        z-index: 1200;
        width: 60px;
        top:10px;
        right: 20px; 
      } 

/*-----------------------------------------
    header responsive setting
------------------------------------------*/      

    .header_inner {
        display: block;
        height: auto;
    }
    .logo h1 a {
        display: block;
        width: 230px;
        padding: 20px 0;
        margin: 0 auto;

    }  
    .sns{
        margin-bottom: 10px;
    } 
    
 /*-----------------------------------------
    section.profile.item responsive setting
------------------------------------------*/
.profile_content{
    display: block;

}

.profile_content img{
    width: 100%;
    height: 100%;
    margin-bottom: 50px;

}


/*-----------------------------------------
    nav_menu responsive setting
------------------------------------------*/
    .nav{
        width: 100%;

    }
    .nav.drawer{
        left: 0;
    }
}/* media end */

/*-----------------------------------------
    fadeIn setting
------------------------------------------*/

.fadeIn {
    transform: translate(0,300px);
    opacity: 0;
    transition: 1s;
  }
  .fadeIn.is-show {
    
    transform: translate(0,0);
    opacity: 1;
  }



  
/*-----------------------------------------
    ux_chan setting
------------------------------------------*/

.action_icon::before{
    position: fixed;
    content: '';
    width: 50px;
    height: 50px;
    background-image: url(../img/hero_before_150_150.png);
    background-size: contain;
    vertical-align: middle;

    top:40%;
    right: 18px;
    animation: 4s cAnimeB 1s infinite;
}

.action_icon::after{
    position: fixed;
    content: '';
    width: 50px;
    height: 50px;
    background-image: url(../img/hero_after_150_150.png);
    background-size: contain;
    vertical-align: middle;
    
    top:65%;
    right: 18px;
    animation: 4s cAnimeA 2s infinite;
}


@media (max-width:768px) {

    .action_icon::before{

        width: 30px;
        height: 30px;

    }
    
    .action_icon::after{

        width: 30px;
        height: 30px;

    }
}


@keyframes cAnimeB{
    
    0%{ transform: scale(1,1);}
    10%{transform: scale(1,0.7);}
    20%{transform: scale(1,1);}
    30%{transform: scale(1,0.7);}
    40%{transform: scale(1,1);}
    50%{transform: scale(0.9,0.7);}
    100%{transform: scale(1,1);}
}

@keyframes cAnimeA{

    0%{ transform: scale(1,1);}
    10%{transform: scale(0.7,1);}
    20%{transform: scale(1,1);}
    30%{transform: scale(0.7,1);}
    40%{transform: scale(1,1);}
    50%{transform: scale(0.7,0.9);}
    100%{transform: scale(1,1);}
}