@charset "UTF-8";
/* =====================
	会社案内
 ======================= */
.page-ttl {
  margin-bottom: 4.22%;
}

.slogan {
  font-size: 200%;
  font-weight: bold;
  margin-bottom: 6.75%;
}

/** ------------------------ greeting ------------------------ **/
.greeting {
  margin-bottom: 5.26%;
}

.greeting .greeting-txt:nth-of-type(n + 2) {
  margin-top: 1.5em;
}

.greeting .ceo-img {
  width: 26.58%;
  float: right;
  margin: 0 0 4.67% 5%;
}

.greeting .ceo-img figcaption {
  text-align: center;
  color: #333333;
  margin-top: 4.7%;
}

/** ------------------------ motto ------------------------ **/
.motto {
  margin-bottom: 5.21%;
  background: url(../img/profile/motto-bg.png) 43% 182% / 112% no-repeat;
}

.motto .motto-txt {
  margin-bottom: 4.58%;
}

.motto .philosophy-figure {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.motto .philosophy-figure.visible {
  opacity: 1;
  transform: translateY(0);
}

.motto .round-shape3-img {
  width: 66%;
  margin: 0 auto;
  opacity: 0.7;
}

.motto .philosophy {
  width: 43.33%;
  position: absolute;
  border-radius: 40px;
  overflow: hidden;
}

.motto .philosophy01 {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.motto .philosophy02 {
  top: 50%;
  left: -3%;
}

.motto .philosophy03 {
  top: 50%;
  right: -3%;
}

.motto .philosophy-ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 250%;
  font-weight: bold;
  color: var(--c_white);
  padding: 1.15% 1em 1.73%;
}

.motto .philosophy01 .philosophy-ttl {
  background-color: #003c9f;
}

.motto .philosophy02 .philosophy-ttl {
  background-color: #01307e;
}

.motto .philosophy03 .philosophy-ttl {
  background-color: #0f57ce;
}

.motto .philosophy-ttl span {
  font-size: 80%;
}

.motto .philosophy-txt {
  display: flex;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 6.35% 1em 7.69%;
}

/** ------------------------ profile ------------------------ **/
.profile {
  margin-bottom: 5.26%;
}

.profile .profile-list {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 2.05em 1em;
}

/** ------------------------ location ------------------------ **/
.location {
  margin-bottom: 5.21%;
}

.location .sec-ttl2 {
  margin-bottom: 0;
}

.location address {
  width: fit-content;
  margin: 0 auto;
  font-style: normal;
  margin-bottom: 1%;
}

.location .map {
  width: 100%;
}

.location .map iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

.location .map-link {
  color: #333333;
}

/** ------------------------ history ------------------------ **/
.history {
  padding: 4.01% 0 3.28%;
  background: url(../img/profile/history-bg.png) 0% 0% / contain no-repeat;
  background-color: #edf1f7;
  position: relative;
  overflow: hidden;
}

.history .sec-ttl2 {
  margin-bottom: 2.35em;
}

.history .timeline {
  display: grid;
  grid-template-columns: 7.45em 19% 1fr;
  row-gap: 2.55em;
}

.history .timeline dt {
  grid-column: 1;
}

.history .timeline dt img {
  transform: translateY(-25%);
}

.history .timeline dd {
  grid-column: 3;
  position: relative;
}

.history .timeline dd::before {
  content: "";
  width: 5px;
  /* ddの高さ＋gap分の高さ */
  height: calc(100% + 2.55em);
  background-color: var(--c_white);
  position: absolute;
  /* p::beforeのtop分の高さ */
  top: 0.3em;
  left: -16%;
  transform: translateX(-50%);
}

.history .timeline dd:last-of-type:before {
  content: none;
}

.history .timeline dd p {
  position: relative;
}

.history .timeline dd p:nth-child(n + 2) {
  margin-top: 2.55em;
}

.history .timeline dd p::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  background-color: #3467b6;
  border-radius: 50%;
  position: absolute;
  left: -16%;
  top: 0.3em;
  transform: translateX(-50%);
  z-index: 10;
}

.history .timeline dd p strong {
  font-weight: bold;
  color: #3467b6;
}

.history .round-shape-img {
  width: 23.96%;
  opacity: 0.3;
  transform: rotate(133deg);
  position: absolute;
  bottom: 2%;
  right: -4%;
}

/** ------------------------ 下層ページフッター ------------------------ **/
.footer-sub {
  background-color: #edf1f7;
}

/** -------------------- タブレット -------------------- **/
@media (max-width: 1280px) {
  /** ------------------------ motto ------------------------ **/
  .motto {
    background-position: 43% 92%;
  }
}

/** -------------------- スマホ -------------------- **/
@media (max-width: 699px) {
  .page-ttl {
    margin-bottom: 25px;
  }

  .slogan {
    font-size: 20px;
    margin-bottom: 25px;
  }

  /** ------------------------ greeting ------------------------ **/
  .greeting {
    margin-bottom: 100px;
  }

  .greeting .ceo-img {
    width: 100%;
    max-width: 300px;
    float: none;
    margin: 0 auto 25px auto;
  }

  /** ------------------------ motto ------------------------ **/
  .motto {
    margin-bottom: 100px;
    background-position: 43% 100%;
  }

  .motto .motto-txt {
    margin-bottom: 100px;
  }

  .motto .philosophy {
    border-radius: 15px;
  }

  .motto .philosophy-ttl {
    font-size: 16px;
  }

  .motto .philosophy-txt {
    font-size: 10px;
  }

  /** ------------------------ profile ------------------------ **/
  .profile {
    margin-bottom: 100px;
  }

  .profile .profile-list {
    gap: 25px 1em;
  }

  /** ------------------------ location ------------------------ **/
  .location {
    margin-bottom: 50px;
  }

  .location .sec-ttl2 {
    margin-bottom: 25px;
  }

  /** ------------------------ history ------------------------ **/
  .history {
    padding: 50px 0;
  }

  .history .sec-ttl2 {
    margin-bottom: 25px;
  }

  .history .timeline {
    grid-template-columns: 5em 19% 1fr;
  }

  .history .timeline dt img {
    transform: translateY(-15%);
  }

  .history .round-shape-img {
    width: 50%;
    right: -9%;
  }
}
