:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --surface-alt: #e8f4f2;
  --surface-deep: #102728;
  --line: rgba(16, 39, 40, 0.12);
  --text: #163233;
  --text-soft: #5f7576;
  --accent: #0e9c81;
  --accent-soft: #d6f2eb;
  --accent-deep: #0d6b5a;
  --shadow: 0 24px 80px rgba(13, 55, 52, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(14, 156, 129, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfefe 0%, var(--bg) 100%);
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-main {
  overflow: clip;
}

.section {
  padding: 96px 0;
}

.section-label {
  margin: 0 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading h2,
.hero__title,
.cta-band h2,
.prose h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.section-heading p,
.hero__description,
.prose,
.entry-content {
  color: var(--text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.button--light {
  background: #fff;
  color: var(--surface-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(247, 251, 251, 0.88);
  box-shadow: 0 10px 30px rgba(15, 46, 44, 0.08);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding__link {
  display: inline-grid;
  gap: 2px;
}

.site-branding__eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.site-branding__title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-navigation__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-navigation__menu a {
  font-weight: 600;
}

.site-navigation__actions {
  display: flex;
  gap: 12px;
}

.site-header__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 0;
}

.site-header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--surface-deep);
}

.hero {
  padding: 64px 0 80px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero__content {
  display: grid;
  gap: 0;
}

.hero__title {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.hero__description {
  max-width: 620px;
  font-size: 1.05rem;
  margin: 24px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.hero__meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.hero__panel {
  position: absolute;
  z-index: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.hero__panel--primary {
  inset: 18px 60px 96px 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(232, 244, 242, 0.92)),
    linear-gradient(160deg, rgba(14, 156, 129, 0.2), transparent 60%);
}

.hero__panel--secondary {
  inset: 120px 0 0 140px;
  background:
    linear-gradient(180deg, rgba(14, 156, 129, 0.18), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 42%);
}

.hero__media {
  position: absolute;
  inset: 34px 36px 86px 64px;
  z-index: 1;
  overflow: hidden;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__date {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--news {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.news-card,
.faq-item,
.cta-band,
.archive-entry {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.service-card__link,
.news-card__link {
  display: block;
  height: 100%;
}

.service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.18;
  border-radius: 22px 22px 0 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(224, 243, 238, 0.9)),
    linear-gradient(180deg, rgba(14, 156, 129, 0.16), transparent 70%);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(10, 33, 34, 0.02), rgba(10, 33, 34, 0.08));
  pointer-events: none;
}

.service-card__image,
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__media--placeholder::before {
  content: "";
  position: absolute;
  inset: 16% 14%;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    rgba(14, 156, 129, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  z-index: 0;
}

.service-card__body,
.news-card,
.archive-entry {
  padding: 28px;
}

.service-card h3,
.news-card h3,
.prose h2,
.prose h3 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
}

.section--flow {
  padding-top: 0;
}

.flow-shell {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 244, 242, 0.92)),
    linear-gradient(135deg, rgba(14, 156, 129, 0.08), transparent 60%);
  box-shadow: var(--shadow);
}

.section-heading--flow {
  max-width: 760px;
  margin-bottom: 32px;
}

.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list::before {
  content: "";
  position: absolute;
  left: 88px;
  right: 88px;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(14, 156, 129, 0.08), rgba(14, 156, 129, 0.42), rgba(14, 156, 129, 0.08));
}

.flow-step {
  position: relative;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(16, 39, 40, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(13, 55, 52, 0.08);
}

.flow-step__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.2;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(224, 243, 238, 0.92)),
    linear-gradient(180deg, rgba(14, 156, 129, 0.16), transparent 70%);
}

.flow-step__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(10, 33, 34, 0.02), rgba(10, 33, 34, 0.08));
  pointer-events: none;
}

.flow-step__media--placeholder::before {
  content: "";
  position: absolute;
  inset: 18% 14%;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    rgba(14, 156, 129, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.flow-step__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-step__index {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #45bca6);
  box-shadow: 0 18px 36px rgba(14, 156, 129, 0.22);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  z-index: 1;
}

.flow-step__body {
  padding: 20px 8px 8px;
}

.flow-step__body h3 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.flow-step__body p {
  margin: 0;
  color: var(--text-soft);
}

.service-card .service-card__body h3 {
  margin-bottom: 0;
}

.service-empty {
  grid-column: 1 / -1;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.service-empty p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 600;
}

.service-card p,
.news-card p,
.faq-item__answer,
.site-footer__note,
.site-footer__contact {
  margin: 0;
  color: var(--text-soft);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__answer {
  padding: 0 26px 24px;
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 32px;
  align-items: end;
  padding: 42px 46px;
  border: 1px solid rgba(16, 39, 40, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(14, 156, 129, 0.18), transparent 34%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 242, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 156, 129, 0.16), transparent 68%);
  pointer-events: none;
}

.cta-band__content,
.cta-band__actions {
  position: relative;
  z-index: 1;
}

.cta-band__content {
  max-width: 720px;
}

.cta-band .section-label {
  margin-bottom: 14px;
}

.cta-band h2 {
  color: var(--text);
}

.cta-band p {
  margin: 14px 0 0;
  color: var(--text-soft);
}

.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cta-band__button {
  min-width: 220px;
}

.site-footer {
  padding: 42px 0 22px;
  background: #0e2021;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
}

.site-footer__menus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.site-footer h2 {
  margin: 0 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer__contact {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.site-footer__bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
}

.prose {
  max-width: 860px;
}

.prose--center {
  text-align: center;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content .wpcf7 {
  max-width: 820px;
  margin-top: 10px;
}

.entry-content .wpcf7 form {
  display: grid;
  gap: 22px;
  padding: 38px 40px;
  border: 1px solid rgba(16, 39, 40, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.entry-content .wpcf7 form p {
  margin: 0;
}

.entry-content .wpcf7 label {
  display: grid;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.entry-content .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.entry-content .wpcf7 .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-acceptance) {
  width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  border: 1px solid rgba(16, 39, 40, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.entry-content .wpcf7 textarea.wpcf7-form-control {
  min-height: 220px;
  resize: vertical;
}

.entry-content .wpcf7 .wpcf7-form-control:focus {
  outline: none;
  border-color: rgba(14, 156, 129, 0.6);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 156, 129, 0.12);
}

.entry-content .wpcf7 .wpcf7-submit {
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.entry-content .wpcf7 .wpcf7-submit:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
  box-shadow: 0 16px 32px rgba(14, 156, 129, 0.18);
}

.entry-content .wpcf7 .wpcf7-spinner {
  margin: 12px 0 0 12px;
}

.entry-content .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #b84f55;
}

.entry-content .wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 0.95rem;
}

.entry-content .wpcf7 form.sent .wpcf7-response-output {
  background: rgba(14, 156, 129, 0.12);
  border-color: rgba(14, 156, 129, 0.22);
  color: var(--accent-deep);
}

.entry-content .wpcf7 form.invalid .wpcf7-response-output,
.entry-content .wpcf7 form.failed .wpcf7-response-output,
.entry-content .wpcf7 form.aborted .wpcf7-response-output,
.entry-content .wpcf7 form.spam .wpcf7-response-output {
  background: rgba(184, 79, 85, 0.08);
  border-color: rgba(184, 79, 85, 0.16);
  color: #9c4348;
}

.archive-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-navigation .sub-menu {
  display: none;
}

@media (max-width: 1100px) {
  .site-header__toggle {
    display: inline-block;
  }

  .site-navigation {
    position: fixed;
    inset: 78px 16px auto;
    display: grid;
    gap: 22px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .site-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-navigation__menu,
  .site-navigation__actions {
    display: grid;
    gap: 14px;
  }

  .hero__inner,
  .site-footer__inner,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    gap: 16px;
  }

  .hero__visual--with-image {
    min-height: 0;
  }

  .hero__visual--with-image .hero__media {
    position: relative;
    inset: auto;
  }

  .hero__visual--with-image .hero__image {
    height: auto;
    object-fit: contain;
  }

  .card-grid--news,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-shell {
    padding: 34px 28px;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list::before {
    display: none;
  }

  .cta-band {
    padding: 34px 30px;
    gap: 22px;
  }

  .cta-band__actions {
    justify-content: flex-start;
  }

  .site-footer__menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 0;
  }

  .site-header.is-scrolled {
    padding: 6px 0;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 56px;
  }

  .hero__copy {
    display: contents;
  }

  .hero__content {
    grid-area: content;
  }

  .hero__actions {
    grid-area: actions;
  }

  .hero__meta {
    grid-area: meta;
  }

  .hero__visual {
    grid-area: visual;
    min-height: 380px;
  }

  .hero__inner {
    grid-template-areas:
      "content"
      "actions"
      "visual"
      "meta";
    row-gap: 14px;
    align-items: start;
  }

  .hero__title {
    font-size: clamp(2.3rem, 10.8vw, 3.5rem);
    line-height: 1.02;
  }

  .hero__description {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero__visual--with-image {
    min-height: 0;
  }

  .hero__visual--without-image {
    display: none;
  }

  .hero__panel--primary {
    inset: 0 20px 80px 0;
  }

  .hero__panel--secondary {
    inset: 80px 0 0 90px;
  }

  .hero__media {
    inset: 14px 18px 72px 24px;
  }

  .hero__visual--with-image .hero__media {
    position: relative;
    inset: auto;
  }

  .hero__visual--with-image .hero__image {
    height: auto;
    object-fit: contain;
  }

  .hero__actions .button {
    min-height: 52px;
    padding: 0 22px;
    font-size: 0.95rem;
  }

  .hero__meta {
    font-size: 0.9rem;
  }

  .card-grid--news,
  .archive-grid,
  .site-footer__menus {
    grid-template-columns: 1fr;
  }

  .card-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-shell {
    padding: 28px 22px;
  }

  .flow-step {
    padding: 14px;
  }

  .flow-step__index {
    left: 14px;
  }

  .flow-step__body {
    padding: 18px 4px 6px;
  }

  .cta-band {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .cta-band__button {
    width: 100%;
    min-width: 0;
  }

  .entry-content .wpcf7 form {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .entry-content .wpcf7 label {
    font-size: 1rem;
  }

  .entry-content .wpcf7 textarea.wpcf7-form-control {
    min-height: 180px;
  }

  .site-header__inner {
    gap: 12px;
  }
}
