@charset "utf-8";

#wrapper,
.outer-block {
  min-width: 1062px;
}

.inner-block {
  margin: 0 auto;
  padding: 0;
  position: relative;
  width: 1062px;
}

/* Slick do */
.slick-dots{
  position: absolute;
  bottom: -25px;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}
.slick-dots li{
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}
.slick-dots li button{
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus{
  outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before{
  opacity: 1;
}
.slick-dots li button:before{
  font-family: 'slick';
  font-size: 10px;
  line-height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: '•';
  text-align: center;
  opacity: .25;
  color: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before{
  opacity: .75;
  color: black;
}
/*------------------------------------------------------------------------------
  visual
------------------------------------------------------------------------------*/
.slider-wrapper {
  width: 862px;
  margin: 0 auto; /* 中央揃えしたい場合 */
}

.slide01 {
  width: 862px;
  height: 462px; /* 高さはお好みで */
  background: #DDD;
  text-align: center;
  line-height: 300px;
  font-size: 24px;
}

.visual {

  margin: auto;
  position: relative;
  width: 862px;
  height: 460px;
}

.bg01 {
  background: url(../img/visual001.jpg) no-repeat right top;
}

.bg02 {
  background: url(../img/visual002.jpg) no-repeat right top;
}

.bg03 {
  background: url(../img/visual003.jpg) no-repeat right top;
}

.bg04 {
  background: url(../img/visual004.jpg) no-repeat right top;
}

.visual .mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.visual .mask.normal {
  /* color: #00cce1; */
  color: #000;
  -webkit-clip-path: polygon(0 0, 262px 0, 262px 460px, 0 460px);
  clip-path: polygon(0 0, 262px 0, 262px 460px, 0 460px);
}

.visual .mask.burn {
  color: #004156;
  color: #FFF;
  -webkit-clip-path: polygon(262px 0, 862px 0, 862px 460px, 262px 460px);
  clip-path: polygon(262px 0, 862px 0, 862px 460px, 262px 460px);
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  /* mix-blend-mode: color-burn; */
  /* mix-blend-mode: overlay; */
  opacity: 0.8;
}

.visual .txt {
  font-size: 0;
  line-height: 1;
  position: absolute;
  top: 85px;
  left: 40px;
}

.visual .line {
  display: block;
  font-family: "Josefin Sans";
  /* font-size: 80px; */
  font-size: 60px;
  font-weight: bold;
}

.visual .line+.line {
  margin-top: 15px;
}

.visual .line,
.visual .letter {
  opacity: 0;
}

.visual .letter {
  display: inline-block;
  padding-top: 5px;
}

.visual .large {
  /* font-size: 100px; */
  font-size: 100px;
}

.visual.is-visible .line {
  opacity: 1;
}

.visual.is-visible .letter {
  animation: slideIn .8s cubic-bezier(0, 1.2, .13, 1.5) forwards;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translate3d(-100px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* IE・Edge用調整 */

.ie .visual .mask.normal,
.edge .visual .mask.normal {
  color: #004480;
  opacity: 0.7;
}

.ie .visual .mask.burn,
.edge .visual .mask.burn {
  display: none;
}


/* レスポンシブ */
@media (max-width: 1100px) {
  .slider-wrapper,
  .slide01,
  .visual {
    width: 100%;
    height: auto;
  }

  .visual {
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    position: relative;
  }

  .visual .mask.burn {
    display: none;
  }

  .visual .mask.normal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: none;
    -webkit-clip-path: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .visual .txt {
    position: static;
    margin: 0;
    padding: 20px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.5); /* ← 透過白背景 */
    border-radius: 8px; /* お好みで角を少し丸く */
  }
  .visual .line {
    font-size: 28px;
  }

  .visual .large {
    font-size: 40px;
  }
}
