.splash {
    height: auto;
    padding: 0;
    max-width: initial;
}

.splash__img {
  position: relative;
  margin-left: 0;
  width: 100%;
  min-width: auto;
  height: 100vh;
  max-height: 810px;
}
.splash__img video {
  display: block;
  width: 100%;
  height: auto;
}

.splash__img .video-credit {
  position: absolute;
  bottom: 15px;
  right: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  z-index: 10;
  pointer-events: none;
}

.splash__sound {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.splash__sound:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.splash__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: auto;
    translate: -50% -50%;
    z-index: 100;
    width: 100%;
    max-width: 1248px;
    padding: 0 24px;
    pointer-events: none;
    height: auto;
    max-height: none;
    display: flex;
    justify-content: center;
}

/* 白いカード型ボックス */
.splash__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 560px;
    height: auto;
    max-height: none;
    padding: 40px 48px;
    background-color: #fff;
    pointer-events: auto;
}

.splash__logo {
    margin-bottom: 20px;       /* 32px → 20px */
    align-self: center;
}

.splash__logo img {
    width: 150px;
    height: auto;
}

.splash__catch--main {
    font-size: clamp(36px, 3.5vw, 44px);
    color: #0C1A45;                /* 元の濃紺に戻す */
    text-shadow: none;
}

.splash__catch--text {
    font-size: clamp(18px, 1.6vw, 22px);
    color: #0C1A45;
    text-shadow: none;
}

.splash__nav {
    display: none;
}

.splash__copy {
  position: absolute;
  top: 150px;
  left: 200px;
  z-index: 2;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.splash__copy .button {
  min-width: 190px;
}

.splash__catch {
  margin-bottom: 15px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.splash__read {
  display: block;
  margin-bottom: 35px;
  font-weight: bold;
  font-size: 14px;
  line-height: 2;
  padding-left: 4px;
}

.splash__news {
  position: absolute;
  right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  bottom: 32px;
  width: 90%;
  gap: 0 50px;
  background-color: #fff;
}
.splash__news .title {
  flex-shrink: 0;
  padding: 16px 24px;
  font-size: 20px;
}
.splash__news .button {
  flex-shrink: 0;
  margin-left: auto;
}

.splash__news--link {
  display: flex;
  align-items: center;
  width: 80%;
  height: 100%;
}
.splash__news--link .inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 15px;
}
.splash__news--link .inner dt {
  flex-shrink: 0;
}
.splash__news--link .inner dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* **************************************************************
 about
*************************************************************** */
.about {
  position: relative;
  padding: 0;
  background: url(../img/top/bg_about.jpg) no-repeat center/cover;
}
.about::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: url(../../img/service_gaiyo.jpeg) no-repeat center/cover;
}

.about__content {
  width: 50%;
  height: 100%;
  padding: 140px;
  margin-left: auto;
  background-color: #315E3B;
}
.about__content .title__sec {
  color: #fff;
}
.about__content .text__summary {
  margin: 25px 0;
  color: #fff;
}

/* **************************************************************
 instagram
*************************************************************** */
.instagram {
  background-color: #EDF7EE;
}
.instagram__content {
  width: 50%;
  height: 100%;
  padding: 140px;
  margin-left: auto;
  background-color: #EDF7EE;
}

/* **************************************************************
 ecommerce
*************************************************************** */
.ecommerce {
  position: relative;
  padding: 0;
  background: url(../img/ecommerce_maki.png) no-repeat center/cover;
}
.ecommerce::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: url(../../img/ecommerce_maki.png) no-repeat center/cover;
}

.ecommerce__content {
  width: 50%;
  height: 100%;
  padding: 140px;
  margin-left: auto;
  //background-color: #EDF7EE;
}

/* **************************************************************
 service
*************************************************************** */
.service {
  position: relative;
  padding-top: 120px;
}
.service::before {
  content: "";
  position: absolute;
  right: 0;
  top: 40px;
  width: calc(100% - 64px);
  height: 373px;
  background: url(../img/top/bg_service.jpg) no-repeat center/cover;
}

.service__content {
  position: relative;
  width: 50%;
  display: flex;
  justify-content: center;
  padding: 56px;
}

.service__inner {
  position: relative;
  z-index: 1;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: 64px;
  padding: 56px;
  background-color: #fff;
}
.service__inner .text__summary {
  margin: 25px 0;
}

.service__images {
  position: absolute;
  left: 75%;
  top: 50%;
  translate: -50% -50%;
  width: 50%;
  text-align: center;
}

/* **************************************************************
 case
*************************************************************** */
.case {
  position: relative;
  background-color: var(--color-base);
  color: #fff;
}
.case::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% 0;
  width: 100%;
  height: 240px;
  background: url(../img/top/bg_case.jpg) no-repeat center/cover;
}
.case .container {
  position: relative;
}
.case .swiper__gallery {
  margin: 60px 0;
}

.case__box {
  display: flex;
  border: 1px solid #fff;
}

.case__box--head {
  justify-content: space-between;
  padding: 15px 25px;
}

.case__box--img img {
  width: 100%;
  height: auto;
}

.case__box--content {
  padding: 15px 25px;
}

.case__box--cap {
  font-weight: bold;
}

.swiper__gallery .case__box a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* 日付・カテゴリ部（高さ固定） */
.swiper__gallery .case__box--head {
  display: flex;
  gap: .5em;
  min-height: 1.6em;
  margin: 0;
}

/* 画像枠を固定 → 比率が違っても同じ見た目 */
.swiper__gallery .case__box--img {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.swiper__gallery .case__box--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 枠いっぱいにトリミング表示 */
  object-position: center;
  display: block;
}

/* テキスト部：文字数が変わっても高さを固定 */
.swiper__gallery .case__box--content {
  flex: 1 0 auto;
}

/* 工事名キャプション：1行で省略 */
.swiper__gallery .case__box--cap {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* タイトル：2行で固定（3行目以降は…で省略） */
.swiper__gallery .case__box .title__min {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.8em;     /* 2行分を確保して1行のときも高さを揃える */
}
/* **************************************************************
 case
*************************************************************** */

/*--------------------------------------------------------------------------------
  media 
--------------------------------------------------------------------------------*/
@media (max-width: 1439px) {
  .splash__copy {
    left: 80px;
  }
  /* **************************************************************
   about
  *************************************************************** */
  .about__content {
    padding: 70px;
  }
}
@media (max-width: 1024px) {
  /* **************************************************************
   about
  *************************************************************** */
  .about__content {
    padding: 80px;
  }
  /* **************************************************************
   service
  *************************************************************** */
  .service__content {
    width: 70%;
  }
}
@media (max-width: 767px) {
  /* **************************************************************
   splash
  *************************************************************** */
  .splash__copy {
    left: 25px;
  }
  .splash__catch {
    white-space: pre-wrap;
  }
  .splash__inner {
    width: 100%;
    margin-left: 0;
    border-radius: 0;
  }
  .splash__news {
    position: static;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
    padding: 10px 0;
  }
  .splash__news .title {
    padding-right: 0;
  }
  .splash__news .button {
    width: 100%;
    justify-content: center;
  }
  .splash__news .button::after {
    margin-left: initial;
  }
  .splash__news--link {
    width: calc(100% - 105px);
    padding: 16px 0 16px 24px;
  }
  /* **************************************************************
   about
  *************************************************************** */
  .about::before {
    display: none;
  }
  .about__content {
    width: 100%;
    padding: 55px 25px;
  }
  /* **************************************************************
   service
  *************************************************************** */
  .service {
    padding-top: 0;
    padding-bottom: 0;
  }
  .service__content {
    width: 100%;
    padding: 0;
  }
  .service__inner {
    margin-left: 0;
    padding: 55px 25px;
  }
  /* **************************************************************
   ecommerce
  *************************************************************** */
  .ecommerce::before {
    display: none;
  }
  .ecommerce__content {
    width: 100%;
    padding: 55px 25px;
  }
}/*# sourceMappingURL=top.css.map */
