/* 基本設定 */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.fade-in {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.8s ease-out, transform 1.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}



body {
  transform-origin: top left; /* 縮小 基準点 */
  background: #003366;
  font-family: sans-serif;
  line-height: 1.6;
  padding-top: 140px;         /* 固定ヘッダー 余白 */
}

/* コンテナ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ヘッダーメニュー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.site-header,
.site-header a {
  font-family: "Agency FB", system-ui, sans-serif;
  color: #104EF4;
}

.logo img {
  height: 66px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}

.main-nav a {
  text-decoration: none;
  font-size: 25px;
  font-weight: bold;
}

/* ヒーロー画像 */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 3;
}

.hero-text {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 80px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  text-shadow:
    3px 3px 0px #000000,
    6px 6px 0px rgba(0,0,0,0.6);
  letter-spacing: 4px;
}

/* About欄 */
.about-full {
  width: 100%;
  padding: 150px 0;
  background: #000000;
  margin-bottom: 0px;
}

.about-full-title.h2 {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 60px;
  font-weight: 900;
  text-align: center;
  color: #fff;
  letter-spacing: 3px;
}

.about-full-title.h3 {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 0%;
  color: #fff;
}

.about-full-title.h4 {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 35px;
  font-weight: 900;
  text-align: left;
  margin: 40px auto 20px;
  max-width: 900px;
  color: #fff;
}

.about-full-title.h5 {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 100px;
  color: #fff;
}

.about-full-text {
  font-family: "Noto Sans JP", sans-serif;
  max-width: 900px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 3.0;
  color: #fff;
  text-align: left;
}


  /* スマホ */
@media screen and (max-width: 768px) {

  /* 全体の文字サイズ */
  body {
    font-size: 16px;
    padding-top: 100px;
  }

  /* ヒーローのタイトル */
  .hero-title {
    font-size: 80px;
    line-height: 1.2;
  }

  /* About タイトル */
  .about-full-title.h2 {
    font-size: 45px;
  }

  .about-full-title.h3 {
    font-size: 50px;
  }

  .about-full-title.h4 {
    font-size: 30px;
  }

  /* about 本文 */
  .about-full-text {
    font-size: 16px;
    line-height: 2.2;
  }

  /* ナビゲーション */
  .main-nav ul {
    gap: 12px;
  }

  .main-nav a {
    font-size: 14px;
  }
}

 /* pc */
@media screen and (min-width: 769px) {

   /* 全体の文字サイズ */
  body {
    font-size: 18px;
  }

  .hero-title {
    font-size: 80px;
  }

  .about-full-title.h2 {
    font-size: 55px;
  }

  .about-full-title.h3 {
    font-size: 32px;
  }

  .about-full-title.h4 {
    font-size: 35px;
  }

  .about-full-text {
    font-size: 20px;
    line-height: 3.0;
  }

 /* チームカード */

/* TEAM セクション背景 */
.team {
  background: #fff;
  padding: 80px 0;
}

/* TEAM 見出し */
.team h2 {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 55px;
  font-weight: 900;
  text-align: center;
  color: #000;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

/* 3列レイアウト */
@media screen and (min-width: 769px) {
  .team-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
}


/* カードの箱 */
.team-item {
  width: 32%;
  text-align: center;
}

/* カード画像 */
.team-card {
  width: 100%;
  aspect-ratio: 3/4;
  display: block;
  overflow: hidden;
}

/* ホバー */
.team-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
}

.team-card:hover {
  transform: translateY(-20px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 0 40px var(--team-color),
    0 0 20px var(--team-color);
}

/* カード内余白 */
.team-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding-top: 30px;
  padding-bottom: 250px; 
  display: block;
}

/* SNS */
.team-sns {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.sns-icon {
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}

/* Instagram アイコン */
.sns-icon.instagram {
  background-image: url("instagram-icon.png");
}

}