@charset "utf-8";

/* ============================================================
   導入事例 詳細ページ共通スタイル
   既存サイトのデザイン（Zen Maru Gothic・#2995c6・#f7e61c）を踏襲
============================================================ */

/* ページ本体の背景は既存と同じ #EAF5FA */

/* ─── パンくず ─── */
.l-breadcrumb {
  background-color: #fff;
  border-bottom: 1px solid #d8eef7;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 6px;
  list-style: none;
  padding: 12px 0;
  font-size: 1.3rem;
  color: #666;
}

.breadcrumb-list li + li::before {
  content: "›";
  margin-right: 6px;
  color: #aaa;
}

.breadcrumb-list a {
  color: #2995c6;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

/* ─── ヒーロー ─── */
.l-case-hero {
  background-color: #1a698d;
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.l-case-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.case-hero-inner {
  position: relative;
}

.case-hero-no {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: .15em;
  margin-bottom: 10px;
}

.case-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.case-hero-tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

.case-hero-tag-school {
  border-color: #f7e61c;
  background: rgba(247,230,28,0.18);
  color: #f7e61c;
}

.case-hero-title {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.case-hero-school {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.7);
}

.case-hero-school strong {
  color: #fff;
  margin-left: 6px;
}

/* ─── 本文エリア ─── */
.l-case-body {
  padding: 56px 0 80px;
}

/* ─── サマリーカード ─── */
.case-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.case-summary-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  border-left: 4px solid #2995c6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.case-summary-label {
  font-size: 1.1rem;
  color: #2995c6;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.case-summary-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
}

/* ─── インタビュー対象 ─── */
.case-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #EAF5FA;
  border: 1px solid #b8ddf0;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 50px;
}

.case-profile-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2995c6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  color: #fff;
}

.case-profile-label {
  font-size: 1.2rem;
  color: #2995c6;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.case-profile-names {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  line-height: 1.6;
}

/* ─── Q&Aセクション ─── */
.case-section {
  margin-bottom: 52px;
}

.case-section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #2995c6;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #1a698d;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #b8ddf0;
}

.case-section-body {
  font-size: 1.6rem;
  color: #333;
  line-height: 1.9;
}

.case-section-body p + p {
  margin-top: 14px;
}

/* ─── 引用ブロック ─── */
.case-quote {
  background: #fff;
  border-left: 5px solid #f7e61c;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 1.6rem;
  color: #000;
  line-height: 1.8;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* ─── 効果リスト ─── */
.case-result-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.case-result-item {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.case-result-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #EAF5FA;
  border: 1px solid #b8ddf0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.case-result-text {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.75;
}

.case-result-text strong {
  display: block;
  font-size: 1.6rem;
  color: #000;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ─── 声カード ─── */
.case-voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.case-voice-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.case-voice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.case-voice-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EAF5FA;
  border: 1px solid #b8ddf0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.case-voice-who {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
}

.case-voice-role {
  font-size: 1.2rem;
  color: #888;
}

.case-voice-text {
  font-size: 1.4rem;
  color: #444;
  line-height: 1.8;
}

/* ─── 学校情報テーブル ─── */
.case-school-info {
  background: #fff;
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  margin-top: 20px;
}

.case-school-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2995c6;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.case-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}

.case-info-table tr {
  border-bottom: 1px solid #EAF5FA;
}

.case-info-table tr:last-child {
  border-bottom: none;
}

.case-info-table th {
  width: 120px;
  padding: 10px 0;
  color: #888;
  font-weight: 500;
  text-align: left;
  vertical-align: top;
}

.case-info-table td {
  padding: 10px 0 10px 16px;
  color: #000;
  font-weight: 700;
}

/* ─── 区切り線 ─── */
.case-divider {
  border: none;
  border-top: 1px solid #d8eef7;
  margin: 48px 0;
}

/* ─── 一覧に戻るボタン ─── */
.case-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.4rem;
  color: #2995c6;
  margin-bottom: 40px;
  transition: opacity ease 0.2s;
}

.case-back-link:hover {
  opacity: 0.7;
  color: #2995c6;
}

.case-back-link::before {
  content: "←";
}

/* ─── 次の事例ナビ ─── */
.case-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
}

.case-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: box-shadow ease 0.2s;
  color: #000;
}

.case-nav-item:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  color: #000;
}

.case-nav-item.next {
  flex-direction: row-reverse;
  text-align: right;
}

.case-nav-label {
  font-size: 1.2rem;
  color: #2995c6;
  font-weight: 700;
  margin-bottom: 4px;
}

.case-nav-name {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}

.case-nav-img {
  width: 100px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.case-nav-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* ─── CTAブロック ─── */
.case-cta {
  background-color: #1a698d;
  border-radius: 12px;
  padding: 44px 40px;
  text-align: center;
  color: #fff;
  margin-top: 60px;
}

.case-cta-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-cta-sub {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1.8;
}

.case-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.case-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 0 36px;
  background-color: #f7e61c;
  border-radius: 5px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: filter ease 0.3s;
}

.case-cta-btn-primary:hover {
  filter: brightness(1.05);
  color: #000;
}

.case-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 0 36px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  transition: background ease 0.2s;
}

.case-cta-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ─── cases/index.html 一覧ページ ─── */
.l-cases-list {
  padding: 56px 0 80px;
}

.cases-list-head {
  text-align: center;
  margin-bottom: 40px;
}

.ttl-cases-list {
  font-size: 3rem;
  font-weight: 700;
  color: #2995c6;
  margin-bottom: 10px;
  letter-spacing: .1em;
}

.ttl-cases-list .eng {
  display: block;
  font-size: 1.3rem;
  color: #888;
  letter-spacing: .2em;
  margin-bottom: 6px;
}

.cases-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  border-radius: 38px;
  padding: 0 20px;
  font-size: 1.4rem;
  font-weight: 700;
  border: 2px solid #2995c6;
  background: transparent;
  color: #2995c6;
  cursor: pointer;
  transition: all ease 0.2s;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
  background: #2995c6;
  color: #fff;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 10px;
}

.cases-grid .case-card {
  color: #000;
  text-decoration: none;
}

/* ─── レスポンシブ（768px以下）─── */
@media (max-width: 768px) {
  .l-case-hero {
    padding: 40px 0 36px;
  }

  .case-hero-title {
    font-size: 2rem;
  }

  .case-summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 32px;
  }

  .case-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .case-voice-grid {
    grid-template-columns: 1fr;
  }

  .case-info-table th {
    width: 90px;
    font-size: 1.3rem;
  }

  .case-info-table td {
    font-size: 1.3rem;
  }

  .case-nav {
    flex-direction: column;
  }

  .case-nav-item.next {
    flex-direction: row;
    text-align: left;
  }

  .case-nav-img {
    width: 90px;
    height: 60px;
  }

  .case-cta {
    padding: 32px 20px;
  }

  .case-cta-title {
    font-size: 2rem;
  }

  .case-cta-btn-primary,
  .case-cta-btn-secondary {
    width: 100%;
    font-size: 1.6rem;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─── ヒーロー画像エリア ─── */
.case-hero-image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  background: #0d4f6b;
}

.case-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* インタビュー写真（人物写真）*/
.case-interview-photo {
  margin-bottom: 32px;
}

.case-interview-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.case-interview-caption {
  font-size: 1.3rem;
  color: #666;
  text-align: center;
  margin-top: 8px;
  line-height: 1.6;
}

/* バナー画像（横長）をヒーロー直下に大きく表示 */
.case-banner-image {
  width: 100%;
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.case-banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .case-hero-image {
    max-height: 220px;
  }
}

.case-tag-garden {
  background-color: #FDF2F8;
  color: #BE185D;
  border: 1px solid #F9A8D4;
}
