body {
    background: #ffffff;
    background-image: url("image/bg.png");
    background-repeat: no-repeat;
    background-size: 100%;
}

::selection {
    background: none;
}

.webgl{
    width:100%;
    position: relative;
    padding-top:6%;   
    height:780px;
}
.webgl iframe{
position: relative;
top: -480px;
left: 0;
width: 100%;
height: 1200px;
}

.window {
    position: relative;
    background-color: gray;
    width: 1024px;
    height: 576px;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.error {
    width: 100%;
    position: relative;
    padding-top: 10%;
    text-align: center;
    font-size: x-large;
    height: 650px;
}

#container { position: absolute; left: 50%; transform: translate(-50%, 0%); width:1024px; }

.iframe-wrapper {
  position: relative;
  padding-top: 56.25%;
}



.headline {
    height: 50px;
    width: 100vw;
}



.logo_img {
    text-align: center;
}

h1 {
    padding: 0.5em;/*文字周りの余白*/
    color: #010101; /*文字色*/
    background: #eaf3ff; /*背景色*/
    border-bottom: solid 3px #516ab6; /*下線*/
    text-align: center
}


.credit {
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    margin-top:0;
    margin-bottom:0;
}
.credit p {
    text-align:right;
    margin-top:-15px;
    margin-bottom:-20px;
}

.banner {
    width: 1024px;
    height: 50px;
    background-color: rgb(71, 71, 240);
    margin-bottom: 10px;
    margin-top: -70px;
    color: white;
    padding-top: 0.5em;
    color: #010101;
    text-align: center;
    color: white;
    font-size: 1.5em;
}

.tab-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 1024px;
}

.tab-wrap:after {
  content: '';
  width: 100%;
  height: 10px;
  background: #d1d633;
  display: block;
  order: -1;

}

.tab-label {
    font-size: 16px;
    background: #4bb13b;
    background-image: url("image/label_img.png");
    color: White;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    padding: 10px .5em;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    flex: 1;
    text-shadow: 1px 2px 3px #808080;
}

.tab-label:not(:last-of-type) {
    font-size: 16px;
    margin-right: 5px;
}

.tab-content {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
    background-image: url("image/side_bar.jpg");
    background-repeat: repeat-y;
    background-size: 1024px;

}

.tab-content-text {
    margin-left: auto;
    margin-right: auto;
    display:flex;
}


.tab-left_side {
    height: auto;
    width: 25%;
    /*background-color: #a0f1db;*/
    margin-left: 10px;
    overflow-wrap: break-word;
    padding: 2em;
    padding-left:0.5em;
    padding-right:0.5em;
}

.sticked{
  position: sticky;
}

.tab-right_side {
    height: auto;
    width: 80%;
    /*background-color: #edcfb2;*/
    margin-right: 10px;
    overflow-wrap: break-word;
    padding: 2em;
}


#page_top{
  width: 49px;
  height: 49px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #3f98ef;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 49px;
  height: 49px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}



/* アクティブなタブ */
    .tab-switch:checked + .tab-label {
    background: #d1d633;
    background-image: url("image/label_img.png");
}

.tab-switch:checked + .tab-label + .tab-content {
    height: auto;
    overflow: auto;
    padding: 15px;
    opacity: 1;
    box-shadow: 0 0 3px rgba(0,0,0,.2);
}
/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}

.end-line {
    content: '';
    width: 1024px;
    height: 10px;
    background: #d1d633;
    display: block;
}

.end-line-after{
    height:50px;
}



.end-banner {
    width: 1024px;
    height: 200px;
    /*background-color: darkblue;*/
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.otoiawase {
    margin-top: 30px;
    margin-bottom: 30px;
}

.window_under_button {
    margin-top: 25px;
}

.window_under_button table {
    margin: 0 0 0 auto;
}

.window_under_button_img{
    height: 38px;
}

.menu_text {
    font-size: 14px;
    font-weight: bold;
}

.menu_text:hover {
    color: red;
    font-weight: bold;
    text-decoration-line: underline;
}

h4 {
    font-size:20px;
    position: relative;
    padding: 1rem 2rem;
    -webkit-box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
}

h4:before,
h4:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  content: '';
  background-image: -webkit-linear-gradient(315deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
  background-image: linear-gradient(135deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
}

h4:before {
  top: 0;
}

h4:after {
  bottom: 0;
}

h5 {
  font-size:20px;
  position: relative;
  padding: 1rem 2rem;
  -webkit-box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
}

h5:before,
h5:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  content: '';
  background-image: -webkit-gradient(linear, right top, left top, from(#30cfd0), to(#330867));
  background-image: -webkit-linear-gradient(right, #30cfd0 0%, #330867 100%);
  background-image: linear-gradient(to left, #30cfd0 0%, #330867 100%);
}

h5:before {
  top: 0;
}

h5:after {
  bottom: 0;
}

h6 {
  font-size:20px;
  position: relative;
  overflow: hidden;
  padding: 1rem 2rem 1rem 130px;
  border-top: 3px solid #000;
}

h6:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #000;
}

h6 span {
  font-size: 40px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}

h2 {
    font-size: 15px;
  position: relative;
  overflow: hidden;
  padding: 1rem 2rem 1rem 130px;
  border: 2px solid #000;
}

h2:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #000;
}

h2 span {
  font-size: 35px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}

header{
  z-index: 10;
  height: 54px;
  position: absolute;
  top: 0px;
  background-color: rgb(233, 242, 250);
  width: 100%;
  text-align: left;
  z-index: 2;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.headline_jmg {
  margin-top: 0px;
  height: 40px;
}

ul {
  overflow:hidden;
  list-style:none;
  margin: 0 auto;
  z-index: 20;
}

ul li {
  display: inline-block;
  padding: 3px 20px 20px 0px;
  margin-bottom: 10px;
}

.btn4{
  text-align: center;
  position: relative;
  text-decoration: none;
  display:inline-block;
}

.btn4::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0px;
  width: 100%;
  height: 2px;
  background: #3367ff;
  display: block;
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  -webkit-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
  transition: transform 0.4s cubic-bezier(1, 0, 0, 1)
}

.btn4:hover::before {
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1)
}

footer{
  z-index: 10;
  height: 30px;
  position: absolute;
  bottom: 0%;
  background-color: rgb(233, 242, 250);
  width: 65%;
  text-align: left;
  z-index: 2;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}