:root {
  --font-body: "M PLUS 1p", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --color-bg: #0b101a;
  --color-text: #152033;
  --color-muted: #6b7384;
  --color-border: rgba(21, 32, 51, 0.12);
  --color-accent: #ff7a18;
  --color-green: #1f5f41;
  --color-blue: #1c4d9c;
  --color-red: #b43d56;
  --color-yellow: #f7b733;
  --color-orange: #eb7100;
  --radius-lg: 32px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 16px 32px rgba(12, 18, 32, 0.12);
  --shadow-card: 0 12px 24px rgba(12, 18, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: #f6f7f9;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
button:hover {
  opacity: 0.88;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 32, 51, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 42px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(12, 18, 32, 0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.btn.primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 16px 30px rgba(235, 113, 0, 0.25);
}

.btn.accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 122, 24, 0.2);
}

.btn.ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(21, 32, 51, 0.15);
}

.hero .btn.ghost {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.btn.white {
  background: rgba(255, 255, 255, 0.95);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 12px 24px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 10, 19, 0.75), rgba(18, 26, 39, 0.85)),
    url("images/hero.jpg") center/cover no-repeat;
}

.animated-bg {
  position: absolute;
  inset: -40%;
  z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(40, 72, 108, 0.18), transparent 55%);
  animation: swirl 24s linear infinite;
  filter: blur(60px);
  opacity: 0.7;
}

@keyframes swirl {
  from {
    transform: rotate(0deg) scale(1.1);
  }
  50% {
    transform: rotate(180deg) scale(1.15);
  }
  to {
    transform: rotate(360deg) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: #fff;
  padding: 4rem 0;
}

.hero-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 3.9rem);
  margin: 1rem 0;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

section {
  padding: 5rem 0;
}

section h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-lead {
  max-width: 640px;
  margin-bottom: 2.5rem;
  color: var(--color-muted);
}

.concept {
  background: #fff;
}

.concept-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.concept-heading p {
  margin: 0.75rem auto 0;
}

.concept-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: start;
}


.image-frame {
  display: block;
}

.image-frame img {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

.concept-visual {
  max-width: 420px;
  margin-inline: auto;
}

.pillars {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}


.pillar-card {
  position: relative;
  display: flex;
  gap: 1.1rem;
  background: #f4f6f8;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(21, 32, 51, 0.12);
  align-items: flex-start;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.pillar-content h3 {
  margin: 0 0 0.35rem;
}

.pillar-content p {
  margin: 0;
  line-height: 1.45;
}


.values {
  background: #f6f7f9;
}

.value-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}


.value-card {
  position: relative;
  padding: 2.2rem 2rem 2.6rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.09);
  box-shadow: var(--shadow-card);
  --accent: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border-top: 6px solid var(--accent);
  opacity: 0.45;
  pointer-events: none;
}

.value-card ul {
  padding-left: 1.1rem;
  margin-bottom: 2rem;
}

.value-card li {
  margin-bottom: 0.6rem;
}

.value-card .btn.white {
  position: relative;
  z-index: 1;
  color: var(--accent);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: auto;
}

.value-card h3 {
  color: var(--accent);
}

.value-card.municipal {
  --accent: var(--color-green);
}

.value-card.corporate {
  --accent: var(--color-blue);
}

.value-card.personal {
  --accent: var(--color-red);
}

.value-card.overseas {
  --accent: var(--color-orange);
}

.value-grid {
  align-items: stretch;
}

.value-grid.standalone-overseas {
  margin-top: 2rem;
}

.value-grid.standalone-overseas .value-card {
  width: 100%;
  margin: 0;
}

.cases {
  background: #fff;
}

.cases-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.badge {
  background: rgba(31, 95, 65, 0.12);
  color: var(--color-green);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.case-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.case-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(21, 32, 51, 0.1);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(12, 18, 32, 0.12);
}

.case-image {
  position: relative;
  display: block;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: none;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.faq {
  background: #f8fafc;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(21, 32, 51, 0.12);
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.4rem;
  font-size: 1rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 1.4rem 1.4rem;
  color: var(--color-muted);
}


.cta {
  background: #101826;
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer {
  background: #0b101a;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.6rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.selector-modal[hidden] {
  display: none;
}

.selector-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 100;
}

.selector-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 16, 0.6);
  backdrop-filter: blur(6px);
}

.selector-content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: clamp(24px, 4vw, 32px);
  padding: clamp(2rem, 3vw, 3rem);
  width: min(720px, 92vw);
  box-shadow: 0 40px 80px rgba(10, 15, 28, 0.2);
}

.selector-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(12, 18, 32, 0.55);
}

.selector-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.selector-card {
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21, 32, 51, 0.12);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.selector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border-left: 6px solid currentColor;
  opacity: 0.6;
  pointer-events: none;
}

.selector-card h3 {
  margin: 0 0 0.4rem;
  color: currentColor;
}

.selector-card p {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: rgba(21, 32, 51, 0.75);
}

.selector-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(12, 18, 32, 0.12);
}

.selector-card.municipal {
  color: var(--color-green);
}

.selector-card.corporate {
  color: var(--color-blue);
}

.selector-card.personal {
  color: var(--color-red);
}

.selector-card.overseas {
  color: var(--color-orange);
}

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

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    text-align: left;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 721px) {
  .value-card .value-inline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .value-card .value-inline .btn.white {
    justify-self: end;
    width: auto;
  }
}

@media (max-width: 720px) {
  .value-card .value-inline {
    gap: 1rem;
  }

  .value-card .value-inline .btn.white {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .btn {
    width: 100%;
    text-align: center;
  }

  .value-card {
    padding: 2rem 1.6rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }
}
.case-modal[hidden] {
  display: none;
}

.case-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 120;
}

.case-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 19, 0.65);
  backdrop-filter: blur(6px);
}

.case-modal__content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: clamp(20px, 4vw, 28px);
  padding: clamp(2rem, 4vw, 3rem);
  width: min(640px, 90vw);
  box-shadow: 0 40px 80px rgba(12, 18, 32, 0.25);
}

.case-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(12, 18, 32, 0.55);
}

.value-card .value-message {
  margin: 0;
  line-height: 1.6;
  color: rgba(21, 32, 51, 0.75);
}

.value-card .value-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
  width: 100%;
}

.value-card .value-inline .btn.white {
  margin-top: 0;
  justify-self: start;
}

.case-modal__lead {
  color: var(--color-muted);
  margin-bottom: 1.4rem;
}

.case-modal__media {
  margin-bottom: 1.6rem;
}

.case-modal__image {
  border-radius: var(--radius-md);
  min-height: 200px;
  background: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.case-modal__image::after {
  display: none;
}

.case-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.case-modal__body {
  display: grid;
  gap: 1rem;
  color: var(--color-text);
}

.case-modal__body ul {
  padding-left: 1.2rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 16, 0.45);
  backdrop-filter: blur(4px);
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 80vw);
  height: 100%;
  background: #fff;
  box-shadow: -24px 0 48px rgba(12, 18, 32, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.8rem 1.6rem 2.4rem;
}

.mobile-nav__close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(12, 18, 32, 0.65);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 1rem;
}

.mobile-nav__links a {
  color: var(--color-text);
  text-decoration: none;
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}
