@charset "UTF-8";

:root {
  --green: #00863f;
  --green-stripe: rgba(0, 116, 57, .22);
  --coral: #ef6152;
  --text: #333;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "M PLUS 1p", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.gate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 100vh;
  min-height: 100dvh;
}

.clinic { min-width: 0; }
.clinic--pet {
  color: #fff;
  background-color: var(--green);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 17px,
    var(--green-stripe) 17px,
    var(--green-stripe) 31px
  );
}
.clinic--cat { background: #fff; }

.clinic__inner {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 9.8vh 60px 6.7vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clinic__logo { margin: 0; width: 100%; }
.clinic__logo--pet {
  width: min(420px, 72%);
  margin-top: 0;
}
.clinic__logo--cat {
  width: min(480px, 82%);
  margin-top: 1.4vh;
}

.clinic__bottom {
  width: 100%;
  max-width: 600px;
  margin-top: auto;
}
.clinic__description {
  min-height: 64px;
  margin: 0 0 25px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: .01em;
}

.clinic__button {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  transition: opacity .2s ease;
}
.clinic__button:hover { opacity: .86; }
.clinic__button:focus-visible { outline: 3px solid currentColor; outline-offset: -6px; }

.clinic__button-icon {
  position: absolute;
  right: 29px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  object-fit: contain;
}
.clinic__button-icon--external {
  width: 28px;
  height: 28px;
}
.clinic__button-icon--arrow {
  width: 31px;
  height: 31px;
}


@media (min-width: 768px) {
  .clinic--pet .clinic__logo {
    transform: translateY(6px);
  }
}

@media (max-width: 767px) {
  .gate {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .clinic {
    height: 50vh;
    height: 50dvh;
    flex: 0 0 50vh;
    flex-basis: 50dvh;
  }
  .clinic__inner {
    min-height: 0;
    height: 100%;
    padding: 31px 30px 29px;
    justify-content: space-between;
  }
  .clinic__inner--pet { padding-top: 45px; }
  .clinic__inner--cat { padding-top: 48px; }
  .clinic__logo--pet { width: 195px; }
  .clinic__logo--cat { width: 220px; }
  .clinic__bottom {
    max-width: none;
    margin-top: 0;
  }
  .clinic__description { display: none; }
  .clinic__button {
    height: 51px;
    font-size: 17px;
  }
  .clinic__button-icon { right: 18px; }
  .clinic__button-icon--external {
    width: 20px;
    height: 20px;
  }
  .clinic__button-icon--arrow {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 360px) {
  .clinic__inner { padding-left: 24px; padding-right: 24px; }
  .clinic__logo--pet { width: 180px; }
  .clinic__logo--cat { width: 205px; }
  .clinic__button { font-size: 16px; }
}

@media (min-width: 768px) and (max-height: 720px) {
  .clinic__inner { padding-top: 45px; padding-bottom: 45px; }
  .clinic__logo--pet { width: min(350px, 66%); }
  .clinic__logo--cat { width: min(405px, 76%); }
  .clinic__description { margin-bottom: 18px; line-height: 1.65; }
  .clinic__button { height: 80px; }
}
