@charset "UTF-8";

:root {
  --mint: #8ed1c2;
  --mint-dark: #169d86;
  --mint-pale: #edf9f4;
  --pink: #f58ba0;
  --pink-pale: #fdecec;
  --yellow: #f5bd39;
  --yellow-pale: #fff6dd;
  --ink: #333;
  --line: #e7ddd2;
  --white: #fff;
  --content-width: 1180px;
  --shadow: 0 8px 24px rgba(70, 70, 70, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffdfa;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 64px), var(--content-width));
  margin-inline: auto;
}

.container.narrow {
  width: min(calc(100% - 64px), 1040px);
}

.section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .85);
}

.section-title {
  margin: 0 0 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: clamp(25px, 2.4vw, 38px);
  font-weight: 500;
  letter-spacing: .05em;
}

.section-title span {
  color: var(--yellow);
  font-size: .8em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--content-width));
  height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.logo img {
  display: block;
  width: auto;
  height: 82px;
  max-width: 210px;
  object-fit: contain;
}

.global-nav ul {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  position: relative;
  display: block;
  padding: 12px 0;
  font-size: 15px;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--mint-dark);
  transition: width .25s ease;
}

.global-nav a:hover::after,
.global-nav a.is-active::after {
  width: 100%;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: #222;
  transition: .25s;
}

.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, .85) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 65%, rgba(255, 255, 255, .85) 0 4px, transparent 5px),
    linear-gradient(135deg, #f2fcf7, #dcf4e8);
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -75px;
  height: 130px;
  background: #fffdfa;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 70px 24px 105px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 38px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.65;
  letter-spacing: .06em;
  font-weight: 600;
}

.hero h1 em {
  color: var(--pink);
  font-style: normal;
}

.hero-deco {
  position: absolute;
  z-index: 1;
  user-select: none;
}

.hero-heart-a {
  top: 18%;
  left: 9%;
  color: #f7a3b3;
  font-size: 43px;
  transform: rotate(-16deg);
}

.hero-heart-b {
  top: 18%;
  right: 10%;
  color: #f7a3b3;
  font-size: 43px;
  transform: rotate(14deg);
}

.hero-paw-a {
  left: 8%;
  bottom: 19%;
  width: 62px;
  height: 62px;
  opacity: .16;
  object-fit: contain;
  transform: rotate(-18deg);
}

.hero-paw-b {
  right: 8%;
  bottom: 15%;
  width: 92px;
  height: 92px;
  object-fit: contain;
  transform: rotate(15deg);
}

.paw-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 300px;
  min-height: 62px;
  padding: 14px 30px;
  border: 0;
  border-radius: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245, 139, 160, .3);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #f77790, #f39bb0);
}

.button-secondary {
  color: var(--mint-dark);
  background: var(--mint-pale);
  border: 1px solid var(--mint);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature-card {
  text-align: center;
}

.feature-card h3 {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
}

.feature-photo {
  width: 104px;
  height: 104px;
  margin: auto;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--yellow);
  background: var(--yellow-pale);
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.round-icon {
  width: 104px;
  height: 104px;
  margin: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 48px;
  box-shadow: inset 0 0 0 1px currentColor;
}

.icon-pink {
  color: var(--pink);
  background: var(--pink-pale);
}

.icon-green {
  color: var(--mint-dark);
  background: var(--mint-pale);
}

.icon-yellow {
  color: var(--yellow);
  background: var(--yellow-pale);
}

.section-heading-row {
  position: relative;
}

.section-heading-row .text-link {
  position: absolute;
  top: 8px;
  right: 0;
}

.text-link {
  padding: 0;
  border: 0;
  color: var(--mint-dark);
  background: transparent;
  font-weight: 600;
}

.text-link::before {
  content: "›";
  margin-right: 5px;
}

.partner-carousel {
  position: relative;
}

.partner-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.partner-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.partner-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 7px;
  background: #f7f7f7;
}

.partner-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bg-pink {
  background: var(--pink-pale);
}

.bg-green {
  background: var(--mint-pale);
}

.partner-card h3 {
  margin: 12px 0 2px;
  font-size: 18px;
}

.partner-card p {
  margin: 0;
  font-size: 13px;
}

.rating {
  margin-top: 6px;
  color: var(--mint-dark);
  letter-spacing: .12em;
  font-size: 13px;
}

.carousel-arrow {
  display: none;
  position: absolute;
  top: 45%;
  z-index: 2;
  width: 36px;
  height: 48px;
  border: 0;
  background: rgba(255, 255, 255, .92);
  font-size: 34px;
}

.carousel-arrow.prev {
  left: -10px;
}

.carousel-arrow.next {
  right: -10px;
}

.diagnosis {
  text-align: center;
}

.diagnosis-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-bottom: 20px;
}

.step-card {
  width: 230px;
  min-height: 145px;
  padding: 24px 18px;
  border: 1px solid #f2cbbf;
  border-radius: 10px;
  background: #fff;
}

.step-card b {
  color: var(--mint-dark);
}

.step-card p {
  margin: 7px 0;
  font-weight: 600;
}

.step-card span {
  color: var(--pink);
  font-size: 35px;
}

.step-arrow {
  font-size: 36px;
}

.diagnosis-panel {
  max-width: 780px;
  margin: 34px auto 0;
  padding: 34px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.question-number {
  color: var(--mint-dark);
  font-weight: 700;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.answer-grid button {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--mint);
  border-radius: 10px;
  background: var(--mint-pale);
}

.result-icon {
  font-size: 88px;
}

.result-image {
  width: 220px;
  height: 220px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 50%;
  border: 5px solid var(--mint-pale);
}

.result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.voice-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.user-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--mint-dark);
  border-radius: 50%;
  color: var(--mint-dark);
}

.voice-card p {
  margin: 0;
  font-weight: 600;
}

.slider-dots {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #aaa;
}

.slider-dots button.is-active {
  background: var(--mint-dark);
}

.accordion {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item+.faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  text-align: left;
}

.faq-question b {
  color: var(--mint-dark);
}

.faq-question i {
  font-size: 23px;
  font-style: normal;
  transition: transform .2s;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: #fff;
}

.faq-answer p {
  margin: 0;
}

.faq-more {
  display: block;
  margin: 14px 0 0 auto;
}

.contact-form {
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: block;
  text-align: left;
}

.contact-form label>span {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-form textarea {
  margin-bottom: 14px;
  resize: vertical;
}

.form-message {
  min-height: 1.8em;
  color: var(--pink);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-main {
  padding: 48px 24px 36px;
  color: #fff;
  background: var(--mint);
  position: relative;
  overflow: hidden;
}

.footer-paw {
  position: absolute;
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: .12;
}

.footer-paw-left {
  left: 5%;
  bottom: 30px;
  transform: rotate(-18deg);
}

.footer-paw-right {
  right: 5%;
  top: 35px;
  transform: rotate(18deg);
}

.footer-inner {
  width: min(100%, var(--content-width));
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 28px;
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.footer-logo img {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 28px;
}

.footer-nav a {
  position: relative;
  font-size: 15px;
  transition: opacity .2s;
}

.footer-nav a:hover {
  opacity: .7;
}

.footer-nav a+a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .55);
  transform: translateY(-50%);
}

.footer-sns-title {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .08em;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

.social-links a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  transition:
    transform .2s,
    background-color .2s;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .15);
}

.social-links img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-copyright {
  padding: 14px 24px;
  color: #fff;
  background: var(--mint-dark);
  text-align: center;
}

.footer-copyright small {
  font-size: 12px;
  letter-spacing: .04em;
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 66px;
  height: 66px;
  padding: 6px;
  display: none;
  border: 2px solid var(--mint-dark);
  border-radius: 50%;
  color: var(--mint-dark);
  background: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .18);
  text-align: center;
}

.page-top-arrow {
  display: block;
  height: 11px;
  font-size: 10px;
  line-height: 1;
}

.page-top-text {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .05em;
}

.page-top img {
  width: 30px;
  height: 30px;
  margin: 2px auto 0;
  object-fit: contain;
}

.partner-detail-button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: center;
}

.partner-detail-button .partner-image {
  transition: transform .25s, opacity .25s;
}

.partner-detail-button:hover .partner-image {
  transform: scale(1.03);
  opacity: .88;
}

.partner-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.partner-modal.is-open {
  display: flex;
}

.partner-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.partner-modal-content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 45% 55%;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .25);
}

.partner-modal-image {
  width: 100%;
  height: 440px;
  object-fit: contain;
  background: #f7f7f7;
}

.partner-modal-info {
  padding: 50px 38px 38px;
}

.partner-modal-type {
  margin: 0 0 8px;
  color: var(--mint-dark);
  font-weight: 700;
}

.partner-modal-info h3 {
  margin: 0 0 20px;
  font-size: 28px;
}

.partner-modal-description {
  margin-bottom: 24px;
}

.partner-modal-best {
  padding: 18px;
  border-radius: 10px;
  background: var(--mint-pale);
}

.partner-modal-best p {
  margin: 6px 0 0;
}

.partner-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 28px;
  line-height: 1;
  box-shadow: var(--shadow);
}

body.modal-open {
  overflow: hidden;
}

.field-error {
  display: block;
  min-height: 1.7em;
  margin-top: 4px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 600;
}

.contact-form input.is-error,
.contact-form textarea.is-error {
  border-color: var(--pink);
  background: var(--pink-pale);
}

@media (max-width: 760px) {
  .partner-modal-content {
    display: block;
  }

  .partner-modal-image {
    height: 260px;
    object-fit: contain;
    background: #f7f7f7;
  }

  .partner-modal-info {
    padding: 28px 22px;
  }
}

/* PC: 761px以上 */
@media (min-width: 761px) {
  .partner-card:nth-child(n+6) {
    display: none;
  }

  .partner-track.is-expanded .partner-card {
    display: block;
  }

  .partner-track.is-expanded {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* SP: 760px以下 */
@media(max-width:760px) {

  .paw-icon {
    width: 24px;
    height: 24px;
  }

  .container,
  .container.narrow {
    width: min(calc(100% - 32px), 680px);
  }

  .section {
    padding: 42px 0;
  }

  .section-title {
    margin-bottom: 24px;
    font-size: 25px;
  }

  .header-inner {
    width: calc(100% - 28px);
    height: 76px;
  }

  .logo img {
    width: auto;
    height: 52px;
    max-width: 155px;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
  }

  .global-nav ul {
    display: block;
    padding: 10px 24px 22px;
  }

  .global-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 370px;
  }

  .hero-inner {
    padding: 60px 18px 85px;
  }

  .hero h1 {
    margin-bottom: 26px;
    font-size: clamp(26px, 7vw, 38px);
    line-height: 1.6;
  }

  .hero-heart-a,
  .hero-heart-b {
    font-size: 26px;
  }

  .hero-paw-a {
    width: 42px;
    height: 42px;
  }

  .hero-paw-b {
    width: 56px;
    height: 56px;
  }

  .button {
    min-width: 0;
    width: min(100%, 330px);
    min-height: 54px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .round-icon {
    width: 74px;
    height: 74px;
    font-size: 34px;
  }

  .feature-card h3 {
    font-size: 13px;
  }

  .section-heading-row .text-link {
    position: static;
    display: block;
    margin: -14px 0 15px auto;
  }

  .partner-carousel {
    padding-inline: 14px;
  }

  .partner-track {
    display: flex;
    gap: 14px;
    overflow: hidden;
    scroll-behavior: smooth;
  }

  .partner-card {
    flex: 0 0 calc((100% - 28px) / 3);
    padding: 8px;
  }

  .partner-card h3 {
    font-size: 14px;
  }

  .partner-card p {
    display: none;
  }

  .carousel-arrow {
    display: block;
  }

  .diagnosis-steps {
    display: grid;
    gap: 10px;
  }

  .step-card {
    width: 100%;
    min-height: auto;
    padding: 13px 18px;
    display: grid;
    grid-template-columns: 75px 1fr 44px;
    align-items: center;
    text-align: left;
  }

  .step-card p {
    margin: 0;
  }

  .step-card span {
    text-align: center;
    font-size: 28px;
  }

  .step-arrow {
    transform: rotate(90deg);
    font-size: 24px;
  }

  .diagnosis-panel {
    padding: 24px 16px;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }

  .voice-slider {
    display: block;
  }

  .voice-card {
    display: none;
  }

  .voice-card.is-current {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-top {
    min-height: 110px;
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom {
    min-height: 125px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom nav {
    flex-direction: column;
    gap: 2px;
  }

  .footer-main {
    padding: 40px 20px 30px;
  }

  .footer-logo {
    margin-bottom: 24px;
  }

  .footer-logo img {
    width: 155px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 12px 28px;
    margin-bottom: 26px;
  }

  .footer-nav a {
    text-align: center;
  }

  .footer-nav a+a::before {
    display: none;
  }

  .footer-copyright {
    padding: 12px 16px;
  }
}

@media (max-width: 430px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .partner-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .faq-question {
    padding: 16px 14px;
    font-size: 14px;
  }
}