
:root {
  /* 既存サイトのグリーンを維持 */
  --primary-green: #00A859;
  --secondary-green: #005A30;
  --accent-green: #00D06C;

  /* 背景・テキスト */
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --text-dark: #1f2a44;
  --text-gray: #666666;
  --text-light-gray: #999999;

  /* ボーダー */
  --border-light: #E0E0E0;
}

body {
  background-color: var(--bg-light);
}

/* 共通セクションスタイル */
.story-section {
  padding: 80px 0;
}

.story-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* セクションタイトル（英字+和訳） */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-en {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #272E64;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title-ja {
  font-size: 1rem;
  color: var(--text-gray);
  font-weight: 400;
  letter-spacing: 3px;
}

/* タイムラインセクション専用のタイトル色 */
#timeline .section-title-en {
  color: #272E64;
}

/* ========== Story Hero セクション ========== */
.story-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.story-hero .hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.story-hero .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 168, 89, 0.85) 0%, rgba(0, 90, 48, 0.85) 100%);
}

.story-hero .hero-content-top {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 40px;
  z-index: 2;
}

.story-hero .hero-title-main {
  text-align: center;
}

.story-hero .title-en {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.story-hero .title-jp {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 3px;
}

/* ========== Detail Hero セクション ========== */
#hero {
  background-color: var(--bg-light);
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 600px;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(250, 250, 250, 0.85);
  z-index: 1;
}

.hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 600px;
  z-index: 2;
}

.hero-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 75%;
  height: 100%;
  min-height: 600px;
  overflow: visible;
}

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

.hero-content {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 540px;
  padding: 48px 42px 42px;
  background-color: var(--bg-white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 2;
  clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
}

.hero-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--bg-white);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  position: absolute;
  top: 45px;
  left: 30px;
  z-index: 1;
}

.hero-title {
  font-size: clamp(32px, 2.8vw, 42px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.6656px;
  color: #FFFFFF;
  margin-bottom: 0;
  position: absolute;
  left: 30px;
  bottom: 181px;
  max-width: fit-content;
  z-index: 3;
  display: block;
  width: auto;
}

.hero-title-line {
  background-color: var(--primary-green);
  padding: 2px 10px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-gray);
  margin-bottom: 32px;
  border-top: 2px solid var(--border-light);
  padding-top: 28px;
}

.hero-profile {
  margin-bottom: 28px;
}

.hero-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.hero-name-en {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light-gray);
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.hero-position {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.hero-year {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 5px;
}

/* ========== タイムラインセクション ========== */
#timeline {
  background-color: #F5F5F5;
  padding: 90px 0;
}

.timeline-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  margin-bottom: 0;
}

.timeline-year {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-year::before {
  content: "●";
  color: var(--text-dark);
  font-size: 0.5rem;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.7;
}

.timeline-text {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.timeline-tag {
  display: inline-block;
  background-color: var(--primary-green);
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.timeline-highlight {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-gray);
  font-weight: 400;
  margin-top: 0;
}

/* ========== インタビューセクション ========== */
#interview {
  background-color: var(--bg-white);
}

.interview-lead {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 60px;
  line-height: 1.8;
}

.interview-image-wrapper {
  max-width: 900px;
  margin: 60px auto 40px;
  position: relative;
}

.interview-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

.interview-image-caption {
  text-align: right;
  font-size: 0.8rem;
  color: #999999;
  margin-top: 5px;
  margin-bottom: 0;
  font-style: italic;
}

.qa-block {
  max-width: 900px;
  margin: 0 auto 50px;
}

.qa-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 20px;
  line-height: 1.6;
  padding-left: 30px;
  position: relative;
}

.qa-question::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.qa-answer {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-dark);
  padding-left: 30px;
  position: relative;
}

.qa-answer::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-green);
}

.qa-answer p {
  margin-bottom: 20px;
}

.qa-answer strong {
  color: var(--primary-green);
  font-weight: 700;
}

.interviewer-credit {
  max-width: 900px;
  margin: 50px auto 0;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-gray);
  font-style: italic;
}

/* ========== OTHER INTERVIEWセクション ========== */
#other-story {
  background-color: var(--bg-light);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
}

.story-card {
  background-color: var(--bg-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.story-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  text-decoration: none;
}

.story-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-card:hover .story-card-image img {
  transform: scale(1.05);
}

.story-card-content {
  padding: 25px;
}

.story-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.5;
}

.story-card-profile {
  margin-bottom: 15px;
}

.story-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.story-card-name-en {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: var(--text-light-gray);
  letter-spacing: 0.5px;
}

.story-card-position {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin-top: 8px;
}

.story-card-year {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.story-card-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-top: 12px;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-card-arrow {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 15px;
  gap: 0;
}

.story-card-read-more {
  font-size: 0.85rem;
  color: #CCCCCC;
  line-height: 1;
  margin-right: 8px;
  transform: translateY(2px);
  transition: color 0.3s ease;
}

.arrow-line {
  width: 40px;
  height: 2px;
  background-color: var(--primary-green);
  transition: width 0.3s ease;
  margin-bottom: 0;
}

.arrow-head {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 0;
  border-left: 10px solid var(--primary-green);
  transition: border-left-width 0.3s ease;
  margin-left: 0;
}

.story-card:hover .story-card-read-more {
  color: var(--primary-green);
}

.story-card:hover .arrow-line {
  width: 50px;
}

.story-card:hover .arrow-head {
  border-left-width: 10px;
}

/* ========== インタビュー一覧にもどるボタン ========== */
.back-to-list {
  text-align: center;
  margin-top: 60px;
}

.btn-back-to-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background-color: var(--bg-white);
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-back-to-list i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.btn-back-to-list:hover {
  background-color: var(--primary-green);
  color: var(--bg-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 168, 89, 0.2);
}

.btn-back-to-list:hover i {
  transform: translateX(-3px);
}

/* ========== Entry CTA Section ========== */
.entry-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 90, 48, 0.9) 0%, rgba(0, 168, 89, 0.9) 100%);
}

.entry-cta .cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--bg-white);
}

.cta-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.cta-text {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.8;
}

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

.btn-cta-primary,
.btn-cta-secondary {
  padding: 18px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-cta-primary {
  background: var(--bg-white);
  color: var(--primary-green);
  border: 2px solid var(--bg-white);
}

.btn-cta-primary:hover {
  background: transparent;
  color: var(--bg-white);
  transform: translateY(-3px);
  text-decoration: none;
}

.btn-cta-secondary {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-cta-secondary:hover {
  border-color: var(--bg-white);
  transform: translateY(-3px);
  text-decoration: none;
}

/* ========== レスポンシブ ========== */

/* タブレット (768px - 991px) */
@media (max-width: 991px) {
  .story-section {
    padding: 60px 0;
  }

  .section-title-en {
    font-size: 2rem;
  }

  .hero-container {
    min-height: 500px;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: 350px;
    min-height: 350px;
  }

  .hero-content {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    transform: none;
    padding: 40px 30px;
  }

  .hero-title {
    font-size: 1.7rem;
    position: relative;
    left: 0;
    bottom: auto;
    margin-bottom: 20px;
  }

  .story-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* モバイル (767px以下) */
@media (max-width: 767px) {
  .story-hero {
    height: 200px;
  }

  .story-hero .title-en {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .story-hero .title-jp {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }

  .story-section {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title-en {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .section-title-ja {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .hero-container {
    min-height: auto;
  }

  .hero-image {
    height: 280px;
    min-height: 280px;
  }

  .hero-content {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: 1.4rem;
    position: absolute;
    left: 20px;
    bottom: 20px;
    margin-bottom: 0;
    padding: 4px 10px;
    max-width: calc(100% - 40px);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-name {
    font-size: 1.1rem;
  }

  .timeline-year {
    font-size: 1.5rem;
  }

  .timeline-title {
    font-size: 1.15rem;
  }

  .timeline-text {
    font-size: 0.95rem;
  }

  .timeline-highlight {
    font-size: 1rem;
  }

  .interview-lead {
    font-size: 1.2rem;
  }

  .qa-question {
    font-size: 1.1rem;
    padding-left: 25px;
  }

  .qa-question::before {
    font-size: 1.3rem;
  }

  .qa-answer {
    font-size: 0.95rem;
    padding-left: 25px;
  }

  .qa-answer::before {
    font-size: 1.3rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-card-image {
    height: 200px;
  }

  .story-card-content {
    padding: 20px;
  }

  .story-card-title {
    font-size: 1rem;
  }
}

/* Bootstrap準拠のレスポンシブ幅 */
@media (max-width: 1199px) {
  .story-container {
    max-width: 960px;
  }
}

@media (max-width: 991px) {
  .story-container {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .story-container {
    max-width: 540px;
  }
}

@media (max-width: 575px) {
  .story-container {
    max-width: 100%;
  }
}

/* ========== 引用ブロック ========== */
.interview-quote {
  border-left: 2px solid rgba(0, 168, 89, 0.3);
  padding: 15px 20px;
  margin: 25px 0;
  font-style: italic;
}

.interview-quote p {
  margin-bottom: 12px;
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 400;
}

.interview-quote p:last-child {
  margin-bottom: 0;
}

/* ========== インタビューリスト ========== */
.interview-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.interview-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.8;
}

.interview-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: 700;
}
