@charset "UTF-8";

/* ＝＝＝＝ Main Visual ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.mv__contact {
  width: 100%;
  height: 100dvh;
  position: relative;
  background-size: cover;
  transform-origin: center;
  background-image: url(../img/subpage/contact@1x.jpg);
  background-image: image-set(
    url(../img/subpage/contact@1x.avif) 1x type("image/avif"),
    url(../img/subpage/contact@2x.avif) 2x type("image/avif"),
    url(../img/subpage/contact@3x.avif) 3x type("image/avif"),
    url(../img/subpage/contact@1x.webp) 1x type("image/webp"),
    url(../img/subpage/contact@2x.webp) 2x type("image/webp"),
    url(../img/subpage/contact@3x.webp) 3x type("image/webp"),
    url(../img/subpage/contact@1x.jpg) 1x type("image/jpeg"),
    url(../img/subpage/contact@2x.jpg) 2x type("image/jpeg"),
    url(../img/subpage/contact@3x.jpg) 3x type("image/jpeg")
  );
  background-position: 60%;
  background-repeat: no-repeat;
  animation-name: mvContact;
  animation-duration: 10s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes mvContact {
  0% {background-position: 40%;}
  100% {background-position: 20%;}
}

.contact__item {
  padding: 2rem 1rem 1rem;
  border-radius: .5rem;
  display: block flow;
  position: relative;
  margin-block-start: 4rem;
  background-color: var(--clr_text-pale);
  color: var(--clr_green-main);
  transition: filter .2s ease-in-out;
}

.contact__item.reserve {
  background-color: var(--clr_yellow-accent3);
}

.contact__item:hover,
.contact__item:focus-visible {
  filter:brightness(.7);
}

.contact__item.reserve:hover,
.contact__item.reserve:focus-visible {
  filter:brightness(.7);
}

.contact__item::after {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  top: 50%;
  right: 1rem;
  translate: 0 -50%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../img/common/btn-arrow-green.svg);
}

.contact__item::before {
  content: "";
  width: 4rem;
  height: 4rem;
  position: absolute;
  top: -2rem;
  left: .875rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.contact__item.reserve::before {
  background-image: url(../img/subpage/mail-frame-yellow.svg);
}

.contact__item.tel::before {
  background-image: url(../img/subpage/tel-frame.svg);
}

.contact__item.sphone::before {
  background-image: url(../img/subpage/sphone-frame.svg);
}

.contact__item.mail::before {
  background-image: url(../img/subpage/mail-frame.svg);
}

.contact__item--heading {
  display: inline flow-root;
  border-block-end: .125rem solid var(--clr_green-main);
  margin-block-start: .5rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.contact__phoneNumber {
  margin-block-start: .5rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

html[lang="en"] .contact__phoneNumber {
  font-size: 1.5rem;
  letter-spacing: .02em;
}

.contact__item--text {
  margin-block-start: .25rem;
}

.contact__item--time {
  position: absolute;
  top: .5rem;
  left: 5.5rem;
  font-weight: 700;
}

@media screen and (min-width: 60rem) {
.contact__text {
  width: 75%;
  margin: 0 auto;
}

.contact__container {
  display: block grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-template-areas: 
    "resv resv resv"
    "tel sphone mail";
  column-gap: 2rem;
}

.contact__item.reserve {
  width: 75%;
  grid-area: resv;
  justify-self: center;
  text-align: center;
}

.contact__item.reserve::before {
  left: 2rem;
}

.contact__item.reserve::after {
  right: 2rem;
}

.contact__item.tel {
  grid-area: tel;
}

.contact__item.sphone {
  grid-area: sphone;
}

.contact__item.mail {
  grid-area: mail;
}

.contact__item.reserve .contact__item--heading {
  margin-block-start: 0;
}

.contact__item--heading {
  margin-block-start: 1rem;
}

.contact__phoneNumber {
  margin-block-start: 1rem;
  font-size: 1.5rem;
}

.contact__item--text {
  margin-block-start: 1rem;
}

.contact__item.mail .contact__item--text {
  margin-block-start: 3rem;
  letter-spacing: .1em;
}

}