@charset "utf-8";
/*===========================
add
===========================*/

.philosophy-text {
  margin: 20px 0;
  text-align: center;
  font-size: 28px;
  line-height: 2;
  letter-spacing: 2px;
  font-weight: 500;
  color: #222;
}

/* 行ごと */
.philosophy-text span {
  display: inline-block;
  opacity: 0.7;
  transition: 0.4s;
}

/* 最後強調 */
.philosophy-text .last {
  font-size: 28px;
  font-weight: bold;
  opacity: 1;
}

/* ホバー */
.philosophy-text span:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* スマホ */
@media screen and (max-width: 768px) {
  .philosophy-text {
    font-size: 20px;
    margin: 60px 0;
  }

  .philosophy-text .last {
    font-size: 24px;
  }
}


.bgFirst h2 {
	text-shadow: none;
	color: #FFFFFF;
}

.bgFirst p {
	color: #FFFFFF;
}


/* 全体 */
.works {
  margin: 100px 0;
}

/* タイトル */
.works-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 60px;
}

/* メイン事例 */
.works-main {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

/* 画像 */
.works-main-img {
  flex: 1;
}

.works-main-img img {
  width: 100%;
  border-radius: 10px;
}

/* テキスト */
.works-main-text {
  flex: 1;
}

/*.works-main-text h3 {
  font-size: 20px;
  margin-bottom: 15px;
}*/

.works-main-text p {
  line-height: 1.8;
  color: #555;
}

/* ギャラリー */
.works-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.works-gallery img {
  width: 100%;
  border-radius: 8px;
  transition: 0.3s;
}

/* ホバー */
/*.works-gallery img:hover {
  transform: scale(1.05);
}*/

/* スマホ */
@media screen and (max-width: 768px) {

  .works-main {
    flex-direction: column;
  }

  .works-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-title {
    font-size: 22px;
  }
}

/* 全体 */
.staff-section {
  margin: 100px 0;
}

/* タイトル */
.staff-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.staff-lead {
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.8;
}

/* グループ */
.staff-group {
  /*font-size: 20px;
  margin: 60px 0 20px;
  border-left: 4px solid #1abc9c;
  padding-left: 10px;*/
}

/* グリッド */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  align-items: stretch; /
}

.staff-grid.one {
  grid-template-columns: 250px;
}

/* カード */
.staff-card {
  background: #fff;
  padding: 20px;
  text-align: center;
 border-radius: 10px;
   box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
  transition: 0.3s;
}

/* 画像 */
.staff-card img {
  width: 100%;
  /* border-radius: 8px;
  margin-bottom: 15px; */
}

/* テキスト */
.role {
  font-size: 13px;
  color: #888;
}

.name {
  font-size: 16px;
  font-weight: bold;
}

.sub {
  font-size: 12px;
  color: #777;
}

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

.note {
  font-size: 12px;
  margin-top: 5px;
  color: #1abc9c;
}

/* Coming soon */
.staff-card.coming {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.coming-text {
  font-size: 14px;
  color: #999;
}

/* ホバー */
/*.staff-card:hover {
  transform: translateY(-5px);
}*/

/* スマホ */
@media screen and (max-width: 768px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* カード高さ統一 */
.staff-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 340px;
}

/* 画像サイズ固定（超重要） */
.staff-card img {
   width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Coming Soon調整 */
.staff-card.coming {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;;
  min-height: 340px;
}

.staff-card.coming img {
  object-fit: contain;
}

/* グリッド安定 */
.staff-grid {
  align-items: start;
}

.staff-group {
  margin-top: 80px; /* ←これ増やす */
  clear: both;      /* ←これ超重要 */
}

.staff-grid {
  align-items: stretch;
}

.staff-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

