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

h1{
    color: white;
    font-size: bold;
    display: flex;
    justify-content: center;  
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pricing-section {
  margin: 3% 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  /* gap: 0.5vw; */
}

.pricing-card {
  background: rgba(255, 255, 255, 0.685);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 30vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-header {
  color: white;
  text-align: center;
  padding: 1rem;
}

.gradient-blue {
  background: linear-gradient(to right, #1e3c72, #2a5298);
}

.gradient-purple {
  background: linear-gradient(to right, #6a11cb, #2575fc);
}

.gradient-red {
  background: linear-gradient(to right, #ff512f, #dd2476);
}

.card-body {
  padding: 1.5rem;
}

.price {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 1rem;
}

.card-body ul {
  padding-left: 1.2rem;
  list-style: none;
}

.card-body ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.text{
  margin: 3% 20%;
  color: white;
  font-size: 1vw;
  display: flex;
}

.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: 50px;
    }

    .pricing-section{
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4vw;
    }

    .pricing-card{
      width: 90%;
    }

    .text{
      margin: 3%;
      color: white;
      font-size: 1vw;
      display: flex;
    }

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