/*:root {
    --navy: #050d18;
    --ink: #fff;
    --muted: #fff;
    --dark: #07101b;
    --panel-w: 800px;
    --panel-h: 450px;
    --page-w: 1260px;
    --gutter: 48px;
    --ease: cubic-bezier(.2, .72, .2, 1);
    --slant-cut: 170px;
    --slant-overlap: 185px;
    --image-bleed: 380px;
    --image-offset: -190px
}*/
:root {
    --navy: #050d18;
    --ink: #fff;
    --muted: #fff;
    --dark: #07101b;
    --panel-w: 800px;
    --panel-h: 450px;
    --page-w: 1260px;
    --gutter: 48px;
    --ease: cubic-bezier(.2, .72, .2, 1);
    --slant-cut: 428px; /*角度*/
    --slant-overlap: 400px;
    --image-bleed: 380px;
    --image-offset: -190px;
    --aem-header-height: 0px;
}
@property --scrollbar-width {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px; 
}
html {
  container-type: inline-size;
}
body {
  --scrollbar-width: calc(100vw - 100cqi);
}

html {
    scroll-behavior: auto;
}

/*
html,
body {
    margin: 0;
    background: var(--navy);
    color: var(--ink);
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    line-height: 1.7
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}
*/

#main-content {
    margin: 0;
    background: var(--navy);
    color: var(--ink);
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    line-height: 1.7
}

#main-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.title {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500
}

.eyebrow {
    font-size: 14px;
    letter-spacing: .2em;
    text-transform: uppercase;
    /*color: #8298aa*/
}

.heading {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.18
}

.lead {
    color: var(--muted);
    font-size: clamp(14px, 1.2vw, 18px);
}

#main-content{
    position:relative;
}

.menu-toggle {
    position:absolute;
    z-index:9999;
    top: 24px;
    right: 24px;
    z-index: 9999;
    width: 46px;
    height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(5, 13, 24, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease
}

.menu-toggle:hover,
.menu-toggle.is-open {
    background: rgba(5, 13, 24, .92);
    border-color: rgba(255, 255, 255, .38)
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform .28s ease, opacity .22s ease
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
}

.global-nav {
    position: fixed;
    top: 78px;
    right: 24px;
    z-index: 9998;
    width: min(240px, calc(100vw - 48px));
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(5, 13, 24, .9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease
}

.global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto
}

.global-nav ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.global-nav li+li {
    margin-top: 4px
}

.global-nav a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .04em;
    line-height: 1.4;
    opacity: .82;
    transition: opacity .18s ease, background .18s ease
}

.global-nav a:hover,
.global-nav a:focus-visible {
    opacity: 1;
    background: rgba(255, 255, 255, .1);
    outline: none
}

.screen-block {
    position: relative;
    width: 100%;
    height: 100vh;
    height: calc(100dvh - var(--aem-header-height));
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    flex-direction: column;
}

.screen-bg {
    position: absolute;
    z-index: -2;
    inset: 0
}

/*.screen-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 8, 15, .9), rgba(3, 8, 15, .46), transparent)
}*/

.description-panel {
    width: min(var(--panel-w), calc(100vw - var(--gutter)));
    min-height: var(--panel-h);
    margin-inline: auto;
    padding: 48px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden
}

.description-panel--light {
    color: var(--dark);
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .86);
    box-shadow: 0 26px 75px rgba(25, 48, 65, .2);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px)
}

.description-panel--dark {
    color: #fff;
    background: rgba(4, 11, 20, .68);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 26px 75px rgba(0, 0, 0, .34);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px)
}

.description-panel--light .lead {
    color: #243541
}

.description-panel--dark :is(.lead, .eyebrow) {
    color: rgba(255, 255, 255, .94)
}

.description-panel .heading {
    margin: .18em 0 .55em
}

.hero .screen-bg::after,
.ending .screen-bg::after {
    background: radial-gradient(circle, transparent 5%, rgba(3, 8, 15, .48) 62%, rgba(3, 8, 15, .9))
}

.hero h1 {
    font-size: clamp(52px, 7vw, 104px);
    margin: .2em 0;
    line-height: 1.1
}

.technology-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 26px
}

.technology-card {
    min-height: 165px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(116, 135, 149, .2);
    display: flex;
    flex-direction: column;
    justify-content: center
}

.technology-card h3 {
    text-align: center;
    font: 500 clamp(21px, 1.8vw, 28px) "Yu Mincho";
    margin: 0 0 16px;
    color: #243541;
}

.technology-card p {
    margin: 0;
    color: #243541;
    font-size: clamp(13px, 1vw, 16px)
}

.formula {
    text-align: center;
    font: 500 clamp(23px, 2.2vw, 34px) "Yu Mincho";
    margin: 22px 0 0
}

.locations-intro {
    position: absolute;
    z-index: 30;
    top: 7vh;
    /*left: max(24px, calc((100vw - var(--page-w))/2));
    width: min(860px, calc(100% - var(--gutter)));*/

    pointer-events: none;
    text-shadow: 0 3px 22px #000
}

.locations-intro .heading {
    margin: .15em 0 .65em;
    font-size: clamp(32px, 5.4vw, 48px);
    white-space: nowrap
}

.locations-intro .lead {
    /*max-width: 980px;*/
    color: rgba(255, 255, 255, .96);
    font-weight: 700;
    white-space: nowrap
}

.locations-panels {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    background: transparent
}

.location-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    outline: none;
    margin-left: calc(var(--slant-overlap) * -1);
    transform: translateX(0);
    transition: flex-grow .72s var(--ease), filter .45s, transform .72s var(--ease)
}

.location-panel:first-child {
    margin-left: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant-cut)) 100%, 0 100%)
}

.location-panel:not(:first-child):not(:last-child) {
    clip-path: polygon(var(--slant-cut) 0, 100% 0, calc(100% - var(--slant-cut)) 100%, 0 100%)
}

.location-panel:last-child {
    clip-path: polygon(var(--slant-cut) 0, 100% 0, 100% 100%, 0 100%)
}

.location-panel+.location-panel {
    border-left: none
}

.location-panel:nth-child(1) {
    z-index: 1;
    flex: .8
}

.location-panel:nth-child(2) {
    z-index: 2;
    flex: 1.1
}

.location-panel:nth-child(3) {
    z-index: 3;
    flex: 1.1
}

.location-panel:nth-child(4) {
    z-index: 4;
    flex: .8
}

.location-bg {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: calc(100% + var(--image-bleed))!important;
    max-width: none;
    margin-left: var(--image-offset);
    filter: grayscale(100%);
    transform: scale(1.08);
    transition: transform .72s var(--ease)
}
.location-panel:nth-child(2) .location-bg {
    margin-left: -360px;
}

.location-panel::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 7, 13, .18) 0%, rgba(2, 7, 13, .14) 36%, rgba(2, 7, 13, .86) 100%)
}

.location-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .10), transparent 10%, transparent 88%, rgba(0, 0, 0, .25));
    transition: opacity .45s
}

.location-copy {
    position: absolute;
    z-index: 5;
    left: 12vw;
    bottom: 22vh;
    text-shadow: 0 2px 15px #000
}
.location-panel:first-child .location-copy {
    left: 1vw;
}
.location-panel:last-child .location-copy {
    left: 12vw;
}
@media (max-width:1060px) {
    .location-panel:first-child .location-copy {
        left: 0;
    }
    .location-panel:last-child .location-copy {
        left: 0;
    }
}


.location-copy strong {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding-bottom: 9px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .85);
    font: 500 clamp(20px, 1.8vw, 34px) "Yu Mincho", "Hiragino Mincho ProN", serif;
    line-height: 1.2;
    white-space: nowrap;
    transition: font-size .72s var(--ease)
}

.location-copy h3 {
    font-size: clamp(11px, .92vw, 17px);
    font-weight: 700;
    margin: 0;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: font-size .72s var(--ease)
}

.location-copy p {
    display: none
}

.location-overlay-message {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 50%;
    width: min(82%, 760px);
    color: #fff;
    text-align: center;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    font-size: clamp(18px, 2vw, 36px);
    line-height: 1.55;
    letter-spacing: .02em;
    opacity: 0;
    pointer-events: none;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .68);
    transform: translate(-50%, calc(-50% + 30px));
    transition: opacity .18s ease, transform .18s ease
}
.location-panel:nth-child(1) .location-overlay-message {
    left: 40%;
}
.location-panel:nth-child(4) .location-overlay-message {
    left: 60%;
}

/* PC: hover・キーボードフォーカス時のみ説明を表示 */
@media (hover: hover) and (pointer: fine) and (min-width: 1061px) {
    .location-panel:hover .location-overlay-message,
    .location-panel:focus-visible .location-overlay-message {
        opacity: 1;
        transform: translate(-50%, -50%);
        transition: opacity .35s ease .45s, transform .45s ease .45s;
    }
}

@media (hover:hover) and (pointer:fine) and (min-width:1061px) {
    .locations-panels:hover .location-panel {
        flex-grow: .72;
        z-index: 1;
    }

    .locations-panels:hover .location-panel .location-bg {
        filter: grayscale(100%) brightness(.55);
    }

    .locations-panels:hover .location-panel:hover .location-bg,
    .location-panel:focus-visible .location-bg {
        filter: grayscale(0%) brightness(1);
    }

    .locations-panels:hover .location-panel:hover,
    .location-panel:focus-visible {
        flex-grow: 1.3;
        z-index: 20;
    }

    .locations-panels:hover .location-panel:hover .location-bg,
    .location-panel:focus-visible .location-bg {
        transform: scale(1.04)
    }

    .locations-panels:hover .location-panel:not(:hover) strong {
        font-size: 15px
    }

    .locations-panels:hover .location-panel:not(:hover) h3 {
        font-size: 9px
    }

    .location-panel:hover strong {
        font-size: 32px
    }

    .location-panel:hover h3 {
        font-size: 18px
    }
}

.location-panel.is-active {
    flex-grow: 4.8;
    filter: none;
    z-index: 20;
    transform: translateX(0)
}

.locations-panels.has-active .location-panel:not(.is-active) {
    flex-grow: .72;
    filter: saturate(.72) brightness(.68)
}

.location-panel.is-active .location-bg {
    transform: scale(1.04)
}

.location-panel.is-active strong {
    font-size: 32px
}

.location-panel.is-active h3 {
    font-size: 18px
}

/*.history::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(transparent 55%, rgba(2, 9, 18, .9))
}*/
.history {
    position: relative;
}
.history-1946 {
    position: absolute;
    left: 1vw;
    top: 0;
    width: 16vw;
}
.history-future {
    position: absolute;
    right: 1vw;
    bottom: 0;
    width: 24vw;
}
@media (max-width:768px) {
    .history-1946 {
        width: 32vw;
    }
    .history-future {
        width: 48vw;
    }
}

.history-panel .anniversary {
    position: absolute;
    top: 0;
    right: 24px;
    padding: 12px 0;
    color: #fff;
    /*background: #07111d;*/
    text-align: center;
    width: 84px;
}

.anniversary small {
    display: block;
    font: 10px Arial
}

.anniversary strong {
    display: block;
    font: 700 44px Arial
}

.history-message {
    /*position: absolute;
    right: 24px;
    bottom: 4vh;
    left: 24px;*/
    text-align: center;
    font: 500 clamp(18px, 2vw, 24px)/1.45 "Yu Mincho";
    text-shadow: 0 3px 16px #000;
    margin-top: 1.5em;
}

.lineup {
    background: #edf2f5;
    color: var(--dark)
}

.lineup-inner {
    width: min(calc(100% - var(--gutter)), var(--page-w));
    margin-inline: auto
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 30px
}

.product {
    display: block;
    background: #fff;
    color: var(--dark);
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(7, 16, 27, .08);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease)
}

.product figure {
    height: min(210px, 24vh);
    margin: 0;
    overflow: hidden
}

.product img {
    transition: transform .45s var(--ease)
}

.product-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 14px 18px
}

.product h3 {
    margin: 0;
    padding: 0;
    font-size: 18px
}

.product-arrow {
    position: relative;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid #7c8c99;
    border-radius: 50%;
    transition: background-color .28s, color .28s, border-color .28s
}

.product-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translate(-65%, -50%) rotate(45deg)
}

.product:is(:hover, :focus-visible) {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(7, 16, 27, .16);
    outline: none
}

.product:is(:hover, :focus-visible) img {
    transform: scale(1.035)
}

.product:is(:hover, :focus-visible) .product-arrow {
    color: #fff;
    background: var(--dark);
    border-color: var(--dark)
}

.ending h2 {
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.3;
    margin-bottom: 0.6em;
}

.ending-copy {
    text-align: center;
}

.hero-copy {
    font-size: 24px;
    text-align: center;
}

@media (max-height:760px) and (min-width:961px) {
    .description-panel {
        min-height: min(var(--panel-h), 82vh);
        padding: 32px 52px
    }
}

@media (max-width:768px) {
    :root {
        --slant-cut: 0px;
        --slant-overlap: 0px;
        --image-bleed: 0px;
        --image-offset: 0px
    }

    .screen-block {
        height: auto;
        min-height: auto;
    }

    .hero,
    .emotion,
    .technology,
    .history,
    .future,
    .ending {
        min-height: calc(100dvh - var(--aem-header-height));
        padding: 72px 24px;
        box-sizing: border-box
    }

    .hero,
    .ending {
        text-align: left;
    }

    .hero-copy,
    .ending-copy {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 520px;
        text-align: center;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 58px);
        line-height: 1.16
    }

    .heading {
        font-size: clamp(24px, 8vw, 28px)
    }

    .lead {
        font-size: 14px;
        line-height: 1.85
    }

    .description-panel {
        width: auto;
        min-height: auto;
        margin: 0;
        padding: 34px 26px;
        border-radius: 0;
        box-sizing: border-box
    }

    .description-panel--light,
    .description-panel--dark {
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 14px 42px rgba(0, 0, 0, .16)
    }

    .description-panel--dark {
        background: rgba(4, 11, 20, .72)
    }

    .technology-cards {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .technology-card {
        min-height: auto;
        padding: 20px
    }

    .history-panel .anniversary {
        right: 0;
        width: 40px;
    }

    .history-message {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 28px 24px 0;
        font-size: clamp(14px, 5.6vw, 18px)
    }

    .lineup {
        padding: 56px 0
    }

    .lineup-inner {
        width: auto;
        margin: 0 20px
    }

    .lineup h2 {
        font-size: clamp(28px, 8vw, 42px);
        line-height: 1.3
    }

    .products {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .product figure {
        height: 190px
    }

    .product-label {
        min-height: 64px;
        padding: 12px 16px
    }

    .ending h2 {
        font-size: clamp(24px, 8vw, 36px);
        line-height: 1.2;
        text-align: center;
    }

    .screen-bg img {
        object-position: center
    }

    .menu-toggle {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        padding: 0 11px
    }

    .global-nav {
        top: 64px;
        right: 14px;
        width: min(220px, calc(100vw - 28px));
        padding: 12px
    }
}
@media (max-width:1060px) {

    .screen-block.locations {
        min-height: auto;
        height: auto;
    }
    .location-panel {
        cursor: unset;
    }
    .locations {
        display: block;
        min-height: auto;
        padding: 72px 0 56px;
        background: #07101b;
        overflow: visible
    }

    .locations-intro {
        position: relative;
        z-index: 2;
        top: auto;
        left: auto;
        width: auto;
        margin: 0 24px 28px;
        pointer-events: auto;
        text-shadow: 0 3px 18px #000
    }

    .locations-intro .heading {
        white-space: normal;
        font-size: clamp(24px, 6vw, 32px);
        line-height: 1.2;
        margin: .1em 0 .45em
    }

    .locations-intro .lead {
        white-space: normal;
        font-size: 14px;
        line-height: 1.9
    }

    .locations-panels {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        width: auto;
        gap: 18px;
        padding: 0 20px;
        overflow: visible
    }

    .location-panel {
        flex: none !important;
        min-height: 360px;
        height: auto;
        margin-left: 0 !important;
        clip-path: none !important;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 18px 44px rgba(0, 0, 0, .26);
        background: #111
    }

    .location-panel:nth-child(n) {
        flex: none !important
    }

    .location-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin-left: 0;
        max-width: 100%;
        transform: scale(1.02);
        object-position: center
    }
    .location-panel:nth-child(2) .location-bg {
        margin-left: 0;
    }

    .location-panel::before {
        background: linear-gradient(180deg, rgba(2, 7, 13, .08) 0%, rgba(2, 7, 13, .15) 35%, rgba(2, 7, 13, .88) 100%)
    }

    .location-panel::after {
        display: none
    }

    .location-overlay-message {
        display: none
    }

    .location-copy {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 150px 22px 24px;
        box-sizing: border-box;
        text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
        /*background: linear-gradient(transparent, rgba(2, 7, 13, .82) 54%, rgba(2, 7, 13, .95))*/
    }

    .location-copy strong {
        font-size: clamp(20px, 2.45vw, 26px);
        white-space: normal;
        margin-bottom: 10px
    }

    .location-copy h3 {
        font-size: 13px;
        white-space: normal;
        line-height: 1.5
    }

    .location-copy p {
        display: block;
        margin: 1.5em 0 0;
        color: rgba(255, 255, 255, .94);
        font-size: 24px;
        font-size: clamp(16px, 2.26vw, 24px);
        line-height: 1.3;
        font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    }

    .location-panel.is-active {
        flex: none !important;
        transform: none;
    }

    .locations-panels.has-active .location-panel:not(.is-active) {
        flex: none !important;
    }

    /* 通常時はグレートーン */
    .location-panel .location-bg {
        filter: grayscale(100%) brightness(.72);
        transition:
            filter .65s ease,
            transform .72s var(--ease);
    }

    /* 画面中央に最も近い拠点だけカラー表示 */
    .location-panel.is-in-center .location-bg {
        filter: grayscale(0%) brightness(1);
        transform: scale(1.04);
    }

    /*
     * スクロールによるアクティブ状態では、
     * PC用の文字サイズ変更を引き継がない
     */
    .location-panel.is-in-center .location-copy strong {
        font-size: clamp(20px, 2.45vw, 26px);
    }

    .location-panel.is-in-center .location-copy h3 {
        font-size: 13px;
    }

}
@media (min-width:1061px)
       and (orientation:landscape)
       and (hover:none),
       (min-width:1061px)
       and (orientation:landscape)
       and (pointer:coarse){

    .location-overlay-message{
        opacity:0;
        transform:translate(-50%, calc(-50% + 30px));
    }

    .location-panel.is-active .location-overlay-message{
        opacity:1;
        transform:translate(-50%, -50%);
    }
}
@media (max-width:620px) {
    :root {
        --gutter: 28px
    }

    .description-panel {
        padding: 32px 22px
    }

    .emotion,
    .technology,
    .history,
    .future {
        padding-left: 18px;
        padding-right: 18px
    }

    .hero,
    .ending {
        padding-left: 22px;
        padding-right: 22px
    }

    .location-panel {
        min-height: 340px
    }

    .product figure {
        height: 176px
    }
}

@media (max-width:380px) {
    .location-panel {
        min-height: 320px
    }

    .location-copy {
        padding: 130px 18px 22px
    }

    .location-copy strong {
        font-size: 18px
    }

    .hero h1 {
        font-size: 32px
    }

    .heading {
        font-size: 22px
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important
    }
}


.hero-video-wrap{
    position:absolute;
    inset:0;
    overflow:hidden;
}

.hero-video{

    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

}
.hero-video-wrap::after{

    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.35)
        );

}

#main-content {
    position: relative;
}

#main-content .menu-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 9999;
}

#main-content .menu-toggle.is-fixed {
    position: fixed;
    /*top: 24px;*/
    top: calc(var(--aem-header-height, 0px) + 24px);
    right: 24px;
}

#main-content .global-nav {
    position: absolute;
    top: 78px;
    right: 24px;
    z-index: 9998;
}

#main-content .global-nav.is-fixed {
    position: fixed;
    /*top: 78px;*/
    top: calc(var(--aem-header-height, 0px) + 78px);
    right: 24px;
}

@media (max-width: 768px) {
    #main-content .menu-toggle {
        top: 14px;
        right: 14px;
    }

    #main-content .menu-toggle.is-fixed {
        /*top: 14px;*/
        top: calc(var(--aem-header-height, 0px) + 14px);
        right: 14px;
    }

    #main-content .global-nav {
        top: 64px;
        right: 14px;
    }

    #main-content .global-nav.is-fixed {
        top: 64px;
        right: 14px;
    }
}

/* 製品群セクション全体 */
.lineup {
    background: #eaf0f4;
    color: var(--dark);
    min-height: 740px;
    height: auto;
    padding: 56px 0;
}

.lineup-inner {
    width: min(calc(100% - 68px), 1160px);
    margin-inline: auto;
}

.lineup .heading {
    margin: 0 0 28px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.25;
    text-align: center;
    margin-bottom: 1em;
}

/* 添付イメージのような2列カード */
.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
    margin-top: 0;
}

.product {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    min-height: 102px;
    padding: 0 26px 0 22px;
    background: #fff;
    color: #07101b;
    border: 1px solid rgba(7, 16, 27, .08);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(7, 16, 27, .16);
    text-decoration: none;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product figure {
    width: 130px;
    height: 76px;
    margin: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product figure img,
.product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.product-label {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    align-items: center;
    gap: 16px;
    min-height: auto;
    padding: 0;
}

.product h3 {
    margin: 0;
    padding: 0;
    color: #07101b;
    font-size: clamp(18px, 1.71vw, 24px);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: .02em;
}

.product-arrow {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: none;
    border-radius: 0;
    color: #07101b;
    background: transparent;
}

.product-arrow::before {
    content:"\f105";
    font-family:FontAwesome;

    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    border: none;
    transform: translate(-50%, -50%);
    font-size: 16px;
    line-height: 1;
}

.product:is(:hover, :focus-visible) {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(7, 16, 27, .18);
    border-color: rgba(7, 16, 27, .15);
    outline: none;
}

.product:is(:hover, :focus-visible) img {
    transform: scale(1.035);
}

.product:is(:hover, :focus-visible) .product-arrow {
    color: #07101b;
    background: transparent;
    border-color: transparent;
}

/* 画像サイズのばらつき調整 */
.product:nth-child(1) figure {
    width: 120px;
}

.product:nth-child(2) figure {
    width: 138px;
}

.product:nth-child(3) figure {
    width: 140px;
}

.product:nth-child(4) figure {
    width: 142px;
}

/* タブレット */
@media (max-width: 768px) {
    .lineup {
        padding: 52px 0;
    }

    .lineup-inner {
        width: auto;
        margin: 0 24px;
    }

    .products {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product {
        grid-template-columns: 128px minmax(0, 1fr);
        min-height: 96px;
        padding: 0 20px 0 18px;
    }

    .product figure {
        width: 112px;
        height: 70px;
    }

    .product h3 {
        font-size: clamp(18px, 4.7vw, 24px);
    }
}

/* スマホ */
@media (max-width: 620px) {
    .lineup {
        padding: 46px 0;
    }

    .lineup-inner {
        margin: 0 18px;
    }

    .lineup .heading {
        margin-bottom: 20px;
        font-size: clamp(26px, 5.81vw, 36px);
    }

    .product {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 92px;
        padding: 0 16px 0 14px;
        border-radius: 5px;
    }

    .product figure,
    .product:nth-child(1) figure,
    .product:nth-child(2) figure,
    .product:nth-child(3) figure,
    .product:nth-child(4) figure {
        width: 92px;
        height: 62px;
    }

    .product-label {
        gap: 10px;
    }

    .product h3 {
        font-size: 17px;
        line-height: 1.32;
    }

    .product-arrow::before {
        font-size: 14px;
    }
}

/* パネル出現アニメーション */

.description-panel{
    opacity:0;
    transform:translateY(80px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.description-panel.is-visible{
    opacity:1;
    transform:translateY(0);
}
.pc-block {
    display: block;
}
.sp-block {
    display: none;
}
.sp-br {
    display: none;
}
@media (max-width: 779px) {
    .pc-block {
    display: none;
    }
    .sp-block {
        display: block;
    }
    .sp-br {
        display: block;
    }
}

/* タブレット横: パネルをタップしたときだけ展開・カラー表示 */
@media (min-width: 1061px) and (orientation: landscape) and (hover: none),
       (min-width: 1061px) and (orientation: landscape) and (pointer: coarse) {

    .location-panel {
        cursor: pointer;
    }

    .location-panel.is-active {
        flex-grow: 1.3;
        z-index: 20;
        transform: translateX(0);
    }

    .location-panel.is-active .location-bg {
        filter: grayscale(0%) brightness(1);
        transform: scale(1.04);
    }

    .location-panel.is-active .location-overlay-message {
        opacity: 1;
        transform: translate(-50%, -50%);
        transition: opacity .35s ease .2s, transform .45s ease .2s;
    }

    .locations-panels.has-active .location-panel:not(.is-active) {
        flex-grow: .72;
    }

    .locations-panels.has-active .location-panel:not(.is-active) .location-bg {
        filter: grayscale(100%) brightness(.55);
    }

    .locations-panels.has-active .location-panel:not(.is-active) strong {
        font-size: 15px;
    }

    .locations-panels.has-active .location-panel:not(.is-active) h3 {
        font-size: 9px;
    }
}

@media (min-width: 1061px) and (orientation: landscape) and (hover: none),
       (min-width: 1061px) and (orientation: landscape) and (pointer: coarse) {

    .location-overlay-message{
        opacity:0;
        transform:translate(-50%, calc(-50% + 30px));
        transition:
            opacity .25s ease,
            transform .25s ease;
    }

    .location-panel.is-active .location-overlay-message{
        opacity:1;
        transform:translate(-50%, -50%);
    }

}

/* =========================================================
   タブレット横の最終上書き
   ・通常時／閉じた状態は説明を非表示
   ・is-active が付いた拠点だけ説明を表示
   ・タッチ端末で残る :hover よりこちらを優先
   ========================================================= */
@media (min-width: 1061px) and (orientation: landscape) and (hover: none),
       (min-width: 1061px) and (orientation: landscape) and (pointer: coarse) {
    .location-panel:not(.is-active) .location-overlay-message,
    .location-panel:not(.is-active):hover .location-overlay-message {
        opacity: 0 !important;
        visibility: hidden;
        transform: translate(-50%, calc(-50% + 30px)) !important;
        transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    }

    .location-panel.is-active .location-overlay-message {
        opacity: 1 !important;
        visibility: visible;
        transform: translate(-50%, -50%) !important;
        transition: opacity .35s ease .2s, transform .45s ease .2s, visibility 0s;
    }
}
