:root {
  --pink: #f06194;
  --pink-dark: #e26798;
  --pink-light: #edf8ff;
  --pink-border: #f0dfe7;
  --text: #35252c;
  --brown: #4b2f38;
  --shadow: rgba(96, 43, 69, .05);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  background: #fff9f6;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

.page {
  width: min(100%, 760px);
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  border-right: 1px solid #eee;
  border-left: 1px solid #eee;
  box-shadow: 0 0 30px #00000014;
}

.image-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.section2 {
  padding: 0px 3% 40px;
  margin-top: -20px;
}

.section4 {
  padding: 40px 3%;
}

.section5 {
  padding: 30px 2%;
}

.section5a {
  max-width: 218px;
  margin: 0 auto;
  padding: 40px 0 0;
}

.section6 {
  margin-bottom: 200px;
}

.faq {
  width: 100%;
  padding: 72px 20px;
  background: #fff;
}

.faq-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.faq-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--pink-border);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 18px var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 14px;
  padding: 18px 18px 18px 14px;
  cursor: pointer;
  list-style: none;
  background: #fff;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
}

.faq-qnum {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #ff99be 0%, var(--pink) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  font-family: system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.05em;
}

.faq-question-text {
  flex: 1;
  min-width: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .02em;
}

.faq-icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-left: 4px;
}

.faq-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--pink-dark);
  border-bottom: 2px solid var(--pink-dark);
  transform: translate(-50%, -65%) rotate(45deg);
  transform-origin: center;
  transition: transform .28s ease;
}

.faq-item[open] .faq-icon::before {
  transform: translate(-50%, -35%) rotate(-135deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  background: var(--pink-light);
  transition: height .34s cubic-bezier(.22, 1, .36, 1);
}

.faq-answer p {
  margin: 0;
  padding: 4px 20px 20px 24px;
  color: #4a3a40;
  font-size: clamp(15px, 3.4vw, 18px);
  line-height: 1.95;
  letter-spacing: .02em;
}

.faq-item[open] .faq-answer {
  height: auto;
}

.line-fixed {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 9999;
  width: min(92%, 520px);
  transform: translate(-50%, 120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    opacity .28s ease,
    visibility .28s ease;
}

.line-fixed.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.line-fixed img {
  width: 100%;
  filter: drop-shadow(0 8px 18px rgba(120, 60, 80, .22));
}

@media (hover: hover) {
  .line-fixed:hover {
    transform: translate(-50%, -4px);
  }
}

@media (max-width: 767px) {
  .page {
    width: 100%;
  }

  .faq {
    padding: 36px 16px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-item {
    border-radius: 18px;
  }

  .faq-question {
    gap: 10px;
    padding: 16px 8px 16px 12px;
  }

  .faq-qnum {
    width: 35px;
    height: 35px;
    border-radius: 16px;
    font-size: 17px;
  }

  .faq-question-text {
    font-size: 17px;
    line-height: 1.5;
  }

  .faq-icon {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    margin-left: 2px;
  }

  .faq-icon::before {
    width: 8px;
    height: 8px;
  }

  .faq-answer p {
    padding: 10px 16px 16px;
    font-size: clamp(15px, 4.9vw, 17px);
    line-height: 1.7;
  }

  .line-fixed {
    width: calc(100% - 24px);
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .section6 {
    margin-bottom: 35vw;
  }
}