@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --primary: #1B2838;
  --primary-light: #2a3f54;
  --accent: #C9A84C;
  --accent-light: #d4bb6e;
  --bg: #F8F7F4;
  --bg-card: #FFFFFF;
  --text: #1B2838;
  --text-light: #5a6a7a;
  --border: #e2dfd9;
  --shadow: 0 2px 12px rgba(27,40,56,0.08);
  --shadow-hover: 0 4px 20px rgba(27,40,56,0.12);
  --radius: 4px;
  --font-heading: 'IBM Plex Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --max-width: 1120px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.4;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--primary);
  z-index: 1000;
  display: flex;
  align-items: center;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.nav-dropdown-btn:hover {
  color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 280px;
  padding: 8px 0;
  display: none;
  z-index: 1001;
}

.nav-dropdown-menu.active {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.5;
}

.nav-dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-light);
  color: var(--primary) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.9);
  padding: 14px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-dropdown-links {
  display: none;
  padding-left: 16px;
}

.mobile-dropdown-links.active {
  display: block;
}

.mobile-dropdown-links a {
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,40,56,0.92) 0%, rgba(27,40,56,0.78) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 760px;
}

.hero-content h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-content .subtitle {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 32px;
}

.hero-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-toc a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.hero-toc a:hover {
  background: rgba(201,168,76,0.2);
  color: var(--accent);
  border-color: var(--accent);
}

.section {
  padding: 72px 0;
}

.section-light {
  background: var(--bg);
}

.section-white {
  background: var(--bg-card);
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.section-header .accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
}

.section-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 12px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
}

.article-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 20px;
}

.article-card-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.article-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-card-body h3 a {
  color: var(--text);
}

.article-card-body h3 a:hover {
  color: var(--primary-light);
}

.article-card-body p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
}

.article-card-meta {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-item {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.advantage-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.advantage-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.advantage-item p {
  color: var(--text-light);
  font-size: 0.88rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.testimonial-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
  font-style: normal;
}

.testimonial-name {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.mission-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.mission-content p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.mission-content p:last-child {
  margin-bottom: 0;
}

.closing-cta {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.closing-cta h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.closing-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.btn-white:hover {
  background: rgba(255,255,255,0.25);
  color: #fff !important;
}

footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col p, .footer-col a {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,40,56,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-modal-overlay.active {
  display: flex;
}

.cookie-modal {
  background: var(--bg-card);
  border-radius: 6px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(27,40,56,0.2);
}

.cookie-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.cookie-modal p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cookie-modal p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 12px;
}

.cookie-btns button {
  flex: 1;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-accept {
  background: var(--accent);
  color: var(--primary);
  border: none;
}

.cookie-accept:hover {
  background: var(--accent-light);
}

.cookie-reject {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-reject:hover {
  border-color: var(--text);
}

.article-page {
  margin-top: var(--nav-height);
}

.article-hero {
  background: var(--primary);
  padding: 48px 0 40px;
}

.article-hero .container {
  max-width: 800px;
}

.article-hero h1 {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-meta {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  display: flex;
  gap: 16px;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}

.article-body h2 {
  font-size: 1.25rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.05rem;
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
}

.article-body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 6px;
  font-size: 0.93rem;
  line-height: 1.8;
}

.article-cta {
  margin: 40px 0;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.article-cta p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-nav a:hover {
  color: var(--primary);
}

.page-header {
  background: var(--primary);
  padding: 48px 0 40px;
  margin-top: var(--nav-height);
}

.page-header h1 {
  color: #fff;
  font-size: 1.6rem;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 8px;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page-content h2 {
  font-size: 1.2rem;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  margin-bottom: 14px;
  font-size: 0.93rem;
  line-height: 1.9;
}

.page-content ul {
  margin-bottom: 14px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 6px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.contact-top {
  background: #FAF9F6;
  padding: 56px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info-item i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item .label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-info-item .value {
  font-size: 0.93rem;
  color: var(--text);
}

.contact-form-card {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
}

.map-section {
  padding: 0;
  line-height: 0;
}

.map-section iframe {
  width: 100%;
  height: 420px;
  border: none;
}

.map-link {
  text-align: center;
  padding: 16px;
  background: var(--bg);
}

.map-link a {
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.archive-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.archive-item:hover {
  box-shadow: var(--shadow-hover);
}

.archive-item-img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  overflow: hidden;
}

.archive-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-item-body {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.archive-item-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.archive-item-body h3 a {
  color: var(--text);
}

.archive-item-body h3 a:hover {
  color: var(--primary-light);
}

.archive-item-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

.archive-item-meta {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.about-text p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 12px;
}

.mission-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}

.mission-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.form-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,40,56,0.5);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.form-modal-overlay.active {
  display: flex;
}

.form-modal {
  background: var(--bg-card);
  border-radius: 6px;
  max-width: 440px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(27,40,56,0.2);
}

.form-modal i {
  color: var(--accent);
  margin-bottom: 16px;
}

.form-modal h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.form-modal p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 400px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .archive-item {
    grid-template-columns: 1fr;
  }

  .archive-item-body {
    padding: 16px;
  }

  .article-nav {
    flex-direction: column;
  }

  .map-section iframe {
    height: 280px;
  }

  .section {
    padding: 48px 0;
  }

  .cookie-modal {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-toc {
    flex-direction: column;
    align-items: center;
  }

  .cookie-btns {
    flex-direction: column;
  }
}
