/*==============================================================
header
==============================================================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 16px 0;
  height: 100px;

  @media screen and (max-width: 768px) {
    padding: 8px 16px;
    height: 80px;
    background-color: #6f27004a;
  }
}

.hdr-sp {
  display: none;

  @media screen and (max-width: 768px) {
    display: unset;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 4px;

  @media screen and (max-width: 768px) {
    gap: 20px;
    width: 100%;
    height: 100%;
  }
}

.left-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 32px 14px;

  width: 100%;
  flex: 1;
  align-items: center;

  @media screen and (max-width: 768px) {
    padding: 0;
    height: auto;
    justify-content: space-between;
    z-index: 10001;
  }
}

.header-contact {
  display: flex;
  align-items: center;
  background: #ff7f32;
  gap: 8px;
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  height: 50px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;

  @media screen and (max-width: 1080px) {
    display: none;
  }
}

.header-contact.sp {
  display: none;

  @media (min-width: 769px) and (max-width: 1080px) {
    display: flex;
    position: absolute;
    top: 100px;
    right: 16px;
  }
}

.header-contact img {
  height: 70px;
  padding-top: 17px;

  @media screen and (max-width: 768px) {
  }
}

.header-contact .contact-button {
  color: #fff;
}

.header-contact:hover {
  background: #ff5400;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(7, 168, 217, 0.1);
}

.site-logo {
  display: flex;
  align-items: center;
  position: relative;
}
.site-logo img {
  max-height: 56px;
  width: auto;
  height: auto;

  @media screen and (max-width: 768px) {
    max-height: 40px;
    position: relative;
    z-index: 10000;
  }
}

.site-logo a {
  @media screen and (max-width: 768px) {
    display: flex;
  }
}

.sp-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.right-header {
  background-color: #fff;
  border-radius: 50px 0 0 50px;
  padding: 6px 16px 6px 32px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  height: 64px;
  display: flex;
  align-items: center;

  @media screen and (max-width: 768px) {
    background-color: unset;
    padding: 6px 0;
  }
}

.nav-cont {
  display: flex;
  gap: 18px;
  align-items: center;
}

.global-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;

  @media (min-width: 1201px) and (max-width: 1280px) {
    gap: 16px;
  }

  @media screen and (max-width: 768px) {
    flex-direction: column;
    width: 100%;
    gap: 0px;
  }
}

.nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  position: relative;
  line-height: 1;
  transition: color 0.3s ease;
  font-size: clamp(0.875rem, 0.7917rem + 0.1736vw, 1rem);

  @media screen and (max-width: 768px) {
    color: #ffffff;
  }
}

.nav-list li a:hover {
  color: #f2960d;
}

.hamburger {
  display: none;

  @media screen and (max-width: 768px) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10001;
  }
}

.hamburger span {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
}

.global-nav.active {
  display: block;
}

@media screen and (max-width: 768px) {
  .global-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 100px 24px 40px;
    background-color: #6f2700e8;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 9999;
    pointer-events: none;
    align-items: flex-start;
  }

  .global-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-list li:last-child a {
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 12px 16px;
  }

  .nav-list li a {
    display: block;
    padding: 12px 16px;
    border-top: 1px solid #ccc;
  }
}

.header-contact-sp {
  display: flex;
  justify-content: center;
  width: 100%;
}

.header-contact-sp .contact-button {
  display: block;
  background: #ff7f32;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  width: 100%;
  font-weight: bold;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;

  @media screen and (max-width: 1080px) {
    margin-top: 60px;
  }
}

.header-contact-sp .contact-button:hover {
  background: linear-gradient(135deg, #466bac, #30387b);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(7, 168, 217, 0.1);
}

.header-tell {
  display: block;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.tel-contact {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  gap: 6px;
}

.tel-icon img {
  height: 32px;

  @media screen and (max-width: 768px) {
    position: relative;
    z-index: 10000;
  }
}

.tel-number-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: center;
}

.tel-number {
  font-size: clamp(1.25rem, 1.1667rem + 0.1736vw, 1.375rem);
  font-weight: bold;
  line-height: 20px;
}

.tel-hours {
  font-size: clamp(0.75rem, 0.6667rem + 0.1736vw, 0.875rem);
  color: #666;
}

.sp .tel-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  z-index: 15000;
}

.header-sp {
  display: none;

  @media screen and (max-width: 768px) {
    display: unset;
  }
}

/*==============================================================
Footer
==============================================================*/
.footer {
  z-index: 2;
  background: #2f1600;
  position: relative;

  @media screen and (max-width: 768px) {
  }
}

.footer-bg {
  width: 100%;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.footer-bg img {
  width: 100%;
}

.footer-cont {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 0;
  gap: 68px;

  @media screen and (max-width: 1200px) {
    gap: 16px;
  }

  @media screen and (max-width: 768px) {
    position: unset;
    top: unset;
    left: unset;
    transform: unset;
    gap: 16px;
  }
}

.footer-inner {
  width: 100%;
  max-width: 1720px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 64px 16px 0;
  font-size: 14px;
  margin: 0 auto;

  @media screen and (max-width: 1200px) {
    padding: 40px 16px 0px;
  }

  @media screen and (max-width: 768px) {
    gap: 16px;
    padding: 32px 16px 0px;
  }
}

.footer-left {
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.privacy {
  @media screen and (max-width: 768px) {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
  }
}

.privacy a {
  color: #7c7c7c;
  border-bottom: 1px solid #cccccc7d;
  padding-bottom: 4px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 320px;
  border-radius: 50px;
  margin-bottom: 16px;

  @media screen and (max-width: 768px) {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
  }
}

.footer-logo img {
  width: 100%;
  display: block;
  max-height: 100px;

  @media screen and (max-width: 768px) {
    max-height: 24px;
    max-height: max-content;
  }
}

.footer-info p {
  margin: 4px 0;
  font-size: 15px;
}

.footer-nav {
  width: 100%;
}

.footer-nav .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;

  @media screen and (max-width: 768px) {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex-direction: column;
    gap: 0px;
    flex-wrap: wrap;

    li {
      border-top: 1px solid #ccc;
      padding: 8px;
    }

    li:last-child {
      border-bottom: 1px solid #ccc;
    }
  }
}

.footer-menu li a {
  text-decoration: none;
  color: #ffffff;
  padding-bottom: 6px;
  border-bottom: 1px solid #fff;
  text-decoration: none;

  @media screen and (max-width: 768px) {
    font-weight: 600;
    border-bottom: unset;
  }
}

.footer-copy {
  font-size: 14px;
  margin-bottom: 16px;
  color: #ffffff;

  @media screen and (max-width: 768px) {
    margin: 0 0 16px 0;
    text-align: center;
  }
}

.footer-info.sp {
  width: 100%;
  max-width: 60%;
  margin: 0 auto 0 0;

  @media screen and (max-width: 768px) {
    margin: 0 auto;
    max-width: 90%;
    color: #fff;
    text-align: center;
  }
}

.produced-by {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.produced-by:hover {
  color: #0077ff;
  text-decoration: none;
}

@supports (-webkit-touch-callout: none) {
  .footer-info p {
    color: #fff !important;
  }
}

@media screen and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  .footer-info p {
    color: #fff !important;
  }
}

.footer-info p {
  color: #fff !important;
}

.footer-info a {
  color: #fff !important;
  text-decoration: none; /* 必要なら下線消す */
}

.ftr-dec-img {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  position: absolute;
  bottom: 16px;

  @media screen and (max-width: 768px) {
    padding: 0 16px;
  }
}

.ftr-dec-img img {
  @media screen and (max-width: 768px) {
    max-width: 40px;
    width: 100%;
    height: auto;
  }
}
