@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-size: 100%;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
    border: none;
    background: none;
    outline: none;
}

header {
    width: 100%;
    position: fixed;
    z-index: 100;
}

.top-bar {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0.2% 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.top-bar a {
    width: 15%;
}

.top-bar img {
    width: 100%;
    height: auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 5vw;
    overflow: hidden;
    width: 55vw;
    height: 100%;
    margin-top: 0.2%;
  }
  
  .search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 1vw;
    font-size: 1.3vw;
  }
  
  .search-box button {
    background: #000;
    border: none;
    width: 5vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  #search-btn::before {
    content: "🔍";
    font-size: 1.5vw;
    color: white;
  }

nav {
    width: 100%;
    background-color: #000000b2;
}

nav ul {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    color: #ffffff;
    font-weight: bold;
    font-size: 2vh;
}

.menu-toggle{
   display: none;
}

main {
    background-color: rgb(26, 26, 26);
}

.slider {
    width: 100%;
    /* height: 100vh; */
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider img {
    width: 100%;
    aspect-ratio: 16/7.3;
    height: auto;
    display: block;
}

.slick-dots {
    display: none !important;
  }

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.title {
    display: flex;
}

h2 {
    color: #ffffff;
    font-weight: bold;
    margin-left: 8px;
    font-size: 3vw;
}

.title p {
    color: #ffffff;
    font-weight: 350;
    font-size: 1.1vw;
    display: flex;
    align-items: flex-end;
    margin: 0 0 5px 20px;
}

.gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.gallery figure {
    width: 15%;
    margin: 0 0.4%;
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 8px;
}

.gallery img {
    width: 100%;    
    flex-shrink: 0;
    border-radius: 4%;
}

.gallery figcaption {
    margin-top: 5px;
    font-size: 1vw;
    color: rgb(255, 255, 255);
    font-weight: bold;
}

.gallery::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari 用 */
}

figure:hover img{
    transform: scale(1.05);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  }

.scroll-btn {
    position: absolute;
    top: 52.5%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 10px 0px;
    cursor: pointer;
    font-size: 5vw;
    font-weight: bold;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.back-to-top {
    width: 100%;
    display: flex;
    justify-content: center;
    color: #ffffff;
    background-color: #ffffff60;
}

.back-to-top p {
    font-weight: bold;
    font-size: 1vw;
}

footer {
    background-image: url(../img/footer.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    object-fit: cover;
    height: auto;
}

.upper-footer {
    width: 100%;
    padding-top: 5%;
    display: flex;
    justify-content: space-evenly;
}

.left-footer {
    width: 38%;
    padding-left: 1.2%;
    padding-top: 3%;
    color: #ffffff;
}

.left-footer p {
    line-height:2.5vw;
    font-size: 0.9vw;
    letter-spacing: 0.2vw;
}

.right-footer {
    width: 38%;
    color: #ffffff;
}

.right-footer img {
    width: 100%;
    padding-bottom: 1%;
}

.right-footer p {
    font-size: 1.1vw;
    letter-spacing: 0.3vw;
    line-height: 2vw;
    font-weight: bold;
}

.under-footer {
    display: flex;
    justify-content: center;
}

.copyright {
    color: #ffffff;
    font-size: 1vw;
    margin: 5% 0 1%;
}

@media (max-width: 768px) {
    .top-bar{
        height: 36px;
        align-items: center;
        justify-content: space-around;
    }

    .top-bar img{
        width: 125%;
        max-width: none;
    }

    .search-box{
        width: 65vw;
        height: 80%;
    }

    .search-box input {
        font-size: 3vw;
        letter-spacing: 0.3vw;
    }

    .search-box button {
        width: 7vw;
    }

    #search-btn::before{
        font-size: 2vw;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 42px;
        position: relative;
        top: -5px;
        left: -8px;
      }

      .slider img {
        aspect-ratio: 16/8;
    }

    nav ul {
        flex-direction: column;
        display: none; /* 初期は非表示 */
        background: #33333388;
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid #555;
        z-index: 1000; /* 他要素に隠れないように */
      }
    
      nav ul li {
        text-align: center;
        padding: 6px 0;
      }
    
      nav ul li a {
        color: #fff;  /* ← 文字色を白に */
        text-decoration: none;
        font-size: 18px;
      }
    
      nav ul li a:hover {
        background: #444; /* ← ホバーで色変化 */
      }
    
      nav ul.active {
        display: flex; /* トグルで表示 */
      }

      .top-bar a{
        display: flex;
        align-items: center;
      }

    h2{
        font-size: 23px;
    }

    .scroll-btn{
        font-size: 38.41px;
    }

    .gallery figure{
        width: 115px;
    }

    .right-footer p {
        line-height: 4vw;
        font-size: 0.7vw;
        letter-spacing: 0;
    }

    .left-footer p {
        line-height:4.5vw;
        font-size: 0.6vw;
        letter-spacing: 0;
    }
  }