:root {
  --ink: #1f3336;
  --muted: #667477;
  --line: #e6eded;
  --soft: #f7faf9;
  --white: #ffffff;
  --teal: #155e63;
  --leaf: #a7bd73;
  --navy: #18383c;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.85;
  background: var(--white);
}

a {
  color: inherit;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(230, 237, 237, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  width: 200px;
  height: 56px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav__cta {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  background: transparent !important;
}

.menu-button {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 40px 0 72px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 980px);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.hero__logo {
  width: min(510px, 88vw);
  height: auto;
  display: block;
  margin: -24px auto -8px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
}

.hero__lead {
  max-width: 820px;
  margin-top: 18px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

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

.button--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero__visual {
  text-align: center;
}

.hero__visual img {
  width: min(100%, 430px);
  height: auto;
  display: inline-block;
  border-radius: 50%;
}

.hero__visual p {
  max-width: 360px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.section {
  padding: 104px 0;
}

.section[id] {
  scroll-margin-top: 96px;
}

.section--soft {
  background: linear-gradient(180deg, var(--soft), #ffffff);
}

.section__head h2,
.policy h1 {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 500;
}

.section__head p:not(.eyebrow),
.policy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.section__head--center {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.credential-panel,
.contact-form,
.service-card,
.work-card,
.price-table,
.policy__inner {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.credential-panel,
.contact-form,
.policy__inner {
  padding: clamp(24px, 4vw, 42px);
}

#profile .credential-panel {
  max-width: 860px;
  margin: 0 auto;
}

#contact .contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.credential-panel h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 500;
}

.credential-panel h3 + .learning-list {
  margin-top: 0;
}

.badge-grid,
.learning-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.badge-grid span,
.learning-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfdfc;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
}

.learning-list small {
  color: var(--leaf);
  font-size: 11px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 30px;
}

.service-card > span {
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--leaf);
}

.service-card h3,
.work-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 500;
}

.service-card p,
.work-card p,
.price-row p {
  color: var(--muted);
  font-size: 16px;
}

.notice,
.tax-note {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
}

.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  overflow: hidden;
}

.work-card__preview {
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 94, 99, 0.08), rgba(167, 189, 115, 0.16)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.78) 0 18px, rgba(255,255,255,0.36) 18px 36px);
}

.work-card__preview img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.work-card__preview span {
  padding: 8px 12px;
  border: 1px solid rgba(31, 51, 54, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.work-card > div:last-child {
  padding: 26px;
}

.work-card__label {
  margin-bottom: 4px;
  color: var(--teal) !important;
  font-size: 12px;
  font-weight: 600;
}

.work-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 600;
}

.price-table {
  overflow: hidden;
}

.price-row {
  display: grid;
  grid-template-columns: 220px 230px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfdfc;
}

.contact-form textarea {
  resize: vertical;
}

.policy__inner {
  max-width: 860px;
}

.policy h2 {
  margin-top: 34px;
  font-size: 22px;
  font-weight: 500;
}

.policy__date {
  margin-top: 40px !important;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #fbfdfc;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer__inner img {
  width: 78px;
  height: auto;
}

.footer__inner a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

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

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