/* はじめてのホームページ：要点を先に、補足は開いて読む。 */
.web-service-page .web-hero { padding: 26px 0 40px; background: linear-gradient(145deg, #eff9ff, #e7f5fc 65%, #f4fbff); border-bottom: 1px solid var(--line); }
.web-service-page .breadcrumb { margin: 0 0 28px; }
.web-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.web-eyebrow { margin: 0 0 12px; color: #a64313; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.web-hero h1 { margin: 0; color: var(--navy); font-size: clamp(27px, 2.6vw, 39px); line-height: 1.6; }
.web-lead { margin: 18px 0; max-width: 35em; font-size: 16px; line-height: 1.9; }
.web-main-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; margin: 0; }
.web-main-price > span { font-size: 14px; font-weight: 700; }
.web-main-price strong { color: var(--navy); font-size: 43px; line-height: 1.3; }
.web-main-price strong span { margin-left: 4px; font-size: 23px; }
.web-main-price small { font-size: 12px; }
.web-price-note { margin: 10px 0 20px; max-width: 42em; color: #536078; font-size: 12px; line-height: 1.8; }
.web-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.web-service-page .web-hero .button, .web-consult .button { font-size: 14px; padding: 13px 20px; }
.web-link { color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.web-contact-note { margin: 14px 0 0; font-size: 12px; color: #536078; }
.web-hero-figure { margin: 0; min-width: 0; }
.web-hero-figure img { width: 100%; height: auto; border: 1px solid #cbdce6; border-radius: 16px; }
.web-hero-figure figcaption { margin-top: 13px; color: var(--navy); font-size: 14px; font-weight: 700; }
.web-hero-figure figcaption span { display: block; margin-top: 4px; font-weight: 400; color: #667185; font-size: 11px; }
.web-content { max-width: 1080px; padding: 30px 0 45px; }
.web-for { display: flex; gap: 22px; padding: 20px 0 30px; border-bottom: 1px solid var(--line); }
.web-for h2 { flex: 0 0 auto; margin: 0; font-size: 15px; line-height: 1.9; }
.web-for ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.web-for li::before { content: "✓"; color: #a64313; margin-right: 8px; }
.web-overview { padding: 44px 0 28px; }
.web-section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(21px, 2vw, 26px); line-height: 1.65; }
.web-section-heading > p:last-child:not(.web-eyebrow) { margin: 8px 0 0; font-size: 14px; color: #536078; }
.web-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 26px; }
.web-points article { padding: 0 22px 0 0; border-right: 1px solid var(--line); }
.web-points article:last-child { border: 0; }
.web-number { color: #a64313; font-size: 13px; font-weight: 700; }
.web-points h3 { margin: 8px 0; font-size: 20px; }
.web-points p { margin: 0; font-size: 14px; line-height: 1.9; }
.web-overview-note { margin: 24px 0 0; font-size: 13px; color: #536078; }
.web-sample { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border: 1px solid #d3e0e8; border-radius: 18px; background: #edf8fe; }
.web-sample small { display: block; color: #536078; font-size: 12px; margin-bottom: 5px; }
.web-sample strong { color: var(--navy); font-size: 19px; }
.web-sample-arrow { color: #a64313; font-size: 25px; }
.web-sample:hover { background: #eaf0f7; }
.web-details { margin: 40px 0; }
.web-details .web-section-heading { margin-bottom: 18px; }
.web-details details { border-top: 1px solid var(--line); }
.web-details details:last-child { border-bottom: 1px solid var(--line); }
.web-details summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 8px; color: var(--navy); font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.web-details summary::-webkit-details-marker { display: none; }
.web-details summary > span { flex: 0 0 auto; transition: transform .15s; }
.web-details details[open] summary > span { transform: rotate(45deg); }
.web-details summary:hover { background: #f7f9fc; }
.web-details summary:focus-visible, .web-service-page main a:focus-visible { outline: 3px solid #a64313; outline-offset: 3px; }
.web-detail-body { max-width: 850px; padding: 0 12px 22px; font-size: 15px; line-height: 1.95; }
.web-detail-body > p { margin: 0 0 12px; }
.web-detail-body > p:last-child { margin-bottom: 0; }
.web-detail-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.web-flow { padding-left: 22px; margin: 0 0 18px; }
.web-flow li { padding-left: 6px; margin-bottom: 12px; }
.web-flow p { margin: 3px 0 0; }
.web-cost-list { margin: 0; }
.web-cost-list > div { margin-bottom: 16px; }
.web-cost-list dt { font-weight: 700; }
.web-cost-list dd { margin: 5px 0 0; }
.web-small-note { color: #536078; font-size: 12px; line-height: 1.85; }
.web-consult { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px; border: 1px solid #d3e0e8; border-radius: 18px; background: #eff9ff; }
.web-consult h2 { margin: 0 0 12px; color: var(--navy); font-size: 22px; line-height: 1.65; }
.web-consult p { margin: 0; font-size: 14px; line-height: 1.9; }
.web-consult-actions { display: grid; justify-items: center; gap: 18px; flex: 0 0 auto; }
.web-end-note { margin: 20px 0 0; text-align: center; }
@media (max-width: 1040px) {
  .web-hero-grid { gap: 28px; }
  .web-consult { flex-direction: column; align-items: flex-start; }
  .web-consult-actions { display: flex; flex-wrap: wrap; gap: 22px; }
}
@media (max-width: 760px) {
  .web-service-page .wrap { width: calc(100% - 40px); }
  .web-service-page .web-hero { padding: 20px 0 28px; }
  .web-service-page .breadcrumb { margin-bottom: 20px; font-size: 11px; }
  .web-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .web-hero h1 { font-size: clamp(24px, 6.8vw, 32px); line-height: 1.65; }
  .web-eyebrow { font-size: 12px; margin-bottom: 8px; }
  .web-lead { margin: 14px 0; font-size: 14px; }
  .web-main-price { gap: 6px 12px; }
  .web-main-price strong { font-size: 36px; }
  .web-price-note { font-size: 11px; margin: 8px 0 18px; }
  .web-hero-actions { gap: 15px; }
  .web-hero-actions .button { width: 100%; }
  .web-hero-actions .web-link { font-size: 13px; }
  .web-contact-note { margin-top: 13px; }
  .web-hero-figure figcaption { font-size: 13px; }
  .web-content { padding-top: 18px; }
  .web-for { flex-direction: column; gap: 10px; padding: 14px 0 25px; }
  .web-for ul { display: grid; gap: 8px; font-size: 13px; }
  .web-overview { padding-top: 30px; }
  .web-section-heading h2 { font-size: 22px; }
  .web-points { grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
  .web-points article { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 10px; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); }
  .web-number { padding-top: 4px; }
  .web-points h3 { margin: 0; font-size: 19px; }
  .web-points p { grid-column: 2; font-size: 14px; }
  .web-overview-note { margin-top: 10px; }
  .web-sample { padding: 18px; gap: 14px; }
  .web-sample strong { font-size: 16px; }
  .web-details { margin: 30px 0; }
  .web-details summary { font-size: 14px; padding: 18px 4px; }
  .web-detail-body { padding: 0 4px 20px; font-size: 14px; }
  .web-consult { padding: 24px 20px; gap: 22px; }
  .web-consult h2 { font-size: 21px; }
  .web-consult-actions { display: grid; width: 100%; justify-items: stretch; }
  .web-consult-actions .web-link { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .web-details summary > span { transition: none; } }

.web-service-page #renewal { scroll-margin-top: 30px; }
