/*ハンバーガーボタン*/
/* 初期状態（PC用）：非表示にしておく */
.hamburger {
  display: none;
}

/* SP（スマホ）用：表示にする */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1100;
    width: 30px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
}

.hamburger.active span:nth-child(1){
    transform: translateY(5.5px) rotate(45deg)

}
.hamburger.active span:nth-child(2){
    opacity:0;

}
.hamburger.active span:nth-child(3){
    transform: translateY(-7.5px) rotate(-45deg)

}






.mobile-nav{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:var(--color-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index:1000;

    opacity:0;
    pointer-events:none;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/*上スライド*/
.drawer-top{
    transform: translateY(-100%);
}
.drawer-top.active{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/*右スライド*/
.drawer-right{
    transform: translateY(-100%);
}
.drawer-right.active{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}


.profile-area{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:clamp(10px,3vw,30px);
}

.profile-area .profile-png{
    width:clamp(180px,30%,280px);
    height:clamp(180px,30%,280px);
}


/* ← ナビリンクスよくわからいけど縦並びに変更 */
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column; /* ← 縦並びにする */
  align-items: center; /* ← 左寄せにする場合。centerにすれば中央寄せ */
  gap: clamp; /* 項目の間隔（お好みで） */
}

.nav-links li {
  margin: -40px;
  margin-top: 20px; 
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text); /* 適宜カラーを調整 */
  font-size: 18px;
}



.social-links-area{
    display: flex;
    justify-content: center;  /* 中央揃え */
    margin-top: 150px;          /* 少し下げる（数値は調整可） */
}


.social-links{
    display: flex;
    gap:clamp(10px,1.5vw,15px)
}

/* SNS汎用アイコン用 */

.sns-icon{
    width:40px;
    height:40px;
    border-radius :50%;
    display: inline-block;
    background-size: 60% auto;
    background-position: center;
    background-repeat: no-repeat;
    transition: taransform 0.3s ease;
}

.sns-icon:hover{
    transform: scale(1.2);
}

/* SNS画像 */
.sns-icon.twitter{
    background-image: url(../images/icon/twitter-icon.png);
}

.sns-icon.instagram{
    background-image: url(../images/icon/instagram-icon.png);
}

.sns-icon.line{
    background-image: url(../images/icon/lineicon.png);
}

 /* ワークカード */

.work-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 均等に配置 */
  gap: clamp(20px, 3vw, 30px);
  max-width: 1200px; /* 中央寄せ＆横幅制限 */
  margin: 0 auto;
  padding: 0 20px; /* 両端の余白 */
}





.work-card {
  position: relative; /* ← 追加 */
  width: clamp(280px, 32%, 360px);
  background-color: var(--color-base);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vw, 15px);
  transition: transform 0.3s ease,box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .work-cards {
    justify-content: center; /* 中央寄せに変更（1カラムなので） */
  }

  .work-card {
    width: 90%;
    max-width: 480px; /* お好みで調整（必要なら） */
  }
}



.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.work-card-image-area{
  transform: transform 0.4s ease;
}


.work-card:hover .work-card-image-area{
  transform: scale(1.05);  
}


.work-card img {
  width: 130%;
}


.work-card h3{
    margin-top: 20px;    /* 上の余白 */
    font-size: 1.rem; /* 約16px */
}




.work-card p{
  font-size: 1rem;
  line-height: 1.4;
      padding: 0 25px 0px;
    text-align: left;
  margin-bottom: 25px;    /* 下に15pxの余白を追加 */



}




.work-card .work-card-number-area {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color:rgba(255, 255, 255, 0); /* 完全に透明 */
  color: rgba(255, 255, 255, 0); /* 完全に透明 */
  width: clamp(50px, 7vw, 80px);
  height: clamp(50px, 7vw, 80px); /* 高さも円にするなら必要 */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}



/* プロフィール全体の背景と余白 */
.profile {
  background-color: #f5f5f5;
  padding: 60px 0;
  width: 100%;
}

/* 中央寄せコンテナ */
.profile .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* プロフィールカード全体 */
.profile-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  background-color: var(--color-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: clamp(20px, 4vw, 40px);
}

/* 左：画像部分 */
.profile-image-area {
  flex: 0 0 30%;
  max-width: 300px;
  text-align: center;
  margin: 0 auto;
}

/* 画像スタイル（PC向け） */
.profile-image-area img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 0 auto;
}

/* テキストエリア（右） */
.profile-content-area {
  flex: 1;
  min-width: 260px;
}

/* テキストタイトル */
.profile-name {
  font-size: clamp(14px, 4vw, 24px);
  text-align: center;
}

/* スマホ（600px以下） */
@media (max-width: 600px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-image-area {
    max-width: 100%;
    padding: 0 20px;
  }

  .profile-image-area img {
    width: auto;
    max-width: 150px;
    height: auto;
    margin: 10px auto 0;
    display: inline-block;
  }

  .profile-content-area {
    padding-top: 20px;
    text-align: left; /* スマホでも読みやすく左揃え */
    width: 100%;
  }

  h3.profile-name {
    font-size: 1.2rem;
  }
}

/* タブレット（601px〜1024px） */
@media (min-width: 601px) and (max-width: 1024px) {
  .profile-image-area img {
    max-width: 220px;
  }
}

/* ソーシャルリンク */
.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ボタン */
.profile-btn {
  display: block;
  text-align: center;
  background-color: var(--color-accent);
  color: var(--color-base);
  width: 100%;
  border-radius: 5px;
  font-weight: 700;
  padding: 10px 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.profile-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}







.contact-description{
    text-align: center;
    margin-bottom:15px;
}

.contact-form{
    display: flex;
    flex-direction: column;
    gap:20px;
    max-width:700px;
    margin-inline:auto ;
    background-color: var(--color-base);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: clamp(20px,4vw,40px);
}

.form-group{
    display: flex;
    flex-direction: column;
}

.form-group label{
    font-weight: 700;
    margin-bottom: 5px;
}

.form-group input,.form-group textarea{

    width:100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
}


.form-group input:focus,
.form-group textarea:focus{
    border:1px solid var(--color-accent);
    outline: none;
    box-shadow: 0 0 5px rgba(16, 255, 43, 0.5);
}




.contact-btn{
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--color-accent);
    color: var(--color-base);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease,transform 0.3s ease;
}

.contact-btn:hover{
opacity:0.9;
transform: translateY(-2px);
}





