body {
  background: black;
  color: white;
  overflow-x: hidden;
  text-align: justify;
  font-size: 15px;
  line-height: 1.6em;
  box-sizing: border-box;
  font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}

.fadein.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.twlink span,
.fblink span {
  display: none;
}

a.twlink,
a.fblink {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 10px;}

a.twlink {
  background: url('../images/twitter.png');
  background-size: cover;
  }

a.fblink {
  background: url('../images/facebook.png');
  background-size: cover;
  }


/* スマホ用クエリ開始 */
@media (max-width: 580px) {

.wrap {
  width: 100%;
  padding: 0 15px;
}

.inbox2,.inbox3,.inbox4,.inbox5,.inbox6,.inbox7 {
  margin-top: 20px;
}

.fadein {
  opacity: 0; 
  visibility: hidden;
  transform: translateY(10px);
  transition: all 1s;
}

.topimage {
  width: 100%;
  height: 125vw;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  background: black;
}

.titleimage {
width: 60%;
height: auto;
}

.inbox1 .content,
.inbox2 .content {
  clear: both;
  z-index: 5;
}

.inbox1 h2,
.inbox4 h2 {
  padding-left: 10px;
  background: #E8380D;
  font-weight: bold;
  max-width: 100%;
  height: 24px;
  line-height: 24px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.inbox1 .content img,
.inbox5 .content img {
  width: 100%;
  margin-bottom: 10px;
}

.inbox2 .content{
  border-top: 1px solid white;
  margin: 20px 0;
}

.inbox2 table,
.inbox6 table {
  width: 100%;
}

.inbox2 td,
.inbox6 td {
  display: block;
  width: 100%;
}

.inbox2 tr {
  display: block;
  width: 100%;
  padding-bottom: 5px;
  border-bottom: 1px solid white;
}

.inbox3 {
  margin-top: 20px;
  padding: 10px;
  background: #666;
}

.inbox3 h3 {
  font-weight: bold;
}

.inbox6 {
  margin-top: 20px;
}

.inbox6 h3 {
  text-align: center;
  font-weight: bold;
}

.inbox6 tr {
  border: 1px solid white;
}

.inbox6 td {
  padding: 3px;  
}

.inbox7 video {
  width: 100%;
}


.inbox8 .content div {
  width: 300px;
  height: 400p;
  margin: 10px auto;
}


footer {
height: 500px;
}

}/* スマホ用クエリ終了 */

/* PC用クエリ開始 */
@media (min-width: 581px) {

.fadein {
  opacity: 0; 
  visibility: hidden;
  transform: translateY(60px);
  transition: all 1s;
}

.wrap {
  width: 100%;
  padding: 100px 50px ;
  background-image: url(../images/back.jpg);
  background-repeat: no-repeat;
  background-position: 0px center;
  background-attachment: fixed;
  background-size: 100% auto;
}

.topimage {
  width: 100%;
  height: 100vw;
  position: relative;
  overflow: hidden;
  background: black;
}

.inbox1 .titleimage {
  margin-left: -50px;
  margin-right: auto; 
  padding-left: calc(50% - (1000px / 2) );
  border-left: solid transparent;
  border-left-width: 50px;
}

.inbox1 .content,
.inbox2 .content,
.inbox4 .content,
.inbox5 .content,
.inbox7 .content,
.inbox8 .content,
.inbox8 .content {
  clear: both;
  z-index: 5;
  max-width: 1000px;
  margin: 0 auto;
}

.inbox1 {
  min-height: 40vw;
}

.inbox1 h2 {
  position: relative;
  z-index: 10;
  max-width: calc(50% + 534px);
  margin-left: -50px;
  margin-right: auto; 
  padding-left: calc(50% - (1000px / 2) );
  border-left: solid transparent;
  border-left-width: 50px;
  background: rgba(232, 56, 13, 0.8);
  font-size: 21px;
  font-weight: bold;
  height: 32px;
  line-height: 32px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.inbox1 h2::after {
  position: absolute;
  content: '';
  right: -16px;
  top: 0px;
  border: none;
  border-left: solid 16px rgba(232, 56, 13, 0.8);
  border-bottom: solid 32px transparent;
}

.inbox1 .content img {
  position: relative;
  float: right;
  width: 25vw;
  height: auto;
  margin-left: 30px;
  margin-bottom: 40px;
}

.inbox2 {
  margin-top: 100px;
}

.inbox2 .content{
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 30px 0;
}

.inbox2 table {
  width: 100%;
  table-layout: fixed;
  margin: 0 10px;
}

.inbox2 table tr td:nth-of-type(1) {
  width: 150px;
}

.inbox3 {
  background: rgb(96,96,96,0.8);
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 60px;
  padding: 20px;
}

.inbox3 h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.inbox4 .titleimage {
  display: block;
  margin-right: -50px;
  margin-left: auto; 
  padding-right: calc(50% - (1000px / 2) );
  border-right: solid transparent;
  border-right-width: 50px;
  margin-top: 150px;
}

.inbox4 h2 {
  position: relative;
  z-index: 10;
  max-width: calc(534px + 50%);
  margin-right: -50px;
  margin-left: auto; 
  padding-left: 10px;
  background:  rgba(232, 56, 13, 0.8);
  font-size: 21px;
  font-weight: bold;
  height: 32px;
  line-height: 32px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.inbox4 h2::before {
  position: absolute;
  content: '';
  left: -16px;
  top: 0px;
  border: none;
  border-right: solid 16px rgba(232, 56, 13, 0.8);
  border-bottom: solid 32px transparent;
}

.inbox5 {
  margin-top: 50px;
}

.inbox5 .content {
  display: flex;
  justify-content: space-between;
}

.inbox5 .content img {
  width: 28vw;
  max-width: 320px;
}

.inbox5 p {
  text-align: center;
}

.inbox6 {
  margin: 100px auto 0 auto;
  max-width: 1100px;

}

.inbox6 h3 {
  position: relative;
  display: block;
  width: 100%;
  font-size: 21px;
  text-align: center;
  margin: 0 auto 10px auto;
}

.inbox6 h3:before, .inbox6 h3:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: calc(50vw - 150px);
  max-width: 450px;
  height: 1px;
  background-color: white;
}

.inbox6 h3:before {
  left:0;
}

.inbox6 h3:after {
  right: 0;
}

.inbox6 .content {
  background: rgb(96,96,96,0.8);
  max-width: 1100px;
  padding: 20px;
}

.inbox6 table {
  width: 100%;
  table-layout: fixed;
  margin-bottom: 10px;
}

.inbox6 table td {
  border: 1px solid white;
  padding: 10px;
}

.inbox6 table tr td:nth-of-type(1) {
  width: 120px;
  text-align: center;
}

.inbox7 {
  margin-top: 100px;
  text-align: center;
}

.inbox7 video {
  width: 640px;
}

.inbox8 .content {
  margin-top: 150px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.inbox8 .content div {
  width: 300px;
  height: 400p;
  margin-bottom: 50px;
}

.inbox9 .content {
  text-align: center;
}

.inbox9 h3 {
  margin-top: 50px;
  margin-bottom: 10px;
}

footer {
margin-top: 400px;
text-align: center;
}

}/* PC用クエリ終了 */