:root {
  --primary: #c6a058;
  --accent: #9a95b2;
  --accent-strong: #6b6491;
  --surface: #f4f4eb;
  --text: #333333;
  --muted: #666666;
  --font-ja: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --font-en: system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--text);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}
/* Disable default tap highlight on mobile */
html,
body,
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.4;
}
p {
  margin: 0 0 12px;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}
.badge {
  display: inline-flex;
  padding: 6px 14px;
  background: #c39043;
  color: #fff;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 13px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
}
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--accent);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease;
}
.btn-primary:hover {
  background: #b08c45;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.btn-secondary:hover {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0);
  box-shadow: none;
}
.link {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.link.link-arrow {
  gap: 10px;
}
.link.link-arrow::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../img/arrow-dropleft-circle.svg") center/contain no-repeat;
}
.link:hover {
  text-decoration: none;
  color: var(--accent-strong);
}
.link.link-arrow:hover::after {
  filter: brightness(0.8);
}

.snapshots-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}
.snapshot-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.snapshot-cover {
  width: 100%;
  background: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  padding: 0;
}
.snapshot-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.snapshot-meta {
  line-height: 1.7;
  color: #333;
}
.snapshot-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}
.snapshot-author {
  font-size: 15px;
  margin: 0 0 6px;
}
.snapshot-desc {
  font-size: 15px;
  margin: 0;
}

.snapshots-cta {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.snapshots-cta .btn {
  align-self: center;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  border-radius: 9999px;
  padding: 12px 24px;
  font-weight: 700;
  gap: 10px;
}
.snapshots-cta .btn::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../img/arrow-forward.svg") center/contain no-repeat;
  margin-left: 10px;
}
.snapshots-cta .btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  text-decoration: none;
}
.snapshots-cta .btn:active {
  transform: translateY(1px);
}

.publishing-note br {
  display: none;
}

.publishing-divider {
  display: flex;
  justify-content: flex-start;
  margin: -80px 0 0;
  overflow: hidden;
}
.publishing-divider img {
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin-right: 10px;
  position: relative;
  left: -10%;
}

@media (max-width: 768px) {
  .snapshots-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .snapshot-card {
    max-width: 280px;
    margin: 0 auto;
  }
  .publishing-note {
    white-space: normal;
  }
  .publishing-note br {
    display: inline;
  }
  .news-links br.news-links-break {
    display: block;
  }
  .news-links .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .news-links .container a {
    margin: 0 4px;
  }
  .news-links .container a:nth-child(3)::after {
    content: "";
    display: block;
    width: 100%;
    height: 0;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.site-header .container {
  padding-left: 24px;
  padding-right: 24px;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  position: relative;
}
.logo a {
  font-weight: 800;
  letter-spacing: 0.04em;
}
.logo-img {
  display: block;
  /*height: 34px;*/
  height: 20px;
  width: auto;
  transition: transform 0.2s ease;
}
.logo a:hover .logo-img {
  transform: scale(1.05);
}
.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
}
.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.global-nav .nav-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  padding: 4px 6px;
  border: none;
  background: transparent;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--text);
}
.btn-cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.btn-cta:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}
.nav-toggle-bar {
  width: 100%;
  height: 2px;
  background: var(--text);
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-footer {
  padding: 40px 0 40px;
  background: #f5f5f5;
  border-top: 1px solid #d6d6d6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 24px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0px;
  color: #444;
  line-height: 1.8;
}
.footer-company {
  font-weight: 700;
  font-size: 13px;
  margin: 0;
}
.footer-mail {
  margin: 0;
  font-size: 13px;
}
.footer-services {
  margin: 25px 0 0;
  font-size: 13px;
  gap: 8px;
}
.footer-legal {
  margin: 4px 0 0;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}
.footer-sep {
  color: #888;
  display: inline-block;
  margin: 0 5px;
}
.footer-copy {
  margin: 20px 0 0;
  color: #555;
  font-size: 13px;
}
.footer-right {
  text-align: right;
  color: #7a7397;
}
.footer-logo {
  margin: 0 0 6px;
}
.footer-logo img {
  display: inline-block;
  height: 18px;
  width: auto;
  margin: 10px 0 5px;
}
.footer-tagline {
  margin: -11px -8px 0 0;
  color: #555;
  font-size: 12px;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 20px;
  }
  .footer-right {
    text-align: left;
    margin-top: -20px;
  }
}

.hero {
  position: relative;
  padding: 95px 0 95px;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}
.hero-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero-leaf img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-leaf--left {
  top: 10px;
  left: 0;
  width: 40vw;
  max-width: 350px;
}
.hero-leaf--right {
  right: -60px;
  bottom: 0px;
  width: 48vw;
  max-width: 580px;
}
.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}
.hero-copy {
  max-width: 820px;
  margin: 0 auto;
}
.hero-title {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  padding: 0 8px;
}
.hero-title::before {
  content: "";
  position: absolute;
  inset: -8px -10px;
  background: transparent;
  filter: none;
  z-index: -1;
}
.hero-title-main,
.hero-title-sub {
  display: block;
  font-family: "toppan-bunkyu-mincho-pr6n", "Toppan Bunkyu Mincho", "Noto Serif JP", serif;
  font-weight: 700;
  -webkit-text-stroke: 10px rgba(255, 255, 255, 1);
  paint-order: stroke fill;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.9),
    0 0 6px rgba(255, 255, 255, 0.7);
}
.hero-title-main {
  font-size: 34px;
  color: #564e70;
  line-height: 1.4;
}
.hero-title-sub {
  font-size: 21px;
  color: #c6a058;
  line-height: 1.5;
  margin-top: 30px;
}
.hero-lead {
  color: #333333;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 10px;
  margin-bottom: 10px;
}
.hero-note {
  font-size: 13px;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 12px;
  padding: 10px 100px;
  border-radius: 9999px;
  background-color: #c6a058;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #c6a058;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 1);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.hero-cta:hover {
  background-color: #a06e30;
  border-color: #a06e30;
  text-decoration: none;
}
.hero-scroll-arrow {
  display: block;
  margin: 54px auto 0;
  color: #c6a058;
  font-size: 8px;
  text-decoration: none;
  transition: transform 0.2s ease;
  text-align: center;
  width: fit-content;
}
.hero-scroll-arrow img {
  width: 40px;
  height: auto;
  display: inline-block;
  animation: hero-arrow-bounce 1.8s ease-in-out 0s 5;
}

@keyframes hero-arrow-bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}
.hero-scroll-arrow:hover {
  transform: translateY(3px);
}

.news-strip {
  margin-top: 32px;
  font-size: 13px;
  color: #9a95b2;
  background: transparent;
}
.news-top {
  width: 100%;
  border-top: 1px solid #9a95b2;
  background: transparent;
}
.news-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
}
.news-link {
  color: #6b6491;
  font-weight: 700;
  text-decoration: none;
}
.news-link:hover {
  text-decoration: underline;
}
.news-links {
  background: #9a95b2;
  color: #fff;
  padding: 10px 0;
  font-weight: 700;
}
.news-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 6px;
}
.news-links a:hover {
  text-decoration: underline;
}
.news-links .news-links-break {
  white-space: nowrap;
}
.news-links br.news-links-break {
  display: none;
}

.problem-cards {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  margin-top: 60px;
}
.problems-divider,
.service-divider {
  display: flex;
  justify-content: flex-start;
  margin: -10px 0 0;
  overflow: hidden;
}
.service-divider {
  margin: -70px 0 0;
}
.problems-divider img,
.service-divider img {
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin-right: 10px;
  position: relative;
  left: -10%;
}
.problem-card {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  padding: 60px 28px 20px;
  border: 1px solid #eee;
  width: 100%;
  max-width: 360px;
  min-height: 300px;
  text-align: left;
  margin: 0 auto;
}
.problem-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 0;
}
.problem-label {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #c39043;
  color: #fff;
  border-radius: 9999px;
  padding: 17px 15px;
  font-weight: 700;
  font-size: 25px;
}
.problem-body h3 {
  font-size: 22px;
  color: #333;
  margin: 0 0 16px;
  text-align: center;
  line-height: 30px;
}
.problem-body p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: #444;
}
.problem-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c6a058;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-end;
}
.problem-link::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../img/arrow-right-circle.svg") center/contain no-repeat;
}
.problem-link:hover {
  text-decoration: none;
  color: #a06e30;
}
.problem-link:hover::after {
  filter: brightness(0.8);
}

@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
  .problem-cards {
    grid-template-columns: 1fr;
  }
  .problem-card {
    max-width: 340px;
    width: calc(100% - 32px);
  }
}

.page-hero {
  padding: 80px 0 40px;
  background: #f8f5ec;
}
.page-hero h1 {
  font-family: "toppan-bunkyu-mincho-pr6n", "Toppan Bunkyu Mincho", "Noto Serif JP", serif;
  font-weight: 700;
}
.page-hero .muted {
  font-family: "toppan-bunkyu-gothic-pr6n", "Toppan Bunkyu Gothic", "Noto Sans JP", sans-serif;
}

.section {
  padding: 24px 0;
}
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.snapshots-link {
  position: absolute;
  top: 4px;
  right: 20px;
  white-space: nowrap;
}
.snapshots-link:hover {
  text-decoration: none;
}
.snapshots .container {
  position: relative;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.back-to-top::after {
  content: "▲";
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
  display: inline-block;
}
.back-to-top:hover {
  background: var(--accent-strong);
}
.back-to-top:active {
  transform: translateY(1px);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Back-to-top hover color swap */
.back-to-top:hover {
  background: var(--accent);
}
.problems .section-head {
  margin-bottom: 12px;
}
.problems .section-head h2 {
  margin-bottom: 10px;
}

.cards {
  display: grid;
  gap: 16px;
}
.service-cards {
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.service-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 32px 0;
  width: 100%;
  left: 0;
  transform: none;
  overflow: hidden;
}
.service-illustration img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  transform: none;
}

@media (max-width: 768px) {
  .service-illustration {
    width: 100%;
    left: 0;
    transform: none;
  }
  .service-illustration img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }
}

@media (min-width: 1024px) {
  .service-illustration img {
    width: 100%;
    max-width: 1200px;
    transform: none;
  }
}
.service-eyebrow {
  color: var(--accent) !important;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 18px;
}
.service-card h3 {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0 0 14px;
  color: #333;
}
.service-card p {
  color: #444;
  line-height: 1.7;
  margin: 0 0 16px;
}

/* Services article page */
.services-article .services-intro {
  margin-bottom: 32px;
}
.services-intro-note {
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 10px auto -10px auto;
  max-width: var(--max-width);
  padding: 10px 40px;
  font-weight: 700;
  color: var(--primary);
}
.services-article h2 {
  margin-top: 0;
}
.service-article {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 28px;
  scroll-margin-top: 80px;
}
.service-article h2 {
  color: #6e6690;
  font-size: 24px;
  margin: 0 0 14px;
}
.service-article h3 {
  font-size: 18px;
  color: #433f3b;
  margin: 18px 0 10px;
}
.service-article h4 {
  font-size: 16px;
  color: #5b556d;
  margin: 14px 0 8px;
}
.service-article p {
  margin: 0 0 12px;
  line-height: 1.8;
}
.service-article ul,
.service-article ol {
  margin: 8px 0 16px 20px;
  line-height: 1.8;
  padding-left: 14px;
}
.service-article ul li,
.service-article ol li {
  margin-bottom: 6px;
}
.service-article ul:last-child,
.service-article ol:last-child,
.service-article p:last-child {
  margin-bottom: 0;
}
.service-article hr,
.projects-article hr {
  border: none;
  border-top: 1px solid #e3e3e3;
  margin: 18px 0;
}
.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.services-cta .btn-service {
  padding-left: 32px;
  padding-right: 32px;
}
.services-toc {
  margin-top: 16px;
}
@media (max-width: 768px) {
  .service-article {
    padding: 20px 18px;
  }
  .service-article h2 {
    font-size: 22px;
  }
}

/* About page */
.about-section .container {
  max-width: var(--max-width);
}
.about-article {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
  margin-bottom: 26px;
}
.about-article h1 {
  font-size: 26px;
  color: #6e6690;
  margin: 0 0 12px;
}
.about-article h2 {
  font-size: 22px;
  color: #6e6690;
  margin: 22px 0 10px;
}
.about-article h3 {
  font-size: 18px;
  color: #433f3b;
  margin: 18px 0 10px;
}
.about-article p {
  margin: 0 0 14px;
}
.about-article ul,
.about-article ol {
  margin: 8px 0 16px 20px;
  padding-left: 12px;
}
.about-article li {
  margin-bottom: 6px;
}
.about-article hr {
  border: none;
  border-top: 1px solid #e2e2e2;
  margin: 22px 0;
}
.about-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 15px;
}
.about-table th:first-child,
.about-table td:first-child {
  width: 90px;
  white-space: nowrap;
}
.about-table th,
.about-table td {
  border: 1px solid #e3e3e3;
  padding: 10px 12px;
  text-align: left;
}
.about-table th {
  background: #f7f7f7;
  color: #555;
  font-weight: 700;
}
.about-table tr:nth-child(even) td {
  background: #fafafa;
}
.about-cta {
  display: flex;
  justify-content: center;
  margin: 12px 0 6px;
}
.about-cta .btn-service {
  padding-left: 30px;
  padding-right: 30px;
  text-decoration: none;
}
.about-toc {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.about-toc-title {
  margin: 0;
  font-weight: 700;
  color: #6e6690;
}
.about-toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.about-toc-links a {
  color: #6b6491;
  font-weight: normal;
  text-decoration: none;
}
.about-toc-links a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .about-article {
    padding: 22px 18px;
  }
  .about-table th,
  .about-table td {
    font-size: 14px;
  }
}

.btn-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--accent);
  text-decoration: none;
  gap: 6px;
}
.service-card .btn-service {
  align-self: flex-end;
  margin-top: auto;
  margin-right: 0px;
  margin-bottom: 0px;
}
.btn-service:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  text-decoration: none;
}
.btn-service::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../img/arrow-forward.svg") center/contain no-repeat;
  margin-left: 10px;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.cards.service-cards,
.service-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.card {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}
.card.service-card {
  padding: 0;
  border: none;
  border-radius: 16px;
  /*background: #f7f5fb;*/
  box-shadow: none;
  max-width: 450px;
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card.surface {
  background: var(--surface);
}

.problems {
  background: transparent;
}
.funding {
  background: var(--surface);
}
.funding-inner {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) 1fr;
  grid-template-areas:
    "ill copy"
    "ill cta";
  gap: 32px 56px;
  align-items: center;
}
.funding-illustration {
  grid-area: ill;
  position: relative;
}
.funding-illustration img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
}
.funding-copy {
  grid-area: copy;
  text-align: left;
  color: #433f3b;
}
.funding-eyebrow {
  color: var(--accent) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 18px;
  margin-bottom: 10px;
}
.funding-title {
  color: #6e6690;
  font-size: 30px;
  font-family: "toppan-bunkyu-gothic-pr6n", serif;
  margin-bottom: 18px;
}
.funding-lead {
  font-weight: 700;
  color: #433f3b;
  line-height: 1.8;
  margin: 0 0 16px;
}
.funding-body p {
  margin: 0 0 16px;
  line-height: 1.8;
  font-size: 16px;
}
.btn-funding {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 9999px;
  background: #9189ad;
  color: #fff;
  font-weight: 700;
  border: 1px solid #9189ad;
  gap: 8px;
  margin-top: 10px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}
.btn-funding::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../img/arrow-forward.svg") center/contain no-repeat;
  margin-left: 8px;
}
.btn-funding:hover {
  background: #7c749d;
  border-color: #7c749d;
  text-decoration: none;
}
.btn-funding:active {
  transform: translateY(1px);
}
.funding-cta {
  grid-area: cta;
  align-self: start;
}
@media (max-width: 960px) {
  .funding-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "ill"
      "cta";
    gap: 24px;
    justify-items: center;
  }
  .funding-copy {
    width: 100%;
  }
  .funding-illustration img {
    max-width: 250px;
  }
  .funding-cta {
    width: 100%;
    text-align: center;
  }
}
.message {
  background: #fff;
  overflow-x: hidden;
}
.message-inner {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) 1fr;
  gap: 40px 56px;
  align-items: center;
  overflow: visible;
}
.message-copy {
  text-align: left;
  color: #433f3b;
  display: flex;
  flex-direction: column;
  /*gap: 18px;*/
  max-width: 420px;
}
.message-title {
  color: #7b7395;
  font-size: 30px;
  font-family: "toppan-bunkyu-gothic-pr6n", serif;
  margin: 0;
}
.message-lead {
  font-size: 20px;
  font-weight: 700;
  color: #433f3b;
  line-height: 1.8;
  margin: 0;
}
.message-body p {
  margin: 0 0 16px;
  line-height: 1.9;
  font-size: 16px;
}
.message-body p:last-child {
  margin-bottom: 0;
}
.message-sign {
  margin-top: 40px !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: right;
  display: block;
}
.btn-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 9999px;
  background: #9189ad;
  color: #fff;
  font-weight: 700;
  border: 1px solid #9189ad;
  gap: 8px;
  text-decoration: none;
  width: fit-content;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}
.btn-message::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../img/arrow-forward.svg") center/contain no-repeat;
  margin-left: 8px;
}
.btn-message:hover {
  background: #7c749d;
  border-color: #7c749d;
  text-decoration: none;
}
.btn-message:active {
  transform: translateY(1px);
}
.message-illustration {
  text-align: right;
  /*position: relative;*/
  position: absolute;
  right: 0;
  overflow: hidden;
}
.message-illustration img {
  width: 100%;
  max-width: 500px !important;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: none;
}
@media (max-width: 960px) {
  .message-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
  }
  .message-copy {
    width: 100%;
    max-width: 700px;
  }
  .message-illustration {
    order: 3;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-right: -50px;
  }
  .message-illustration img {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
    transform: none;
    text-align: right !important;
    margin-right: -10px;
  }
}
.message-cta {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .message-cta {
    margin-top: 50px;
  }
}
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list .news-year {
  padding: 18px 0 8px;
  border-bottom: 1px solid #ddd;
  font-weight: 700;
  color: #564e70;
  letter-spacing: 0.02em;
}
.news-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 12px;
  align-items: center;
}

.news-title {
  text-decoration: underline;
}

.news-title:hover {
  text-decoration: none;
}

.news-lead {
  font-family: "toppan-bunkyu-gothic-pr6n", "Toppan Bunkyu Gothic", "Noto Sans JP", sans-serif;
}

.news-back {
  margin-top: 24px;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b6491;
  font-weight: 700;
  text-decoration: none;
}

.news-back-link::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("../img/arrow-dropleft-circle.svg") center/contain no-repeat;
}

.news-back-link:hover {
  text-decoration: underline;
}
.news-date {
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}
.contact-confirm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.contact-confirm h3 {
  margin-top: 0;
}
.contact-confirm h2 {
  margin-top: 0;
  font-size: 28px;
  color: var(--text);
}
.contact-card {
  background: #fff;
  border: 1px solid #e5e2d9;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
}
.contact-confirm dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  row-gap: 12px;
  column-gap: 12px;
  margin: 16px 0 24px;
}
.contact-confirm dt {
  font-weight: 700;
  color: var(--muted);
}
.contact-confirm dd {
  margin: 0;
}
.confirm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Projects external links & contact consent link: underline default, remove on hover */
.projects .prose a,
.contact-form .form-check a,
.service-article a {
  text-decoration: underline;
  transition: text-decoration 0.2s ease;
}
.projects .prose a:hover,
.contact-form .form-check a:hover,
.service-article a:hover {
  text-decoration: none;
}
.form-group {
  display: grid;
  gap: 6px;
}
.form-check {
  align-items: center;
}
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
}
.form-note {
  color: var(--muted);
  font-size: 14px;
}

/* Stickyヘッダー分の余白を確保してアンカー位置が隠れないように */
.section {
  scroll-margin-top: 0px;
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto auto;
    align-items: center;
  }
  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }
  .global-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    width: min(320px, 90vw);
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }
  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .global-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
  }
  .global-nav ul a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    transition:
      background 0.15s ease,
      color 0.15s ease;
  }
  .global-nav ul a:hover,
  .global-nav ul a:active {
    background: #f0eef6;
    color: #6b6491;
    text-decoration: none;
  }

  .global-nav li {
    width: 100%;
  }
  .global-nav .nav-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
  }
  .global-nav .btn-cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 20px !important;
  }
  .hero-leaf--left {
    width: 35vw;
    max-width: 550px;
    top: 10px;
    left: 10px;
  }
  .hero-leaf--right {
    width: 55vw;
    max-width: 550px;
    right: -30px;
    bottom: 0px;
  }

  .hero-scroll-arrow img {
    animation: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 80px 0 120px;
  }
}

@media (max-width: 768px) {
  .cards.service-cards,
  .service-cards {
    grid-template-columns: 1fr !important;
    justify-items: center;
  }
}

.section h2 {
  font-family: "toppan-bunkyu-gothic-pr6n", serif;
  font-weight: 600;
  color: #7b7395;
  font-size: 28px;
  letter-spacing: 0.02em;
}
.section h3 {
  font-family: "toppan-bunkyu-gothic-pr6n", serif;
  font-weight: 600;
  color: #333;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.section-intro {
  text-align: left;
  max-width: none;
  margin: 0;
  padding-left: 0px;
  padding-bottom: 30px;
}
.section-intro h2 {
  margin: 0 0 12px;
}
.section-intro h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.8;
}
.section-intro p {
  margin: 0 0 10px;
  line-height: 1.7;
  font-size: 15px;
}
.section-intro p:last-child {
  margin-bottom: 0;
  margin-top: 12px;
}
