@charset "UTF-8";
/* ==============================
   Config
============================== */
:root {
  --slideshow-width: 980px;
  --slideshow-height: 399px;
  --slideshow-en-height: 457px;
  --nav-width: 200px;
}

/* ==============================
   Slideshow root
============================== */
.slideshow.jp {
  width: var(--slideshow-width);
  height: var(--slideshow-height);
  position: relative;
  overflow: hidden;
  background: url(../images/loading.gif) center center no-repeat;
  font-family: Verdana, Geneva, sans-serif;
}
.slideshow.en {
  width: var(--slideshow-width);
  height: var(--slideshow-en-height);
  position: relative;
  overflow: hidden;
  background: url(../images/loading.gif) center center no-repeat;
  font-family: Verdana, Geneva, sans-serif;
}

/* ==============================
   Slides area（nav分を除外）
============================== */
.slideshow .slides {
  position: relative;
  width: calc(100% - var(--nav-width));
  height: 100%;
  transition: opacity 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ==============================
   Individual slide
============================== */
.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.slideshow .slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* ==============================
   Slide image
============================== */
#mainImg .slideshow .slide img {
  width: 100%;
  height: var(--slideshow-height);
  display: block;
  border: none;
  object-fit: cover;
}

#mainImg_en .slideshow .slide img {
  width: 100%;
  height: var(--slideshow-en-height);
  display: block;
  border: none;
  object-fit: cover;
}

/* ==============================
   Navigation
============================== */
.slideshow .nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 780px;
  width: var(--nav-width);
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 10;
  display: block;
}

/* ==============================
   Navigation items
============================== */

.slideshow .nav li a {
  display: block;
  height: 49px;
  line-height: 49px;
  padding-left: 35px;
  text-decoration: none;
  color: #40220F;
  background-image: url("../images/flashtext-bg.jpg");
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-shadow: 0px 0px 4px #fff;
  width: calc(100% + 35px);
  transform: translateX(0);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-image 0.2s ease;
  will-change: transform;
}

.slideshow .nav li:hover a,
.slideshow .nav li.is-active a {
  transform: translateX(-35px);
  background-image: url("../images/flash-on.png");
  border-bottom: none;
}

/* ==============================
   Navigation links
============================== */
.slideshow .nav li a {
  display: block;
  height: 49px;
  padding-left: 35px;
  text-decoration: none;
  color: #40220F;
  font-size: 14px;
}

/* ==============================
   Optional variants
============================== */
.slideshow .nav li.en a {
  font-size: 13px;
}

.slideshow .nav li.long a {
  height: 39px;
  line-height: 1.3em;
  padding-top: 10px;
  font-size: 12px;
}