:root {
  --hn-orange: #ff9800;
  --hn-warm: #e8913a;
  --hn-cream: #fff8f0;
  --hn-ink: #6b5344;
  --text: #2d3748;
  --muted: #718096;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, #fff8f0 0%, #fff 40%, #fff5e6 100%);
  line-height: 1.7;
}

.lp {
  max-width: 920px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  overflow-x: hidden;
}

.hero .eyebrow {
  color: var(--hn-orange);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

/* ヒーロー見出し — ほっこり・ワードアート風（P-Note / HN トーン） */
.hero-title {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0.25rem 0 1.1rem;
  padding: 0.15rem 0 0.5rem;
  position: relative;
  text-wrap: balance;
}

.hero-title__soft {
  color: var(--hn-ink);
  font-weight: 500;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 12px rgba(232, 145, 58, 0.12);
}

.hero-title__life {
  font-weight: 900;
  background: linear-gradient(135deg, #8b6914 0%, #c47b2a 45%, #e8913a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85));
}

.hero-title__art,
.hero-title__work {
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(
    120deg,
    #d35400 0%,
    var(--hn-orange) 35%,
    #ffb347 70%,
    #e67e22 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(255, 152, 0, 0.25));
}

.hero-title__ni {
  font-weight: 700;
  color: #a0632a;
  margin-left: 0.05em;
}

/* 見出し下のやわらかい筆触風ライン */
.hero-title::after {
  content: "";
  display: block;
  width: min(22em, 100%);
  height: 0.35rem;
  margin: 0.4rem 0 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 152, 0, 0.35) 15%,
    rgba(255, 179, 71, 0.55) 50%,
    rgba(255, 152, 0, 0.25) 85%,
    transparent 100%
  );
}

.hero {
  position: relative;
}

.hero__main {
  position: relative;
  min-width: 0;
}

.hero__main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.5rem;
  width: min(420px, 95%);
  height: 8rem;
  background: radial-gradient(
    ellipse 80% 70% at 30% 40%,
    rgba(255, 179, 71, 0.14) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.hero__luna {
  display: block;
}

.hero__luna-img-wrap {
  max-width: 220px;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
  border-radius: 6px;
}

.hero__luna img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  /* 上・右の細い黒枠だけ非表示（画像は元のまま） */
  clip-path: inset(5px 6px 0 0);
  filter: drop-shadow(0 8px 20px rgba(255, 152, 0, 0.12));
}

.hero__luna-title {
  margin: 0.5rem 0 0;
  padding: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  color: #a0632a;
}

.hero__luna-title-line {
  display: block;
  white-space: nowrap;
}

/* モバイル: 右上に小さく（eyebrow／見出しの横） */
@media (max-width: 767px) {
  .hero__main {
    padding-right: 5.25rem;
  }

  .hero__main::before {
    width: 72%;
  }

  .hero__luna {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    margin: 0;
    max-width: 5rem;
    width: 5rem;
  }

  .hero__luna-img-wrap {
    max-width: 4.25rem;
    margin: 0 0 0 auto;
  }

  .hero__luna img {
    filter: drop-shadow(0 4px 12px rgba(255, 152, 0, 0.1));
    clip-path: inset(4px 5px 0 0);
  }

  .hero__luna-title {
    margin-top: 0.15rem;
    font-size: 0.58rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }

  .hero__luna-title-line {
    white-space: normal;
  }
}

@media (min-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr min(200px, 28%);
    gap: 0.5rem 1.75rem;
    align-items: start;
  }

  .hero__main {
    display: block;
    grid-column: 1;
  }

  .hero__main::before {
    display: block;
  }

  .hero__luna {
    grid-column: 2;
    grid-row: 1;
    margin: 0.25rem 0 0;
    max-width: none;
    width: auto;
    align-self: start;
    justify-self: end;
  }

  .hero__luna-img-wrap {
    max-width: 220px;
  }

  .hero__luna-title {
    font-size: 0.84rem;
  }

  .hero__luna-title-line {
    white-space: nowrap;
  }
}

.lead {
  font-size: 1.05rem;
  color: #4a5568;
  margin: 0 0 1rem;
}

.record-types {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.85;
}

.record-types li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0e6d8;
}

.record-types li:last-child {
  border-bottom: none;
}

.record-types strong {
  color: var(--hn-orange);
  display: inline-block;
  min-width: 7.5em;
}

.record-types-hn .record-link {
  margin-left: 0.15em;
}

.record-link {
  color: var(--hn-orange);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin: 2.5rem 0;
  max-width: 100%;
  overflow: hidden;
}

.mosaic-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.mosaic-variant__title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--hn-orange);
  font-weight: 800;
}

.mosaic-variant__meta {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.mosaic-gallery-note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* モザイク・凡例画像（制作実例・サンプル共通） */
.figure-mosaic,
.figure-legend,
.sample figure {
  margin: 1.25rem 0 0;
  max-width: 100%;
}

.figure-viewport {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  background: #faf8f5;
  border: 1px solid #f0e6d8;
  line-height: 0;
}

.figure-viewport img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
}

.figure-legend img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #f0e6d8;
}

.figure-mosaic figcaption,
.figure-legend figcaption,
.sample figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.5;
}

h2 {
  font-size: 1.35rem;
  color: var(--hn-orange);
  margin: 0 0 1rem;
}

.campaign-lead {
  background: #fff8f0;
  border: 1px solid #ffe0b2;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
  font-size: 1rem;
}

.price-badge {
  display: inline-block;
  background: var(--hn-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin: 0 0 0.5rem;
}

.price-save {
  font-size: 0.85rem;
  color: var(--hn-orange);
  font-weight: 700;
  margin: 0 0 1rem;
}

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

.cards .card {
  margin: 0;
  border: 1px solid #ffe0b2;
  box-shadow: none;
}

.cards .card.featured {
  border-color: var(--hn-orange);
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.15);
}

.cards h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

@media (max-width: 767px) {
  .cards h3 {
    font-size: 1rem;
  }
}

.desc {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 2.8em;
  margin: 0;
}

.price-old {
  text-decoration: line-through;
  color: #a0aec0;
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
}

.price-now {
  margin: 0.25rem 0 1rem;
}

.price-now span,
.price-consult {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hn-orange);
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

.flow ol,
.privacy ul {
  padding-left: 1.25rem;
}

.flow-lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
}

.flow-role {
  display: inline-block;
  font-weight: 700;
  color: var(--hn-orange);
  margin-right: 0.35rem;
}

.flow-steps > li + li {
  margin-top: 1.1rem;
}

.flow-types {
  margin: 0.65rem 0 0;
  padding-left: 1.35rem;
  list-style: disc;
}

.flow-types li {
  margin-top: 0.25rem;
}

section {
  margin-bottom: 2rem;
}

.card-soft {
  background: #fffaf3;
  border-radius: 12px;
  padding: 1.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  background: var(--hn-orange);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: #fff;
  color: var(--hn-orange);
  border: 2px solid var(--hn-orange);
}

.btn-large {
  min-width: 260px;
}

.footer {
  text-align: center;
  margin-top: 2rem;
}

.footer a {
  color: var(--hn-orange);
}

.footer-sitemap {
  margin: 0.6rem auto 0;
  max-width: 720px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 248, 240, 0.7);
  border: 1px solid rgba(255, 224, 178, 0.8);
}

.footer-sitemap__title {
  display: inline-block;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.footer-sitemap__list {
  list-style: none;
  padding: 0;
  margin: 0.55rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

.footer-sitemap__list a {
  text-decoration: none;
  font-weight: 700;
}

.footer-sitemap__list a:hover {
  text-decoration: underline;
}

.future {
  font-size: 0.85rem;
  color: #a0aec0;
}

.case-study h2 {
  margin-top: 0;
}

.case-read {
  padding-left: 1.25rem;
  line-height: 1.85;
  margin: 1rem 0 1.5rem;
}

.case-voice {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ffe0b2;
}

.case-voice h3 {
  font-size: 1.1rem;
  color: var(--hn-orange);
  margin: 0 0 0.75rem;
}

.case-voice p {
  margin: 0 0 1rem;
  line-height: 1.75;
}

.case-note {
  font-size: 0.95rem;
  color: #4a5568;
}

.hn-guide .hn-sub {
  font-size: 1.1rem;
  color: var(--hn-orange);
  margin: 1.5rem 0 0.75rem;
}

.hn-guide .hn-sub:first-of-type {
  margin-top: 0;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.download-links .btn {
  flex: 1 1 10.5rem;
  min-width: min(100%, 10.5rem);
  font-size: 0.85rem;
  padding: 0.75rem 0.85rem;
  text-align: center;
  line-height: 1.35;
}

.hn-note {
  font-size: 0.9rem;
  color: #718096;
}

.hn-note a {
  color: var(--hn-orange);
}

.steps-beginner {
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

.steps-beginner li {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  padding-left: 0;
}

.step-fig {
  margin: 0.75rem 0 0;
  max-width: 320px;
}

.step-fig img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e8e0d5;
}

.step-fig figcaption {
  font-size: 0.85rem;
  color: #718096;
  margin-top: 0.35rem;
}

.hn-tip {
  background: #fffaf3;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.back-nav {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.back-nav a {
  color: var(--hn-orange);
  font-weight: 700;
  text-decoration: none;
}

.back-nav a:hover {
  text-decoration: underline;
}

.lang-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
}

.lang-nav a {
  color: var(--hn-orange);
  font-weight: 700;
  text-decoration: none;
}

.lang-nav a:hover {
  text-decoration: underline;
}

.lang-nav__current {
  color: var(--muted);
  font-weight: 700;
}

/* サブページ見出し — トップと同系（Zen Maru・オレンジ強調） */
.hero-title__brand {
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(
    120deg,
    #d35400 0%,
    var(--hn-orange) 35%,
    #ffb347 70%,
    #e67e22 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(255, 152, 0, 0.25));
}

.hero-sub .hero-title {
  font-size: clamp(1.55rem, 4vw, 2.1rem);
}

.hn-teaser h2 {
  margin-top: 0;
}

.teaser-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.flow a {
  color: var(--hn-orange);
  font-weight: 700;
  word-break: break-all;
}

.hn-guide h2 {
  margin-top: 0;
}

/* Q&A — アコーディオン（オレンジ見出し・白回答） */
.faq-page-title {
  text-align: center;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.faq-lead {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
  color: #4a5568;
}

.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--hn-orange);
  margin-bottom: 0.65rem;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.faq-item[open] {
  box-shadow: 0 4px 14px rgba(255, 152, 0, 0.12);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: var(--hn-orange);
  color: #fff;
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

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

.faq-q::marker {
  content: "";
}

.faq-q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  margin-top: 0.1rem;
}

.faq-item[open] > .faq-q::after {
  content: "−";
}

.faq-a {
  padding: 1rem 1.15rem 1.15rem;
  line-height: 1.8;
  color: var(--ink);
  border-top: 1px solid rgba(255, 152, 0, 0.25);
}

.faq-a p {
  margin: 0;
}

.faq-a p + p {
  margin-top: 0.75rem;
}

.faq-a a {
  color: var(--hn-orange);
  font-weight: 700;
}

.faq-a strong {
  color: var(--ink);
}
