@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/NotoSansCJKjp-Regular.woff') format('woff'),
      url('../fonts/NotoSansCJKjp-Regular.eot')  format('eot');
  font-display: swap;
}
@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/NotoSansCJKjp-Medium.woff') format('woff'),
      url('../fonts/NotoSansCJKjp-Medium.eot')  format('eot');
  font-display: swap;
}
@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/NotoSansCJKjp-Bold.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/NotoSansCJKjp-Black.woff') format('woff');
  font-display: swap;
}

/*////////////////////////////// スクロールバースタイル //////////////////////////////*/

::-webkit-scrollbar {
  width: 8px;
  height: 0px;
  background:#ddd;
} 
/* Track */
::-webkit-scrollbar-track {
  -webkit-border-radius: 0px;
  border-radius: 0px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 0px;
  border-radius: 0px;
  background:#1d2087;
}
::-webkit-scrollbar-thumb:window-inactive {
background: #ddd; 
}
/*//////////////////////////////ページトップスクロール///////////////////////////////*/
.pagetop {
  display: none;
  position: fixed;
  width: 60px;
  bottom: -7px;
  right: 0px;
  z-index: 10000;
}
@keyframes action {
    0% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
        opacity: 0.5;
    }
    100% {
        transform: scale(2.0);
        -webkit-transform: scale(2.0);
        opacity: 0;
    }
}
/*////////////////////////////// ベーススタイル //////////////////////////////*/

html, body {
  height: 100%;
}
body {
  font-family: Helvetica, 'arial', 'NotoSansCJKjp', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", HiraKakuProN-W3, HiraKakuPro-W3, "ヒラギノ角ゴ ProN W3", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", sans-serif;
  line-height: 1.4em;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin: 0;
}
.mincho {
  font-family: 'Lora', "Sawarabi Mincho", "游明朝", "游明朝 Medium", "Yu Mincho Medium",  YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ヒラギノ明朝 ProN W3", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
h1, h2, h3 {
  line-height: 1.4em;
  letter-spacing: 0.04em;
}
p {
  line-height: 1.8em;
  letter-spacing: 0.06em;
  font-size: 16px;
}
h1 {
  font-size: 60px;
}
h2 {
  font-size: 2em;
  margin: 20px;
}
h3 {
  font-size: 30px;
  margin: 20px;
}
h4 {
  font-size: 28px;
  margin: 20px 0;
}
a {
  color: #8cc63f;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a:hover {
  text-decoration: none;
  color: #29abe2;
}
a:focus, *:focus {
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.under {
  text-decoration: underline;
}
.footer {
  background-color: #555;
  color: #fff;
  position: relative;
  top: 0px;
  font-size: 80%;
}
.footer-size {
  width: 250px;
  height: auto;
}
.normal {
  font-weight: normal;
}
.bold {
  font-weight: bold;
}
.heavy {
  font-weight: 900;
}
.big {
  font-size: 300%;
}
.small {
  font-size: 90%;
}
.small-s {
  font-size: 70%;
}
.bg-e {
  background-color: #eee;
}
.bg-r {
  background-color: #ad0011;
}
.bg-b {
  background-color: #1b1464;
}
.color-r {
  color: #ad0011;
}
.color-b {
  color: #1b1464;
}
.color-w {
  color: #fff;
}
.color-y {
  color: #fcff7b;
}
.center-left {
  text-align: center;
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.just {
  text-align:justify;
}
.margintop-s {
  margin-top: 30px;
}
.margintop-m {
  margin-top: 60px;
}
.margintop-l {
  margin-top: 90px;
}
.marginbottom-s {
  margin-bottom: 30px;
}
.marginbottom-m {
  margin-bottom: 60px;
}
.marginbottom-l {
  margin-bottom: 90px;
}
.paddingtop-xs {
  padding-top: 10px;
}
.paddingtop-s {
  padding-top: 30px;
}
.paddingtop-m {
  padding-top: 60px;
}
.paddingtop-l {
  padding-top: 90px;
}
.paddingbottom-s {
  padding-bottom: 30px;
}
.paddingbottom-m {
  padding-bottom: 60px;
}
.paddingbottom-l {
  padding-bottom: 90px;
}
.paddingbottom-100 {
  padding-bottom: 100px;
}
.no-display {
  display: none;
}
.contents {
  width: 1500px;
  margin: 0 auto;
}
.display {
  margin: 0px;
  display: inline-block;
}
.indent-1 {
  padding-left:1em;
  text-indent:-1em;
  letter-spacing: 0.06em;
}

/*////////////////////////////// オリジナルスタイル //////////////////////////////*/

.logo-area {
  position: relative;
  width: 100%;
  height: 100px;
}
.logo-size {
  height: 50px;
  position: absolute;
  top: 20px;
  right: 20px;
}
.img-responsive {
  width: 100%;
  height: auto;
}

/*ボックス枠*/
.layout-area {
  position: relative;
  width: 100%;
  height: auto;
}
.layout-back1 {
  background-color: #eee;
  margin: 100px auto 0px;
  width: 100%;
  height: 800px;
  z-index: 0;
}
.layout-back2 {
  background-color: #eee;
  margin: 0px auto 0px;
  width: 100%;
  height: 950px;
  z-index: 0;
}
.layout-box1 {
  background-color: #ad0011;
  position: absolute;
  top: -100px;
  left: -5%;
  right: auto;
  padding: 50px 0;
  z-index: 2;
  width: 50%;
  height:auto;
}
.layout-box2 {
  width: 65%;
  height: auto;
  position: absolute;
  top: 0px;
  left: auto;
  right: -5%;
  z-index: 1;
	overflow: hidden;
}
.layout-box3 {
  width: 65%;
  height: auto;
  position: absolute;
  top: 0px;
  left: -5%;
  right: auto;
  z-index: 1;
}
.layout-box4 {
  background-color: #ad0011;
  position: absolute;
  top: 300px;
  left: auto;
  right: -5%;
  padding: 80px;
  z-index: 2;
  width: 40%;
  height:auto;
}
.loop-slider {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}
.slider_content {
  min-width: 100%;
  opacity: 0;
  animation: display 7s infinite;
  -webkit-animation: display 7s infinite;
}
.loop-slider img:nth-child(2) {
  animation-delay: 2s;
}
.loop-slider img:nth-child(3) {
  animation-delay: 4s;
}
.loop-slider img:nth-child(4) {
  animation-delay: 6s;
}
.slider__img{
  max-width: 100%;
  min-width: 100%;
}
@keyframes display {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  30% {
    opacity: 1;
    transform: translateX(0);
  }
  40% {
    opacity: 1;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
  }
  60% {
    opacity: 1;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
  }
  70% {
    opacity: 1;
    transform: translateX(-200%);
    -webkit-transform: translateX(-200%);
    -moz-transform: translateX(-200%);
    -ms-transform: translateX(-200%);
    -o-transform: translateX(-200%);
  }
  90% {
    opacity: 1;
    transform: translateX(-200%);
    -webkit-transform: translateX(-200%);
    -moz-transform: translateX(-200%);
    -ms-transform: translateX(-200%);
    -o-transform: translateX(-200%);
  }
  100% {
    opacity: 1;
    transform: translateX(-300%);
    -webkit-transform: translateX(-300%);
    -moz-transform: translateX(-300%);
    -ms-transform: translateX(-300%);
    -o-transform: translateX(-300%);
  }
}

.layout-box1 h1 {
  font-size: 3.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.layout-box4 h2 {
  font-size: 2.2em;
  margin: 40px 0;
}
.layout-text1 {
  position: absolute;
  width: 30%;
  top: 520px;
  left: -5%;
  right: auto;
  z-index: 1;
}
.layout-text2 {
  position: absolute;
  width: 33%;
  top: 120px;
  left: auto;
  right: -5%;
  z-index: 1;
}
.layout-text1 h2, .layout-text2 h2 {
  margin: 0px;
  display: flex;
  align-items: center;
  font-size: 2.0em;
}
.border-before:before {
  content: "";
  height: 1px;
  background: #ad0011;
  flex-grow: 1;
  margin-right: 1rem;
}
.border-after:after {
  content: "";
  height: 1px;
  background: #ad0011;
  flex-grow: 1;
  margin-left: 1rem;
}
.cap {
  position: relative;
  margin: 0px 0px;
}
.section2 h2 {
  font-size: 4.6em;
}
.bg-japan {
  margin-top: 0px;
  width: 100%;
  height: auto;
	background-position: 50% 60%;
  background-image: url("../img/japan.svg");
	background-repeat: no-repeat;
  background-size: 100% 100%;
}
.history {
  height: 2600px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 0;
  border-left: solid 1px #ccc;
}
.history-box {
  display: flex;
  align-items: center;
  margin: 30px 0;
}
.history h2 {
  font-size: 3.2em;
  margin: 20px 0px;
}
.history h3 {
  font-size: 1.2em;
  line-height: 1.8em;
  margin: 20px 30px;
}
.line {
  background-color: #ccc;
  width: 60px;
  height: 2px;
  margin: auto 60px;
}
.history-box a {
  position: relative;
  width: 200px;
  height: auto;
  overflow: hidden;
}
.play-img {
  position: absolute;
  width: 40px;
  top: 35%;
  left: 40%;
  z-index: 2;
}
.history-img {
  width: 200px;
  height: auto;
  transition: all 0.5s ease 0s;
}
.history-img:hover {
  opacity: 0.8;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}
.v-line {
  background-color: #ccc;
  width: 1px;
  height: 200px;
  margin: 0 auto;
  z-index: 1;
 }
 .stack {
   position: absolute;
   left: 50%;
   bottom: -100px;
 }
.safety-back {
  background-color: #eee;
  margin: 100px auto 0px;
  width: 100%;
  height: 800px;
  z-index: 0;
}
.safety-box1 {
  width: 50%;
  height: auto;
  position: absolute;
  top: 50px;
  left: 0;
  right: auto;
  padding: 50px;
  z-index: 1;
}
.safety-box2 {
  background-color: #1b1464;
  position: absolute;
  top: -100px;
  left: auto;
  right: -5%;
  padding: 80px;
  z-index: 2;
  width: 40%;
  height:auto;
}
.safety-box2 h3 {
  font-size: 1.6em;
  letter-spacing: 0.1em;
  line-height: 2.2em;
  margin: 30px;
}
.b-bar {
  background-color: #1b1464;
  width: 100%;
  padding: 20px;
}
.b-bar h2 {
  font-size: 3.0em;
}
.links {
  display: flex;
  align-items: center;
  margin-left: 60px;
}
.links-img {
  width: 50px;
  height: auto;
  padding: 10px;
}
.target {
  transition: .5s ;
  transform: rotateZ( 0deg ) ;
  -webkit-transition: .5s ;
  -moz-transition: .5s ;
  -ms-transition: .5s ;
  -o-transition: .5s ;
}
.target:hover {
  transform: rotateZ( 360deg ) ;
}
.links h3 {
  font-size: 2.0em;
}
.links-text {
  margin: 10px 10px 10px 150px;
}
.links-text p {
  font-size: 1.2em;
  line-height: 2.2em;
}
.movie-back {
  background-color: #eee;
  margin: 100px auto 0px;
  width: 100%;
  height: 700px;
  z-index: 0;
}
.movie-box1 {
  background-color: #1b1464;
  position: absolute;
  top: -100px;
  left: -5%;
  right: auto;
  padding: 80px;
  z-index: 2;
  width: 40%;
  height:auto;
}
.movie-box1 h2 {
  font-size: 3.0em;
  letter-spacing: 0.1em;
  line-height: 2.0em;
  margin: 20px;
}
.movie-box1 h3 {
  font-size: 1.8em;
  letter-spacing: 0.1em;
  line-height: 2.0em;
  margin: 20px;
}
.movie-box1 p {
  font-size: 1.1em;
  letter-spacing: 0.1em;
  line-height: 2.0em;
  margin: 20px;
}
.movie-box2 {
  width: 46%;
  height: auto;
  position: absolute;
  top: 60px;
  left: auto;
  right: 0;
  padding: 60px;
  z-index: 1;
}
.movie-box2 a {
  position: absolute;
  width: 680px;
  height: auto;
  overflow: hidden;
}
.movie-play-img {
  position: absolute;
  width: 80px;
  height: auto;
  top: 40%;
  left: 45%;
  z-index: 2;
}
.movie-img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease 0s;
  overflow: hidden;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -ms-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
}
.movie-img:hover {
  opacity: 0.9;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}
.lifemail-img {
  width: 1000px;
  height: auto;
}

.lifemail-back {
  background-color: #eee;
  margin: 100px auto 0px;
  width: 100%;
  height: 880px;
  z-index: 0;
}
.lifemail-box1 {
  width: 45%;
  height: auto;
  position: absolute;
  top: 0px;
  left: 0;
  right: auto;
  padding: 60px;
  z-index: 1;
}
.lifemail-box2 {
  background-color: #1b1464;
  position: absolute;
  top: -100px;
  left: auto;
  right: -5%;
  padding: 80px;
  z-index: 2;
  width: 40%;
  height:auto;
}
.lifemail-box2 p {
  font-size: 1.1em;
  letter-spacing: 0.1em;
  line-height: 2.0em;
  margin: 20px;
}
.page-link-img {
  width: 800px;
  height: auto;
}

/* 流れるエフェクト */
.passing .passing-box {
	display: block;
}
.passing .passing-bar {
	display: inline-block;
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.passing .passing-bar:before {
	content: '';
	display: inline-block;
	width: 0;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	background: #000;
}
.passing .passing-txt {
	opacity: 0;
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.passing.move .passing-bar:before {
	-webkit-animation: passing-bar 1s ease 0s 1 normal forwards;
	animation: passing-bar 1s ease 0s 1 normal forwards;
}
.passing.move .passing-txt {
	-webkit-animation: passing-txt 0s ease .5s 1 normal forwards;
	animation:passing-txt 0s ease .5s 1 normal forwards;
}

/*////////////////////////////// アニメーション //////////////////////////////*/

@-webkit-keyframes passing-bar{
	0% {
		left: 0;
		right: auto;
		width: 0;
	}
	50% {
		left: 0;
		right: auto;
		width: 100%;
	}
	51% {
		left: auto;
		right: 0;
		width: 100%;
	}
	100% {
		left: auto;
		right: 0;
		width: 0;
	}
}
@keyframes passing-bar{
	0% {
		left: 0;
		width: 0;
	}
	50% {
		left: 0;
		width: 100%;
	}
	51% {
		left: 0;
		width: 100%;
	}
	100% {
		left: 100%;
		width: 0;
	}
}
@-webkit-keyframes passing-txt{
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes passing-txt{
	0% { opacity:0; }
	50% { opacity:0; }
	100% { opacity:1; }
}

/*////////////////////////////// メディアクエリ //////////////////////////////*/

@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h2 {
    font-size: 1.2em;
  }
  h3 {
    font-size: 0.8em;
    margin: 5px 0;
  }
  h4 {
    font-size: 0.9em
    ;margin: 5px 0;
  }
  p {
    font-size: 0.8em;
    line-height: 1.6em;
  }
  .margintop-l {
    margin-top: 30px;
  }
  .paddingtop-s {
    padding-top: 10px;
  }
  .paddingtop-m {
    padding-top: 20px;
  }
  .paddingtop-l {
    padding-top: 30px;
  }
  .paddingbottom-s {
    padding-bottom: 10px;
  }
  .paddingbottom-m {
    padding-bottom: 20px;
  }
  .paddingbottom-l {
    padding-bottom: 30px;
  }
  .logo-area {
    width: 100%;
    height: 50px;
  }
  .logo-size {
    height: 30px;
    top: 10px;
    right: 5px;
  }
  .contents {
    width: 100%;
    max-width: 480px;
  }
  .layout-back1 {
    margin: 0px auto 0px;
    height: auto;
    padding: 0 0 60px;
  }
  .layout-back2 {
    height: auto;
    padding: 0 0 150px;
  }
  .layout-box1 {
    position: relative;
    top: 0px;
    left: 0;
    padding: 30px 0px;
    width: 90%;
  }
  .layout-box2 {
    position: relative;
    top: 60px;
    left: 10%;
    right: 0;
    width: 90%;
  }
  .layout-box3 {
    position: relative;
    width: 90%;
    left: 10%;
    right: 0;
    top: 120px;
  }
  .layout-box4 {
    position: relative;
    width: 90%;
    padding: 0;
    top: 60px;
    left: 0;
  }
  .layout-box1 h1 {
    font-size: 1.6em;
  }
  .layout-box4 h2 {
    font-size: 1.2em;
    margin: 40px 40px 20px;
  }
  .layout-box4 p {
    font-size: 0.9em;
    margin: 20px 40px 40px;
  }
  .layout-text1 {
    position: relative;
    width:70%;
    top: 30px;
    left: 0;
  }
  .layout-text2 {
    position: relative;
    width:75%;
    top: 90px;
    left: 25%;
    right: 0;
  }
  .layout-text1 h2, .layout-text2 h2 {
    font-size: 1.6em;
  }
  .section2 h2 {
    font-size: 1.7em;
  }
  .history {
    height: 1400px;
    width: 98%;
    max-width: 320px;
  }
  .history-box {
    margin: 10px 0;
  }
  .history h2 {
    font-size: 2.2em;
    margin: 5px 0px;
  }
  .history h3 {
    font-size: 0.8em;
    line-height: 1.6em;
    margin: 20px 5px;
  }
  .line {
    width: 20px;
    margin: auto 5px;
  }
  .history-box a {
    width: 90px;
  }
  .play-img {
    width: 30px;
    top: 25%;
    left: 34%;
  }
  .history-img {
    width: 90px;
  }
  .v-line {
    height: 80px;
  }
  .stack {
    bottom: -40px;
  }
  .safety-back {
    margin: 0px auto 0px;
    height: auto;
    padding: 0 0 120px;
  }
  .safety-box1 {
    position: relative;
    width: 100%;
    top: 30px;
    left: auto;
    padding: 0px;
  }
  .safety-box2 {
    position: relative;
    width: 72%;
    padding: 20px;
    top: 60px;
    right: 0;
    left: 9%;
  }
  .safety-box2 h3 {
    font-size: 1.0em;
    line-height: 1.6em;
    margin: 0px;
  }
  .b-bar {
    padding: 5px 0px;
  }
  .b-bar h2 {
    font-size: 1.8em;
  }
  .links {
    margin-left: 10px;
  }
  .links-img {
    width: 30px;
  }
  .links h3 {
    font-size: 1.1em;
  }
  .links-text {
    margin: 0px 10px 0px 60px;
  }
  .links-text p {
    font-size: 0.9em;
    line-height: 2.0em;
  }
  .movie-back {
    margin: 0px auto 0px;
    height: auto;
    padding: 0 0 85%;
  }
  .movie-box1 {
    position: relative;
    width: 100%;
    padding: 20px 0;
    top: 0px;
    left: 0;
  }
  .movie-box1 h2 {
    font-size: 1.7em;
    margin: 10px 0;
  }
  .movie-box1 h3 {
    font-size: 1.1em;
    margin: 10px 0;
  }
  .movie-box1 p {
    font-size: 0.9em;
    margin: 10px 30px;
  }
  .movie-box2 {
    position: relative;
    width: 90%;
    padding: 0px;
    top: 30px;
    left: 5%;
    right: auto;
  }
  .movie-box2 a {
    width: 100%;
  }
  .movie-play-img {
    width: 20%;
    top: 33%;
    left: 40%;
    right: auto;
  }
  .movie-img {
    width: 100%;
  }
  .big {
    font-size: 140%;
    margin-bottom: -10px;
  }
  .lifemail-img {
    width: 80%;
  }
  .lifemail-back {
    margin: 0px auto 0px;
    height: auto;
  }
  .lifemail-box1 {
    position: relative;
    width: auto;
    top: 0px;
    left: auto;
    right: auto;
    padding: 30px;
  }
  .lifemail-box2 {
    position: relative;
    width: auto;
    padding: 20px;
    top: 0px;
    left: 0;
    right: auto;
  }
  .lifemail-box2 p {
    font-size: 0.8em;
    margin: 10px;
  }
  .page-link-img {
    width: 90%;
  }
}

@media screen and (min-width: 481px) and (max-width: 767px)  {
  body {
    font-size: 15px;
  }

  h2 {
    font-size: 1.3em;
  }
  h3 {
    font-size: 1.0em;
    margin: 10px 0;
  }
  h4 {
    font-size: 1.0em
    ;margin: 10px 0;
  }
  p {
    font-size: 0.9em;
    line-height: 1.6em;
  }
  .margintop-l {
    margin-top: 30px;
  }
  .paddingtop-s {
    padding-top: 20px;
  }
  .paddingtop-m {
    padding-top: 30px;
  }
  .paddingtop-l {
    padding-top: 40px;
  }
  .paddingbottom-s {
    padding-bottom: 20px;
  }
  .paddingbottom-m {
    padding-bottom: 30px;
  }
  .paddingbottom-l {
    padding-bottom: 40px;
  }
  .logo-area {
    width: 100%;
    height: 60px;
  }
  .logo-size {
    height: 40px;
    top: 10px;
    right: 5px;
  }
  .contents {
    width: 100%;
    max-width: 480px;
  }
  .layout-back1 {
    margin: 0px auto 0px;
    height: 650px;
  }
  .layout-back2 {
    height: 660px;
  }
  .layout-box1 {
    top: 0px;
    left: 0;
    padding: 30px 0px;
    width: 90%;
  }
  .layout-box2 {
    top: 310px;
    right: 0;
    width: 90%;
  }
  .layout-box3 {
    width: 90%;
    top: 320px;
    right: 0;
    left: auto;
  }
  .layout-box4 {
    width: 90%;
    padding: 0;
    top: 0px;
    left: 0;
  }
  .layout-box1 h1 {
    font-size: 1.6em;
  }
  .layout-box4 h2 {
    font-size: 1.2em;
    margin: 40px 40px 20px;
  }
  .layout-box4 p {
    font-size: 0.9em;
    margin: 20px 40px 40px;
  }
  .layout-text1 {
    width:65%;
    top: 250px;
    left: 0;
  }
  .layout-text2 {
    width:68%;
    top: 260px;
    right: 0;
  }
  .layout-text1 h2, .layout-text2 h2 {
    font-size: 1.6em;
  }
  .section2 h2 {
    font-size: 1.8em;
  }
    .history {
    height: 1600px;
    width: 90%;
    max-width: 460px;
  }
  .history-box {
    margin: 10px 0;
  }
  .history h2 {
    font-size: 2.4em;
    margin: 5px 0px;
  }
  .history h3 {
    font-size: 0.9em;
    line-height: 1.6em;
    margin: 20px 10px;
  }
  .line {
    width: 20px;
    margin: auto 10px;
  }
  .history-box a {
    width: 160px;
  }
  .play-img {
    width: 40px;
    top: 30%;
    left: 38%;
  }
  .history-img {
    width: 160px;
  }
  .v-line {
    height: 80px;
  }
  .stack {
    bottom: -40px;
  }
  .safety-back {
    margin: 0px auto 0px;
    height: 600px;
  }
  .safety-box1 {
    width: 400px;
    top: 30px;
    left: 10%;
    padding: 0px;
  }
  .safety-box2 {
    width: 80%;
    padding: 30px;
    top: 360px;
    right: 0;
    left: auto;
  }
  .safety-box2 h3 {
    font-size: 1.0em;
    line-height: 1.6em;
    margin: 0px;
  }
  .b-bar {
    padding: 5px 0px;
  }
  .b-bar h2 {
    font-size: 1.8em;
  }
  .links {
    margin-left: 10px;
  }
  .links-img {
    width: 30px;
  }
  .links h3 {
    font-size: 1.2em;
  }
  .links-text {
    margin: 0px 0px 0px 60px;
  }
  .links-text p {
    font-size: 0.9em;
    line-height: 2.0em;
  }
  .movie-back {
    margin: 0px auto 0px;
    height: 680px;
  }
  .movie-box1 {
    width: 100%;
    padding: 20px 0;
    top: 0px;
    left: 0;
  }
  .movie-box1 h2 {
    font-size: 1.7em;
    margin: 10px 0;
  }
  .movie-box1 h3 {
    font-size: 1.1em;
    margin: 10px 0;
  }
  .movie-box1 p {
    font-size: 0.9em;
    margin: 10px 30px;
  }
  .movie-box2 {
    position: relative;
    width: 380px;
    padding: 20px;
    top: 350px;
    left: 6%;
    right: auto;
  }
  .movie-box2 a {
    width: 380px;
  }
  .movie-play-img {
    width: 80px;
    top: 32%;
    left: 39.5%;
  }
  .movie-img {
    width: 100%;
  }
  .big {
    font-size: 180%;
    margin-bottom: -10px;
  }
  .lifemail-img {
    width: 350px;
  }
  .lifemail-back {
    margin: 0px auto 0px;
    height: 1000px;
  }
  .lifemail-box1 {
    width: 80%;
    top: 480px;
    left: 4%;
    right: auto;
    padding: 30px;
  }
  .lifemail-box2 {
    width: 360px;
    padding: 60px;
    top: 0px;
    left: 0;
    right: auto;
  }
  .lifemail-box2 p {
    font-size: 0.8em;
    margin: 10px;
  }
  .page-link-img {
    width: 400px;
  }
}
@media screen and (min-width:768px) and (max-width: 856px) { 
  body {
    font-size: 17px;
  }

  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.2em;
    ;margin: 10px 0;
  }
  h4 {
    font-size: 1.0em
    ;margin: 10px 0;
  }
  p {
    font-size: 0.8em;
    line-height: 1.6em;
  }
  .contents {
    width: 98%;
    max-width: 700px;
  }
  .margintop-l {
    margin-top: 30px;
  }
  .paddingtop-s {
    padding-top: 20px;
  }
  .paddingtop-m {
    padding-top: 40px;
  }
  .paddingtop-l {
    padding-top: 60px;
  }
  .paddingbottom-s {
    padding-bottom: 20px;
  }
  .paddingbottom-m {
    padding-bottom: 40px;
  }
  .paddingbottom-l {
    padding-bottom: 60px;
  }
  .layout-back1 {
    margin: 80px auto 0px;
    height: 400px;
  }
  .layout-back2 {
    height: 520px;
  }
  .layout-box1 {
    top: -80px;
    padding: 30px 10px;
    width: 50%;
  }
  .layout-box2 {
    width: 65%;
  }
  .layout-box3 {
    width: 65%;
  }
  .layout-box4 {
    top: 100px;
    padding: 30px;
    width: 45%;
  }
  .layout-box1 h1 {
    font-size: 2.0em;
  }
  .layout-box4 h2 {
    font-size: 1.2em;
    margin: 20px 0;
  }
  .layout-box4 p {
    font-size: 1.0em;
  }
  .layout-text1 {
    width: 35%;
    top: 240px;
  }
  .layout-text2 {
    width: 37%;
    top: 30px;
  }
  .layout-text1 h2, .layout-text2 h2 {
    font-size: 1.6em;
  }
  .section2 h2 {
    font-size: 2.0em;
  }
  .history {
    height: 2000px;
  }
  .history-box {
    margin: 10px 0;
  }
  .history h2 {
    font-size: 2.6em;
    margin: 5px 0px;
  }
  .history h3 {
    font-size: 1.0em;
    line-height: 1.8em;
    margin: 20px 20px;
  }
  .line {
    width: 40px;
    margin: auto 30px;
  }
  .history-box a {
    width: 180px;
  }
  .play-img {
    width: 40px;
    top: 33%;
    left: 39%;
  }
  .history-img {
    width: 180px;
  }
  .v-line {
    height: 100px;
  }
  .stack {
    bottom: -50px;
  }
  .safety-back {
    margin: 80px auto 0px;
    height: 400px;
  }
  .safety-box1 {
    width: 50%;
    top: 40px;
    padding: 20px;
  }
  .safety-box2 {
    top: -80px;
    padding: 40px;
    width: 40%;
  }
  .safety-box2 h3 {
    font-size: 1.1em;
    line-height: 1.8em;
    margin: 0px;
  }
  .b-bar {
    padding: 10px;
  }
  .b-bar h2 {
    font-size: 2.2em;
  }
  .links {
    margin-left: 20px;
  }
  .links-img {
    width: 40px;
  }
  .links h3 {
    font-size: 1.6em;
  }
  .links-text {
    margin: 10px 10px 10px 80px;
  }
  .links-text p {
    font-size: 0.9em;
    line-height: 2.0em;
  }
  .movie-back {
    margin: 80px auto 0px;
    height: 420px;
  }
  .movie-box1 {
    top: -80px;
    padding: 30px;
    width: 46%;
  }
  .movie-box1 h2 {
    font-size: 1.7em;
    margin: 10px 0;
  }
  .movie-box1 h3 {
    font-size: 1.1em;
    margin: 10px 0;
  }
  .movie-box1 p {
    font-size: 0.9em;
    margin: 10px 0;
  }
  .movie-box2 {
    width: 46%;
    top: 80px;
    padding: 20px;
  }
  .movie-box2 a {
    width: 320px;
  }
  .movie-play-img {
    width: 80px;
    top: 30%;
    left: 37.5%;
  }
  .movie-img {
    width: 100%;
  }
  .big {
    font-size: 220%;
    margin-bottom: -10px;
  }
  .lifemail-img {
    width: 600px;
  }
  .lifemail-back {
    margin: 80px auto 0px;
    height: 460px;
  }
  .lifemail-box1 {
    width: 48%;
    padding: 30px;
  }
  .lifemail-box2 {
    top: -80px;
    padding: 20px;
    width: 45%;
  }
  .lifemail-box2 p {
    font-size: 0.8em;
    margin: 10px;
  }
  .page-link-img {
    width: 600px;
  }
}
@media screen and (min-width:857px) and (max-width: 1500px)  {
  body {
    font-size: 17px;
  }

  h2 {
    font-size: 1.4em;
  }
  h3 {
    font-size: 1.2em;
    ;margin: 10px 0;
  }
  h4 {
    font-size: 1.0em
    ;margin: 10px 0;
  }
  p {
    font-size: 0.9em;
    line-height: 1.6em;
  }
  .contents {
    width: 98%;
    max-width: 820px;
  }
  .margintop-l {
    margin-top: 30px;
  }
  .paddingtop-s {
    padding-top: 20px;
  }
  .paddingtop-m {
    padding-top: 40px;
  }
  .paddingtop-l {
    padding-top: 60px;
  }
  .paddingbottom-s {
    padding-bottom: 20px;
  }
  .paddingbottom-m {
    padding-bottom: 40px;
  }
  .paddingbottom-l {
    padding-bottom: 60px;
  }
  .layout-back1 {
    margin: 80px auto 0px;
    height: 450px;
  }
  .layout-back2 {
    height: 600px;
  }
  .layout-box1 {
    top: -80px;
    padding: 30px 0;
    width: 50%;
  }
  .layout-box2 {
    width: 65%;
  }
  .layout-box3 {
    width: 65%;
  }
  .layout-box4 {
    top: 140px;
    padding: 40px;
    width: 40%;
  }
  .layout-box1 h1 {
    font-size: 2.2rem;
  }
  .layout-box4 h2 {
    font-size: 1.2em;
    margin: 20px 0;
  }
  .layout-box4 p {
    font-size: 1.0em;
  }
  .layout-text1 {
    width: 35%;
    top: 270px;
  }
  .layout-text2 {
    width: 37%;
    top: 50px;
  }
  .layout-text1 h2, .layout-text2 h2 {
    font-size: 1.6em;
  }
  .section2 h2 {
    font-size: 2.3em;
  }
  .history {
    height: 2000px;
  }
  .history-box {
    margin: 10px 0;
  }
  .history h2 {
    font-size: 2.6em;
    margin: 5px 0px;
  }
  .history h3 {
    font-size: 1.0em;
    line-height: 1.8em;
    margin: 20px 20px;
  }
  .line {
    width: 40px;
    margin: auto 30px;
  }
  .history-box a {
    width: 180px;
  }
  .play-img {
    width: 40px;
    top: 33%;
    left: 39%;
  }
  .history-img {
    width: 180px;
  }
  .v-line {
    height: 100px;
  }
  .stack {
    bottom: -50px;
  }
  .safety-back {
    margin: 80px auto 0px;
    height: 450px;
  }
  .safety-box1 {
    width: 50%;
    top: 40px;
    padding: 20px;
  }
  .safety-box2 {
    top: -80px;
    padding: 40px;
    width: 40%;
  }
  .safety-box2 h3 {
    font-size: 1.1em;
    line-height: 1.8em;
    margin: 0px;
  }
  .b-bar {
    padding: 10px;
  }
  .b-bar h2 {
    font-size: 2.2em;
  }
  .links {
    margin-left: 30px;
  }
  .links-img {
    width: 40px;
  }
  .links h3 {
    font-size: 1.6em;
  }
  .links-text {
    margin: 10px 10px 10px 90px;
  }
  .links-text p {
    font-size: 0.9em;
    line-height: 2.0em;
  }
  .movie-back {
    margin: 80px auto 0px;
    height: 420px;
  }
  .movie-box1 {
    top: -80px;
    padding: 30px;
    width: 46%;
  }
  .movie-box1 h2 {
    font-size: 2.0em;
    margin: 10px 0;
  }
  .movie-box1 h3 {
    font-size: 1.2em;
    margin: 10px 0;
  }
  .movie-box1 p {
    font-size: 0.9em;
    margin: 10px 0;
  }
  .movie-box2 {
    width: 46%;
    top: 50px;
    padding: 30px;
  }
  .movie-box2 a {
    width: 380px;
  }
  .movie-play-img {
    width: 80px;
    top: 33%;
    left: 39.5%;
  }
  .movie-img {
    width: 100%;
  }
  .big {
    font-size: 220%;
    margin-bottom: -10px;
  }
  .lifemail-img {
    width: 600px;
  }
  .lifemail-back {
    margin: 80px auto 0px;
    height: 530px;
  }
  .lifemail-box1 {
    width: 48%;
    padding: 30px;
  }
  .lifemail-box2 {
    top: -80px;
    padding: 20px;
    width: 45%;
  }
  .lifemail-box2 p {
    font-size: 0.85em;
    margin: 10px;
  }
  .page-link-img {
    width: 600px;
  }
  
}