/* 罫線のスタイル */
.section-divider {
  border-top: 1px solid #707070;
  width: 100%;
}
/* TOPセクション */
.top-section {
  position: relative;
  text-align: center;
  background-color: #f4f4f4;
  margin-top: 60px; /* ナビゲーションバーに被らないように上にマージンを追加 */
  overflow: hidden; /* 画像がセクションからはみ出さないようにする */
}
.top-image {
  width: 100%;
  height: 320px; /* PCで縦幅25% */
  overflow: hidden;
  position: relative;
}
.top-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* 画像の縦横比を維持しつつ、上下中央を基準にトリミング */
}
.top-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.top-icon {
  width: 120px; /* PC表示で横幅30% */
  height: auto;
  margin-bottom: 10px;
}
.top-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  white-space: nowrap; /* 改行を防ぐ */
}
@media (max-width: 768px) {
  .top-image {
    height: 300px; /* モバイルで縦幅40% */
  }
  .top-icon {
  width: 100px; /* モバイル表示で横幅50% */
  }
}
/* 本文セクション */
.content-section {
  background-color: #ffffff;
  padding-top: 60px;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 60px;
  background-image: radial-gradient(#E5F8ED 10%, transparent 10%), radial-gradient(#E5F8ED 10%, transparent 10%);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  text-align: left; /* テキストは左揃え */
}
.container {
  max-width: 1140px;
  margin: 0 auto;
}
.content-text {
  font-size: 20px; /* PC表示で26px */
  color: #707070;
  line-height: 1.8;
}
.content-image {
  width: 100%;
  height: auto;
  border: 5px solid #ffffff; /* 5pxの白い線縁 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* ドロップシャドウ */
}
@media (max-width: 992px) {
  .content-text {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .content-text {
    font-size: 16px;
    text-align: center;
  }
}
/* 「私たちにとってアルバムとは」セクション */
.album-section {
  background-color: #ffffff;
  padding: 60px 0;
  background-image: repeating-linear-gradient(-45deg, white, white 3px, #F4F4F4 3px, #F4F4F4 6px);
}
.album-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.album-image {
  width: 100%;
  height: auto;
}
.album-text-wrapper {
  padding-left: 30px;
}
.album-title {
  position: relative;
  padding-bottom: 1rem; /* テキストと罫線の隙間を広げる */
  margin-bottom: 3rem; /* 罫線から画像までの隙間を広げる */
  color: black; /* 文字色を黒に変更 */
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid black; /* ボーダーを黒に変更 */
  font-weight: normal;
}
.album-description {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.album-description li {
  font-size: 18px;
  color: #707070;
  line-height: 2.5;
}
/* 「データで見るEnDoのアルバム」セクション */
.album-data-section {
  background-color: #ffffff;
  padding: 60px 0;
  text-align: center;
}
.album-data-title {
  position: relative;
  padding-bottom: 1rem; /* テキストと罫線の隙間を広げる */
  margin-bottom: 3rem; /* 罫線から画像までの隙間を広げる */
  text-align: center;
  color: black; /* 文字色を黒に変更 */
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid black; /* ボーダーを黒に変更 */
  font-weight: normal;
}
.album-data-title:before, .album-data-title:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.album-data-title:before {
  border: 24px solid;
  border-color: transparent;
  border-top-color: black;
  margin-left: -24px;
}
.album-data-title:after {
  border: 20px solid;
  border-color: transparent;
  border-top-color: white;
  margin-left: -20px;
}
.data-album-image {
  width: 100%;
  height: auto;
}
/* 会社概要セクション */
.company-info-section {
  background-color: #ffffff;
  padding: 60px 0;
}
.company-info-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  text-align: center;
  color: black;
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid black;
  font-weight: normal;
  margin-left: 50%;
  transform: translateX(-50%);
}
.company-info-title:before, .company-info-title:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.company-info-title:before {
  border: 24px solid;
  border-color: transparent;
  border-top-color: black;
  margin-left: -24px;
}
.company-info-title:after {
  border: 20px solid;
  border-color: transparent;
  border-top-color: white;
  margin-left: -20px;
}
.company-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.company-info-table th {
  border-top: 1px solid #dddddd; /* 横線を追加 */
  border-bottom: 1px solid #dddddd; /* 横線を追加 */
  text-align: center;
  padding-top: 20px;
  padding-right: 0px;
  padding-left: 0px;
  padding-bottom: 20px;
  font-size: 18px;
  color: #333333;
  position: relative;
  width: 20px;
}
.company-info-table td {
  border-top: 1px solid #dddddd; /* 横線を追加 */
  border-bottom: 1px solid #dddddd; /* 横線を追加 */
  padding-top: 20px;
  padding-right: 0px;
  padding-left: 0px;
  padding-bottom: 20px;
  font-size: 18px;
  color: #333333;
  position: relative;
  width: 10px;
}
.company-info-table th:after {
  content: "●";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #333333;
}
.company-info-table td {
  text-align: left;
  padding-left: 20px;
  background-color: transparent;
}
/* 会社画像エリア */
.company-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.company-image-item {
  text-align: center;
}
.company-image {
  width: 100%;
  height: auto;
}
.company-image-caption {
  margin-top: 10px;
  font-size: 16px;
  color: #707070;
}
/* 沿革セクション */
.history-section {
  background-color: #ffffff;
  padding: 60px 0;
}
.history-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  text-align: center;
  color: black;
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid black;
  font-weight: normal;
  margin-left: 50%;
  transform: translateX(-50%);
}
.history-title:before, .history-title:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.history-title:before {
  border: 24px solid;
  border-color: transparent;
  border-top-color: black;
  margin-left: -24px;
}
.history-title:after {
  border: 20px solid;
  border-color: transparent;
  border-top-color: white;
  margin-left: -20px;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.history-table td {
  border-TOP: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  padding: 12px;
  font-size: 16px;
  color: #333333;
}
.history-table td:first-child {
  width: 20%;
  text-align: center; /* 年号を中央揃えに */
}
.history-table td:nth-child(2) {
  width: 5%;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}
.history-table td:last-child {
  width: 65%;
  text-align: left;
}
.history-description {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  text-align: left;
}
/* 画像エリア */
.history-image-item {
  text-align: center;
}
.history-image {
  width: 100%;
  height: auto;
}
.history-image-caption {
  margin-top: 10px;
  font-size: 16px;
  color: #707070;
}
/* 拠点、グループ概要セクション */
.group-info-section {
  background-color: #ffffff;
  padding: 60px 0;
}
.group-info-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  text-align: center;
  color: black;
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid black;
  font-weight: normal;
  margin-left: 50%;
  transform: translateX(-50%);
}
.group-info-title:before, .group-info-title:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.group-info-title:before {
  border: 24px solid;
  border-color: transparent;
  border-top-color: black;
  margin-left: -24px;
}
.group-info-title:after {
  border: 20px solid;
  border-color: transparent;
  border-top-color: white;
  margin-left: -20px;
}
.group-main-image {
  text-align: center;
}
.group-main-img {
  width: 100%;
  height: auto;
}
.group-details {
  margin-top: 30px;
  border-radius: 10px;
  border: 1px solid #dddddd;
  padding: 20px;
  background-color: white;
}
.group-details-box {
  text-align: center;
}
.group-details-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.group-details-title::before {
  content: "●";
  margin-right: 10px;
  font-size: 14px;
  color: #333333;
}
.company-logo {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.company-address {
  font-size: 16px;
  color: #555555;
}
/* アクセスセクション */
.access-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.access-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    text-align: center;
    color: black;
    font-family: 'Noto Serif Japanese', serif;
    display: inline-block;
    border-bottom: 3px solid black;
    font-weight: normal;
    margin-left: 50%;
    transform: translateX(-50%);
}

.access-title:before,
.access-title:after {
    position: absolute;
    top: 100%;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
}

.access-title:before {
    border: 24px solid;
    border-color: transparent;
    border-top-color: black;
    margin-left: -24px;
}

.access-title:after {
    border: 20px solid;
    border-color: transparent;
    border-top-color: white;
    margin-left: -20px;
}

.access-info {
    margin-bottom: 20px;
}

.office-name {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
}
/* 罫線のスタイル */
.office-divider {
  height: 3px;
  display: flex;
  margin: 10px 0;
}
.office-divider::before {
  content: "";
  flex: 0 0 30%; /* 左側30% */
  background-color: #294583; /* 青色 */
}
.office-divider::after {
  content: "";
  flex: 1; /* 右側70% */
  background-color: #B1B1B1; /* 黒色 */
}
.office-name-jp {
    font-size: 16px;
    font-weight: bold;
    color: #555555;
}

.address {
    font-size: 14px;
    color: #555555;
    margin-bottom: 5px;
}

.access-method {
    font-size: 14px;
    color: #777777;
    margin-bottom: 10px;
}

.map-link {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.map-icon {
    font-size: 12px;
}

.access-image {
    text-align: center;
    margin-top: 20px; /* モバイル表示の時に上に余白を追加 */
}

.office-image {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ調整 */
@media (min-width: 768px) {
    .access-image {
        margin-top: 0; /* PC表示では余白をリセット */
    }
}