body:has(#body_wrap.page-template-yumeru-layout-service) { background-color: #fff; }

#body_wrap.page-template-yumeru-layout-service > #content {
  /* The decoration reaches the viewport edges. Text retains the SWELL inset. */
  --service-shell-inset: var(--swl-pad_container, 0px);
  max-width: none;
  padding-inline: 0;
}

:where(.yd-layout) {
  color-scheme: light;
  --ink: #344959;
  --muted: #4d6172;
  --line: #5e7b942e;
  --paper: #fff;
  --section-edge-fade: linear-gradient(transparent, #000 20%, #000 73%, transparent);
  --side-edge-fade: linear-gradient(90deg, transparent, #000 10% 90%, transparent);
  --round: "Comfortaa", "Century Gothic", "Segoe UI", sans-serif;
  --brand: "Montserrat Alternates", sans-serif;
  --japanese: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --section-space: 96px;
  --heading-gap: 56px;
}

:where(.yd-layout) *, :where(.yd-layout) *::before, :where(.yd-layout) *::after { box-sizing: border-box; }

:where(.yd-layout) { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.8 var(--japanese); }
:where(.yd-layout) h1, :where(.yd-layout) h2, :where(.yd-layout) h3, :where(.yd-layout) p, :where(.yd-layout) dl, :where(.yd-layout) dd { margin: 0; }
:where(.yd-layout) img { display: block; max-width: 100%; height: auto; }
:where(.yd-layout) a { color: inherit; text-decoration: none; }
:where(.yd-layout) :focus-visible { outline: 2px solid #456b89; outline-offset: 4px; }
:where(.yd-layout) .wrap { width: min(1180px, calc(100% - 2 * (40px + var(--service-shell-inset, 0px)))); margin-inline: auto; }
:where(.yd-layout) .wrap.narrow { max-width: 1000px; }
:where(.yd-layout) .muted, :where(.yd-layout) .price-note, :where(.yd-layout) .tax-note { color: var(--muted); }

:where(.yd-layout) .skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 8px 16px; background: white; transform: translateY(-150%); }
:where(.yd-layout) .skip-link:focus { transform: none; }
:where(.yd-layout) .site-header {
  position: relative;
  z-index: 20;
  min-height: 100px;
  padding: 22px 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
:where(.yd-layout) .brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 300 25px/1.4 var(--brand);
  letter-spacing: .04em;
  white-space: nowrap;
}
:where(.yd-layout) .desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font: 400 15px "Quicksand", sans-serif;
  letter-spacing: .025em;
}
:where(.yd-layout) .desktop-nav a { position: relative; padding: 13px 0; }
:where(.yd-layout) .desktop-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  inset: auto 0 7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
:where(.yd-layout) .desktop-nav a:not(.nav-contact):is(:hover, :focus-visible)::after { transform: scaleX(1); }
:where(.yd-layout) .mobile-nav { display: none; }

:where(.yd-layout) .pricing { position: relative; isolation: isolate; overflow: clip; padding-bottom: var(--section-space); }
:where(.yd-layout) .hero { position: relative; min-height: 303px; display: flex; align-items: center; }
:where(.yd-layout) .hero-heading { position: relative; z-index: 1; padding: 32px 0 46px; }
:where(.yd-layout) .hero h1 { margin-bottom: 16px; font-size: 18px; font-weight: 500; letter-spacing: .14em; }
:where(.yd-layout) .hero-heading p { font: 300 clamp(48px, 6.1vw, 87px)/1.16 "Service Comfortaa", var(--round); letter-spacing: -.03em; }
:where(.yd-layout) .hero-scene {
  position: absolute;
  z-index: -1;
  width: min(620px, 60%);
  max-width: none;
  right: 4%;
  top: 47%;
  transform: translateY(-50%);
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse 57% 52% at 54% 51%, #000 60%, transparent 100%);
}

:where(.yd-layout) .hero-scene img { width: 100%; height: auto; display: block; }
:where(.yd-layout) .hero-floor { mask-image: radial-gradient(ellipse 20.8% 35.2% at 74% 47.8%, transparent 97%, #000 120%); }
:where(.yd-layout) .hero-orb {
  position: absolute;
  inset: 0;
  clip-path: ellipse(20.3% 34.6% at 74% 47.8%);
  animation: glass-float 6s ease-in-out infinite;
  --float-rise: -16px;
}
@keyframes glass-float {
  0%, 100% { translate: 0 0; }
  50% { translate: var(--float-drift, 0px) var(--float-rise); }
}

:where(.yd-layout) .glass {
  position: relative;
  isolation: isolate;
  border: 1px solid #ffffffeb;
  border-radius: 23px;
  background: linear-gradient(132deg, #ffffff78, #ffffff38 53%, #eff6ff64);
  backdrop-filter: blur(6px) saturate(.94);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 2px #55779225, 0 3px 6px #344b6218, 0 17px 27px #344e691f, 0 42px 62px -31px #2c49633c;
}
:where(.yd-layout) .glass::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 1;
  border: 23px solid transparent;
  border-image: url("assets/ガラスカード_光沢の縁.svg") 110 / 23px stretch;
  opacity: .57;
  filter: brightness(1.24) saturate(.57);
  pointer-events: none;
}
:where(.yd-layout) .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
:where(.yd-layout) .price-card {
  padding: 30px 28px 28px;
  background: linear-gradient(145deg, #ffffffd9, #fafcffaf 60%, #eaf0f7b8);
}
:where(.yd-layout) .price-card h2 { font-size: clamp(20px, 1.75vw, 25px); font-weight: 500; line-height: 1.4; margin-bottom: 8px; }
:where(.yd-layout) .price-list { margin-top: 24px; }
:where(.yd-layout) .price-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 8px 0; }
:where(.yd-layout) .price-list dt { font-size: 14px; }
:where(.yd-layout) .price-list dd { white-space: nowrap; margin-left: auto; line-height: 1.4; }
:where(.yd-layout) .amount { font: 400 clamp(21px, 2vw, 28px)/1.35 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -.055em; }
:where(.yd-layout) .unit, :where(.yd-layout) .basis { font-size: 13px; font-weight: 500; }
:where(.yd-layout) .writing-prices .amount { font-size: 22px; }
:where(.yd-layout) .price-note, :where(.yd-layout) .tax-note { font-size: 13px; }
:where(.yd-layout) .price-note { margin-top: 12px; }
:where(.yd-layout) .tax-note { margin-top: 16px; text-align: right; }

:where(.yd-layout) .monitor { width: min(100%, 760px); margin: 48px auto 0; padding: 28px 32px 4px; }
:where(.yd-layout) .monitor h2 { font-size: 23px; font-weight: 500; text-align: center; }
:where(.yd-layout) .monitor-lead { margin-top: 12px; text-align: center; }
:where(.yd-layout) .monitor .accordion { margin-top: 20px; padding: 0; border-top: 1px solid var(--line); }
:where(.yd-layout) .monitor .accordion summary { min-height: 56px; width: fit-content; max-width: 100%; margin-inline: auto; }
:where(.yd-layout) .monitor-terms { padding: 12px 0 20px; }
:where(.yd-layout) .monitor-terms h3 { font-size: 16px; font-weight: 700; }
:where(.yd-layout) .monitor-terms ul { margin: 8px 0 16px; padding-left: 22px; }
:where(.yd-layout) .monitor .monitor-terms p { padding: 0; margin-top: 12px; }
:where(.yd-layout) .monitor-terms p:not(.monitor-note) { font-size: 14px; }
:where(.yd-layout) .monitor-note { font-size: 13px; }

:where(.yd-layout) .section { padding-block: var(--section-space); }
:where(.yd-layout) .support::after, :where(.yd-layout) .other::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  mask-image: var(--section-edge-fade), var(--side-edge-fade);
  mask-composite: intersect;
  pointer-events: none;
}
:where(.yd-layout) .support::after, :where(.yd-layout) .other::after { content: ""; }
:where(.yd-layout) .section-heading { margin-bottom: var(--heading-gap); text-align: center; }
:where(.yd-layout) .section-heading h2 { font-size: 32px; font-weight: 500; line-height: 1.45; letter-spacing: .045em; }

:where(.yd-layout) .support { position: relative; isolation: isolate; }
:where(.yd-layout) .support::after { background: radial-gradient(ellipse 580px 290px at 16% 62%, #d9ecf7a6, transparent 95%), radial-gradient(ellipse 460px 300px at 84% 76%, #ebdaed99, transparent 96%); }
:where(.yd-layout) .support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
:where(.yd-layout) .accordion-column { display: grid; gap: 16px; }
:where(.yd-layout) .accordion { padding: 0 24px; }
:where(.yd-layout) .accordion summary { position: relative; display: flex; align-items: center; list-style: none; min-height: 68px; padding: 12px 36px 12px 0; font-weight: 500; cursor: pointer; }
:where(.yd-layout) summary::-webkit-details-marker { display: none; }
:where(.yd-layout) .accordion summary::after { content: "+"; position: absolute; top: 50%; right: 3px; transform: translateY(-50%); color: #45657b; font: 300 24px/1 var(--round); }
:where(.yd-layout) .accordion[open] summary::after { content: "−"; }
:where(.yd-layout) .accordion p { max-width: 820px; padding: 0 28px 20px 0; color: var(--muted); }
:where(.yd-layout) .support .accordion p { font-size: 15px; }

:where(.yd-layout) .fees { position: relative; isolation: isolate; overflow: clip; }
:where(.yd-layout) .support-droplets {
  position: absolute;
  top: -12px;
  right: max(calc(36px + var(--service-shell-inset, 0px)), calc((100% - 1120px) / 2));
  width: clamp(144px, 18vw, 246px);
  height: auto;
  animation: glass-float 8.5s -2s ease-in-out infinite;
  --float-rise: -13px;
  --float-drift: 3px;
  pointer-events: none;
}
:where(.yd-layout) .fees-panel { padding: 12px 32px 24px; background: linear-gradient(132deg, #ffffffaa, #ffffff65 55%, #f2f8ff7d); }
:where(.yd-layout) .fee-list > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: baseline; gap: 8px 24px; padding-block: 16px; }
:where(.yd-layout) .fee-list > div + div { border-top: 1px solid var(--line); }
:where(.yd-layout) .fee-list dt { font-weight: 500; }
:where(.yd-layout) .fee-list dd, :where(.yd-layout) .fee-note { color: var(--muted); font-size: 15px; }
:where(.yd-layout) .fee-list strong { color: var(--ink); font-weight: 700; }
:where(.yd-layout) .fee-note { padding-top: 16px; border-top: 1px solid var(--line); }

:where(.yd-layout) .other { position: relative; isolation: isolate; overflow: clip; }
:where(.yd-layout) .other::after {
  /* The source image is 2:1. Fade its own top and bottom as well as the section edges. */
  --curve-y: 70%;
  --curve-width: max(100%, 900px);
  --curve-height: max(50vw, 450px);
  background: url("assets/サービス背景のガラス曲線.webp") center var(--curve-y) / var(--curve-width) auto no-repeat;
  mask-image: var(--section-edge-fade), var(--side-edge-fade),
    linear-gradient(transparent, #000 14% 86%, transparent);
  mask-size: 100% 100%, 100% 100%, 100% var(--curve-height);
  mask-position: center, center, center var(--curve-y);
  mask-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: .74;
}
:where(.yd-layout) .other-prism {
  position: absolute;
  z-index: -1;
  top: 30px;
  right: max(18px, calc((100% - 1370px) / 2));
  width: min(17vw, 230px);
  height: 208px;
  background: url("assets/プリズムの光.png") right bottom / 338% auto no-repeat;
  opacity: .76;
  filter: saturate(1.18);
  transform: rotate(17deg);
  mask-image: radial-gradient(ellipse 48% 60% at 57% 48%, #000 22%, #000b 55%, transparent 100%);
  pointer-events: none;
}
:where(.yd-layout) .other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (min-width: 1024px) {
  :where(.yd-layout) .other-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
:where(.yd-layout) .other-card {
  padding: 28px 32px;
  background:
    radial-gradient(ellipse 69% 78% at 44% 46%, #ffffffdc 38%, #ffffffa6 62%, transparent 100%),
    linear-gradient(132deg, #ffffff78, #ffffff38 53%, #eff6ff64);
}
:where(.yd-layout) .other-card h3 { margin-bottom: 8px; font-size: 19px; font-weight: 500; }
:where(.yd-layout) .other-card h3 span { display: inline-block; }
@media (min-width: 761px) and (max-width: 1023px) {
  :where(.yd-layout) .other-card:not(:last-child) h3 { min-block-size: 2lh; }
}
@media (min-width: 1024px) {
  :where(.yd-layout) .other-card h3 { min-block-size: 2lh; }
  :where(.yd-layout) .other-card h3 span { display: block; }
}
:where(.yd-layout) .other-card p { color: var(--muted); font-size: 15px; }

:where(.yd-layout) .contact { position: relative; isolation: isolate; overflow: clip; text-align: center; }
:where(.yd-layout) .contact-actions { display: flex; justify-content: center; align-items: center; gap: 24px; }
:where(.yd-layout) .contact-actions .glass-button { flex: 0 1 260px; }
:where(.yd-layout) .contact-actions .line-button {
  background: linear-gradient(165deg, #e0ffeb52, transparent 43%, #006c381f), #06c755ed;
  color: #fff;
  text-shadow: 0 1px 2px #004b2bdb;
}
:where(.yd-layout) .contact-actions .line-button::after {
  background: linear-gradient(145deg, #edfff4 3%, #aefccee0 18%, #46b07570 35%, #f0fff4ef 54%, #88d9a480 73%, #effff3 92%);
}
:where(.yd-layout) .desktop-nav .nav-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 44px;
  padding: 9px 24px;
  border: 1px solid #ffffff99;
  border-radius: 40px;
  background: linear-gradient(180deg, #ffffff09, transparent 40%, #0000000a), rgba(4, 7, 9, .74);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 1px 1px #ffffffe6, inset 0 -1px 1px #c7dbe78c, 0 5px 14px #14202b24;
  transition: translate .3s ease, box-shadow .3s ease;
}
:where(.yd-layout) .desktop-nav .nav-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  background: linear-gradient(135deg, #fff, #eaf7ffd9 14%, #a5c1ce66 34%, #ffffffeb 49%, #e5e0ef6b 69%, #fff 86%, #c9e4f0a6);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
:where(.yd-layout) .desktop-nav .nav-contact:is(:hover, :focus-visible) {
  background-color: rgba(4, 7, 9, .70);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px #c7dbe7b3, 0 9px 20px #14202b29;
  translate: 0 -4px;
}

@media (min-width: 1024px) {
}
@media (max-width: 1100px) {
  :where(.yd-layout) .desktop-nav { gap: 23px; }
}
@media (max-width: 940px) {
  :where(.yd-layout) .desktop-nav { gap: 16px; }
}
@media (max-width: 920px) {
}
@media (max-width: 680px) {
  :where(.yd-layout) .desktop-nav { display: none; }
  :where(.yd-layout) .mobile-nav { display: block; }
  :where(.yd-layout) .mobile-nav summary { display: block; width: 48px; height: 48px; padding: 12px; list-style: none; cursor: pointer; }
  :where(.yd-layout) .mobile-nav summary span { display: block; width: 24px; height: 1px; margin: 7px 0; background: #3c566a; }
  :where(.yd-layout) .mobile-nav[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
  :where(.yd-layout) .mobile-nav[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
  :where(.yd-layout) .mobile-nav nav { position: absolute; z-index: 19; left: 20px; right: 20px; top: 85px; padding: 25px 30px; }
  :where(.yd-layout) .mobile-nav nav a { display: block; padding: 10px 0; font: 300 28px/1.5 "Quicksand", sans-serif; border-bottom: 1px solid var(--line); }
}
@media (max-width: 580px) {
  :where(.yd-layout) .site-header { min-height: 82px; padding: 17px 22px; }
  :where(.yd-layout) .site-header .brand { font-size: 22px; }
}
@media (min-width: 761px) and (max-width: 1023px) {
  :where(.yd-layout) .other-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1040px) {
  :where(.yd-layout) .price-card { padding-inline: 22px; }
  :where(.yd-layout) .writing-prices dt { flex-basis: 100%; }
}
@media (max-width: 760px) {
  :where(.yd-layout) { --section-space: 64px; --heading-gap: 40px; }
  :where(.yd-layout) .wrap { width: calc(100% - 2 * (20px + var(--service-shell-inset, 0px))); }
  :where(.yd-layout) .hero { min-height: 265px; align-items: start; }
  :where(.yd-layout) .hero-heading { padding: 36px 0 0; }
  :where(.yd-layout) .hero h1 { font-size: 15px; margin-bottom: 12px; }
  :where(.yd-layout) .hero-heading p { font-size: clamp(31px, 8.15vw, 54px); }
  :where(.yd-layout) .hero-scene { width: 330px; right: -9%; top: auto; bottom: -1px; transform: none; }
  :where(.yd-layout) .hero-orb { --float-rise: -9px; }
  :where(.yd-layout) .other::after { --curve-y: 58%; --curve-width: 760px; --curve-height: 380px; background-position-x: right; opacity: .62; }
  :where(.yd-layout) .other-prism { top: 11px; right: 12px; width: 97px; height: 77px; opacity: .62; }
  :where(.yd-layout) .pricing-grid, :where(.yd-layout) .other-grid { grid-template-columns: 1fr; gap: 16px; }
  :where(.yd-layout) .price-card, :where(.yd-layout) .other-card { padding: 24px; }
  :where(.yd-layout) .writing-prices dt { flex-basis: auto; }
  :where(.yd-layout) .monitor { margin-top: 32px; padding: 22px 20px 4px; }
  :where(.yd-layout) .monitor h2 { font-size: 21px; }
  :where(.yd-layout) .monitor-lead { text-align: left; }
  :where(.yd-layout) .monitor-break { display: none; }
  :where(.yd-layout) .monitor .accordion summary { padding-right: 25px; }
  :where(.yd-layout) .section-heading h2 { font-size: clamp(25px, 7.2vw, 32px); }
  :where(.yd-layout) .support-grid { grid-template-columns: 1fr; gap: 16px; }
  :where(.yd-layout) .accordion { padding: 0 20px; }
  :where(.yd-layout) .accordion summary { min-height: 62px; padding-right: 28px; }
  :where(.yd-layout) .accordion p { padding-right: 0; }
  :where(.yd-layout) .support-droplets { top: -18px; right: calc(14px + var(--service-shell-inset, 0px)); width: 114px; --float-rise: -5px; }
  :where(.yd-layout) .fees-panel { padding: 8px 20px 20px; }
  :where(.yd-layout) .fee-list > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 14px; }
  :where(.yd-layout) .fee-list dt { font-size: 14px; word-break: keep-all; overflow-wrap: anywhere; }
  :where(.yd-layout) .fee-note br { display: none; }
  :where(.yd-layout) .contact-actions { flex-direction: column; gap: 16px; }
  :where(.yd-layout) .contact-actions .glass-button { flex: none; }
}
@media (max-width: 350px) {
  :where(.yd-layout) .hero-scene { width: 285px; right: -13%; }
  :where(.yd-layout) .writing-prices dt { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  
  :where(.yd-layout) .hero-orb, :where(.yd-layout) .support-droplets { animation: none; }
  :where(.yd-layout) .glass-button, :where(.yd-layout) .desktop-nav .nav-contact, :where(.yd-layout) .desktop-nav a::after { transition: none; }
}

:where(.yd-layout) .fee-detail-link { display:inline-block; margin-top:.45em; text-decoration:underline; text-underline-offset:.22em; }

@font-face{font-family:"Service Comfortaa";src:url("assets/Comfortaa-300.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
:where(.yd-layout) .monitor-mark{display:inline-block;margin:0 0 12px;padding:3px 12px;border:1px solid #bed1de;border-radius:999px;background:#f3f8fb;color:#385465;font-size:12px;font-weight:600;line-height:1.6;letter-spacing:.04em}
:where(.yd-layout) .design-only{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin:0 auto 25px;color:var(--ink);font-size:13px;line-height:1.55}
:where(.yd-layout) .scope-name{font-weight:600;margin-inline-end:3px}
:where(.yd-layout) .scope-tag{padding:4px 10px;border:1px solid #c8d8e3;border-radius:6px;background:#ffffffb3;white-space:nowrap}
:where(.yd-layout) .lp-example p{margin:0 0 5px}
:where(.yd-layout) .lp-example ul{margin:0;padding-inline-start:1.35em;list-style:disc outside}
:where(.yd-layout) .lp-example li+li{margin-top:2px}
@media(max-width:760px){:where(.yd-layout) .design-only{margin-bottom:18px;font-size:12px;gap:6px}:where(.yd-layout) .scope-tag{padding-inline:8px}}
