@charset "utf-8";
/* ================================================================= 
 License : e-TRUST Inc.
 File name : style.css
 Style : style
================================================================= */

/* -----------------------------------------------------
common
------------------------------------------------------ */


.bg_color_wrap1 {
  position: relative;
  z-index: 0;
  padding: 80px 0 !important;
}
@media only screen and (max-width: 1500px) {
  .bg_color_wrap1 {
    padding: 60px 0 !important;
  }
}
@media only screen and (max-width: 1200px) {
  .bg_color_wrap1 {
    padding: 60px 0 !important;
  }
}
@media only screen and (max-width: 835px) {
  .bg_color_wrap1 {
    padding: 40px 0 !important;
  }
}

.bg_color_inr1 {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin-left: calc((100vw - 100%) / 2 * -1);
  margin-right: calc((100vw - 100%) / 2 * -1);
  background: #f3f3f3;
  z-index: -1;
}

.h3title_01 h3 {
	font-size: 20px;
	text-align: center;
	padding:20px 0;
}
.h3title_02 h3 {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin:20px 0; 
}
.flex03 {
   justify-content: space-between;
}
.flex03 .box {
    width:33%;
    margin-bottom: 1%;
}
.flex03 .box img {
    width:100% !important;
}
.flex03:after {
    width:33%;
    content:"";
    display: block;
}
.h3title_03 h3 {
    color:#de2b1e;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.history {
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
}
.history .box {
    padding-bottom: 2%;
}
.history .box:nth-child(odd) {
    width:60px;
}
.history .box:nth-child(even) {
    width:calc(100% - 60px);
}
.gallery_btn ul li a {
    text-transform: initial;
    font-size: 13px;
    letter-spacing:-0.5px;
}
.index-bg02 .position-wrap .index-bg02-1 .bg02-fle .index-cont1 table tr .tb-btn2 div a {
    background: #0b6dd2;
    color: #fff;
    border-radius: 30px;
    display: block;
    padding: 9px 0;
}

@media screen and (min-width: 641px) and (max-width: 834px){
    .organization .imgL {
    max-width: 100% !important;
    }
}
@media only screen and (max-width: 640px){
}

.maintxt {
  font-size: 35px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  line-height: 2;
  z-index: 999;
  background: rgba(255,255,255,0.8);
  padding: 20px;
  width: 300px !important;
  height: 500px;
}
.maintxt .in{
    opacity: 1 !important;
}
.maintxt-L{
    font-size: 45px;
}
.maintxt-red{
    color: #de2b1e;
}
.maintxt-top{
  margin-top: 100px;
}
@media screen and (max-width: 1000px){
.maintxt {
  width: 220px !important;
  font-size: 22px;
  height: 390px;
}
}
@media screen and (max-width: 834px){

}
@media screen and (max-width: 640px){
.maintxt {
  font-size: 14px;
  height: 300px !important;
  width: 175px !important;
  left: 10px !important;
  padding-bottom: 0;
  padding-left: 0;
}
}

.item2 {
    display: none;
}
@media screen and (max-width: 834px){
.item2 {
    display: block;
}
}
@media screen and (max-width: 834px){
    .footer-nav .footer-ul li {
        width: 90% !important;
    }
}
.nav-toggle {
    display: none;
}
@media screen and (max-width: 834px){
.footer-ul {
    display: none;
}
}
.mean-bar {
    background: #de2b1e !important;
}
@media screen and (max-width: 834px){
.header {
    padding: 55px 60px;
}
}

.index-bg01 {
    padding: 150px 0;
}
.index-bg02 {
    padding-bottom: 100px;
}
.index-bg03 {
    padding: 100px 0;
}
@media only screen and (max-width: 640px){
    .index-bg02 {
        padding-bottom: 70px;
    }
    .index-bg03 {
        padding: 70px 0;
    }
}



.flexbox_1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flexbox_1 > div.box {
    box-sizing: border-box;
    overflow: hidden;
    height: 100px;
    width: 24%;
    border-radius: 10px;
    margin: 2% 0 0;
    background: #de2b1e;
}

@media screen and (max-width: 640px) {
  .flexbox_1 > div.box {
    display:block;
    box-sizing: border-box;
    overflow: hidden;
    height: 100px;
    width: 48%;
    border-radius: 10px;
    margin: 2% 0 0;
    background: #de2b1e;
   }
}

.flexbox_1 .box div a {
     text-align: center;
}

.wrap-img-hover-05{
  width: 100%;
  display: block;
}

.wrap-img-hover-05 figure{
  height:100px;
  line-height: 6;
  overflow: hidden;
  position: relative;
  color: #fff;
}

.wrap-img-hover-05 figure figcaption{
  transition: all 0.3s;
  opacity: 0.5;
  background: rgb(255 255 255 / 90%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  color: #000;
  transform: translateY(100%);
}

.wrap-img-hover-05 figure:hover figcaption{
  transform: translateY(0);
  opacity: 1;
}


.wrap-img-hover-05 figure figcaption p{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  width: 90%;
  line-height: 1;
}

@media screen and (max-width: 640px) {
  .wrap-img-hover-05 figure:hover figcaption{
    display: none;
  }
  .wrap-img-hover-05 figure figcaption{
    display: none;
  }
  .wrap-img-hover-05 figure{
    font-size: 14px;
}


.button-display {
  display: none;
}

@media screen and (max-width: 640px) {
  .button-display {
    display: flex;
    position: relative;
    top: -37px;
    border: 2px solid white;
    border-radius: 10px;
    background: #fff;
    width: 40%;
    left: 29.5%;
    justify-content: center;
    align-items: center;
   }
}

.open {
  cursor:pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}

#pop-up {
  display: none; /* label でコントロールするので input は非表示に */
}

.overlay {
  display: none; /* input にチェックが入るまでは非表示に */
}

#pop-up-2 {
  display: none; /* label でコントロールするので input は非表示に */
}

#pop-up-3 {
  display: none; /* label でコントロールするので input は非表示に */
}

#pop-up-4 {
  display: none; /* label でコントロールするので input は非表示に */
}

#pop-up-5 {
  display: none; /* label でコントロールするので input は非表示に */
}
#pop-up-6 {
  display: none; /* label でコントロールするので input は非表示に */
}
#pop-up-7 {
  display: none; /* label でコントロールするので input は非表示に */
}
#pop-up-8 {
  display: none; /* label でコントロールするので input は非表示に */
}
#pop-up-9 {
  display: none; /* label でコントロールするので input は非表示に */
}
#pop-up-10 {
  display: none; /* label でコントロールするので input は非表示に */
}
#pop-up-11 {
  display: none; /* label でコントロールするので input は非表示に */
}
#pop-up-12{
  display: none; /* label でコントロールするので input は非表示に */
}

#pop-up:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-2:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-3:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-4:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-5:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-6:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-7:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-8:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-9:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-10:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-11:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#pop-up-12:checked + .overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

.window {
  width: 90vw;
  max-width: 380px;
  height: 240px;
  background-color: #de2b1e;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text {
  font-size: 18px;
  margin: 0;
  padding: 0 10px 0 10px;
  color: #fff;
}

.close {
  cursor:pointer;
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 20px;
}