:root {
  --main-color: #EB5777;/*#f8c8d8;*/
  --sub-color: #ffdee9;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #f3a8bc;
}

body {
  font-family: "Helvetica Neue", sans-serif;
  background: url('images/bg.jpeg') repeat-y;
  background-size: 96%;
  background-color:rgba(255,255,255,0.1);
   background-blend-mode:lighten;
  color: var(--text-color);
  margin: 0;
  padding: 10px;
}

/*ヘッダー画像とタイトル*/
.page-header {
  background-image: url('images/header_prof.jpeg');
  background-size: cover;
  background-position: center;
  height: 150px;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
/*  justify-content: center;*/
  padding-left: 21px;
   margin-bottom: 0px; 
   text-align: left;
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /*background: rgba(0, 0, 0, 0.4); /* 半透明の黒フィルター（必要に応じて調整） */
}

.page-header-text {
  position: relative;
  z-index: 2;
}

.page-header-text h1 {
  margin: 0;
 /*   margin-left: 30px;*/
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.6); /* ← これがシャドウ */
}

.page-header-text p {
  margin: 0px 0 0;
  font-size: 13px;
  letter-spacing: 1px;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.6); /* ← これがシャドウ */
}


/*ナビボタン*/
.profile-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;/*12px*/
  /*justify-content: flex-start;*/
  justify-content: center;  /* ← 中央寄せに変更 */
  padding: 10px;/*20px*/
  margin-bottom: 10px;
}

.prof-icon {
  width: 60px;
  height: 60px;
  border: 1px ver(--sub-color) solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.prof-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prof-icon.active {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px var(--sub-color);
}

/*メインコンテンツ*/
.prof-fullname {
  font-size: 28px;
  color: var(--main-color);
  font-weight: bold;
  margin-bottom: 12px;
}

.prof-catch {
  background-color: var(--main-color);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  white-space: pre-wrap; /* ← 改行対応 */
  margin-bottom: 16px;
  line-height: 1.6;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.prof-catch1 {
  font-size: 14px;
  color: var(--main-color);
  margin-bottom: 0px;
  font-weight: 500;
}

.prof-fullname {
  font-size: 28px;
  color: var(--main-color);
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 0px;
}

.prof-e-name {
  font-size: 16px;
  color: var(--main-color);
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 14px;
}



.prof-catch-lines {
	  position: relative;
	  z-index: 99;
  margin-bottom: -60px;
  display: flex;
  flex-direction: column;  /* 縦並びにする */
  gap: 5px;                /* 行間 */
}
.catch-line {
	  position: relative;
	  z-index: 99;
  background: linear-gradient(to right, #eb5777, #fcb1c8);
  color: #fff;
  padding: 2px 8px;
  display: inline-block;
  width: fit-content;
  border-radius: 1px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
}

.img-main, .img-sub {
	width: 90%;
	height: auto;
	margin: 15px 15px 15px 15px;
	  position: relative;
	  z-index: 80;
}
.profile-container {
  max-width: 900px;
  margin: auto;
  /*background: #fff;*/
  border-radius: 10px;
  padding: 20px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.profile-table th {
  text-align: left;
  padding: 8px 10px;
  width: 30%;
  color: var(--main-color);
  font-weight: bold;
  white-space: nowrap;
}

.profile-table td{
  padding: 8px 10px;
  line-height: 1.5;
}
/*性格（詳細）の部分*/
.profile {
  font-size: 14px;
  padding: 8px 1px 8px 7px;
  line-height: 1.5;
  font-weight: normal !important;
  color: black !important;
  white-space: pre-wrap;
}

/*質問*/
.qa-block {
  margin-bottom: 20px;
}

.qa-item {
  margin-left: 8px;
  margin-bottom: 29px;
}

.question {
  color: var(--main-color);
  border-left: 3px solid var(--main-color);
  padding-left: 13px;
  font-weight: bold;
  margin-bottom: 10px;
}

.answer {
  margin-left: 10px;
  font-size: 0.95rem;
}

.inactive-message {
  text-align: center;
  font-size: 1.2rem;
  padding: 60px 10px;
  color: #aaa;
}

/*ホームに戻る*/
.back-home {
  text-align: center;
  margin: 30px 0;
}

.btn-home {
  display: inline-block;
  background: linear-gradient(to right, #f58bb6, #fca2be); /* メインカラー */
  color: #fff;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.btn-home:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/*上に戻るボタン*/
.scroll-to-top {/*上に戻るボタン*/
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f58bb6, #f07aa3); /* メインカラー */
  color: white;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 999;
  opacity: 0.75;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: none; /* 初期は非表示 */
}
.scroll-to-top:hover {
  background: #f36a9a;
}


/* ページネーション*/
.pagination {
  text-align: center;
  margin: 30px 0;
}

.nav-button {
  display: inline-block;
  margin: 0 15px;
  padding: 8px 16px;
  background-color: var(--main-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.nav-button:hover {
  background-color: #d66c8c; /* メインカラーの濃いめに */
}