@charset "UTF-8";
/*---------------------------------------- 
hero
----------------------------------------*/
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-container {
  position: relative;
  margin: 0 auto;
  display: flex;
  width: min(92%, 1420px);
  gap: 13%;
  flex-direction: row-reverse;
  padding: 2.604vw 0;
}
@media screen and (max-width: 576px) {
  .hero-container {
    flex-direction: column;
  }
}

#mv1,
#mv2 {
  width: 50%;
}

#mv2 {
  margin-top: 7.8125vw;
  /* small */
}
@media screen and (max-width: 576px) {
  #mv2 {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  #mv1 {
    width: 100%;
  }
}

#mv1 img,
#mv2 img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-message {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 40px 70px;
  width: clamp(120px, 22.5vw, 320px);
  background-color: rgba(139, 224, 216, 0.93);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  /* small */
}
.hero-message .mv-text-pc {
  display: inline-block;
}
.hero-message .mv-text-sp {
  display: none;
}
@media screen and (max-width: 1100px) {
  .hero-message {
    padding: 20px 40px;
  }
}
@media screen and (max-width: 750px) {
  .hero-message {
    padding: 10px 20px;
  }
}
@media screen and (max-width: 576px) {
  .hero-message {
    position: static;
    width: 100%;
    transform: revert;
    padding: 52px 20px;
  }
  .hero-message .mv-text-pc {
    display: none;
  }
  .hero-message .mv-text-sp {
    display: inline-block;
  }
}

.hero-message .ja img {
  width: 100%;
}

/*---------------------------------------- 
買取強化中
----------------------------------------*/
.sec-kaitori {
  background-image: url(../img/top/bg-kaitori.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 50px 0;
}
.sec-kaitori .h2-style-top h2::after {
  display: none;
}
@media screen and (max-width: 800px) {
  .sec-kaitori .h2-style-top {
    margin-bottom: 0;
  }
}
.sec-kaitori .bg-white {
  background-color: rgba(255, 255, 255, 0.89);
  padding: 50px;
  max-width: 1070px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 800px) {
  .sec-kaitori .bg-white {
    padding: 20px;
  }
}

/*---------------------------------------- 
コンサルティングサービス
----------------------------------------*/
.consulting {
  background-image: url(../img/top/bg-service.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
}
.consulting.cloud {
  background-image: url(../img/top/bg-service-cloud.png);
}
.consulting.housing {
  background-image: url(../img/top/bg-housing.png);
  background-attachment: scroll;
}

.service-cards {
  display: flex;
  justify-content: center;
  /* カード間のスペースを均等に配置 */
  gap: clamp(30px, 3vw, 50px);
  /* レスポンシブな余白 */
  margin-bottom: clamp(15px, 3vw, 35px);
  flex-wrap: wrap;
  /* 複数行に対応 */
}

.service-card {
  background-color: #002f6c;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  flex: 1 1 calc(33.333% - clamp(10px, 3vw, 50px));
  /* gapを考慮して幅を計算 */
  max-width: calc(33.333% - clamp(10px, 3vw, 50px));
  /* 最大幅を指定 */
  box-sizing: border-box;
  /* パディングやボーダーを含めて幅を計算 */
  /* 最大幅を指定 */
  box-sizing: border-box;
  /* パディングやボーダーを含めて幅を計算 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.service-card a {
  padding: 35px;
  display: block;
}

.cloud .service-card {
  background: #d94866;
}

.housing .service-card {
  background: #fff;
  border: 2px solid #002f6c;
  color: #081F5C;
}

.service-card .icon {
  background-color: #fff;
  /* 背景を白に設定 */
  border-radius: 50%;
  /* 正円にする */
  width: 80px;
  /* アイコンの幅 */
  height: 80px;
  /* アイコンの高さ */
  display: flex;
  align-items: center;
  /* アイコンを中央に配置 */
  justify-content: center;
  /* アイコンを中央に配置 */
  margin: 0 auto 15px;
  /* 下に余白を追加 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* 軽い影を追加 */
}

.service-card .icon img {
  width: 68%;
  /* アイコン画像のサイズを調整 */
  height: auto;
  /* アスペクト比を維持 */
}
.service-card .icon img.shueki-kannri {
  width: 50%;
  /* アイコン画像のサイズを調整 */
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 15px;
}

.service-card .btn-detail {
  display: inline-block;
  padding: 10px 20px 10px 26px;
  background-color: #fff;
  color: #002f6c;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}
.service-card .btn-detail::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 5px;
  display: inline-block;
}

.housing .service-card .btn-detail::after {
  color: #d94866;
}
.housing .service-card .btn-detail:hover::after {
  color: #fff;
  /* ホバー時の文字色 */
}

.service-card-link:hover .btn-detail {
  background-color: #d94866;
  /* ホバー時の背景色 */
  color: #fff;
  /* ホバー時の文字色 */
}

.cloud .service-card-link:hover .btn-detail {
  background-color: #081F5C;
}

@media screen and (max-width: 768px) {
  .service-cards {
    flex-direction: column;
  }
  .service-card {
    flex: 1 1 100%;
    /* 1列にする */
    max-width: 100%;
  }
}
/*---------------------------------------- 
企業情報
----------------------------------------*/
.company-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0;
  background-color: #f9f9f9;
}

.company-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: top;
  gap: 50px;
}

.company-text {
  flex: 1;
  min-width: 300px;
}

.company-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.company-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555;
}

.company-text .btn-more-container {
  margin-top: 20px;
}

.company-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.company-image img {
  max-width: 100%;
  height: auto;
}

/*---------------------------------------- 
会員登録
----------------------------------------*/
.membership {
  background-image: url(../img/top/bg-membership.png) !important;
}

/*---------------------------------------- 
slider
----------------------------------------*/
.custom-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  height: 400px;
}

.custom-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.custom-slider .slide img {
  width: 100%;
  display: block;
  height: 100%;
  /* スライダーの高さに合わせる */
  -o-object-fit: cover;
     object-fit: cover;
  /* 画像をスライダーにフィットさせる */
}

.custom-slider .slide-caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  font-size: 1.5rem;
  border-radius: 5px;
  max-width: 80%;
}

.custom-slider .slide.active {
  opacity: 1;
}

.custom-slider .slide-caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  font-size: 1.5rem;
  border-radius: 5px;
  max-width: 80%;
  line-height: 1.6;
  /* 行間を調整 */
}

.custom-slider .slide-caption .sub-caption {
  font-size: 1.2rem;
  /* サブキャプションの文字サイズ */
  margin-bottom: 10px;
  /* メインキャプションとの間隔 */
  display: block;
  color: #ddd;
  /* サブキャプションの文字色 */
}
/*# sourceMappingURL=top.css.map */