@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #0056b3;
  --primary-dark: #003d82;
  --text: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border: #e9ecef;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --font-body: 'Roboto', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
  gap: 5px;
}

.logo img {
  border-radius: 4px;
  margin-bottom: 4px;
}

.header-notice {
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: 4px;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 48px 20px;
  text-align: center;
}

.hero-section h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.3;
}

.content-section {
  padding: 48px 20px;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.main-article {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.article-image {
  margin-bottom: 24px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.main-article p {
  margin-bottom: 16px;
  color: var(--text);
}

.main-article h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin: 32px 0 16px;
}

.article-list {
  margin-bottom: 24px;
  padding-left: 20px;
}

.article-list li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.cta-container {
  margin: 24px 0;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  border: 2px solid transparent;
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-full {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px;
}

.btn-full:hover {
  background: var(--primary-dark);
}

.testimonial {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-style: italic;
  border-left: 4px solid var(--primary);
}

.testimonial-author {
  margin-top: 10px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-section {
  background: var(--white);
  padding: 48px 20px;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-container p {
  margin-bottom: 24px;
  color: var(--text-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.full-width {
  grid-column: span 2;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

.page-footer {
  background: #1a1a1a;
  color: #b0b0b0;
  padding: 48px 20px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
}

.footer-logo img {
  margin-bottom: 4px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  flex-direction: column;
}

.footer-nav a {
  color: #d0d0d0;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-info p {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.footer-disclaimer {
  max-width: 800px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #888888;
}

.footer-copyright {
  border-top: 1px solid #333;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #666666;
  width: 100%;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }
  .header-notice {
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 32px 16px;
  }
  .content-section,
  .contact-section {
    padding: 32px 16px;
  }
  .main-article {
    padding: 20px;
  }
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  word-break: break-word;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 24px;
  text-align: center;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
  margin: 32px 0 16px;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}