/* -----------------------------
  nplus / Soft Pink Beige Theme
------------------------------ */

:root {
  --bg: #fbf8f6;
  --surface: #ffffff;
  --surface-2: #fff6f2;
  --text: #1f1a17;
  --muted: #6d5f58;
  --line: rgba(31, 26, 23, 0.12);

  /* accent: くすみピンクベージュ寄り */
  --accent: #caa39a;
  --accent-2: #b98980;

  --shadow: 0 14px 30px rgba(31, 26, 23, 0.10);
  --radius: 18px;

  --container: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", ui-sans-serif, system-ui,
    -apple-system, "Segoe UI", Roboto,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", Arial, sans-serif;
  line-height: 1.7;
}

p {
  line-height: 1.8;
}

li {
  line-height: 1.7;
}

h1 {
  line-height: 1.3;
}

h2, h3 {
  line-height: 1.4;
}

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

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.skip-link:focus {
  left: 14px;
  z-index: 9999;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 246, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 20px rgba(202, 163, 154, 0.35);
  font-weight: 800;
}

.brand-logo {
  height: 30px;   /* ← ここでサイズ調整 */
  width: auto;
  display: block;
}

.brand-name {
  font-size: 18px;
}

.brand-kana {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
}

.nav a:hover {
  background: rgba(202, 163, 154, 0.12);
  color: var(--text);
}

.nav-cta {
  border: 1px solid rgba(202, 163, 154, 0.55);
  background: rgba(202, 163, 154, 0.10);
  color: var(--text) !important;
}

/* Hero */
.hero {
  padding: 52px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.kicker {
  display: inline-block;
  color: var(--muted);
  background: rgba(202, 163, 154, 0.12);
  border: 1px solid rgba(202, 163, 154, 0.25);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.2;
  font-weight:600;
  letter-spacing: -0.2px;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.cta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 18px rgba(31, 26, 23, 0.06);
}

.btn.primary {
  border-color: rgba(202, 163, 154, 0.55);
  background: linear-gradient(135deg, rgba(202, 163, 154, 0.92), rgba(185, 137, 128, 0.92));
  color: #fff;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
}

a[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hero side card */
.hero-card .card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(202, 163, 154, 0.22);
  box-shadow: var(--shadow);
  padding: 22px;
}

/* Hero image */
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(202, 163, 154, 0.18);
  border: 1px solid rgba(202, 163, 154, 0.35);
  color: var(--text);
  font-weight: 800;
  margin-bottom: 10px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.card-text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(202, 163, 154, 0.28);
  background: rgba(202, 163, 154, 0.10);
  color: var(--muted);
  font-weight: 650;
}

/* Sections */
.section {
  padding: 54px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Section Head (EN + JA) */
.section-head {
  margin-bottom: 32px;
}

.section-en {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-2);
}

.section-ja {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
}

.service-blocks {
  display: flex;
  flex-direction: column;
  gap: 64px; /* ブロック間の余白 */
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-text {
  max-width: 520px;
}

.service-image {
  min-height: 260px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image img {
  width: 60%;
  height: auto;
  display: block;
}

.subhead {
  margin-top: 18px;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Panels */
.panel,
.case,
.post {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 10px 18px rgba(31, 26, 23, 0.04);
}

.panel h3,
.case h3,
.post h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.panel p,
.case p,
.post p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Callout */
.callout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 242, 0.9));
  border: 1px solid rgba(202, 163, 154, 0.22);
  padding: 18px;
}

.callout h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.list li {
  margin-bottom: 8px;
}

.list li:last-child {
  margin-bottom: 0;
}

.callout-side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 8px;
}

.callout-side p {
  font-size: 15px;
  line-height: 1.7;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 12px;
}

/* Cases */
.case-meta {
  font-size: 12px;
  color: var(--muted);
  background: rgba(202, 163, 154, 0.10);
  border: 1px solid rgba(202, 163, 154, 0.22);
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}

.tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 23, 0.10);
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
}

/* Posts */
.text-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
}

.text-link:hover {
  text-decoration: underline;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.dl {
  margin: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  padding: 18px;
}

.dl-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(31, 26, 23, 0.10);
}
.dl-row:last-child {
  border-bottom: none;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.7;
}

.about-card {
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(202, 163, 154, 0.16), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(202, 163, 154, 0.22);
  padding: 18px;
}

.about-card h3 {
  margin: 0 0 8px;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.contact-card {
  max-width: 640px;
  margin: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: 0 10px 18px rgba(31, 26, 23, 0.04);
}

.contact-card h3 {
  color: rgba(0,0,0,0.85);
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-card p.muted {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.45;
  font-size: 0.9rem;
}

.contact-card .btn {
  margin-top: 0.25rem;
}

.steps {
  margin: 10px 0 10px;
  padding-left: 18px;
  color: var(--muted);
}

.steps li {
  margin: 6px 0;
}

/* Footer */
.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--text);
}

.footer-logo {
  height: 30px;   /* ヘッダーより小さめが◎ */
  width: auto;
  display: block;
}



/* Footer links */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Privacy policy page */
.policy .policy-body {
  max-width: 820px;
}

.policy .policy-body h2 {
  margin-top: 28px;
}

.policy .policy-body ul {
  padding-left: 1.2em;
}

.policy .policy-body li {
  margin: 6px 0;
}

.policy-back {
  margin-top: 32px;
}

/* Responsive */
@media (max-width: 980px) {
    .service-block {
    grid-template-columns: 1fr;
  }

  .service-block.reverse {
    direction: ltr;
  }
  .hero-inner,
  .callout,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none; /* 必要ならハンバーガー化できる（あとで） */
  }
}