@charset "utf-8";

/* ヘッダー */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 10;
  background: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  z-index: 100;
}

.logo {
  background: #fff;
  width: 300px;
  height: 90px;
  border-radius: 0 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #1d1d1d;
  border-bottom: 1px solid #1d1d1d;
}

.h-logo{
  position: relative;
  width: 230px;
  z-index: 1001;
}

.tel-info {
  text-align: center;
  position: absolute;
  top: 0;
  right: 200px;
  height: 90px;
  background: #F5D545;
  border-radius: 0 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.tel-number {
  font-size: min(2.666vw, 32px);
  line-height: 1.2;
  font-weight: bold;
  color: #333;
  font-family: 'barlow', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.tel-number span {
  font-size: min(1.333vw, 16px);
}

.tel-hours {
  font-size: min(1vw, 12px);
  color: #1d1d1d;
}

.mail{
  width: 24px;
}

.contact-btn {
  background: #007AFF;
  color: black;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 0;
  right: 100px;
  width: 100px;
  height: 90px;
  font-size: 12px;
}

.contact-btn:hover {
  background: #3023E0;
}

.contact-btn span{
  display: block;
  margin-top: 4px;
  color: #fff;
}

/* ハンバーガーメニューボタン */

.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  width: 100px;
  height: 90px;
  background: #0606B0;
  border: none;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.line01,
.line03 {
  width: 40px;
  margin: 5px 0;
}

.line02 {
  width: 30px;
  margin: 5px 0 5px -10px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}


/* メニューオーバーレイ */

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-content {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 1);
  border-radius: 0 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 110px 40px 50px 40px;
}

.menu {
  display: flex;
  flex-direction: column;
}

.menu a {
  font-size: 28px;
  font-weight: bold;
  color: #007AFF;
  text-decoration: none;
  transition: all 0.3s ease;
  transform: translateX(-50px);
  opacity: 0;
  width: 100%;
  display: inline-block;
  padding: 0 10px;
  font-family: 'barlow', sans-serif;
  font-weight: 600;
}

.menu li {
  border-bottom: 1px solid #ddd;
  width: 300px;
  position: relative;
}

.menu-overlay.active .menu a {
  transform: translateX(0);
  opacity: 1;
}

.menu a:nth-child(1) {
  transition-delay: 0.1s;
}

.menu a:nth-child(2) {
  transition-delay: 0.2s;
}

.menu a:nth-child(3) {
  transition-delay: 0.3s;
}

.menu a:nth-child(4) {
  transition-delay: 0.4s;
}

.menu a:nth-child(5) {
  transition-delay: 0.5s;
}

.menu a:nth-child(6) {
  transition-delay: 0.6s;
}

.menu a:nth-child(7) {
  transition-delay: 0.7s;
}

.menu a:nth-child(8) {
  transition-delay: 0.8s;
}

.menu a:nth-child(9) {
  transition-delay: 0.9s;
}

.menu a:hover {
  color: #0606B0;
  transform: translateX(10px);
  background-color: #E3F1FF;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-jp {
  font-size: 14px;
  color: #1d1d1d;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

li {
  list-style: none;
}


/* レスポンシブ */

@media (max-width: 768px) {
  .header {
    height: 70px;
    z-index: 1001;
}
.menu-content{
  width: 100%;
}
.menu{
    width: 100%;
}
.menu li {
    width: 100%;
}
  .logo {
    width: 210px;
    height: 70px;
  }
  .h-logo{
    width: 180px;
  }
  .tel-info {
    display: none;
  }
  .contact-btn {
    right: 80px;
    width: 80px;
    height: 70px;
    font-size: 11px;
  }
  .hamburger {
    width: 80px;
    height: 70px;
  }
}