@charset "UTF-8";

h2 {
    font-family: 'Neue Haas Grotesk Text Pro', sans-serif;
}

header {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo {
    padding-top: 40px;
    padding-left: 50px;
    margin-left: 150px;
    width: 400px;
    height: auto;
}

.triangle {
    font-size: larger;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.about,
.works,
.contact {
  width: 60%;
  margin: 80px auto; /* 中央寄せ */
  box-sizing: border-box; /* パディング・ボーダー込みで幅を計算 */
}

.dotted h2 {
    margin-bottom: 8px; /* お好みで調整 */
  }

.dotted {
    border-bottom: 1px dotted black;
    width: 100%;
    margin-bottom: 20px
  }
  
  .profile-box {
    display: flex;
    align-items: flex-start; /* 上端を揃える */
    gap: 20px;
    flex-wrap: wrap;
  }
  
  /* 丸く切り抜いた画像 */
  .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center; /* 必要に応じて top に変えてもOK */
    flex-shrink: 0;
  }
  
  /* テキスト側 */
  .profile-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .profile-text h4 {
    margin: 0 0 8px
  }
 
  .profile-text p {
    margin: 0;
  }
  
.works-box {
    display: flex;      /* 横並びにする */
    justify-content: space-between; /* 画像間の間隔を均等に */
    gap: 10px;          /* 画像の間に少し隙間を作る（お好みで調整） */
  }

  .works-box figure {
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .works-box img {
    width: 100%;
    height: auto;    /* アスペクト比を保つ */
    object-fit: cover; /* 必要に応じて画像の切り抜きを調整 */
    display: block;
  }

  .caption-center {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
  }

  .img-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
  }
  
  .img-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: filter 0.3s ease;
  }
  
  /* ホバー時に画像を暗く */
  .img-link:hover img {
    filter: brightness(60%);
  }

  .andmore_link {
    text-align: center;
    margin-top: 30px;
  }

  .andmore_link a {
    display: inline-block;
    padding: 5px 50px;
    background-color: #000;        /* 黒い背景 */
    color: #fff;                   /* 白い文字 */
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  /* ホバーで弾むようなアニメーション */
  .andmore_link a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .sns p {
    font-size: 13px;
    margin-top: 5px;
  }

  footer {
    background-color: #000; /* 黒背景 */
    padding: 100px 0;         /* 上下の余白 */
    color: #fff;             /* 文字色（white） */
  }
  
  .footer {
    text-align: center;      /* 中央揃え */
  }
  
  .footer img {
    display: block;
    margin: 0 auto 10px;     /* 中央に配置 + 下に余白 */
    max-width: 200px;        /* 画像サイズは任意で調整 */
    height: auto;
  }
  
  .footer small {
    display: block;
    font-size: 0.8rem;
    color: #ccc; 
    margin-top: 15px;          
  }