@charset "UTF-8";
/*-----------------------------------------------------*/
/* PC用 */
/*-----------------------------------------------------*/
@media only screen and (min-width: 1181px) {
.container{
    width: 100%;
    font-family: "Zen Kaku Gothic New", serif;    
    font-optical-sizing: auto;
}

.gnavi{
    font-weight: 600;
}

.gnavi li a img {
    width: 20px;  /* 画像の幅を20pxに */
    height: auto; /* 縦横比を維持 */
}

.insta{
    padding-left: 20px;
}

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/
nav ul{
	position: fixed; /* 画面の左側に固定 */
    left: 0; /* 左端に配置 */
    top: 0; /* 上端に配置 */
    width: 15%; /* ナビゲーションの幅 */
    height: 100vh; /* 画面の高さいっぱいにする */
    background: whitesmoke; /* 背景色 */
    color: black; /* 文字色 */
    padding-top: 20px; /* 上に余白 */
	padding-left: 20px;
    padding-top: 250px;
	list-style: none;
    font-size: 20px;
    position: fixed;
    z-index: 999;
    text-align: center;
 }


/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #000;
	padding:15px;
	transition:all .3s;
}

nav ul li a:hover{
	color: rgb(197, 194, 194);	
}

/*========= レイアウトのためのCSS ===============*/

#container{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#header{
	width:10%;
	background:#f3f3f3;
}

#main-area{
	width:78%;
}

@media screen and (max-width:768px){
#header,
#main-area{
	width:100%;
}	
}

/*==================================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a {
    position: relative;
    display: block;
    text-align: left;
    box-sizing: border-box;
}

.gnavi li a::after {
    content: '';
    position: absolute;
    bottom: 12px; /* 調整可能 */
    left: 25%;
    width: 50%;
    height: 1px;
    background: black;
    transform: translateX(-50%) scale(0, 1);
    transform-origin: center top;
    transition: all .3s;
}

.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: translateX(-50%) scale(1, 1);
}

.insta li a {
    position: relative;
    display: block;
    text-align: left;
    box-sizing: border-box;
}

.insta li a::after{
        content: '';
        position: absolute;
        bottom: 12px; /* 調整可能 */
        left: 25%;
        width: 50%;
        height: 1px;
        background: #00000000;
        transform: translateX(-50%) scale(0, 1);
        transform-origin: center top;
        transition: all .3s;   
}

.insta li.current a::after,
.insta li a:hover::after {
    transform: translateX(-50%) scale(1, 1);
}

.humberger{
    display: none;
}

.text {
    opacity: 0;
    transform: translateX(0px);
    transition: opacity 2s ease-out, transform 2s ease-out;
}

.text.show {
    opacity: 1;
    transform: translateX(50px);
}

.Top{
    width: 100%;
    display: flex;
	padding-top: 50px;
    padding-left: 5%;
}

.Top1 text{
    width: 30%;
}

.Top1 h2{
    font-size: 48px;
    font-weight: 900;
}

.Top2{
    width: 70%;
}

.Top2 h2{
    font-size: 48px;
    padding-top: 10%;
    padding-left: 58%;
    font-weight: 900;
}

.Top2 {
    opacity: 0;
    transform: translateX(50px); /* 右から開始 */
    transition: opacity 2s ease-out 0.4s, transform 2s ease-out 0.4s;
}

.Top2.show {
    opacity: 1;
    transform: translateX(0); /* 元の位置 */
}

.image-container {
	width: 100%;
    display: flex;
    gap: 20px; /* 画像の間隔 */
	margin-top: 60px;
}

.image-container img {
    opacity: 0;
	width: 22%;
    transform: translateY(30px); /* 下から少し持ち上げる */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* 順番に表示させるための遅延 */
.image-container img:nth-child(1) {
    transition-delay: 0.5s;
}

.image-container img:nth-child(2) {
    transition-delay: 0.8s;
}

.image-container img:nth-child(3) {
    transition-delay: 1.1s;
}

.image-container img:nth-child(4) {
    transition-delay: 1.4s;
}

.image-container img.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0; /* 最初は透明 */
    transform: translateY(-20px); /* 上から降りてくる */
    transition: opacity 3s ease-out, transform 3s ease-out;
}

.fade-in.active {
    opacity: 2.5; /* 完全に表示 */
    transform: translateY(0); /* 元の位置に移動 */
}

.messege{
    width: 100%;
    padding-top: 200px;
    padding-bottom: 200px;
    text-align: center;
}

.messege h2{
    font-size: 40px;
}

.messege p{
    font-size: 18px;
    font-weight: 700;
}

.fade-in {
    opacity: 0;  /* 最初は透明 */
    transform: translateX(-50px); /* 左に50pxずらす */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* スクロール時に適用されるクラス */
.scroll-in {
    opacity: 1.5;
    transform: translateX(0); /* 元の位置へ移動 */
}

.Works{
    width: 100%;
    margin: 0 auto;
}

.Works1{
    width: 20%;
    padding-left: 10%;
}

.Works1 h2{
    font-size: 48px;
}

.animated-line {
    width: 0; /* 最初は見えない */
    height: 1px;
    background-color: black;
    margin: 10px 0;
    transition: width 1s ease-out;
}

/* JavaScriptでクラスを追加 */
.line-show {
    width: 80%; /* 伸びる */
    margin-left: 10%;
}

.picture{
    width: 100%;
    padding-left: 10%;
    padding-top: 20px;
}

.picture ul{
    display: flex;
    list-style: none;
    flex-wrap: wrap; /* 画面幅が足りないときに折り返す */
    gap: 30px; /* 要素間の余白 */
}

.picture img{
    width: 280px;
}

.picture li {
    position: relative;
}

.picture li a img {
    transition: transform 0.3s ease-in-out;
}

.picture li a:hover img {
    transform: scale(1.1); 
}

.button-13 a {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #333;
    font-weight: 600;
    display: block;
    position: relative;
    box-sizing: border-box;
    max-width: 250px;
    text-align: center; 
    padding: 4px 16px 4px 0;
    margin: 24px;
    margin-inline: auto;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10%;
  }
  
  .button-13 a::before {
    content: "";
    display: block;
    position: absolute;
    width: 250px;
    height: 1px;
    background: #333;
    bottom: 0;
    transition: all 0.3s;
  }
  
  .button-13 a::after {
    content: "";
    display: block;
    position: absolute;
    width: 30px;
    height: 1px;
    background: #333;
    rotate: 40deg;
    right: -3px;
    bottom: 10px;
    transition: all 0.3s;
  }
  
  .button-13 a:hover::after,
  .button-13 a:hover::before {
    translate: 20px 0;
    transition: all 0.3s;
  }

  .button{
    width: 100%;
    padding-left: 50%;
  }
  
.service{
    width: 100%;
    padding-top: 10%;
    margin: 0 auto;
}

.service1{
    width: 100%;
    padding-left: 10%;
}

.service1 h2{
    font-size: 48px;
}

.service2{
    width: 100%;
    font-weight: 400;
}

.service2 h4{
    font-size: 26px;
    text-align: center;
    padding-top: 50px;
}

.service2 h5{
    font-size: 22px;
    font-weight: 400;
    padding-top: 20px;
    text-align: center;
}

.service2 h6{
    font-size: 30px;
    font-weight: 300;
    text-align: center;
}

.service2 p{
    padding-top: 5px;
    text-align: center;
    font-size: 15px;
}

.service2 h4, 
.service2 h5, 
.service2 h6, 
.service2 p {
    opacity: 0;  /* 初期状態では非表示 */
    transform: translateY(-50px); /* 50px 上からスタート */
    transition: opacity 1.3s ease-out, transform 1.3s ease-out;
}

/* アニメーション発火用のクラス */
.scroll-in {
    opacity: 1 !important;
    transform: translateY(0) !important; /* 元の位置に移動 */
}

.About{
    width: 100%;
    padding-top: 10%;
}

.About1{
    width: 20%;
    padding-left: 10%;
}

.About1 h2{
    font-size: 48px;
}

.profile{
    width: 100%;
    margin-top: 20px;
}

.profile1 {
    width: 30%;
    padding-left: 10%;
    margin-left: 30%;
    text-align: center;
}

.profile1 h2{
    font-size: 24px;
    font-weight: 500;
}

.profile1 h3{
    font-size: 12px;
    color: #999;
}

.profile1 img{
    width: 100%;
    padding-top: 50px;
}

.profile2{
    width: 70%;
    padding-top: 30px;
    margin-left: 15%;
    text-align: center;
}

.profile2 p{
    font-weight: 400;
    line-height: 1.7;
}

.profile2 {
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 2s ease 0.6s, transform 1.5s ease-in-out 0.6s; /* 遅延 0.6s */
}

.profile2.visible {
    opacity: 1; /* 透明度が1になり完全に表示 */
    transform: translateX(0); /* 元の位置に戻る */
}

.skill{
    width: 100%;
    display: flex;
}

.skill1 h2{
    width: 20%;
    padding-left: 10%;
    padding-top: 10%;
    font-size: 48px;
}

.skill2{
    width: 50%;
    margin-top: 90px;
}

.skill2 img{
    width: 440px;
    padding-left: 40%;
}

.skill3{
    width: 50%;
    margin-top: 90px;
}

.skill3 img{
    width: 340px;
    padding-left: 15%;
}

.skill5{
    width: 100%;
    padding-left: 53%;
}

.skill6{
    width: 100%;
    padding-left: 27%;
}

.skill7{
    width: 100%;
    display: flex;
}

.skill8{
    width: 60%;
    padding-top: 20px;
    margin-left: 170px;
    text-align: center;
}

.skill9{
    width: 60%;
    margin-left: 50px;
    padding-top: 20px;
    text-align: center;
}

.skill8, .skill9 {
    opacity: 0;  /* 最初は透明 */
    transform: translateX(-50px); /* 左に50pxずらす */
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

/* スクロール時に適用されるクラス */
.scroll-in {
    opacity: 1;
    transform: translateX(0); /* 元の位置へ移動 */
}

.contact{
    width: 100%;
    padding-top: 10%;
}

.contact1{
    width: 20%;
    padding-left: 10%;
}

.contact1 h2{
    font-size: 48px;
}

.contact2{
    width: 100%;
    padding-top: 5%;
    padding-left: 38%;
}

.contact3 p{
    padding-left: 30%;
    padding-top: 20px;
}

.contact3 p {
    position: relative;
    opacity: 0; /* 最初は透明 */
    transform: translateX(-20%) scale(0.8); /* 初めは少し左にあり、縮んでいる */
    transition: opacity 1s ease, transform 1s ease-out; /* ふんわりしたアニメーション */
    transition-delay: 0.5s; /* アニメーションの開始を0.5秒遅らせる */
}

.contact3 p.visible {
    opacity: 1; /* 完全に表示 */
    transform: translateX(0) scale(1); /* 最終的に元の位置に戻り、サイズも通常に */
}


a.btn-border {
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    text-decoration-line: none;
    padding: 15px 40px;
    display: inline-block;
  }
  
  a.btn-border:hover {
    color: #999;
    text-decoration-line: none;
  }

  .btn-border {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    border: 2px solid #000;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-border:hover {
    transform: scale(1.1); /* ボタンを少し拡大 */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* 影を追加 */
}

  .footer{
    width: 100%;
    padding-top: 5%;
    padding-bottom: 3%;
    padding-left: 44%;
}
}



























/*-----------------------------------------------------*/
/* タブレット用のCSS */
/*-----------------------------------------------------*/
@media only screen and (min-width:600px) and (max-width:1180px) {
    .container{
        width: 100%;
        font-family: "Zen Kaku Gothic New", serif;    
        font-optical-sizing: auto;
    }

    .gnavi{
        font-weight: 600;
    }
    
    .gnavi li a img {
        width: 20px;  /* 画像の幅を20pxに */
        height: auto; /* 縦横比を維持 */
    }
    
    .insta{
        padding-left: 20px;
    }
    
    /*========= ナビゲーションドロップダウンのためのCSS ===============*/
    
    /*==ナビゲーション全体の設定*/
    nav ul{
        position: fixed; /* 画面の左側に固定 */
        left: 0; /* 左端に配置 */
        top: 0; /* 上端に配置 */
        width: 15%; /* ナビゲーションの幅 */
        height: 100vh; /* 画面の高さいっぱいにする */
        background: whitesmoke; /* 背景色 */
        color: black; /* 文字色 */
        padding-top: 20px; /* 上に余白 */
        padding-left: 20px;
        padding-top: 250px;
        list-style: none;
        font-size: 20px;
        position: fixed;
        z-index: 999;
        text-align: center;
     }
    
    /*下の階層のulや矢印の基点にするためliにrelativeを指定*/
    nav ul li{
        position: relative;
    }
    
    /*ナビゲーションのリンク設定*/
    nav ul li a{
        display: block;
        text-decoration: none;
        color: #000;
        padding:15px;
        transition:all .3s;
    }
    
    nav ul li a:hover{
        color: rgb(197, 194, 194);	
    }    

    /*========= レイアウトのためのCSS ===============*/
    
    #container{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    #header{
        width:17%;
        background:#f3f3f3;
    }
    
    #main-area{
        width:78%;
    }
    
    @media screen and (max-width:768px){
    #header,
    #main-area{
        width:100%;
    
    }	
    }
    
    /*==================================================
    　5-3-1 中心から外に線が伸びる（下部）
    ===================================*/
    
    .gnavi li a {
        position: relative;
        display: block;
        text-align: left;
        box-sizing: border-box;
    }
    
    .gnavi li a::after {
        content: '';
        position: absolute;
        bottom: 12px; /* 調整可能 */
        left: 25%;
        width: 50%;
        height: 1px;
        background: black;
        transform: translateX(-50%) scale(0, 1);
        transform-origin: center top;
        transition: all .3s;
    }
    
    .gnavi li.current a::after,
    .gnavi li a:hover::after {
        transform: translateX(-50%) scale(1, 1);
    }
    
    .insta li a {
        position: relative;
        display: block;
        text-align: left;
        box-sizing: border-box;
    }
    
    .insta li a::after{
            content: '';
            position: absolute;
            bottom: 12px; /* 調整可能 */
            left: 25%;
            width: 50%;
            height: 1px;
            background: #00000000;
            transform: translateX(-50%) scale(0, 1);
            transform-origin: center top;
            transition: all .3s;   
    }
    
    .insta li.current a::after,
    .insta li a:hover::after {
        transform: translateX(-50%) scale(1, 1);
    }

    .humberger{
        display: none;
    }    
    
    .text {
        opacity: 0;
        transform: translateX(0px);
        transition: opacity 2s ease-out, transform 2s ease-out;
    }
    
    .text.show {
        opacity: 1;
        transform: translateX(50px);
    }
    
    .Top{
        width: 100%;
        display: flex;
        padding-top: 50px;
        padding-left: 5%;
    }
    
    .Top1 text{
        width: 30%;
    }
    
    .Top1 h2{
        font-size: 48px;
        font-weight: 900;
    }
    
    .Top2{
        width: 80%;
    }
    
    .Top2 h2{
        font-size: 48px;
        padding-top: 10%;
        padding-left: 45%;
        font-weight: 900;
    }
    
    .Top2 {
        opacity: 0;
        transform: translateX(50px); /* 右から開始 */
        transition: opacity 2s ease-out 0.4s, transform 2s ease-out 0.4s;
    }
    
    .Top2.show {
        opacity: 1;
        transform: translateX(0); /* 元の位置 */
    }
    
    .image-container {
        width: 100%;
        display: flex;
        gap: 20px; /* 画像の間隔 */
        margin-top: 60px;
    }
    
    .image-container img {
        opacity: 0;
        width: 22%;
        transform: translateY(30px); /* 下から少し持ち上げる */
        transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    }
    
    /* 順番に表示させるための遅延 */
    .image-container img:nth-child(1) {
        transition-delay: 0.5s;
    }
    
    .image-container img:nth-child(2) {
        transition-delay: 0.8s;
    }
    
    .image-container img:nth-child(3) {
        transition-delay: 1.1s;
    }
    
    .image-container img:nth-child(4) {
        transition-delay: 1.4s;
    }
    
    .image-container img.show {
        opacity: 1;
        transform: translateY(0);
    }
    
    .fade-in {
        opacity: 0; /* 最初は透明 */
        transform: translateY(-20px); /* 上から降りてくる */
        transition: opacity 3s ease-out, transform 3s ease-out;
    }
    
    .fade-in.active {
        opacity: 2.5; /* 完全に表示 */
        transform: translateY(0); /* 元の位置に移動 */
    }
    
    .messege{
        width: 100%;
        padding-top: 150px;
        padding-bottom: 200px;
        text-align: center;
    }
    
    .messege h2{
        font-size: 40px;
    }
    
    .messege p{
        font-size: 18px;
        font-weight: 700;
    }
    
    .fade-in {
        opacity: 0;  /* 最初は透明 */
        transform: translateX(-50px); /* 左に50pxずらす */
        transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    }
    
    /* スクロール時に適用されるクラス */
    .scroll-in {
        opacity: 1.5;
        transform: translateX(0); /* 元の位置へ移動 */
    }
    
    .Works{
        width: 100%;
        margin: 0 auto;
    }
    
    .Works1{
        width: 20%;
        padding-left: 10%;
    }
    
    .Works1 h2{
        font-size: 48px;
    }
    
    .animated-line {
        width: 0; /* 最初は見えない */
        height: 1px;
        background-color: black;
        margin: 10px 0;
        transition: width 1s ease-out;
    }
    
    /* JavaScriptでクラスを追加 */
    .line-show {
        width: 80%; /* 伸びる */
        margin-left: 10%;
    }
    
    .picture{
        width: 100%;
        padding-left: 10%;
        padding-top: 20px;
    }
    
    .picture ul{
        display: flex;
        list-style: none;
        flex-wrap: wrap; /* 画面幅が足りないときに折り返す */
        gap: 10px; /* 要素間の余白 */
    }
    
    .picture img{
        width: 250px;
    }
    
    .picture li {
        position: relative;
    }
    
    .picture li a img {
        transition: transform 0.3s ease-in-out;
    }
    
    .picture li a:hover img {
        transform: scale(1.1); 
    }

    .button-13 a {
        font-size: 14px;
        letter-spacing: 0.1em;
        color: #333;
        font-weight: 600;
        display: block;
        position: relative;
        box-sizing: border-box;
        max-width: 250px;
        text-align: center; 
        padding: 4px 16px 4px 0;
        margin: 24px;
        margin-inline: auto;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s;
        margin-top: 10%;
      }
      
      .button-13 a::before {
        content: "";
        display: block;
        position: absolute;
        width: 250px;
        height: 1px;
        background: #333;
        bottom: 0;
        transition: all 0.3s;
      }
      
      .button-13 a::after {
        content: "";
        display: block;
        position: absolute;
        width: 30px;
        height: 1px;
        background: #333;
        rotate: 40deg;
        right: -3px;
        bottom: 10px;
        transition: all 0.3s;
      }
      
      .button-13 a:hover::after,
      .button-13 a:hover::before {
        translate: 20px 0;
        transition: all 0.3s;
      }
    
      .button{
        width: 100%;
        padding-left: 60%;
      }
    

    .service{
        width: 100%;
        padding-top: 10%;
        margin: 0 auto;
    }
    
    .service1{
        width: 100%;
        padding-left: 10%;
    }
    
    .service1 h2{
        font-size: 48px;
    }
    
    .service2{
        width: 100%;
        font-weight: 400;
    }
    
    .service2 h4{
        font-size: 26px;
        text-align: center;
        padding-top: 50px;
    }
    
    .service2 h5{
        font-size: 22px;
        font-weight: 400;
        padding-top: 20px;
        text-align: center;
    }
    
    .service2 h6{
        font-size: 30px;
        font-weight: 300;
        text-align: center;
    }
    
    .service2 p{
        padding-top: 5px;
        text-align: center;
        font-size: 15px;
    }

    .service2 h4, 
    .service2 h5, 
    .service2 h6, 
    .service2 p {
        opacity: 0;
        transform: translateY(-50px);
        will-change: transform, opacity; /* スマホでもスムーズに動かす */
        transition: opacity 2s ease-out, transform 2s ease-out;
    }
    
    /* アニメーション発火用のクラス */
    .scroll-in {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .About{
        width: 100%;
        padding-top: 20%;
    }
    
    .About1{
        width: 20%;
        padding-left: 10%;
    }
    
    .About1 h2{
        font-size: 48px;
    }
    
    .profile{
        width: 100%;
        margin-top: 20px;
    }
    
    .profile1 {
        width: 30%;
        padding-left: 10%;
        text-align: center;
        margin-left: 30%;
    }
    
    .profile1 h2{
        font-size: 24px;
        font-weight: 500;
    }
    
    .profile1 h3{
        font-size: 12px;
        color: #999;
    }
    
    .profile1 img{
        width: 100%;
        padding-top: 50px;
    }
    
    .profile2{
        width: 60%;
        padding-left: 30px;
        padding-top: 30px;
        margin-left: 20%;
    }
    
    .profile2 p{
        font-weight: 400;
        line-height: 1.7;
    }
        
    .profile2 {
        opacity: 0;
        transform: translateX(-15px);
        transition: opacity 2s ease 0.6s, transform 1.5s ease-in-out 0.6s; /* 遅延 0.6s */
    }
    
    .profile2.visible {
        opacity: 1; /* 透明度が1になり完全に表示 */
        transform: translateX(0); /* 元の位置に戻る */
    }
    
    .skill{
        width: 100%;
        display: flex;
    }
    
    .skill1 h2{
        width: 20%;
        padding-left: 10%;
        padding-top: 20%;
        font-size: 48px;
    }
    
    .skill2{
        width: 50%;
        margin-top: 90px;
    }
    
    .skill2 img{
        width: 440px;
        padding-left: 40%;
    }
    
    .skill3{
        width: 50%;
        margin-top: 90px;
    }
    
    .skill3 img{
        width: 350px;
        padding-left: 15%;
    }
    
    .skill5{
        width: 100%;
        padding-left: 60%;
    }
    
    .skill6{
        width: 100%;
        padding-left: 32%;
        padding-top: 15px;
    }
    
    .skill7{
        width: 100%;
        display: flex;
    }
    
    .skill8{
        width: 60%;
        padding-top: 20px;
        margin-left: 170px;
        text-align: center;
    }
    
    .skill9{
        width: 60%;
        margin-left: 60px;
        padding-top: 20px;
        text-align: center;
    }
    
    .skill8, .skill9 {
        opacity: 0;  /* 最初は透明 */
        transform: translateX(-50px); /* 左に50pxずらす */
        transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
    }
    
    /* スクロール時に適用されるクラス */
    .scroll-in {
        opacity: 1;
        transform: translateX(0); /* 元の位置へ移動 */
    }
    
    .contact{
        width: 100%;
        padding-top: 10%;
    }
    
    .contact1{
        width: 20%;
        padding-left: 10%;
    }
    
    .contact1 h2{
        font-size: 48px;
    }
    
    .contact2{
        width: 100%;
        padding-top: 5%;
        padding-left: 38%;
    }
    
    .contact3 p{
        padding-left: 27%;
        padding-top: 20px;
    }
    
    .contact3 p {
        position: relative;
        opacity: 0; /* 最初は透明 */
        transform: translateX(-20%) scale(0.8); /* 初めは少し左にあり、縮んでいる */
        transition: opacity 1s ease, transform 1s ease-out; /* ふんわりしたアニメーション */
        transition-delay: 0.5s; /* アニメーションの開始を0.5秒遅らせる */
    }
    
    .contact3 p.visible {
        opacity: 1; /* 完全に表示 */
        transform: translateX(0) scale(1); /* 最終的に元の位置に戻り、サイズも通常に */
    }
    
    a.btn-border {
        border: 1px solid #000;
        border-radius: 0;
        background: #fff;
        color: #000;
        text-decoration-line: none;
        padding: 15px 40px;
        display: inline-block;
      }
      
      a.btn-border:hover {
        color: #999;
        text-decoration-line: none;
      }
    
      .btn-border {
        display: inline-block;
        padding: 12px 24px;
        font-size: 16px;
        color: #000;
        text-decoration: none;
        border: 2px solid #000;
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .btn-border:hover {
        transform: scale(1.1); /* ボタンを少し拡大 */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* 影を追加 */
    }
    
      .footer{
        width: 100%;
        padding-top: 5%;
        padding-bottom: 3%;
        padding-left: 44%;
    }
}
    
























/*-----------------------------------------------------*/
/* スマホ用のCSS */
/*-----------------------------------------------------*/
@media only screen and (max-width: 599px) {
    .container{
        width: 90%;
        margin: 0 auto;
        font-family: "Zen Kaku Gothic New", serif;    
        font-optical-sizing: auto;
    }

/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
	z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #999;
    /*丸のスタート位置と形状*/
	transform: scale(0);/*scaleをはじめは0に*/
	right:-50px;
    top:-50px;
    transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
	opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/*リストのレイアウト設定*/
#g-nav li{
	text-align: center; 
	list-style: none;
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}


/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
	top:10px;
	right: 10px;
	z-index: 9999;/*ボタンを最前面に*/
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn.active span {
    opacity: 0;
    transform: scale(0);
}

    .gnavi{
        display: none;
    }
    
    /*==================================================
    　5-3-1 中心から外に線が伸びる（下部）
    ===================================*/
    
    .humberger li a {
        position: relative;
        display: block;
        text-align: left;
        box-sizing: border-box;
    }

    .humberger img{
        width: 25px;
    }
    
    .humberger li a::after {
        content: '';
        position: absolute;
        bottom: 12px; /* 調整可能 */
        left: 25%;
        width: 50%;
        height: 1px;
        background: black;
        transform: translateX(-50%) scale(0, 1);
        transform-origin: center top;
        transition: all .3s;
    }
    
    .humberger li.current a::after,
    .humberger li a:hover::after {
        transform: translateX(-50%) scale(1, 1);
    }
    
    .insta li a {
        position: relative;
        display: block;
        text-align: left;
        box-sizing: border-box;
    }
    
    .insta li a::after{
            content: '';
            position: absolute;
            bottom: 12px; /* 調整可能 */
            left: 25%;
            width: 50%;
            height: 1px;
            background: #00000000;
            transform: translateX(-50%) scale(0, 1);
            transform-origin: center top;
            transition: all .3s;   
    }
    
    .insta li.current a::after,
    .insta li a:hover::after {
        transform: translateX(-50%) scale(1, 1);
    }
    
    .text {
        opacity: 0;
        transform: translateX(0px);
        transition: opacity 2s ease-out, transform 2s ease-out;
    }
    
    .text.show {
        opacity: 1;
        transform: translateX(50px);
    }
    
    .Top{
        width: 100%;
        display: flex;
        padding-top: 50px;
    }
    
    .Top1 text{
        width: 30%;
    }
    
    .Top1 h2{
        font-size: 18px;
        font-weight: 900;
        padding-left: 10px;
    }
    
    .Top2{
        width: 70%;
    }
    
    .Top2 h2{
        font-size: 18px;
        padding-top: 10%;
        padding-left: 50%;
        font-weight: 900;
    }
    
    .Top2 {
        opacity: 0;
        transform: translateX(50px); /* 右から開始 */
        transition: opacity 2s ease-out 0.4s, transform 2s ease-out 0.4s;
    }
    
    .Top2.show {
        opacity: 1;
        transform: translateX(0); /* 元の位置 */
    }
    
    .image-container {
        width: 100%;
        display: flex;
        gap: 5px; /* 画像の間隔 */
        margin-top: 30px;
        margin-left: 9px;
    }

    .image-container img {
        opacity: 0;
        width: 80px;
        transform: translateY(30px); /* 下から少し持ち上げる */
        transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    }
    
    /* 順番に表示させるための遅延 */
    .image-container img:nth-child(1) {
        transition-delay: 0.5s;
    }
    
    .image-container img:nth-child(2) {
        transition-delay: 0.8s;
    }
    
    .image-container img:nth-child(3) {
        transition-delay: 1.1s;
    }
    
    .image-container img:nth-child(4) {
        transition-delay: 1.4s;
    }
    
    .image-container img.show {
        opacity: 1;
        transform: translateY(0);
    }
    
    .fade-in {
        opacity: 0; /* 最初は透明 */
        transform: translateY(-20px); /* 上から降りてくる */
        transition: opacity 3s ease-out, transform 3s ease-out;
    }
    
    .fade-in.active {
        opacity: 2.5; /* 完全に表示 */
        transform: translateY(0); /* 元の位置に移動 */
    }
    
    
    .messege{
        width: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
        text-align: center;
        padding-left: 20px;
    }
    
    .messege h2{
        font-size: 16px;
    }
    
    .messege p{
        font-size: 8px;
        font-weight: 700;
    }
    
    .fade-in {
        opacity: 0;  /* 最初は透明 */
        transform: translateX(-50px); /* 左に50pxずらす */
        transition: opacity 1.5s ease-out 1s, transform 1.5s ease-out 1s;
    }
    
    /* スクロール時に適用されるクラス */
    .scroll-in {
        opacity: 1.5;
        transform: translateX(0); /* 元の位置へ移動 */
    }
    
    .Works{
        width: 100%;
        margin: 0 auto;
    }
    
    .Works1{
        width: 20%;
        padding-left: 10%;
    }
    
    .Works1 h2{
        font-size: 18px;
    }
    
    .animated-line {
        width: 0; /* 最初は見えない */
        height: 1px;
        background-color: black;
        margin: 10px 0;
        transition: width 1.5s ease-out 1.3s;
    }
    
    /* JavaScriptでクラスを追加 */
    .line-show {
        width: 80%; /* 伸びる */
        margin-left: 10%;
    }
    
    .picture{
        width: 100%;
        padding-top: 20px;
        text-align: center;
    }
    
    .picture ul{
        list-style: none;
    }
    
    .picture img{
        width: 200px;
    }
    
    .picture li {
        position: relative;
        margin-top: 20px;
    }
    
    .picture li a img {
        transition: transform 0.3s ease-in-out;
    }
    
    .picture li a:hover img {
        transform: scale(1.1); 
    }

    .button-13 a {
        font-size: 8px;
        letter-spacing: 0.1em;
        color: #333;
        font-weight: 600;
        display: block;
        position: relative;
        box-sizing: border-box;
        max-width: 150px;
        text-align: center; 
        padding: 4px 16px 4px 0;
        margin: 24px;
        margin-inline: auto;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s;
        margin-top: 10%;
      }
      
      .button-13 a::before {
        content: "";
        display: block;
        position: absolute;
        width: 150px;

        height: 1px;
        background: #333;
        bottom: 0;
        transition: all 0.3s;
      }
      
      .button-13 a::after {
        content: "";
        display: block;
        position: absolute;
        width: 30px;
        height: 1px;
        background: #333;
        rotate: 40deg;
        right: -3px;
        bottom: 10px;
        transition: all 0.3s;
      }
      
      .button-13 a:hover::after,
      .button-13 a:hover::before {
        translate: 20px 0;
        transition: all 0.3s;
      }
    
      .button{
        width: 100%;
        padding-left: 3%;
      }
    

    .service{
        width: 100%;
        padding-top: 10%;
        margin: 0 auto;
    }
    
    .service1{
        width: 100%;
        padding-left: 10%;
    }
    
    .service1 h2{
        font-size: 18px;
    }
    
    .service2{
        width: 100%;
        font-weight: 400;
    }
    
    .service2 h4{
        font-size: 16px;
        text-align: center;
        padding-top: 50px;
    }
    
    .service2 h5{
        font-size: 14px;
        font-weight: 400;
        padding-top: 20px;
        text-align: center;
    }
    
    .service2 h6{
        font-size: 18px;
        font-weight: 300;
        text-align: center;
    }
    
    .service2 p{
        padding-top: 5px;
        text-align: center;
        font-size: 8px;
    }
    
    .service2 h4, 
    .service2 h5, 
    .service2 h6, 
    .service2 p {
        opacity: 0;
        transform: translateY(-50px);
        will-change: transform, opacity; /* スマホでもスムーズに動かす */
        transition: opacity 2s ease-out, transform 2s ease-out;
    }
    
    /* アニメーション発火用のクラス */
    .scroll-in {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
        
    .About{
        width: 100%;
        padding-top: 20%;
    }
    
    .About1{
        width: 20%;
        padding-left: 10%;
    }
    
    .About1 h2{
        font-size: 18px;
    }
    
    .profile{
        width: 100%;
        margin-top: 20px;
    }
    
    .profile1{
        width: 80%;
        padding-left: 10%;
    }
    
    .profile1 img{
        width: 40%;
        padding-top: 10px;
        margin-left: 38%;
    }

    .profile1 h2{
        font-size: 14px;
        font-weight: 500;
        padding-left: 47%;
    }

    .profile1 h3{
        font-size: 8px;
        padding-bottom: 15px;
        padding-left: 47%;
        color: #999;
    }
    
    .profile2{
        width: 100%;
        padding-left: 5%;
        text-align: center;
        padding-top: 10px;
        line-height: 1.7;
    }
    
    .profile2 p{
        font-size: 8px;
        font-weight: 400;
    }
    
    .profile2 {
        opacity: 0;
        transform: translateX(-15px);
        transition: opacity 1.5s ease 1.5s, transform 1.5s ease-in-out 1.5s; /* 遅延 0.6s */
    }
    
    .profile2.visible {
        opacity: 1; /* 透明度が1になり完全に表示 */
        transform: translateX(0); /* 元の位置に戻る */
    }
    
    .skill{
        width: 100%;
    }
    
    .skill1{
        width: 20%;
        padding-left: 10%;
        padding-top: 20%;
    }
    
    .skill1 h2{
        font-size: 18px;
    }
    
    .skill2{
        width:  100%;
        margin-top: 10%;
    }
    
    .skill2 img{
        width: 260px;
        padding-left: 110px;
    }
    
    .skill3{
        width: 100%;
        margin-top: 20px;
    }
    
    .skill3 img{
        width: 260px;
        padding-left: 110px;
    }
        
    .skill5 h3{
        width: 100%;
        padding-left: 46%;
        font-size: 12px;
    }
    
    .skill6 h3{
        width: 100%;
        font-size: 12px;
        text-align: center;
    }
    
    .skill7{
        width: 100%;
        font-size: 10px;
    }
    
    .skill8{
        width: 70%;
        margin-left: 60px;
        padding-top: 10px;
        text-align: center;
        font-size: 8px;
    }
    
    .skill9{
        width: 70%;
        margin-left: 60px;
        padding-top: 10px;
        text-align: center;
        font-size: 8px;
    }
    
    .skill8, .skill9 {
        opacity: 0;  /* 最初は透明 */
        transform: translateX(-50px); /* 左に50pxずらす */
        transition: opacity 1.5s ease-out 1.6s, transform 1.5s ease-out 1.6s;
    }
    
    /* スクロール時に適用されるクラス */
    .scroll-in {
        opacity: 1;
        transform: translateX(0); /* 元の位置へ移動 */
    }
    
    .contact{
        width: 100%;
        padding-top: 15%;
    }
    
    .contact1{
        width: 20%;
        padding-left: 10%;
    }
    
    .contact1 h2{
        font-size: 18px;
    }
    
    .contact2{
        width: 100%;
        padding-top: 10%;
        text-align: center;
    }
    
    .contact3 p{
        width: 100%;
        padding-top: 20px;
        font-size: 8px;
        text-align: center;
    } 

    a.btn-border {
        border: 1px solid #000;
        border-radius: 0;
        background: #fff;
        color: #000;
        text-decoration-line: none;
        padding: 8px 20px;
        display: inline-block;
      }
      
      a.btn-border:hover {
        color: #999;
        text-decoration-line: none;
      }
    
      .btn-border {
        display: inline-block;
        padding: 6px 12px;
        font-size: 8px;
        color: #000;
        text-decoration: none;
        border: 2px solid #000;
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .btn-border:hover {
        transform: scale(1.1); /* ボタンを少し拡大 */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* 影を追加 */
    }
    
      .footer{
        width: 100%;
        padding-top: 5%;
        padding-bottom: 3%;
        font-size: 8px;
        text-align: center;
    }    
}

