/*==============================================================
company
==============================================================*/
/*共通*/

.nav-list li:nth-child(2) a::before {
  content: "";
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 4px;
  border-radius: 50px;
  background-color: #2e377b;

  @media (max-width: 768px) {
    display: none;
  }
}

.footer-menu li:nth-child(2) a {
  border-bottom: 1px solid #2e377b;

  @media (max-width: 768px) {
    border-bottom: unset;
  }
}

.sec-fv-main-ttl {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  text-align: left;

  @media (max-width: 768px) {
    padding: 0 16px;
  }
}

.sec-fv-main-ttl p {
  font-size: clamp(2rem, 0.6667rem + 2.7778vw, 4rem);
  font-weight: 600;
  color: #333;
  font-family: "Raleway", sans-serif;
  font-weight: 800;

  @media (max-width: 768px) {
    line-height: 32px;
  }
}

.sec-fv-main-img {
  background-image: url(../assets/img/company/fv.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  padding: 0 32px;

  @media (max-width: 768px) {
    height: 120px;
    padding: 0 16px;
  }
}

.sev-fv-img-cont {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  text-align: left;
  padding: 16px 32px;

  @media (max-width: 768px) {
    padding: 8px 0px;
  }
}

.sec-ttl-jp {
  display: inline-block;
  font-size: clamp(1rem, 0.5833rem + 0.8681vw, 1.625rem);
  color: white;
  padding: 4px 24px;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(135deg, #30387b, #466bac);
}

.sec-ttl-eng {
  padding: 0 32px;

  @media (max-width: 768px) {
    padding: 0;
  }
}

.lower-common-ttl-box {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  @media (max-width: 768px) {
    margin-bottom: 16px;
  }
}

.lower-common-ttl-eng {
  font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: #333;
}

.lower-common-ttl-jpn {
  font-size: clamp(0.875rem, 0.7917rem + 0.1736vw, 1rem);
  display: inline-block;
  color: #fff;
  padding: 4px 24px;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(135deg, #30387b, #466bac);
}

.behind-ttl {
  position: absolute;
  opacity: 0.2;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  width: 100%;

  @media (max-width: 768px) {
    top: -10px;
    overflow: hidden;
  }
}

.sec-behind-ttl {
  font-size: clamp(2.5rem, -7.2917rem + 20.3993vw, 17.1875rem);
  white-space: nowrap;
  font-weight: 700;
  font-family: "Raleway", sans-serif;
  line-height: 140px;
  text-align: center;

  @media (max-width: 768px) {
    line-height: 40px;
  }
}

.sec {
  margin-top: 100px;

  @media (max-width: 768px) {
    margin-top: 80px;
  }
}

.sec-cont {
  padding: 60px 0;
  position: relative;

  @media (max-width: 768px) {
    padding: 0px 0;
  }
}

/*==============================================================
メッセージ*/
.message {
  position: relative;
}
.message .lower-common-ttl-eng {
  color: #fff;

  @media (max-width: 768px) {
    color: #333 !important;
  }
}
.message-cont {
  padding: 80px 0;
  gap: 40px;

  @media (max-width: 768px) {
    padding: 32px 0;
    gap: 8px;
  }
}

.message-box {
  background-image: url(../assets/img/company/message-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 568px;
  align-items: center;
  position: relative;

  @media (max-width: 768px) {
    background-image: unset;
    flex-direction: column;
    height: auto;
  }
}

.message-item {
  max-width: 1480px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: flex-end;

  @media (max-width: 768px) {
    flex-direction: column-reverse;
    background-color: #000;
    gap: 24px;
    padding: 16px;
  }
}

.message-ttl-box {
  width: 45%;
  gap: 16px;
  position: relative;
  z-index: 1;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.message-ttl {
  font-size: clamp(1.5rem, 0.5rem + 2.0833vw, 3rem);
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid #30387b;
}

.message-ttl span {
  background-color: #30387b;
  padding: 0 8px;

  @media (max-width: 768px) {
    padding: 0 2px;
  }
}

.message-txt {
  line-height: 32px;
  color: white;

  @media (max-width: 768px) {
    line-height: 24px;
  }
}

.president-role {
  color: #fff;
  padding: 4px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, #30387b, #466bac);
  text-align: center;
  font-family: "kokuryu", sans-serif;
  font-size: clamp(0.875rem, 0.7917rem + 0.1736vw, 1rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}

.president-name {
  color: #fff;
  font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);
  font-family: "kokuryu", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

.message-behind {
  position: absolute;
  font-size: clamp(2.5rem, -7.2917rem + 20.3993vw, 17.1875rem);
  opacity: 0.2;
  top: 0;
  left: 20px;
}

.message-behind-txt {
  font-size: clamp(2rem, 0rem + 4.1667vw, 5rem);
  color: #fff;
  top: 0;
  left: -200px;
  font-weight: 600;
  position: relative;
  z-index: -1;

  @media (max-width: 768px) {
    top: 310px;
    left: -40px;
  }
}

/*==============================================================
会社情報*/
.info-cont {
  padding: 80px 32px;

  @media (max-width: 768px) {
    padding: 32px 16px;
  }
}

.info-box {
  max-width: 1520px;
  margin: 0 auto;
}

.info-box .lower-common-ttl-box {
  align-items: flex-start;
}

.info-wrap {
  border-top: 1px solid #ccc;
  justify-content: flex-end;
}

.info-table {
  width: 77%;
  border-collapse: collapse;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.info-table th {
  width: 30%;
  padding: 40px;
  text-align: left;
  font-weight: 600;
  vertical-align: middle;
  border-bottom: 1px solid #466bac;
  color: #30387b;
  font-size: clamp(1rem, 1rem + 0vw, 1rem);

  @media (max-width: 768px) {
    padding: 8px;
  }
}

.info-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #ccc;
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
}

/*==============================================================
アクセス*/
.access-cont {
  padding: 16px 32px;
  background-image: url(../assets/img/company/access-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;

  @media (max-width: 768px) {
    padding: 32px 16px;
  }
}

.access-box {
  max-width: 1520px;
  margin: 0 auto;
  gap: 32px;
  justify-content: space-between;

  @media (max-width: 768px) {
    flex-direction: column-reverse;
    gap: 16px;
  }
}

.access-item {
  border-radius: 15px;
  overflow: hidden;
  width: 75%;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.access .lower-common-ttl-box {
  align-items: flex-end;
}

.access-item iframe {
  width: 100%;
  height: 520px;
  max-width: 1200px;
  border: 0;
}

@media screen and (max-width: 768px) {
  .access-item iframe {
    height: 300px; /* スマホ用に小さく */
  }
}
