@charset "utf-8";

.mv-page-img {
  background: url(../aboutus/img/mv-aboutus_pc.jpg) no-repeat;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .mv-page-img {
    background: url(../aboutus/img/mv-aboutus_sp.jpg) no-repeat;
    background-size: cover;
  }
}

/* message
----------------------------------------------------------------------------------------------------*/
.message-copy {
  width: 100%;
  max-width: 915px;
  margin: 0 auto 100px;
}

.message-contents {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.message-text {
  width: 50%;
}

.message-copy2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 60px;
  line-height: 1.6;
}

.message-sentence {
  font-size: 2.4rem;
  line-height: 1.9;
  margin-bottom: 55px;
  letter-spacing: -1px;
}

.president-name {
  text-align: right;
  font-size: 1.8rem;
  line-height: 1.3;
}

.president-name span {
  font-size: 2.4rem;
}

.president-img {
  width: 50%;
}

@media screen and (max-width: 1510px) {
  .message-contents {
    display: block;
    margin-bottom: 32px;
  }

  .message-text {
    margin-bottom: 40px;
    width: 100%;
  }

  .president-img {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {

  .message-copy {
    width: 100%;
    max-width: 270px;
    margin: 0 auto 50px;
  }

  .message-copy2 {
    font-size: 1.8rem;
    margin-bottom: 34px;
  }


  .message-sentence {
    font-size: 1.6rem;
    margin-bottom: 40px;
    letter-spacing: -0.2px;
  }

  .president-name {
    font-size: 1.4rem;
  }

  .president-name span {
    font-size: 2.0rem;
  }
}


/* history
----------------------------------------------------------------------------------------------------*/

#history {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.history-text {
  width: 50%;
}

.history-title {
  font-size: 2.8rem;
  padding: 18px 0;
  border-bottom: solid 1px #cccccc;
  margin-bottom: 30px;
}

.history-text ul {
  padding: 0;
  list-style-type: none;
  font-size: 2.4rem;
  letter-spacing: -0.8px;
}

.history-text ul li {
  margin-bottom: 25px;
}

.history-text ul li span.year {
  margin-right: 32px;
}

.history-text ul li span.month {
  margin-right: 56px;
}


.history-img {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 50%;
  box-sizing: border-box;
  align-content: start;
}

/* 各セルをアスペクト比 368x200 に固定 */
.history-img>div {
  position: relative;
  /* フォールバック用 padding テクニックで必要 */
  overflow: hidden;
  background: #f7f7f7;
  /* モダンブラウザ：aspect-ratio を指定 */
  aspect-ratio: 368 / 200;
  /* = 1.84 */
  padding: 0;
  margin: 0;
}


/* 画像は枠にフィット（切り取りあり） */
.history-img>div img {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0; と同じ */
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 枠いっぱいに埋める（切り取り） */
  object-position: center;
}

@media screen and (max-width: 1510px) {

  #history {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 90px;
  }

  .history-text {
    width: 100%;
  }

  .history-img {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {

  .history-title {
    font-size: 1.8rem;
    padding: 0 0 16px;
    margin-bottom: 20px;
  }

  .history-text ul {
    font-size: 1.4rem;
  }

  .history-text ul li {
    margin-bottom: 20px;
  }

  .history-text ul li span.year {
    margin-right: 12px;
  }

  .history-text ul li span.month {
    margin-right: 24px;
  }
}

@media (max-width: 767px) {
  #message {
    margin: 5rem auto 0;
  }
}


















