@charset "utf-8";

/* Block: page-visual */
.page-visual {
  z-index: 1;
  background-image: url("../img/page-visual/page-visual_about.jpg");
}

/* section--mission */
.section--mission {
  position: relative;
  z-index: 0;
  min-height: 480px;
  margin-top: -176px;
  padding: 288px 0 144px 0;
  background-color: #fff;
  background-image:
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 19px,
      #eee 19px,
      #eee 20px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 19px,
      #eee 19px,
      #eee 20px
    );
}

.mission__title {
  text-align: center;
}

.mission__desc {
  margin-top: 40px;
  text-align: center
}

.mission__text {
  margin-bottom: 32px;
}

.mission__text:last-child {
  margin-bottom: 0;
}

/* section--greeting */
.greeting__inner {
  position: relative;
}

.greeting__content {
  position: relative;
  width: 51%;
  height: 560px;
  padding-top: 32px;
  margin-left: auto;
}

.section--greeting {
  position: relative;
}

.section--greeting::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 80px;
  left: 0;
  width: 44%;
  height: 480px;
  background-image: url("../img/about/about_ceo.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0 24px 24px 0;
}

.greeting__desc {
  margin-top: 40px;
}

.greeting__text {
  line-height: 2;
}

.greeting__ceo {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.greeting__ceo-pos {
  font-size: 1.2em;
}

.greeting__ceo-name {
  font-size: 24px;
}

/* section--overview */
.section--overview {
  background-color: #e9f2f7;
}

.overview__content {
  padding: 48px;
  background-color: #fff;
  border-radius: 16px;
}

.overview__item {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #5a5a5a;
}

.overview__item:last-child {
  border-bottom: none;
}

.overview__term {
  width: 10%;
  font-weight: normal;
}

.overview__desc {
  width: 90%;
}

/* .overview__term,
.overview__desc {
  font-size: 16px;
} */

.overview__desc-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.overview__desc-wrap:last-child {
  margin-bottom: 0;
}

.overview__links {
  display: flex;
  gap: 16px;
}

.overview__list-link {
  padding: 16px;
  text-align: left;
}

.overview__list-link .button__text {
  display: block;
}

/* section--history */
.section--history {
  overflow-x: hidden;
  background-color: #d8e5f0;
}

.timeline-block {
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  /* 右側を画面端まで伸ばす */
  margin-right: calc(-50vw + 50%);
}

.timeline-controls {
  position: absolute;
  top: 20px;
  right: 120px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.timeline-controls button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 100vw;
  background-color: transparent;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0082c8;
  border: 1px solid #0082c8;
  transition: .3s;
}

.timeline-controls button:hover {
  color: #fff;
  background-color: #0082c8;
  transform: scale(1.05);
}

.timeline-controls button:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: .4;
}

.timeline-forsp {
  display: none;
  padding: 8px 16px;
  color: #0082c8;
  border-radius: 100vw;
  background-color: #fff;
}


.timeline-wrapper {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  /* 右側のパディングを追加して画面端まで使用可能にする */
  padding-right: calc(50vw - 50%);
}

.timeline-wrapper:active {
  cursor: grabbing;
}

.timeline-block__line {
  position: relative;
  display: flex;
  align-items: normal;
  gap: 60px;
  padding: 160px 0;
  transition: transform 0.3s ease;
  min-width: max-content;
}

.timeline-block__line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(90deg, #4682b4, #87ceeb);
  border-radius: 2px;
}

.timeline-block__event {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  min-width: 200px;
  max-width: 280px;
  flex-shrink: 0;
}

.timeline-block__event::before {
  content: '';
  position: absolute;
  left: 12px;
  width: 1px;
  height: 32px;
  border-left: 1px solid #0082c8;
}

.timeline-block__event::after {
  content: '';
  position: absolute;
  left: 5px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 1px solid #0082c8;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timeline-block__event:nth-child(odd) {
  top: 104px;
  justify-content: flex-start;
}

.timeline-block__event:nth-child(even) {
  bottom: 104px;
  flex-direction: column-reverse;
  justify-content: flex-start;
}

.timeline-block__event:nth-child(odd)::before {
  top: -44px;
}

.timeline-block__event:nth-child(even)::before {
  bottom: -44px;
}

.timeline-block__event:nth-child(odd)::after {
  top: -56px;
}

.timeline-block__event:nth-child(even)::after {
  bottom: -54px;
}

.timeline-year {
  font-size: 32px;
  letter-spacing: 2px;
  color: #4682b4;
  line-height: 1;
}

.timeline-year__month {
  margin-left: 8px;
  font-size: 16px;
}

.timeline-content {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.timeline-indicator {
  position: absolute;
  top: 24px;
  left: 148px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(70, 130, 180, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-dot.active {
  background: #4682b4;
  transform: scale(1.2);
}

/* section--qualifications */
.section--qualifications {
  padding: 120px 0;
}

.qualifications {
  display: flex;
  flex-wrap: wrap;
}

.qualifications__list {
  display: flex;
  flex-direction: column;
  width: 33.333%;
}

.qualifications__item {
  padding: 16px;
}


@media (max-width: 1024px) {

}

@media (max-width: 767px) {
/* section--mission */
.section--mission {
  padding: 240px 0 80px 0;
}

/* section--greeting */
.section--greeting::before {
  top: 104px;
  right: 0;
  left: initial;
  width: 84%;
  height: 240px;
  border-radius: 24px 0 0 24px;
}

.section--greeting .section__label {
  top: -240px;
}

.greeting__content {
  width: 100%;
  height: 100%;
  margin-top: 320px;
  padding-top: 0;
}

/* section--overview */
.overview__content {
  padding: 24px;
}

.overview__item {
  gap: 16px;
  flex-wrap: wrap;
}

.overview__term {
  width: 100%;
  font-size: 1.2em;
}

.overview__desc {
  width: 100%;
}

.overview__desc-wrap {
  flex-wrap: wrap;
}

.overview__links {
  flex-wrap: wrap;
}

.overview__link-item {
  width: 100%;
}

.overview__list-link {
  display: block;
}

/* section--history */
.timeline-block__event {
  min-width: 180px;
  max-width: 220px;
  padding: 16px 8px;
}

.timeline-year {
  font-size: 24px;
}

.timeline-content {
  font-size: 13px;
}

.timeline-controls button {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.timeline-forsp {
  display: inline-block;
}

.timeline-block {
  overflow-y: scroll;
  padding: 0 24px;
}

.timeline-wrapper {
  overflow-x: scroll;
  padding-right: 0;
}

.timeline-controls,
.timeline-indicator {
  display: none;
}

.timeline-block__line {
  gap: 24px;
  padding: 104px 0;
}

.timeline-block__event:nth-child(odd)::before {
  top: -32px;
}

.timeline-block__event:nth-child(odd)::after {
  top: -46px;
}

.timeline-block__event:nth-child(even)::before {
  bottom: -32px;
}

.timeline-block__event:nth-child(even)::after {
  bottom: -45px;
}

/* section--qualifications */
.section--qualifications {
  padding: 48px 0;
}

.qualifications__list {
  width: 100%;
}

}