@charset "utf-8";
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap");
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

:root {
  --primary-color: #7b8d3b;
  --primary-inverse-color: #fff;
  --secondary-color: #f1782f;
  --accent-color: #94243a;
  --soft-bg: #dbe5b7;
  --text-color: #666;
  --global-space: clamp(18px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic Pro", Meiryo, sans-serif;
  color: var(--text-color);
  line-height: 2;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: inherit; transition: .25s; }
a:hover { filter: brightness(1.08); }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
iframe { width: 100%; border: 0; }
main { padding-bottom: var(--global-space); }
main * { min-width: 0; }

#mainimg {
  position: fixed;
  inset: 0 0 auto;
  z-index: 0;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  background: #e8edd2;
}
#mainimg > div, #mainimg .slide {
  position: absolute;
  inset: 0;
}
#mainimg .slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 1.2s ease;
}
#mainimg .slide1 { background-image: url("../images/pet/1.webp"); }
#mainimg .slide2 { background-image: url("../images/pet/2.webp"); }
#mainimg .slide3 { background-image: url("../images/pet/3.webp"); }
.friendlylogo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 42%;
  width: min(68vw, 520px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.32));
}

#container {
  position: relative;
  z-index: 1;
  overflow: visible;
  margin-top: 100vh;
}
#container::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: min(24vw, 320px);
  transform: translateY(-100%);
  pointer-events: none;
  background: url("https://www.enjoy-minakami.jp/images/header_kazari.png") no-repeat center bottom / 100% auto;
}
header {
  min-height: 0;
  height: 0;
  padding: 0 var(--global-space);
  margin-top: 0;
  background: none;
}
#logo { display: none; }
#contents { padding-inline: var(--global-space); background: #fff; }
section + section { margin-top: 5vw; }

.bg1 {
  margin-inline: calc(-1 * var(--global-space));
  padding: 199px 0 54px;
  color: var(--primary-inverse-color);
  background:
    url("http://www.enjoy-minakami.jp/images/bg1_top.png") repeat-x center top / 1000px,
    url("http://www.enjoy-minakami.jp/images/bg1_bottom.png") repeat-x center bottom / 1000px;
}
.bg1 > div {
  padding: clamp(28px, 4vw, 54px) var(--global-space) clamp(32px, 5vw, 66px);
  color: var(--primary-inverse-color);
  background: var(--primary-color);
}
.bg1 h2 {
  color: #fff !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,.28);
}
.bg1 h2 span,
.bg1 h2 .fade-in-char {
  color: #fff !important;
}
.list-half { display: grid; gap: clamp(24px, 5vw, 72px); align-items: center; }
.list-half .image { width: min(70vw, 520px); margin: 0 auto; }
.list-half h2, main h2 {
  margin: 0 0 1.2rem;
  color: var(--primary-color);
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.5;
  text-align: center;
}
.list-half.reverse {
  align-items: start;
  width: min(100%, 1240px);
  max-width: none;
  margin-inline: auto;
}
.list-half.reverse .text {
  line-height: 1.75;
}
.list-half.reverse .text p {
  margin: .35rem 0 .75rem;
}
.list-half.reverse .text h2 {
  margin-bottom: .8rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(119,119,119,.28);
}
.mask1 {
  animation: mask 10s linear infinite;
  box-shadow: 2vw 2vw 0 1vw #e2ddc0;
}
@keyframes mask {
  0%,100% { border-radius: 64% 36% 54% 46% / 49% 41% 59% 51%; transform: scale(1); }
  50% { border-radius: 39% 61% 48% 52% / 43% 55% 45% 57%; transform: scale(1.02); }
}
.pointspan {
  display: inline-block;
  margin: .35rem 0 .2rem;
  padding: .05em .75em;
  color: #fff;
  background: var(--primary-color);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.65;
}

.friendlyshop {
  width: min(100%, 1120px);
  margin: clamp(42px, 6vw, 70px) auto 0;
}
.logo-kazari { padding-inline: 0; }
.lead-label { display: block; margin-top: 20px; text-align: center; color: var(--accent-color); }
.pet-tabs { margin-top: 28px; }
.tab-wrap { display: flex; flex-wrap: wrap; gap: 22px; margin: 24px 0; }
.tab-label {
  order: -1;
  flex: 1 1 calc(25% - 17px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  cursor: pointer;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: filter .2s ease, transform .2s ease;
}
.tab-label img {
  width: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  pointer-events: none;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
  background: #fff;
}
.tab-switch { display: none; }
.tab-label:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.tab-switch:checked + .tab-label {
  filter: brightness(1.18);
  background: transparent;
  box-shadow: none;
  transform: none;
}
.tab-switch:checked + .tab-label + .tab-content {
  order: 1;
  height: auto;
  overflow: visible;
  opacity: 1;
  margin-top: 18px;
  padding: clamp(16px, 3vw, 28px);
  background: var(--soft-bg);
  box-shadow: 0 0 3px rgba(0,0,0,.2);
  transition: .5s opacity;
}
#TAB02-01:checked + .tab-label + .tab-content {
  background: #f8dddd;
}
#TAB02-02:checked + .tab-label + .tab-content {
  background: #dfeef8;
}
#TAB02-03:checked + .tab-label + .tab-content {
  background: #fbefd2;
}
#TAB02-04:checked + .tab-label + .tab-content {
  background: #e1efcf;
}
.explain { margin-bottom: 1rem; text-align: center; }
.explain p { margin: 0; font-size: 16px; }
.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
  margin-bottom: 28px;
}
.facility-card {
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.facility-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #f2f2f2; }
.facility-img, .facility-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.facility-body { padding: 14px 16px 18px; text-align: left; }
.facility-body strong a {
  color: var(--accent-color);
  font-size: 20px;
  line-height: 1.45;
  text-decoration: none;
}
.facility-body p { margin: .45rem 0 1rem; text-align: left; line-height: 1.8; }
.facility-body > b {
  display: block;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.75;
}
.hovera:hover { opacity: .82; }

.btn1 {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 84px;
  width: fit-content;
  margin: 0;
  text-align: center;
  font-size: 1rem;
}
.btn1 a {
  display: inline-block;
  padding: .35em 2.2em;
  color: #fff;
  text-decoration: none;
  background: var(--primary-color);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(75,89,37,.22);
  outline: none;
}
.btn1 a:focus-visible {
  outline: 2px solid rgba(123,141,59,.45);
  outline-offset: 3px;
}
.friendlyshop + section {
  margin-top: clamp(70px, 8vw, 120px);
}
.youtube {
  width: min(95%, 860px);
  aspect-ratio: 16 / 9;
  margin: 22px auto;
}
.youtube iframe { height: 100%; }
.thumbnail-slide { margin-top: 24px; }
.thumbnail-slide,
.slick-slider {
  max-width: 100%;
  overflow: hidden;
}
.slick-list { overflow: hidden; }
.slick-track {
  display: flex;
  align-items: stretch;
}
.slick-slide { height: auto; }
.thumbnail-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 4px;
}

#footer-contents {
  margin-inline: calc(-1 * var(--global-space));
  padding: 199px 0 0;
  color: var(--primary-inverse-color);
  background: url("https://www.enjoy-minakami.jp/images/bg1_top.png") repeat-x center top / 1000px;
}
#footer-contents > div {
  min-height: 240px;
  padding: 1px var(--global-space) 42px;
  color: var(--primary-inverse-color);
  background: var(--primary-color);
}
#footer-contents a, footer a { color: inherit; }
.icons { display: flex; gap: 1rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.icons i { font-size: 2rem; }
footer {
  margin-inline: calc(-1 * var(--global-space));
  padding: 1rem var(--global-space);
  color: #fff;
  text-align: center;
  font-size: .7rem;
  background: var(--primary-color);
}
footer .pr { display: block; font-size: inherit; opacity: 1; }

#menubar { display: none; }
#menubar ul { margin: 0; padding: 0; list-style: none; }
.small-screen #menubar.display-block {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,.94);
  animation: animation1 .2s both;
}
.small-screen #menubar > div {
  width: min(70%, 420px);
  max-height: 50vh;
  margin-top: 12vh;
  padding: 32px;
  overflow: auto;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.small-screen #menubar a {
  display: block;
  padding: .5rem;
  text-decoration: none;
}
#menubar_hdr {
  position: fixed;
  z-index: 101;
  top: -15px;
  right: -15px;
  width: 110px;
  height: 100px;
  padding: 40px 40px 35px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--secondary-color);
  border-radius: 58% 42% 61% 39% / 44% 55% 45% 56%;
  box-shadow: -2px 4px 0 6px rgba(0,0,0,.1);
}
#menubar_hdr div { position: relative; width: 35px; height: 24px; }
#menubar_hdr span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: .35s;
}
#menubar_hdr span:nth-child(1) { top: 0; }
#menubar_hdr span:nth-child(2) { top: 10px; }
#menubar_hdr span:nth-child(3) { top: 20px; }
#menubar_hdr.ham span:nth-child(1) { top: 10px; transform: rotate(45deg); }
#menubar_hdr.ham span:nth-child(2) { opacity: 0; }
#menubar_hdr.ham span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
.pagetop { display: none; }
.pagetop a {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  background: var(--secondary-color);
  border-radius: 50%;
}
.dn { display: none !important; }
.fade-in-text { visibility: visible; }
.fade-in-char { display: inline-block; opacity: 0; animation: fadeIn .05s forwards; }
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes animation1 {
  from { left: -200px; }
  to { left: 0; }
}

@media (min-width: 600px) {
  body, div, p { font-size: 18px; }
  .list-half { grid-template-columns: 1fr minmax(260px, 40vw); }
  .list-half.reverse {
    grid-template-columns: minmax(360px, 42%) minmax(0, 1fr);
    gap: clamp(44px, 6vw, 86px);
  }
  .list-half.reverse .image { order: -1; }
  .list-half.reverse .image { width: 100%; }
}
@media (min-width: 1024px) {
  .youtube { width: 60%; }
}
@media (max-width: 1023px) {
  .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  #mainimg { height: 100svh; min-height: 520px; }
  .friendlylogo { width: min(78vw, 320px); }
  #container::before {
    height: min(42vw, 220px);
    background-size: 150% auto;
  }
  #contents { padding-inline: 18px; }
  header { padding-block: 0; }
  .bg1 { padding: 130px 0 44px; background-size: 700px, 700px; }
  .bg1 > div { padding-block: 28px 38px; }
  .list-half.reverse .text { line-height: 1.7; }
  .tab-wrap { gap: 14px; }
  .tab-label {
    flex-basis: calc(50% - 7px);
    padding: 0;
  }
  .tab-label img {
    max-width: none;
    max-height: none;
  }
  .tab-switch:checked + .tab-label + .tab-content {
    padding: 12px;
  }
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .facility-body {
    padding: 10px 10px 12px;
  }
  .facility-body strong a {
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.35;
  }
  .facility-body p {
    font-size: clamp(12px, 3.35vw, 14px);
    line-height: 1.55;
  }
  .facility-body > b {
    font-size: clamp(12px, 3.35vw, 14px);
    line-height: 1.55;
  }
  .btn1 {
    right: 14px;
    bottom: 72px;
    font-size: .86rem;
  }
  .btn1 a {
    padding: .35em 1.15em;
  }
  .sp_none { display: none !important; }
}
