body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    /*background-color: black;*/
    color: white;
} 

.meetus{
    position:absolute;
    top:18%;
    left:10%;
    padding:0;
    z-index: 100;
}
.meetus img{
    width: 200px;    
}

.video-container {
    /* height:55%; */
    height: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1rem;
}
.video-container iframe {
    width: 80vw;
    height: 50vh;
}
.nav-tabs-achema {
    margin-top: 10px;
}
.nav-link-achema:hover{
    color:red;    
}
.nav-link-achema {
    color: #fff;
    background-color: #444;
    border: 1px solid #333;
    display: block;
    padding: .5rem 1rem;
}
.nav-link-achema.active {
    color: #000;
    background-color: #fff;
}

.carousel-container {
    margin-top:-70px;
    height: 50%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-image-container img {
    width : 35vw;
    /* width: 500px; */
    /* height: 200px; */
    margin: 0px; /* Adjust spacing between images */
}

.carousel-indicators {
    position: absolute;
    top: -20%;  /*以前はpx単位だったものを%に変更 */
    left: 23%;
    transform: translateX(-23%);
    z-index: 10;
    width: auto;
    text-align: center;
    padding: 5px;
}

.carousel .carousel-indicators li {
    width: 30px;
    height: 10px;
    cursor: pointer;
    border-radius: unset;
}

.carousel .carousel-control-prev-icon, .carousel .carousel-control-next-icon {
    width: 50px;
    height: 50px;
}

.carousel-indicators li {
    width: 30px;
    height: 10px;
    background-color: #9b9b9b;
    margin: 0 2px;
    cursor: pointer;
    opacity: 0.6;
}

.carousel-indicators .active {
    background-color: #fff;
}

.link-container{ /* logo, newsweek, meetus, contactus */
    display:flex;
    flex-direction:column;
    align-items: center;    
    position: absolute;
    top: 15%;
    right: 5%;
    z-index: 10;
}
.link-container a{
    margin-bottom: 2.5rem;
    text-decoration: none;
}
#imageA{
    width: 300px;
    right: 3%;
}

#imageB{
    width : 200px;
    right: 5%;
}
#imageC{
    width : 250px;
    right: 5%;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000; /* 矢印の背景色を黒に設定 */
    background-size: 100%; /* アイコンのサイズを調整 */
    /*border-radius: 50%; /* アイコンを円形にする */
    width: 50px; /* アイコンの幅を設定 */
    height: 50px; /* アイコンの高さを設定 */
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* コントロール領域の幅を調整 */
}

/* 250px 〜 484px */
@media (min-width: 250px) and (max-width: 484px) {
    .video-container iframe {
        width: 90vw;
        height: calc(90vw * 9 / 16);
    }

    .nav-tabs-achema .nav-item-achema {
        display: block; /* タブを縦並びにする */
        width: 100%; /* タブの幅を100%にする */
        text-align: center;
    }

    .link-container{
        left: 3%;
        top: -3%;
        position: relative;
        display: block;
        margin:auto;
        text-align: center;
        align-items: center;
        justify-content:center;
        margin-bottom:2rem;
    }
    .meetus{
        position:relative;
        top: unset;
        left: 3%;
        margin-top: -2.5rem;
        padding-top: 1.0rem;
        margin-bottom: -3.0rem;
        z-index: 100;
        text-align: center;
        align-items: center;
        justify-content:center;
    }
    .meetus img{
        width: 150px;    
    }
    .carousel-container{
        margin-top:5%;
    }

    .carousel-image-container {
        flex-direction: column; /* 画像を縦並びにする */
        width: 90vw;
        align-items: center;
        justify-content: center;
    }

    .carousel-image-container img {
        width: 90vw; /* 画像をコンテナ幅いっぱいに表示 */
        height: auto; /* 高さは自動調整 */
    }
    #imageA{
        width: 300px;
    }
    #imageB{
        width: 230px;
    }
    #imageC{
        width: 280px;
    }

}



/* 485px 〜 767px */
@media (min-width: 485px) and (max-width: 767px) {

    .video-container iframe {
        width: 90vw;
        height: calc(90vw * 9 / 16);
    }
    .nav-tabs-achema .nav-item-achema {
        display: block; /* タブを縦並びにする */
        width: 100%; /* タブの幅を100%にする */
        text-align: center;
    }

    .link-container{
        left: 3%;
        top: 0%;
        position: relative;
        display: block;
        margin:auto;
        text-align: center;
        align-items: center;
        justify-content:center;
        margin-bottom:4rem;
    }
    .meetus{
        position:relative;
        top: unset;
        left: 3%;
        margin-top: -2rem;
        padding-top: 0rem;
        margin-bottom: -1.0rem;
        z-index: 100;
        text-align: center;
        align-items: center;
        justify-content:center;
    }
    .meetus img{
        width: 200px;    
    }

    #imageA{
        width: 450px;
    }
    #imageB{
        width: 300px;
    }
    #imageC{
        width: 350px;
    }

    .carousel-container{
        /* margin-top:80px; */
        margin-top: 15%;
    }
    .carousel-image-container {
        flex-direction: column; /* 画像を縦並びにする */
        width: 90vw;
    }

    .carousel-image-container img {
        width: 90vw; /* 画像をコンテナ幅いっぱいに表示 */
        height: auto; /* 高さは自動調整 */
    }

    .carousel-indicators{
        top: -30px;
    }
}

@media (min-width: 768px) and (max-width: 1650px) {
    .video-container iframe{
        margin-left: -10rem;
        width: 70vw;
        height:50vh;
    }
    .link-container{
        right: 3%;
    }
    .meetus{
        top: 43%;
        right: 4.5%;
        padding-top: 3rem;
        text-align: right;
        align-items: center;
        justify-content:center;
    }
    .meetus img{
        width: 150px;    
    }

    #imageA,#imageB,#imageC{
        width: 180px;
    }

    .carousel-image-container img{
        /* width: 50vw; */
        width: 35vw;
        height: auto;
    }
    .carousel-container{
        margin-top:-70px;
    }

    .carousel-indicators{ 
        top:-20%;
    } 

}

/* *****************************************/
/* the below is for top-page css           */
/* purposing addition of Achema2024 banner */
/* *****************************************/

.video-background {
    position: relative;
    width: 100%;
    height: 60vh; /* ビューポートの50%の高さ */
    overflow: hidden;
  }

  .video-iframe{
    width: 100% !important;
    height: 120vh !important;
    border: none;
    transform: translateY(-180px);
  }

  .video-background iframe,
  .video-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:cover; /*画像やビデオがコンテナにぴったり合うように */
  }

  .banner {
    position: absolute;
    top: 5%; /* バナーの位置 */
    right: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 230px; /* バナーの最小幅を設定 */
  }

  .banner img {
    max-width: 350px; /* バナー画像の最大幅 */
    width: 100%;
    height: auto;
  }

  .show-cat{
    position: absolute;
    top: 85%; /* バナーの位置 */
    right: 2%;
    /*transform: translateX(-50%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px; /* バナーの最小幅を設定 */
  }
  .show-cat img{
    max-width: 350px; /* バナー画像の最大幅 */
    width: 100%;
    height: auto;
  }
  .close-btn-cat {
    position: absolute;
    background-color: #f00;
    top: 0;
    right:-8px;
    border:none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    padding: 5px; /* パディングを追加 */
    width: 18px;
    height: 18px;
    display:flex;
    justify-content:center;
    align-items: center;      
    margin-left: 10px;
    z-index: 10000;
    border-radius: 3px;
  }


  .close-btn {
    position: absolute;
    background-color: #f00;
    top: 5px;
    right:-8px;
    border:none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    padding: 5px; /* パディングを追加 */
    width: 18px;
    height: 18px;
    display:flex;
    justify-content:center;
    align-items: center;      
    margin-left: 10px;
    z-index: 10000;
    border-radius: 3px;
  }

  @media (min-width: 250px) and (max-width: 484px)  {

    .banner{
        top: 8%;
        right: 10px;
        /*transform: translateX(-10%);*/
        min-width: 130px;
        width: 120px;
    }
    .banner img{
      max-width: 180px;
    }              
    .close-btn{
      top: 0;
      right:0;
    }              
    .close-btn-cat{
      top: 0;
      right:0;
    }
    .show-cat{
        top: 75%;
        right:10px;
        min-width: 130px;
        width: 100px;
    }
    .show-cat img{
        width: 120px;
    }
    .video-iframe{
      width: 140% !important;
      margin-left:-20%;
      height: 120vh !important;
      transform: translateY(-250px);
    }
    .all-inclusive{
      margin-top:-0rem;
    }
    .video-background{
      width: 100%;
      height: 50vh;
      padding:0;
    }
  }
  @media(min-width:485px) and (max-width:912px){
    .banner{
        top: 8%;
        right: 10px;
        /*transform: translateX(-10%);*/
        min-width: 150px;
        width: 20vw;
    }
    .banner img{
      max-width: 180px;
    }              
    .close-btn{
      top: 0;
      right:0;
    }              
    .close-btn-cat{
      top: 0;
      right:0;
    }
    .show-cat{
        top: 75%;
        right:10px;
        min-width:150px;
        width: 20vw;
    }
    .show-cat img{
        width: 120px;
    }
  }

  /* css below is for all-inclusive contents section at top-page */
  .full-width-div {
    background-color: black;
    color: white;
    padding: 50px 0;
}

.background-image {
    background: url('./../images/uploaded/images06_10/usp-bg0.png') no-repeat right center;
    background-size: contain;
    height: 100%;
}

.title-image, .image-link {
    width: 50%;
    display: block; /* This makes the link block-level */
    margin: 0 auto; /* Center the link */
}

.image-link img {
    display: block;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.button {
    width: 25%;
    margin: 5px;
}

.button img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

@media (min-width: 250px) and (max-width: 484px) {
    .button {
        width: 70%; /* Full width buttons on smaller screens */
    }
    .title-image{
        width: 90%;
    }
    .image-link img{
        width: 90vw;
        transform: translateX(-25vw);
    }
    .background-image{
        background: url('./../images/uploaded/images06_10/usp-bg0.png') no-repeat left center;

        background-size: cover;
    }
    .container{
        padding-left: unset;
        padding-right:unset;
    }
    #msg1,#msg2{
        font-size: 1.8rem;
    }
}

@media (min-width: 485px) and (max-width:912px) {
    .button {
        width: 40%; /* Full width buttons on smaller screens */
    }
    .title-image{
        width: 60%;
    }
    .image-link img{
        width: 90vw;
        transform: translateX(-25vw);
    }
    .background-image{
        background-size: cover;
    }
    .container{
        padding-left: unset;
        padding-right:unset;
    }
    #msg1,#msg2{
        font-size: 2.3rem;
    }          

}  
