/*  profileページ */


.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 40px;
}

.profile-img{
  text-align: center;
}
.MinaTop-img{
    border: 1px solid #bebebe44; 
}
.profile-img img{
  width: 90%;
  height: auto;
  margin-bottom:25px;
}
.container h1 {/* （name） */
  font-size: 25px;
  margin-bottom: -10px;
  letter-spacing: 0.02em;
  font-weight: normal;
  color: #333;

}
.container h2 {/* （artist / 東京都在住） */
  font-size: 13px;
  font-weight: normal;
  color: #535353;
  padding: 5px 0 30px;
  display: block; 
  margin-bottom: 30px;
}


/* プロフィールの名前とアイコンを横並びに */
.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
}

/* 左側（名前・肩書き） */
.profile-info h1 {
  font-size: 24px;
  margin: 0;
}

.profile-info h2 {
  font-size: 14px;
  font-weight: normal;
  margin: 5px 0 0;
  color: #555;
}

/* 右側（インスタアイコン） */
.social-links a {
  font-size: 30px;   /* アイコンサイズ */
  color: #646464;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bio {
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc; 
}
.bio a{
  text-decoration: none;
}
.bio-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}
.bio-item .year {
  flex: 0 0 70px; /* 年の幅を固定 */
  font-weight: bold;
  color: #333;
  list-style: none;
  font-size: 14px;

}
.bio-item .text {
  flex: 1; /* 残りを文章に使う */
  color: #444;
  font-size: 13px;
  letter-spacing: 0.05em;
  line-height: 1.7;


}
.section-Career{
  font-size: 15px;
  margin: 33px 0 8px;
  /* font-weight: bold; */
  border-left: 1px solid #949494;
  padding-left: 10px;
  color: #333;
}
.portfolio{
    margin: 20px 0 10px;
    font-size: 17px;
}

.Career-list{/* waka適応 */
  font-size: 13px;
}


.portfolio-link {
  display: inline-flex;       /* テキストとアイコンを横並び */
  align-items: center;
  gap: 1px;                   /* テキストとアイコンの余白 */
  color: #727272;
  text-decoration: none;
  transition: color .2s ease;
  
}

.portfolio-link:hover {
  color: #666;
}

.portfolio-link .external-icon {
  width: 20px;
  height: 20px;
  transition: transform .2s ease;
  position: relative;
  top: 0.5em; 
}

/* ホバーでちょっと斜めに動かす */
.portfolio-link:hover .external-icon {
  transform: translate(2px, -2px);
}








.bio-story p {
  margin-bottom: 33px;
  letter-spacing: 0.11em;
  line-height: 1.9;

}
.bio-story {
  padding: 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  position: relative;
}
/* .bio-story::before {
  content: "・・・・・";
  display: block;
  text-align: center;
  font-size: 15px;
  color: #7e7e7e;
  margin: 50px 0;
  letter-spacing: 0.3em
} */
.year-line {
  display: inline-block;
  width: 1px; 
  height: 10px;
  background: #777777;
  margin: 0 20px;
}

.bio-s{
  line-height: 1.3;
}



.section-title {/* 「Works」 */
  font-size: 22px;
  margin: 0px 0 60px;
  font-weight: normal;
  /* border-left: 1px solid #949494; */
  /* padding-left: 10px; */
  text-align: center;
  color: #333;
  letter-spacing: 0.03em
}

.member-works{
  padding: 70px 0 90px;
  background: #ffffff;
}
.member-works ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  padding: 0;
  margin: 20px 0 0;
}
.member-works ul li {
  list-style: none;
  font-size: 12px;

}
.member-works ul li a{
  text-decoration: none;
}
.member-works p{
  text-align: center;
  padding-bottom: -10px;
  color: #333;

}
.member-works ul li p:nth-of-type(1){
  font-weight: 500;
  font-size: 15px;
  padding-bottom: 3px;
  color: #444;

}


.work-img {
  width: 100%;
  overflow: hidden;        /* はみ出した部分を隠す */
  margin-bottom: 15px;
  padding: 0 20px;
  position: relative;
}
.work-img img{
  width: 100%;            /* 横幅いっぱい */
  aspect-ratio: 1 / 1;    /* 正方形に固定 */
  object-fit: cover;  
  object-position: center; /* 表示位置を調整できる */  
  display: block;
  transition: transform 0.4s ease; /* なめらかに拡大 */
}
.fuyume-img img{
  object-position: top;

}

/* 白いオーバーレイ */
.work-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0); /* 初期は透明 */
  transition: background 0.4s ease;
}

.work-img:hover img {
  transform: scale(1.1); /* 拡大 */
}

.work-img:hover::after {
  background: rgba(255, 255, 255, 0.144); /* 薄い白レイヤー */
}


.instagram-section {
  text-align: center;
  padding: 0px 20px;
  background: #f9f8f7;
  padding: 70px 40px 85px;
}

.instagram-section h2 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 30px;
  color: #333;
}

.instagram-section h2 i {
  font-size: 24px;
  margin-bottom: 8px;
}

.insta-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 5px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.insta-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.insta-gallery img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.insta-follow a {
  display: inline-block;
  padding: 8px 35px;
  border: 1px solid #ccc;
  border-radius: 20px;
  color: #333;
  background: #fffefe;  
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.insta-follow a:hover {
  background: #666666;
  color: #fff;
  border-color: #666666;
}

.insta-follow span {
  margin-left: 5px;
}



.contact {
  background: #eee;
  padding: 20px;
  margin-top: 40px;
  text-align: center;
  border-radius: 8px;
}
.contact a {
  display: inline-block;
  margin: 5px;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}
.contact a:hover {
  background: #6d6d6d;
  color: #fff;
}



/* スマホ/縦並び用 */
@media (max-width: 768px) {
  .MemberProfile-img {
    width: 100%;     /* 親要素いっぱい */
    max-width: 350px;/* 必要なら上限サイズを設定 */
    margin: 0 auto;  /* 中央寄せ */
  }

  .profile {
    width: 100%;
    text-align: center; /* テキスト中央寄せ */
    padding: 0px 40px;
  }
}


.subtitle {
    text-align: center;
    font-size: 11px;
    margin-bottom: 60px;
}

/* Moreリンク*/

.text{
  padding-right: 5px;
}
.arrow-animate {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #353535;
  font-weight: 600;
  }
.arrow-animate .line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: #333;
  margin-left: 6px;
  transition: width 0.3s ease;
  
}
.arrow-animate .arrow {
  display: inline-block;
  margin-left: -1px;
  border: solid #333;
  border-width: 0 1px 1px 0;
  padding: 3px;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
  margin-top: 2px;
  
}

.profile-list{
  padding: 85px 0 90px;
  background: #ffffff;
}
.profile-list-sub{
  padding-bottom: 15px;
}
.sub{
  margin-bottom: 60px;
}

.profile{
    width: 100%;
    overflow: hidden;

}
.profile a{
    display: block;
    transition: all .3s ease-in-out;
}
.profile img{
    width: 100%;
    aspect-ratio: 1 / 1; 
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile a:hover{
    transform: scale(1.1);
    opacity: .8;
}
.profile-wrapper{
    width: 100%;
    overflow: hidden;
    text-align: center;
    font-size: 14px;
}

.profile-sub{
  margin-bottom: 50px;
}
.profile-wrapper p{
  margin-top: 13px;
  font-size: 16px;
}



/* 第一回参加者メンバーを見るボタン */
.button {
  display: inline-block;
  padding: 8px 28px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 20px; /* 丸み */
  color: #333;  
  border: 1px solid #acacac;
}
.site-footer{
  margin-top: 0px;
}
.button-wrapper {
  text-align: center; /* 中央寄せ */
  margin: 60px 0 70px;
}








.portfolio-links {
  align-items: center;    /* 横方向の中央揃え */
  margin: 45px 25px 75px;
  border-bottom: 1px solid #ccc;
}

.portfolio-box {
  width: 90%;
  max-width: 400px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 7px; /* 丸みを強調して親しみやすく */
  color: #4d4d4d;
  background: linear-gradient(135deg, #e2e2e2, #eeeeeed5); /* 柔らかいピンクグラデーション */
  text-decoration: none;
  text-align: center;
  transition: all 0.4s ease;
  display: inline-block;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #cccccc;
}

/* ホバー時の効果 */
.portfolio-box:hover {
  transform: translateY(-2px); /* 少し浮かせる */
  background: linear-gradient(135deg, #c5c5c5, #c5c5c5); /* 少し明るく */
}

/* 押した瞬間の効果 */
.portfolio-box:active {
  transform: translateY(0);
}
.portfolio-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.arrow-icon {
  display: inline-block;
  width: 7px;   /* 矢印の大きさ */
  height: 7px;
  border-top: 1px solid #868686;   /* 細い線 */
  border-right: 1px solid #868686;
  transform: rotate(45deg);     /* 斜めで矢印っぽくする */
  margin-left: 6px;             /* 文字と矢印の余白 */
  transition: transform 0.3s ease, margin-left 0.4s ease;
}
.instagram-sub{
  padding:0px 40px 85px;
}