/* ===================== */
/* 人とカルチャー：リードメッセージ */
/* ===================== */
.culture-lead {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #000;
}
.culture-lead-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
  padding-top: 120px;
  padding-bottom: 140px;
}
.culture-lead-photos {
  position: relative;
  width: 58%;
  min-height: 640px;
}
.culture-lead-photo {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.culture-lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 背面：横長写真 */
.culture-lead-photo-wide {
  left: 0;
  top: 0;
  width: 85%;
  height: 390px;
  z-index: 1;
}
/* 前面：縦長写真 */
.culture-lead-photo-vertical {
  right: 0;
  top: 250px;
  width: 45%;
  height: 400px;
  z-index: 2;
}
.culture-lead-copy {
  width: 48%;
}
.culture-lead-message {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.7;
  letter-spacing: 0;
  text-align: left;
}
.culture-lead-message > span {
  display: block;
}
.culture-lead-message > span + span {
  margin-top: 22px;
}
.culture-ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  margin-top: -90px;
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.culture-ticker {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
}
.culture-ticker span {
  font-family: 'Lato', sans-serif;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  color: rgba(6, 55, 159, 0.08);
}
/* タブレット */
@media (min-width: 769px) and (max-width: 1199px) {
  .culture-lead-inner {
    gap: 48px;
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .culture-lead-photos {
    width: 50%;
    min-height: 460px;
  }
  .culture-lead-photo-wide {
    width: 84%;
    height: 280px;
  }
  .culture-lead-photo-vertical {
    width: 45%;
    height: 320px;
  }
  .culture-lead-copy {
    width: 50%;
  }
  .culture-lead-message {
    font-size: 26px;
    line-height: 2;
  }
}
/* SP */
@media (max-width: 768px) {
  .culture-lead-inner {
    flex-direction: column;
    gap: 42px;
    padding-top: 60px;
    padding-bottom: 70px;
  }
  .culture-lead-photos, .culture-lead-copy {
    width: 100%;
  }
  /* SPでは文章 → 写真の順番にする */
  .culture-lead-copy {
    order: 1;
  }
  .culture-lead-photos {
    order: 2;
    position: relative;
    min-height: 360px;
  }
  .culture-lead-photo {
    border-radius: 10px;
  }
  /* 背面：横長写真 */
  .culture-lead-photo-wide {
    top: 0;
    left: 0;
    width: 92%;
    height: 230px;
    z-index: 1;
  }
  /* 前面：縦長写真。横長写真に被せる */
  .culture-lead-photo-vertical {
    top: 120px;
    right: 0;
    bottom: auto;
    width: 48%;
    height: 240px;
    z-index: 2;
  }
  .culture-lead-message {
    font-size: 18px;
    line-height: 1.8;
  }
  .culture-ticker-wrap {
    margin-top: -35px;
  }
  .culture-ticker span {
    font-size: 65px;
  }
}
/* ===================== */
/* カルチャー価値観 */
/* ===================== */
.culture-values {
  background: #06379f;
  padding: 120px 0;
  color: #fff;
}
.culture-values-heading {
  text-align: center;
  margin-bottom: 70px;
}
.culture-values-heading h2, .culture-values-heading p {
  display: block;
}
.culture-values-heading .section-main-title, .culture-values-heading .section-sub-title {
  color: #fff;
  display: block;
}
.culture-values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.culture-value-card {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 38px 26px 34px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}
.culture-value-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.culture-value-img img {
  width: 160px;
  height: 120px;
  object-fit: contain;
  display: block;
}
.culture-value-card h3 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
  margin: 0;
}
/* 5枚の下段を中央寄せっぽく見せる */
.culture-value-card:nth-child(4) {
  grid-column: 1 / 2;
  transform: translateX(calc(50% + 14px));
}
.culture-value-card:nth-child(5) {
  grid-column: 2 / 3;
  transform: translateX(calc(50% + 14px));
}
/* =====================
  社員インタビュー
===================== */
.interview-section {
  background: #eaeff4;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.interview-heading {
  margin-bottom: 80px;
}
.interview-heading .section-main-title, .interview-heading .section-sub-title {
  color: #06379f;
}
.interview-side-label {
  position: absolute;
  right: -5px;
  top: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 120px;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: rgba(6, 55, 159, 0.08);
  writing-mode: vertical-rl;
  transform: rotate(360deg);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.interview-cards {
  display: flex;
  gap: 40px;
}
.interview-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 120px;
  color: inherit;
  text-decoration: none;
}
.interview-photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.interview-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.interview-box {
  background: #06379f;
  color: #fff;
  padding: 28px 32px 32px;
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.interview-text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}
.interview-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
}
.interview-name-en {
  font-family: 'Lato', sans-serif;
  font-size: 25px;
  font-weight: 900;
  color: #fff;
}
.interview-card:hover .interview-photo {
  transform: scale(1.06);
}
.interview-text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}
.interview-text span {
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size 0.35s ease;
}
.interview-card:hover .interview-text span {
  background-size: 100% 1px;
}
/* =====================
  働く環境
===================== */
.office-section {
  background: #fff;
  padding: 110px 0 120px;
}
.office-heading {
  margin-bottom: 48px;
}
.office-heading h2.section-sub-title {
  margin-left: 20px;
}
.office-heading .section-main-title, .office-heading .section-sub-title {
  color: #06379f;
}
.office-lead {
  margin-bottom: 70px;
}
.office-lead h3 {
  margin: 0 0 22px;
  color: #06379f;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.5;
}
.office-lead p {
  margin: 0;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 2.1;
}
.office-gallery {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.office-block {
  width: 100%;
}
.office-name {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}
.office-photo-grid {
  display: grid;
  gap: 20px;
}
.tokyo-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: repeat(2, 220px);
}
.tokyo-grid .office-photo-vertical {
  grid-row: span 2;
}
.office-photo {
  margin: 0;
  overflow: hidden;
  background: #eaeff4;
}
.office-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.office-photo:hover img {
  transform: scale(1.06);
}
.office-photo-wide {
  aspect-ratio: 16 / 10;
}
/* 下段：沼津・名古屋・甲府 */
.office-branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.office-branch-item {
  display: flex;
  flex-direction: column;
}
.office-branch-item .office-photo-wide {
  width: 100%;
  aspect-ratio: 16 / 10;
}
/* =====================
  イベント
===================== */
.event-section {
  background: #eaeff4;
  padding: 110px 0 120px;
}
.event-heading {
  margin-bottom: 48px;
}
.event-heading .section-main-title, .event-heading .section-sub-title {
  color: #06379f;
}
.event-lead {
  margin-bottom: 72px;
}
.event-lead h3 {
  margin: 0 0 22px;
  color: #06379f;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.5;
}
.event-lead p {
  margin: 0;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 2.1;
}
.event-gallery {
  display: flex;
  flex-direction: column;
  gap: 86px;
}
.event-block {
  display: block;
}
.event-block-head {
  display: block;
  margin-bottom: 30px;
}
.event-name {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 10px 24px;
  background: #06379f;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}
.event-description {
  margin: 0;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
}
.event-photo-grid {
  display: grid;
  gap: 16px;
}
.event-photo-grid-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.event-photo-grid-8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.event-photo {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
}
.event-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.event-photo:hover img {
  transform: scale(1.06);
}
/* =====================
  TABLET
===================== */
@media (min-width: 769px) and (max-width: 1199px) {
  .culture-values {
    padding: 100px 0;
  }
  .culture-values-list {
    gap: 20px;
  }
  .culture-value-card {
    padding: 32px 20px;
    min-height: 260px;
  }
  .culture-value-img {
    width: 100px;
    height: 100px;
  }
  .culture-value-card h3 {
    font-size: 18px;
  }
}
/* =====================
  SP
===================== */
@media (max-width: 768px) {
  .culture-values {
    padding: 60px 0;
  }
  .culture-values-heading {
    margin-bottom: 40px;
    text-align: left;
  }
  .culture-values-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .culture-value-card, .culture-value-card:nth-child(4), .culture-value-card:nth-child(5) {
    grid-column: auto;
    transform: none;
  }
  .culture-value-card {
    min-height: auto;
    padding: 15px 20px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 18px;
    border-radius: 10px;
  }
  .culture-value-img {
    width: 74px;
    height: 74px;
    flex-shrink: 0;
  }
  .culture-value-img img {
    width: 74px;
    height: 74px;
    object-fit: contain;
  }
  .culture-value-card h3 {
    font-size: 17px;
    line-height: 1.6;
  }
  .interview-section {
    padding: 70px 0 90px;
  }
  .interview-heading {
    margin-bottom: 40px;
  }
  .interview-side-label {
    display: none;
  }
  .interview-cards {
    flex-direction: column;
    gap: 50px;
  }
  .interview-card {
    margin-bottom: 0;
  }
  .interview-box {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: calc(100% - 32px);
    margin: -36px auto 0;
    padding: 24px 22px 26px;
  }
  .interview-text {
    font-size: 18px;
  }
  .office-section {
    padding: 70px 0 80px;
  }
  .office-heading {
    margin-bottom: 34px;
  }
  .office-heading h2.section-sub-title {
    margin-left: 10px;
  }
  .office-lead {
    margin-bottom: 48px;
  }
  .office-lead h3 {
    font-size: 23px;
  }
  .office-lead p {
    font-size: 15px;
    line-height: 1.9;
  }
  .office-gallery {
    gap: 20px;
  }
  .office-name {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .tokyo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .tokyo-grid .office-photo, .office-photo-wide {
    aspect-ratio: 4 / 3;
  }
  .office-branch-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .office-branch-item .office-photo-wide {
    aspect-ratio: 4 / 3;
  }
  .event-section {
    padding: 70px 0 80px;
  }
  .event-heading {
    margin-bottom: 34px;
  }
  .event-lead {
    margin-bottom: 50px;
  }
  .event-lead h3 {
    font-size: 23px;
  }
  .event-lead p {
    font-size: 15px;
    line-height: 1.9;
  }
  .event-gallery {
    gap: 64px;
  }
  .event-block-head {
    margin-bottom: 24px;
  }
  .event-name {
    padding: 16px 18px;
    font-size: 20px;
    margin-bottom: 16px;
  }
  .event-description {
    font-size: 15px;
    line-height: 1.9;
  }
  .event-photo-grid-6, .event-photo-grid-8 {
    grid-template-columns: 1fr;
  }
  .event-photo {
    aspect-ratio: 4 / 3;
  }
}