/* ======================================
   RIYIOU THEME
====================================== */

:root {
  --contact-color: #2563eb;
  --contact-dark: #0f172a;

  --text: #0f172a;
  --muted: #64748b;

  --border: #e2e8f0;
  --bg: #f8fafc;
}

/* ======================================
   HERO
====================================== */

.riyou-hero {
  padding: 180px 0 120px;

  text-align: center;

  background: linear-gradient(135deg, #0f172a, #7c859e);

  color: white;

  position: relative;

  overflow: hidden;
}

.riyou-hero::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  top: -200px;
  right: -150px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.05);
}

.riyou-hero .hero-label {
  color: #93c5fd;

  letter-spacing: 0.2em;

  font-weight: 700;

  margin-bottom: 20px;
}

.riyou-hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);

  margin-bottom: 30px;

  line-height: 1.1;
}

.riyou-hero .hero-text {
  max-width: 700px;

  margin: 0 auto;

  line-height: 2;

  color: rgba(255, 255, 255, 0.85);
}

/* ======================================
   SITE POLICY
====================================== */

.policy-container {
  max-width: 980px;
  margin: 0px auto;
  padding: 0 20px 80px;
  line-height: 2;
  color: var(--text);
}

.policy-container h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--navy);
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 4px solid var(--primary);
}

.policy-container>p:first-of-type {
  font-size: 1.05rem;
  margin-bottom: 60px;
}

.policy-container hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      #cbd5e1,
      transparent);
  margin: 80px 0;
}

.policy-container h2 {
  position: relative;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 35px;
  padding-left: 22px;
}

.policy-container h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: calc(100% - 12px);
  background: var(--primary);
  border-radius: 10px;
}

.policy-container h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 45px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dbeafe;
}

.policy-container p {
  margin-bottom: 20px;
}

.policy-container ul {
  margin: 20px 0 30px 25px;
  list-style: disc;
}

.policy-container li {
  margin-bottom: 10px;
}

.policy-container strong {
  color: var(--navy);
}

.policy-container a {
  color: var(--primary);
}

.policy-container a:hover {
  text-decoration: underline;
}

/* お問い合わせ */

.contact-info{
    list-style:none;
    margin-top:35px;
    padding:35px;
    background:#f8fbff;
    border:1px solid var(--border);
    border-radius:20px;
}

.contact-info li{
    margin-bottom:14px;
}

.contact-info li:last-child{
    margin-bottom:0;
}

/* ======================================
   MOBILE
====================================== */

@media (max-width:768px) {

  .policy-container {
    margin: 90px auto;
    padding: 0 20px 60px;
  }

  .policy-container h1 {
    font-size: 2rem;
  }

  .policy-container h2 {
    font-size: 1.6rem;
  }

  .policy-container h3 {
    font-size: 1.15rem;
  }

  .policy-container ul:last-child {
    padding: 25px;
  }

}
