/* TOPメイン画像用のスタイル */
.main-slide {
  margin-top: 60px; /* ナビゲーションバーの高さに合わせて調整 */
}
.main-slide img {
  width: 100%;
  height: auto;
}
/* ドットナビゲーションのスタイル */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.carousel-indicators li {
  width: 10px;
  height: 10px;
  background-color: #000; /* ドットの色 */
  border-radius: 50%;
  display: inline-block;
  margin: 1px;
  cursor: pointer;
}
.carousel-indicators .active {
  background-color: #fff; /* アクティブなドットの色 */
}
/* お気軽にお声がけください用のスタイル */
.inquiry-section {
  background-color: white;
  padding: 40px 0;
  background-image: repeating-linear-gradient(-45deg, /* -45度の角度 */ white, /* 基本の背景色 */ white 3px, /* ストライプの幅をさらに狭く（3px） */ #F4F4F4 3px, /* ストライプの色を#F4F4F4に設定 */ #F4F4F4 6px /* ストライプの幅を決定（合計6pxの間隔で繰り返し） */
    );
}
/* セクションタイトル（h1）のスタイル */
.inquiry-section h1 {
  position: relative;
  padding-bottom: 1rem; /* テキストと罫線の隙間を広げる */
  margin-bottom: 3rem; /* 罫線から画像までの隙間を広げる */
  text-align: center;
  color: black; /* 文字色を黒に変更 */
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid black; /* ボーダーを黒に変更 */
  font-weight: normal;
  font-size: 36px;
}
.inquiry-section h1:before, .inquiry-section h1:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.inquiry-section h1:before {
  border: 24px solid;
  border-color: transparent;
  border-top-color: black; /* 三角形の色を黒に変更 */
  margin-left: -24px;
}
.inquiry-section h1:after {
  border: 20px solid;
  border-color: transparent;
  border-top-color: white; /* 背景色に合わせて白に変更 */
  margin-left: -20px;
}
.inquiry-section .link-images img {
  width: 100%;
  height: auto;
  border-radius: 15px; /* 画像の角を丸くする */
  margin-bottom: 15px;
}
/* スマホ表示時の文字サイズ調整 */
@media (max-width: 576px) {
  .inquiry-section h1 {
    font-size: 26px; /* スマホ表示時の文字サイズを指定 */
  }
}
/* イベント告知バナーセクション */
.event-banner-section {
  background-color: #ffffff;
  padding: 40px 0;
  text-align: center;
}

.event-banner-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.event-banner-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  text-decoration: none;
}

.event-banner-image {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.event-banner-link:hover .event-banner-image {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .event-banner-section {
    padding: 30px 0;
  }
  
  .event-banner-image {
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .event-banner-section {
    padding: 20px 0;
  }
}
/* わたしたちにできること用のスタイル */
.company-introduction {
  text-align: center;
  padding: 40px 0;
}
.company-introduction h2 {
  position: relative;
  padding-bottom: 1rem; /* テキストと罫線の隙間を広げる */
  margin-bottom: 3rem; /* 罫線から画像までの隙間を広げる */
  text-align: center;
  color: #343a40;
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid #343a40;
  font-weight: normal;
  font-size: 36px;
}
.company-introduction h2:before, .company-introduction h2:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.company-introduction h2:before {
  border: 24px solid;
  border-color: transparent;
  border-top-color: #343a40;
  margin-left: -24px;
}
.company-introduction h2:after {
  border: 20px solid;
  border-color: transparent;
  border-top-color: white;
  margin-left: -20px;
}
.company-introduction .service-item {
  margin-bottom: 30px;
}
.company-introduction .service-item img {

  margin-bottom: 10px;
}
.company-introduction .service-item h4 {
  margin-bottom: 10px;
  font-size: 1.3em;
  font-weight: bold;
}
.company-introduction .service-item p {
  font-size: 1.1em;
  line-height: 1.5; /* 読みやすさを向上させるために行間を1.5に設定 */
  color: #666;
  font-family: 'Noto Sans Japanese', sans-serif;
}
.company-introduction .view-more {
  margin-top: 30px;
}
/* スマホ表示時の文字サイズ調整 */
@media (max-width: 576px) {
  .company-introduction h2 {
    font-size: 26px; /* スマホ表示時の文字サイズを指定 */
  }
}
/* サービスセクション */
.service-section {
  padding: 3rem 0;
  text-align: center; /* タイトルを中央揃え */
}
.service-section .service-title {
  position: relative;
  padding-bottom: 1rem; /* テキストと罫線の隙間を広げる */
  margin-bottom: 3rem; /* 罫線から画像までの隙間を広げる */
  text-align: center;
  color: #333;
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid #333;
  font-weight: normal;
  font-size: 36px;
}
.service-section .service-title:before, .service-section .service-title:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.service-section .service-title:before {
  border: 24px solid;
  border-color: transparent;
  border-top-color: #333;
  margin-left: -24px;
}
.service-section .service-title:after {
  border: 20px solid;
  border-color: transparent;
  border-top-color: white; /* ボーダーの色をwhiteに変更 */
  margin-left: -20px;
}
/* サービス一覧用のスタイル */
/* 各セクションのタイトル */
.custom-section-title {
  text-align: left;
  font-size: 20px;
  color: #707070;
  font-weight: bold;
  margin-bottom: 20px;
}
/* スライダーのラッパー（コンテナ外に出す） */
.custom-slider-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

/* スライダーの全体レイアウト */
.custom-slider {
  position: relative;
  width: 100%;
}

/* スライドトラック（複数のスライドを横並びにする） */
.custom-slide-track {
  display: flex;
  width: calc(300px * 10); /* 画像幅 * 画像数 */
  animation: custom-scroll 30s linear infinite;
}

/* 各スライドのスタイル */
.custom-slide {
  width: 300px;
  flex-shrink: 0;
  padding: 10px;
}

/* 画像のスタイル */
.custom-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px; /* 角丸 */
}

/* スライドの無限アニメーション */
@keyframes custom-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 5)); /* 画像幅 * 画像数の半分 */
  }
}

/* スマホ表示用 */
@media (max-width: 768px) {
  .custom-slide {
    width: 200px;
  }
  .custom-slide-track {
    width: calc(200px * 10);
  }
  @keyframes custom-scroll {
    100% {
      transform: translateX(calc(-200px * 5));
    }
  }
}
/* 矢印リンクボタン */
.detail-link-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 20px 0; /* 必要に応じて上下のマージンを調整 */
}

.detail-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  color: #707070;
    font-size: 18px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.detail-text {
  margin-right: 10px;
}

.yazirusi {
  display: flex;
  align-items: center;
}

.yazirusi::after {
  content: '';
  width: 50px;
  height: 10px;
  border-bottom: solid 1px;
  border-right: solid 1px;
  transform: skew(45deg);
  transition: all 0.3s ease;
}

/* ホバーエフェクト */
.detail-link:hover {
  color: #007bff;
}

.detail-link:hover .yazirusi::after {
  width: 60px;
  border-color: #007bff;
}
/* セクションの間に罫線を入れる */
.section-divider {
  width: 100%;
  border: none;
  border-top: 1px solid #707070;
  margin: 20px 0;
}
/* オリジナルサービス紹介用のスタイル */
.original-service-introduction {
  text-align: center;
  padding: 40px 0;
}
.original-service-introduction h2 {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #343a40;
  font-family: 'Noto Serif Japanese', serif;
  display: inline-block;
  border-bottom: 3px solid #343a40;
  font-weight: normal;
  font-size: 36px;
}
.original-service-introduction h2:before, .original-service-introduction h2:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.original-service-introduction h2:before {
  border: 24px solid;
  border-color: transparent;
  border-top-color: #343a40;
  margin-left: -24px;
}
.original-service-introduction h2:after {
  border: 20px solid;
  border-color: transparent;
  border-top-color: #f8f9fa;
  margin-left: -20px;
}
.original-service-introduction .service-item {
  text-align: center;
  font-family: 'Noto Sans Japanese', sans-serif;
}
.original-service-introduction .service-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.original-service-introduction .service-item p {
  font-size: 1.1em;
  line-height: 1.5;
  color: #666;
  margin-top: 10px;
}
/* セクション区切りの罫線 */
.section-divider {
  border: none;
  border-top: 1px solid #707070; /* グレーの罫線 */
  width: 100%; /* コンテナ内で100%の横幅 */
  margin: 50px 0; /* 上下に広めのマージン */
}
/* お問い合わせセクション */
.contact-section {
  background-color: #0033cc;
  border-radius: 0 150px 150px 0;
  padding: 50px 0;
  color: white;
}
.contact-title {
  color: white;
  font-family: 'Noto Serif Japanese', serif;
  font-size: 36px;
}
.contact-text {
  font-size: 1.1em; /* 採用情報にサイズを合わせる */
  color: white;
  font-family: 'Noto Sans Japanese', sans-serif;
}
.phone-number {
  display: flex;
  align-items: center;
  color: white;
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
  text-decoration: none;
}
.contact-time {
  color: white;
  font-family: 'Noto Sans Japanese', sans-serif;
  margin-top: 10px;
}
.phone-icon {
  width: 35px;
  height: 35px;
  vertical-align: middle;
  margin-right: 10px;
}
.contact-button {
  display: block;
  width: 100%;
  padding: 15px 0; /* 上下のパディングを調整 */
  background-color: white;
  border-color: #0033cc;
  color: #0033cc;
  text-align: center;
  font-size: 2em;
  font-family: 'Noto Sans Japanese', sans-serif;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 15px; /* 角を丸く */
  transition: background-color 0.3s ease;
  margin-bottom: 20px; /* 下に少し余白を追加 */
}
.contact-button:hover {
  background-color: #f0f0f0;
}
.phone-number, .contact-time {
  display: block;
  text-align: center;
  color: white;
  margin: 10px 0;
}
.contact-button:hover {
  background-color: #f0f0f0;
}
/* スマホ表示用 */
@media (max-width: 768px) {
  .phone-number {
    font-size: 1.5em;
  }
}
/* 見出しとテキストの間の罫線 */
.inner-divider-white {
  border: none;
  border-top: 2px solid white;
  margin: 10px 0;
}
/* 採用情報セクション */
.recruit-section {
  background-color: #b3e5fc;
  border-radius: 250px 0 0 250px;
  padding: 50px 0;
  margin-right: auto;
}
.recruit-title {
  color: #707070;
  font-family: 'Noto Serif Japanese', serif;
  font-size: 36px;
}
.recruit-text {
  font-size: 1.1em;
  color: #707070;
  font-family: 'Noto Sans Japanese', sans-serif;
}
.recruit-image-container {
  width: 100%;
  height: 100%;
}
/* 見出しとテキストの間の罫線 */
.inner-divider-gray {
  border: none;
  border-top: 2px solid #707070;
  margin: 10px 0;
}
/* バナーセクション */
.banner-section {
  padding: 3rem 0;
}
.banner-container {
  border: 1px solid #ccc; /* 外枠ボーダー */
  border-radius: 15px; /* 角丸 */
  padding: 2rem; /* コンテナ内のパディング */
}
.banner-section .banner-title {
  position: relative;
  padding: 0.5rem 1rem; /* テキストと罫線の隙間を広げる */
  margin-bottom: 2rem; /* 見出しを中央揃えにする */
  color: #707070;
  font-family: 'Noto Sans Japanese', sans-serif;
  font-size: 1.5rem; /* 見出しのサイズを小さくする */
  display: inline-block;
  border: 1px solid #707070; /* 見出しを四方囲むボーダー */
  font-weight: normal;
  background-color: #fff; /* 背景色を白に設定 */
}
.banner-section .row {
  display: flex;
  align-items: center; /* バナー画像を中央揃えにする */
}
.banner-section .banner-img {
  background-color: white;
  border-radius: 10px; /* バナー画像の角を丸くする */
  padding: 5px; /* バナー画像内のパディング */
  margin-bottom: 1rem; /* バナー画像の間にスペースを作る */
}

