/* =========================================================
   Header
========================================================= */
header {
  background: linear-gradient(90deg, #ffc9d6 0%, #f15e74 100%);
  height: 90px;
}

header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 50px;
}

header .header-inner nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}

header .header-inner nav ul li {
  color: var(--color-white);
}

header .header-inner nav ul li a {
  font-family: var(--font-family-ibm-plex-jp);
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}

header .header-inner nav ul li a:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

header .header-inner nav ul a.header-contact {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

header .header-inner nav ul a.header-contact:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.hamburger {
  display: none;
  width: 56px;
  height: 50px;
  padding: 10px;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 8px 0;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.hamburger span,
.hamburger.is-active span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1024px) {
  header .header-logo {
    width: 200px;
  }

  header .header-inner {
    gap: 20px;
  }

  header .header-inner nav {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  header {
    height: 70px;
  }

  header .header-logo {
    width: 140px;
  }
}

/* =========================================================
   Existing styles
========================================================= */

.menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  transition: right 0.3s ease-in-out;
}

.menu-overlay.active {
  right: 0;
}

.menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: var(--color-main);
  padding: 80px 30px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.menu-overlay.active .menu-content {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: #ffffff;
  background: transparent;
  border: none;
  z-index: 1000;
}

.menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.menu-nav li {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.menu-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  display: block;
  padding: 15px 0;
  transition: color 0.3s ease;
}
.menu-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   追従型アイコン
========================================================= */

.fixed-icons {
  position: fixed;
  right: 0px;
  top: 91%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #00b900;
  padding: 20px;
  border-radius: 24px 0 0 24px;
}

.fixed-icons .btn-fixed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 30px;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
  padding: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fixed-icons .btn-fixed:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.35);
}

.fixed-icons .btn-fixed p {
  color: var(--color-main);
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.fixed-icons .btn-icon-line {
  width: 28px;
  height: 28px;
}

.fixed-icons .btn-icon-arrow {
  width: 31px;
  height: 31px;
}

.fixed-icons > p {
  color: white;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .fixed-icons {
    padding: 16px;
  }

  .fixed-icons .btn-fixed p {
    font-size: 14px;
  }

  .fixed-icons .btn-icon-line {
    width: 24px;
    height: 24px;
  }

  .fixed-icons > p {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .fixed-icons {
    padding: 12px;
    opacity: 0;
    transform: translateX(100%) translateY(-50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
  }

  .fixed-icons.is-visible {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
    pointer-events: auto;
  }

  .fixed-icons .btn-fixed {
    gap: 8px;
  }

  .fixed-icons .btn-fixed p {
    font-size: 12px;
  }

  .fixed-icons .btn-icon-line {
    width: 20px;
    height: 20px;
  }

  .fixed-icons .btn-icon-arrow {
    width: 14px;
    height: 14px;
  }

  .fixed-icons > p {
    font-size: 10px;
  }
}
