@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 {
    margin: 0;
    padding-top: 130px;
    font-family: 'Hiragino Kaku Gothic Pro', Meiryo, sans-serif;
    color: #000;
  }

  .slider {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider img {
    width: 100%;
    height: 100vh;
    display: block;
    object-fit: cover;
}

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

  .contact-container {
    background-color: #e5e5e5c4;
    max-width: 1200px;
    margin: 0px auto 50px;
    padding: 40px 140px;
    border: 1px solid #000;
  }
  
  h1 {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .imfor{
    width: 100%;
    margin-bottom: 7%;
  }

  p{
    font-size: 0.9rem;
  }

  h3{
    display: flex;
    justify-content: center;
    text-decoration: underline;
  }

  .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;
  }

    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;
      }

    main{
        padding-top: 0;
    }

    .contact-container {
      padding: 40px;
      margin-bottom: 0;
    }

    .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;
    }
  }