:root {
    --page: #f5f5f2;
    --wine: #550000;
    --stone: #b8ada3;
    --ink: #24211f;
    --muted: #6c6560;
    --line: rgba(85, 0, 0, 0.12);
    --stone-soft: rgba(184, 173, 163, 0.24);
    --stone-line: rgba(184, 173, 163, 0.45);
    --glass: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2) 60%, rgba(184, 173, 163, 0.16));
    --glass-edge: rgba(255, 255, 255, 0.72);
    --glass-blur: blur(28px) saturate(165%);
    --glass-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -18px 36px -24px rgba(184, 173, 163, 0.45);
    --shadow: 0 2px 6px rgba(54, 35, 29, 0.04), 0 18px 40px -12px rgba(54, 35, 29, 0.12), 0 40px 90px -30px rgba(85, 0, 0, 0.14);
    --ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);
    font-family: "Noto Sans JP", sans-serif;
    color: var(--ink);
    scroll-behavior: smooth;
    scroll-padding-top: 124px;
}

*, *::before, *::after { box-sizing: border-box; }

/* 背景色はルート（html）に持たせる。SP のオーバースクロール時に白が見えないようにし、
   body は透明にして背面の .ambient（z-index: -2）を覆わないようにする */
html { background: var(--page); }

body {
    margin: 0;
    overflow-x: hidden;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--wine);
    outline-offset: 4px;
}

.container { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }

/* Floating navigation */
.site-header { position: fixed; z-index: 50; top: 18px; left: 0; right: 0; padding-inline: 30px; }
.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    width: min(1450px, 100%);
    height: 90px;
    margin-inline: auto;
    padding: 0 14px 0 22px;
    border: 1px solid var(--glass-edge);
    border-radius: 18px;
    background: rgba(245, 245, 242, 0.78);
    box-shadow: 0 16px 52px rgba(47, 30, 25, 0.09);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
    backdrop-filter: blur(24px) saturate(135%);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: clamp(118px, 10vw, 142px); height: auto; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2.3vw, 34px); flex: 1; }
.desktop-nav a { color: #514a46; font-family: "DM Sans", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; transition: color 0.2s ease; }
.desktop-nav a:hover, .mobile-menu nav a:hover { color: var(--wine); }
.header-contact { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-width: 148px; height: 46px; border-radius: 12px; background: var(--wine); color: #fff; font-size: 0.75rem; font-weight: 700; transition: transform 0.2s ease, background 0.2s ease; }
.header-contact:hover { background: #751515; transform: translateY(-2px); }
.header-contact span { font-size: 1rem; font-weight: 400; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: min(900px, 100svh); padding: 126px 0 75px; overflow: hidden; }
.hero::before { position: absolute; top: -160px; right: -130px; width: 660px; height: 660px; border: 1px solid rgba(184, 173, 163, 0.22); border-radius: 50%; content: ""; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); align-items: center; gap: clamp(48px, 6vw, 100px); min-height: 640px; }
.hero-content { padding: 12px 0 45px; }
.section-kicker, .profile-label { color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; }
.hero h1 { font-size: clamp(2.9rem, 5.2vw, 5.5rem); font-weight: 600; letter-spacing: -0.09em; line-height: 1.28; }
.hero h1 em { color: var(--wine); font-style: normal; }
.hero-lead { max-width: 620px; margin-top: 33px; color: var(--muted); font-size: clamp(0.98rem, 1.2vw, 1.13rem); line-height: 2.15; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 26px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; font-size: 0.82rem; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 1.2rem; font-weight: 400; }
.button-primary { background: var(--wine); color: #fff; box-shadow: 0 10px 24px rgba(85, 0, 0, 0.15); }
.button-primary:hover { background: #751515; }
.button-secondary { border-color: rgba(85, 0, 0, 0.2); background: rgba(255, 255, 255, 0.56); color: var(--wine); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.button-secondary:hover { background: #fff; border-color: rgba(85, 0, 0, 0.42); }
.scroll-cue { position: absolute; left: max(40px, calc((100% - 1320px) / 2)); bottom: 28px; display: flex; gap: 14px; align-items: center; color: #8a817a; font-family: "DM Sans", sans-serif; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.15em; }
.scroll-cue span { color: var(--wine); font-size: 1.2rem; }

/* Shared section patterns */
.section { padding: clamp(85px, 10vw, 145px) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.section-heading > div { flex: 0 0 auto; }
.section-heading > p { max-width: 390px; padding-bottom: 7px; color: var(--muted); font-size: 0.9rem; line-height: 2; }
.section-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.section-kicker span { color: inherit; }
.section h2 { font-size: clamp(2.1rem, 3.6vw, 3.7rem); font-weight: 600; letter-spacing: -0.075em; line-height: 1.42; }

/* Services */
.services-section { position: relative; border-top: 1px solid rgba(184, 173, 163, 0.2); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; padding: 30px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 20px; background: #b8ada3; box-shadow: var(--shadow); color: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(54, 35, 29, 0.13); }
.service-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-image { transform: scale(1.04); }
.service-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 14, 0.38), rgba(20, 15, 14, 0.12) 30%, rgba(20, 15, 14, 0.25) 50%, rgba(20, 15, 14, 0.86)); }
.service-number, .service-body { position: relative; }
.service-number { color: #fff; text-shadow: 0 1px 8px rgba(20, 15, 14, 0.35); font-family: "DM Sans", sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; }
.service-card h3 { margin-bottom: 12px; color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.04em; }
.service-card p { max-width: 28em; color: rgba(255, 255, 255, 0.86); font-size: 0.86rem; line-height: 1.9; }

/* Works */
.works-rail { display: flex; gap: 18px; margin-right: calc((min(1320px, 100vw - 80px) - 100vw) / 2); padding: 10px 40px 20px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--stone) transparent; scrollbar-width: thin; }
.work-card { position: relative; display: block; flex: 0 0 clamp(270px, 28vw, 365px); height: 430px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 20px; background: #b8ada3; box-shadow: var(--shadow); color: #fff; text-align: left; scroll-snap-align: start; }
.work-card img { width: 100%; height: 100%; object-fit: cover; }
.work-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 14, 0.08) 18%, rgba(20, 15, 14, 0.82)); }
.work-card-content { position: absolute; inset: auto 26px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.work-card-content small { font-family: "DM Sans", sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.work-card-content strong { font-size: 1.15rem; line-height: 1.55; }
.rail-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.rail-note { color: var(--muted); font-size: 0.8rem; }
.rail-buttons { display: flex; gap: 10px; }
.rail-button { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(184, 173, 163, 0.35)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 10px 24px -12px rgba(54, 35, 29, 0.35); color: var(--wine); font-size: 1.1rem; cursor: pointer; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform 0.3s var(--ease-out), background 0.3s ease; }
.rail-button:hover { transform: translateY(-2px); background: linear-gradient(135deg, #fff, rgba(184, 173, 163, 0.45)); }

/* Profile */
.profile-section { position: relative; }
.profile-card { display: grid; grid-template-columns: 0.8fr 1.2fr; min-height: 550px; overflow: hidden; border: 1px solid var(--glass-edge); border-radius: 24px; background: var(--glass); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px) saturate(130%); backdrop-filter: blur(20px) saturate(130%); }
.profile-photo { position: relative; min-height: 550px; overflow: hidden; background: var(--stone); }
.profile-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(34, 24, 22, 0.42)); content: ""; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.profile-photo > span { position: absolute; z-index: 1; bottom: 26px; left: 26px; color: #fff; font-family: "DM Sans", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; }
.profile-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(35px, 5vw, 75px); }
.profile-label { margin-bottom: 14px; }
.profile-content h3 { margin-bottom: 30px; color: var(--wine); font-size: clamp(1.7rem, 2.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.05em; }
.profile-content h3 span { display: block; margin-top: 5px; color: var(--stone); font-family: "DM Sans", sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; }
.profile-content > p:not(.profile-label) { margin-bottom: 18px; color: var(--muted); font-size: 0.88rem; line-height: 2; }
.profile-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 17px; }
.profile-links a { color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.76rem; font-weight: 700; border-bottom: 1px solid rgba(85, 0, 0, 0.28); transition: border-color 0.2s ease; }
.profile-links a:hover { border-color: var(--wine); }

/* Products */
.products-section { background: linear-gradient(180deg, transparent, rgba(184, 173, 163, 0.12) 60%, transparent); }

/* Information and footer */
.information-section { padding-bottom: 150px; }
.information-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.information-intro > p:not(.section-kicker) { max-width: 300px; margin-top: 25px; color: var(--muted); font-size: 0.9rem; line-height: 2; }
.information-intro .button { margin-top: 35px; }
.information-list { overflow: hidden; padding: 12px 32px; border: 1px solid var(--glass-edge); border-radius: 22px; background: var(--glass); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px) saturate(130%); backdrop-filter: blur(20px) saturate(130%); }
.information-list > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 21px 0; border-bottom: 1px solid rgba(184, 173, 163, 0.28); }
.information-list > div:last-child { border-bottom: 0; }
.information-list dt { color: var(--wine); font-size: 0.84rem; font-weight: 700; }
.information-list dd { color: var(--muted); font-size: 0.84rem; line-height: 1.9; }
.site-footer { padding: 45px 0; border-top: 1px solid rgba(184, 173, 163, 0.35); background: rgba(255, 255, 255, 0.36); }
.footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.footer-brand { display: inline-block; }
.footer-brand img { width: min(220px, 100%); height: auto; }
.footer-inner p, .footer-inner > a:last-child { color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 0.72rem; font-weight: 700; }
.footer-inner > a:last-child:hover { color: var(--wine); }

@media (max-width: 1100px) {
    .container { width: min(100% - 56px, 1320px); }
    .desktop-nav { gap: 14px; }
    .header-inner { gap: 15px; }
    .hero-inner { gap: 40px; }
    .hero h1 { font-size: clamp(2.7rem, 5.1vw, 4.3rem); }
}

@media (max-width: 900px) {
    :root { scroll-padding-top: 100px; }
    .site-header { top: 12px; padding-inline: 18px; }
    .header-inner { height: 76px; padding: 0 10px 0 18px; }
    .desktop-nav, .header-contact { display: none; }
    .mobile-menu { position: relative; display: block; margin-left: auto; }
    .mobile-menu summary { display: flex; align-items: center; gap: 11px; padding: 12px 14px; list-style: none; color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary i, .mobile-menu summary i::before, .mobile-menu summary i::after { display: block; width: 18px; height: 2px; background: var(--wine); content: ""; }
    .mobile-menu summary i { position: relative; }
    .mobile-menu summary i::before { position: absolute; top: -6px; }
    .mobile-menu summary i::after { position: absolute; top: 6px; }
    .mobile-menu nav { position: absolute; top: 59px; right: -10px; display: flex; flex-direction: column; width: min(280px, calc(100vw - 36px)); padding: 16px; border: 1px solid var(--glass-edge); border-radius: 16px; background: rgba(245, 245, 242, 0.94); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
    .mobile-menu nav a { padding: 10px 12px; border-bottom: 1px solid rgba(184, 173, 163, 0.25); font-family: "DM Sans", sans-serif; font-size: 0.88rem; font-weight: 700; }
    .mobile-menu nav a:last-child { border-bottom: 0; color: var(--wine); }
    .hero { min-height: 0; padding: 115px 0 75px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-content { padding: 20px 0 0; }
    .scroll-cue { display: none; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading { align-items: start; flex-direction: column; gap: 18px; }
    .profile-card { grid-template-columns: 0.9fr 1.1fr; }
    .profile-content { padding: 35px; }
    .information-layout { gap: 50px; }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 36px); }
    .site-header { padding-inline: 12px; }
    .header-inner { border-radius: 14px; }
    .brand img { width: 118px; }
    .hero { padding: 103px 0 50px; }
    .hero-inner { gap: 27px; }
    .hero-content { padding: 20px 0 0; }
    .hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
    .hero-lead { margin-top: 24px; font-size: 0.91rem; }
    .hero-actions { margin-top: 28px; }
    .button { min-height: 50px; padding: 0 18px; }
    .section { padding: 75px 0; }
    .section-heading { margin-bottom: 30px; }
    .section h2 { font-size: clamp(2rem, 8vw, 3rem); }
    .service-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-card { min-height: 300px; }
    .works-rail { margin-right: -18px; padding-right: 18px; }
    .work-card { flex-basis: 80vw; height: 385px; }
    .profile-card { grid-template-columns: 1fr; }
    .profile-photo { min-height: 0; height: 360px; }
    .profile-content { padding: 28px 24px 34px; }
    .information-layout { grid-template-columns: 1fr; gap: 35px; }
    .information-section { padding-bottom: 85px; }
    .information-list { padding: 5px 20px; }
    .information-list > div { grid-template-columns: 95px minmax(0, 1fr); gap: 10px; padding: 18px 0; }
    .footer-inner { align-items: start; flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Shared pages and navigation */
.desktop-nav a[aria-current="page"] { color: var(--wine); }
.mobile-menu nav a[aria-current="page"] { color: var(--wine); }
.breadcrumbs { padding-top: 126px; color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 0.74rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 11px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 11px; color: var(--stone); }
.breadcrumbs a:hover, .breadcrumbs [aria-current="page"] { color: var(--wine); }
.page-hero { padding-top: 56px; padding-bottom: 85px; }
.page-hero h1 { max-width: 1000px; color: var(--wine); font-size: clamp(2.9rem, 6vw, 5.8rem); font-weight: 600; letter-spacing: -0.08em; line-height: 1.25; }
.page-hero-lead { max-width: 720px; margin-top: 25px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 2; }
.page-section { padding-top: 20px; }
.section-link { display: inline-flex; align-items: center; gap: 26px; margin-top: 38px; padding-bottom: 8px; border-bottom: 1px solid var(--wine); color: var(--wine); font-size: 0.86rem; font-weight: 700; }
.section-link:hover { gap: 33px; }
.section-link span { font-size: 1.15rem; font-weight: 400; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.works-grid .work-card { height: 390px; }
.work-card-content h3 { color: #fff; font-size: 1.13rem; font-weight: 700; line-height: 1.55; }
.work-card-content p { color: rgba(255, 255, 255, 0.86); font-size: 0.78rem; }
.about-preview { border-top: 1px solid rgba(184, 173, 163, 0.25); }
.about-story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
.about-story > div:nth-child(2) > p { color: var(--muted); line-height: 2.15; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.about-links a { padding: 13px 19px; border: 1px solid rgba(85, 0, 0, 0.17); border-radius: 10px; background: var(--glass); color: var(--wine); font-size: 0.85rem; font-weight: 700; }
.about-links a:hover { border-color: var(--wine); }
.why-intro > p:not(.section-kicker) { margin-top: 24px; color: var(--muted); line-height: 2.15; }
.reason-list { margin: 0; padding: 0; list-style: none; }
.reason-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(184, 173, 163, 0.28); }
.reason-list li:first-child { padding-top: 0; }
.reason-list li:last-child { border-bottom: 0; }
.reason-list span { color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; line-height: 2.2; }
.reason-list h3 { margin-bottom: 10px; color: var(--ink); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -0.03em; }
.reason-list p { color: var(--muted); font-size: 0.9rem; line-height: 2; }
.profile-content h2 { margin-bottom: 30px; color: var(--wine); font-size: clamp(1.7rem, 2.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.05em; }
.profile-content h2 span { display: block; margin-top: 5px; color: var(--stone); font-family: "DM Sans", sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; }
.related-section { padding-top: 20px; }
.related-panel, .cta-panel, .contact-panel, .text-panel { border: 1px solid var(--glass-edge); border-radius: 24px; background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(20px) saturate(130%); }
.related-panel, .cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(30px, 5vw, 70px); }
.related-panel h2, .cta-panel h2 { margin-bottom: 12px; }
.related-panel p:not(.section-kicker), .cta-panel p:not(.section-kicker) { color: var(--muted); }
.related-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-section { padding-top: 15px; }
.cta-panel { background: linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(184, 173, 163, 0.25)); }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(36px, 5vw, 70px); padding: clamp(30px, 5vw, 70px); }
.contact-panel h2 { margin-bottom: 20px; }
.contact-panel p:not(.section-kicker) { max-width: 560px; color: var(--muted); }
.contact-panel .button { margin-top: 28px; }
.contact-panel .contact-email { margin-top: 12px; font-family: "DM Sans", sans-serif; font-size: 0.84rem; }
.text-panel { max-width: 1000px; padding: clamp(30px, 5vw, 70px); }
.text-panel h2 { margin-bottom: 20px; font-size: 1.5rem; }
.text-panel p + p { margin-top: 22px; }
.text-panel p { color: var(--muted); line-height: 2.1; }
.site-footer { padding: 65px 0 28px; }
.footer-main { display: flex; justify-content: space-between; gap: 60px; }
.footer-intro p { margin-top: 15px; color: var(--muted); font-size: 0.83rem; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(80px, 1fr)); gap: 15px 35px; }
.footer-nav a { color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 0.78rem; font-weight: 700; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--wine); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 0.73rem; }
.footer-bottom a { color: var(--muted); }

@media (max-width: 900px) {
    .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-story { gap: 40px; }
    .footer-main { flex-direction: column; }
    .footer-nav { max-width: 600px; }
}

@media (max-width: 640px) {
    .breadcrumbs { padding-top: 104px; }
    .page-hero { padding-top: 42px; padding-bottom: 45px; }
    .page-hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
    .works-grid { grid-template-columns: 1fr; }
    .works-grid .work-card { height: 350px; }
    .about-story, .contact-panel { grid-template-columns: 1fr; }
    .related-panel, .cta-panel { align-items: flex-start; flex-direction: column; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { margin-top: 42px; }
}


/* Ambient background — ガラス面の背後に #B8ADA3 の光だまりを置き、スクロールで漂わせる。
   大きさは vmax（縦横の長いほう）基準にし、縦長の SP でも PC と同じ色味になるようにする */
.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ambient span { position: absolute; border-radius: 50%; filter: blur(80px); will-change: translate; }
.ambient span:nth-child(1) { top: -12vh; left: -10vmax; width: 55vmax; height: 55vmax; background: rgba(184, 173, 163, 0.55); translate: 0 calc(var(--scroll, 0) * 40vh); animation: ambient-drift 22s ease-in-out infinite alternate; }
.ambient span:nth-child(2) { top: 35vh; right: -18vmax; width: 50vmax; height: 50vmax; background: rgba(184, 173, 163, 0.45); translate: 0 calc(var(--scroll, 0) * -30vh); animation: ambient-drift 26s ease-in-out -8s infinite alternate-reverse; }
.ambient span:nth-child(3) { bottom: -20vh; left: 25vw; width: 38vmax; height: 38vmax; background: rgba(85, 0, 0, 0.1); translate: calc(var(--scroll, 0) * 20vw) 0; animation: ambient-drift 30s ease-in-out -4s infinite alternate; }
@keyframes ambient-drift { to { transform: translate3d(6vw, 8vh, 0) scale(1.12); } }

/* Glass surfaces */
.header-inner, .service-card, .related-panel, .cta-panel, .contact-panel, .text-panel, .profile-card, .information-list, .about-links a, .button-secondary, .mobile-menu nav {
    border-color: var(--glass-edge);
    background: var(--glass);
    box-shadow: var(--glass-highlight), var(--shadow);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}
.header-inner { background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(245, 245, 242, 0.35) 55%, rgba(184, 173, 163, 0.22)); transition: height 0.4s var(--ease-out), box-shadow 0.4s ease, background 0.4s ease; }
.site-header.is-scrolled .header-inner { height: 74px; box-shadow: var(--glass-highlight), 0 18px 50px rgba(54, 35, 29, 0.14); }
.cta-panel { position: relative; overflow: hidden; background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(184, 173, 163, 0.38)); }
.cta-panel::before { position: absolute; top: -40%; right: -8%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 173, 163, 0.65), transparent 65%); content: ""; translate: 0 calc(var(--scroll, 0) * -60px); pointer-events: none; }
.cta-panel > * { position: relative; }
.section-kicker { width: fit-content; padding: 7px 14px 7px 11px; border: 1px solid var(--glass-edge); border-radius: 999px; background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(184, 173, 163, 0.3)); box-shadow: var(--glass-highlight); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.section-kicker::before { width: 6px; height: 6px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 4px rgba(184, 173, 163, 0.45); content: ""; }
.services-section, .about-preview { border-top-color: var(--stone-line); }
.works-section { background: none; }
.products-section { background: linear-gradient(180deg, transparent, rgba(184, 173, 163, 0.24) 55%, transparent); }
.site-footer { border-top-color: var(--stone-line); background: linear-gradient(180deg, rgba(184, 173, 163, 0.18), rgba(184, 173, 163, 0.34)); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.section-link { border-bottom-color: var(--stone); transition: gap 0.3s var(--ease-out), border-color 0.3s ease; }
.section-link:hover { border-bottom-color: var(--wine); }

/* 写真カードの情報面をすりガラスに */
.service-body, .work-card-content { padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 14px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(184, 173, 163, 0.16)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.service-card { padding: 14px; }
.service-number { margin: 10px 0 0 10px; width: fit-content; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-shadow: none; }
.service-shade { background: linear-gradient(180deg, rgba(20, 15, 14, 0.18), rgba(20, 15, 14, 0.05) 35%, rgba(20, 15, 14, 0.55)); }
.work-card-content { inset: auto 14px 14px; }
.work-card-shade { background: linear-gradient(180deg, rgba(20, 15, 14, 0.05) 30%, rgba(20, 15, 14, 0.55)); }


/* Scroll marquee */
.scroll-marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--stone-line); background: linear-gradient(90deg, rgba(184, 173, 163, 0.3), rgba(255, 255, 255, 0.25), rgba(184, 173, 163, 0.3)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.scroll-marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; translate: calc(-20% + var(--p, 0) * 14%) 0; transition: translate 0.4s linear; }
.scroll-marquee-track span { color: transparent; font-family: "DM Sans", sans-serif; font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; -webkit-text-stroke: 1px rgba(85, 0, 0, 0.38); }
.scroll-marquee-track span:nth-of-type(2n) { color: rgba(184, 173, 163, 0.85); -webkit-text-stroke: 0; }
.scroll-marquee-track i { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 7px rgba(184, 173, 163, 0.45); }

/* Hero motion */
.hero-content { translate: 0 calc(var(--hero, 0) * -90px); opacity: calc(1 - var(--hero, 0) * 1.3); }
.hero .mv-art { translate: 0 calc(var(--hero, 0) * 60px); }
.js-motion .hero-content > * { animation: rise-in 1s var(--ease-out) both; }
.js-motion .hero-content > :nth-child(2) { animation-delay: 0.1s; }
.js-motion .hero-content > :nth-child(3) { animation-delay: 0.52s; }
.js-motion .hero-content > :nth-child(4) { animation-delay: 0.66s; }
.js-motion .hero-content > :nth-child(5) { animation-delay: 0.8s; }
.js-motion .hero .mv-art { animation: visual-in 1.5s var(--ease-out) 0.3s both; }
.js-motion .breadcrumbs { animation: rise-in 0.8s var(--ease-out) both; }
.scroll-cue span { display: inline-block; animation: cue-bounce 1.8s ease-in-out infinite; }
@keyframes rise-in { from { opacity: 0; transform: scale(0.97); filter: blur(10px); } }
@keyframes visual-in { from { opacity: 0; transform: scale(0.96); filter: blur(14px); } }
@keyframes cue-bounce { 50% { transform: translateY(6px); } }

/* Reveal on scroll — 合成だけで済む transform と opacity のみを動かす */
.js-motion [data-reveal] { opacity: 0; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); will-change: transform, opacity, filter; }
.js-motion [data-reveal="up"], .js-motion [data-reveal="mask"] { transform: scale(0.97); filter: blur(8px); }
.js-motion [data-reveal="scale"] { transform: scale(0.97); }
.js-motion [data-reveal].is-inview { opacity: 1; transform: none; filter: none; }

/* 写真は clip-path で常に角丸に切り抜く。アニメーション中も写真の角がカードの外に出ない。 */
.card-media { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; clip-path: inset(0 round 20px); }
.service-number, .service-body, .work-card-content { z-index: 1; }

/* 写真カードはカード自体の透明度を変えず、せり上がり・影・中身のフェードで全体が浮かび上がるように見せる */
.service-card, .work-card { background: #b8ada3; -webkit-backdrop-filter: none; backdrop-filter: none; }
.js-motion [data-reveal="card"] { opacity: 1; background: transparent; box-shadow: 0 2px 6px rgba(54, 35, 29, 0), 0 24px 50px -18px rgba(54, 35, 29, 0), 0 50px 100px -40px rgba(85, 0, 0, 0); transform: scale(0.96); transition: transform 1.3s var(--ease-out), box-shadow 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 130ms); will-change: transform; }
.js-motion [data-reveal="card"].is-inview { transform: none; box-shadow: 0 2px 6px rgba(54, 35, 29, 0.06), 0 24px 50px -18px rgba(54, 35, 29, 0.35), 0 50px 100px -40px rgba(85, 0, 0, 0.25); }
.js-motion [data-reveal="card"] .card-media { opacity: 0; transition: opacity 1s ease; transition-delay: calc(var(--i, 0) * 130ms); }
.js-motion [data-reveal="card"] .card-media img { transform: scale(1.08); transition: transform 1.6s var(--ease-out), opacity 0.6s ease; transition-delay: calc(var(--i, 0) * 130ms); }
.js-motion [data-reveal="card"] .service-body, .js-motion [data-reveal="card"] .work-card-content, .js-motion [data-reveal="card"] .service-number { opacity: 0; transform: scale(0.98); transition: opacity 0.9s ease, transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 130ms + 250ms); }
.js-motion [data-reveal="card"].is-inview .card-media, .js-motion [data-reveal="card"].is-inview .service-body, .js-motion [data-reveal="card"].is-inview .work-card-content, .js-motion [data-reveal="card"].is-inview .service-number { opacity: 1; transform: none; }
.js-motion [data-reveal="card"].is-inview .card-media img { transform: none; }

/* 読み込み前の写真はカード背景色のまま待ち、読み込み後にフェードインさせる */
.js-motion .service-image, .js-motion .work-card img { transition: opacity 0.6s ease, transform 0.5s ease; }
.js-motion img.is-loading { opacity: 0; }

/* Parallax inside cards */
.service-image { scale: 1.16; translate: 0 calc(var(--p, 0) * -7%); }
.work-card img { scale: 1.14; translate: 0 calc(var(--p, 0) * -6%); transition: transform 0.5s ease; }
.work-card:hover img { transform: scale(1.04); }
.profile-photo img { scale: 1.12; translate: 0 calc(var(--p, 0) * -6%); }

@media (max-width: 640px) {
    .scroll-marquee { padding: 18px 0; }
    .scroll-marquee-track { gap: 26px; }
    .scroll-marquee-track i { width: 10px; height: 10px; box-shadow: 0 0 0 5px rgba(184, 173, 163, 0.45); }
    .ambient span { filter: blur(60px); }
    .service-body, .work-card-content { padding: 15px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .ambient span { animation: none; translate: none; }
    .hero-content, .hero .mv-art, .scroll-marquee-track, .service-image, .work-card img, .profile-photo img { translate: none; }
    .scroll-cue span { animation: none; }
}

/* 枠線は使わず、影とハイライトでガラスの面を表現する */
.header-inner, .service-card, .work-card, .related-panel, .cta-panel, .contact-panel, .text-panel, .profile-card, .information-list, .about-links a, .button-secondary, .mobile-menu nav, .section-kicker, .service-number, .service-body, .work-card-content { border: 0; }
.service-card, .work-card { box-shadow: 0 2px 6px rgba(54, 35, 29, 0.06), 0 24px 50px -18px rgba(54, 35, 29, 0.35), 0 50px 100px -40px rgba(85, 0, 0, 0.25); transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.service-card:hover, .work-card:hover { transform: translateY(-8px); box-shadow: 0 4px 10px rgba(54, 35, 29, 0.06), 0 34px 60px -18px rgba(54, 35, 29, 0.4), 0 70px 120px -40px rgba(85, 0, 0, 0.3); }
.service-body, .work-card-content { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 12px 30px -10px rgba(20, 15, 14, 0.35); }
.service-number { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45); }
.section-kicker, .about-links a { box-shadow: var(--glass-highlight), 0 6px 18px -8px rgba(54, 35, 29, 0.18); }
.button-secondary { box-shadow: var(--glass-highlight), 0 10px 26px -12px rgba(54, 35, 29, 0.3); }
.scroll-marquee { border-block: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 20px 50px -30px rgba(54, 35, 29, 0.25); }

/* カードの影がスクロール領域で切れないよう余白を確保する */
.works-rail { margin-block: -30px -60px; margin-left: -40px; padding: 40px 40px 80px 40px; scroll-padding-left: 40px; }
@media (max-width: 640px) {
    .works-rail { margin-left: -18px; padding-inline: 18px; scroll-padding-left: 18px; }
}


.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero — 事業領域の4語を主役に、説明文は補足として添える */
.hero-domains { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hero-domains li { display: flex; align-items: flex-start; gap: 14px; color: var(--wine); font-family: "DM Sans", sans-serif; font-size: clamp(2.8rem, 5.6vw, 5.4rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1.02; }
.hero-domains li:nth-child(even) { margin-left: clamp(28px, 4vw, 64px); }
.hero-domains span { padding-top: 0.55em; color: var(--stone); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1; }
.hero .hero-lead { max-width: 520px; margin-top: 30px; font-size: clamp(0.92rem, 1.05vw, 1rem); line-height: 2; }
.js-motion .hero-content > .hero-domains { animation: none; }
.js-motion .hero-domains li { animation: rise-in 1s var(--ease-out) both; }
.js-motion .hero-domains li:nth-child(2) { animation-delay: 0.12s; }
.js-motion .hero-domains li:nth-child(3) { animation-delay: 0.24s; }
.js-motion .hero-domains li:nth-child(4) { animation-delay: 0.36s; }
.hero-domains li:nth-child(1) { translate: calc(var(--hero, 0) * -40px) 0; }
.hero-domains li:nth-child(2) { translate: calc(var(--hero, 0) * 30px) 0; }
.hero-domains li:nth-child(3) { translate: calc(var(--hero, 0) * -60px) 0; }
.hero-domains li:nth-child(4) { translate: calc(var(--hero, 0) * 45px) 0; }
@media (max-width: 640px) {
    .hero-domains li { font-size: clamp(2.5rem, 12vw, 3.4rem); }
    .hero-domains span { font-size: 0.62rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-domains li { translate: none; }
}

/* レールのはみ出しでページ全体が横スクロールしないようにする */
main { overflow-x: clip; }

/* Service card link */
.service-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: #fff; font-size: 0.76rem; font-weight: 700; }
.service-more i { font-style: normal; transition: transform 0.3s var(--ease-out); }
.service-card:hover .service-more i { transform: translate(3px, -3px); }

/* Service detail */
.service-hero { position: relative; display: flex; align-items: flex-end; min-height: min(88svh, 860px); padding: 190px 0 clamp(48px, 7vw, 90px); overflow: hidden; background: #2a201d; color: #fff; }
.service-hero-media { position: absolute; inset: 0; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; translate: 0 calc(var(--hero, 0) * 140px); }
.service-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 14, 0.45), rgba(20, 15, 14, 0.1) 32%, rgba(20, 15, 14, 0.35) 62%, rgba(20, 15, 14, 0.78)); }
.service-hero-inner { position: relative; z-index: 1; }
.service-hero-text { max-width: 760px; padding: clamp(26px, 3.4vw, 44px); border-radius: 26px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(184, 173, 163, 0.14)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 30px 70px -30px rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); translate: 0 calc(var(--hero, 0) * -60px); }
.service-hero .section-kicker { margin-bottom: 20px; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35); color: #fff; }
.service-hero .section-kicker::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); }
.service-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-weight: 600; letter-spacing: -0.07em; line-height: 1.3; }
.service-hero .page-hero-lead { margin-top: 20px; color: rgba(255, 255, 255, 0.88); }
/* 全面画像のヒーローがあるページでは、パンくずを画像の上に重ねる */
body:has(.service-hero) .breadcrumbs { position: absolute; z-index: 2; top: 0; left: 0; right: 0; }
body:has(.service-hero) .breadcrumbs, body:has(.service-hero) .breadcrumbs a { color: rgba(255, 255, 255, 0.78); }
body:has(.service-hero) .breadcrumbs [aria-current="page"], body:has(.service-hero) .breadcrumbs a:hover { color: #fff; }
body:has(.service-hero) .breadcrumbs li + li::before { color: rgba(255, 255, 255, 0.5); }
.js-motion .service-hero-media img { animation: hero-image-in 1.8s var(--ease-out) both; }
.js-motion .service-hero-text { animation: rise-in 1.1s var(--ease-out) 0.2s both; }
@keyframes hero-image-in { from { opacity: 0; transform: scale(1.12); } }
.service-offerings-section { background: linear-gradient(180deg, transparent, rgba(184, 173, 163, 0.26) 25%, rgba(184, 173, 163, 0.12) 80%, transparent); }
.offering-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.offering-card { padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: var(--glass); box-shadow: var(--glass-highlight), var(--shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.offering-card span { color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; }
.offering-card h3 { margin: 18px 0 12px; color: var(--wine); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: -0.04em; }
.offering-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.95; }
@media (max-width: 900px) {
    .service-hero { padding-top: 150px; }
}
@media (max-width: 640px) {
    .service-hero { min-height: 82svh; padding-top: 130px; padding-bottom: 28px; }
    .service-hero-text { border-radius: 20px; }
    .offering-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .service-hero-media img, .service-hero-text { translate: none; }
}

/* Ventures — 画像を枠いっぱいに見せる。ロゴ画像は白背景で余白なく収める */
.products-section { padding-top: clamp(40px, 5vw, 72px); }

/* Home — サービス索引。行を選ぶと右側の固定ビジュアルが切り替わる */
.service-index { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.service-index-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.service-index-list li + li { border-top: 1px solid var(--stone-line); }
.service-index-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; grid-template-areas: "num title arrow" ". desc ."; align-items: baseline; column-gap: 12px; padding: 24px 4px; color: var(--ink); transition: color 0.35s ease; }
.service-index-thumb { display: none; }
.service-index-number { grid-area: num; color: var(--stone); font-family: "DM Sans", sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; transition: color 0.35s ease; }
.service-index-title { grid-area: title; font-size: clamp(1.3rem, 2.3vw, 2.1rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.35; transition: transform 0.5s var(--ease-out); }
.service-index-desc { grid-area: desc; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.5s var(--ease-out), opacity 0.4s ease; }
.service-index-desc > span { overflow: hidden; padding-top: 10px; color: var(--muted); font-size: 0.9rem; line-height: 1.9; }
.service-index-list i { grid-area: arrow; justify-self: end; color: var(--stone); font-size: 1.2rem; font-style: normal; transition: transform 0.4s var(--ease-out), color 0.35s ease; }
.service-index-list a.is-active { color: var(--wine); }
.service-index-list a.is-active .service-index-number, .service-index-list a.is-active i { color: var(--wine); }
.service-index-list a.is-active .service-index-title { transform: translateX(8px); }
.service-index-list a.is-active .service-index-desc { grid-template-rows: 1fr; opacity: 1; }
.service-index-list a.is-active i { transform: translate(3px, -3px); }
.service-index-visual { position: sticky; top: 130px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 26px; clip-path: inset(0 round 26px); background: #b8ada3; box-shadow: 0 2px 6px rgba(54, 35, 29, 0.06), 0 30px 60px -20px rgba(54, 35, 29, 0.4), 0 60px 110px -40px rgba(85, 0, 0, 0.28); }
.service-index-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 0.7s ease, transform 1.2s var(--ease-out); }
.service-index-visual img.is-active { opacity: 1; transform: scale(1); }
.service-index-counter { position: absolute; left: 20px; bottom: 20px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.8); font-family: "DM Sans", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.service-index-counter b { color: #fff; }
@media (max-width: 900px) {
    .service-index { grid-template-columns: 1fr; }
    .service-index-visual { display: none; }
    .service-index-list a { grid-template-columns: 72px minmax(0, 1fr) 24px; grid-template-areas: "thumb title arrow" "thumb desc ."; column-gap: 16px; align-items: start; padding: 18px 0; }
    .service-index-thumb { display: block; grid-area: thumb; width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
    .service-index-number { display: none; }
    .service-index-title { font-size: 1.15rem; }
    .service-index-desc { grid-template-rows: 1fr; opacity: 1; }
    .service-index-desc > span { padding-top: 6px; font-size: 0.82rem; }
    .service-index-list a.is-active .service-index-title { transform: none; }
}

/* Services 一覧 — 大小を混ぜたベントーグリッド */
.service-bento { grid-auto-rows: minmax(300px, auto); }
.service-bento > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
.service-bento > :nth-child(1) h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
.service-bento > :nth-child(1) .service-body { max-width: 560px; padding: 24px 28px; }
.service-bento > :nth-child(7) { grid-column: span 2; }
@media (max-width: 900px) {
    .service-bento > :nth-child(1) { grid-row: span 1; min-height: 420px; }
    .service-bento > :nth-child(7) { grid-column: span 1; }
    .service-bento > :nth-child(8) { grid-column: span 2; }
}
@media (max-width: 640px) {
    .service-bento > :nth-child(n) { grid-column: auto; grid-row: auto; }
}


/* Detail — 支援内容はカードに大きな透かし番号を重ねる */
.offering-card { position: relative; overflow: hidden; }
.offering-card span { position: absolute; top: -18px; right: 10px; color: rgba(184, 173, 163, 0.35); font-size: clamp(5rem, 9vw, 8rem); letter-spacing: -0.06em; line-height: 1; pointer-events: none; }
.offering-card h3 { position: relative; margin-top: 0; }
.offering-card p { position: relative; max-width: 30em; }
.offering-grid > :nth-child(even) { transform: translateY(40px); }
.offering-grid { padding-bottom: 40px; }

/* Detail — 進め方はスクロールで線が伸びるタイムライン */
.process-list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 36px 0 0; list-style: none; }
.process-list::before, .process-list::after { position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--stone-line); content: ""; }
.process-list::after { background: var(--wine); transform: scaleX(clamp(0, 0.5 - var(--p, 1) * 0.7, 1)); transform-origin: 0 50%; }
.process-list li { position: relative; }
.process-list li::before { position: absolute; top: -36px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--page); box-shadow: inset 0 0 0 2px var(--wine), 0 0 0 6px rgba(184, 173, 163, 0.35); content: ""; }
.process-list span { color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; }
.process-list h3 { margin: 12px 0 10px; color: var(--ink); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -0.04em; }
.process-list p { color: var(--muted); font-size: 0.87rem; line-height: 1.9; }

/* Detail — ほかのサービスは文字だけの索引 */
.other-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 5vw, 70px); margin: 0; padding: 0; list-style: none; }
.other-services a { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--stone-line); color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -0.03em; transition: color 0.3s ease, padding 0.4s var(--ease-out); }
.other-services a:hover { padding-left: 10px; color: var(--wine); }
.other-services span { color: var(--stone); font-family: "DM Sans", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; }
.other-services i { margin-left: auto; color: var(--wine); font-style: normal; transition: transform 0.3s var(--ease-out); }
.other-services a:hover i { transform: translate(3px, -3px); }

@media (max-width: 900px) {
    .process-list { grid-template-columns: 1fr; gap: 30px; padding: 0 0 0 40px; }
    .process-list::before, .process-list::after { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; }
    .process-list::after { transform: scaleY(clamp(0, 0.5 - var(--p, 1) * 0.7, 1)); transform-origin: 50% 0; }
    .process-list li::before { top: 2px; left: -40px; }
    .other-services { grid-template-columns: 1fr; }
    .offering-grid > :nth-child(even) { transform: none; }
    .offering-grid { padding-bottom: 0; }
}
@media (max-width: 640px) {
}
@media (prefers-reduced-motion: reduce) {
    .process-list::after { transform: none; }
}

/* レール内のカードは影を小さくし、重なった影が帯状の色面にならないようにする */
.works-rail .work-card, .js-motion .works-rail [data-reveal="card"].is-inview { box-shadow: 0 2px 6px rgba(54, 35, 29, 0.08), 0 18px 28px -18px rgba(54, 35, 29, 0.45); }
.works-rail .work-card:hover { box-shadow: 0 4px 10px rgba(54, 35, 29, 0.1), 0 26px 36px -20px rgba(54, 35, 29, 0.5); }
.js-motion .works-rail [data-reveal="card"] { box-shadow: 0 2px 6px rgba(54, 35, 29, 0), 0 18px 28px -18px rgba(54, 35, 29, 0); }
/* レールのスクロールバーは表示しない（前後ボタン・スワイプ・トラックパッドで操作する） */
.works-rail { scrollbar-width: none; }
.works-rail::-webkit-scrollbar { display: none; }

/* Works レール — 左右とも画面端まで流し、1枚目はコンテナの左端にそろえる */
:root { --gutter: calc((100vw - min(1320px, 100vw - 80px)) / 2); }
.works-rail { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
@media (max-width: 1100px) {
    :root { --gutter: calc((100vw - min(100vw - 56px, 1320px)) / 2); }
}
@media (max-width: 640px) {
    :root { --gutter: 18px; }
}

/* MV 左の4語は右の図と連動し、選ばれている語に印をつける */
.hero-domains li { position: relative; cursor: default; transition: color 0.4s ease; }
.hero-domains li.is-active span { color: var(--wine); }
.hero-domains span { transition: color 0.4s ease; }

/* About — 見出しを左に、説明文を大きく置き、スクロールに合わせて文字の色を満たしていく */
.about-statement { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.about-statement-head { position: sticky; top: 140px; }
.about-statement-head h2 { margin-bottom: 10px; }
.about-statement-text { color: var(--ink); font-size: clamp(1.7rem, 3.3vw, 3.2rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1.6; }
.about-statement-text .char { opacity: clamp(0.16, calc(var(--progress, 1) * var(--n, 1) - var(--ci, 0)), 1); transition: opacity 0.2s linear; }
@media (max-width: 900px) {
    .about-statement { grid-template-columns: 1fr; }
    .about-statement-head { position: static; }
}


.site-footer { border-top: 0; }

.site-footer { background: linear-gradient(180deg, rgba(184, 173, 163, 0), rgba(184, 173, 163, 0.34) 70%); }

/* Header — ナビをピルにまとめ、目印がホバー先へ滑る。下端にスクロール進捗、下スクロールで隠れる */
.site-header { transition: transform 0.5s var(--ease-out); }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.site-header:focus-within { transform: none; }
.header-inner { position: relative; }
.header-progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--stone), var(--wine)); transform: scaleX(var(--scroll, 0)); transform-origin: 0 50%; pointer-events: none; }
.nav-pill { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(184, 173, 163, 0.2); box-shadow: inset 0 1px 2px rgba(54, 35, 29, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.7); }
.nav-pill a { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; transition: color 0.35s ease; }
.nav-indicator { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.75)); box-shadow: 0 1px 2px rgba(54, 35, 29, 0.08), 0 8px 18px -8px rgba(54, 35, 29, 0.35); opacity: 0; transform: translateX(var(--indicator-x, 0)); transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out), opacity 0.3s ease; }
.nav-pill.has-indicator .nav-indicator { width: var(--indicator-w, 0); opacity: 1; }
.nav-pill a.is-target, .desktop-nav .nav-pill a[aria-current="page"] { color: var(--wine); }
.desktop-nav .nav-pill a[aria-current="page"]::after { position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--wine); content: ""; transform: translateX(-50%); }
.header-contact { transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.3s ease; box-shadow: 0 10px 24px -12px rgba(85, 0, 0, 0.6); }
.header-contact:hover span { transform: translate(2px, -2px); }
.header-contact span { transition: transform 0.3s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
    .site-header.is-hidden { transform: none; }
}
/* モバイルメニューは背面の文字と重ならないよう不透明度を上げる */
.mobile-menu nav { background: linear-gradient(145deg, rgba(250, 249, 247, 0.95), rgba(236, 231, 226, 0.94)); }

/* Detail — 課題は「こんな課題はありませんか？」のチェックリストとして見せる */
.challenges-section { position: relative; margin: clamp(40px, 6vw, 80px) clamp(12px, 2vw, 28px) 0; border-radius: clamp(24px, 3vw, 40px); background: radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.55), transparent 40%), linear-gradient(160deg, rgba(184, 173, 163, 0.42), rgba(184, 173, 163, 0.2)); }
.challenges-head { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(36px, 5vw, 64px); text-align: center; }
.challenge-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px) clamp(24px, 4vw, 56px); max-width: 1080px; margin: 0 auto; padding: 0; list-style: none; }
.challenge-checks li { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "check num" "check text"; column-gap: 18px; align-items: start; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.38); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 14px 30px -20px rgba(54, 35, 29, 0.35); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.challenge-check { grid-area: check; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.55), 0 10px 20px -8px rgba(85, 0, 0, 0.55); }
.challenge-check svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.challenge-check path { stroke-dasharray: 24; stroke-dashoffset: 0; transition: stroke-dashoffset 0.7s var(--ease-out) 0.35s; }
.js-motion .challenge-checks li[data-reveal]:not(.is-inview) .challenge-check path { stroke-dashoffset: 24; }
.challenge-number { grid-area: num; color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; }
.challenge-checks p { grid-area: text; margin-top: 4px; color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.75; }
.challenges-next { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; margin: clamp(36px, 5vw, 56px) auto 0; color: var(--wine); font-size: 0.9rem; font-weight: 700; }
.challenges-next span { display: inline-block; font-size: 1.2rem; animation: cue-bounce 1.8s ease-in-out infinite; }
@media (max-width: 900px) {
    .challenge-checks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .challenge-checks li { grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
    .challenge-check { width: 42px; height: 42px; }
    .challenge-check svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .challenges-next span { animation: none; }
}

/* サービス索引のビジュアル — カードにせず、画面右端まで写真を流し、左側は背景へ溶かす */
.service-index-visual { top: 110px; aspect-ratio: auto; height: min(calc(100svh - 150px), 720px); margin-right: calc(-1 * var(--gutter)); overflow: hidden; border-radius: 0; clip-path: none; background: none; box-shadow: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%), linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 26%), linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.service-index-visual img { transform: scale(1.12); transition: opacity 0.8s ease, transform 1.6s var(--ease-out); }
.service-index-visual img.is-active { transform: scale(1.02); }
.service-index-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 14, 0) 55%, rgba(20, 15, 14, 0.45)); content: ""; pointer-events: none; }
.service-index-counter { z-index: 1; left: auto; right: calc(var(--gutter) + 8px); bottom: 18px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: rgba(255, 255, 255, 0.7); font-size: 1rem; letter-spacing: 0.08em; -webkit-backdrop-filter: none; backdrop-filter: none; }
.service-index-counter b { margin-right: 6px; color: #fff; font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.section-lead { max-width: 560px; margin-top: 20px; color: var(--muted); font-size: 0.95rem; line-height: 2; }

/* セクション見出しは説明文を右に離さず、見出しの下に縦積みで置く */
.section-heading { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
.section-heading > p, .section-lead { max-width: 560px; margin-top: 20px; padding-bottom: 0; color: var(--muted); font-size: 0.95rem; line-height: 2; }

/* SP のサービス索引 — 写真のパネルを画面上部に重ねていくスタック表示 */
@media (max-width: 900px) {
    .service-index-list li { position: sticky; top: calc(96px + var(--si, 0) * 10px); }
    .service-index-list li + li { margin-top: 16px; border-top: 0; }
    .service-index-list a { position: relative; grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "num arrow" "title title" "desc desc"; align-content: end; row-gap: 4px; min-height: 260px; padding: 22px; overflow: hidden; border-radius: 24px; background: #2a201d; box-shadow: 0 -10px 30px -18px rgba(20, 15, 14, 0.5), 0 24px 40px -24px rgba(20, 15, 14, 0.6); color: #fff; isolation: isolate; }
    .service-index-list a::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 15, 14, 0.2), rgba(20, 15, 14, 0.1) 35%, rgba(20, 15, 14, 0.82)); content: ""; }
    .service-index-thumb { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; border-radius: 0; }
    .service-index-number { display: block; align-self: start; color: rgba(255, 255, 255, 0.8); }
    .service-index-list a.is-active, .service-index-list a.is-active .service-index-number { color: #fff; }
    .service-index-title { font-size: 1.35rem; }
    .service-index-desc > span { color: rgba(255, 255, 255, 0.85); }
    .service-index-list i, .service-index-list a.is-active i { align-self: start; color: #fff; }
}

/* Insights — 一覧は写真カードではなく、日付・カテゴリ・タイトルの行で見せる */
.insight-list { margin: 0; padding: 0; list-style: none; }
.insight-list li + li { border-top: 1px solid var(--stone-line); }
.insight-list a { display: grid; grid-template-columns: 180px minmax(0, 1fr) 160px 28px; grid-template-areas: "meta title thumb arrow" "meta desc thumb arrow"; column-gap: clamp(20px, 3vw, 40px); align-items: start; padding: 30px 0; color: var(--ink); transition: color 0.3s ease; }
.insight-list a:hover { color: var(--wine); }
.insight-list .insight-meta { grid-area: meta; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 6px; }
.insight-title { grid-area: title; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.5; }
.insight-description { grid-area: desc; margin-top: 10px; color: var(--muted); font-size: 0.88rem; line-height: 1.9; }
.insight-thumb { grid-area: thumb; width: 160px; aspect-ratio: 16 / 10; border-radius: 14px; object-fit: cover; }
.insight-list i { grid-area: arrow; justify-self: end; padding-top: 6px; color: var(--wine); font-style: normal; transition: transform 0.3s var(--ease-out); }
.insight-list a:hover i { transform: translate(3px, -3px); }
.insight-meta { color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
.insight-category { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(184, 173, 163, 0.3); color: var(--wine); font-size: 0.7rem; letter-spacing: 0.12em; }

/* Insights — 記事ページ */
.insight-header { max-width: 860px; padding-top: 50px; padding-bottom: 40px; }
.insight-header .insight-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.insight-header h1 { margin-top: 22px; color: var(--ink); font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1.35; }
.insight-lead { margin-top: 20px; color: var(--muted); font-size: 1.02rem; line-height: 2; }
.insight-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--wine); font-size: 0.8rem; font-weight: 600; }
.insight-cover { max-width: 1080px; }
.insight-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 24px; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(54, 35, 29, 0.45); }
.insight-body { width: min(760px, calc(100% - 36px)); margin: clamp(40px, 6vw, 70px) auto 0; }
.js-motion .insight-header > *, .js-motion .insight-cover { animation: rise-in 1s var(--ease-out) both; }
.js-motion .insight-header > :nth-child(2) { animation-delay: 0.08s; }
.js-motion .insight-header > :nth-child(3) { animation-delay: 0.16s; }
.js-motion .insight-cover { animation-delay: 0.24s; }

/* 記事本文（Markdown） */
.prose { color: var(--ink); font-size: 1rem; line-height: 2.05; }
.prose > * + * { margin-top: 1.5em; }
.prose h2 { margin-top: 2.6em; padding-top: 0.2em; color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.5; }
.prose h2::before { display: block; width: 32px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: var(--wine); content: ""; }
.prose h3 { margin-top: 2.2em; font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -0.03em; }
.prose a { color: var(--wine); text-decoration: underline; text-decoration-color: rgba(85, 0, 0, 0.35); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--wine); }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--wine); }
.prose blockquote { margin-inline: 0; padding: 20px 26px; border-radius: 18px; background: rgba(184, 173, 163, 0.22); color: #4a4340; }
.prose img { width: 100%; height: auto; border-radius: 18px; }
.prose code { padding: 0.15em 0.45em; border-radius: 6px; background: rgba(184, 173, 163, 0.28); font-size: 0.88em; }
.prose pre { overflow-x: auto; padding: 22px; border-radius: 18px; background: #2a201d; color: #f5f5f2; font-size: 0.86rem; line-height: 1.8; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--stone-line); text-align: left; }
.prose th { color: var(--wine); font-weight: 700; }
.prose hr { height: 1px; border: 0; background: var(--stone-line); }

/* Markdown のリンクカード（plugins/rehype-link-cards.mjs が出力） */
.link-cards { display: grid; gap: 12px; }
.prose .link-card { display: flex; height: 132px; overflow: hidden; border-radius: 18px; background: var(--glass); box-shadow: var(--glass-highlight), 0 12px 28px -18px rgba(54, 35, 29, 0.4); color: var(--ink); text-decoration: none; transition: transform 0.3s var(--ease-out); }
.prose .link-card:hover { transform: translateY(-2px); }
.link-card-image { position: relative; flex: 0 0 min(34%, 220px); background: rgba(184, 173, 163, 0.3); }
.prose .link-card-url img { display: inline-block; width: 14px; height: 14px; margin-right: 6px; border-radius: 3px; vertical-align: -2px; }
.prose .link-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.link-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 20px; line-height: 1.6; }
.link-card-title { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.link-card-description { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 0.82rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.link-card-url { color: var(--stone); font-size: 0.75rem; }

/* 前後の記事 */
.insight-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin-top: clamp(60px, 8vw, 100px); }
.insight-pager a { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--stone-line); color: var(--ink); font-weight: 600; line-height: 1.6; }
.insight-pager a:hover { color: var(--wine); }
.insight-pager a span { color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }
.insight-pager .is-older { text-align: right; }
.insight-back { max-width: 860px; }

@media (max-width: 900px) {
    .insight-list a { grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "meta arrow" "title arrow" "desc desc" "thumb thumb"; row-gap: 8px; }
    .insight-list .insight-meta { flex-direction: row; align-items: center; padding-top: 0; }
    .insight-thumb { width: 100%; margin-top: 8px; }
}
@media (max-width: 640px) {
    .insight-pager { grid-template-columns: 1fr; }
    .insight-pager .is-older { text-align: left; }
    .prose .link-card { flex-direction: column; height: auto; }
    .link-card-image { flex-basis: auto; aspect-ratio: 1.91 / 1; }
}

/* トップの INSIGHTS — 記事を紙の束に見立て、スクロールで扇状に開くシートとして見せる */
.insights-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.insights-copy { display: flex; flex-direction: column; align-items: flex-start; }
.insights-stack { position: relative; height: clamp(360px, 36vw, 440px); }
.insight-sheet { position: absolute; top: 0; left: 0; z-index: calc(10 - var(--i)); display: flex; flex-direction: column; width: 84%; height: 78%; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55) 60%, rgba(184, 173, 163, 0.35)); box-shadow: inset 0 1px 1px #fff, 0 2px 6px rgba(54, 35, 29, 0.05), 0 28px 50px -24px rgba(54, 35, 29, 0.4); color: var(--ink); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); transform: translate(calc(var(--i) * 7% + var(--i) * var(--spread, 0) * 4%), calc(var(--i) * 9%)) rotate(calc(var(--i) * (3deg + var(--spread, 0) * 3deg) - 2deg)); transform-origin: 20% 90%; transition: transform 0.7s var(--ease-out), box-shadow 0.4s ease; }
.insight-sheet:nth-child(2) { background: linear-gradient(150deg, rgba(236, 231, 226, 0.9), rgba(184, 173, 163, 0.55)); }
.insight-sheet:nth-child(3) { background: linear-gradient(150deg, rgba(184, 173, 163, 0.85), rgba(150, 135, 124, 0.6)); }
.insights-stack { --spread: clamp(0, calc(0.6 - var(--p, 1) * 0.8), 1); }
.insights-stack:hover { --spread: 1.3; }
.insight-sheet::before { position: absolute; top: 0; left: clamp(24px, 3vw, 36px); width: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--wine); content: ""; }
.insight-sheet-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; }
.insight-sheet-meta > span:not(.insight-sheet-status) { padding: 4px 12px; border-radius: 999px; background: rgba(184, 173, 163, 0.3); color: var(--wine); }
.insight-sheet-status { display: flex; align-items: center; gap: 10px; color: var(--wine); letter-spacing: 0.18em; }
.insight-sheet-status b { width: 8px; height: 8px; border-radius: 50%; background: var(--wine); animation: status-pulse 2s ease-out infinite; }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(85, 0, 0, 0.45); } 70% { box-shadow: 0 0 0 10px rgba(85, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(85, 0, 0, 0); } }
.insight-sheet-title { margin-top: 20px; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.5; }
.insight-sheet-desc { display: -webkit-box; overflow: hidden; margin-top: 12px; color: var(--muted); font-size: 0.86rem; line-height: 1.9; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.insight-sheet i { margin-top: auto; align-self: flex-end; color: var(--wine); font-size: 1.3rem; font-style: normal; transition: transform 0.3s var(--ease-out); }
a.insight-sheet:hover i { transform: translate(3px, -3px); }
a.insight-sheet:hover { box-shadow: inset 0 1px 1px #fff, 0 4px 10px rgba(54, 35, 29, 0.06), 0 36px 60px -24px rgba(54, 35, 29, 0.5); }
.insight-sheet-lines { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.insight-sheet-lines b { height: 8px; border-radius: 4px; background: rgba(184, 173, 163, 0.5); }
.insight-sheet-lines b:nth-child(1) { width: 92%; }
.insight-sheet-lines b:nth-child(2) { width: 78%; }
.insight-sheet-lines b:nth-child(3) { width: 54%; }
@media (max-width: 900px) {
    .insights-layout { grid-template-columns: 1fr; }
    .insights-stack { height: 360px; }
    .insight-sheet { width: 82%; }
}
@media (prefers-reduced-motion: reduce) {
    .insights-stack { --spread: 0.5; }
    .insight-sheet-status b { animation: none; }
}

/* MV の相談ボタン — 光の筋が流れるピル型。ホバーで矢印の丸が回転し、カーソルに少し吸い寄せられる */
.hero-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 240px; height: 60px; padding: 0 26px 0 30px; border-radius: 12px; background: var(--wine); box-shadow: 0 10px 24px -12px rgba(85, 0, 0, 0.6); color: #fff; font-size: 0.9rem; font-weight: 700; line-height: 1.2; translate: var(--mx, 0) var(--my, 0); transition: translate 0.35s var(--ease-out), transform 0.2s ease, background 0.2s ease, box-shadow 0.3s ease; }
.hero-cta-icon { font-size: 1.2rem; font-weight: 400; transition: transform 0.3s var(--ease-out); }
.hero-cta:hover { background: #751515; box-shadow: 0 16px 30px -14px rgba(85, 0, 0, 0.65); transform: translateY(-3px); }
.hero-cta:hover .hero-cta-icon { transform: translate(2px, -2px); }
.hero-cta:active { transform: translateY(0); }
@media (max-width: 640px) {
    .hero-cta { min-width: 220px; height: 54px; padding: 0 22px 0 26px; }
}


/* パッケージサービスのカード — 暗いグラデーションと傾けた画面プレビュー。配色は --package-bg / --package-accent で変えられる */
.package-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); align-items: center; gap: clamp(28px, 5vw, 70px); padding: clamp(30px, 5vw, 64px); overflow: hidden; border-radius: clamp(24px, 3vw, 36px); background: radial-gradient(circle at 90% 10%, rgba(232, 150, 170, 0.28), transparent 45%), var(--package-bg, linear-gradient(125deg, #15171b 30%, #3b0a10 75%, #6b1119)); box-shadow: 0 2px 6px rgba(20, 15, 14, 0.1), 0 40px 80px -40px rgba(20, 15, 14, 0.65); color: #fff; isolation: isolate; }
.package-card::before { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 40px 40px; content: ""; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.package-card-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.85); font-family: "DM Sans", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; }
.package-card-kicker span { width: 6px; height: 6px; border-radius: 50%; background: #e896aa; }
.package-card h3 { margin-top: 20px; font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1.25; }
.package-card h3 em { background: var(--package-accent, linear-gradient(90deg, #f28b8b, #e3a0c0)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.package-card-lead { max-width: 520px; margin-top: 18px; color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; line-height: 2; }
.package-card-stats { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 36px); margin: 26px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.package-card-stats dt { color: rgba(255, 255, 255, 0.55); font-size: 0.72rem; }
.package-card-stats dd { margin: 4px 0 0; font-family: "DM Sans", sans-serif; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; }
.package-card-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 28px; padding: 14px 16px 14px 24px; border-radius: 999px; background: #fff; color: #15171b; font-size: 0.85rem; font-weight: 700; transition: transform 0.3s var(--ease-out); }
.package-card-link span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #8c1c24; color: #fff; transition: transform 0.4s var(--ease-out); }
.package-card-link:hover { transform: translateY(-2px); }
.package-card-link:hover span { transform: rotate(45deg); }
.package-card-preview { display: block; perspective: 1200px; }
.package-card-preview img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.7); transform: rotateY(-14deg) rotateX(6deg) rotate(2deg); translate: 0 calc(var(--p, 0) * -24px); transition: transform 0.8s var(--ease-out); }
.package-card:hover .package-card-preview img { transform: rotateY(-6deg) rotateX(3deg) rotate(1deg) scale(1.02); }
@media (max-width: 900px) {
    .package-card { grid-template-columns: 1fr; }
    .package-card-preview { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
    .package-card-preview img { translate: none; }
}
.package-list { display: grid; gap: clamp(20px, 3vw, 32px); margin-top: clamp(48px, 6vw, 80px); }
.package-card.is-reverse { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
.package-card.is-reverse .package-card-preview { order: -1; }
.package-card.is-reverse .package-card-preview img { transform: rotateY(14deg) rotateX(6deg) rotate(-2deg); }
.package-card.is-reverse:hover .package-card-preview img { transform: rotateY(6deg) rotateX(3deg) rotate(-1deg) scale(1.02); }
@media (max-width: 900px) {
    .package-card.is-reverse { grid-template-columns: 1fr; }
    .package-card.is-reverse .package-card-preview { order: 0; }
}

/* Insights — お知らせのラベルと、種類の絞り込みタブ */
.insight-category.is-news, .insight-sheet-meta > span.is-news { background: var(--wine); color: #fff; }
.insight-tabs { display: inline-flex; gap: 4px; margin-bottom: 24px; padding: 5px; border-radius: 999px; background: rgba(184, 173, 163, 0.2); box-shadow: inset 0 1px 2px rgba(54, 35, 29, 0.08); }
.insight-tabs button { padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.insight-tabs button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px rgba(54, 35, 29, 0.08), 0 8px 18px -8px rgba(54, 35, 29, 0.35); color: var(--wine); }
.insight-list li[hidden] { display: none; }

/* Contact — 右側に送るメールの見本を置く */
.mail-preview { position: relative; padding: 18px 22px 22px; border-radius: 22px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55) 60%, rgba(184, 173, 163, 0.3)); box-shadow: inset 0 1px 1px #fff, 0 2px 6px rgba(54, 35, 29, 0.05), 0 30px 60px -28px rgba(54, 35, 29, 0.45); transform: rotate(1.5deg); transition: transform 0.6s var(--ease-out); }
.mail-preview:hover { transform: rotate(0deg) translateY(-4px); }
.mail-preview-bar { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid var(--stone-line); }
.mail-preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(184, 173, 163, 0.6); }
.mail-preview-bar span:first-child { background: var(--wine); }
.mail-preview-bar b { margin-left: auto; color: var(--stone); font-family: "DM Sans", sans-serif; font-size: 0.66rem; letter-spacing: 0.18em; }
.mail-preview-fields { margin: 0; }
.mail-preview-fields div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--stone-line); font-size: 0.85rem; }
.mail-preview-fields dt { color: var(--muted); }
.mail-preview-fields dd { margin: 0; overflow: hidden; color: var(--ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mail-preview-body { margin: 16px 0 0; padding: 18px; border-radius: 14px; background: rgba(184, 173, 163, 0.18); color: var(--ink); font-family: "Noto Sans JP", sans-serif; font-size: 0.88rem; line-height: 2.1; white-space: pre-wrap; }
.mail-preview-copy { display: inline-flex; margin-top: 16px; padding: 10px 18px; border: 0; border-radius: 999px; background: rgba(85, 0, 0, 0.08); color: var(--wine); font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: background 0.3s ease; }
.mail-preview-copy:hover { background: rgba(85, 0, 0, 0.14); }
@media (prefers-reduced-motion: reduce) {
    .mail-preview, .mail-preview:hover { transform: none; }
}

/* Ventures — 大きな写真にすりガラスの説明パネルを重ね、段ごとに左右を入れ替える */
.venture-list { display: grid; gap: clamp(56px, 8vw, 120px); }
.venture-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.venture-media { position: relative; grid-column: 1 / 9; grid-row: 1; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 28px; clip-path: inset(0 round 28px); background: #b8ada3; box-shadow: 0 2px 6px rgba(54, 35, 29, 0.06), 0 30px 60px -24px rgba(54, 35, 29, 0.4); }
.venture-media img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; translate: 0 calc(var(--p, 0) * -6%); transition: transform 0.8s var(--ease-out), opacity 0.6s ease; }
.venture-row:hover .venture-media img { transform: scale(1.04); }
.venture-media.is-contain { background: #fff; }
.venture-media.is-contain img { padding: 10% 18%; object-fit: contain; scale: 1; translate: none; }
.venture-panel { position: relative; z-index: 1; grid-column: 8 / 13; grid-row: 1; padding: clamp(28px, 3.4vw, 46px); border-radius: 26px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5) 60%, rgba(184, 173, 163, 0.32)); box-shadow: inset 0 1px 1px #fff, 0 2px 6px rgba(54, 35, 29, 0.05), 0 30px 60px -28px rgba(54, 35, 29, 0.45); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); translate: 0 calc(var(--p, 0) * 30px); }
.venture-row.is-reverse .venture-media { grid-column: 5 / 13; }
.venture-row.is-reverse .venture-panel { grid-column: 1 / 6; }
.venture-number { position: absolute; top: -0.42em; right: 22px; color: transparent; font-family: "DM Sans", sans-serif; font-size: clamp(4.5rem, 8vw, 7rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; -webkit-text-stroke: 1.5px rgba(85, 0, 0, 0.35); pointer-events: none; }
.venture-label { color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; }
.venture-panel h3 { margin-top: 12px; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.2; }
.venture-description { margin-top: 14px; color: var(--muted); font-size: 0.9rem; line-height: 1.95; }
.venture-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 24px; padding: 12px 14px 12px 22px; border-radius: 999px; background: var(--wine); box-shadow: 0 12px 26px -12px rgba(85, 0, 0, 0.6); color: #fff; font-size: 0.82rem; font-weight: 700; transition: transform 0.3s var(--ease-out); }
.venture-link span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--wine); transition: transform 0.4s var(--ease-out); }
.venture-link:hover { transform: translateY(-2px); }
.venture-link:hover span { transform: rotate(45deg); }
@media (max-width: 900px) {
    .venture-row, .venture-row.is-reverse { grid-template-columns: 1fr; }
    .venture-media, .venture-row.is-reverse .venture-media { grid-column: 1; }
    .venture-panel, .venture-row.is-reverse .venture-panel { grid-column: 1; grid-row: 2; width: calc(100% - 28px); margin: -64px 0 0 auto; translate: none; }
    .venture-row.is-reverse .venture-panel { margin: -64px auto 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .venture-media img, .venture-panel { translate: none; }
}

/* 段全体の透明度は変えず（すりガラスを含むため）、段のスライドと写真・パネルそれぞれのフェードで表示する */
.js-motion [data-reveal="rise"] { opacity: 1; transform: scale(0.97); transition: transform 1.3s var(--ease-out); }
.js-motion [data-reveal="rise"] .venture-media, .js-motion [data-reveal="rise"] .venture-panel { opacity: 0; transition: opacity 0.9s ease; }
.js-motion [data-reveal="rise"] .venture-panel { transition-delay: 0.2s; }
.js-motion [data-reveal="rise"].is-inview { transform: none; }
.js-motion [data-reveal="rise"].is-inview .venture-media, .js-motion [data-reveal="rise"].is-inview .venture-panel { opacity: 1; }
/* MV の相談ボタンは横幅だけ広げる（高さはそのまま） */
.package-list .package-index-link { justify-self: start; margin-top: 4px; }

/* #B8ADA3 を「色として見える」形で使う箇所 ─ 読みやすさが必要な文字には使わず、面・装飾・状態の色に使う */
::selection { background: var(--stone); color: var(--ink); }
html { scrollbar-color: var(--stone) transparent; }

/* ページ下部の相談 CTA は #B8ADA3 の面で締める */
.cta-panel { background: linear-gradient(120deg, #c9c0b7, var(--stone) 55%, #a89c91); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55), 0 2px 6px rgba(54, 35, 29, 0.06), 0 30px 60px -30px rgba(54, 35, 29, 0.45); }
.cta-panel::before { background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 65%); }
.cta-panel h2 { color: var(--ink); }
.cta-panel p:not(.section-kicker) { color: #3f3835; }
.cta-panel .section-kicker { background: rgba(255, 255, 255, 0.35); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6); }
.cta-panel .section-kicker::before { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45); }

/* フッターは上から #B8ADA3 に色づく面にする */
.site-footer { background: linear-gradient(180deg, rgba(184, 173, 163, 0), rgba(184, 173, 163, 0.55) 45%, var(--stone)); }
.footer-intro p, .footer-bottom, .footer-bottom a { color: #3f3835; }
.footer-bottom { border-top-color: rgba(63, 56, 53, 0.18); }

/* About の説明文は、満ちる前の文字を #B8ADA3 にし、スクロールで濃い色へ変える */
.about-statement-text .char { opacity: 1; color: color-mix(in srgb, var(--ink) calc(clamp(0, var(--progress, 1) * var(--n, 1) - var(--ci, 0), 1) * 100%), var(--stone)); transition: color 0.2s linear; }

/* Ventures の大きな番号は #B8ADA3 で塗る */
.venture-number { color: var(--stone); -webkit-text-stroke: 0; opacity: 0.85; }

/* サービス詳細 — 外部の関連サイト（例：COTETE for Biz）への導線 */
.related-links-section { padding-top: 0; }
.related-link-list { display: grid; gap: 18px; }
.related-link-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; overflow: hidden; border-radius: 28px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55) 60%, rgba(184, 173, 163, 0.3)); box-shadow: inset 0 1px 1px #fff, 0 2px 6px rgba(54, 35, 29, 0.05), 0 30px 60px -28px rgba(54, 35, 29, 0.45); color: var(--ink); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.related-link-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 1px #fff, 0 4px 10px rgba(54, 35, 29, 0.06), 0 40px 70px -28px rgba(54, 35, 29, 0.5); }
.related-link-media { position: relative; min-height: 280px; overflow: hidden; background: #efe6e4; }
.related-link-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.related-link-media.is-contain img { padding: 8%; object-fit: contain; }
.related-link-card:hover .related-link-media img { transform: scale(1.04); }
.related-link-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: clamp(28px, 4vw, 52px); }
.related-link-label { color: var(--wine); font-family: "DM Sans", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; }
.related-link-title { font-family: "DM Sans", sans-serif; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.2; }
.related-link-description { color: var(--muted); font-size: 0.9rem; line-height: 1.95; }
.related-link-cta { display: inline-flex; align-items: center; gap: 14px; margin-top: 10px; padding: 12px 14px 12px 22px; border-radius: 999px; background: var(--wine); box-shadow: 0 12px 26px -12px rgba(85, 0, 0, 0.6); color: #fff; font-size: 0.85rem; font-weight: 700; }
.related-link-cta i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--wine); font-style: normal; transition: transform 0.4s var(--ease-out); }
.related-link-card:hover .related-link-cta i { transform: rotate(45deg); }
@media (max-width: 900px) {
    .related-link-card { grid-template-columns: 1fr; }
    .related-link-media { min-height: 220px; }
}

/* SP ではスクロール時の描画負荷を下げる：背景の光だまりの常時アニメーションとスクロール連動を止める */
@media (max-width: 900px) {
    .ambient span { animation: none; translate: none; will-change: auto; }
}

/* MV の選択中の領域 — 左の語は枠ではなく文字そのものの色で示す（選択外は淡く、選択中はワイン色に） */
.hero-domains li { color: rgba(85, 0, 0, 0.22); transition: color 0.5s var(--ease-out); }
.hero-domains li.is-active { color: var(--wine); }
.hero-domains li.is-active span { color: var(--wine); }

/* コンタクトボタン — 他のボタン（ワインのベタ塗り）と差別化するため、ワイン色を透かしたガラス面にする。
   縁の光と上半分のハイライトで面を浮かせ、ホバーは少し明るくなるだけに留める。 */
.contact-cta { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.38); background: linear-gradient(135deg, rgba(120, 18, 18, 0.92), rgba(85, 0, 0, 0.84)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 12px 28px -14px rgba(85, 0, 0, 0.55); color: #fff; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.contact-cta::after { position: absolute; inset: 0 0 50%; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent); content: ""; pointer-events: none; }
.contact-cta:hover { background: linear-gradient(135deg, rgba(130, 22, 22, 0.94), rgba(92, 0, 0, 0.86)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 14px 30px -14px rgba(85, 0, 0, 0.6); }

/* 起動画面 — アプリの launch screen のように、ロゴだけを中央に見せてからページを表示する。
   表示中はページ側の初期アニメーションを止めておき、閉じると同時に再開させる。
   motion.js が動かなかった場合は、BaseLayout の head のスクリプトが数秒後に閉じる。 */
.splash { display: none; }
.is-splashing .splash, .splash.is-leaving { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(60vmax 60vmax at 20% 10%, rgba(184, 173, 163, 0.45), transparent 60%), radial-gradient(50vmax 50vmax at 85% 90%, rgba(85, 0, 0, 0.08), transparent 60%), var(--page); }
.is-splashing { overflow: hidden; }
.is-splashing body > :not(.splash), .is-splashing body > :not(.splash) * { animation-play-state: paused !important; }
.splash-logo { width: clamp(150px, 24vmin, 220px); height: auto; animation: splash-logo-in 0.9s var(--ease-out) both; }
.splash.is-leaving { animation: splash-out 0.7s var(--ease-out) forwards; pointer-events: none; }
.splash.is-leaving .splash-logo { animation: splash-logo-out 0.7s var(--ease-out) forwards; }
@keyframes splash-logo-in { from { opacity: 0; transform: scale(0.94); filter: blur(10px); } }
@keyframes splash-logo-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(1.06); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
