/* ===============================================
#  common
=============================================== */
body {
  font-size: 16px;
  color: #333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  background-color: #fff;
  line-height: 1.7;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

input,
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: inherit;
  font-family: inherit;
  box-shadow: none;
  border-radius: 0;
  border: none;
  cursor: pointer;
}
input:hover,
textarea:hover,
select:hover {
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

[type="text"],
[type="email"],
[type="tel"],
textarea {
  cursor: text;
}

[type="date"] {
  cursor: default;
}

/* ===============================================
#  page
=============================================== */
body {
  max-width: 1200px;
  margin-inline: auto;
}

.header {
  text-align: right;
  padding: 0.5em 1em;
  background-color: #318c22;
  color: #fff;
}

h1 {
  display: none;
}

.language {
  font-size: 14px;
  color: #fff;

  &.current {
    opacity: 0.5;
  }
}

.section-1 {
  position: relative;
}

.button-wrap {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  display: flex;
  gap: 4%;
  justify-content: center;
  padding-inline: 4%;
}

.button-wrap-link {
  position: relative;
  display: grid;
  text-align: center;
  place-items: center;
  padding: 1em 1em 1em 0.5em;
  color: #fff;
  border-radius: 8px;
  width: 100%;
  font-size: min(2.8vw, 32px);
  font-weight: 700;
  box-shadow: 2px 4px 8px rgb(0 0 0 / 0.3);
  transition: transform 0.3s, box-shadow 0.3s;

  &.tel {
    background-color: #4560c3;
  }

  &.line {
    background-color: tomato;
  }

  &::after {
    content: "";
    position: absolute;
    width: .5em;
    height: .5em;
    border-bottom: 0.15em solid;
    border-right: 0.15em solid;
    top: 50%;
    right: 4%;
    transform: translateY(-50%) rotate(-45deg);
  }

  @media (any-hover: hover) {
    &:hover {
      transform: translateY(2%);
      box-shadow: 0 0 0 transparent;
    }
  }
}

.map {
  padding-inline: 10%;

  iframe {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
  }
}

@media (min-width: 600px) {
  .map {
    padding-inline: 14%;

    iframe {
      aspect-ratio: 16 / 9;
    }
  }
}
