@charset "utf-8";

/* ========== プライバシーポリシーページ ========== */
.privacy-page {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  color: #033973;
  background-color: #d7e4f2;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 216, 61, 0.35) 0, transparent 28%),
    radial-gradient(circle at 88% 92%, rgba(3, 57, 115, 0.18) 0, transparent 32%),
    radial-gradient(rgba(3, 57, 115, 0.06) 1px, transparent 1.2px),
    linear-gradient(180deg, #eaf2fa 0%, #d4e2f0 55%, #c9d9ea 100%);
  background-size: auto, auto, 18px 18px, auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.privacy-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(3, 57, 115, 0.08);
}

.privacy-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  width: min(1000px, 100%);
  margin: 0 auto;
}

.privacy-header__logo {
  display: block;
  flex-shrink: 0;
  width: 152px;
}

.privacy-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.privacy-header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  padding: 8px 14px;
  color: #fff;
  background: linear-gradient(180deg, #ff8a3d 0%, #f76523 55%, #e45712 100%);
  border-radius: 10px;
  box-shadow: 0 3px 0 #c44307;
  text-decoration: none;
}

.privacy-header__tel:hover {
  opacity: 1;
  filter: brightness(1.05);
}

.privacy-header__tel-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.privacy-header__tel-number {
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.privacy-main {
  display: flex;
  flex: 1 0 auto;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  padding: 120px 12px 48px;
}

.privacy-footer {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 100%;
  margin-top: auto;
  padding: 32px 16px 40px;
  color: #fff;
  background-color: #033973;
  text-align: center;
}

.privacy-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.privacy-footer__link {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-footer__link:hover {
  opacity: 0.75;
}

.privacy-footer__sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1;
}

.privacy-footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

/* -- article#privacy -------------------------------------------------------------------------------- */

#privacy {
  box-sizing: border-box;
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 40px 0 48px;
  color: #333;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 7px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  line-height: 1.8;
}

#privacy h1 {
  box-sizing: border-box;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 0.6em;
  color: #033973;
  font-size: clamp(20px, 4.5vw, 24px);
  font-weight: 900;
  line-height: 1.5;
  border-bottom: 1px solid #454545;
}

#privacy > p,
.privacy-section {
  box-sizing: border-box;
  width: 90%;
  margin: 2em auto 0;
}

#privacy > p {
  color: #333;
  font-size: clamp(15px, 3.8vw, 16px);
  line-height: 1.9;
}

.privacy-section h2 {
  margin: 0 0 0.8em;
  color: #033973;
  font-size: clamp(17px, 4vw, 19px);
  font-weight: 900;
  line-height: 1.5;
}

.privacy-section p {
  margin: 0;
  color: #333;
  font-size: clamp(15px, 3.8vw, 16px);
  line-height: 1.9;
}

.privacy-section p + ol {
  margin-top: 1em;
}

.privacy-section ol {
  margin: 0;
  padding: 0 0 0 1.4em;
  color: #333;
  font-size: clamp(15px, 3.8vw, 16px);
  line-height: 1.9;
  list-style: decimal;
}

.privacy-section ol li {
  margin-top: 0.5em;
  padding-left: 0.3em;
}

.privacy-section ol li:first-child {
  margin-top: 0;
}

.privacy-contact {
  display: grid;
  gap: 0.75em;
  margin: 1.25em 0 0;
  padding: 1.25em 1.25em;
  background: #f5f8fc;
  border: 1px solid #d5e0ed;
  border-radius: 6px;
}

.privacy-contact > div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 0.5em 1em;
  align-items: baseline;
}

.privacy-contact dt {
  margin: 0;
  color: #033973;
  font-weight: 700;
  font-size: clamp(14px, 3.5vw, 15px);
}

.privacy-contact dd {
  margin: 0;
  color: #333;
  font-size: clamp(15px, 3.8vw, 16px);
  line-height: 1.7;
}

.privacy-contact a {
  color: #033973;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-contact a:hover {
  opacity: 0.75;
}

.privacy-back {
  box-sizing: border-box;
  width: 90%;
  margin: 2.5em auto 0 !important;
  text-align: center;
}

.privacy-back a {
  display: inline-block;
  padding: 12px 28px;
  color: #fff;
  background-color: #033973;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.privacy-back a:hover {
  opacity: 0.85;
}

/* -- responsive ----------------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 768px) {
  .privacy-header {
    padding: 8px 10px;
  }

  .privacy-header__logo {
    width: min(34vw, 120px);
  }

  .privacy-header__tel {
    padding: 6px 10px;
  }

  .privacy-header__tel-label {
    font-size: 9px;
  }

  .privacy-main {
    padding: 96px 12px 40px;
  }

  #privacy {
    width: 95%;
    padding: 28px 0 36px;
  }

  .privacy-contact > div {
    grid-template-columns: 1fr;
    gap: 0.15em;
  }

  .privacy-footer {
    padding: 28px 16px 36px;
  }
}
