@charset "UTF-8";

/* start animation */
.start {
  background: #FFF;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9000;
}

.startlogo img {
  position: fixed;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 1000px;
  animation: slide-left 1s ease-in-out forwards;
}

/* SmartPhone */
@media screen and (max-width: 768px) {
  .startlogo img {
    left: 25%;
    top: 20%;
    width: 300px;
  }

}

@keyframes slide-left {
    0% {
        transform: translate(-50%, -50%);
    }
    100% {
        transform: translate(-55%, -50%); /* move left */
    }
}

body {
  -webkit-print-color-adjust: exact;
  animation: fadeIn 1s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
0% {opacity: 0}
100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
0% {opacity: 0}
100% {opacity: 1}
}

/* main animation */
@keyframes slide-out {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@-webkit-keyframes slide-out {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.main {
  transform: translateX(100%);
  transition: transform 1.6s ease, opacity 1.6s ease;
}

.main.show {
  transform: translateX(0%);
}


.jumbotron {
  background-image: url("/images/ebook/img/img_ebook.jpg");
  /*background-color: rgba(0, 160, 234, 0.15);*/
  background-size: cover;
  background-position: center 50%;
}

* { font-weight:bold;line-height:1.6 }
dd { padding-left:1em }
p { padding-left:1em }
h1.display-1, h2.display-1, h3.display-1 {
  text-shadow:
  /*white 3px 3px 4px, white -3px 3px 4px,
  white 3px -3px 4px, white -3px -3px 4px;*/
  white 5px 5px 6px, white -5px 5px 6px,
  white 5px -5px 6px, white -5px -5px 6px;
  text-align: center;
  font-size: 5em;
}

h3.intro {
  text-align: center;
}

.col {
  /*background-color: rgba(255, 241, 0, 0.15);*/
  /*border-radius: 15px;*/
  margin: 20px;
  padding: 20px;
}

img.coverimg {
  border:1px solid #dddddd;
  border-right:2px solid #cccccc;
  border-bottom:2px solid #cccccc;
  margin-right: 25px;
  margin-bottom: 25px;
  float:left;
  /*filter: drop-shadow(5px 5px 5px #aaa);*/
  filter: drop-shadow(10px 10px 10px #aaa);
  width: 30%;
}

img.logoimg {
  margin-bottom: 5px;
  margin-right: 5px;
  width: 106px;
}

.item a {
  text-decoration: none;
  color: #232323;
  background: transparent;
}

.item {
  /*margin-top: 0px;*/
  position: relative;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.item:hover {
    opacity: 0.6;
}

.small-text {
  font-size: 0.5em;
  color: black;
}

.netshopbtn_wrapper .switch {
  background: #FFC20E;
  height: 70px;
  /*width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background: #004f84;
  position: relative;
  cursor: pointer;
  transition: 0.2s ease-in-out;*/
}

.prep .prep_switch {
  background: #a9a9a9;
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  /*background: #004f84;*/
  position: relative;
  /*cursor: pointer;*/
  transition: 0.2s ease-in-out;
}

.price {
  color: #f00;
}

p.catchcopy{
  /*line-height:1;*/
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;

  font-size:15px;
  font-weight:bold;
  padding:0px;
  margin:0px;
  margin-top:25px;
}

.ebookimg {
  content: url('/images/ebook/img/start_ebooks.png');
}

/* 2025-10-07 */

.movie {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.movie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

#pageup {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#pageup.show {
  opacity: 1;
  pointer-events: auto;
}

#pageup img {
    width: 50px;
    height: auto;
    cursor: pointer;
}

#to_home {
  position: fixed;
  right: 80px;
  bottom: 25px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#to_home.show {
  opacity: 1;
  pointer-events: auto;
}

#to_home img {
    width: 50px;
    height: auto;
    cursor: pointer;
}

.netshopbtn_container {
    display: none;
}





/* SmartPhone */
@media screen and (max-width: 768px) {
  .ebookimg {
    content: url('/images/ebook/img/start_ebooks_sm.png');
  }

  img.coverimg {
  border:1px solid #dddddd;
  border-right:2px solid #cccccc;
  border-bottom:2px solid #cccccc;
  margin-right: 25px;
  margin-bottom: 25px;
  float:left;
  filter: drop-shadow(5px 5px 5px #aaa);
  width: 42%;
  }

  img.logoimg {
  margin-bottom: 5px;
  margin-right: 5px;
  width: 120px;
  }

  .logomain {
    /*width: 430px;*/
    width: 300px; /* SmartPhone size */
    margin: 0 auto;
  }

  p.catchcopy{
   /*line-height:1;*/
   -webkit-line-clamp: 2; /* Limit to 2 lines */

   font-size:12px;
   font-weight:bold;
   padding:0px;
   margin:0px;
   margin-top:25px;
  }

  h1.display-1, h2.display-1, h3.display-1 {
    font-size: 2.5em;
  }

  h3.intro {
    font-size: 1.5em;
  }

  iframe {
    width: 100%;
    height: 250px;
    margin-bottom: 10px;
  }

}
