/* ==============================================================
    p-footer
   ============================================================== */
.p-footer {
  padding-block: 80px 16px;
  background: linear-gradient(180deg, transparent 0%, transparent 42%, #fff9f0 42%, #fff9f0 100%);
}
@media screen and (max-width: 767px) {
  .p-footer {
    padding-block: 60px 12px;
    padding-bottom: 76px; /* 追従メニュー分の余白（12px + 64px） */
  }
}

.p-footer__inner.container {
  margin-inline: auto;
}

/* p-footer__contact */
@media screen and (max-width: 767px) {
  .p-footer__contact {
    margin-inline: auto;
    max-width: 500px;
  }
}

.p-footer__contact-list {
  display: grid;
  grid-template-columns: repeat(2, calc(50% - 1px));
  gap: 2px;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-footer__contact-item a {
  padding-inline: 40px;
  height: 326px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: 0.3s ease-out;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-item a {
    padding-inline: 24px;
    padding-block: 24px;
    height: auto;
  }
}

.p-footer__contact-item.-tel a {
  background-color: var(--orange-base);
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-item.-tel a {
    pointer-events: auto;
  }
}

.p-footer__contact-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  color: #fff;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-title {
    font-size: 24px;
  }
}

.p-footer__contact-body {
  margin-top: 24px;
  padding-block: 24px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-body {
    margin-top: 16px;
    padding-block: 16px;
  }
}

.p-footer__contact-tel-bold {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-tel-bold {
    font-size: 28px;
  }
}

.p-footer__contact-tel-bold::before {
  content: "";
  width: 32px;
  height: 32px;
  display: inline-block;
  background: url(../../assets/img/icon-tel.svg) center/contain no-repeat;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-tel-bold::before {
    width: 24px;
    height: 24px;
  }
}

.p-footer__contact-tel-time,
.p-footer__contact-tel-note {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-normal);
  color: var(--text-color);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-tel-time,
  .p-footer__contact-tel-note {
    font-size: 16px;
  }
}

.p-footer__contact-item.-line a {
  background-color: var(--green-base);
}

.p-footer__contact-line-bold {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-line-bold {
    font-size: 22px;
    gap: 12px;
  }
}

.p-footer__contact-line-bold::before {
  content: "";
  width: 64px;
  height: 64px;
  display: inline-block;
  background: url(../../assets/img/icon-LINE.png) center/contain no-repeat;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-line-bold::before {
    width: 36px;
    height: 36px;
  }
}

.p-footer__contact-line-note {
  margin-top: 10px;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-footer__contact-line-note {
    font-size: 16px;
  }
}

@media (any-hover: hover) {
  .p-footer__contact-item a:hover {
    opacity: 0.8;
  }
}
/* p-footer__tile-nav */
.p-footer__tile-nav {
  margin-top: 48px;
}
@media screen and (max-width: 767px) {
  .p-footer__tile-nav {
    margin-inline: auto;
    max-width: 500px;
  }
}

.p-footer__tile-nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 767px) {
  .p-footer__tile-nav-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-footer__tile-nav-item:first-child {
  grid-column: span 2;
}
@media screen and (max-width: 767px) {
  .p-footer__tile-nav-item:first-child {
    grid-column: span 1;
  }
}

.p-footer__tile-nav-item a {
  border-radius: 10px;
  position: relative;
  border: 1px solid #fff;
  box-sizing: content-box;
  display: block;
}

.p-footer__tile-nav-bg {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.p-footer__tile-nav-bg::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 52%, rgba(0, 0, 0, 0.6) 100%);
}

.p-footer__tile-nav-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 558/238;
  transition: 0.3s ease-out;
}

.p-footer__tile-nav-item:first-child .p-footer__tile-nav-bg img {
  aspect-ratio: 1120/240;
}

@media screen and (max-width: 767px) {
  .p-footer__tile-nav-item:first-child .p-footer__tile-nav-bg img {
    aspect-ratio: 558/238;
  }
}

.p-footer__tile-nav-text {
  padding-inline: 40px;
  width: 100%;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-footer__tile-nav-text {
    padding-inline: 24px;
    font-size: 20px;
    bottom: 18px;
  }
}

.p-footer__tile-nav-text::after {
  content: "";
  width: 32px;
  height: 32px;
  display: inline-block;
  background: url(../../assets/img/footer/white-circle-arrow.svg) center/contain no-repeat;
}
@media screen and (max-width: 767px) {
  .p-footer__tile-nav-text::after {
    width: 28px;
    height: 28px;
  }
}

@media (any-hover: hover) {
  .p-footer__tile-nav-item a:hover .p-footer__tile-nav-bg img {
    transform: scale(1.05);
  }
}
/* p-footer__content */
.p-footer__content {
  margin-top: 75px;
  display: flex;
  gap: 64px;
}
@media screen and (max-width: 767px) {
  .p-footer__content {
    margin-top: 55px;
    max-width: 500px;
    margin-inline: auto;
    flex-direction: column;
    gap: 40px;
  }
}

.p-footer__left {
  width: 296px;
}
@media screen and (max-width: 767px) {
  .p-footer__left {
    width: 100%;
  }
}

.p-footer__logo {
  margin-top: 5px;
  width: 232px;
}

.p-footer__logo a {
  transition: 0.3s ease-out;
}

@media (any-hover: hover) {
  .p-footer__logo a:hover {
    opacity: 0.8;
  }
}
.p-footer__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 233/91;
}

.p-footer__info {
  margin-top: 24px;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media screen and (max-width: 767px) {
  .p-footer__info {
    margin-top: 16px;
    font-size: 14px;
  }
}

.p-footer__company-name {
  display: inline-block;
  font-size: var(--font-size-xs);
  margin-bottom: 8px;
}

.p-footer__sns-list {
  margin-top: 24px;
  display: flex;
  gap: 15px;
}
@media screen and (max-width: 767px) {
  .p-footer__sns-list {
    margin-top: 16px;
  }
}

.p-footer__sns-item a {
  width: 29px;
  display: block;
  transition: 0.3s ease-out;
}

@media (any-hover: hover) {
  .p-footer__sns-item a:hover {
    opacity: 0.8;
  }
}
.p-footer__sns-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 29/29;
}

.p-footer__right {
  width: 760px;
}
@media screen and (max-width: 767px) {
  .p-footer__right {
    width: 100%;
  }
}

.p-footer__nav-list {
  padding-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 54px;
  border-bottom: 1px solid var(--text-color);
}
@media screen and (max-width: 767px) {
  .p-footer__nav-list {
    padding-bottom: 16px;
    grid-template-columns: repeat(1, 1fr);
    gap: 6px;
  }
}

.p-footer__nav-item a {
  padding: 5px;
  padding-left: 0;
  display: block;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  position: relative;
}
@media screen and (max-width: 767px) {
  .p-footer__nav-item a {
    padding: 3px;
    padding-left: 0;
    font-size: 14px;
  }
}

.p-footer__nav-item a::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background-color: var(--orange-primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.p-footer__nav-item a::after {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%) rotate(-45deg);
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
}

.p-footer__nav-item a span {
  padding-left: 24px;
  position: relative;
}

.p-footer__nav-item a span::before,
.p-footer__privacy-link a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s ease-out;
}

@media screen and (any-hover: hover) {
  .p-footer__nav-item a:hover span::before,
  .p-footer__privacy-link a:hover::before {
    transform: scaleX(1);
    transform-origin: left top;
  }
}
.p-footer__privacy {
  margin-top: 24px;
  max-width: 560px;
}
@media screen and (max-width: 767px) {
  .p-footer__privacy {
    margin-top: 16px;
  }
}

.p-footer__privacy-link a {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  position: relative;
}

.p-footer__privacy-note {
  margin-top: 16px;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
}

.p-footer__copyright {
  margin-top: 16px;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
}
