:root {
  --color-bg: #F8F6F2;
  --color-bg-dark: #1A2744;
  --color-text: #2C2C2C;
  --color-text-light: #6B6B6B;
  --color-accent: #B8966E;
  --color-accent-dark: #1A2744;
  --color-border: #E0D9D0;
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --shadow-soft: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 18px 40px rgba(26, 39, 68, 0.16);
  --radius-card: 12px;
  --radius-large: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.45;
}

h1 {
  font-size: 30px;
  letter-spacing: 0;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 22px;
  font-weight: 600;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 20px;
  color: var(--color-white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-active {
  color: var(--color-accent-dark);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(26, 39, 68, 0.09);
  backdrop-filter: blur(12px);
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.site-nav {
  position: fixed;
  inset: 72px 16px auto;
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  color: var(--color-accent-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav a {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
}

.nav-contact {
  color: var(--color-white);
  background: var(--color-accent-dark);
  border-radius: 999px;
  text-align: center;
}

.menu-button {
  display: inline-grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  place-content: center;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 126px 20px 92px;
  overflow: hidden;
  color: var(--color-white);
  background:
    linear-gradient(rgba(26, 39, 68, 0.9), rgba(26, 39, 68, 0.9)),
    url("assets/images/hero-concept.png") center / cover;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-label {
  position: relative;
  padding-bottom: 10px;
  color: var(--color-white);
}

.hero-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.02);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-accent);
}

.button-secondary {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.button-outline-dark {
  color: var(--color-accent-dark);
  border: 1px solid var(--color-accent-dark);
}

.button-card {
  color: var(--color-white);
  background: var(--color-accent-dark);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 30px;
  height: 46px;
  place-items: start center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 6px;
  height: 6px;
  margin-top: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: scrollDot 1.6s ease-in-out infinite;
}

.section {
  padding: 78px 20px;
}

.section-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(100%, 760px);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p:not(.section-label) {
  margin-top: 12px;
  color: var(--color-text-light);
}

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

.problems {
  background: var(--color-bg);
}

.problems .section-inner {
  width: min(100%, 960px);
}

.problem-grid {
  display: grid;
  gap: 16px;
}

.problem-card {
  position: relative;
  min-height: 176px;
  padding: 28px 24px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(224, 217, 208, 0.78);
  box-shadow: var(--shadow-soft);
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--color-accent);
}

.problem-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.problem-card p {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.lead-text {
  max-width: 760px;
  margin-top: 34px;
  margin-right: auto;
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  text-align: center;
}

.profile {
  background: var(--color-white);
}

.profile-layout {
  display: grid;
  gap: 42px;
}

.profile-card {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

.profile-photo-frame {
  position: relative;
  padding: 10px;
  background: var(--color-white);
  border-radius: 8px;
}

.profile-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  transform: translate(10px, 10px);
}

.profile-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.profile-name {
  margin-top: 28px;
  font-size: 28px;
}

.profile-role {
  margin-top: 6px;
  color: var(--color-text-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-text h2 {
  margin-bottom: 18px;
}

.profile-lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

.career-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0 0 0 18px;
  list-style: none;
  border-left: 2px solid var(--color-accent);
}

.career-list li {
  position: relative;
  color: var(--color-text);
}

.career-list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: -24px;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
}

.strength-box {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg);
  border-left: 3px solid var(--color-accent);
}

.services {
  background: var(--color-bg);
}

.service-grid {
  display: grid;
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 24px;
  border-radius: var(--radius-large);
}

.service-card-light {
  background: var(--color-white);
  border-top: 4px solid var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.service-card-dark {
  color: var(--color-white);
  background: var(--color-bg-dark);
  box-shadow: 0 20px 50px rgba(26, 39, 68, 0.2);
}

.step-label {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

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

.service-card li {
  position: relative;
  padding-left: 20px;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.9em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--color-accent);
}

.price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(184, 150, 110, 0.35);
  font-weight: 700;
}

.service-actions {
  display: grid;
  gap: 14px;
}

.text-link {
  justify-self: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.pricing {
  background: var(--color-white);
}

.pricing-inner {
  width: min(100%, 880px);
}

.pricing-block {
  display: grid;
  gap: 18px;
}

.pricing-title {
  display: inline-block;
  justify-self: start;
  padding-bottom: 8px;
  color: var(--color-accent-dark);
  border-bottom: 2px solid var(--color-accent);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pricing-description,
.pricing-note,
.pricing-cta p {
  color: var(--color-text-light);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
}

.pricing-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table th {
  color: var(--color-text-light);
  background: var(--color-bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pricing-table td:first-child {
  width: 28%;
  font-weight: 700;
}

.pricing-table td:last-child {
  width: 28%;
}

.pricing-table .fee {
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-weight: 700;
}

.pricing-note {
  font-size: 13px;
}

.pricing-divider {
  margin: 42px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.pricing-cta {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 42px;
  text-align: center;
}

.contents {
  background: var(--color-white);
}

.article-grid {
  display: grid;
  gap: 20px;
}

.article-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.article-link {
  display: grid;
  height: 100%;
}

.article-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(184, 150, 110, 0.28), rgba(224, 217, 208, 0.68)),
    var(--color-border);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.article-card:hover .article-thumb img {
  transform: scale(1.04);
}

.article-body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  color: var(--color-accent-dark);
  background: rgba(184, 150, 110, 0.16);
  border: 1px solid rgba(184, 150, 110, 0.34);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.article-card time {
  display: block;
  margin-top: 16px;
  color: var(--color-text-light);
  font-size: 13px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.faq {
  background: var(--color-bg);
}

.accordion {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  padding: 22px 0;
  color: var(--color-text);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.faq-question span {
  color: var(--color-accent);
  font-size: 26px;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 22px;
  color: var(--color-text-light);
}

.cta-section {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-bg-dark);
}

.wave {
  display: block;
  width: 100%;
  height: 90px;
  color: var(--color-bg);
  fill: currentColor;
  transform: translateY(-1px);
}

.cta-inner {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 54px 20px 86px;
  text-align: center;
}

.cta-inner p {
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.74);
}

.mail-note {
  font-size: 14px;
}

.mail-note a {
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  color: #888888;
  background: var(--color-black);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--color-white);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scrollDot {
  0%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(14px);
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .site-header {
    padding: 18px 36px;
  }

  .menu-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 9px 14px;
    font-size: 13px;
  }

  .nav-contact {
    color: var(--color-white);
    background: var(--color-accent);
  }

  .site-header.scrolled .nav-contact {
    color: var(--color-white);
  }

  .button-group {
    flex-direction: row;
    justify-content: center;
  }

  .button {
    min-width: 220px;
  }

  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-layout {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 70px;
  }

  .profile-card {
    margin: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .site-header {
    padding: 20px 56px;
  }

  .section {
    padding: 104px 28px;
  }

  .hero {
    padding-inline: 28px;
  }

  .service-card {
    padding: 40px;
  }
}
