

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

:root {
  --bg:          #f8f5ef;
  --bg-alt:      #ede9e0;
  --bg-dark:     #1a1a1a;
  --bg-mid:      #2a2520;

  --text:        #1a1a1a;
  --text-muted:  #6b6558;
  --text-light:  #f8f5ef;

  --accent:      #b5962a;
  --accent-hov:  #967d22;

  --border:      #d9d2c5;
  --white:       #ffffff;

  --r:           4px;
  --r-lg:        10px;

  --font-h:      'Noto Serif JP', serif;
  --font-b:      'Noto Sans JP', sans-serif;

  --max-w:       1160px;
  --max-w-text:  780px;
}

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

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container--text { max-width: var(--max-w-text); }

.img-placeholder {
  width: 100%;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  gap: 0.5rem;
  border: 1px dashed var(--border);
}
.img-placeholder svg { opacity: 0.4; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-header__logo { width: 40px; height: 40px; flex-shrink: 0; }
.site-header__name {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
}
.site-header__name span { color: var(--accent); }
.site-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r);
}
.site-header__back:hover { color: var(--accent); border-color: var(--accent); }

.page-hero {
  background: var(--bg-dark);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30 Q30 0 60 30' stroke='%23b5962a' stroke-width='0.4' fill='none' opacity='0.1'/%3E%3C/svg%3E") repeat;
}
.page-hero__inner { position: relative; }
.page-hero__label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(181,150,42,0.4);
  padding: 0.28rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.page-hero__title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.page-hero__sub {
  font-size: 0.92rem;
  color: rgba(248,245,239,0.6);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

.about-block {
  padding: 72px 0;
}
.about-block:nth-child(even) { background: var(--white); }
.about-block:nth-child(odd)  { background: var(--bg);   }

.about-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.about-block__inner--reverse { direction: rtl; }
.about-block__inner--reverse > * { direction: ltr; }
.about-block__inner--center {
  grid-template-columns: 1fr;
  max-width: var(--max-w-text);
  text-align: center;
}

.about-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.about-section-title {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
}
.about-section-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.about-section-text + .about-section-text { margin-top: 0.85rem; }

.about-block__img { border-radius: var(--r-lg); overflow: hidden; }
.about-block__img .img-placeholder { height: 320px; }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: left;
}
.about-val {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.about-val__num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.about-val__title { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.3rem; }
.about-val__text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-card { }
.team-card__img { aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 1rem; }
.team-card__img .img-placeholder { height: 100%; }
.team-card__name { font-family: var(--font-h); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.team-card__role { font-size: 0.78rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }

.legal-main {
  min-height: 520px;
  padding: 72px 0;
  background: var(--bg);
  display: flex;
  align-items: flex-start;
}
.legal-placeholder {
  width: 100%;
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.legal-placeholder__notice {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}
.legal-placeholder__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-placeholder__icon svg { width: 22px; height: 22px; opacity: 0.45; }
.legal-placeholder__title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.site-footer {
  background: #111110;
  color: rgba(248,245,239,0.55);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(181,150,42,0.15);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { }
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.footer-brand__logo img { width: 32px; height: 32px; }
.footer-brand__name {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
}
.footer-brand__name span { color: var(--accent); }
.footer-brand__desc { font-size: 0.82rem; line-height: 1.8; max-width: 260px; }
.footer-col__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.8);
  margin-bottom: 1.25rem;
}
.footer-col__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col__links a { font-size: 0.85rem; color: rgba(248,245,239,0.5); }
.footer-col__links a:hover { color: var(--accent); }
.footer-col__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}
.footer-col__contact-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.footer-col__contact-val { font-size: 0.84rem; color: rgba(248,245,239,0.6); line-height: 1.5; }
.footer-col__contact-val a { color: inherit; }
.footer-col__contact-val a:hover { color: var(--accent); }
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer__copy { font-size: 0.78rem; }
.site-footer__legal { display: flex; gap: 1.5rem; }
.site-footer__legal a { font-size: 0.78rem; color: rgba(248,245,239,0.4); }
.site-footer__legal a:hover { color: var(--accent); }

.about-illustration {
  display: block;
  margin: 0 auto;
}

.legal-content {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 72px 1.5rem;
  background: var(--white);
}
.legal-section {
  margin-bottom: 3rem;
}
.legal-section:first-child {
  margin-top: 0;
}
.legal-section h2 {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}
.legal-section h3 {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}
.legal-section p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.85rem;
}
.legal-section ul, .legal-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-section li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.4rem;
}
.legal-section a {
  color: var(--accent);
  font-weight: 500;
}
.legal-section a:hover { text-decoration: underline; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111110;
  border-top: 1px solid rgba(181,150,42,0.2);
  padding: 1.5rem;
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}
.cookie-banner.active { transform: translateY(0); }
.cookie-banner__content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.cookie-banner__text {
  color: rgba(248,245,239,0.65);
  font-size: 0.85rem;
  line-height: 1.6;
}
.cookie-banner__text a {
  color: var(--accent);
  font-weight: 500;
}
.cookie-banner__text a:hover { text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner__btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-banner__btn-accept {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.cookie-banner__btn-accept:hover { background: var(--accent-hov); border-color: var(--accent-hov); }
.cookie-banner__btn-decline {
  background: transparent;
  color: rgba(248,245,239,0.6);
  border-color: rgba(248,245,239,0.3);
}
.cookie-banner__btn-decline:hover { background: rgba(248,245,239,0.08); border-color: rgba(248,245,239,0.5); }

.cookie-customizer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-customizer.active {
  opacity: 1;
  visibility: visible;
}
.cookie-customizer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.cookie-customizer__modal {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}
.cookie-customizer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cookie-customizer__header h3 {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.cookie-customizer__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.cookie-customizer__close:hover { color: var(--text); }

.cookie-customizer__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-option {
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--r);
  border-left: 3px solid var(--accent);
}
.cookie-option__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.cookie-option__header h4 {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}
.cookie-option__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: var(--r);
}
.cookie-option__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle span {
  display: inline-block;
  width: 40px;
  height: 22px;
  background: #d9d2c5;
  border-radius: 11px;
  position: relative;
  transition: background 0.3s ease;
}
.cookie-toggle span::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: left 0.3s ease;
}
.cookie-toggle input:checked + span {
  background: var(--accent);
}
.cookie-toggle input:checked + span::after {
  left: 20px;
}

.cookie-customizer__footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}
.cookie-customizer__btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-customizer__btn-cancel {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.cookie-customizer__btn-cancel:hover {
  background: var(--bg-alt);
  border-color: var(--text-muted);
}
.cookie-customizer__btn-save {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.cookie-customizer__btn-save:hover {
  background: var(--accent-hov);
  border-color: var(--accent-hov);
}

.site-footer__inner {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
  gap: 2rem !important;
  align-items: start;
  padding: 3rem 0;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand__name {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
}
.footer-brand__name span { color: var(--accent); }
.footer-brand__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col__title {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}
.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-col__links a:hover {
  color: var(--accent);
}

.footer-col__contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.footer-col__contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.footer-col__contact-val {
  font-size: 0.85rem;
  color: var(--text);
}
.footer-col__contact-val a {
  color: var(--text);
  transition: color 0.2s ease;
}
.footer-col__contact-val a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.site-footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.site-footer__legal {
  display: flex;
  gap: 1.5rem;
}
.site-footer__legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.site-footer__legal a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
  }
}
@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .site-footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .site-footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cookie-customizer__modal {
    width: 95%;
    max-height: 90vh;
  }
}

@media (max-width: 768px) {
  .about-block__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-block__inner--reverse { direction: ltr; }
  .about-values { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .cookie-banner__content { grid-template-columns: 1fr; gap: 1rem; }
  .cookie-banner__actions { justify-content: center; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .cookie-banner__btn { width: 100%; }
}
