/* Google Fonts */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', Helvetica, sans-serif;
  background-color: white;
  color: #333333;
  overflow-x: hidden;
  line-height: 1.6;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

body .l-wrapper #content .l-container {
  max-width: 100%;
  padding-left: 0px;
  padding-right: 0px;
}

.sp_only {
  display: none;
}

/* Hero */
.section-hero {
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('../images/pmvv/fv_bg_image.webp');
  background-size: cover;
  background-position: top;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

.hero-title {
  font-weight: 400;
  color: white;
  font-size: 40px;
  letter-spacing: 6px;
  line-height: 1.2;
}

@media (max-width: 1024px) {

  .section-hero {
    padding: 72px 16px 180px;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: 5px;
  }

}

@media (max-width: 768px) {
  .section-hero {
    min-height: 100px;
    padding: 50px 5px;
  }
}

@media (max-width: 480px) {

  .hero-title {
    font-size: 26px;
    letter-spacing: 3px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #99cc66;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #88bb55;
}

#content .l-content__body {
  margin: 0 auto;
}

/* Section Label */
.section-label {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  color: #eebd12;
  font-size: 16px;
  letter-spacing: 1.28px;
  line-height: normal;
}

/* PMVV Section */
.pmvv-section {
  width: 100%;
  background-color: #f3f8fc;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
}

.pmvv-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.pmvv-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 3.36px;
  line-height: normal;
}

.title-highlight {
  color: #0a504a;
  font-size: 42px;
  letter-spacing: 1.41px;
}

.title-normal {
  color: #1f1f1f;
  font-size: 32px;
  letter-spacing: 0.82px;
}

.title-underline {
  width: 300px;
  max-width: 100%;
  height: 4px;
  margin-top: 13px;
  background: linear-gradient(90deg, #EEBE12 0 200px, #169442 200px 300px);
  border-radius: 999px;
}

.title-underline-white {
  width: 300px;
  max-width: 100%;
  height: 4px;
  margin-top: 13px;
  background: linear-gradient(90deg, #EEBE12 0 200px, #fff 200px 300px);
  border-radius: 999px;
}

.pmvv-content {
  max-width: 1202px;
  margin: 60px auto 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.pmvv-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  flex-wrap: wrap;
}

.pmvv-item-left {
  flex: 1 1 420px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.pmvv-item-labels {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.pmvv-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: rgba(191, 191, 191, 0.2);
  font-size: 24px;
  letter-spacing: 5px;
  line-height: normal;
}

.pmvv-english-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #eebd12;
  font-size: 40px;
  letter-spacing: 0.2px;
  line-height: normal;
}

.pmvv-heading {
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #0a504a;
  font-size: 32px;
  letter-spacing: 3.2px;
  line-height: 50px;
  white-space: nowrap;
}

.pmvv-heading-multiline {
  white-space: normal;
}

.pmvv-description {
  flex: 1 1 600px;
  max-width: 600px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  letter-spacing: 1.6px;
  line-height: 28px;
}

@media (max-width: 1024px) {
  .pmvv-item {
    flex-direction: column;
    gap: 20px;
  }

  .pmvv-item-left {
    flex: 1 1 110px;
    min-width: 0;
  }

  .pmvv-description {
    flex: 1 1 110px;
    max-width: none;
  }
}

/* Value Section */
.value-section {
  max-width: 1200px;
  margin: 110px auto 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.value-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #eebd12;
  font-size: 40px;
  text-align: center;
  letter-spacing: 0.2px;
  line-height: normal;
}

.value-subtitle {
  margin-top: 1px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: rgba(191, 191, 191, 0.2);
  font-size: 24px;
  text-align: center;
  letter-spacing: 5px;
  line-height: normal;
}

.value-cards {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-row {
  display: flex;
  gap: 50px;
  padding: 0 46px;
}

.value-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  position: relative;
  padding: 30px 38px;
}

.value-card_flex_title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.value-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #0a504a;
  font-size: 34px;
  letter-spacing: 3.4px;
  line-height: 25px;
}

.value-card-subtitle {
  margin-top: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #333333;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 25px;
}

.value-card-description {
  margin-top: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #333333;
  font-size: 18px;
  letter-spacing: 1.8px;
  line-height: 30px;
}

/* CEO Message Section */
.ceo-message-section {
  position: relative;
  width: 100%;
  min-height: 879px;
  background-image: url('../images/pmvv/kodama_image.webp');
  background-size: cover;
  background-position: top;
}

.ceo-message-overlay {
  position: relative;
  max-width: 58%;
  height: 879px;
  background: linear-gradient(270deg, rgba(10, 80, 74, 0) 0%, rgba(10, 80, 74, 0.7) 16%, rgba(10, 80, 74, 1) 100%);
}

.ceo-message-overlay_inner {
  max-width: 1200px;
  height: 879px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.ceo-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 3.36px;
  line-height: normal;
}

.ceo-title-main {
  color: #ffffff;
  font-size: 42px;
  letter-spacing: 1.41px;
}

.ceo-title-sub {
  color: #ffffff;
  font-size: 32px;
  letter-spacing: 0.82px;
}

.ceo-subtitle {
  margin-top: 19px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 1.28px;
  line-height: 30px;
}

.ceo-message-body {
  margin-top: 80px;
  max-width: 513px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 30px;
}

/* Timeline Section */
.timeline-section {
  width: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.85) 100%), url('../images/pmvv/history_bg_img.webp');
  background-size: cover;
  background-position: 50% 50%;
  padding: 80px 0;
  /* display: flex;
  flex-direction: column; */
}

.timeline-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 3.36px;
  line-height: normal;
}

.timeline-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 35px;
  display: flex;
  justify-content: center;
  position: relative;
}

.timeline-line {
  margin-top: 35px;
  width: 67px;
  height: 805px;
  background-image: url('../images/pmvv/career_line.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.timeline-items {
  margin-left: 80px;
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.timeline-item:first-child {
  margin-top: 50px;
}

.timeline-item:nth-child(2) {
  margin-top: 70px;
}

.timeline-item:nth-child(3) {
  margin-top: 50px;
}

.timeline-item:nth-child(4) {
  margin-top: 75px;
}

.timeline-item:nth-child(5) {
  margin-top: 51px;
}

.timeline-item:nth-child(6) {
  margin-top: 76px;
}

.timeline-item:nth-child(7) {
  margin-top: 45px;
}

.timeline-item:nth-child(8) {
  margin-top: 45px;
}

.timeline-item p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #333333;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 30px;
}

.timeline-item-year {
  margin-right: 20px;
}

/* Footer Styles */
.footer {
  width: 100%;
  background-color: #0a504a;
  padding: 64px 32px 0;
  position: relative;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  padding: 0 88px;
}

.footer-services {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-logo {
  width: 89px;
  height: 45px;
  background-image: url('/frame-3-1.png');
  background-size: cover;
  background-position: center;
}

.footer-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #dfe6ff;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
  margin-bottom: 24px;
}

.footer-columns {
  display: flex;
  gap: 42px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-service-title {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  color: #dfe6ff;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.footer-link {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  color: #dfe6ff;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-company {
  display: flex;
  flex-direction: column;
}

.footer-social {
  display: flex;
  align-items: center;
}

.social-icons {
  width: 122px;
  height: 26px;
}

.footer-separator {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  background-color: #218b81;
  margin: 0 -32px;
}

.footer-bottom p {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
  body {
    min-width: auto;
  }

  .header,
  .pmvv-section,
  .timeline-section {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 1280px) {
  .value-card_flex_title {
    flex-direction: column;
  }

  .ceo-title-main {
    font-size: 30px;
    letter-spacing: 1px;
  }

  .ceo-title-sub {
    font-size: 22px;
    letter-spacing: 0.6px;
  }

  .ceo-subtitle {
    line-height: 1.8;
  }

  .ceo-message-body {
    margin-top: 24px;
    max-width: none;
    font-size: 15px;
    line-height: 1.9;
  }

  .ceo-message-overlay_left {
    padding-left: 30px;
  }
}

@media (max-width: 1023px) {
  .ceo-message-section {
    background-image: url('../images/pmvv/kodama_image_sp.webp');
    min-height: auto;
    background-position: top right;
    background-size: 50%;
    background-repeat: no-repeat;
  }

  .ceo-message-img_sp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ceo-message-img_sp img {
    width: 100px;
  }

  .ceo-message-overlay {
    max-width: 100%;
    height: auto;
    padding: 20px 16px 60px;
    background: linear-gradient(220deg, rgba(22, 148, 66, 0) 0%, rgba(10, 80, 74, 0.4) 40%, rgba(10, 80, 74, 1) 100%);
  }

  .ceo-message-overlay_inner {
    height: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .ceo-message-overlay_left {
    width: 100%;
  }

  .ceo-message-overlay_right {
    display: none;
  }
}

@media (max-width: 768px) {

  .header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pmvv-section,
  .timeline-section {
    padding: 56px 16px;
  }

  /* PMVV: typography + wrapping */
  .pmvv-title {
    letter-spacing: 1.6px;
  }

  .title-highlight {
    font-size: 30px;
    letter-spacing: 0.6px;
  }

  .title-normal {
    font-size: 22px;
    letter-spacing: 0.4px;
  }

  .title-underline,
  .title-underline-white {
    width: 220px;
    max-width: 100%;
    background: linear-gradient(90deg, #EEBE12 0 140px, #169442 100px 200px);
    border-radius: 999px;
  }

  .pmvv-content {
    margin-top: 32px;
    gap: 56px;
  }

  .pmvv-item {
    align-items: flex-start;
  }

  .pmvv-item-labels {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .pmvv-subtitle {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .pmvv-english-title {
    font-size: 28px;
  }

  .pmvv-heading {
    font-size: 20px;
    letter-spacing: 1.4px;
    line-height: 1.45;
    white-space: normal;
  }

  .pmvv-description {
    flex: 1 1 120px;
    font-size: 15px;
    letter-spacing: 0.6px;
    line-height: 1.9;
  }

  /* Value: 2 columns -> 1 column */
  .value-section {
    margin-top: 40px;
  }

  .value-title {
    font-size: 30px;
  }

  .value-subtitle {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .value-cards {
    margin-top: 24px;
    gap: 16px;
  }

  .value-row {
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }

  .value-card {
    padding: 18px 16px;
  }

  .value-card_flex_title {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px 12px;
  }

  .value-card-title {
    font-size: 24px;
    letter-spacing: 1.8px;
    line-height: 1.2;
  }

  .value-card-subtitle {
    margin-top: 0;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1.4;
  }

  .value-card-description {
    margin-top: 12px;
    font-size: 15px;
    letter-spacing: 0.6px;
    line-height: 1.8;
  }

  .sp_only {
    display: block;
  }

  /* Timeline: replace fixed image-line layout with flexible vertical timeline */
  .timeline-title {
    font-size: 30px;
    letter-spacing: 2px;
  }

  .timeline-container {
    display: block;
    margin-top: 24px;
  }

  .timeline-line {
    display: none;
  }

  .timeline-items {
    margin-left: 0;
    position: relative;
    padding-left: 22px;
  }

  .timeline-items::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(10, 80, 74, 0.25);
    border-radius: 999px;
  }

  .timeline-item {
    margin-top: 18px !important;
    gap: 10px;
  }

  .timeline-item:first-child {
    margin-top: 0 !important;
  }

  .timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #218b81;
    flex: 0 0 10px;
    margin-top: 0.55em;
    margin-left: -20px;
  }

  .timeline-item p {
    font-size: 15px;
    line-height: 1.8;
  }
}