/*
Theme Name: Junya Portfolio
Author: Junya
Description: Junyaのポートフォリオサイト用テーマです。
Version: 1.0
*/

body {
  font-family: 'Noto Sans JP', sans-serif;
}

a {
  text-decoration: none;
  border: none;
}

.speech-box .hero-text {
  font-size: 50px;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.speech-box .hero-des {
  font-size: 25px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.speech-box .hero-text-2 {
  font-size: 20px;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.hero-img {
  margin-bottom: 30px;
}

.container {
  padding: 0 50px;
}

.navbar-nav .nav-link {
  margin: 0 20px;
}

.zoom-img {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.zoom-img:hover {
  transform: scale(1.05);
}

.thumbnail {
    overflow: hidden;
}

.card {
    overflow: hidden;
}

.speech-box {
  position: relative;
  background-color: #f0f0f0;
  border: 2px solid #333;
  border-radius: 15px;
  padding: 15px;
  width: 100%;
  min-height: 100px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.speech-box.show {
  opacity: 1;
}

/* 吹き出しの三角部分（左下） */
.speech-box::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -20px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.speech-box p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 50px;
  line-height: 1.4;
}


.fade-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-item.active {
  opacity: 1;
  transform: translateY(0);
}

.works-title {
  margin-bottom: 100px;
}



.card-links i,
.custom-links i {
  font-size: 30px;
  margin-right: 10px;
  color: #333;
}


.card-links i:hover,
.custom-links i:hover {
  color: #007bff;
}

.no-thumbnail {
  background-color: #4c4949;
  width: 100%;
  height: 200px;
  /* お好みで調整（サムネイル画像の高さと合わせる） */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
}