body { 
  background-color: #f8f5f0; /* ベージュ系薄色 */
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
	padding-bottom: 50px;
}
header {
  width: 100%;
  overflow: hidden; /* 横スクロール防止 */
}
p {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}


.marker {
    background:linear-gradient(transparent 60%, #ff6 60%); 
	font-weight: bold;
}
/* PC用画像は768px以上で表示 */
.pc-only {
  display: none;
}

.sp-only {
  display: block;
}
.lead-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  font-size: 1.125rem; /* 18px程度 */
  line-height: 1.8;
  color: #333;
}

@media (max-width: 768px) {
  .lead-text {
    font-size: 1rem; /* 16px程度 */
    padding: 1.25rem 1rem;
  }
}
@media (min-width: 768px) {
  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }
}
/* 共通（スマホ） */
.container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}

/* タブレット以上で2カラム */
@media (min-width: 768px) {
  .container {
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 100%;
  }
}
/* タブレット縦だけで1カラムに戻す */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
  .container {
    grid-template-columns: 1fr;
  }
}
/* PC */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

@media (min-width: 768px) {
  .wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px; /* 必要に応じて左右余白を追加 */
    box-sizing: border-box;
  }
}

@media (min-width: 1400px) {
  .wrapper {
    max-width: 1400px;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.content-card {
  background: #fff;  /* カード全体は白 */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.title {
  font-size: 1.6em;
  font-weight: 700;
  margin: 0 0 12px 0;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  color: #fff; /* タイトル文字は白 */
	text-align: center;
}

/* タイトル背景色カード別指定 */
.card-1 .title {
  background-color: #e370a6; /* ピンク */
}

.card-2 .title {
  background-color: #fabe00; /* 黄色 */
}

.card-3 .title {
  background-color: #e60012; /* 赤 */
}

.card-4 .title {
  background-color: #0086cd; /* 青 */
}

.age {
  margin-bottom: 8px;
  font-size: 1rem;
	text-align: right;
	font-weight: bold;
}

.thumbnail2 {
  display: block;
  margin: 0 auto 10px auto;
  width: 100%;
  max-width: 500px;
  height: auto;
}
.description {
  font-size: 1em;
  margin-bottom: 10px;
  color: #333;
}

.cv-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to bottom, #00b3ff, #009fe8);
  color: #fff;
  text-align: center;
  border-radius: 999px; /* 丸み強め */
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  font-size: 1rem;
  min-width: 260px; /* 幅狭めに */
  max-width: 100%;
  margin: 0 auto; /* 上に少し余白＋中央寄せ */
}

.cv-button:hover {
  background: linear-gradient(to bottom, #00a8f5, #008ed0);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.thumbnail-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.thumbnail-box img.thumbnail {
  max-height: 180px;
  width: auto;
  flex-shrink: 0;
  border: 1px solid #ccc;
}

.thumbnail-box p.description {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* スマホでは縦並びにする */
@media screen and (max-width: 767px) {
  .thumbnail-box {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .thumbnail-box img.thumbnail {
    height: 100%;
  }

  .thumbnail-box p.description {
    width: 100%;
  }
}



.voice-section {
	margin: 1rem;
}
.img-center {
  text-align: center; /* 親で中央寄せ */
}

/* PC用画像はデフォルト表示 */
.pc-only {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* SP用画像は非表示 */
.sp-only {
  display: none;
  max-width: 100%;
  height: auto;
}

/* 767px以下のスマホ表示時 */
@media screen and (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: inline-block !important;
  }
}

/* フローティングボタンを下部に幅100%で固定 */
.floating-cv-button {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #00b3ff 0%, #007acc 100%);
  color: #fff;
  padding: 16px 0;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0, 115, 204, 0.6);
  cursor: pointer;
  z-index: 9999;
  user-select: none;
  text-decoration: none;
  transition: background 0.25s ease;
}

/* ホバー・フォーカス時 */
.floating-cv-button:hover,
.floating-cv-button:focus {
  background: linear-gradient(135deg, #007acc 0%, #005a99 100%);
  outline: none;
}

/* スマホ用調整 */
@media (max-width: 480px) {
  .floating-cv-button {
    padding: 14px 0;
    font-size: 1rem;
  }
}

/* コンテンツ全体をフロート分だけ上げる */
.content-above-float {
  padding-bottom: 56px; /* フローティングボタンの高さ分（例：56px）を余白に */
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
