@charset "UTF-8";

/* footer.css
   上部のピンクの帯（角丸）は footer の背景色で表現し、中身をベースカラーで重ねる
   768px〜：PC と同じ横並び構成（PC カンプ基準の rem で縮小） */
.p-footer {
  padding-block-start: 1rem;
  background-color: #e8aca5;
  border-radius: 1rem 1rem 0 0;
}

@media (min-width: 768px) {
  .p-footer {
    padding-block-start: 2.1875rem;
    border-radius: 2.1875rem 2.1875rem 0 0;
  }
}

body:has(.p-contact) .p-footer {
  padding-block-start: 0;
  border-radius: 0;
  background-color: #fcf6ef;
}

.p-footer__inner {
  display: grid;
  padding: 2.75rem 2.5rem 1.5rem;
  background-color: #fcf6ef;
}

@media (min-width: 768px) {
  .p-footer__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "info nav""info copy";
    padding: 4rem 6rem 2.5rem;
  }
}

@media (min-width: 768px) {
  .p-footer__info {
    grid-area: info;
    padding-block-start: 0.375rem;
  }
}

.p-footer__logo {
  width: min(100%, 18.75rem);
  aspect-ratio: 624/84;
}

@media (min-width: 768px) {
  .p-footer__logo {
    width: 19.125rem;
  }
}

.p-footer__logo a,
.p-footer__logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.p-footer__logo img {
  object-fit: contain;
}

.p-footer__company {
  margin-block-start: 1.5rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: max(0.875rem, 11.2px);
  font-weight: 400;
  line-height: 1.8571428571;
  color: #521f00;
}

@media (min-width: 0px) {
  .p-footer__company {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-footer__company {
    margin-block-start: 1.5rem;
    font-size: max(0.875rem, 8px);
    font-weight: 400;
    line-height: 1.7142857143;
  }
}

.p-footer__sns {
  margin-block-start: 1rem;
}

@media (min-width: 768px) {
  .p-footer__sns {
    margin-block-start: 0.75rem;
  }
}

.p-footer__sns a {
  display: block;
  width: 1.375rem;
  aspect-ratio: 1;
}

@media (min-width: 768px) {
  .p-footer__sns a {
    width: 1.25rem;
  }
}

.p-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2.75rem;
  margin-block-start: 2.5rem;
}

@media (min-width: 768px) {
  .p-footer__nav {
    grid-area: nav;
    flex-direction: row;
    align-items: flex-start;
    column-gap: 5rem;
    margin-block-start: 0;
  }
}

.p-footer__nav .c-nav-link p:first-child {
  font-size: max(0.75rem, 9.6px);
}

@media (min-width: 0px) {
  .p-footer__nav .c-nav-link p:first-child {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .p-footer__nav .c-nav-link p:first-child {
    font-size: max(0.875rem, 8px);
  }
}

.p-footer__nav .c-nav-link p:last-child {
  font-size: max(1.125rem, 14.4px);
}

@media (min-width: 0px) {
  .p-footer__nav .c-nav-link p:last-child {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .p-footer__nav .c-nav-link p:last-child {
    font-size: max(1.25rem, 8px);
  }
}

.p-footer__copyright {
  margin-block-start: 4.75rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: max(0.875rem, 11.2px);
  font-weight: 400;
  line-height: 1.7142857143;
  color: #521f00;
  text-align: center;
}

@media (min-width: 0px) {
  .p-footer__copyright {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-footer__copyright {
    grid-area: copy;
    align-self: end;
    margin-block-start: 0;
    font-size: max(0.875rem, 8px);
    font-weight: 400;
    line-height: 1.7142857143;
    text-align: right;
  }
}

/*----------------------------------
  お問い合わせ（下層ページ共通・フッターの直前）
  BaseCode：p-footer.scss（footer+contact）の .p-contact
  XD：高さ 397／見出し 23px Medium／英字 Outfit Thin 80／ボタン 408×86
-----------------------------------*/
.p-contact {
  margin-block-start: 7.5rem;
  padding-block: 2.25rem 2rem;
  border-radius: 3.125rem 3.125rem 0 0;
  background-color: #e8aca5;
  text-align: center;
}

@media (min-width: 768px) {
  .p-contact {
    margin-block-start: 10rem;
    padding-block: 4.5rem 5rem;
    border-radius: 6.25rem 6.25rem 0 0;
  }
}

.p-contact__ja {
  font-size: max(0.875rem, 11.2px);
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}

@media (min-width: 0px) {
  .p-contact__ja {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-contact__ja {
    font-size: max(1.4375rem, 8px);
    font-weight: 500;
    line-height: 1.4782608696;
  }
}

.p-contact__en {
  font-family: "Outfit", sans-serif;
  font-size: max(2.5rem, 32px);
  font-weight: 100;
  line-height: 1.26;
  color: #ffffff;
}

@media (min-width: 0px) {
  .p-contact__en {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .p-contact__en {
    font-size: max(5rem, 8px);
    margin-block-start: 0.25rem;
  }
}

.p-contact__btn {
  margin-block-start: 1rem;
}

@media (min-width: 768px) {
  .p-contact__btn {
    margin-block-start: 2.25rem;
  }
}

.p-contact__btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 2.5rem;
  width: min(100%, 15.75rem);
  min-height: 3rem;
  border-radius: 100vmax;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .p-contact__btn a {
    width: 25.5rem;
    min-height: 5.375rem;
  }
}

@media (any-hover: hover) {
  .p-contact__btn a:hover {
    opacity: 1;
    background-color: #fcefdb;
  }
}

.p-contact__btn a p {
  font-size: max(1rem, 12.8px);
  font-weight: 500;
  line-height: 1.5;
  color: #521f00;
}

@media (min-width: 0px) {
  .p-contact__btn a p {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .p-contact__btn a p {
    font-size: max(1.25rem, 8px);
  }
}

.p-contact__btn img {
  width: 1.25rem;
  aspect-ratio: 1;
}

@media (min-width: 768px) {
  .p-contact__btn img {
    width: 2.4375rem;
  }
}