
@charset "UTF-8";
:root {
  --main-color:#8036b4;
  --text-color: #4a4a4a;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif;
}

body {
  margin: 0;
  background: var(--main-color);
  font-family: var(--font-jp);
  color: var(--text-color);
}

/* ====== プロフィール上部 ====== */
.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.card {
  background: #fff;
  width: 850px;
  max-width: 100%;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.text {
  padding-right: 50px;
}

.en {
  font-size: 17px;
  letter-spacing: 4px;
  color: #8036b4;
  margin-bottom: 0px;
}

.jp {
  font-size: 40px;
  color: #8036b4;
  margin-bottom: 25px;
}

.info {
  font-size: 20px;
  color: #8036b4;
  line-height: 1.6;
  margin-bottom: 30px;
}

.office {
  font-size: 14px;
  color: #8036b4;
  line-height: 1.8;
}

.image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-img {
  max-width: 100%;
  size: 200px
  height: auto;
  animation: floatY 3.5s ease-in-out infinite;
}

.main-img {
  width: 600px;
  max-width: none;
  height: auto;
  margin-left: -60px;
}

/* ====== 説明文エリア ====== */
.comment {
  display: flex;
  justify-content: center;
  padding: 40px 20px 40px;
}

.comment-card {
  background: #fff;
  width: 850px;
  max-width: 95%;
  padding: 40px;
  position: relative;
}

.comment p {
  line-height: 1.9;
  color: var(--text-color);
  font-size: 15px;
  margin-bottom: 20px;
}

.chibi {
  width: 180px;
  display: block;
  margin: 0 auto;
  animation: floatY 3s ease-in-out infinite;
}

/* ====== ふわふわ上下アニメーション ====== */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ====== レスポンシブ ====== */
@media (max-width: 700px) {
  .card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .text {
    padding-right: 0;
  }
  .jp { font-size: 32px; }
  .main-img { width: 90%; margin: 0 auto; }
}

.highlight {
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: 0.5em; /* 線の太さ */
  text-decoration-color: rgba(255, 235, 54, 0.986); /* 線の色 */
  text-underline-offset: -0.2em; /* 線の位置。テキストに重なるようにやや上部にする */
  text-decoration-skip-ink: none; /* 下線と文字列が重なる部分でも下線が省略されない（線が途切れない） */
}

/* --- 一覧に戻るボタン（下中央固定） --- */
.back-button-fixed {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.back-button-fixed a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.back-button-fixed a:hover {
  background: linear-gradient(90deg, var(--color-main), rgba(255,255,255,0.5));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
  .back-button-fixed a {
    padding: 12px 26px;
    font-size: 16px;
  }
}