@charset "utf-8";
/* CSS Document */

body {
  font-family: 'Noto Sans JP', sans-serif;
}

/* フェードイン初期 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 表示後 */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/********************************/

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 全体 */
.hero {
  position: relative;
  width: 100%;
  max-width: 1300px;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
}

/* スライダー（背景化） */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ←ここが重要 */
.slides img {
  position: absolute;
  inset: 0;           /* ←これ追加（超重要） */
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.slides img.active {
  opacity: 1;
}

/* グラデーションオーバーレイ（ここが核心） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  /* 左：白 → 右：透明 */
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.85) 35%,
    rgba(255,255,255,0.6) 55%,
    rgba(255,255,255,0.2) 75%,
    rgba(255,255,255,0) 100%
  );
}

/* テキスト（最前面） */
.hero-text {
	position: absolute;
	left: 0;
	top: 0;
	width: 45%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	z-index: 2;
}
@media (max-width: 1000px) {

  .hero-text {
    width: 100%;
    left: 0;
    top: 0;

    /* 中央寄せ */
    justify-content: center;
    text-align: center;

    /* 余白調整 */
    padding: 20px;
  }

}

.hero-text h1 {
	font-size: 2em;
    line-height: 1.6;
    font-weight: 600;
	letter-spacing: 0.05em;
}

.text_b1,
.text_b2 {
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.hero-text h1 span.text_b1 {
    color: #006ed4;
    font-size: 1.2em;
    display: inline-block;
    padding-right: 5px;
}
.hero-text h1 span.text_b2 {
    font-size: 0.8em;
    display: inline-block;
    margin-top: 0px;
    padding: 0px;
    line-height: 1em;
	color: #34a0ff;
}
.hero-text h1 span.text_b3 {
	font-size: 0.6em;
    display: block;
	margin-top: 20px;
}

.hero-text span {
	display: block;
	margin-top: 10px;
	font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
/* ドット */
.dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3; /* ←これが重要 */
}

.dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 5px;
	background: #ccc;
	border-radius: 50%;
	cursor: pointer;
}

.dot.active {
	background: #006ed4;
}