/* ウェブストリームラボ — clever-dream-238.css */
:root {
  --bg: #ededea;
  --bg-alt: #e2e2d6;
  --text: #433425;
  --accent: #fdb769;
  --mint: #c6e0b4;
  --table-bar: #a4907c;
  --white: #ffffff;
  --dark: #090a0b;
  --radius-pill: 9999px;
  --radius-md: 10px;
  --radius-sm: 5px;
  --radius-lg: 30px;
  --container: 1200px;
  --content: 960px;
  --font: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: #003c78; text-decoration: underline; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }

img { max-width: 100%; height: auto; display: block; }

/* ── CONTAINER ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--content); margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(237,237,234,0.96);
  box-shadow: 0 1px 0 rgba(67,52,37,0.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.site-logo svg { width: 40px; height: 40px; }
.site-logo__name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}
.site-header.scrolled .site-logo__name { color: var(--text); }

/* NAV */
.nav-main { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-main a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.925rem;
  transition: color var(--transition);
}
.site-header.scrolled .nav-main a { color: var(--text); }
.nav-main a:hover { color: var(--accent); opacity: 1; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--text) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 22px;
  border-radius: 0;
  transition: filter var(--transition);
  white-space: nowrap;
}
.btn-cta:hover { filter: brightness(1.08); opacity: 1; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--text); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(67,52,37,0.45);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 780px;
  padding: 0 24px;
}
.hero__logo-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo-mark svg { width: 52px; height: 52px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  color: var(--white);
}
.hero__sub {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.92);
}
.hero__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.8);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}
.btn-outline-white:hover { background: var(--white); color: var(--text) !important; opacity: 1; }

/* ── SECTIONS ── */
section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__header { text-align: center; margin-bottom: 48px; }
.section__header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.section__header p { font-size: 1rem; color: rgba(67,52,37,0.75); max-width: 600px; margin: 0 auto; }

/* ── FEATURE GRID ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { text-align: center; }
.feature-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: rgba(67,52,37,0.8); line-height: 1.7; }

/* ── ALTERNATING IMAGE-TEXT ── */
.split-block {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.split-block--reverse { grid-template-columns: 40% 60%; }
.split-block--reverse .split-block__img { order: 2; }
.split-block--reverse .split-block__text { order: 1; }
.split-block__img img { width: 100%; border-radius: var(--radius-md); object-fit: cover; }
.split-block__text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 16px; line-height: 1.35; }
.split-block__text p { font-size: 0.975rem; line-height: 1.85; margin-bottom: 24px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--text);
  color: var(--text) !important;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--text); color: var(--white) !important; opacity: 1; }

/* ── NEWS ── */
.news-list { list-style: none; }
.news-list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(67,52,37,0.15);
  font-size: 0.9rem;
}
.news-list__date { color: rgba(67,52,37,0.6); white-space: nowrap; flex-shrink: 0; }
.news-list a { text-decoration: none; color: var(--text); }
.news-list a:hover { color: #003c78; opacity: 1; }

/* ── PRICING ── */
.pricing-row {
  display: grid;
  grid-template-columns: 20% 80%;
  gap: 0 24px;
  align-items: start;
  margin-bottom: 36px;
}
.pricing-row__icon img { width: 100%; max-width: 120px; }
.pricing-row__content h3 {
  background: var(--table-bar);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 16px;
  margin-bottom: 0;
}
.pricing-row__content h3.mint { background: var(--mint); color: var(--text); }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.pricing-table td {
  padding: 10px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(67,52,37,0.08);
}
.pricing-table td:last-child { text-align: right; font-weight: 600; }

.payment-block {
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 32px;
}
.payment-block h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.payment-block ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.payment-block ul li { font-size: 0.9rem; }
.payment-block ul li::before { content: "・"; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.cta-band p { margin-bottom: 28px; font-size: 1rem; }
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  transition: filter var(--transition);
}
.btn-dark:hover { filter: brightness(1.2); opacity: 1; }

/* ── FOOTER ── */
.site-footer {
  background: var(--text);
  color: var(--white);
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand .site-logo svg { filter: brightness(0) invert(1); }
.footer__brand .site-logo__name { color: var(--white); }
.footer__brand p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.75); margin-top: 14px; }
.footer__nav h4 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.footer__nav ul { list-style: none; }
.footer__nav ul li { margin-bottom: 8px; }
.footer__nav ul li a { text-decoration: none; color: rgba(255,255,255,0.8); font-size: 0.875rem; transition: color var(--transition); }
.footer__nav ul li a:hover { color: var(--accent); opacity: 1; }
.footer__contact address { font-style: normal; font-size: 0.875rem; line-height: 1.85; color: rgba(255,255,255,0.8); }
.footer__contact a { color: rgba(255,255,255,0.8); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer__bottom-links a:hover { color: var(--white); opacity: 1; }
.social-links { display: flex; gap: 14px; margin-top: 16px; }
.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.8rem;
  transition: border-color var(--transition), color var(--transition);
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

/* ── COOKIES GDPR ── */
.cookies-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(67,52,37,0.97);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookies-banner.hidden { transform: translateY(110%); }
.cookies-banner p { font-size: 0.875rem; color: rgba(255,255,255,0.9); max-width: 680px; line-height: 1.6; }
.cookies-banner p a { color: var(--accent); }
.cookies-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-accept {
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 22px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter var(--transition);
}
.btn-accept:hover { filter: brightness(1.08); }
.btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--text);
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; }

/* ── CONTENT PAGE ── */
.content-section { padding: 72px 0; }
.content-section h2 { font-size: 1.5rem; font-weight: 700; margin: 36px 0 14px; border-left: 4px solid var(--accent); padding-left: 14px; }
.content-section h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; }
.content-section p { font-size: 0.95rem; line-height: 1.85; margin-bottom: 16px; }
.content-section ul, .content-section ol { padding-left: 1.4em; margin-bottom: 16px; }
.content-section li { font-size: 0.95rem; line-height: 1.75; margin-bottom: 6px; }

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.contact-info address { font-style: normal; line-height: 2; font-size: 0.95rem; }
.contact-info address p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
.contact-info i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.contact-form { background: var(--white); border-radius: var(--radius-md); padding: 40px; box-shadow: 0 4px 24px rgba(67,52,37,0.08); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.form-group label span.req { color: #c0392b; margin-left: 4px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(67,52,37,0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: #fafaf8;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { text-align: center; margin-top: 8px; }
.btn-submit {
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 48px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: filter var(--transition);
  font-family: var(--font);
}
.btn-submit:hover { filter: brightness(1.08); }

/* ── MAP ── */
.map-wrap { border-radius: var(--radius-md); overflow: hidden; margin-top: 28px; }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ── CAUTION BOX ── */
.caution-box {
  border: 1px solid rgba(67,52,37,0.2);
  border-radius: var(--radius-pill);
  padding: 24px 36px;
  text-align: center;
  background: rgba(237,237,234,0.6);
  margin: 32px 0;
}
.caution-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.caution-box p { font-size: 0.9rem; color: rgba(67,52,37,0.75); }

/* ── PROFILE/ABOUT ── */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.staff-card { text-align: center; padding: 28px 20px; background: var(--white); border-radius: var(--radius-md); }
.staff-card img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.staff-card h3 { font-size: 0.975rem; font-weight: 700; margin-bottom: 4px; }
.staff-card p { font-size: 0.85rem; color: rgba(67,52,37,0.7); line-height: 1.65; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .split-block, .split-block--reverse { grid-template-columns: 1fr; }
  .split-block--reverse .split-block__img, .split-block--reverse .split-block__text { order: unset; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .pricing-row { grid-template-columns: 1fr; }
  .pricing-row__icon { display: none; }
}
@media (max-width: 767px) {
  section { padding: 56px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-main { display: none; flex-direction: column; gap: 0; background: rgba(237,237,234,0.98); position: fixed; top: 0; left: 0; right: 0; bottom: 0; padding: 80px 32px 32px; overflow-y: auto; z-index: 999; }
  .nav-main.open { display: flex; }
  .nav-main a { color: var(--text); font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid rgba(67,52,37,0.1); }
  .nav-toggle { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 20px; margin: 0 12px; }
  .hero h1 { font-size: 1.8rem; }
  .cookies-banner { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
