/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  padding-top: 80px;
  background: linear-gradient(
    120deg,
    var(--bg-color) 60%,
    var(--fresh-green) 60%
  );
  gap: 20px;
}
.hero-text {
  width: 45%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-text h1 {
  font-size: clamp(3rem, 13vw, 10rem);
  line-height: 1;
  margin: 0;
  color: var(--edamame-green);
  font-style: italic;
  text-shadow:
    0.04em 0.04em 0px var(--white),
    0.07em 0.07em 0px rgba(47, 79, 47, 0.2);
  white-space: nowrap;
}
.jp-name {
  font-size: clamp(1rem, 4.8vw, 3.3rem);
  margin-top: 15px;
  font-weight: bold;
  color: var(--text-color);
  font-family: "Oswald", sans-serif;
  white-space: nowrap;
  font-style: italic;
  text-shadow: 2px 2px 0px var(--white);
  letter-spacing: 0.2em;
  border-top: 2px solid var(--text-color);
  border-bottom: 2px solid var(--text-color);
  padding: 5px 0;
  display: inline-block;
  width: 100%;
}
.hero-image {
  width: 50%;
  height: auto;
  aspect-ratio: 3 / 4;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 8px solid var(--white);
  box-shadow: 15px 15px 0px rgba(143, 195, 31, 0.2);
  max-height: 85vh;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* ▼ 手順2：【ここを追加！】ぶつかりそうな「中くらいの画面」の時だけ小さくする魔法 */
/* css/section.css */

/* ▼ 危険地帯（PCだけど画面が少し狭い時）の緊急回避設定 */
/* 範囲を 1350px → 1450px に広げて、早めに小さくなるようにしました */
@media (min-width: 1025px) and (max-width: 1510px) {
  /* 1. 名前（三丘翔太）をさらに小さく */
  .hero-text h1 {
    font-size: 7vw; /* 8vw から 7vw にダウン */
  }

  /* 2. サブタイトル（OFFICIAL WEB SITE）も小さく */
  .hero-text .jp-name {
    font-size: 3vw; /* 画面幅に合わせてギュッと小さく */
    letter-spacing: 0.1em; /* 文字間隔を詰める */
    display: block; /* ブロック要素にして幅を認識させる */
    width: auto; /* 幅をなりゆきにする */
  }

  /* 3. ライン（装飾線）を短く */
  /* ※ラインが .hero-text の after要素で作られていると仮定しています */
  .hero-text::after {
    width: 60px; /* ラインの長さを強制的に短くする */
    margin-top: 15px; /* 写真との距離調整 */
  }
}
/* --- PROFILE --- */
#profile {
  padding: 100px 10%;
  background-color: var(--white);
  background-image: radial-gradient(var(--fresh-green) 1px, transparent 1px);
  background-size: 20px 20px;
}
.profile-card {
  background-color: var(--bg-color);
  border: 4px solid var(--text-color);
  padding: 50px;
  box-shadow: 15px 15px 0px var(--fresh-green);
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
/* 外側の箱 */
.profile-pic {
  width: 100%; /* 親要素（画面）いっぱいまで広げる */
  max-width: 600px; /* ただし、最大でも600pxくらいで止める（PCでデカくなりすぎ防止） */
  margin: 0 auto; /* 中央揃え */
  overflow: hidden; /* 万が一はみ出したら隠す（保険） */
}

/* 中の写真 */
.profile-pic img {
  width: 100%; /* 箱の幅にピタッと合わせる！ */
  height: auto; /* 高さは自動で調整（比率を崩さない） */
  display: block; /* 画像の下に謎の隙間ができるのを防ぐ */
  border-radius: 10px; /* 角を少し丸くする（お好みで） */
}
.profile-content {
  width: 60%;
}
.profile-content h3 {
  font-size: 2rem;
  margin-top: 0;
  border-bottom: 2px dashed var(--edamame-green);
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: var(--text-color);
}
.profile-data dl {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}
.profile-data dt {
  width: 30%;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--gray-line);
  padding-bottom: 5px;
}
.profile-data dd {
  width: 70%;
  margin: 0;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--gray-line);
  padding-bottom: 5px;
  line-height: 1.6;
}

/* --- SECTIONS (NEWS, SCHEDULE) --- */
#news,
#schedule {
  padding: 100px 15%;
}
#news {
  background-color: var(--bg-color);
}
#schedule {
  background-color: var(--edamame-green);
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
}
#schedule .section-title {
  color: var(--white);
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}
#schedule .btn-view-more {
  border-color: var(--white);
}

/* Schedule Tabs */
.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: visible;
}
.sch-tab {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 8px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sch-tab:hover {
  background-color: var(--edamame-green);
  border-color: var(--white);
  color: var(--white);
}
.sch-tab.active {
  background-color: var(--text-color);
  border-color: var(--white);
  color: var(--white);
}

/* --- DISCOGRAPHY --- */
#discography {
  padding: 100px 10%;
  background-color: var(--bg-color);
  overflow-x: hidden;
}
.disc-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.disc-tab {
  background: transparent;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  padding: 10px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s;
  font-family: "Oswald", sans-serif;
  letter-spacing: 1px;
}
.disc-tab:hover {
  background-color: var(--edamame-green);
  border-color: var(--bg-color);
  color: var(--white);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
}
.disc-tab.active {
  background-color: var(--text-color);
  border-color: var(--bg-color);
  color: var(--white);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
}
.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
}
.disc-item {
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: z-index 0s;
}
.disc-item:hover {
  z-index: 1000;
}
.disc-visual {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.disc-item:hover .disc-visual {
  transform: scale(1.05);
}
.disc-vinyl {
  position: absolute;
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
  background-color: #111;
  border-radius: 50%;
  background: repeating-radial-gradient(#111, #111 10px, #222 11px);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}
.disc-vinyl::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35%;
  height: 35%;
  background-color: var(--edamame-green);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.disc-jacket {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ddd;
  border: 2px solid var(--text-color);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
.disc-item:hover .disc-vinyl {
  transform: translateX(50%) rotate(180deg);
}
.disc-info h4 {
  font-size: 1.1rem;
  margin: 10px 0 5px 0;
  color: var(--text-color);
}
.disc-date {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: bold;
}

/* --- CONTACT --- */
#contact {
  padding: 100px 10%;
  background-color: var(--white);
  border-top: 4px solid var(--edamame-green);
}
.contact-placeholder {
  max-width: 800px;
  margin: 0 auto;
  border: 2px dashed var(--edamame-green);
  background-color: var(--bg-color);
  padding: 60px 20px;
  text-align: center;
  color: #888;
}
.contact-placeholder p {
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color);
}

/* Sections Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding-bottom: 60px;
    gap: 40px;
  }
  .hero-text {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    align-items: center;
  }
  .title-container {
    align-items: center;
  }
  .hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: none;
  }
  .profile-card {
    flex-direction: column;
    padding: 30px;
  }
  .profile-pic,
  .profile-content {
    width: 100%;
  }
  .profile-data dt,
  .profile-data dd {
    width: 100%;
    border-bottom: none;
  }
  .profile-data dt {
    margin-bottom: 0;
    color: var(--text-color);
    margin-top: 15px;
  }
  .profile-data dd {
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--gray-line);
  }
  #news,
  #schedule,
  #discography,
  #contact {
    padding: 60px 5%;
  }
  .schedule-tabs {
    gap: 5px;
    padding: 0 5px;
  }
  .sch-tab {
    padding: 8px 0;
    flex: 1;
    font-size: 0.85rem;
    text-align: center;
    flex-shrink: 1;
    min-width: 0;
  }
  .disc-item:hover .disc-vinyl {
    transform: translateX(30%) rotate(180deg);
  }
}
