

.wrap { width: 100%; max-width: var(--w-content); margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: var(--fs-small); opacity: .78; }
.lead { max-width: 40em; }
.tag {
  display: inline-block; padding: 3px 14px; border-radius: 2px; line-height: 1.6;
  background: var(--color-sub); color: var(--color-on-sub); font-size: var(--fs-small); letter-spacing: .08em; white-space: nowrap;
}
.num { font-family: var(--font-en); letter-spacing: .04em; }
br.sp { display: none; }
.ph { margin: 0; overflow: hidden; position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }


.loader {
  position: fixed; inset: 0; z-index: 300; overflow: hidden;
  display: grid; place-items: center; background: var(--color-bg);
  animation: sf-loader-off .01s 5s forwards;
}
@keyframes sf-loader-off { to { visibility: hidden; } }
.loader__in { text-align: center; }
.loader__name { display: flex; justify-content: center; font-family: var(--font-heading); font-size: var(--fs-h1); font-weight: 500; letter-spacing: .32em; line-height: 1.3; padding-left: .32em; }
.loader__name span { display: inline-block; }
.loader__line { display: block; width: min(260px, 60%); height: 1px; margin: 28px auto 18px; background: var(--color-accent); transform-origin: left center; }
.loader__en { font-family: var(--font-en); font-size: var(--fs-en-label); letter-spacing: .4em; opacity: .7; }


.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); padding-inline: var(--gutter);
}
.header::before, .header::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity .6s var(--ease-out); }
.header::before { background: var(--color-bg); opacity: 0; border-bottom: 1px solid var(--color-line); }
.header::after { bottom: -60%; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
.header.is-scrolled::before, .is-sub .header::before { opacity: .96; }
.header.is-scrolled::after, .is-sub .header::after { opacity: 0; }
.logo { display: inline-flex; flex-direction: column; line-height: 1.2; flex: none; }
.logo__ja { font-family: var(--font-heading); font-size: 26px; font-weight: 600; letter-spacing: .2em; }
.logo__en { font-family: var(--font-en); font-size: 11px; letter-spacing: .32em; opacity: .7; margin-top: 4px; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(20px, 2.2vw, 36px); }
.gnav a { position: relative; font-size: var(--fs-nav); letter-spacing: .08em; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.h-tel { display: flex; flex-direction: column; line-height: 1.2; flex: none; }
.h-tel__label { font-size: var(--fs-en-label); letter-spacing: .2em; opacity: .7; }
.h-tel__num { font-family: var(--font-en); font-size: var(--fs-h4); letter-spacing: .06em; }
.h-btn { width: auto; flex: none; padding: 0 28px; }
.drawer__tel { margin-top: 24px; font-family: var(--font-en); font-size: var(--fs-h4); text-align: center; }
@media (max-width: 1100px) {
  .gnav { display: none; }
  .h-tel { margin-left: auto; }
}
@media (max-width: 767px) {
  .h-btn { display: none; }
  .logo__ja { font-size: 21px; }
  .logo__en { font-size: 9px; }
  .h-tel__label { display: none; }
  .h-tel__num { font-size: var(--fs-small); }
  .header { gap: 12px; padding-right: 8px; }
}


.fv { position: relative; height: 100svh; min-height: 780px; max-height: 1100px; overflow: hidden; isolation: isolate; }
.fv__main { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: 1; }
.fv__main img { object-position: 50% 30%; }
.fv__sub { position: absolute; left: 38%; bottom: 7%; width: 24%; aspect-ratio: 3 / 2; z-index: 2; outline: 10px solid var(--color-bg); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.fv__sub img { object-position: 50% 50%; }
.fv__deco {
  position: absolute; left: calc(var(--gutter) - .06em); bottom: -.12em; z-index: 0; pointer-events: none;
  font-family: var(--font-en); font-weight: 300; font-size: clamp(110px, 13vw, 210px); line-height: .86; letter-spacing: -.01em;
  color: var(--color-text); opacity: .06; white-space: nowrap;
}
.fv__body {
  position: relative; z-index: 3; width: 48%; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 24px) 32px 56px var(--gutter);
}
.fv__en { color: var(--color-accent); display: flex; align-items: center; gap: 14px; }
.fv__en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.fv__title { margin-top: 24px; font-size: var(--fs-h1); line-height: 1.34; letter-spacing: .02em; font-feature-settings: "palt" 1; }
.fv__title .ln { display: block; overflow: hidden; padding-block: .04em; }
.fv__title .ln > span { display: inline-block; white-space: nowrap; }
.fv__lead { margin-top: 28px; max-width: 74%; }
.fv__cta { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fv__note { font-size: var(--fs-small); opacity: .8; }
.fv__scroll { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 14px; color: var(--color-on-main); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.fv__scroll i { position: relative; width: 64px; height: 1px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.fv__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--color-on-main); animation: sf-scroll 2.4s var(--ease-io) infinite; }
@keyframes sf-scroll { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@media (max-width: 1280px) {
  .fv__lead { max-width: 68%; }
}
@media (max-width: 900px) {
  .fv { height: auto; min-height: 0; max-height: none; padding-top: var(--header-h); }
  .fv__main { position: relative; width: 80%; height: 58svh; min-height: 360px; margin-left: auto; }
  .fv__sub { position: relative; left: auto; bottom: auto; width: 54%; margin: -26% 0 0 var(--gutter); outline-width: 6px; }
  .fv__body { width: 100%; height: auto; padding: 36px var(--gutter) 64px; }
  .fv__deco { top: calc(var(--header-h) + 12px); bottom: auto; font-size: 64px; left: var(--gutter); opacity: .1; }
  .fv__title .ln > span { white-space: normal; }
  .fv__lead { max-width: none; }
  .fv__scroll { display: none; }
}
@media (max-width: 767px) {
  .fv__cta { align-items: stretch; }
  .fv__cta .oneline { align-self: flex-start; }
}


.sec { position: relative; overflow: hidden; padding-block: var(--sec-pad); }
.sec + .sec { border-top: 1px solid var(--color-line); }
.sec-head .en { display: flex; align-items: center; gap: 14px; color: var(--color-main-ink); }
.sec-head .en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.sec-head h2 { margin-top: 18px; font-size: var(--fs-h2); }
.sec-head + .lead { margin-top: 28px; }
.sec-foot { margin-top: var(--sp-7); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.sec-foot--r { justify-content: flex-end; }


.offset { margin-top: var(--sp-7); display: flex; flex-direction: column; }
.off-item { position: relative; width: 50%; }
.off-item:nth-child(even) { align-self: flex-end; }
.off-item + .off-item { margin-top: -15%; }
.off-item:nth-child(3) { margin-left: 0; }
.off-item__ph { aspect-ratio: 16 / 10; }
.off-item__tx { position: relative; z-index: 1; width: 82%; margin: -88px 0 0 auto; padding: 36px 44px 40px; background: var(--color-surface); border-left: 2px solid var(--color-accent); }
.off-item:nth-child(even) .off-item__tx { margin-left: 0; }
.off-item__no { font-family: var(--font-en); font-size: var(--fs-h4); color: var(--color-accent); letter-spacing: .1em; }
.off-item__tx h3 { margin-top: 8px; font-size: var(--fs-h3); }
.off-item:hover .off-item__ph img { filter: brightness(1.06); }
.off-close { padding-left: 50%; }
.off-close .lead { font-family: var(--font-heading); font-size: var(--fs-h4); }


.estimate { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.estimate__ph { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 4 / 3; }
.estimate__tx { grid-column: 7 / 13; grid-row: 1; position: relative; z-index: 1; margin-bottom: -64px; padding: 56px 56px 60px; background: var(--color-surface); border-top: 2px solid var(--color-accent); }
.svc-head { margin: var(--sp-9) 0 0 auto; width: 58%; }
.svc-grid { margin-top: var(--sp-7); display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; align-items: start; }
.svc:nth-child(3n+2) { margin-top: 96px; }
.svc:nth-child(3n+3) { margin-top: 48px; }
.svc a { display: block; }
.svc__ph { aspect-ratio: 4 / 3; }
.svc__ph img, .wcard__ph img { transition: transform 1.4s var(--ease-out); }
.svc a:hover .svc__ph img, .wcard a:hover .wcard__ph img { transform: scale(1.06); }
.svc__no { margin-top: 20px; color: var(--color-accent); }
.svc h3 { margin-top: 6px; font-size: var(--fs-h3); transition: color .5s; }
.svc a:hover h3 { color: var(--color-accent); }
.svc__price { margin-top: 8px; font-size: var(--fs-card); }
.svc__price .num { font-size: var(--fs-h4); color: var(--color-main-ink); }
.sec-service .sec-foot { margin-top: calc(var(--sp-7) + 48px); }


.price-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 7%; align-items: start; }
.flow { margin-top: var(--sp-9); }
.price .btn, .flow .btn { margin-top: var(--sp-5); }
.price-table { width: 100%; margin-top: var(--sp-5); border-collapse: collapse; font-size: var(--fs-card); }
.price-table th, .price-table td { padding: 18px 4px; border-bottom: 1px solid var(--color-line); text-align: left; font-weight: 400; }
.price-table thead th { font-size: var(--fs-small); letter-spacing: .1em; color: var(--color-accent); padding-block: 10px; }
.price-table td { text-align: right; white-space: nowrap; }
.price-table thead th:last-child { text-align: right; }
.price-table td .num { font-size: var(--fs-h4); color: var(--color-text); }
.price .small { margin-top: 12px; }
.steps { margin-top: var(--sp-5); display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; counter-reset: st; }
.steps li { position: relative; padding-top: 24px; border-top: 1px solid var(--color-line); }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--color-accent); }
.steps__no { color: var(--color-accent); }
.steps h3 { margin-top: 6px; font-size: var(--fs-h3); }
.steps p { margin-top: 8px; font-size: var(--fs-card); line-height: 1.85; }


.sec-works { position: relative; overflow: hidden; background: var(--color-surface); }
.works { display: flex; align-items: center; height: 100svh; min-height: 720px; max-height: 1100px; padding: calc(var(--header-h) + 24px) 0 48px; }
.works__head { position: relative; z-index: 2; flex: 0 0 auto; width: min(440px, 32%); align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 0 48px 0 var(--gutter); background: var(--color-surface); }
.works__head::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 64px; background: linear-gradient(90deg, var(--color-surface), transparent); pointer-events: none; }
.works__lead { margin-top: 28px; font-size: var(--fs-card); }
.works__head .btn { margin-top: var(--sp-5); width: 100%; }
.works__hint { margin-top: var(--sp-5); display: flex; align-items: center; gap: 12px; opacity: .7; }
.works__hint i { width: 48px; height: 1px; background: currentColor; }
.works__view { flex: 1 1 auto; min-width: 0; }
.works__track { display: flex; gap: 48px; width: max-content; padding-right: var(--gutter); }
.wcard { width: clamp(340px, 36vw, 580px); flex: none; }
.wcard:nth-child(even) { margin-top: 64px; }
.wcard a { display: block; }
.wcard__ph { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.wcard__ph img { width: 100%; height: 100%; object-fit: cover; }
.wcard__meta { margin-top: 20px; display: flex; align-items: center; gap: 16px; }
.wcard__meta time { font-family: var(--font-en); font-size: var(--fs-card); letter-spacing: .1em; }
.wcard__title { margin-top: 10px; font-size: var(--fs-h3); transition: color .5s; }
.wcard a:hover .wcard__title { color: var(--color-accent); }
.wcard__ex { margin-top: 8px; font-size: var(--fs-card); line-height: 1.8; opacity: .85; }
.works__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 1px; background: var(--color-line); z-index: 3; }
.works__bar span { position: absolute; inset: 0; background: var(--color-accent); transform-origin: left; transform: scaleX(0); }

@media (max-width: 767px) {
  .works { display: block; height: auto; min-height: 0; max-height: none; padding: var(--sec-pad) 0; }
  .works__head { width: 100%; padding: 0 var(--gutter); }
  .works__head::after { display: none; }
  .works__bar { display: none; }
}
@media (max-width: 767px) { .works__view { margin-top: var(--sp-6); } }
@media (max-width: 767px) {
  .works__view, .sec-works.is-free .works__view { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .works__view::-webkit-scrollbar { display: none; }
  .works__track { padding-left: var(--gutter); gap: 16px; }
  .wcard { width: 80vw; max-width: 380px; scroll-snap-align: start; }
  .wcard:nth-child(even) { margin-top: 0; }
}
.sec-works.is-free .works__view { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 16px; }
.sec-works.is-free .wcard { scroll-snap-align: start; }
.sec-works.is-free .works__bar { display: none; }


.faq { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-6) 8%; align-items: start; }
.faq__head .btn { margin-top: var(--sp-5); }
.faq__list { border-top: 1px solid var(--color-line); }
details.qa .a { line-height: 1.9; }


.sec-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--color-main); color: var(--color-on-main); padding: var(--sec-pad) var(--gutter); text-align: center; }
.cta__bg { position: absolute; inset: -10% 0; z-index: -1; margin: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.cta__in { max-width: 1080px; margin-inline: auto; }
.sec-cta .en { color: var(--color-on-main); opacity: .8; }
.sec-cta h2 { margin-top: 18px; font-size: var(--fs-h2); }
.sec-cta .lead { margin: 28px auto 0; }
.cta__btns { justify-content: center; margin-top: var(--sp-5); }
.sec-cta .small { margin-top: 18px; }
.sec-cta .btn { background: var(--color-sub); color: var(--color-on-sub); border-color: var(--color-sub); }
.sec-cta .btn::before { background: var(--color-bg); }
.sec-cta .btn:hover { color: var(--color-text); border-color: var(--color-bg); }
.sec-cta .btn--line { background: transparent; color: var(--color-on-main); border-color: currentColor; }


.footer { background: var(--color-bg); border-top: 1px solid var(--color-line); padding: var(--sp-8) 0 var(--sp-5); }
.footer__in { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: var(--sp-6); }
.footer__txt { margin-top: 20px; font-size: var(--fs-card); opacity: .8; }
.footer__info { font-size: var(--fs-card); }
.footer__info div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.footer__info dt { color: var(--color-accent); }
.footer__info dd { overflow-wrap: anywhere; }
.footer__nav li a { display: block; padding: 8px 0; font-size: var(--fs-card); }
.footer__nav li a:hover { color: var(--color-accent); }
.footer__copy { margin-top: var(--sp-7); text-align: center; opacity: .6; }


.phead { position: relative; overflow: hidden; padding: calc(var(--header-h) + var(--sp-7)) 0 var(--sp-6); }
.phead__en { font-family: var(--font-en); font-weight: 500; font-size: clamp(64px, 9vw, 150px); line-height: .9; letter-spacing: .02em; text-transform: uppercase; }
.crumb { margin-top: var(--sp-4); font-size: var(--fs-small); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumb li + li::before { content: "＞"; margin-right: 8px; opacity: .6; }
.crumb a { opacity: .75; }
.crumb a:hover { opacity: 1; }
.phead__title { margin-top: var(--sp-5); font-size: var(--fs-h2); }
.phead__lead { margin-top: 24px; }

.list-sec { padding-bottom: var(--sec-pad); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 4px; border-bottom: 1px solid var(--color-line); margin-bottom: var(--sp-5); }
.tab { position: relative; padding: 14px 28px; font-size: var(--fs-nav); letter-spacing: .08em; color: var(--color-text); }
.tab > span { opacity: .62; transition: opacity .4s; }
.tab:hover > span, .tab.is-active > span { opacity: 1; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-accent); transform: scaleX(0); transition: transform .6s var(--ease-out); }


.tab.is-active::after { transform: scaleX(1); }
.rows { display: grid; gap: 14px; }
.row { background: var(--color-surface); scroll-margin-top: calc(var(--header-h) + 24px); }
.row[hidden] { display: none; }
.row__line { display: grid; grid-template-columns: 150px 150px 1fr auto; align-items: center; gap: 32px; padding: 28px 40px; }
.row__date { font-size: var(--fs-card); letter-spacing: .12em; }
.row__tag .tag { min-width: 110px; text-align: center; }
.row__title { font-size: var(--fs-h3); transition: color .5s; }
a.row__line:hover .row__title { color: var(--color-accent); }
.row__price { font-size: var(--fs-card); white-space: nowrap; }
.row__price .num { font-size: var(--fs-h4); color: var(--color-main-ink); }
.row__open { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; margin: 0 40px; padding: 36px 0 44px; border-top: 1px solid var(--color-line); }
.row__ph { aspect-ratio: 3 / 2; }
.row__body p { line-height: 1.95; }
.spec { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: 16px 48px; }
.spec div { border-left: 2px solid var(--color-accent); padding-left: 16px; }
.spec dt { font-size: var(--fs-small); opacity: .75; }
.spec dd { font-size: var(--fs-h4); }
.rows__more { margin-top: var(--sp-5); text-align: right; }

.sub-sec { padding-block: var(--sp-8); border-top: 1px solid var(--color-line); overflow: hidden; scroll-margin-top: var(--header-h); }
.sub-sec__in { display: grid; grid-template-columns: 4fr 8fr; gap: var(--sp-5) var(--sp-6); }
.sub-sec__head .en { display: flex; align-items: center; gap: 14px; color: var(--color-main-ink); }
.sub-sec__head .en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.sub-sec__head h2 { margin-top: 18px; font-size: var(--fs-h2); }
.sub-sec__body .btn { margin-top: var(--sp-5); }
.sub-sec__body .price-table { margin-top: var(--sp-4); }
.who-tags { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: 12px; }
.steps--row { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(n) { margin-top: 0; }
  .svc:nth-child(even) { margin-top: 64px; }
  .steps--row { grid-template-columns: 1fr 1fr; }
  .row__line { grid-template-columns: 130px 130px 1fr; }
  .row__price { grid-column: 3; }
}
@media (max-width: 900px) {
  .off-item { width: 88%; }
  .off-item + .off-item { margin-top: var(--sp-6); }
  .off-item:nth-child(3) { margin-left: 0; }
  .off-close { padding-left: 0; }
  .estimate__ph { grid-column: 1 / 13; }
  .estimate__tx { grid-column: 2 / 13; grid-row: 2; margin: -64px 0 0; padding: 36px 28px 40px; }
  .svc-head { width: 100%; margin-top: var(--sp-8); }
  .price-flow { grid-template-columns: 1fr; }
  .flow { margin-top: var(--sp-8); }
  .faq { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
  .sub-sec__in { grid-template-columns: 1fr; }
  .row__open { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  br.pc { display: none; }
  br.sp { display: inline; }
  .off-item { width: 94%; }
  .off-item__tx { width: 92%; margin-top: -48px; padding: 24px 24px 28px; }
  .svc-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc:nth-child(n) { margin-top: 0; }
  .svc:nth-child(even) { margin-left: 10%; }
  .svc:nth-child(odd) { margin-right: 10%; }
  .steps, .steps--row { grid-template-columns: 1fr; gap: 28px; }
  .price-table td .num { font-size: var(--fs-body); }
  .faq__head .btn, .price .btn, .flow .btn, .sec-foot .btn, .sub-sec__body .btn { width: 100%; }
  .cta__btns .btn { width: 100%; }
  .tabs { flex-wrap: nowrap; }
  .tab { flex: 1 1 auto; padding: 12px 8px; font-size: var(--fs-small); text-align: center; }
  .row__line { grid-template-columns: auto 1fr; gap: 10px 16px; padding: 20px; }
  .row__title, .row__price { grid-column: 1 / -1; }
  .row__open { margin: 0 20px; padding: 20px 0 28px; }
  .phead__en { font-size: 56px; }
}


.btn { padding-inline: 20px; }
.works__track { padding-left: 64px; }
.sec-works.is-free .works__view { scroll-padding-left: 64px; }
@media (max-width: 767px) {
  .works__track { padding-left: var(--gutter); }
  .oneline { display: inline-block; }
  .oneline .num { margin-inline: 2px; }
}


@media (min-width: 768px) {
  .is-shot .sec-works.is-free .works { height: auto; max-height: none; padding-block: var(--sec-pad); }
  .is-shot .sec-works.is-free .works__view { overflow: visible; padding-bottom: 0; }
  .is-shot .sec-works.is-free .works__track { width: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 48px; }
  .is-shot .sec-works.is-free .wcard { width: auto; }
}
