/* 私たちについてページのスタイル - HTML構造に合わせた完全再現 */

:root {
  --color-dark-blue: #1a4a7a;
  --color-light-blue: #99C1D5;
  --color-accent-yellow: #caf880;
  --color-white: #ffffff;
  --color-text-dark: #333333;
  --color-text-gray: #666666;
}

.recruit-about-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: var(--color-white);
}

.container {
  width: 100%;
}

.recruit-about-section .container {
  width: 100%;
  margin: 0 auto;
}

/* ページタイトルセクション */
.about-page-title-section {
  margin-bottom: 80px;
}

/* anchor.phpと同じデザインのナビゲーション */
.flex-col3 > * {
  width: 30.33%;
  margin-right: 3%;
  margin-bottom: 3%;
}

@media screen and (max-width: 767px) {
  .flex-col3 > * {
    width: 100%;
    margin-bottom: 16px;
    margin-right: 0;
  }

  .anchor-btn:not(:last-child) {
    margin-bottom: 8px;
  }
}

.about-page-title-section .inner {
  width: 90%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1080px) {
  .about-page-title-section .inner {
    width: 90%;
  }
}

@media screen and (max-width: 767px) {
  .about-page-title-section .inner {
    width: 86%;
  }
}

.anchor-btn a {
  position: relative;
  line-height: 1;
  z-index: 1;
  display: block;
  padding: 28px 88px 28px 40px;
  border-radius: 0;
  width: 100%;
  max-width: 320px;
  color: #0B2C5E;
  border: 1px solid #0B2C5E;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .anchor-btn a {
    max-width: 100%;
    padding: 18px 44px 18px 16px;
    font-size: 14px;
  }
}

.anchor-btn a::before {
  content: '';
  position: absolute;
  top: calc(50% - 24px);
  right: 20px;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: solid #0B2C5E 1px;
  background: #fff;
  transition: all .4s ease-out;
}

@media screen and (max-width: 767px) {
  .anchor-btn a::before {
    top: calc(50% - 16px);
    width: 32px;
    height: 32px;
  }
}

.anchor-btn a:hover:before {
  background: #0B2C5E;
  transition: all .4s ease-out;
}

.btn-business a {
  border: none;
  border-bottom: 1px solid #0B2C5E;
  text-align: left;
}

.btn-business a::after {
  content: '';
  position: absolute;
  top: 42%;
  right: 37px;
  display: block;
  width: 11px;
  height: 14px;
  background-repeat: no-repeat;
  transform: rotate(-90deg);
}

.btn-business a::after {
  transform: rotate(0deg);
  right: 39.5px;
  background: url(../../../img/yoriyasu/business/down.svg) no-repeat center/contain;
}

@media screen and (max-width: 767px) {
  .btn-business a::after {
    top: 38%;
    right: 31.8px;
  }
}

.btn-business a:hover:after {
  background: url(../../../img/yoriyasu/business/down-white.svg) no-repeat center/contain;
}

/* 右側：コンテンツエリア */
.about-content-area {
  display: flex;
  flex-direction: column;
  gap: 120px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.content-section {
  scroll-margin-top: 100px;
}

/* すべてのcontent-sectionに統一されたmax-widthを適用 */
.content-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  background-color: transparent;
}

/* Greetingセクション */
.greeting-section {
  /* max-widthは.content-sectionで統一 */
}

.greeting-section .container {
  width: 100%;
  margin: 0 auto;
}
.greeting-layout {
  display: grid;
  gap: 60px;
  align-items: start;
}

.greeting-header-column {
  position: sticky;
  top: 120px;
  background-color: transparent;
}

/* PC版のみの設定 */
@media screen and (min-width: 768px) {
  .greeting-section {
    position: relative;
    z-index: 10;
  }

  .greeting-layout {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto;
    row-gap: 80px;
    column-gap: 60px;
  }

  .greeting-header-column {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
}

/* 大きなPC画面のみ（1024px以上）でposition: absoluteを適用 */
@media screen and (min-width: 1024px) {
  .greeting-header-column {
    position: absolute;
    top: calc(-40vh);
    z-index: 20;
  }
}

/* タブレットサイズ（768px〜1023px）での調整 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .greeting-section {
    margin-top: 0;
  }

  .greeting-header-column {
    position: static;
  }

  .greeting-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.greeting-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.greeting-title {
  font-size: 50px;
  font-weight: bold;
  color: #0066FF;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

/* PC版のみの設定 */
@media screen and (min-width: 768px) {
  .greeting-title {
    font-size: 66px;
  }
}

.greeting-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 10px;
}

.greeting-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
  margin: 0;
}

.greeting-content-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: transparent;
}

/* PC版のみの設定 */
@media screen and (min-width: 768px) {
  .greeting-content-column {
    grid-row: 2 / 3;
    grid-column: 1 / 4;
  }
}

.greeting-main-heading {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin: 0;
}

.greeting-image {
  width: 100%;
}

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

.greeting-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.greeting-text p {
  margin-bottom: 20px;
}

.greeting-text p:last-child {
  margin-bottom: 0;
}

.greeting-signature {
  text-align: right;
  margin-top: 40px;
  font-weight: bold;
  color: var(--color-text-dark);
}

/* MVVセクション */
.mvv-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;
}

.mvv-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}

.mvv-title {
  font-size: 32px;
  font-weight: bold;
  color: #005AB7;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.mvv-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
  margin: 0;
}

.mvv-content-column {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.mvv-image {
  width: 100%;
}

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

.mvv-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.mvv-section-card {
  padding: 40px 30px;
}

.mvv-section-card h3 {
  padding-left: 0 !important;
  color: #23A0DA;
}

.mvv-sites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.mvv-site-item {
  width: 100%;
}

.mvv-site-item figure {
  margin: 0;
  width: 100%;
}

.mvv-site-item figure img {
  width: 100%;
  height: auto;
  display: block;
}

.mvv-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #23A0DA;
  margin-bottom: 15px;
  letter-spacing: 2px;
  padding-left: 0 !important;
}

.mvv-card-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-text-dark);
  line-height: 1.6;
}

.mvv-card-text {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-gray);
}

.mvv-value-list {
  list-style: none;
  padding-left: 0;
  margin: 15px 0 0 0;
}

.mvv-value-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-gray);
}

.mvv-value-list li::before {
  content: '一、';
  position: absolute;
  left: 0;
  font-weight: bold;
}

.mvv-value-list li:last-child {
  margin-bottom: 0;
}

/* About Usセクション */
.about-us-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.about-us-header-column {
  position: sticky;
  top: 120px;
}

.about-us-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-us-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.about-us-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 10px;
}

.about-us-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
  margin: 0;
}

.about-us-content-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-us-main-heading {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin: 0;
}

.about-us-image {
  width: 100%;
}

.about-us-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.about-us-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.about-us-text p {
  margin-bottom: 20px;
}

.about-us-text p:last-child {
  margin-bottom: 0;
}

.highlight-blue {
  color: var(--color-dark-blue);
  font-weight: bold;
}

/* REGAR MINDセクション */
.regar-mind-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.regar-mind-header-column {
  position: sticky;
  top: 120px;
}

.regar-mind-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.regar-mind-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.regar-mind-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 10px;
}

.regar-mind-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
  margin: 0;
}

.regar-mind-content-column {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.regar-mind-image {
  width: 100%;
}

.regar-mind-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.regar-mind-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
}

.regar-mind-card {
  padding: 0;
}

.regar-mind-card-number {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin-bottom: 15px;
}

.regar-mind-card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-text-dark);
}

.regar-mind-card-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-gray);
}

/* ヒーロー画像セクション */
.hero-image-section {
  width: 100%;
  margin: 60px 0;
}

.hero-image-container {
  width: 100%;
}

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

/* Companyセクション */
.company-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}

.company-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;
}

.company-title {
  font-size: 32px;
  font-weight: bold;
  color: #005AB7;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.company-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 10px;
}

.company-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
  margin: 0;
}

.company-content-column {
  width: 100%;
}

.company-table {
  width: 100%;
}

.company-table-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.company-table-row:first-child {
  border-top: 1px solid #e0e0e0;
}

.company-table-label {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-dark-blue);
  padding-right: 20px;
}

.company-table-value {
  font-size: 16px;
  color: var(--color-text-gray);
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.company-table-value a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-all;
}

.company-bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.company-bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.company-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.company-bullet-list li:last-child {
  margin-bottom: 0;
}

/* Historyセクション */
.history-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.history-header-column {
  position: sticky;
  top: 120px;
}

.history-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.history-title {
  font-size: 32px;
  font-weight: bold;
  color: #005AB7;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.history-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 10px;
}

.history-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
  margin: 0;
}

.history-content-column {
  width: 100%;
  position: relative;
}

.history-timeline {
  position: relative;
  padding-left: 40px;
}

.history-timeline-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-dark-blue);
}

.history-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 30px 0;
  gap: 20px;
}

.history-timeline-marker {
  position: absolute;
  left: -30px;
  top: 30px;
  width: 12px;
  height: 12px;
  background-color: var(--color-dark-blue);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-dark-blue);
  z-index: 2;
}

.history-timeline-year {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: bold;
  color: var(--color-dark-blue);
  min-width: 100px;
}

.history-timeline-content {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-gray);
}

/* Accessセクション */
.access-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.access-header-column {
  position: sticky;
  top: 120px;
}

.access-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.access-title {
  font-size: 32px;
  font-weight: bold;
  color: #005AB7;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.access-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 10px;
}

.access-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
  margin: 0;
}

.access-content-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.access-map-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.access-map-container iframe {
  width: 100%;
  height: 500px;
  border: 0;
}

.access-info {
  width: 100%;
}

.access-address {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--color-text-dark);
}

.access-directions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.access-direction-item {
  padding: 0;
}

.access-direction-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.access-bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.access-bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-gray);
}

.access-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.access-bullet-list li:last-child {
  margin-bottom: 0;
}

/* Join Usバナー */
.join-us-banner {
  width: 100%;
  background-color: var(--color-dark-blue);
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  margin-top: 100px;
}

.join-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.join-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-white);
}

.join-slogan {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--color-white);
}

.join-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--color-white);
}

.join-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--color-accent-yellow);
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.join-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.join-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

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

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
  .greeting-layout,
  .mvv-layout,
  .about-us-layout,
  .regar-mind-layout,
  .company-layout,
  .history-layout,
  .access-layout {
    grid-template-columns: 2fr 3fr;
    gap: 50px;
  }

  .mvv-sections {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mvv-section-card {
    padding: 30px 20px;
  }

  .mvv-sites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .regar-mind-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media screen and (max-width: 1000px) {
  .about-nav-tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .about-tab {
    padding: 12px 20px 12px 20px;
    font-size: 16px;
    padding-right: 60px;
  }

  .about-tab::before {
    top: calc(50% - 14px);
    right: 15px;
    width: 28px;
    height: 28px;
  }

  .about-tab::after {
    top: calc(50% - 7px);
    right: 25px;
    width: 12px;
    height: 15px;
  }

  .about-content-area {
    gap: 80px;
    padding: 0;
    margin-top: 0;
  }

  .greeting-layout,
  .mvv-layout,
  .about-us-layout,
  .regar-mind-layout,
  .company-layout,
  .history-layout,
  .access-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .greeting-header-column,
  .about-us-header-column,
  .regar-mind-header-column,
  .history-header-column,
  .access-header-column {
    position: static;
  }

  .greeting-header,
  .mvv-header,
  .about-us-header,
  .regar-mind-header,
  .company-header,
  .history-header,
  .access-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 50px;
    margin-bottom: 30px;
  }

  .greeting-underline,
  .about-us-underline,
  .regar-mind-underline,
  .company-underline,
  .history-underline,
  .access-underline {
    display: none;
  }

  .regar-mind-cards {
    grid-template-columns: 1fr;
  }

  .access-directions {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 1000px) {
  .greeting-layout,
  .mvv-layout,
  .about-us-layout,
  .regar-mind-layout,
  .company-layout,
  .history-layout,
  .access-layout {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .greeting-header-column {
    position: static !important;
    grid-row: auto;
    grid-column: auto;
  }
}

@media screen and (max-width: 767px) {
  .content-section {
    padding: 40px 20px 60px;
  }

  .recruit-about-section .container {
    margin: 0 auto;
    padding: 0;
  }

  .content-section {
    padding: 40px 20px 60px;
  }

  .greeting-section .container {
    margin: 0 auto;
    padding: 0;
  }

  .about-content-area {
    gap: 60px;
  }

  .greeting-title br {
    display: none;
  }

  .mvv-title,
  .about-us-title,
  .regar-mind-title,
  .company-title,
  .history-title,
  .access-title {
    font-size: 32px;
  }

  .mvv-subtitle,
  .company-subtitle,
  .history-subtitle,
  .access-subtitle {
    font-size: 16px;
  }

  .greeting-main-heading,
  .about-us-main-heading {
    font-size: 22px;
  }

  .greeting-text,
  .about-us-text,
  .mvv-card-text,
  .regar-mind-card-text,
  .history-timeline-content,
  .access-bullet-list li {
    font-size: 14px;
  }

  .mvv-card-subtitle {
    font-size: 18px;
  }

  .mvv-section-card {
    padding: 30px 20px;
  }

  .mvv-sites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .regar-mind-card-number {
    font-size: 28px;
  }

  .company-table-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .company-table-label {
    padding-right: 0;
    margin-bottom: 5px;
  }

  .company-table-value {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .company-table-value a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
  }

  .history-timeline {
    padding-left: 30px;
  }

  .history-timeline-line {
    left: 14px;
  }

  .history-timeline-marker {
    left: -20px;
    width: 10px;
    height: 10px;
  }

  .history-timeline-year {
    min-width: 80px;
    font-size: 18px;
  }

  .history-timeline-content {
    font-size: 14px;
  }

  .join-title {
    font-size: 36px;
  }

  .join-slogan {
    font-size: 20px;
  }

  .join-text {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .content-section {
    padding: 30px 15px 50px;
  }

  .mvv-section-card {
    padding: 0;
  }

  .greeting-title,
  .mvv-title,
  .about-us-title,
  .regar-mind-title,
  .company-title,
  .history-title,
  .access-title {
    font-size: 32px;
  }

  .mvv-subtitle,
  .company-subtitle,
  .history-subtitle,
  .access-subtitle {
    font-size: 16px;
  }

  .join-title {
    font-size: 32px;
  }
}
