:root {
--ink: #3b2b1f;
--muted: #35302b;
--taupe: #9e9a8c;
--rule: rgba(59, 43, 31, .28);
--ph-line: rgba(59, 43, 31, .45);
--ph-fill: rgba(59, 43, 31, .05);
--ja: 'YakuHanJP', 'Zen Kaku Gothic New', 'Hiragino Sans', system-ui, sans-serif;
--en: 'Optima', 'LK Optima Fallback', sans-serif;
--left: clamp(280px, 26vw, 400px);
color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--taupe); }
body { margin: 0; background: var(--taupe); color: var(--ink); font: 400 17px/2 var(--ja); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
p { margin: 0; }
html.lenis, html.lenis body { height: auto; }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; height: 100lvh; z-index: 0; pointer-events: none; opacity: 0; }
html.webgl #bg { opacity: 1; }
.rail { position: fixed; top: calc(40px + env(safe-area-inset-top, 0px)); left: max(48px, env(safe-area-inset-left, 0px)); z-index: 10; width: 184px; color: var(--ink); }
.logo { display: block; width: 180px; height: 43px; position: relative; overflow: hidden; }
.logo img { position: absolute; width: 267.51px; max-width: none; height: auto; left: -45.67px; top: -102.8px; }
.rail nav { margin-top: 96px; display: flex; flex-direction: column; gap: 4px; }
.rail nav a { display: flex; align-items: center; min-height: 40px; font: 400 16px/1.4 var(--en); text-decoration: none; letter-spacing: .015em; opacity: .9; }
.rail nav a:hover, .rail nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.menu-button { display: none; }
.menu { display: contents; }
main { position: relative; z-index: 2; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
.page-head, .cat, .page-foot { margin-left: var(--left); }
.page-head { padding-top: 168px; display: grid; gap: 10px; }
.crumb { font: 400 13px/1.6 var(--en); letter-spacing: .08em; color: var(--muted); }
.crumb a { text-decoration: none; border-bottom: 1px solid currentColor; }
.crumb span { margin: 0 .6em; }
.eyebrow { font: 500 13px/1.4 var(--en); letter-spacing: .14em; color: var(--muted); }
h1 { margin: 0; font: 500 40px/1.4 var(--ja); letter-spacing: .04em; }
.cat { margin-top: 160px; display: grid; gap: 48px; }
.cat-title { margin: 0; display: grid; gap: 6px; font: 500 28px/1.5 var(--ja); letter-spacing: .04em; }
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.work-photo { grid-column: 1 / 8; grid-row: 1; }
.work-text { grid-column: 9 / 13; grid-row: 1; display: grid; gap: 14px; align-content: end; min-width: 0; padding-bottom: 8px; }
.cat.flip .work-photo { grid-column: 6 / 13; }
.cat.flip .work-text { grid-column: 1 / 5; }
h3 { margin: 0; font: 500 26px/1.45 var(--ja); letter-spacing: .02em; }
.work-meta { font-size: 14px; line-height: 1.8; letter-spacing: .06em; color: var(--muted); }
.work-desc { font-size: 16px; line-height: 2; letter-spacing: .04em; }
.site-link { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 28px; border: 1px solid currentColor; text-decoration: none; font: 500 15px/1.5 var(--ja); letter-spacing: .06em; transition: background-color .2s ease, color .2s ease; }
.site-link:active { background: var(--ink); color: var(--taupe); }
.todo { font-size: 12px; line-height: 1.8; color: var(--muted); }
.site-soon { justify-self: start; display: inline-flex; align-items: center; min-height: 52px; padding: 12px 28px; border: 1px dashed var(--ph-line); font: 500 15px/1.5 var(--ja); letter-spacing: .06em; color: var(--muted); }
.photo-frame { position: relative; overflow: hidden; aspect-ratio: 3 / 2; isolation: isolate; }
.photo-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.1); will-change: transform; }
.photo-frame.ph { display: grid; place-items: center; text-align: center; border: 1px dashed var(--ph-line); background: var(--ph-fill); color: var(--muted); font: 400 12px/1.6 var(--en); letter-spacing: .1em; }
.photo-frame.ph small { display: block; font: 400 12px/1.6 var(--ja); letter-spacing: .04em; }
.ph-grid { position: absolute; inset: 0; z-index: -1; transform: scale(1.1); opacity: .3; background-image: linear-gradient(var(--ph-line) 1px, transparent 1px), linear-gradient(90deg, var(--ph-line) 1px, transparent 1px); background-size: 48px 48px; }
.work-name { margin: 0; font: 500 26px/1.45 var(--ja); letter-spacing: .02em; }
.cross { margin-left: var(--left); margin-top: 140px; display: flex; justify-content: center; }
.cross-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; min-width: 300px; padding: 14px 40px; border: 1px solid currentColor; text-decoration: none; font: 500 15px/1.5 var(--ja); letter-spacing: .06em; transition: background-color .2s ease, color .2s ease; }
.cross-link:active { background: var(--ink); color: var(--taupe); }
h1 span { display: inline-block; }
.policy { margin-left: var(--left); margin-top: 88px; max-width: 42em; font-size: 16px; line-height: 2; letter-spacing: .03em; }
.policy > p { margin-bottom: 8px; }
.policy section { margin-top: 56px; scroll-margin-top: 120px; }
.policy h2 { margin: 0 0 14px; font: 500 20px/1.6 var(--ja); letter-spacing: .04em; }
.policy section p + p, .policy section p + .items, .policy section .items + p { margin-top: 12px; }
.policy .items { list-style: none; margin: 12px 0 0; padding: 0 0 0 1em; }
.policy .items li + li { margin-top: 6px; }
.policy .items li.hang1 { padding-left: 1em; text-indent: -1em; }
.policy .items li.hang2 { padding-left: 2.2em; text-indent: -2.2em; }
.policy .closing-block { margin-top: 56px; text-align: right; }
.page-foot { margin-top: 140px; padding: 40px 0 120px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.back { display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/1.4 var(--en); letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid currentColor; }
footer { font-size: 12px; color: var(--muted); }
.rv { opacity: 0; transform: translateY(32px); filter: blur(8px); }
.rv.in { opacity: 1; transform: none; filter: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 100; width: 0; height: 0; pointer-events: none; color: var(--ink); }
.cursor::before { content: ''; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; box-sizing: border-box; border: 1px solid color-mix(in srgb, currentColor 70%, transparent); border-radius: 50%; transition: width .2s cubic-bezier(.22, 1, .36, 1), height .2s cubic-bezier(.22, 1, .36, 1), left .2s cubic-bezier(.22, 1, .36, 1), top .2s cubic-bezier(.22, 1, .36, 1), background-color .2s ease, transform .1s ease, opacity .2s ease; }
.cursor.is-link::before { left: -24px; top: -24px; width: 48px; height: 48px; background: color-mix(in srgb, currentColor 10%, transparent); }
.cursor.is-down::before { transform: scale(.9); }
.cursor.is-out::before { opacity: 0; }
html:not(.has-cursor) .cursor { display: none; }
html.has-cursor, html.has-cursor * { cursor: none; }
@media (max-width: 1024px) {
:root { --left: 0px; }
body { font-size: 16px; }
main { padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.rail { top: 0; left: 0; right: 0; width: auto; display: flex; align-items: center; justify-content: space-between; padding: calc(16px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.logo, .menu-button { pointer-events: auto; }
.logo { width: 128px; height: 31px; z-index: 12; }
.logo img { width: 190.23px; left: -32.48px; top: -72.88px; }
.menu-button { display: block; position: relative; z-index: 12; flex: none; width: 48px; height: 48px; padding: 0; color: inherit; border: 1px solid color-mix(in srgb, currentColor 65%, transparent); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-line { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; margin: -.75px 0 0 -9px; border-radius: 1px; background: currentColor; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.menu-line:first-child { transform: translateY(-3px); }
.menu-line:last-child { transform: translateY(3px); }
html.menu-open .menu-line:first-child { transform: rotate(45deg); }
html.menu-open .menu-line:last-child { transform: rotate(-45deg); }
.menu { display: flex; position: fixed; inset: 0; z-index: 11; flex-direction: column; justify-content: center; padding: calc(96px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 48px max(24px, env(safe-area-inset-left, 0px)); background: rgba(158, 154, 140, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; pointer-events: auto; transition: opacity .3s ease, visibility 0s linear .3s; }
html.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .3s ease; }
html.menu-open, html.menu-open body { overflow: hidden; }
.rail nav { margin: 0; gap: 8px; }
.rail nav a { min-height: 56px; font-size: 28px; }
.page-head { padding-top: 120px; }
h1 { font-size: 32px; }
.cat { margin-top: 104px; gap: 32px; }
.cat-title { font-size: 22px; }
.work { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
.work-photo { width: 100%; }
.work-text { padding: 0; }
.cross { margin-left: 0; margin-top: 96px; }
.policy { margin-left: 0; margin-top: 56px; font-size: 15px; }
.policy section { margin-top: 44px; }
.policy h2 { font-size: 18px; }
.policy .items { padding-left: 0; }
.cross-link { width: 100%; min-width: 0; padding: 14px 20px; }
.page-foot { margin-top: 96px; padding-bottom: 80px; }
}
html.rm .rv { opacity: 1; transform: none; filter: none; }
:root { --display: 'Optima', 'LK Optima Fallback', 'YakuHanJP', 'Zen Kaku Gothic New', sans-serif; }
body { font-weight: 500; letter-spacing: .06em; line-height: 1.9; font-feature-settings: "palt"; }
h1, h2, h3, .mission, .vision, .ja, .cat-title, .msg-head { letter-spacing: .05em; line-height: 1.65; font-feature-settings: "palt"; }
p, li, dt, dd, label, .lead, .msg-body, .work-desc, .policy, .demo-notice, .msg-career, .msg-sign, .work-meta, .todo, footer { letter-spacing: .06em; }
.policy, dt, dd { line-height: 1.9; }
.lead, .msg-body, .work-desc { font-size: 16px; line-height: 2.1; letter-spacing: .06em; }
.en, .label, .work-name { font-family: var(--display); font-weight: 400; }
.en { letter-spacing: -.01em; line-height: 1.12; }
.label { letter-spacing: .04em; }
.work-name { letter-spacing: .01em; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, .msg-head, .cat-title, .mission, .vision { text-wrap: balance; }
h1 span { display: inline-block; }
.mission { font-size: 26px; }
.company div { font-size: 16px; }
.work-name { font-size: 24px; }
.msg-career { max-width: 30em; }
.copyright { white-space: nowrap; }
@media (max-width: 1024px) {
.mission { font-size: 22px; }
.lead, .msg-body, .work-desc { font-size: 15px; line-height: 2; }
h1 { font-size: 28px; }
footer { flex-direction: column; align-items: flex-start; gap: 14px; }
.rail::before { content: ''; position: fixed; left: 0; right: 0; top: 0; height: calc(92px + env(safe-area-inset-top, 0px)); z-index: -1; pointer-events: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent); mask-image: linear-gradient(to bottom, #000 50%, transparent); }
}
:root { --en: 'Optima', 'LK Optima Fallback', sans-serif; }
.en-word { font-family: var(--en); font-weight: 400; letter-spacing: .02em; }
.eyebrow { font-size: 14px; letter-spacing: .1em; }
.crumb { font-size: 14px; letter-spacing: .06em; }
.ph { font-size: 13px; }
.rail nav a { letter-spacing: .03em; }
.sec-head, .page-head { gap: 12px; }
.sec-head .eyebrow, .page-head .eyebrow { font-family: var(--en); font-size: 44px; font-weight: 400; line-height: 1.1; letter-spacing: 0; color: var(--ink); }
.sec-head h2, .page-head h1 { font-family: var(--ja); font-size: 13px; font-weight: 400; line-height: 1.7; letter-spacing: .16em; color: var(--muted); }
@media (max-width: 1024px) {
.sec-head .eyebrow, .page-head .eyebrow { font-size: 28px; }
}
:root { --btn-radius: 999px; }
.case-link, .msg-toggle, .submit, .site-link, .site-soon, .cross-link { border-radius: var(--btn-radius); }
.nav-ja { display: none; }
@media (max-width: 1024px) {
.rail nav { gap: 14px; }
.rail nav a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 1.25; }
.nav-ja { display: block; font: 400 13px/1.6 var(--ja); letter-spacing: .16em; opacity: .72; text-decoration: none; }
}
.rail nav a { transform-origin: left center; transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .3s ease; }
.rail nav a:hover, .rail nav a[aria-current] { text-decoration: none; transform: scale(1.08); opacity: 1; }
.nav-gauge { display: none; }
@media (min-width: 1025px) {
.rail nav { position: relative; }
.nav-gauge { display: block; position: absolute; left: -20px; top: 8px; bottom: 8px; width: 1px; background: color-mix(in srgb, currentColor 22%, transparent); pointer-events: none; }
.nav-gauge i { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: currentColor; }
.nav-gauge i::after { content: ''; position: absolute; left: -2px; bottom: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.rail nav a.is-here { transform: scale(1.08); opacity: 1; }
}
.case-link, .cross-link, .site-link, .msg-toggle, .submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 0 14px 0 32px; text-align: left; }
.case-link, .cross-link { min-width: 340px; }
.site-link, .msg-toggle, .submit { min-width: 260px; }
.site-soon { min-height: 64px; padding: 0 32px; }
.submit { width: auto; border: 1px solid currentColor; background: transparent; color: var(--ink); font: 500 15px/1.5 var(--ja); letter-spacing: .06em; }
.submit:disabled { opacity: .5; cursor: not-allowed; }
.btn-arrow { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: currentColor; transition: background-color .2s ease; }
.btn-arrow svg { display: block; width: 15px; height: 15px; fill: none; stroke: #e8e1d3; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease, transform .3s cubic-bezier(.22, 1, .36, 1); }
.btn-arrow .msg-toggle-icon::before, .btn-arrow .msg-toggle-icon::after { background: #e8e1d3; }
:is(.case-link, .cross-link, .site-link):active .btn-arrow svg { stroke: #3b2b1f; }
.msg-toggle:active .btn-arrow .msg-toggle-icon::before, .msg-toggle:active .btn-arrow .msg-toggle-icon::after { background: #3b2b1f; }
@media (max-width: 1024px) {
.case-link, .cross-link, .site-link, .msg-toggle, .submit { min-height: 60px; padding: 0 14px 0 24px; gap: 16px; }
.case-link, .cross-link { min-width: 0; width: 100%; }
.btn-arrow { width: 32px; height: 32px; }
.btn-arrow svg { width: 14px; height: 14px; }
.site-soon { min-height: 60px; padding: 0 24px; }
}
@media (max-width: 389px) {   
.case-link, .cross-link { padding-left: 18px; gap: 10px; font-size: 14px; letter-spacing: .04em; }
}
@media (max-width: 339px) {   
.case-link, .cross-link { padding-left: 16px; gap: 8px; font-size: 13px; letter-spacing: .02em; }
}
.msg-career, .msg-body p, .work-desc, .policy p, .policy li { text-align: justify; text-justify: inter-character; word-break: normal; }
.msg-body { word-break: normal; }
.policy .closing-block p { text-align: right; }
.member .msg-career, .member .msg-full { justify-self: stretch; }
form .demo-notice { text-align: center; word-break: auto-phrase; }
.demo-notice a { white-space: nowrap; }
.submit { align-self: center; }
.page-foot { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; }
.member .msg-toggle, .site-link, .site-soon { justify-self: center; }
.nav-row { display: flex; align-items: center; gap: 6px; }
.nav-acc { position: relative; flex: none; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.nav-acc::before, .nav-acc::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; margin: -.5px 0 0 -5.5px; background: currentColor; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.nav-acc::after { transform: rotate(90deg); }
.nav-acc[aria-expanded="true"]::after { transform: rotate(0deg); }
.nav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22, 1, .36, 1); }
.nav-sub.is-open { grid-template-rows: 1fr; }
.nav-sub > div { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.rail nav .nav-sub a { min-height: 32px; padding-left: 0; font: 400 13px/1.5 var(--ja); letter-spacing: .06em; opacity: .85; }
@media (max-width: 1024px) {
.nav-acc { width: 44px; height: 44px; }
.nav-acc::before, .nav-acc::after { width: 16px; margin-left: -8px; }
.rail nav .nav-sub a { min-height: 44px; padding-left: 0; font-size: 15px; }   
.rail .menu .nav-acc { transition: opacity .5s cubic-bezier(.22, 1, .36, 1) var(--d, .2s), translate .5s cubic-bezier(.22, 1, .36, 1) var(--d, .2s); }
html:not(.menu-open):not(.rm) .rail .menu .nav-acc { opacity: 0; translate: 0 16px; transition: opacity .25s ease, translate .25s ease; }
}
#service-succession, #service-akiya, #service-ai-lab { scroll-margin-top: 72px; }
@media (max-width: 1024px) { #service-succession, #service-akiya, #service-ai-lab { scroll-margin-top: 120px; } }
.work-text .site-link, .work-text .site-soon { margin-top: 18px; }   
.submit { margin-top: 12px; }   
.site-foot { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: normal; align-items: start; gap: 40px; margin-top: 120px; padding: 0; border-top: 0; color: var(--ink); font-size: 13px; text-align: left; }
.page-foot .site-foot { align-self: stretch; width: 100%; margin-top: 32px; }
.sf-logo { --w: 180px; position: relative; display: block; width: var(--w); height: calc(var(--w) * 43 / 180); overflow: hidden; }
.sf-logo img { position: absolute; max-width: none; height: auto; width: calc(var(--w) * 267.51 / 180); left: calc(var(--w) * -45.67 / 180); top: calc(var(--w) * -102.8 / 180); }
.sf-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sf-nav > a, .sf-row > a { display: flex; align-items: center; min-height: 44px; font: 400 16px/1.4 var(--en); letter-spacing: .015em; color: var(--ink); text-decoration: none; transform-origin: left center; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.sf-nav > a:hover, .sf-row > a:hover { transform: scale(1.08); }
.sf-group { display: grid; }
.sf-row { display: flex; align-items: center; gap: 2px; }
.sf-nav .nav-sub a { display: flex; align-items: center; min-height: 32px; font: 400 13px/1.5 var(--ja); letter-spacing: .06em; color: var(--ink); text-decoration: none; opacity: .85; }
.sf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 40px; }
.sf-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sf-company { margin: 0; font-style: normal; font-size: 13px; line-height: 1.9; letter-spacing: .06em; }
.sf-legal { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-left: auto; text-align: right; font-size: 12px; }
.sf-legal a { text-underline-offset: 3px; }
@media (max-width: 1024px) {
.site-foot { margin-top: 96px; }
.sf-head { align-items: center; text-align: center; }
.sf-bottom { justify-content: center; }
.sf-legal { align-items: center; text-align: center; margin-left: 0; }
}
@media (min-width: 768px) {   
.sf-group .nav-sub { width: 0; }
.sf-group .nav-sub > div { width: max-content; }
}
@media (max-width: 767px) {
.site-foot { gap: 32px; }
.sf-logo { --w: 140px; }
.sf-nav { display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(4, auto); grid-auto-flow: column; justify-content: center; column-gap: 48px; row-gap: 0; }
.sf-nav > a, .sf-row > a { font-size: 17px; }
.sf-bottom { flex-direction: column; align-items: stretch; gap: 28px; }
}
@media (max-width: 1024px) {
.menu { justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; }
.menu .menu-ground { position: fixed; }
.rail .menu nav { margin-block: auto; gap: 0; }
.menu nav > a, .menu .nav-group { border-bottom: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
.menu nav > a:last-child { border-bottom: 0; }
.rail .menu nav > a, .rail .menu .nav-row > a { padding: 12px 0; }
.menu .nav-row > a { flex: 1; }
.menu .nav-sub a:last-child { margin-bottom: 10px; }   
.rail .menu nav a:hover, .rail .menu nav a[aria-current] { transform: none; }
.rail .menu nav a .nav-en { transform-origin: left center; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.rail .menu nav a:hover .nav-en, .rail .menu nav a[aria-current] .nav-en { transform: scale(1.08); }
.rail .menu .nav-group { transition: opacity .5s cubic-bezier(.22, 1, .36, 1) var(--d, .2s), translate .5s cubic-bezier(.22, 1, .36, 1) var(--d, .2s); }
html:not(.menu-open):not(.rm) .rail .menu .nav-group { opacity: 0; translate: 0 16px; transition: opacity .25s ease, translate .25s ease; }
html:not(.menu-open):not(.rm) .rail .menu .nav-group :is(a, .nav-acc) { opacity: 1; translate: none; }
}
.contact-cta { position: fixed; z-index: 12; top: calc(42px + env(safe-area-inset-top, 0px)); right: max(48px, env(safe-area-inset-right, 0px)); display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 22px; border-radius: var(--btn-radius, 999px); background: currentColor; text-decoration: none; transition: opacity .3s ease; }
.contact-cta::before { content: ''; position: absolute; inset: -4px 0; }
.contact-cta span { color: var(--cta-text); font: 400 15px/1 var(--en); letter-spacing: .04em; white-space: nowrap; transition: color .35s ease; }
:root { --cta-text: #e8e1d3; }
.menu-ground { display: none; }
@media (max-width: 1024px) {
:root { --menu-ground: rgb(145, 140, 126); --menu-ink: #2a1f16; --menu-ja: 1; }
.logo { flex: none; }   
.contact-cta { position: relative; top: auto; right: auto; z-index: 12; margin: 0 10px 0 auto; min-height: 36px; padding: 0 16px; pointer-events: auto; }
.contact-cta span { font-size: 14px; }
.menu { color: var(--menu-ink, inherit); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; visibility: hidden; transition: none; }
.menu .nav-ja { opacity: var(--menu-ja, .72); }
html.menu-open .menu, .menu.is-live { visibility: visible; transition: none; }
html:not(.menu-open) .menu { pointer-events: none; }
.menu-ground { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.menu nav { position: relative; }
.rail .menu nav a { transition: opacity .5s cubic-bezier(.22, 1, .36, 1) var(--d, .2s), translate .5s cubic-bezier(.22, 1, .36, 1) var(--d, .2s), transform .3s cubic-bezier(.22, 1, .36, 1); }
html:not(.menu-open):not(.rm) .rail .menu nav a { opacity: 0; translate: 0 16px; transition: opacity .25s ease, translate .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1); }
html.menu-nogl .menu-ground { background: var(--menu-ground); clip-path: circle(0px at var(--mx, 100%) var(--my, 0px)); transition: clip-path .8s cubic-bezier(.33, 1, .68, 1); }
html.menu-nogl.menu-open .menu-ground { clip-path: circle(var(--mr, 150vmax) at var(--mx, 100%) var(--my, 0px)); }
html.rm .menu { opacity: 0; transition: opacity .2s ease; }
html.rm.menu-open .menu { opacity: 1; }
html.rm .menu-ground { background: var(--menu-ground); clip-path: none; transition: none; }
}
@media (max-width: 359px) {
.contact-cta { padding: 0 12px; margin-right: 8px; }
.contact-cta span { font-size: 13px; }
}
.consent[hidden], .consent-panel[hidden] { display: none !important; }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; padding: 14px max(24px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px)); background: rgba(59, 43, 31, .95); color: #e8e1d3; font: 400 13px/1.8 'YakuHanJP', 'Zen Kaku Gothic New', 'Hiragino Sans', system-ui, sans-serif; letter-spacing: .03em; transform: translateY(110%); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.consent.show { transform: none; }
.consent p { margin: 0; flex: 0 1 640px; min-width: 0; text-align: justify; text-justify: inter-character; }
.consent a, .consent-panel a { color: inherit; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.consent-btn { min-height: 44px; padding: 8px 22px; border: 1px solid currentColor; border-radius: var(--btn-radius, 999px); background: transparent; color: inherit; font: inherit; letter-spacing: .06em; text-indent: .06em; min-width: 132px; cursor: pointer; }   
.consent .consent-btn.primary { background: #e8e1d3; border-color: #e8e1d3; color: #3b2b1f; }
.consent-panel { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(59, 43, 31, .45); }
.consent-box { width: min(480px, 100%); display: grid; gap: 18px; padding: 28px; background: #efebe4; color: #3b2b1f; font: 400 14px/1.8 'YakuHanJP', 'Zen Kaku Gothic New', 'Hiragino Sans', system-ui, sans-serif; letter-spacing: .03em; box-shadow: 0 20px 60px rgba(59, 43, 31, .25); }
.consent-title { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: .06em; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(59, 43, 31, .2); border-bottom: 1px solid rgba(59, 43, 31, .2); cursor: pointer; }
.consent-row b { display: block; font-weight: 500; }
.consent-row small { display: block; font-size: 12px; color: #35302b; }
.consent-row input { flex: none; width: 22px; height: 22px; accent-color: #3b2b1f; }
.consent-note { margin: 0; font-size: 12px; color: #35302b; text-align: justify; text-justify: inter-character; }
.consent-box .consent-actions { justify-content: center; }
.consent-box .consent-btn.primary { background: #3b2b1f; border-color: #3b2b1f; color: #efebe4; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 767px) {
.consent p { text-align: center; text-justify: auto; word-break: auto-phrase; text-wrap: balance; }
}
@media (max-width: 1024px) {
.menu { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (hover: hover) and (pointer: fine) {
.logo, .sf-logo { transform-origin: left center; transition: transform var(--hover-dur) var(--hover-ease); }
.logo:hover, .sf-logo:hover { transform: scale(var(--hover-scale)); }
}
:root { --hover-scale: 1.05; --hover-dur: .3s; --hover-ease: cubic-bezier(.22, 1, .36, 1); }
:is(.case-link, .cross-link, .site-link, .msg-toggle, .submit, .contact-cta, .consent-btn, .menu-button):not(.rv:not(.in)) {
transition: transform var(--hover-dur) var(--hover-ease), background-color var(--hover-dur) ease, color var(--hover-dur) ease,
border-color var(--hover-dur) ease, box-shadow var(--hover-dur) ease, opacity var(--hover-dur) ease; }
.btn-arrow { transition: background-color var(--hover-dur) ease; }
.btn-arrow svg { transition: stroke var(--hover-dur) ease, transform var(--hover-dur) var(--hover-ease); }
.contact-cta span { transition: color var(--hover-dur) ease; }
:is(.sf-legal a, .link-button, .consent a, .consent-panel a, .demo-notice a, .crumb a, .back) {
text-decoration: none; border-bottom: 0; background-image: linear-gradient(currentColor, currentColor);
background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; }
@keyframes lk-line-redraw {
0% { background-size: 100% 1px; background-position: 100% 100%; animation-timing-function: cubic-bezier(.55, 0, .75, .4); }
50% { background-size: 0 1px; background-position: 100% 100%; }
50.1% { background-size: 0 1px; background-position: 0 100%; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
100% { background-size: 100% 1px; background-position: 0 100%; }
}
@media (hover: hover) and (pointer: fine) {
:is(.case-link, .cross-link, .site-link, .msg-toggle, .submit:not(:disabled), .contact-cta, .consent-btn, .menu-button):hover { transform: scale(var(--hover-scale)); }
:is(.case-link, .cross-link, .site-link, .msg-toggle, .submit:not(:disabled)):hover { background: var(--ink); color: var(--taupe); }
:is(.case-link, .cross-link, .site-link, .submit:not(:disabled)):hover .btn-arrow svg { stroke: #3b2b1f; }
.msg-toggle:hover .btn-arrow .msg-toggle-icon::before, .msg-toggle:hover .btn-arrow .msg-toggle-icon::after { background: #3b2b1f; }
:is(.case-link, .cross-link, .submit:not(:disabled)):hover .btn-arrow svg { transform: translateX(3px); }
.site-link:hover .btn-arrow svg { transform: translate(2px, -2px); }
.contact-cta:hover { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.contact-cta:hover span { color: inherit; }
.menu-button:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 14%, transparent); }
.consent .consent-btn:not(.primary):hover { background: #e8e1d3; border-color: #e8e1d3; color: #3b2b1f; }
.consent .consent-btn.primary:hover { background: transparent; border-color: #e8e1d3; color: #e8e1d3; }
.consent-box .consent-btn:not(.primary):hover { background: #3b2b1f; border-color: #3b2b1f; color: #efebe4; }
.consent-box .consent-btn.primary:hover { background: transparent; border-color: #3b2b1f; color: #3b2b1f; }
:is(.sf-legal a, .link-button, .consent a, .consent-panel a, .demo-notice a, .crumb a, .back):hover { animation: lk-line-redraw calc(var(--hover-dur) * 2) linear both; }
}
@media (prefers-reduced-motion: reduce) {
:root { --hover-scale: 1; }
.btn-arrow svg { transform: none !important; }
:is(.sf-legal a, .link-button, .consent a, .consent-panel a, .demo-notice a, .crumb a, .back):hover { animation: none !important; }
}
