:root {
  --blue: #0079ae;
  --ink: #202a31;
  --muted: #57646e;
  --line: #dce3e8;
  --pale: #f1f6f8;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
p, h1, figure { margin: 0; }
a { color: inherit; text-underline-offset: 5px; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-180%); padding: 8px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { width: min(1320px, calc(100% - 80px)); height: 84px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { position: relative; display: block; width: 140px; height: 44px; overflow: hidden; flex-shrink: 0; }
.brand img { position: absolute; max-width: none; width: 340px; height: 340px; left: -15.3px; top: -144px; }
.header-service { padding-left: 26px; border-left: 1px solid var(--line); font-size: 14px; color: var(--muted); }
nav { margin-left: auto; display: flex; align-items: center; gap: 36px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { color: var(--blue); }
.header-contact { display: inline-flex; align-items: center; gap: 17px; padding-block: 5px; border-bottom: 1px solid var(--ink); }
.hero { background: #fff; }
.hero-inner { width: min(1240px, calc(100% - 112px)); margin: auto; padding-block: 65px 63px; display: grid; grid-template-columns: 1.13fr 1fr; gap: 56px; align-items: center; }
.hero-copy { position: relative; min-width: 0; isolation: isolate; text-align: center; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -30px -20px -28px -36px; background: radial-gradient(ellipse at 48% 44%, #e5f3fb 0%, #f1f8fc 42%, rgba(241,248,252,0) 74%); border-radius: 44%; }
.service-label { display: inline-flex; align-items: center; justify-content: center; padding: 6.5px 25px 3.5px; color: #164767; background: rgba(255,255,255,.7); border: 1.5px solid #7999ae; border-radius: 999px; font-size: 18px; font-weight: 800; letter-spacing: .015em; margin-bottom: 20px; line-height: 1.8; }
.service-label>span { display: none; }
h1 { letter-spacing: -.04em; font-weight: 800; }
.audience { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.025em; line-height: 1.8; }
.audience>span { display: inline-block; white-space: nowrap; }
.message { display: block; margin-top: 12px; line-height: 1.2; }
.message-line { display: block; font-size: 28px; line-height: 1.6; white-space: nowrap; }
.message-product { display: block; color: #0083b4; font-size: clamp(64px, 5.7vw, 82px); font-weight: 900; line-height: 1.35; letter-spacing: -.065em; white-space: nowrap; text-shadow: 0 2px 0 #fff; }
.plan { display: grid; grid-template-columns: 118px max-content; grid-template-rows: auto auto; align-items: center; justify-content: center; column-gap: 22px; width: max-content; max-width: 100%; margin: 20px auto 0; }
.plan-label { grid-column: 2; grid-row: 1; align-self: end; text-align: left; font-size: 15px; font-weight: 700; color: #244b65; line-height: 1.5; margin-bottom: 5px; padding-left: 4px; }
.plan-price { grid-column: 2; grid-row: 2; align-self: start; display: flex; align-items: baseline; gap: 8px; line-height: 1; white-space: nowrap; }
.price-number { color: #e6324b; font-family: Arial, Helvetica, sans-serif; font-size: clamp(72px, 6.25vw, 90px); font-weight: 900; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.price-unit { color: #183e59; display: inline-flex; flex-direction: column; align-items: center; position: relative; top: -2px; font-size: 27px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.tax { font-size: 14px; font-weight: 500; line-height: 1.6; margin-top: 2px; }
.plan-scope { position: relative; grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 118px; height: 118px; padding: 14px 7px; border-radius: 24px; background: #164767; color: #fff; box-shadow: 0 5px 0 #d9e3eb; font-size: 14px; line-height: 1.5; font-weight: 700; }
.plan-scope::after { content: ""; position: absolute; right: -8px; bottom: 12px; width: 20px; height: 18px; background: #164767; clip-path: polygon(0 0, 100% 100%, 0 80%); }
.scope-page { white-space: nowrap; }
.scope-limit { display: flex; align-items: baseline; gap: 3px; line-height: 1.1; }
.scope-limit strong { font-family: Arial, Helvetica, sans-serif; font-size: 36px; font-weight: 800; }
.scope-section { line-height: 1.5; }
.scope-separator { display: none; }
.hero-lead { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 3px; margin: 25px auto 0; color: #294456; font-size: 16px; line-height: 1.8; font-weight: 700; }
.hero-lead>span { display: inline-block; white-space: nowrap; }
.consult-button { display: inline-flex; width: min(470px, 100%); align-items: center; justify-content: center; gap: 23px; min-height: 60px; padding: 15px 25px; margin-top: 23px; color: #fff; background: linear-gradient(115deg, #0087bc, #006b9d); border: 1px solid #0076a9; border-radius: 999px; box-shadow: 0 4px 0 #00577f, 0 9px 16px rgba(0, 92, 135, .14), inset 0 1px 0 rgba(255,255,255,.3); text-decoration: none; font-size: 16px; font-weight: 700; line-height: 1.6; transition: background .18s, transform .18s, box-shadow .18s; }
.consult-button svg { flex-shrink: 0; }
.button-label { display: block; white-space: nowrap; }
.consult-button:hover { background: linear-gradient(115deg, #0078aa, #005b88); transform: translateY(2px); box-shadow: 0 2px 0 #00577f, 0 6px 12px rgba(0, 92, 135, .14); }
.consult-button:active { transform: translateY(4px); box-shadow: none; }
.consult-button:focus-visible { outline-offset: 7px; }
.cost-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 6px; font-size: 14px; color: var(--muted); line-height: 1.9; margin-top: 16px; }
.cost-note>span { white-space: nowrap; }
.hero-visual { min-width: 0; padding-top: 22px; }
.visual-heading { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); margin-left: 20px; margin-bottom: 8px; }
.visual-rule { height: 1px; width: 27px; background: #9aabb6; }
.showcase { position: relative; aspect-ratio: 1.05; width: 100%; isolation: isolate; }
.showcase-backdrop { position: absolute; z-index: -1; inset: 9% 5% 2%; background: var(--pale); border: 1px solid #e8eff3; }
.sample { position: absolute; overflow: hidden; background: white; border: 1px solid #d8e1e7; border-radius: 5px; box-shadow: 0 14px 32px rgba(32, 53, 68, .11); }
.sample figcaption { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 13px; font-size: 14px; color: #53616b; background: #fff; border-bottom: 1px solid #e5eaed; line-height: 1; white-space: nowrap; }
.window-dots { display: inline-flex; align-items: center; gap: 4px; }
.window-dots i { width: 4px; height: 4px; background: #ccd5da; border-radius: 50%; }
.sample img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.sample-main { width: 91%; left: 4%; top: 4%; z-index: 1; }
.sample-pharmacy { width: 46%; left: -2%; bottom: 0; z-index: 2; }
.sample-salon { width: 59%; right: -2%; bottom: 6%; z-index: 3; }
.sample-note { margin-top: 26px; margin-left: 20px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { width: min(1240px, calc(100% - 112px)); min-height: 88px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 22px; font-size: 14px; color: var(--muted); }
.footer-inner>p { font-weight: 600; }
.footer-inner>p>span { font-weight: 400; margin-left: 20px; }
.footer-inner>div { display: flex; gap: 25px; align-items: center; }
.footer-inner a { font-size: 14px; }
.footer-inner small { font-size: 14px; white-space: nowrap; }
@media (max-width: 1150px) and (min-width: 1001px) {
  .hero-inner { width: calc(100% - 80px); gap: 36px; padding-block: 48px; }
  .sample figcaption { gap: 7px; padding-inline: 10px; }
  .footer-inner { width: calc(100% - 80px); }
}
@media (max-width: 1000px) {
  .hero-inner { width: min(720px, calc(100% - 80px)); grid-template-columns: 1fr; gap: 44px; padding-block: 45px 48px; }
  .hero-visual { width: min(540px, 100%); justify-self: center; padding-top: 0; }
  .footer-inner { width: calc(100% - 80px); gap: 18px; }
  .footer-inner>p>span { display: block; margin-left: 0; margin-top: 4px; }
}
@media (max-width: 600px) {
  .header-inner { width: calc(100% - 40px); height: 69px; gap: 18px; }
  .brand { width: 124px; height: 39px; }
  .brand img { width: 300px; height: 300px; left: -13.5px; top: -127px; }
  .header-service, .company-link { display: none; }
  nav { font-size: 14px; }
  .header-contact { gap: 15px; }
  .hero-inner { width: calc(100% - 44px); gap: 38px; padding-block: 32px 36px; }
  .hero-visual { width: 100%; }
  .visual-heading { margin-left: 0; margin-bottom: 9px; font-size: 13px; gap: 10px; }
  .visual-rule { width: 20px; }
  .sample figcaption { height: 28px; font-size: 12px; gap: 7px; padding-inline: 8px; }
  .window-dots { gap: 3px; }
  .window-dots i { width: 3px; height: 3px; }
  .sample-main { width: 94%; left: 2%; }
  .sample-salon { width: 59%; right: -1%; }
  .sample-pharmacy { width: 45%; left: -1%; }
  .sample-note { margin-top: 22px; margin-left: 0; font-size: 12px; line-height: 1.9; }
  .footer-inner { width: calc(100% - 44px); align-items: flex-start; flex-direction: column; gap: 13px; font-size: 12px; padding-block: 22px; }
  .footer-inner>p>span { font-size: 12px; }
  .footer-inner>div { width: 100%; justify-content: space-between; gap: 15px; }
  .footer-inner a, .footer-inner small { font-size: 12px; }
}
@media (max-width: 360px) {
  .hero-inner, .footer-inner { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 36px); }
}

@media (min-width: 1001px) and (max-width: 1150px) {
  .service-label { font-size: 16px; padding-inline: 20px; }
  .audience { font-size: 16px; }
  .message-line { font-size: 25px; }
  .message-product { font-size: 67px; }
  .plan { grid-template-columns: 106px max-content; gap: 0 16px; }
  .plan-scope { width: 106px; height: 110px; font-size: 14px; }
  .price-number { font-size: 76px; }
  .price-unit { font-size: 25px; }
  .hero-lead { font-size: 15px; }
  .consult-button { font-size: 15px; padding-inline: 21px; gap: 16px; }
  .cost-note { column-gap: 4px; }
}
@media (max-width: 1000px) {
  .hero-copy { width: 100%; }
  .message-product { font-size: clamp(64px, 10.7vw, 80px); }
  .price-number { font-size: 88px; }
}
@media (max-width: 600px) {
  .hero-copy::before { inset: -17px -12px -20px; }
  .service-label { font-size: 13px; padding: 6px 15px 4px; margin-bottom: 18px; }
  .audience { font-size: 14px; line-height: 1.8; }
  .audience>span { display: block; }
  .message { margin-top: 13px; }
  .message-line { font-size: clamp(18px, 5.4vw, 27px); line-height: 1.6; }
  .message-product { font-size: clamp(38px, 12vw, 68px); line-height: 1.4; }
  .plan { grid-template-columns: 84px max-content; column-gap: 10px; margin-top: 18px; }
  .plan-label { font-size: 12px; margin-bottom: 5px; padding-left: 2px; }
  .price-number { font-size: clamp(45px, calc(23vw - 36px), 79px); }
  .price-unit { font-size: 23px; top: -1px; }
  .tax { font-size: 12px; margin-top: 1px; }
  .plan-price { gap: 5px; }
  .plan-scope { width: 84px; height: 98px; padding: 12px 4px; border-radius: 18px; font-size: 11px; }
  .plan-scope::after { width: 16px; height: 16px; right: -6px; bottom: 12px; }
  .scope-limit strong { font-size: 30px; }
  .scope-section { font-size: 12px; }
  .hero-lead { display: block; font-size: 14px; line-height: 1.9; margin-top: 23px; }
  .hero-lead>span { display: block; }
  .consult-button { width: 100%; min-height: 59px; padding: 15px 18px; gap: 14px; font-size: 15px; margin-top: 21px; }
  .cost-note { font-size: 12px; gap: 0 2px; margin-top: 15px; }
}
@media (max-width: 360px) {
  .service-label { font-size: 11px; padding-inline: 14px; }
  .audience { font-size: 13px; }
  .message-line { font-size: 18px; }
  .message-product { font-size: 38px; }
  .plan { grid-template-columns: 80px max-content; column-gap: 9px; }
  .plan-scope { width: 80px; height: 94px; }
  .price-number { font-size: clamp(40px, calc(18.75vw - 20px), 47.5px); }
  .price-unit { font-size: 22px; }
  .tax { font-size: 11px; }
  .plan-price { gap: 4px; }
  .consult-button { font-size: 14px; padding-inline: 9px; gap: 6px; }
  .cost-note { display: block; }
  .cost-note .note-divider { display: none; }
  .cost-note>span { display: block; }
}

@media (prefers-reduced-motion: reduce) { .consult-button { transition: none; } }

/* 2026-10-29: PCの補足文字を既存の最低14pxルールへ統一 */
@media (min-width: 801px) { .pricing-section .package-amount small, .content-section .cost-label, .pricing-section .pricing-extra .pricing-detail-link, .pricing-section .pricing-extra .pricing-detail-link span, .contact-section .contact-email-note { font-size: 14px; } }
