:root {
    --sidebar: 320px;
    --ink: #0d0d0d;
    --brown: #413031;
    --content-max: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, "Noto Sans JP", sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-navigation { position: fixed; inset: 0 auto 0 0; z-index: 50; width: var(--sidebar); padding: 0 34px 42px; display: flex; flex-direction: column; background: transparent; }
.nav-logo { display: block; position: relative; top: 24px; width: 315px; max-width: calc(100% + 34px); margin: -17px 0 5px -34px; }
.site-navigation nav { margin: 0 31px; }
.site-navigation nav a { display: block; padding: 18px 0 16px 34px; border-bottom: 2px solid #111; font-family: "Inria Serif", serif; font-size: 32px; font-weight: 700; }
.nav-contact-label { display: block; margin-top: 8px; font-family: Inter, "Noto Sans JP", sans-serif; font-size: 13px; line-height: 1.5; font-weight: 900; }
.line-contact { margin: 32px 65px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; }
.line-contact img { width: 82px; height: 82px; }
.menu-toggle { display: none; }
main, .site-footer { margin-left: var(--sidebar); }

body.admin-bar { --hero-top-offset: var(--wp-admin--admin-bar--height, 32px); }
.hero { position: relative; margin-left: calc(-1 * var(--sidebar)); height: calc(100vh - var(--hero-top-offset, 0px)); height: calc(100dvh - var(--hero-top-offset, 0px)); overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12)); pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; top: 176px; left: calc(var(--sidebar) + (100% - var(--sidebar)) * .134); right: 0; }
.hero-copy p { margin: 0 0 35px; font-size: clamp(22px, 3.1vw, 40px); font-weight: 900; }
.hero-copy h1 { margin: 0; max-width: 850px; font-size: clamp(78px, 10vw, 128px); line-height: .98; letter-spacing: -.055em; font-weight: 900; }
.hero-copy h1 span { display: block; margin-left: 28%; }

.section-shell { max-width: var(--content-max); margin: 0 auto; }
.section-title { margin: 0; padding: 12px 0 4px; text-align: center; font-family: "Abhaya Libre", "Inria Serif", serif; font-size: 128px; line-height: 1.1; font-weight: 800; }
.concept-visual { position: relative; height: 610px; margin-left: 46px; margin-right: min(0px, calc((var(--content-max) - (100vw - var(--sidebar))) / 2)); overflow: hidden; }
.concept-visual img { width: 100%; height: 100%; object-fit: cover; }
.concept-visual p { position: absolute; top: 22px; left: 9%; margin: 0; font-family: "Shippori Mincho", serif; font-size: clamp(42px, 5vw, 64px); line-height: 1.45; font-weight: 800; text-shadow: 4px 4px 4px rgba(0,0,0,.33); }
.concept-visual p span { display: inline-block; margin-left: 1.2em; }

.points { padding: 62px 0 32px 36px; }
.point-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; min-height: 430px; margin-bottom: 56px; }
.point-number { position: relative; z-index: 2; width: 189px; height: 227px; margin-right: -1px; border: 1px solid #111; border-radius: 10px; background: #fff; box-shadow: 4px 4px 4px #000; display: flex; flex-direction: column; align-items: center; }
.point-number span { margin-top: 8px; font-size: 46px; font-weight: 900; }
.point-number strong { margin-top: 32px; font-size: 58px; font-weight: 900; }
.point-copy { min-height: 430px; padding: 47px 55px 47px 140px; border: 3px solid #111; display: flex; flex-direction: column; justify-content: center; }
.point-copy h3 { margin: 0 0 30px; font-size: clamp(30px, 3.75vw, 48px); line-height: 1.2; font-weight: 900; }
.point-copy p { margin: 0 0 0 16px; font-size: clamp(24px, 3.1vw, 40px); line-height: 1.2; font-weight: 900; }

.brand-marquee { width: 100%; overflow: hidden; white-space: nowrap; }
.brand-marquee div { width: max-content; font-family: "Inria Serif", serif; font-size: 96px; line-height: 1.3; font-weight: 700; animation: marquee 24s linear infinite; }
@keyframes marquee { to { transform: translateX(-25%); } }

.flow .section-title, .plan .section-title { font-family: "Inria Serif", serif; }
.flow-list { padding: 0 0 8px 40px; }
.flow-list, .plan-stage { margin-right: min(0px, calc((var(--content-max) - (100vw - var(--sidebar))) / 2)); }
.flow-card { position: relative; height: 609px; margin-bottom: 75px; overflow: hidden; }
.flow-card img { width: 100%; height: 100%; object-fit: cover; }
.flow-card.has-parallax > img { position: absolute; top: -36px; left: 0; height: calc(100% + 72px); transform: translateY(var(--flow-parallax-y, 0px)); }
.flow-heading { position: absolute; top: 32px; right: 0; width: 95%; min-height: 105px; padding: 12px 17%; background: rgba(245,245,245,.73); font-size: clamp(37px, 5vw, 64px); line-height: 1.25; font-weight: 700; }
.flow-card p { position: absolute; top: 194px; right: 0; width: 95%; min-height: 308px; margin: 0; padding: 30px 17%; display: flex; align-items: flex-start; background: rgba(228,228,228,.73); font-size: clamp(25px, 3.1vw, 40px); line-height: 1.2; font-weight: 700; }

.plan { padding-bottom: 95px; }
.plan-stage { position: relative; height: 853px; overflow: hidden; }
.plan-stage > img { width: 100%; height: 100%; object-fit: cover; }
.plan-stage > .plan-background { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
@keyframes plan-sea {
    0%, 27%, 66%, 100% { opacity: 0; }
    33%, 60% { opacity: 1; }
}
@keyframes plan-meeting {
    0%, 60%, 100% { opacity: 0; }
    66%, 94% { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
    .plan-background-sea { animation: plan-sea 18s linear infinite; }
    .plan-background-meeting { animation: plan-meeting 18s linear infinite; }
}
.plan-list { position: absolute; top: 60px; right: 0; width: 88%; }
.plan-list article { height: 200px; margin-bottom: 32px; padding: 16px 7.5%; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; background: rgba(249,249,249,.7); }
.plan-list h3 { margin: 0 0 20px; color: #8a681f; font-size: 48px; line-height: 1; }
.plan-list p { margin: 0; font-size: 24px; line-height: 1.45; font-weight: 700; }
.plan-detail { position: absolute; right: 14px; bottom: 14px; width: 320px; height: 110px; padding-right: 28px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(255,255,255,.32)); border: 1px solid rgba(255,255,255,.75); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 24px rgba(40,30,15,.15); overflow: hidden; isolation: isolate; font-family: "Source Serif 4", serif; font-size: 24px; font-weight: 700; }
.plan-detail::before { content: ""; position: absolute; inset: -50% auto -50% -65%; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transform: translateX(0) skewX(-22deg); pointer-events: none; z-index: -1; }
@keyframes plan-detail-shine {
    0%, 65% { transform: translateX(0) skewX(-22deg); }
    90%, 100% { transform: translateX(420%) skewX(-22deg); }
}
@media (prefers-reduced-motion: no-preference) {
    .plan-detail::before { animation: plan-detail-shine 5.5s ease-in-out infinite; }
}
.plan-detail span { font-size: 20px; white-space: nowrap; flex-shrink: 0; }
.plan-detail img { width: 147px; height: 147px; object-fit: contain; flex-shrink: 0; }

.contact-cta { margin: 0; padding: 0 28px 100px; display: flex; justify-content: flex-end; }
.contact-cta a { width: 380px; max-width: 100%; height: 88px; padding: 0 28px; gap: 20px; border: 1px solid #111; box-shadow: 3px 3px 4px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: space-between; font-family: "Source Serif 4", serif; white-space: nowrap; }
.contact-cta span { font-size: 24px; font-weight: 700; }
.contact-cta strong { font-size: 32px; }
.contact-cta .contact-arrow { font-family: sans-serif; font-size: 30px; }
@keyframes contact-arrow-move {
    0% { transform: translateX(-7px); opacity: 0; }
    20%, 70% { opacity: 1; }
    100% { transform: translateX(7px); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
    .contact-arrow { animation: contact-arrow-move 1.8s ease-in-out infinite; }
}

.site-footer { position: relative; min-height: 820px; padding: 68px 46px; background: var(--brown); color: #fff; }
.site-footer::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: var(--sidebar); background: var(--brown); pointer-events: none; }
.footer-links { display: grid; grid-template-columns: 200px 1fr; gap: 86px; }
.footer-links h2 { margin: 0 0 35px; font-size: 36px; }
.footer-links a { display: block; margin-bottom: 8px; font-size: 24px; font-weight: 700; }
.site-footer > p { position: absolute; right: 32px; bottom: 58px; margin: 0; font-size: 40px; font-weight: 700; }

@media (max-width: 900px) {
    :root { --sidebar: 0px; }
    main, .site-footer { margin-left: 0; }
    .menu-toggle { position: fixed; z-index: 80; top: 18px; right: 18px; width: 52px; height: 52px; padding: 13px 10px; border: 1px solid #111; background: rgba(255,255,255,.92); display: flex; flex-direction: column; justify-content: space-around; }
    .menu-toggle > span:not(.screen-reader-text) { height: 2px; background: #111; transition: .25s; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .site-navigation { width: min(320px, 86vw); background: #fff; transform: translateX(-105%); transition: transform .3s ease; box-shadow: 12px 0 40px rgba(0,0,0,.14); }
    .site-navigation.is-open { transform: translateX(0); }
    .hero-copy { top: 28%; left: 8%; }
    .hero-copy h1 { font-size: clamp(70px, 18vw, 118px); }
    .section-title { font-size: clamp(72px, 20vw, 112px); }
    .concept-visual { margin-left: 5vw; height: 62vw; min-height: 400px; }
    .points { padding: 50px 5vw; }
    .point-card { grid-template-columns: 60px minmax(0, 1fr); min-height: 290px; margin-bottom: 35px; }
    .point-number { width: 120px; height: 160px; }
    .point-number span { font-size: 28px; }
    .point-number strong { margin-top: 17px; font-size: 42px; }
    .point-copy { min-height: 290px; padding: 30px 30px 30px 90px; }
    .brand-marquee div { font-size: 64px; }
    .flow-list { padding-left: 5vw; }
    .flow-card { height: 64vw; min-height: 430px; margin-bottom: 42px; }
    .plan-stage { height: 760px; }
    .plan-list { width: 92%; }
    .plan-list article { padding-inline: 5%; }
    .contact-cta { padding: 0 5vw 80px; }
}

@media (max-width: 600px) {
    .hero-copy p { font-size: 18px; }
    .hero-copy h1 { font-size: 68px; }
    .hero-copy h1 span { margin-left: 12%; }
    .concept-visual { height: 470px; margin-left: 0; }
    .concept-visual p { left: 6%; font-size: 35px; }
    .point-card { display: block; margin-bottom: 42px; }
    .point-number { width: 108px; height: 128px; margin: 0 0 -34px 16px; }
    .point-number span { font-size: 25px; }
    .point-number strong { margin-top: 5px; font-size: 34px; }
    .point-copy { min-height: 280px; padding: 62px 24px 28px; }
    .point-copy h3 { font-size: 27px; }
    .point-copy p { margin: 0; font-size: 20px; }
    .flow-card { height: 470px; }
    .flow-heading { top: 28px; min-height: 78px; padding: 14px 10%; font-size: 35px; }
    .flow-card p { top: 145px; min-height: 220px; padding: 24px 10%; font-size: 21px; }
    .plan-stage { height: 720px; }
    .plan-list { top: 42px; }
    .plan-list article { height: 170px; grid-template-columns: 1fr; gap: 5px; }
    .plan-list h3 { margin-bottom: 9px; font-size: 34px; }
    .plan-list p { font-size: 16px; }
    .plan-list article > p { display: none; }
    .plan-detail { width: 250px; height: 86px; font-size: 18px; }
    .plan-detail span { font-size: 18px; }
    .plan-detail img { width: 105px; height: 105px; }
    .contact-cta a { height: 76px; padding-inline: 18px; gap: 12px; }
    .contact-cta span { font-size: 20px; }
    .contact-cta strong { font-size: 28px; }
    .site-footer { min-height: 520px; padding: 48px 28px; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-links h2 { font-size: 24px; }
    .footer-links a { font-size: 16px; }
    .site-footer > p { right: 24px; bottom: 30px; font-size: 25px; }
}

@media (prefers-reduced-motion: no-preference) {
    .site-navigation nav a { transition: color .25s ease, padding-left .25s ease; }
    .nav-logo, .line-contact img { transition: transform .3s ease; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .site-navigation nav a:hover { padding-left: 42px; color: #8a591c; }
    .nav-logo:hover, .line-contact:hover img { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .brand-marquee div { animation: none; }
}

.mobile-header, .hero-copy .mobile-tagline { display: none; }
@media (max-width: 900px) {
    .mobile-header { position: fixed; inset: 0 0 auto; height: 60px; z-index: 70; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 68px 0 0; pointer-events: none; }
    .mobile-header a { pointer-events: auto; }
    .mobile-logo { width: 65px; margin-top: -6px; }
    .mobile-logo img { width: 65px; height: 65px; object-fit: contain; }
    .mobile-line { margin-top: 8px; }
    .mobile-line img { width: 35px; height: 35px; }
    .cuore-home-page .menu-toggle { top: 6px; right: 18px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #eee6d8; display: grid; place-items: center; }
    .cuore-home-page .menu-toggle > span:not(.screen-reader-text) { display: none; }
    .cuore-home-page .menu-toggle::after { content: 'menu'; font: 11px 'Inria Serif', serif; }
    .cuore-home-page .menu-toggle[aria-expanded=true]::after { content: 'close'; }
    .cuore-home-page.admin-bar .mobile-header, .cuore-home-page.admin-bar .menu-toggle { margin-top: var(--wp-admin--admin-bar--height, 46px); }
    .site-navigation { overflow-y: auto; overscroll-behavior: contain; padding-top: 12px; visibility: hidden; transition: transform .3s ease, visibility .3s; }
    .site-navigation.is-open { visibility: visible; }
    body:has(.menu-toggle[aria-expanded=true]) { overflow: hidden; }
    .site-navigation .nav-logo { top: 0; }
    .site-navigation nav a { font-size: 26px; padding-block: 14px; }
    .site-navigation .line-contact { margin-top: 24px; }
    .cuore-home-page .hero { height: auto; aspect-ratio: 3 / 2; }
    .hero-image { position: absolute; inset: 0; }
    .hero-copy { top: 25%; left: 30%; right: 4%; }
    .hero-copy .mobile-tagline { display: block; }
    .hero-copy p { margin: 0 0 3px; font-size: clamp(12px, 3.48vw, 22px); line-height: 1.35; }
    .hero-copy p:not(.mobile-tagline) { margin-left: 10%; }
    .hero-copy h1 { margin-top: 6px; font-size: clamp(36px, 10vw, 82px); line-height: 1.15; letter-spacing: -.035em; }
    .hero-copy h1 span { margin-left: 26%; }
    .section-title { padding: 0; font-size: clamp(40px, 10vw, 76px); line-height: 1.35; }
    .concept-visual { margin: 0; height: auto; min-height: 0; aspect-ratio: 3 / 2; }
    .concept-visual img { position: absolute; inset: 0; }
    .concept-visual p { top: 12px; left: 7%; font-size: clamp(25px, 7.96vw, 52px); line-height: 1.45; text-shadow: 2px 2px 3px rgba(0,0,0,.3); }
    .concept-visual p span { margin-left: 1em; }
    .points { padding: 34px 12% 12px 7%; }
    .point-card { display: grid; grid-template-columns: 25px minmax(0,1fr); align-items: start; min-height: 148px; margin: 0 0 55px; }
    .point-number { width: 64px; height: 67px; margin: -24px 0 0; border-radius: 8px; box-shadow: 3px 3px 3px rgba(0,0,0,.8); }
    .point-number span { font-size: 15px; margin-top: 8px; }
    .point-number strong { font-size: 18px; margin-top: 5px; }
    .point-copy { min-height: 148px; padding: 17px 12px 18px 50px; border-width: 2px; }
    .point-copy h3 { margin: 0 0 16px; font-size: clamp(16px, 4.48vw, 26px); line-height: 1.35; }
    .point-copy p { margin: 0; font-size: clamp(13px, 3.48vw, 20px); line-height: 1.35; }
    .point-copy br { display: none; }
    .point-card:last-child { margin-bottom: 12px; }
    .brand-marquee div { font-size: 24px; line-height: 1.6; }
    .flow-list { padding: 0; margin: 0; }
    .flow-card { height: auto; min-height: 0; aspect-ratio: 3 / 2; margin-bottom: 34px; }
    .flow-card:not(.has-parallax) > img { position: absolute; inset: 0; }
    .flow-heading { top: 5%; width: 95%; min-height: 0; padding: 10px 8%; text-align: center; font-size: clamp(20px, 4.98vw, 34px); line-height: 1.35; }
    .flow-card p { top: 32%; width: 95%; min-height: 50%; padding: 12px 10% 14px 20%; font-size: clamp(14px, 3.98vw, 24px); line-height: 1.4; }
    .flow-card p br { display: none; }
    .flow-card:last-child { margin-bottom: 12px; }
    .plan { padding-bottom: 36px; }
    .plan-stage { margin: 0; height: auto; padding: 24px 0 104px; }
    .plan-stage > img { position: absolute; inset: 0; }
    .plan-list { position: relative; top: auto; right: auto; width: 94%; margin-left: auto; }
    .plan-list article { height: auto; min-height: 174px; margin-bottom: 16px; padding: 18px 20px; grid-template-columns: 1fr; gap: 12px; }
    .plan-list h3 { margin: 0 0 8px; font-size: 30px; }
    .plan-list p { font-size: 15px; line-height: 1.5; }
    .plan-list article > p { display: block; }
    .plan-list article > p br { display: none; }
    .plan-detail { width: 240px; height: 76px; right: 14px; bottom: 16px; padding-right: 20px; }
    .plan-detail img { width: 100px; height: 100px; }
    .plan-detail span { font-size: 18px; }
    .contact-cta { padding: 0 7% 44px; }
    .contact-cta a { width: 250px; height: 48px; padding: 0 14px; gap: 14px; }
    .contact-cta span { font-size: 16px; }
    .contact-cta strong { font-size: 22px; }
    .contact-cta .contact-arrow { font-size: 22px; }
    .site-footer { min-height: 280px; padding: 48px 24px 60px; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-links h2 { margin-bottom: 16px; font-size: 20px; }
    .footer-links a { margin-bottom: 4px; font-size: 14px; }
    .site-footer > p { right: 18px; bottom: 20px; font-size: 13px; }
    section[id] { scroll-margin-top: 60px; }
}
@media (max-width: 360px) {
    .point-copy { padding-left: 44px; }
    .point-copy h3 { font-size: 15px; }
    .point-copy p { font-size: 12px; }
    .hero-copy p { font-size: 11px; }
}
