@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  background-color: #f9fafb;
}

/* First View Section */
.first-view {
  background-color: #4db848;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-container {
  width: 100%;
  max-width: 970px;
  padding: 0 8px;
}

.hero-mobile {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  height: auto;
  display: block;
}

.hero-desktop {
  width: 100%;
  height: 300px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: none;
}

.title-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: linear-gradient(
    90deg,
    rgb(77, 184, 72) 0%,
    rgb(77, 184, 72) 100%
  );
}

.title-content {
  width: 100%;
  max-width: 970px;
  color: white;
  text-align: center;
  padding: 0 16px;
}

.title-content h1 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.25;
}

.title-content h2 {
  color: white;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.25;
}

/* Reader Section */
.reader-section {
  background-color: #f4fbf4;
  padding: 48px 0;
}

.reader-container {
  max-width: 970px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title h3 {
  font-size: 20px;
  font-weight: bold;
  color: black;
  line-height: 1.6;
}

.main-content {
  margin-bottom: 32px;
}

.main-content p {
  font-size: 16px;
  color: black;
  line-height: 1.6;
}

.content-flex {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.company-card {
  background-color: white;
  border-radius: 16px;
  border: 1px solid #c2eac0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 300px;
}

.company-card-header {
  text-align: center;
}

.company-card-header h4 {
  color: #4db848;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.company-card-header p {
  color: #4db848;
  font-size: 16px;
  font-weight: bold;
}

.company-card img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.interview-icon {
  height: 60px;
}

.interview-text {
  flex: 1;
}

.interview-text p {
  font-size: 16px;
  color: #333333;
  line-height: 1.6;
}

/* Profile Section */
.profile-section {
  position: relative;
}

.profile-bg-green {
  background-color: #4db848;
  padding: 40px 0;
}

.profile-bg-dark {
  background-color: #02492b;
  padding: 40px 0;
}

.profile-container {
  max-width: 970px;
  margin: 0 auto;
  padding: 0 16px;
}

.profile-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.08);
  padding: 32px;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.profile-image {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.profile-header-tag {
  background-color: white;
  border: 1px solid #4db848;
  border-radius: 4px;
  padding: 8px 16px;
  display: inline-block;
}

.profile-header-text {
  color: #4db848;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

.profile-name-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-name {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
  line-height: 1;
}

.profile-reading {
  font-size: 16px;
  color: #333333;
  line-height: 1;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.divider {
  margin: 0 0 8px 0;
}

.divider svg {
  width: 100%;
  height: 1px;
}

.profile-bio {
  font-size: 16px;
  color: #333333;
  line-height: 1.8;
}

.profile-bio p {
  margin-bottom: 16px;
}

.profile-bio p:last-child {
  margin-bottom: 0;
}

.profile-header-multi {
  color: #4db848;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.profile-header-multi p {
  margin-bottom: 0;
}

/* Article Section */
.article-section {
  background-color: #f3f3f3;
  padding: 48px 0;
}

.article-container {
  max-width: 970px;
  margin: 0 auto;
  padding: 0 16px;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Table of Contents */
.toc-card {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.toc-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toc-header {
  background-color: #4db848;
  border-radius: 8px;
  width: 100%;
}

.toc-header-content {
  padding: 16px 24px;
}

.toc-header h3 {
  color: white;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.25;
}

.toc-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toc-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed #c8c8c8;
}

.toc-number {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.toc-number-circle {
  width: 40px;
  height: 40px;
  background-color: #4db848;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toc-number span {
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.toc-title {
  flex: 1;
  min-width: 0;
}

.toc-link {
  color: black;
  font-size: 16px;
  font-weight: bold;
  text-decoration: underline;
  line-height: 1.6;
  cursor: pointer;
  transition: color 0.3s;
}

.toc-link:hover {
  color: #4db848;
}

/* Section Headers */
.section-header {
  background-color: #4db848;
  border-radius: 8px;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.section-header-content {
  padding: 16px 24px;
}

.section-header h2 {
  color: white;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.25;
}

/* Company Info Card */
.company-info-card {
  background-color: white;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.company-info-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.company-header {
  background-color: #4db848;
  border-radius: 8px;
  padding: 8px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.company-header h3 {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.company-badge {
  background-color: white;
  border-radius: 4px;
  padding: 4px 16px;
}

.company-badge span {
  color: #4db848;
  font-weight: bold;
  font-size: 14px;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.company-data {
  flex: 1;
  space-y: 12px;
}

.company-data-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.company-data-label {
  background-color: #f4fbf4;
  border-radius: 4px;
  padding: 4px 16px;
  width: 100%;
  flex-shrink: 0;
  align-self: start;
}

.company-data-label span {
  color: #02492b;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  display: block;
}

.company-data-value {
  flex: 1;
}

.company-data-value p {
  color: black;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.company-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  flex-shrink: 0;
}

.company-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.company-info {
  text-align: center;
}

.company-info p {
  color: black;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

.company-info a {
  color: #4db848;
  font-size: 16px;
  text-decoration: underline;
}

.company-info a:hover {
  text-decoration: none;
}

/* Content Section */
.content-section {
  background-color: white;
  border: 1px solid #c2eac0;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.content-section-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.content-section-title {
  text-align: center;
  width: 100%;
}

.content-section-title h3 {
  color: #4db848;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.25;
}

.content-section-divider {
  background-color: #4db848;
  height: 2px;
  width: 100%;
  margin-top: 16px;
}

.content-section-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.content-section-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.content-section-additional {
  width: 100%;
}

.content-section-additional img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Interview Components */
.interview-question {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.interview-speaker-q {
  background-color: #02492b;
  border-radius: 4px;
  padding: 2px 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interview-speaker-q span {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.interview-content {
  flex: 1;
  min-width: 0;
}

.interview-content p {
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 2px;
}

.interview-answer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.interview-speaker-a {
  background-color: #4db848;
  border-radius: 4px;
  padding: 2px 8px;
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interview-speaker-a span {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.interview-answer-content {
  flex: 1;
  min-width: 0;
}

.interview-answer-content p {
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 2px;
}

.interview-answer-multiple {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interview-image {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.interview-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* Text Content */
.text-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-content p {
  color: black;
  font-size: 16px;
  line-height: 1.6;
  max-width: 970px;
  margin: 0 auto;
}

/* Video Section */
.video-section {
  background-color: white;
  border: 1px solid #c2eac0;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.video-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.video-header {
  text-align: center;
  width: 100%;
}

.video-header h3 {
  color: #4db848;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.25;
}

.video-placeholder {
  background-color: #d9d9d9;
  height: 300px;
  border-radius: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.video-placeholder p {
  color: #6b7280;
  font-size: 18px;
}

/* Mobile breakpoint */
@media (min-width: 640px) {
  .hero-container {
    padding: 0 16px;
  }

  .hero-mobile {
    display: none;
  }

  .hero-desktop {
    display: block;
    height: 400px;
  }

  .title-section {
    padding: 16px;
  }

  .title-content h1 {
    font-size: 20px;
  }

  .title-content h2 {
    font-size: 24px;
  }

  .reader-section {
    padding: 64px 0;
  }

  .reader-container {
    padding: 0 24px;
  }

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

  .main-content {
    margin-bottom: 40px;
  }

  .content-flex {
    align-items: center;
  }

  .company-card {
    width: 280px;
    flex-shrink: 0;
  }

  .company-card-header h4 {
    font-size: 20px;
  }

  .company-card img {
    height: 52px;
  }

  .interview-icon {
    height: 80px;
  }

  .profile-container {
    padding: 0 24px;
  }

  .profile-name-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .profile-name {
    font-size: 40px;
  }

  .article-container {
    padding: 0 24px;
  }

  .toc-header-content {
    padding: 16px 32px;
  }

  .toc-header h3 {
    font-size: 24px;
  }

  .toc-number span {
    font-size: 18px;
  }

  .toc-link {
    font-size: 18px;
  }

  .section-header-content {
    padding: 16px 32px;
  }
  .content-section-inner {
    gap: 32px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .company-info-card {
    padding: 32px;
  }

  .company-header {
    flex-direction: row;
  }

  .company-header h3 {
    font-size: 24px;
  }

  .company-badge span {
    font-size: 16px;
  }

  .company-data-item {
    flex-direction: row;
    gap: 16px;
  }

  .company-data-label {
    width: 112px;
  }

  .company-data-value p {
    text-align: left;
  }

  .content-section {
    padding: 32px;
  }

  .content-section-title h3 {
    font-size: 24px;
  }

  .interview-speaker-q span,
  .interview-speaker-a span {
    font-size: 16px;
  }

  .video-header h3 {
    font-size: 24px;
  }

  .video-placeholder {
    height: 400px;
  }
  .text-content {
    gap: 24px;
  }
}

/* Medium screens */
@media (min-width: 768px) {
  .reader-container,
  .article-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .hero-container {
    padding: 0 32px;
  }

  .hero-desktop {
    height: 525px;
  }

  .reader-container,
  .article-container,
  .profile-container,
  .video-content {
    padding-left: 32px;
    padding-right: 32px;
  }

  .profile-name-section {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }

  .title-content h1 {
    font-size: 24px;
  }

  .title-content h2 {
    font-size: 28px;
  }

  .reader-section {
    padding: 80px 0;
  }

  .content-flex {
    flex-direction: row;
    gap: 32px;
  }

  .profile-content {
    flex-direction: row;
  }

  .profile-image {
    width: 437px;
    aspect-ratio: auto;
    height: 435px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .company-details {
    flex-direction: row;
  }

  .company-data {
    flex: 3;
  }

  .company-logo-section {
    flex: 2;
  }

  .video-placeholder {
    height: 485px;
  }

  .video-container {
    padding-bottom: 50%; /* Adjust aspect ratio for larger screens */
  }
}

/* Profile content reverse styles - Image first on mobile */
.profile-content-reverse .profile-image {
  order: 1;
}

.profile-content-reverse .profile-info {
  order: 2;
} /* Desktop specific styles for profile order */
@media (min-width: 1024px) {
  .profile-content-reverse {
    flex-direction: row;
  }

  .profile-content-reverse .profile-info {
    order: 1;
  }

  .profile-content-reverse .profile-image {
    order: 2;
  }
}

/* Hidden on mobile */
.hidden-mobile {
  display: none;
}

@media (min-width: 640px) {
  .hidden-mobile {
    display: block;
  }
}

/* General responsive image styles */
img {
  max-width: 100%;
  height: auto;
}

/* General responsive settings */
.container {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Ensure all content sections don't exceed viewport width */
.reader-container,
.article-container,
.profile-container,
.video-content {
  width: 100%;
  max-width: 970px;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Extra small screens */
@media (max-width: 480px) {
  .reader-container,
  .article-container,
  .profile-container,
  .video-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-container {
    padding: 0 8px;
  }

  .title-content {
    padding: 0 12px;
  }

  .video-section {
    padding: 16px 12px;
    margin: 0 12px;
  }
}

.caption {
  font-size: 14px;
  color: #5c5c5c;
  list-style: none;
  text-align: left;
}
