/* ベース設定 */
:root {
  /* 添付資料スライドを参考にした色 */
  --main-color: #b2dfdb; /* 淡いミントグリーン */
  --accent-color: #ffab91; /* 優しいサーモンピンク */
  --bg-color: #fafafa; /* ほぼ白に近いグレー */
  --text-color: #455a64; /* 濃いブルーグレー */
  --white: #ffffff;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: transform 0.4s ease; /* 引っ込むアニメーション用 */
}

/* クラス付与で隠す */
header.hide {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  color: var(--text-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }
  nav ul {
    gap: 10px;
    font-size: 0.9rem;
  }
}

/* メインビジュアル */
.hero {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--white) 0%, var(--main-color) 100%);
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

/* コンテンツ共通 */
.content-section {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

h3 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 40px;
  border-bottom: 2px dashed var(--accent-color);
  display: inline-block;
  padding-bottom: 5px;
}

/* プロフィール */
.profile-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: inline-block;
  text-align: left;
  width: 100%;
  max-width: 500px;
}

/* プロフィール修正用 */
dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  margin: 0; /* 追加：余計な隙間を消す */
}

dd {
  margin: 0; /* 重要：これを追加しないとズレます！ */
  padding: 0; /* 追加 */
}

dt {
  font-weight: bold;
  color: var(--accent-color);
}

/* アニメーション用ボタン共通クラス */
.nav-btn,
.card-btn,
.action-btn,
.play-btn {
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* ホバー：ふわっと浮く */
.nav-btn:hover,
.card-btn:hover,
.action-btn:hover,
.play-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(178, 223, 219, 0.6);
}

/* クリック：くるっと回る */
.rotate-anim {
  animation: spin 0.6s ease;
}

@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* グリッドレイアウト（Writing） */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.card-btn {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--main-color);
  color: var(--text-color);
  font-weight: bold;
}

/* 2カラム（Game） */
.split-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.split-box {
  flex: 1;
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  min-width: 250px;
}
.action-btn {
  background: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  margin-top: 15px;
}

/* DTM */
.music-track {
  background: var(--white);
  margin: 10px 0;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.play-btn {
  background: var(--main-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* アートギャラリー */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.art-frame {
  height: 200px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #bbb;
  transition: opacity 0.3s;
}
.art-frame:hover {
  opacity: 0.7;
}

/* フッター */
footer {
  background-color: var(--main-color);
  color: var(--white);
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  font-size: 0.8rem;
}

/* -------------------------------------------
   もっと見るボタン（View More）のデザイン
------------------------------------------- */

/* ボタンを中央寄せにするための箱 */
.more-link-area {
  text-align: center; /* 真ん中に寄せる */
  margin-top: 40px; /* 上のコンテンツとの隙間 */
  margin-bottom: 20px; /* 下との隙間 */
}

/* ボタン本体のデザイン */
.btn-more {
  display: inline-block;
  min-width: 200px; /* ボタンの横幅の最小サイズ */
  padding: 15px 30px; /* ボタンの中の余白（上下 左右） */
  background-color: var(--accent-color); /* ピンク色（共通変数を使用） */
  color: #fff; /* 文字は白 */
  border-radius: 50px; /* まんまるにする */
  text-decoration: none; /* 下線を消す */
  font-weight: bold; /* 文字を太く */
  font-size: 1.1rem; /* 文字サイズ */
  letter-spacing: 0.1em; /* 文字の間隔を少し広げる */
  box-shadow: 0 4px 10px rgba(255, 171, 145, 0.4); /* ふんわりした影 */
  transition: all 0.3s ease; /* 動きをなめらかに */
  position: relative;
}

/* 矢印アイコン（→）をCSSで作って右につける */
.btn-more::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 10px;
  margin-bottom: 2px;
  transition: all 0.3s ease;
}

/* マウスを乗せたときの動き */
.btn-more:hover {
  background-color: var(--main-color); /* ミントグリーンに色変え */
  transform: translateY(-5px); /* ふわっと上に浮く */
  box-shadow: 0 6px 15px rgba(178, 223, 219, 0.6); /* 影を少し濃く */
}

/* マウスを乗せると矢印がちょっと動く */
.btn-more:hover::after {
  transform: rotate(45deg) translate(3px, -3px);
}
