@charset "UTF-8";
/*---------------------------------------- 
slider
----------------------------------------*/
.n2-section-smartslider {
  overflow: hidden;
}

#n2-ss-2item1,
#n2-ss-2item3,
#n2-ss-2item5 {
  text-shadow: 0 0 3px rgb(19, 32, 43), 0 0 8px rgba(19, 32, 43, 0.8), 0 0 15px rgba(19, 32, 43, 0.6) !important;
  font-size: 1.9375rem !important;
  margin-top: 50px;
  margin-bottom: 20px !important;
  color: #fff !important;
  font-family: YakuHanJP, "Cormorant Infant", "Noto Sans JP", serif !important;
  font-weight: 500 !important;
}

#n2-ss-2item2,
#n2-ss-2item4,
#n2-ss-2item6 {
  text-shadow: 0 0 3px rgb(19, 32, 43), 0 0 8px rgba(19, 32, 43, 0.8), 0 0 15px rgba(19, 32, 43, 0.6) !important;
  font-family: YakuHanJP, "Cormorant Infant", "Noto Sans JP", serif !important;
  font-weight: 500 !important;
}

/* iPad */
@media screen and (max-width: 768px) {
  #n2-ss-2item1,
#n2-ss-2item3,
#n2-ss-2item5 {
    font-size: 1.375rem !important;
  }
  #n2-ss-2item2,
#n2-ss-2item4,
#n2-ss-2item6 {
    font-size: 2.1875rem !important;
  }
  #n2-ss-2item2 br,
#n2-ss-2item4 br,
#n2-ss-2item6 br {
    display: none;
  }
}
/*---------------------------------------- 
動画
----------------------------------------*/
.youtube-responsive iframe {
  display: block;
  width: 60%;
  aspect-ratio: 16/9;
  height: auto !important;
  margin: 30px auto 60px;
}
@media screen and (max-width: 768px) {
  .youtube-responsive iframe {
    width: 100%;
    margin: 30px auto;
  }
}

/*---------------------------------------- 
メールマガジン
----------------------------------------*/
.news.magazine {
  background-color: #fff;
}

/*---------------------------------------- 
コンサルティングサービス
----------------------------------------*/
.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:not(.no-link):hover .btn-detail {
  background-color: #d94866;
  /* ホバー時の背景色 */
  color: #fff;
  /* ホバー時の文字色 */
}

.service-card-link.no-link {
  cursor: default;
}
.service-card-link.no-link .btn-detail {
  cursor: default;
  background-color: rgba(255, 255, 255, 0.6901960784);
}

.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.3rem;
  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 */