* {
  box-sizing: border-box;
}

:root {
  --ink: #252321;
  --soft-ink: #514B46;
  --muted: #766E66;
  --cream: #FBF5EC;
  --ivory: #FFFDF8;
  --beige: #F2E8DA;
  --line: #E5D7C6;
  --coral: #D95F4D;
  --coral-deep: #C24F42;
  --pink: #D86D8F;
  --rose: #B98278;
  --orange: #D98245;
  --mustard: #D0A84F;
  --lime: #A7B65A;
  --sage: #718D76;
  --mint: #80BCA8;
  --teal: #0F8B91;
  --sky: #8FB8D6;
  --blue: #466F8D;
  --navy: #263A56;
  --lavender: #A49BC3;
  --mauve: #986F8F;
  --mocha: #7E6654;
  --charcoal: #262321;
  --white: #FFFFFF;
  --black: #1D1C1A;
  --shadow: 0 24px 60px rgba(82, 70, 58, .12);
  --max: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  letter-spacing: .018em;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 15px clamp(20px, 4vw, 62px);
  background: rgba(251, 245, 236, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 215, 198, .86);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  margin-right: auto;
  flex-shrink: 0;
}

.brand-main {
  font-size: 30px;
  letter-spacing: .09em;
  font-weight: 760;
}

.brand-sub {
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .12em;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: .09em;
  white-space: nowrap;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--black);
  color: var(--white);
  flex-shrink: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  padding: clamp(92px, 12vw, 160px) clamp(22px, 7vw, 120px) clamp(96px, 13vw, 170px);
  background:
    radial-gradient(circle at 78% 22%, rgba(70,111,141,.10), transparent 30%),
    linear-gradient(135deg, var(--cream) 0%, #fffaf1 58%, #f3e8da 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -11vw;
  width: 58vw;
  height: 34vw;
  min-width: 620px;
  min-height: 340px;
  background: linear-gradient(135deg, var(--coral), #ca5546);
  transform: rotate(-13deg);
  transform-origin: center;
  z-index: 1;
  box-shadow: 0 -20px 55px rgba(194,79,66,.16);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--coral-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: lowercase;
  font-style: italic;
}

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

h1 {
  margin-bottom: 26px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: .015em;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.55;
}

.hero-sub {
  margin-bottom: 26px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  color: var(--coral-deep);
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.65;
}

.hero-text {
  max-width: 650px;
  color: var(--soft-ink);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .18s ease, opacity .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  opacity: .9;
}

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

.button-invert {
  background: var(--white);
  color: var(--black);
}

.microcopy {
  color: var(--muted);
  font-size: 13px;
}

.hero-art {
  position: absolute;
  z-index: 2;
  right: clamp(26px, 5vw, 92px);
  top: clamp(68px, 8vw, 122px);
  width: min(47vw, 650px);
}

.hero-art img {
  width: 100%;
  filter: drop-shadow(0 22px 32px rgba(80,68,55,.12));
}

.floating-pieces {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.piece {
  position: absolute;
  display: block;
  border-radius: 6px;
  box-shadow: 0 18px 35px rgba(82,70,58,.14);
}

.p1 { width: 150px; height: 105px; background:#fff7e8; left: 42%; top: 4%; transform: rotate(36deg); }
.p2 { width: 122px; height: 72px; background:#d0a84f; left: 50%; top: 8%; transform: rotate(-24deg); }
.p3 { width: 104px; height: 72px; background:#718d76; right: 22%; top: 13%; transform: rotate(14deg); }
.p4 { width: 92px; height: 78px; background:#466f8d; right: 13%; top: 18%; transform: rotate(22deg); }
.p5 { width: 118px; height: 78px; background:#b98278; right: 5%; top: 28%; transform: rotate(-16deg); }
.p6 { width: 92px; height: 68px; background:#d95f4d; left: 57%; top: 42%; transform: rotate(-18deg); }
.p7 { width: 85px; height: 62px; background:#0f8b91; left: 53%; top: 61%; transform: rotate(25deg); }
.p8 { width: 74px; height: 55px; background:#a7b65a; left: 47%; top: 72%; transform: rotate(-20deg); }

.color-strip {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  padding: 42px clamp(22px, 7vw, 120px);
  background: var(--ivory);
}

.color-strip-copy p {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 22px;
  line-height: 1.65;
}

.color-dots {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 8px;
  align-items: center;
}

.color-dots span {
  display: block;
  aspect-ratio: 1/1;
  border-radius: 8px;
}

.d01 { background:#efe3d0; } .d02 { background:#d6c4a8; } .d03 { background:#edb0a1; }
.d04 { background:#e68472; } .d05 { background:#d95f4d; } .d06 { background:#d98245; }
.d07 { background:#d0a84f; } .d08 { background:#c4c95d; } .d09 { background:#a7b65a; }
.d10 { background:#718d76; } .d11 { background:#80bca8; } .d12 { background:#0f8b91; }
.d13 { background:#8fb8d6; } .d14 { background:#466f8d; } .d15 { background:#263a56; }
.d16 { background:#a49bc3; } .d17 { background:#986f8f; } .d18 { background:#b98278; }
.d19 { background:#7e6654; } .d20 { background:#262321; }

.section {
  padding: clamp(76px, 8vw, 116px) clamp(22px, 5vw, 72px);
}

.section > * {
  max-width: var(--max);
}

.concept-section {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(32px, 6vw, 76px);
  max-width: 1160px;
  margin: 0 auto;
  background: var(--ivory);
}

.concept-body {
  color: var(--soft-ink);
  font-size: 17px;
}

.recommend-section {
  background: var(--beige);
}

.glass-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 34px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 20px 60px rgba(82,70,58,.08);
}

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

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

.recommend-grid article {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 20px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: var(--soft-ink);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.service-section {
  background: var(--cream);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 26px;
}

.card-kicker,
.plan-no,
.flow-list span {
  margin-bottom: 10px;
  color: var(--coral-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: .12em;
}

.service-card:nth-child(1) h3 { color: var(--coral-deep); }
.service-card:nth-child(2) h3 { color: var(--sage); }
.service-card:nth-child(3) h3 { color: var(--blue); }
.service-card:nth-child(4) h3 { color: var(--mocha); }

.service-card p:last-child {
  color: var(--soft-ink);
  margin-bottom: 0;
}

.plan-section {
  background: #F7F1E8;
}

.section-lead {
  max-width: 780px;
  margin: 10px auto 0;
  color: var(--soft-ink);
  font-size: 15px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-card {
  padding: 30px 24px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(82,70,58,.06);
}

.plan-card.featured {
  background: linear-gradient(140deg, #4a3a52, #263a56);
  color: var(--white);
}

.plan-card.featured h3,
.plan-card.featured .price,
.plan-card.featured .plan-no {
  color: var(--white);
}

.price {
  margin: 20px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 33px;
  line-height: 1.22;
}

.price span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
}

.featured .price span,
.featured li {
  color: rgba(255,255,255,.82);
}

.plan-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--soft-ink);
  font-size: 14px;
}

.plan-note {
  max-width: 1180px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.flow-section {
  background: var(--ivory);
}

.flow-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.flow-list article {
  display: grid;
  grid-template-columns: 80px 250px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.flow-list h3,
.flow-list p {
  margin-bottom: 0;
}

.flow-list p {
  color: var(--soft-ink);
}

.policy-section,
.payment-section {
  background: var(--beige);
}

.payment-section {
  background: #F7F1E8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.soft-box {
  padding: 32px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(229,215,198,.95);
}

.soft-box p {
  margin-bottom: 0;
  color: var(--soft-ink);
}

.faq-section {
  background: var(--cream);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-weight: 650;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--coral-deep);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: -4px 0 24px;
  color: var(--soft-ink);
}

.business-section {
  background: var(--cream);
}

.business-table {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.business-table div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.business-table dt {
  font-weight: 700;
}

.business-table dd {
  margin: 0;
  color: var(--soft-ink);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 10vw, 134px) 24px;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  left: 12%;
  top: -10%;
  width: 78%;
  height: 120%;
  background: linear-gradient(135deg, transparent 0 24%, var(--coral) 24% 74%, transparent 74% 100%);
  opacity: .92;
  transform: rotate(-3deg);
}

.final-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  color: rgba(255,255,255,.88);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(20px, 4vw, 56px);
  background: #171717;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.footer-logo {
  margin-bottom: 0;
  color: var(--white);
  font-size: 23px;
  letter-spacing: .12em;
}

.site-footer p {
  margin-bottom: 0;
}

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

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

@media (max-width: 1120px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-art {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 620px);
    margin: 48px auto 0;
  }

  .floating-pieces {
    opacity: .55;
  }

  .color-strip,
  .concept-section,
  .split {
    grid-template-columns: 1fr;
  }

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

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

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

  .flow-list article p {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 64px;
    padding: 12px 18px;
  }

  .brand-main {
    font-size: 22px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(37px, 10vw, 43px);
  }

  h1 span {
    white-space: nowrap;
  }

  h2 {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 21px;
  }

  .hero::after {
    width: 105vw;
    height: 50vw;
    min-width: 0;
    min-height: 180px;
    bottom: -8vw;
  }

  .color-strip {
    padding-left: 18px;
    padding-right: 18px;
    gap: 24px;
  }

  .color-dots {
    grid-template-columns: repeat(10, 1fr);
  }

  .service-grid,
  .plan-grid,
  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .flow-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .flow-list article p {
    grid-column: auto;
  }

  .business-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* v10 fixes: hero overlap prevention and compact plan cards */
.hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(38px, 5vw, 78px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.hero-text {
  max-width: 610px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(251, 245, 236, .80);
  backdrop-filter: blur(6px);
}

.hero-art {
  position: relative;
  right: auto;
  top: auto;
  width: 100%;
  max-width: 650px;
  justify-self: end;
}

.floating-pieces {
  opacity: .72;
}

.p1 { left: 35%; top: 4%; }
.p2 { left: 43%; top: 8%; }
.p3 { right: 22%; top: 12%; }
.p4 { right: 12%; top: 18%; }
.p5 { right: 4%; top: 28%; }
.p6 { left: 52%; top: 44%; }
.p7 { left: 48%; top: 63%; }
.p8 { left: 39%; top: 74%; }

.plan-card {
  padding: 26px 20px;
}

.plan-card h3 {
  min-height: auto;
  white-space: nowrap;
  font-size: clamp(16px, 1.28vw, 20px);
  letter-spacing: 0;
}

.plan-card .price {
  font-size: clamp(25px, 2.25vw, 32px);
}

.plan-card .price span {
  display: inline-block;
  font-size: 11px;
}

.plan-short {
  min-height: 76px;
  margin-bottom: 16px;
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.75;
}

.plan-card ul {
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 1120px) {
  .hero {
    display: block;
  }

  .hero-text {
    max-width: 650px;
  }

  .hero-art {
    margin-top: 44px;
    max-width: 620px;
    justify-self: auto;
  }

  .floating-pieces {
    opacity: .32;
  }

  .plan-card h3 {
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .hero-text {
    padding: 16px 16px;
  }

  .plan-short {
    min-height: auto;
  }
}


/* v11 footer/CTA tone down */
.final-cta {
  background:
    linear-gradient(135deg, #FBF5EC 0%, #F2E8DA 48%, #E7D8C8 100%);
  color: var(--ink);
}

.final-cta::before {
  background: linear-gradient(135deg, transparent 0 23%, rgba(217, 95, 77, .84) 23% 73%, transparent 73% 100%);
  opacity: .78;
}

.final-cta h2 {
  color: var(--ink);
}

.final-cta p {
  color: var(--soft-ink);
}

.final-cta .eyebrow {
  color: var(--coral-deep);
}

.button-invert {
  background: var(--black);
  color: var(--white);
}

.site-footer {
  background: #F3E8DA;
  color: var(--soft-ink);
  border-top: 1px solid var(--line);
}

.footer-logo {
  color: var(--ink);
}

.footer-links a {
  color: var(--soft-ink);
}


/* v12 natural Japanese line breaks */
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

.keep {
  display: inline-block;
  white-space: nowrap;
}

.hero-sub,
.hero-text,
.concept-body p,
.final-cta p,
.plan-short,
.service-card p {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.hero-text {
  line-height: 2;
}

.hero-sub {
  line-height: 1.72;
}

.plan-card h3,
.service-card h3 {
  display: flex;
  flex-wrap: wrap;
  column-gap: .15em;
  row-gap: 0;
  align-items: baseline;
  line-height: 1.48;
}

.plan-card h3 {
  min-height: 2.9em;
}

.service-card h3 {
  min-height: auto;
}

.final-cta h2 {
  line-height: 1.55;
}

@media (max-width: 700px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  .hero-sub,
  .hero-text,
  .concept-body p,
  .final-cta p,
  .plan-short,
  .service-card p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-text {
    line-height: 1.9;
  }

  .plan-card h3 {
    min-height: auto;
  }
}


/* v13: full natural line system + hamburger menu */
.line {
  display: block;
}

.keep-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-sub,
.hero-text,
.concept-body p,
.color-strip-copy p,
.recommend-grid article,
.service-card p,
.plan-short,
.plan-note,
.flow-list p,
.policy-section p,
.payment-section p,
.final-cta p,
.soft-box p,
.faq-list p {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}

.mobile-nav {
  position: fixed;
  inset: 64px 14px auto 14px;
  z-index: 29;
  display: none;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 253, 248, .96);
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(82,70,58,.16);
  backdrop-filter: blur(14px);
}

.mobile-nav nav {
  display: grid;
  gap: 6px;
}

.mobile-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: .08em;
}

.mobile-nav a:hover {
  background: rgba(242, 232, 218, .72);
}

.mobile-nav .mobile-cta {
  margin-top: 8px;
  text-align: center;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-nav {
  display: block;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.plan-card h3,
.service-card h3 {
  display: flex;
  flex-wrap: wrap;
  column-gap: .12em;
  row-gap: 0;
  align-items: baseline;
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }
}

@media (max-width: 700px) {
  .line {
    display: block;
  }

  .hero-sub .line,
  .hero-text .line,
  .concept-body .line,
  .final-cta .line,
  .plan-note .line {
    display: inline;
  }

  .hero-sub .line::after,
  .hero-text .line::after,
  .concept-body .line::after,
  .final-cta .line::after,
  .plan-note .line::after {
    content: "";
    display: block;
  }

  .mobile-nav {
    inset: 64px 12px auto 12px;
  }

  .recommend-grid article .line {
    display: block;
  }
}


/* v14: orphan break fixes + colorful plan cards */
.concept-catch,
.payment-title {
  word-break: keep-all;
  overflow-wrap: normal;
}

.concept-catch .line,
.payment-title .line {
  display: block;
  white-space: nowrap;
}

.plan-short .line {
  display: block;
  white-space: nowrap;
}

.plan-card {
  border: 0;
  overflow: hidden;
}

.plan-card:nth-child(1) {
  background: linear-gradient(180deg, #fffdf8 0%, #fff8f4 100%);
  border-top: 8px solid var(--coral);
}

.plan-card:nth-child(2) {
  background: linear-gradient(180deg, #fffdf8 0%, #f4f8f2 100%);
  border-top: 8px solid var(--sage);
}

.plan-card:nth-child(3) {
  background: linear-gradient(180deg, #fffdf8 0%, #f1f7fa 100%);
  border-top: 8px solid var(--blue);
}

.plan-card:nth-child(4),
.plan-card.featured {
  background: linear-gradient(180deg, #fffdf8 0%, #fbf3e6 100%);
  color: var(--ink);
  border-top: 8px solid var(--mustard);
}

.plan-card:nth-child(1) .plan-no,
.plan-card:nth-child(1) h3,
.plan-card:nth-child(1) .price {
  color: var(--coral-deep);
}

.plan-card:nth-child(2) .plan-no,
.plan-card:nth-child(2) h3,
.plan-card:nth-child(2) .price {
  color: var(--sage);
}

.plan-card:nth-child(3) .plan-no,
.plan-card:nth-child(3) h3,
.plan-card:nth-child(3) .price {
  color: var(--blue);
}

.plan-card:nth-child(4) .plan-no,
.plan-card:nth-child(4) h3,
.plan-card:nth-child(4) .price,
.plan-card.featured h3,
.plan-card.featured .price,
.plan-card.featured .plan-no {
  color: #A0782A;
}

.plan-card.featured li,
.plan-card.featured .price span {
  color: var(--soft-ink);
}

.plan-card .price span {
  color: var(--muted);
}

.plan-card ul {
  color: var(--soft-ink);
}

.plan-card h3 {
  min-height: auto;
}

.plan-short {
  min-height: 5.2em;
}

@media (max-width: 1180px) {
  .plan-short .line {
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .concept-catch .line,
  .payment-title .line {
    white-space: normal;
  }

  .plan-short {
    min-height: auto;
  }
}


/* v15 hard overrides: confirmed fixes */
.concept-catch {
  max-width: 100%;
  font-size: clamp(28px, 3.35vw, 42px) !important;
  line-height: 1.5 !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.concept-catch .line {
  display: block !important;
  white-space: nowrap !important;
}

.plan-short {
  min-height: 6.2em !important;
  font-size: 12.5px !important;
  line-height: 1.85 !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.plan-short .line {
  display: block !important;
  white-space: nowrap !important;
}

.plan-grid {
  align-items: stretch !important;
}

.plan-card {
  border: 1px solid rgba(229, 215, 198, .95) !important;
  box-shadow: 0 16px 38px rgba(82,70,58,.08) !important;
  color: var(--ink) !important;
}

.plan-card.featured,
.plan-card.plan-mustard {
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e5 100%) !important;
  color: var(--ink) !important;
}

.plan-card.plan-coral {
  background: linear-gradient(180deg, #fffdf8 0%, #fff3ef 100%) !important;
  border-top: 10px solid var(--coral) !important;
}

.plan-card.plan-sage {
  background: linear-gradient(180deg, #fffdf8 0%, #f2f7ee 100%) !important;
  border-top: 10px solid var(--sage) !important;
}

.plan-card.plan-blue {
  background: linear-gradient(180deg, #fffdf8 0%, #eef6fa 100%) !important;
  border-top: 10px solid var(--blue) !important;
}

.plan-card.plan-mustard {
  border-top: 10px solid var(--mustard) !important;
}

.plan-card.plan-coral .plan-no,
.plan-card.plan-coral h3,
.plan-card.plan-coral .price {
  color: var(--coral-deep) !important;
}

.plan-card.plan-sage .plan-no,
.plan-card.plan-sage h3,
.plan-card.plan-sage .price {
  color: var(--sage) !important;
}

.plan-card.plan-blue .plan-no,
.plan-card.plan-blue h3,
.plan-card.plan-blue .price {
  color: var(--blue) !important;
}

.plan-card.plan-mustard .plan-no,
.plan-card.plan-mustard h3,
.plan-card.plan-mustard .price,
.plan-card.featured h3,
.plan-card.featured .price,
.plan-card.featured .plan-no {
  color: #A0782A !important;
}

.plan-card.featured li,
.plan-card.featured .price span,
.plan-card.featured .plan-short {
  color: var(--soft-ink) !important;
}

.plan-card .price {
  font-size: clamp(25px, 2.2vw, 31px) !important;
}

.plan-card .price span {
  color: var(--muted) !important;
}

.plan-card ul {
  color: var(--soft-ink) !important;
}

@media (max-width: 700px) {
  .concept-catch .line,
  .plan-short .line {
    white-space: normal !important;
  }
  .plan-short {
    min-height: auto !important;
  }
}


/* v16: hero text card removed */
.hero-text {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}


/* v17: service visual alignment */
.service-card img {
  object-position: center center !important;
  background: #fffdf8;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card > img {
  flex: 0 0 auto;
}


/* v19: force remove hero text translucent card and refresh service visuals */
.hero-copy,
.hero-text,
.hero-copy .hero-text,
section.hero .hero-text {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

section.hero .hero-text {
  padding: 0 !important;
  border-radius: 0 !important;
  max-width: 650px !important;
}

.service-card img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #fffdf8 !important;
  padding: 0 !important;
}


/* v21: service illustration centering only */
.service-card img {
  object-position: center center !important;
}


/* v23: legal/privacy pages */
.legal-main {
  background: var(--cream);
}

.legal-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) clamp(22px, 5vw, 72px) 36px;
}

.legal-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 64px);
}

.legal-hero p {
  color: var(--soft-ink);
}

.legal-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 72px) clamp(76px, 9vw, 120px);
}

.legal-section h2 {
  margin: 48px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: .03em;
}

.legal-section p,
.legal-section li,
.legal-table dd {
  color: var(--soft-ink);
}

.legal-section ul {
  margin: 0;
  padding-left: 1.25em;
}

.legal-table {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.legal-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.legal-table dt {
  font-weight: 750;
  color: var(--ink);
}

.legal-table dd {
  margin: 0;
}

.legal-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 253, 248, .74);
  border: 1px solid var(--line);
}

.legal-updated {
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 700px) {
  .legal-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* v25: legal/privacy natural Japanese line system */
.legal-main .line {
  display: block;
}

.legal-main h1,
.legal-main h2,
.legal-main p,
.legal-main li,
.legal-main dd {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.legal-section p,
.legal-section li,
.legal-table dd {
  line-height: 2;
}

.legal-table dd .line,
.legal-section li .line,
.legal-section p .line {
  display: block;
}

.legal-note {
  display: none !important;
}

@media (max-width: 700px) {
  .legal-main .line {
    display: inline;
  }

  .legal-main .line::after {
    content: "";
    display: block;
  }
}


/* v26: area note */
.area-note {
  margin: clamp(28px, 5vw, 48px) auto 0;
  padding: clamp(24px, 4vw, 36px);
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, .78);
}

.area-note__label {
  margin: 0 0 14px;
  font-weight: 750;
  letter-spacing: .04em;
  color: var(--ink);
}

.area-note p {
  margin: 14px 0 0;
  color: var(--soft-ink);
  line-height: 2;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 22px 0;
}

.area-list div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(247, 241, 232, .72);
}

.area-list dt {
  font-weight: 750;
  color: var(--ink);
}

.area-list dd {
  margin: 0;
  color: var(--soft-ink);
}

.faq-list .line,
.area-note .line {
  display: block;
}

@media (max-width: 700px) {
  .area-list {
    grid-template-columns: 1fr;
  }

  .area-note .line,
  .faq-list .line {
    display: inline;
  }

  .area-note .line::after,
  .faq-list .line::after {
    content: "";
    display: block;
  }
}


/* v28: shooting consent note */
.plan-footnote {
  margin: 18px auto 0;
  max-width: 880px;
  text-align: center;
  color: var(--soft-ink);
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.plan-footnote .line {
  display: block;
}

@media (max-width: 700px) {
  .plan-footnote .line {
    display: inline;
  }

  .plan-footnote .line::after {
    content: "";
    display: block;
  }
}


/* v29: FAQ natural line safety */
.faq-list p,
.faq-list summary {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.faq-list .line {
  display: block;
}

@media (max-width: 700px) {
  .faq-list .line {
    display: inline;
  }

  .faq-list .line::after {
    content: "";
    display: block;
  }
}


/* v30: hide any obsolete shooting note if cached markup remains */
.plan-footnote {
  display: none !important;
}


/* v31: finalized area policy */
.area-note .line,
.faq-list .line,
.legal-main .line {
  display: block;
}

.area-note p,
.faq-list p,
.legal-main p,
.legal-main dd {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

@media (max-width: 700px) {
  .area-note .line,
  .faq-list .line,
  .legal-main .line {
    display: inline;
  }

  .area-note .line::after,
  .faq-list .line::after,
  .legal-main .line::after {
    content: "";
    display: block;
  }
}


/* v33: obsolete plan notes must not appear */
.plan-note,
.plan-footnote {
  display: none !important;
}


/* v34: cancellation policy */
.cancel-note {
  margin: clamp(22px, 4vw, 34px) auto 0;
  padding: clamp(24px, 4vw, 36px);
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, .78);
}

.cancel-note__label {
  margin: 0 0 14px;
  font-weight: 750;
  letter-spacing: .04em;
  color: var(--ink);
}

.cancel-note p {
  margin: 14px 0 0;
  color: var(--soft-ink);
  line-height: 2;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.cancel-note .line {
  display: block;
}

@media (max-width: 700px) {
  .cancel-note .line {
    display: inline;
  }

  .cancel-note .line::after {
    content: "";
    display: block;
  }
}


/* v35: top cleanup and plan card readability */
.cancel-note,
.plan-note,
.plan-footnote {
  display: none !important;
}

.plan-card .plan-lead {
  word-break: normal !important;
  overflow-wrap: normal !important;
  line-break: strict;
  text-wrap: pretty;
}

.plan-card .plan-lead .line {
  display: inline !important;
}

@media (min-width: 1000px) {
  .plan-card .plan-lead {
    font-size: 13.5px;
    line-height: 1.9;
  }
}


/* v37: plan card natural line breaks and cleanup */
.plan-card .plan-lead {
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-break: strict !important;
  text-wrap: balance;
}

.plan-card .plan-lead .line {
  display: block !important;
}

.plan-card li {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

@media (max-width: 700px) {
  .plan-card .plan-lead .line {
    display: inline !important;
  }

  .plan-card .plan-lead .line::after {
    content: "";
    display: block;
  }
}


/* v38: hard clean obsolete sections and plan card breaks */
.cancel-note,
.plan-note,
.plan-footnote {
  display: none !important;
}

.plan-card .plan-lead {
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-break: strict !important;
  text-wrap: auto !important;
  max-width: 100%;
}

.plan-card .plan-lead .line {
  display: block !important;
}

.plan-card li {
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: strict !important;
}

@media (min-width: 900px) {
  .plan-card .plan-lead {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }
}

@media (max-width: 700px) {
  .plan-card .plan-lead .line {
    display: inline !important;
  }
  .plan-card .plan-lead .line::after {
    content: "";
    display: block;
  }
}


/* v39: legal heading natural breaks */
.legal-table dt {
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.legal-table dt .line {
  display: block;
}

@media (min-width: 701px) {
  .legal-table div {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 700px) {
  .legal-table dt .line {
    display: inline;
  }

  .legal-table dt .line::after {
    content: "";
    display: block;
  }
}


/* v40: hard fix legal dt wrapping */
.legal-table dt {
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-break: strict !important;
}

@media (min-width: 701px) {
  .legal-table div {
    grid-template-columns: 280px 1fr !important;
  }
}
