@charset "UTF-8";

header {
  font-family: "century-gothic","游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  /* height: 100px; */
  width: 100%;
  padding: min(2.14vw, 30px) min(3.98vw, 55.8px) min(2.14vw, 30px) min(4.2vw, 58.8px);
  background-color: rgba(255, 255, 255, 1); /* 半透明の背景色 */
  backdrop-filter: blur(10px); /* 下のレイヤーをぼかす */
  position: fixed;
  top: -120px; /* 最初は見えない */
  transition: top 0.3s ease-in-out; /* アニメーション追加 */
  z-index: 100001;
  display: flex;
  /* border-radius: 0 0 5px 5px; */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0.05em;
}

header.visible {
  top: 0; /* スクロール時に見えるようにする */
}

header .logo {
  /* font-size: 25px; */
  display: flex;
  align-items: center;
  width: 10vw;
  min-width: 260px;
}

header .logo a {
  padding: 0 10px;
}

header .logo img {
  height: 40px; /* 画像の適度な高さを設定 */
  display: block;
}

header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

header ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

header a {
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center; /* 内部のテキストを縦中央に配置 */
  line-height: 60px;
  padding: 0 1.25vw;
  transition: opacity 0.25s linear;
  font-size: 16px;
  font-weight: 400;
}

header a:hover {
  opacity: 0.8;
}

.onlineLink {
  color: #232323;
  background-color: #f6f6f6;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: center; /* 内部のテキストを縦中央に配置 */
  line-height: 10px;
  padding: 0 50px;
  height: 40px;
  margin: 10px 2vw;
  line-height: 2;
}

/* .onlineLink::after {
  content: url("../img/icon/shopIcon.svg");
  display: inline-block;
  width: 20px; 
  height: 20px;
  padding: 2.5px 0 0 0;
  margin-left: 14px;
  vertical-align: middle;
} */

.sm {
  display: none;
}

@media only screen and (max-width: 1400px) {
  header {
    padding: 0 calc(5vw - 10px);
  }

  .pc {
    display: none;
  }

  #hamburger {
    background-color: transparent;
    position: relative;
    cursor: pointer;
    margin: 0 0 0 auto;
    height: 60px;
    width: 60px;
  }

  .icon span {
    position: absolute;
    left: 15px;
    width: 30px;
    height: 1px;
    background-color: #232323;
    border-radius: 8px;
    transition: ease 0.75s;
  }

  .icon span:nth-of-type(1) {
    top: 20px;
  }

  .icon span:nth-of-type(2) {
    top: 30px;
  }

  .icon span:nth-of-type(3) {
    top: 40px;
  }

  .close span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 28px;
  }

  .close span:nth-of-type(2) {
    opacity: 0;
  }

  .close span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
  }

  .sm {
    top: 0;
    left: 0;
    padding: 60px 0;
    position: absolute;
    z-index: -10;
    width: 100%;
    background-color: rgb(255 255 255 / 95%);
    backdrop-filter: blur(10px); /* 下のレイヤーをぼかす */
  }

  header ul {
    flex-direction: column;
  }

  header a {
    text-align: center;
    padding: 0 5vw;

    /* border-top: solid 0.5px rgba(255, 255, 255, 0.6); */
  }

  .text {
    height: 100px;
   width: calc(100% - 40px);
   margin: 0 auto;
    border-bottom: 1px solid #f6f6f6;
  }

  .onlineLink {
    border-radius: 50px;
    line-height: 21px;
    padding: 25px 50px;
    height: 40px;
    margin: 24.5px 4.5vw;
    justify-content: center;
    font-weight: 500;
  }
}
