@charset "UTF-8";

/* --------------------
* button
* -------------------- */

/* ボタンエリア */
.Section2 {
  margin: 30px 0 0 0;
}

/* ボタン共通のスタイル */
.responsive-button {
  display: block;
  width: 100%;
  padding: 10px 0px;
  text-align: center;
  color: #fff;
  border: none;
  font-size: 100%;
  position: relative;
  border-radius: 10px;
  transition: background-color 0.3s;
  text-decoration: none;
  box-shadow: 2px 2px #bbb; /*影*/
  margin-top: 25px;
  font-weight: bold;
}

/* ボタンの傾斜前景色 */
.btn-dl { background-color: #e60012; }
.btn-contact { background-color: #10b981; }

/* ボタンの傾斜背景 */
.btn-dl::before { background-color: #e60012; }
.btn-contact::before { background-color: #10b981; }

/*ボタンリンク*/
.responsive-button a {
  color: #fff;
  text-decoration: none;
}

/*ボタン マウスオーバー*/
.responsive-button::before { /* ボタンと同じサイズの白い半透明の疑似要素beforeを作成し、非表示にしておく */
  display: none;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #FFF;
  opacity: 0.15;　/*透明度*/
}

.responsive-button:hover::before { /* マウスホバー時に先程作成したbeforeを表示させる */
  display: block;
}

/* PC用のスタイル */
@media (min-width: 768px) {
  .buttons-container {
      display: flex;
      justify-content: space-between;
      padding: 0px;
  }

  .responsive-button {
      width: 50%;
      margin: 5px 10px 5px 10px;
      line-height: 1.5;
  }
}

/* スマートフォン用のスタイル */
@media (max-width: 767px) {
  .buttons-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 0 5px;
  }

  .responsive-button {
      width: 45%;
      margin: 0 2px;
      line-height: 1.2;
      font-size: 80%;
  }
}

/* --------------------
* テキスト
* -------------------- */

.catch-copy p {
  position: relative;
  margin: 0;
  padding-left: 20px;
  font-size: clamp(1.5rem, 3vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
}

.catch-copy p + p {
  margin-top: 10px;
}

.catch-copy p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 5px;
  background: #0066cc;
  border-radius: 999px;
  opacity: 0.8;
}

/* タブレット・スマホ */
@media (max-width: 768px) {
  .catch-copy p {
    font-size: clamp(1.7rem, 3vw, 1rem);
  }
  .catch-copy p + p {
  margin-top: 5px;
  }
}

.text-18 {
  margin: 0 0 20px;
  color: #004EA2;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

.text-100 {
	font-size: 100%;
	line-height: 1.7;
}

.text-b {
	font-weight: bold;
}


/* ------------------------------------------------
* image 固定
* ----------------------------------------------- */

.vision_fig650 {
  max-width: 650px;
  margin: 30px auto 0;
}

.vision_fig300 {
  max-width: 300px;
  margin: 0px auto 0;
}

/* タブレット・スマホ */
@media (max-width: 768px) {
  .vision_fig300 {
    max-width: 250px;
    margin: 0px auto 0;
  }
}


/* ------------------------------------------------
* ふわっとフェードしながら切り替わるスライドショー
* ----------------------------------------------- */

/* スライドショー全体 */
.fade-slideshow {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  aspect-ratio: 19 / 14;
  overflow: hidden;
}

/* 各スライド */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeShow 20s infinite linear;
}

/* 画像エリア */
.slide-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

/* 画像 */
.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* キャプション */
.caption {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  padding: 0 15px;
  box-sizing: border-box;
}

/* 表示タイミング */
.slide1 {
  animation-delay: 0s;
}

.slide2 {
  animation-delay: 5s;
}

.slide3 {
  animation-delay: 10s;
}

.slide4 {
  animation-delay: 15s;
}

/* フェード切替 */
@keyframes fadeShow {

  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }

}

/* スマホ */
@media (max-width: 480px) {
  .caption {
    height: 60px;
    font-size: 12px;
  }
}

