/* ========================================
   PC用CSS
======================================== */

/* ===== 基本設定 ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #222;
  line-height: 1.7;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Noto Sans JP", sans-serif;
}

img {
  border: 0;
  vertical-align: top;
}

.wrap {
  width: 1000px;
  margin: 0 auto;
  background: #f6faf8;
  background-image:
    linear-gradient(#e9f1ed 1px, transparent 1px),
    linear-gradient(90deg, #e9f1ed 1px, transparent 1px);
  background-size: 22px 22px;
}

.hl {
  background: linear-gradient(transparent 55%, #fff29a 55%);
}

/* ===== ヘッダー ===== */
.hero {
  background: #009380;
  text-align: center;
  color: #fff;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.bubble {
  position: relative;
  margin: 0;
  padding: 14px 32px;
  background: #fff;
  border-radius: 40px;
  color: #009380;
  font-weight: bold;
  font-size: 24px;
  white-space: nowrap;
}

.hero-copy {
  margin: 0;
  font-size: 38px;
  font-weight: bold;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-sub {
  margin: 14px 0 0;
  font-size: 24px;
  font-weight: bold;
}

.hero-title {
  margin: 0;
  color: #ffe94d;
  font-size: 68px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

/* ===== 紹介文 ===== */
.intro {
  position: relative;
  padding: 20px 110px;
}

.quote {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: bold;
}

.lead {
  margin: 15px 0 0;
  font-size: 24px;
  line-height: 1.6;
}

.intro-image {
  position: absolute;
  top: 71px;
  right: 29px;
  width: 346px;
  height: auto;
  object-fit: contain;
}

/* ===== エピソード一覧セクション ===== */
.cases-sec {
  position: relative;
  margin-top: 50px;
  margin-bottom: 39px;
  padding: 20px 114px 50px;
  background: #009380;
}

.cases-sec::before,
.cases-sec::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.cases-sec::before {
  top: -49px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 50' preserveAspectRatio='none'%3E%3Cpath d='M0 50V30Q200 -5 500 18T1000 6V50Z' fill='%23009380'/%3E%3C/svg%3E");
}

.cases-sec::after {
  bottom: -49px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 50' preserveAspectRatio='none'%3E%3Cpath d='M0 0V14Q300 40 600 22T1000 34V0Z' fill='%23009380'/%3E%3C/svg%3E");
}

.sec-title {
  margin: 0 0 24px;
  text-align: center;
  color: #fff;
  font-size: 52px;
  font-weight: bold;
  line-height: 1.3;
}

/* ===== カード一覧 ===== */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 20px 40px;
}

.case-item {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin-bottom: 0;
}

.case-label {
  margin: 0 0 15px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3;
}

.case-no {
  padding: 0 2px 1px;
  border-bottom: 2px solid #fff;
}

.new {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 8px;
  background: #e5140f;
  color: #fff;
  font-size: 16px;
  vertical-align: 2px;
}

/* ===== カード本体 ===== */
.card {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 18px 16px;
  background: #fff;
  border-radius: 10px;
}

.meta {
  margin: 0;
  text-align: right;
  color: #009380;
  font-size: 14px;
  font-weight: bold;
}

.card-title {
  margin: 2px 0 10px;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.5;
}

.card .body {
  flex: 1;
}

.body {
  display: flow-root;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed #009380;
  font-size: 14px;
}

.body p {
  margin: 0;
}

.body .underline {
  text-decoration: underline;
  text-decoration-color: #009380;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  font-weight: bolder;
}

/* 画像を本文右上に配置し、文章を回り込ませる */
.body-icon,
.voice-icon {
  float: right;
  width: 130px;
  height: 100px;
  margin: 0 0 8px 12px;
  object-fit: cover;
  object-position: center;
}

/* ===== 保護者の声 ===== */
.card .voice {
  display: block;
  margin-top: 15px;
}

.voice-bubble {
  display: flow-root;
  width: 100%;
  padding: 12px;
  background: #eee;
  border-radius: 10px;
}

.voice-label {
  display: inline-block;
  margin: 0 0 3px;
  border-bottom: 3px solid #009380;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
}

.voice-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

/* 保護者の声がないカード */
.case-item.no-voice .voice {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.case-item.no-voice .voice-icon {
  display: block;
  margin: 0 auto;
  float: none;
}

/* ===== SNSシェアボタン ===== */
.btn-sns-share {
  width: fit-content;
  max-width: 100%;
  margin: 80px auto 36px;
  padding: 10px 14px;
  background: #fff;
}

.sns-btn {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.sns-btn .btn img {
  width: 64px;
  height: 64px;
}

.ep-banner-box img{
    width: 100%;
    height: auto;
}