@charset "utf-8";


/* ========================================
	ヘッダー
========================================= */
header {
.main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    h1 img{
        margin-top:15px ;
    }
    }
.pc-menu {
    ul {
    display: flex;
    margin-top: 15px;
    } 
    li {
        margin-left: 35px;
    }
    a{
    font-size: 18px;
    font-weight: 550;
    text-decoration: none;
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    position: relative; /*アンダーラインの位置を決めるための基準 */
    &:hover {
       color: #808080;
       
       
    }
    }
    a::after {
    position: absolute;
    left: 0;
    content: '';
        width: 100%;
        height: 3px;
        background: #808080;
        bottom: -3px;               /*アンダーラインがaタグの下端から現れる*/
        transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
        transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
        transition: transform 0.5s; /*変形の時間*/
        }
        a:hover::after {
        transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
        }
    }
      .memo {
	display: none;
	position: absolute;
	width: 250px;
	top: 25px;
	left: -20px;
    font-size: 13px;
    
   
}
.memo_link {
	display: inline-block;
}
.memo_link:hover {
	position:relative;
	text-decoration:none;
}
.memo_link:hover .memo {
	display: block;
	color: #666;
	padding: 5px;
}
    }


/* ハンバーガーメニュー */
#nav-toggle {
    position: fixed;
    top: 25px;
    right: 20px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    > div {
    position: relative;
    width: 30px;
    }
    span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #333;
    position: absolute;
    transition: transform .6s ease-in-out, top .5s ease;
    &:nth-child(1) {
    top: 0;
    }
    &:nth-child(2) {
        top: 10px;
    }
    &:nth-child(3) {
        top: 20px;
    }
    }
}
.open {
    #nav-toggle span {
    background: #333;
    &:nth-child(1) {
        top: 7px;
        transform: rotate(45deg);
    }
    &:nth-child(2) {
        top: 14px;
        width: 0;
        left: 50%;
    }
    &:nth-child(3) {
        top: 7px;
        transform: rotate(-45deg);
    }
    }
}

#gloval-nav {
    background-color: rgba(255,255,255,0.85);
    position: fixed;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    padding-bottom: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translatex(100%);
    transition: opacity .6s ease, visibility .6s ease;
}
#gloval-nav {
  
  a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    padding: 40px;
    transition: color .6s ease;
    &:hover {
        color: #ff0000;
        
    }
  }
}
/* open */
.open {
  overflow: hidden;
  
  #gloval-nav {
    visibility: visible;
    transform: translatey(0);
    transition: transform .6s;
  }
  #gloval-nav li {
    opacity: 1;
    transform: translateX(0);
    transition:  transform 1s ease, opacity .9s ease;
  }
  
}

/* z-index */
#nav-toggle {
    z-index: 100;
}
#gloval-nav {
    z-index: 10;
}




/* 画面サイズが960px以下の時はPC用メニューは非表示 */
@media screen and (max-width: 960px) {
  .pc-menu {
  display: none;
  }

  }
/* 画面サイズが960px以上の時はスマホ用メニューは非表示 */
@media screen and (min-width: 960px) {
  .sp-menu {
      display: none;
  }
  }




/* ========================================
	メイン画像
========================================= */
.top{
    position: relative;
    padding-top: 10px;
    padding-bottom: 50px;
    border-bottom: #333333 solid 3px;
    h2{
        position: absolute;
        top: 20px;
        margin-left: 25px;
        font-size: clamp(0.6rem, 4vw, 3rem);
        font-family: "Yusei Magic", sans-serif;
        font-weight: 50;
        font-style: normal;
        span {
            background:linear-gradient(transparent 80%, #FFFF00 20px);
            }
    }
    p{
    text-align: center;
    margin-top: 10px;
    }
}
/* ========================================
	works
========================================= */
.works{
    background-image: url(/images/bg1.jpg);
    background-repeat: repeat;
    padding-top: 50px;
    padding-bottom: 80px;
}
h3{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.pac{
    margin-top: 0px;
        span{
        font-size: 13px;
        }
}


.items{
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
   
}
.items1{
    margin: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    gap: 20px;
    }
.items2{
    margin-top: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    }
.item1{
    width: 620px;
    height: auto;
    margin-bottom: 30px;
    p{
        padding: 20px;
        span{
            font-size: 17px;
            font-weight: 600;
        }
    }
    .img{
        width: 100%;
    }
}


.ac{
    text-align: right;
    margin-top: -20px;
}
.w1{
    max-width: 600px;
    margin: -20px auto 40px;
}




/* ========================================
	about
========================================= */
.about{
    background: #f2f2f2;
    padding-top: 50px;
    padding-bottom: 50px;
.items-2{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.myh{
    background: white;
    border: #333 solid 1px;
    margin-top: 50px;
    
}

.about-box{
    width: 580px;
    table{
    width: 100%;
    th{
        width:30%;
    }
    td,th{
    padding: 10px 0px;
    text-align: left; 
    border-bottom: #999 solid 0.2px;
    }
    font-size: 14px;
    span{
    font-weight: bold;
    font-size: 15px;
    }
    td{
    margin-left: 10px;
    }
    }
}
.items-3{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    gap: 10px;
}
.about-box1 {
    padding: 15px 30px;
        
}
.profile {
    max-width: 160px;
    border-bottom: #333 solid 1px;

}}



/* ========================================
	contact
========================================= */
.contact{
    background: #f2f2f2;
    padding-top: 50px;
    padding-bottom: 50px;
    .con {
    max-width: 860px;
     margin: 40px auto ;
        }
}
.form{
    max-width: 700px;
    border-radius: 10px;
    align-items: center;
    height: 50px;
    margin: 50px auto ;
    text-align: center;
    line-height: 3;
    background: #333;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 2px 2px 4px gray;
    
    a{
        color: white;
        text-decoration: none;
    }
}
.con1{
    max-width: 880px;
    margin: 0 auto;
    padding: 20px 30px;
    margin-bottom: 50px;
    p{
        font-size: 13px;
        color: #666;
        margin-bottom: 20px;
    }
}

/* ========================================
	others
========================================= */

.others{
    background-image: url(/images/bg2.jpg);
    background-repeat: repeat;
   }
.otersitems{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
}
.otersitems{
    img{
        max-width: 300px;
        border-radius: 10px;
        box-shadow: 1px 1px 1px gray;
    }
}

/* ========================================
	@media screen and 
========================================= */
/* メディアクエリ*/
@media screen and (max-width:960px){
    .items{
        flex-direction: column;
        align-items: center;
    }
    .items2{
        flex-direction: column;
        align-items: center;}

    .works{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    h3{
    margin-top: 30px;
    margin-bottom: 20px;
}

}



@media screen and (max-width: 768px){
.works{
    padding-top: 20px;
    padding-bottom: 20px;
}

.contact{
    padding-top: 20px;
    padding-bottom: 10px;
}
.form{
    margin: 20px auto ;
}
.con1{
    margin-bottom: 0px;
   }
   
.otersitems{
    gap: 10px;
    padding-top: 40px;
    padding-bottom: 30px;
    }
}


/* ========================================
	footer
========================================= */
footer{
    height: 30px;
    max-width: auto;
    background-color: #333333;
    text-align: center;
    color: white;
    p{
        padding: 15px;
    }
}






/*フワっとアニメーション*/
.fade-in{
    opacity: 0;
    transition-duration: 1200ms;
    transition-property: opacity, transform;
}
.fade-top{
    transform: translate(0,-50px);
}
.fade-bottom{
    transform: translate(0,50px);
}
.fade-left{
    transform: translate(-500px,0);
}
.fade-right{
    transform: translate(200px,0);
}
.fade-in-active{
    opacity: 1;
    transform: translate(0, 0);
}    
.scroll-in{
    opacity: 1;
    transform: translate(0, 0);
}


/*スライダー*/
.slider{
    width: 75%;
    margin: 40px auto;
    padding-left: 10px;
}
.slider img{
    width: 100%;
}
.slick-prev,
.slick-next{
    z-index: 100;
}
.slick-prev:before,
.slick-next:before
{
    font-family: 'slick';
    font-size: 22px;
    line-height: 1;

    opacity: 1;
    color: #333;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ========================================
	footer
========================================= */
footer{
    height: 60px;
    max-width: auto;
    background-color: #333333;
    text-align: center;
    color: white;
    
    p{
        padding: 15px;
    }
}
