:root {
  --orange: #ff6816;
  --pink: #fac1de;
  --hot: #ff45c0;
  --cream: #fff4d3;
  --paper: #f3efe7;
  --ink: #222;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--pink);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.policy-header {
  height: 84px;
  padding: 0 max(32px, 5vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--orange);
}
.policy-logo {
  font:
    800 22px Outfit,
    sans-serif;
  letter-spacing: 0.12em;
}
.back-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  transition: transform 0.25s;
}
.back-link span {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.back-link:hover {
  transform: translateX(-4px);
}
.back-link:hover span {
  background: var(--ink);
  color: var(--orange);
}
.policy-hero {
  height: 470px;
  padding: 90px 24px 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--orange);
}
.eyebrow {
  margin: 0 0 14px;
  font:
    600 14px Outfit,
    sans-serif;
  letter-spacing: 0.22em;
}
.policy-hero h1 {
  margin: 0;
  font:
    400 clamp(76px, 10vw, 142px) / 0.82 Modak,
    cursive;
  letter-spacing: 0.025em;
  background: linear-gradient(90deg, var(--cream), var(--pink));
  -webkit-background-clip: text;
  color: transparent;
}
.hero-ja {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.18em;
}
.mobile-break {
  display: none;
}
.deco {
  position: absolute;
  color: var(--hot);
  filter: drop-shadow(8px 8px 10px #0002);
}
.deco-heart {
  left: 9%;
  top: 90px;
  font-size: 74px;
  transform: rotate(-13deg);
}
.deco-star {
  right: 10%;
  bottom: 62px;
  font-size: 64px;
  transform: rotate(18deg);
  color: var(--cream);
}
.policy-card {
  width: min(1100px, calc(100% - 48px));
  margin: -58px auto 120px;
  padding: 90px clamp(32px, 8vw, 110px);
  position: relative;
  border: 7px solid var(--orange);
  border-radius: 72px;
  background: var(--paper);
  box-shadow: 18px 16px 0 rgba(255, 104, 22, 0.18);
}
.intro {
  padding: 0 0 58px;
  border-bottom: 1px solid #ff681655;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
}
.intro p {
  margin: 0;
}
.policy-section {
  padding: 58px 0;
  border-bottom: 1px solid #ff681655;
}
.policy-section h2 {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 25px;
  line-height: 1.5;
}
.policy-section h2 span {
  width: 52px;
  height: 34px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hot);
  border-radius: 99px;
  color: var(--hot);
  font:
    600 15px Outfit,
    sans-serif;
}
.policy-section p,
.policy-section li {
  font-size: 16px;
  line-height: 2;
}
.policy-section p {
  margin: 0;
}
.policy-section ul {
  margin: 22px 0 0;
  padding: 24px 28px 24px 50px;
  border-radius: 28px;
  background: var(--cream);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 36px;
}
.policy-section li::marker {
  color: var(--hot);
}
.contact-block {
  border-bottom: 0;
}
.contact-box {
  margin-top: 25px;
  padding: 32px;
  border-radius: 30px;
  background: var(--cream);
}
.contact-box strong {
  font-size: 19px;
}
.contact-box p {
  margin: 8px 0 22px;
}
.contact-box a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 12px 25px;
  border-radius: 99px;
  background: var(--pink);
  font-weight: 700;
  transition: 0.25s;
}
.contact-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(92, 45, 20, 0.2);
}
.effective-date {
  text-align: right;
  margin: 30px 0 0;
  font-size: 14px;
}
.policy-footer {
  height: 180px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
}
.policy-footer a {
  font:
    800 25px Outfit,
    sans-serif;
  letter-spacing: 0.12em;
}
.policy-footer p {
  font:
    600 12px Outfit,
    sans-serif;
  letter-spacing: 0.1em;
}
@media (max-width: 700px) {
  .policy-header {
    height: 70px;
    padding: 0 18px;
  }
  .policy-logo {
    font-size: 18px;
  }
  .back-link {
    font-size: 13px;
  }
  .back-link span {
    width: 30px;
    height: 30px;
  }
  .policy-hero {
    height: 390px;
    padding-top: 80px;
  }
  .policy-hero h1 {
    font-size: 68px;
    line-height: 0.9;
  }
  .mobile-break {
    display: block;
  }
  .hero-ja {
    font-size: 14px;
  }
  .deco-heart {
    font-size: 48px;
    left: 5%;
    top: 55px;
  }
  .deco-star {
    font-size: 44px;
    right: 5%;
    bottom: 55px;
  }
  .policy-card {
    width: calc(100% - 28px);
    margin-top: -46px;
    margin-bottom: 70px;
    padding: 54px 22px;
    border-width: 5px;
    border-radius: 44px;
    box-shadow: 10px 10px 0 rgba(255, 104, 22, 0.16);
  }
  .intro {
    padding-bottom: 38px;
    font-size: 15px;
  }
  .policy-section {
    padding: 40px 0;
  }
  .policy-section h2 {
    align-items: flex-start;
    gap: 12px;
    font-size: 19px;
  }
  .policy-section h2 span {
    margin-top: 1px;
    width: 45px;
    height: 29px;
    flex-basis: 45px;
  }
  .policy-section p,
  .policy-section li {
    font-size: 14px;
    line-height: 1.9;
  }
  .policy-section ul {
    grid-template-columns: 1fr;
    padding: 20px 20px 20px 38px;
    border-radius: 22px;
  }
  .contact-box {
    padding: 24px 20px;
  }
  .contact-box strong {
    font-size: 16px;
  }
  .effective-date {
    text-align: left;
  }
  .policy-footer {
    height: 140px;
    padding: 0 22px;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .back-link,
  .back-link span,
  .contact-box a {
    transition: none;
  }
}

@media (max-width: 700px) {
  .policy-hero .deco {
    display: none !important;
  }

  .policy-hero {
    height: 340px;
  }
}

/* Smartphone: keep the lower-page hero focused on its heading. */
@media (max-width: 700px) {
  .policy-hero .deco {
    display: none;
  }

  .policy-hero {
    height: 340px;
  }
}

/* Shared footer */
.site-footer {
  height: 316px;
  padding: 80px max(150px, calc(50% - 570px));
  display: flex;
  gap: 64px;
  align-items: center;
  background: var(--cream);
  font-size: 16px;
  text-align: left;
}
.site-footer .footer-logo {
  width: 164px;
  height: 156px;
  flex: 0 0 164px;
  position: relative;
  overflow: hidden;
}
.site-footer .footer-logo img {
  position: absolute;
  width: 163.88%;
  height: 214.78%;
  max-width: none;
  left: -20.49%;
  top: -24.89%;
}
.site-footer .footer-content {
  height: 156px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.site-footer .footer-contact {
  width: 245px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-footer .footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.site-footer .footer-contact img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.site-footer .footer-contact a:last-child img {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  margin: 1px;
}
.site-footer .footer-divider {
  width: 2px;
  height: 156px;
  object-fit: fill;
  flex: 0 0 2px;
}
.site-footer .footer-links {
  width: 140px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-footer .privacy {
  width: 240px;
  white-space: nowrap;
}
.site-footer a {
  position: relative;
  font: inherit;
  letter-spacing: normal;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--orange);
  transition: right 0.3s ease;
}
.site-footer a:hover {
  color: var(--orange);
  transform: translateY(-2px);
}
.site-footer a:hover::after {
  right: 0;
}
.site-footer .footer-contact a img {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}
.site-footer .footer-contact a:hover img {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 5px 5px rgba(255, 104, 22, 0.22));
}
@media (max-width: 900px) {
  .site-footer {
    height: auto;
    padding: 55px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
    text-align: left;
  }
  .site-footer .footer-logo {
    width: 145px;
    height: 138px;
  }
  .site-footer .footer-content {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer .footer-contact,
  .site-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .site-footer .footer-contact a {
    white-space: normal;
  }
  .site-footer .footer-contact img {
    width: 22px;
    height: 22px;
  }
  .site-footer .footer-divider {
    display: none;
  }
  .site-footer .footer-links {
    width: 100%;
    padding-top: 28px;
    border-top: 1px solid var(--orange);
  }
  .site-footer .privacy {
    width: 100%;
    padding-top: 28px;
    border-top: 1px solid var(--orange);
  }
}

/* TOPページと共通の3Dデコレーション */
.policy-hero .deco {
  position: absolute;
  z-index: 3;
  display: block;
  background-image: url("../images/contact-decor.png");
  background-repeat: no-repeat;
  background-size: 720px 960px;
  font-size: 0;
  filter: drop-shadow(10px 12px 10px #6b26052b);
}
.policy-hero .deco-heart {
  left: 7%;
  top: 85px;
  width: 165px;
  height: 165px;
  background-position: -20px -180px;
  transform: rotate(-12deg);
}
.policy-hero .deco-star {
  right: 7%;
  bottom: 85px;
  width: 180px;
  height: 180px;
  background-position: -525px -320px;
  transform: rotate(12deg);
}
@media (max-width: 700px) {
  .policy-hero .deco {
    background-size: 480px 640px;
  }
  .policy-hero .deco-heart {
    left: 1%;
    top: 50px;
    width: 110px;
    height: 110px;
    background-position: -13px -120px;
  }
  .policy-hero .deco-star {
    right: 1%;
    bottom: 74px;
    width: 120px;
    height: 120px;
    background-position: -350px -213px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .site-footer a::after,
  .site-footer .footer-contact a img {
    transition: none;
  }
  .site-footer a:hover,
  .site-footer .footer-contact a:hover img {
    transform: none;
  }
}
