@charset "utf-8";
/*
Theme Name: ビー・ビーエーHP
Author: 株式会社ビー・ビー・エー
*/

/* Main Content */

/* Block: main-visual */
.main-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75vh;
  background-image: url("../img/top/top_mv.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0 0 200px 0;
}

.main-visual::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  background: linear-gradient(0deg,rgba(255, 255, 255, 0.6) 60%, rgba(0, 101, 171, 0.6) 100%);
  border-radius: 0 0 200px 0;
  mix-blend-mode: multiply;
}

.main-visual__content {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
}

.main-visual__title {
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 80px;
  line-height: 1.2;
  letter-spacing: 8px;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.main-visual__subtitle {
  font-weight: bold;
  font-size: 24px;
  margin-top: 10px;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

/* Block: section */
.top-heading {
  letter-spacing: 6px;
  text-shadow:
  1px 1px 32px rgba(255, 255, 255, 1),
  -1px 1px 32px rgba(255, 255, 255, 1),
  1px -1px 32px rgba(255, 255, 255, 1),
  -1px -1px 32px rgba(255, 255, 255, 1);
}

/* section--about */
.section--about {
  position: relative;
  z-index: 1;
}

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

.about__inner {
  position: relative;
  z-index: 1;
}

.about__content {
  position: relative;
  width: 50%;
  height: 480px;
  padding-top: 160px;
  margin-left: auto;
}

.about__title {
  position: absolute;
  top: 0;
  right: 0;
  line-height: 2;
  font-size: 32px;
  white-space: nowrap;
}

.about__desc {
  margin-left: 16vw;
}

.about__text {
  line-height: 2;
}

.about__button {
  margin-top: 40px;
}

.about__lineup {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 24px;
}

.about__lineup-item {
  position: relative;
  width: 25%;
}

.about__lineup-image {
  border-radius: 24px;
}

.about__lineup-item:nth-child(1),
.about__lineup-item:nth-child(4) {
  position: relative;
}

.about__lineup-item:nth-child(1)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -24px;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #0082c8;
}

.about__lineup-item:nth-child(4)::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -48px;
  width: 125%;
  height: 1px;
  border-bottom: 1px solid #0082c8;
}

/* section--services */
.section--services {
  position: relative;
  z-index: 1;
  margin-top: 80px;
}

.section--services::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 24px;
  right: 400px;
  width: 360px;
  height: 480px;
  background-image: url("../img/top/services_img01.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 32px;
}

.section--services::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 80px;
  right: 0;
  width: 360px;
  height: 480px;
  background-image: url("../img/top/services_img02.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 32px 0 0 32px;
}

.services__inner .section__label {
  top: -80px;
}

.services__content {
  position: relative;
  width: 50%;
  height: 480px;
  padding-top: 160px;
  margin-right: auto;
  margin-left: 0;
}

.services__title {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 2;
  font-size: 32px;
  white-space: nowrap;
}

.services__desc {
  margin-right: 10vw;
  margin-left: 0;
}

.services__text {
  line-height: 2;
  text-shadow:
  1px 1px 32px rgba(255, 255, 255, 1),
  -1px 1px 32px rgba(255, 255, 255, 1),
  1px -1px 32px rgba(255, 255, 255, 1),
  -1px -1px 32px rgba(255, 255, 255, 1);
}

.services__button {
  margin-top: 40px;
}

/* section--equipment */
.section--equipment {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(29, 76, 114, 0.3);
  border-radius: 0 0 32px 32px;
}

.section--equipment::before {
  content: "";
  position: absolute;
  top: 80px;
  right: 0;
  width: 400px;
  height: 1px;
  border-top: 1px solid #0082c8;
}

.section--equipment::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 5%;
  width: 1px;
  height: 320px;
  border-right: 1px solid #0082c8;
}

.equipment__content {
  padding-top: 80px;
}

.equipment__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 24px;
}

.equipment__item {
  width: 25%;
}

.equipment__link {
  position: relative;
  display: block;
  height: 320px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 40px;
}

.equipment__link::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #000;
  border-radius: 40px;
  opacity: .3;
}

.equipment__item:nth-child(1) .equipment__link {
  position: relative;
  background-image: url(../img/top/equipment_img01.jpg);
}

.equipment__item:nth-child(2) .equipment__link {
  background-image: url(../img/top/equipment_img02.jpg);
}

.equipment__item:nth-child(3) .equipment__link {
  position: relative;
  background-image: url(../img/top/equipment_img03.jpg);
}

.equipment__item:nth-child(4) .equipment__link {
  position: relative;
  background-image: url(../img/top/equipment_img04.jpg);
}

.equipment__box {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 32px 16px;
}

.equipment__box::before {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 48px;
  height: 48px;
  background-color: #0082c8;
  border: 1px solid transparent;
  border-radius: 100vw;
  transition: .3s;
}

.equipment__box::after {
  content: "→";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  line-height: 1.1;
  font-size: 1.2em;
  color: #fff;
  transition: .3s;
}

.equipment__link:hover .equipment__box::before {
  background-color: #fff;
  border-color: #0082c8;
}

.equipment__link:hover .equipment__box::after {
  color: #0082c8;
  bottom: -1px;
}

.equipment__link:hover .equipment__box::before,
.equipment__link:hover .equipment__box::after {
  transform: scale(1.2);
}

.equipment__text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.equipment__number {
  margin-bottom: 16px;
  font-size: 24px;
  letter-spacing: 2px;
}

.equipment__name {
  font-size: 1.4em;
  letter-spacing: 2px;
}

.equipment__place {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 2px;
}

/* section--recruit */
.section--recruit {
  position: relative;
  z-index: 0;
  min-height: 480px;
  margin-top: -32px;
  padding: 80px 0 48px 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
    );
}

.recruit__bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 64px;
  overflow: hidden;
  z-index: 0;
  opacity: .8;
  mix-blend-mode: multiply;
}

.recruit__bg-column {
  width: 25%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 48px;
}

.recruit__bg-column img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 32px;
}

.recruit__content {
  padding: 200px 0;
}

.recruit__message {
  position: relative;
  z-index: 1;
  text-align: center;
}

.recruit__message::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 800px; /* 円のサイズ */
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,   /* 中央は白 */
    rgba(255, 255, 255, 0.0) 80%   /* 外側に向かって透明へ */
  );
  pointer-events: none;
}

.recruit__message-title {
  margin-bottom: 16px;
  font-size: 32px;
  text-shadow: none;
}

.recruit__message-text {
  line-height: 2;
}

/* section--news */
.news__content {
  max-width: 85%;
  margin: 0 auto;
}

.news-list {
  margin-bottom: 40px;
}

.news__button {
  display: flex;
  justify-content: flex-end;
}




/* Block: content-grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Block: link-card */
.link-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
  padding: 20px;
  background-color: #e0e0e0; /* Placeholder for image */
  color: #fff;
  text-align: center;
}
.link-card__title {
  font-size: 24px;
  font-weight: bold;
}
.link-card__text {
  margin-top: 10px;
  font-size: 16px;
}
/* Modifier for text color */
.link-card--dark-text {
  color: #333;
}

/* Block: recruit-banner */
.recruit-banner {
  background-color: #f0f0f0;
  padding: 60px 20px;
}
.recruit-banner__title {
   font-size: 28px;
   margin-bottom: 20px;
}
.recruit-banner__text {
  margin-bottom: 30px;
}
.recruit-banner__button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #333;
  color: #fff;
  font-weight: bold;
}


/* Block: news */
.news {
  background-color: #fff;
}
.news__list {
  text-align: left;
  border-top: 1px solid #ccc;
}
.news__item {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid #ccc;
}
.news__date {
  margin-right: 30px;
  color: #666;
}
.news__text {
  font-weight: bold;
}



@media (max-width: 1024px) {

}

@media (max-width: 767px) {
  .main-visual {
    height: 45vh;
  }

  .main-visual__content {
    top: 60%;
    left: 12%;
  }

  .main-visual__title {
    font-size: 32px;
  }

  .main-visual__subtitle {
    font-size: 1.4em;
  }

  .top-heading {
    letter-spacing: 4px;
  }

  .about__content {
    width: 100%;
    height: auto;
    padding-top: 112px;
    padding-left: 16px;
  }

  .about__title {
    position: relative;
    margin-bottom: 16px;
    font-size: 1.1em;
    white-space: initial;
  }

  .about__desc {
    margin-left: 0;
  }

  .section--about::before {
    top: 64px;
    right: 0;
    left: initial;
    width: 75%;
    height: 120px;
    border-radius: 24px 0 0 24px;
    opacity: .6;
  }

  .about__lineup {
    flex-wrap: wrap;
    gap: 0;
  }

  .about__lineup-item {
    position: relative;
    width: 50%;
    padding: 8px;
  }

  .about__lineup-item:nth-child(2)::before {
    content: "";
    position: absolute;
    bottom: 8px;
    right: -48px;
    width: 125%;
    height: 1px;
    border-bottom: 1px solid #0082c8;
  }

  .about__lineup-item:nth-child(3)::before {
    content: "";
    position: absolute;
    bottom: 8px;
    left: -64px;
    width: 140%;
    height: 1px;
    border-bottom: 1px solid #0082c8;
  }

  .about__lineup-item:nth-child(1)::before,
  .about__lineup-item:nth-child(4)::before {
    display: none;
  }

  .section--services {
    margin-top: 32px;
  }

  .services__title {
    position: relative;
    margin-bottom: 16px;
    font-size: 1.1em;
    white-space: initial;
  }

  .services__content {
    width: 100%;
    height: auto;
    padding-top: 0;
    padding-left: 16px;
  }

  .section--services::before {
    width: 40%;
    height: 240px;
    top: initial;
    bottom: 0;
    right: 0;
    border-radius: 24px 0 0 24px;
    opacity: .6;
  }

  .section--services::after {
    width: 40%;
    height: 240px;
    top: 0;
    bottom: initial;
    right: 0;
    border-radius: 24px 0 0 24px;
    opacity: .6;
  }

  .services__desc {
    margin-right: 0;
  }

  .equipment__list {
    flex-wrap: wrap;
  }

  .equipment__item {
    width: 100%;
  }

  .equipment__link {
    height: 200px;
  }

  .recruit__content {
    padding: 32px;
  }

  .recruit__message-title {
    font-size: 1.4em;
  }

  .recruit__bg {
    gap: 16px;
  }

  .recruit__bg-column {
    gap: 40px;
  }

  .recruit__bg-column img {
    border-radius: 16px;
  }

}