body {
  background: #fff3de;
  color: #173439;
}
.wagi {
  --paper: #fff3de;
  --ink: #173439;
  --accent: #22585d;
  font-family: "DM Sans", sans-serif;
}
.clubhouse {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 5%;
  color: #144e56;
  background: #c4e4d6;
}
.clubhouse > a {
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.085em;
}
.clubhouse nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 650;
  font-size: 14px;
}
.clubhouse nav a:last-child {
  background: #164a50;
  color: white;
  padding: 9px 16px;
  border-radius: 60px;
}
.groom-list {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8%;
  padding: 7% 6%;
}
.wagi h2,
.bring-heading {
  font:
    800 clamp(40px, 5.4vw, 85px) / 0.96 "DM Sans",
    sans-serif;
  letter-spacing: -0.069em;
  margin: 0;
}
.grooms details {
  border-top: 2px solid #214447;
  padding: 16px 0;
}
.grooms summary {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 30px);
}
.grooms summary strong {
  font-size: 14px;
  color: #28585d;
}
.grooms details > div {
  max-width: 47ch;
}
.grooms a,
.bring summary {
  text-decoration: underline;
  cursor: pointer;
}
.bring {
  background: #efae63;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8%;
  padding: 5% 6%;
}
.bring-heading {
  transform: rotate(-3deg);
  color: #754122;
  align-self: center;
}
.bring h2 {
  font-size: 30px;
}
@media (max-width: 660px) {
  .clubhouse nav {
    gap: 9px;
    font-size: 12px;
  }
  .groom-list,
  .bring {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 35px 6%;
  }
  .bring-heading {
    font-size: 29px;
  }
  .bring-heading br {
    display: none;
  }
}

.wagi {
  --inquiry-bg: #d8ece2;
  --inquiry-ink: #163b41;
  --inquiry-button: #164a50;
  --inquiry-button-text: #fff;
}
.wagi > header a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
}
.wagi > header a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.grooms summary:after {
  content: "+";
}
.grooms details[open] summary:after {
  content: "−";
}
.grooms summary strong {
  margin-left: auto;
}

.dog-intro {
  padding: 5% 9%;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 9%;
  align-items: center;
  background: #f4ddad;
}
.dog-intro h2,
.coat-guide h2,
.handover h2,
.paw-pass h2 {
  font:
    760 clamp(35px, 4.9vw, 72px) / 1 "DM Sans",
    sans-serif;
  letter-spacing: -0.075em;
  margin: 10px 0;
}
.dog-intro article p + p {
  margin-top: 10px;
}
.name-tag {
  position: relative;
  justify-self: center;
  width: min(220px, 95%);
  padding: 25px 16px 16px;
  background: #176064;
  color: #fff5d6;
  border: 4px solid #254644;
  border-radius: 28% 28% 33% 33%;
  text-align: center;
  transform: rotate(-5deg);
  transform-origin: 50% 0;
  box-shadow: 4px 5px 0 #c5ad81;
}
.name-tag:before {
  content: "";
  position: absolute;
  top: 7px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f4ddad;
}
.name-tag b {
  display: block;
  font-size: clamp(34px, 4.8vw, 70px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}
.coat-guide {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  padding: 5% 7%;
  background: #e1ece1;
}
.coat-guide details {
  border-bottom: 2px solid #7caa9a;
  padding: 15px 0;
}
.coat-guide summary {
  font-weight: 710;
  font-size: 20px;
}
.coat-guide details p {
  margin-top: 7px;
}
.handover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
  margin: 4% 6%;
}
.handover img {
  width: 100%;
  height: clamp(210px, 32vw, 445px);
  object-fit: cover;
  border-radius: 50% 50% 10px 10px;
}
.handover ol {
  padding-left: 22px;
}
.handover li {
  padding: 7px 0;
}
.handover b {
  display: block;
}
.paw-pass {
  margin: 38px auto;
  width: min(1050px, 90%);
  padding: 5%;
  background: #e0eacc;
  border: 3px dotted #41635a;
  border-radius: 32px;
}
.paw-pass header {
  max-width: 58ch;
}
.paw-pass form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}
.paw-pass button {
  border-radius: 100px;
  border: 0;
  padding: 10px 18px;
  background: #16494f;
  color: white;
}
.paw-pass output {
  grid-column: 1/-1;
}
.wagi-sign {
  padding: 24px 5%;
  background: #16484b;
  color: #fff6d9;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.wagi-sign b {
  font-size: 24px;
  letter-spacing: -0.06em;
}
.wagi-sign a,
.wagi-sign span {
  font-size: 13px;
}
@keyframes wagi-tag {
  0% {
    transform: rotate(-26deg);
  }
  26% {
    transform: rotate(16deg);
  }
  54% {
    transform: rotate(-12deg);
  }
  78% {
    transform: rotate(1deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}
.name-tag.in-view {
  animation: wagi-tag 1.65s ease-out both;
}
@media (max-width: 650px) {
  .dog-intro,
  .coat-guide,
  .handover,
  .paw-pass form {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .dog-intro,
  .coat-guide {
    padding-block: 28px;
  }
  .name-tag {
    width: 145px;
  }
  .handover {
    margin-block: 30px;
  }
  .wagi-sign {
    flex-wrap: wrap;
  }
  .paw-pass {
    padding: 20px;
  }
}

#inquiry form label {
  display: grid;
  gap: 0.4em;
  align-content: start;
  min-width: 0;
}
#inquiry form :is(select, input, textarea) {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 0.7em;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
}
#inquiry form option {
  color: #202520;
  background: white;
}
#inquiry form output {
  display: block;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#inquiry form output:empty {
  display: none;
}
#inquiry button {
  cursor: pointer;
  min-height: 44px;
}
#inquiry a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.dog-id {
  background: #ffd35e;
  color: #213b4d;
  display: grid;
  grid-template-columns: 48% 1fr;
  align-items: center;
  gap: 7%;
  padding: 3% 6% 4%;
}
.dog-id figure {
  border-radius: 48% 47% 35% 40%;
  overflow: hidden;
  border: 8px solid #fffbe9;
  transform: rotate(-5deg);
}
.dog-id figure img {
  width: 100%;
  height: clamp(315px, 32vw, 510px);
  object-fit: cover;
}
.dog-id p {
  font-weight: 700;
}
.dog-id h1 {
  font:
    850 clamp(73px, 8.7vw, 140px) / 0.84 "Bricolage Grotesque",
    Arial,
    sans-serif;
  letter-spacing: -0.075em;
  margin: 19px 0 24px;
}
.dog-id label {
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 4px;
  max-width: 280px;
}
.dog-id input {
  border: 2px solid #24394a;
  border-radius: 13px;
  background: #fffcf3;
  min-height: 43px;
  padding: 7px 12px;
}
.dog-id a {
  display: inline-block;
  background: #24394a;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  padding: 11px 18px;
  margin-top: 9px;
}
.name-tag b {
  overflow-wrap: anywhere;
}
.groom-desk {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.groom-desk .groom-list,
.groom-desk .coat-guide {
  display: block;
  padding: 8%;
}
.groom-desk .grooms,
.groom-desk .coat-guide > div {
  margin-top: 22px;
}
@media (max-width: 680px) {
  .dog-id {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    gap: 10px;
    padding: 22px 4%;
  }
  .dog-id h1 {
    font-size: clamp(37px, 9vw, 63px);
    margin: 12px 0;
  }
  .dog-id p {
    font-size: 13px;
  }
  .dog-id figure {
    border-width: 4px;
  }
  .dog-id figure img {
    height: 210px;
  }
  .dog-id input {
    min-width: 0;
    width: 100%;
  }
  .dog-id a {
    font-size: 13px;
    padding: 9px 13px;
  }
  .groom-desk {
    grid-template-columns: 1fr;
  }
}
