:root {
  --primary: #2563eb;
  --primary-light: #dbeafe;
  --gray-light: #f8fafc;
  --gray: #e2e8f0;
  --gray-dark: #64748b;
  --text: #1e293b;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--gray-light);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.header {
  background-color: #1e88e5;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.title {
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 10px;
}

.subtitle {
  font-size: 16px;
  color: var(--gray-dark);
  margin-bottom: 20px;
  text-align: right;
}

.effective-date {
  font-size: 14px;
  color: var(--gray-dark);
  padding: 8px 16px;
  background-color: var(--primary-light);
  border-radius: 20px;
  display: inline-block;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--gray-dark);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.content {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--gray);
}

.article:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.article-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.article-content {
  margin-left: 15px;
}

.article-content p {
  margin-bottom: 12px;
  text-align: justify;
}

.article-content ol {
  margin: 15px 0 15px 25px;
}

.article-content li {
  margin-bottom: 10px;
  text-align: justify;
  padding-left: 5px;
}

.important-notice {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 0 6px 6px 0;
}

.important-notice-title {
  font-weight: bold;
  color: #92400e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer {
  margin-top: 40px;
  text-align: center;
}

.footer-content {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.company-name {
  font-weight: bold;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.copyright {
  font-size: 14px;
  color: var(--gray-dark);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

@media print {
  body {
    background-color: white;
  }
  
  .container {
    padding: 20px;
  }
  
  .header, .content, .footer-content {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .back-to-top, .footer-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }
  
  .header, .content {
    padding: 25px 20px;
  }
  
  .title {
    font-size: 24px;
  }
  
  .article-title {
    font-size: 18px;
  }
  
  .article-content {
    margin-left: 10px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}