/* =============================================================
   Header
============================================================= */
.l-header {
  /* position: fixed; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  box-shadow:
    0 2px 4px -1px rgba(168,58,8,.08),
    0 4px 6px -1px rgba(168,58,8,.08);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
}

.l-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.custom-logo-link img {
  height: 40px;
  width: auto;
}
.l-header__logo img,
.l-header__logo-img {
  height: 25px;
  width: auto;
}
.l-header__site-name {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, #f2952c 0%, #F5924A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Inter", sans-serif;
}

.l-header__nav {
  flex: 1;
}
.l-header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.l-header__nav-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #3D2B1F;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.l-header__nav-list a:hover {
  background: #FDF5F0;
  color: #D4500A;
}

.l-header__cta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.l-header__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 1000px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: #f2952c;
  color: #fff;
  border: 2px solid #f2952c;
}
.l-header__cta-btn:hover {
  opacity: 0.85;
  color: #fff;
}
.l-header__cta-btn--outline {
  background: transparent;
  color: #f2952c;
}
.l-header__cta-btn--outline:hover {
  background: #f2952c;
  color: #fff;
  opacity: 1;
}

/* ハンバーガー（SP用） */
.l-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.l-header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #3D2B1F;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.l-header__hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.l-header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.l-header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ヘッダー分の余白 */
#page {
  padding-top: 72px;
}

/* =============================================================
   Footer
============================================================= */
.l-footer {
  background: #4f4f4f;
  padding: 48px 0 0;
  color: #fff;
}

.l-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.l-footer__logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 12px;
}
.l-footer__logo-symbol_img {
  height: 28px;
  width: auto;
  filter: none !important;
}
.l-footer__logo img,
.l-footer__logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.l-footer__site-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: "Inter", sans-serif;
}
.l-footer__tagline {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 4px;
}

.l-footer__nav-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.l-footer__nav-list a {
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.l-footer__nav-list a:hover {
  color: #fff;
}

.l-footer__copyright {
  text-align: center;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

/* =============================================================
   Responsive
============================================================= */
@media (max-width: 960px) {
  .l-header__cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .l-header__hamburger {
    /* display: flex; */
    display: none;
  }

  .l-header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    z-index: 99;
    padding: 30px 20px;
    opacity: 0;
    visibility: hidden;
  }
  .l-header__nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .l-header__nav-list {
    flex-direction: column;
    gap: 0;
    padding: 16px;
  }
  .l-header__nav-list a {
    padding: 12px 16px;
    border-bottom: 1px solid #FDF5F0;
  }

  .l-footer__inner {
    flex-direction: column;
    gap: 32px;
  }
  .l-footer__nav-list {
    grid-template-columns: 1fr;
  }
}
