

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

:root {
  --red:        #B5281A;
  --red-dark:   #8A1E12;
  --red-soft:   #D94432;
  --cream:      #FAF7F0;
  --beige:      #F0EAD6;
  --beige-mid:  #DDD5C0;
  --charcoal:   #1C1C1C;
  --ink:        #2E2E2E;
  --gray-mid:   #6B6B6B;
  --gray-light: #A8A8A8;
  --white:      #FFFFFF;

  --font-heading: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-body:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

  --max-w: 1200px;
  --r:     4px;
  --r-lg:  8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.4; color: var(--charcoal);
}
p { line-height: 1.85; color: var(--gray-mid); }

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: .875rem; font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer; line-height: 1;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--beige-mid);
  padding: 18px 0;
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex; align-items: center; gap: 12px;
}
.logo-svg   { flex-shrink: 0; }
.brand-wrap { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  color: var(--charcoal); letter-spacing: .02em; line-height: 1.2;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: .62rem; color: var(--gray-mid);
  letter-spacing: .14em; text-transform: uppercase;
}
.back-home {
  font-size: .84rem; color: var(--gray-mid);
  display: flex; align-items: center; gap: 6px;
}
.back-home:hover { color: var(--red); }

.page-banner {
  background: var(--cream);
  padding: 64px 0;
  border-bottom: 1px solid var(--beige-mid);
}
.page-banner .breadcrumb {
  font-size: .78rem; color: var(--gray-light);
  margin-bottom: 14px; display: flex; gap: 8px; align-items: center;
}
.page-banner .breadcrumb a       { color: var(--red); }
.page-banner .breadcrumb a:hover { color: var(--red-dark); }
.page-banner h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); color: var(--charcoal); }
.page-banner p  { margin-top: 12px; max-width: 540px; font-size: .9375rem; color: var(--gray-mid); }

.page-content {
  padding: 72px 0 80px;
}

.about-block {
  margin-bottom: 64px;
}
.about-block:last-child { margin-bottom: 0; }

.about-block-centered {
  text-align: center;
}

.about-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 28px;
  color: var(--charcoal);
}

.about-block p {
  margin-bottom: 14px;
  max-width: 720px;
  font-size: .9375rem;
  line-height: 1.85;
}

.about-block-centered p {
  margin-left: auto;
  margin-right: auto;
}

.about-block p:last-child { margin-bottom: 0; }

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

.value-item {
  padding: 28px 24px;
  background: var(--cream);
  border: 1px solid var(--beige-mid);
  border-radius: var(--r-lg);
  text-align: center;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item h4 { font-size: .975rem; margin-bottom: 8px; color: var(--charcoal); }
.value-item p { font-size: .84rem; line-height: 1.7; margin: 0; color: var(--gray-mid); }

.about-content-with-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}

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

.about-text-col {
  text-align: left;
}

.about-text-col p {
  margin-bottom: 16px;
  font-size: .95rem;
  line-height: 1.85;
}

.about-img-col {
  text-align: center;
}

.img-ph-large {
  height: 320px;
  border-radius: var(--r-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-card {
  background: var(--cream);
  border: 1px solid var(--beige-mid);
  border-radius: var(--r-lg);
  padding: 32px 20px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.stat-label {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--gray-mid);
  font-weight: 500;
}

.about-block {
  margin-bottom: 64px;
}
.about-block:last-child { margin-bottom: 0; }

.about-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 16px;
}
.about-block p {
  margin-bottom: 14px;
  max-width: 720px;
  font-size: .9375rem;
  line-height: 1.85;
}
.about-block p:last-child { margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.value-item {
  padding: 28px 24px;
  background: var(--cream);
  border: 1px solid var(--beige-mid);
  border-radius: var(--r-lg);
}
.value-item h4  { font-size: .975rem; margin-bottom: 8px; color: var(--charcoal); }
.value-item p   { font-size: .84rem; line-height: 1.7; margin: 0; color: var(--gray-mid); }

.contact-cta {
  background: var(--charcoal);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-cta h3    { color: var(--white); font-size: 1.25rem; margin-bottom: 6px; }
.contact-cta p     { color: var(--gray-light); font-size: .9rem; margin: 0; }
.contact-cta .btn  { white-space: nowrap; }

.policy-empty {
  min-height: 260px;
  background: var(--cream);
  border: 2px dashed var(--beige-mid);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy-empty p {
  font-size: .875rem;
  color: var(--gray-light);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}

.policy-article {
  max-width: 800px;
}

.policy-section {
  margin-bottom: 48px;
}

.policy-section h2 {
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 14px;
  font-weight: 600;
}

.policy-section p {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--gray-mid);
  margin-bottom: 12px;
}

.policy-section ul {
  line-height: 1.9;
  color: var(--gray-mid);
  font-size: .95rem;
}

.policy-section ul li {
  margin-bottom: 8px;
  color: var(--gray-mid);
}

.site-footer { background: #111; padding: 36px 0 24px; }

.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 22px;
}
.foot-brand-sm .logo-link  { display: inline-flex; margin-bottom: 10px; }
.foot-brand-sm .brand-name { color: var(--white); }
.foot-brand-sm .brand-sub  { color: var(--gray-mid); }
.foot-brand-sm p { font-size: .82rem; color: var(--gray-mid); margin-top: 4px; }

.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { font-size: .82rem; color: var(--gray-mid); }
.foot-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.copy  { font-size: .78rem; color: var(--gray-mid); }
.legal { display: flex; gap: 20px; flex-wrap: wrap; }
.legal a { font-size: .78rem; color: var(--gray-mid); }
.legal a:hover { color: var(--white); }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.cookie-banner.active {
  max-height: 300px;
  padding: 20px 28px;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
}

.cookie-text {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  min-width: 250px;
}

.cookie-text strong {
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.cookie-text p {
  margin: 0;
}

.cookie-text a {
  color: var(--red-soft);
  text-decoration: underline;
}

.cookie-text a:hover {
  color: var(--white);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-accept, .btn-reject, .btn-customize {
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-accept {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-accept:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-reject, .btn-customize {
  background: transparent;
  color: var(--gray-light);
  border-color: var(--gray-light);
}

.btn-reject:hover, .btn-customize:hover {
  color: var(--white);
  border-color: var(--white);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--beige-mid);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--charcoal);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-mid);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--charcoal);
}

.modal-body {
  padding: 24px;
}

.cookie-option {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.cookie-option:last-child {
  margin-bottom: 0;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--red);
}

.cookie-option input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-option label {
  cursor: pointer;
  flex: 1;
}

.cookie-option strong {
  display: block;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.cookie-option span {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

.modal-footer {
  display: flex;
  gap: 10px;
  padding: 20px 24px;
  border-top: 1px solid var(--beige-mid);
  justify-content: flex-end;
}

.btn-save-preferences {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--r);
  border: 2px solid var(--red);
  cursor: pointer;
  line-height: 1;
}

.btn-save-preferences:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.modal-footer .btn-reject {
  padding: 10px 20px;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .cookie-text {
    min-width: auto;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  
  .modal-footer button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-accept, .btn-reject, .btn-customize {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-banner { padding: 48px 0; }
  .page-content { padding: 52px 0 64px; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content-with-img { grid-template-columns: 1fr; gap: 32px; }
  .about-text-col { text-align: center; }
  .contact-cta { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .legal { justify-content: center; }
}

@media (max-width: 480px) {
  .foot-links { flex-direction: column; gap: 10px; }
  .stats-grid { grid-template-columns: 1fr; }
}
