@charset "utf-8";

/* 新共通UIだけの書体・レイアウト。旧LPの共通CSSは変更しない。 */
:root { --site-header-height: 136px; --site-admin-height: 0px; }
body.ex-site-layout { min-width: 0; margin: 0; }
body.ex-site-layout.admin-bar { --site-admin-height: 32px; }
body.ex-site-layout #body { min-width: 0; width: 100%; padding-left: 0; padding-top: var(--site-header-height); }
body.ex-site-home #body { padding-top: 0; overflow: visible; }
body.ex-site-layout main > section { min-width: 0; }
body.ex-site-layout main.column_page .back { min-width: 0; }
body.ex-site-layout .about .video > iframe { max-width: 100%; height: auto; aspect-ratio: 760/427; }
body.ex-site-layout .about .video > p { max-width: 100%; box-sizing: border-box; }
.ex-page-top { float: right; padding: 8px; border: 0; background: transparent; cursor: pointer; font: inherit; }
html { scroll-padding-top: calc(var(--site-header-height) + var(--site-admin-height) + 16px); }
.ex-site-header, .ex-site-footer, .ex-site-links { font-family: 'Noto Serif JP', 'Yu Mincho', serif; font-weight: 400; box-sizing: border-box; }
.ex-site-header *, .ex-site-footer *, .ex-site-links * { box-sizing: border-box; }
.ex-site-header a, .ex-site-footer a, .ex-site-links a { color: inherit; text-decoration: none; transition: opacity .2s; }
.ex-site-header a:hover, .ex-site-footer a:hover, .ex-site-links a:hover { opacity: .7; }
.ex-site-header a:focus-visible, .ex-site-header button:focus-visible, .ex-site-header summary:focus-visible, .ex-site-footer a:focus-visible, .ex-site-links a:focus-visible { outline: 2px solid currentColor !important; outline-offset: 5px; }
.ex-site-header button { font: inherit; color: inherit; cursor: pointer; }
.ex-site-header [hidden] { display: none !important; }
.ex-site-header { position: fixed; z-index: 1000; top: var(--site-admin-height); left: 0; width: 100%; color: #fff; background: rgba(0,0,0,.85); }
.ex-site-news { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 48px; padding: 8px 24px; background: #000; font-size: 14px; line-height: 24px; }
.ex-news-label { font-size: 20px; font-style: italic; }
.ex-site-news > a { display: flex; gap: 16px; min-width: 0; max-width: 1000px; }
.ex-site-news time { flex-shrink: 0; }
.ex-site-news a span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* 横一列と項目間隔は、画面幅1440pxの配置を上限とする。 */
.ex-header-bar {
    --header-bar-width: min(100vw, 1440px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: max(8px, calc(var(--header-bar-width) * .025));
    max-width: var(--header-bar-width);
    min-height: 96px;
    margin-inline: auto;
    padding: 16px clamp(12px,4.1667vw,60px);
}
.ex-site-logo { display: block; flex-shrink: 0; }
.ex-site-logo img { display: block; width: clamp(54px,6.806vw,98px); height: auto; }
.ex-site-navigation { display: flex; align-items: center; justify-content: space-between; gap: max(8px, calc(var(--header-bar-width) * .022)); flex: 1; min-width: 0; }
.ex-nav-list { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: max(4px, calc(var(--header-bar-width) * .01)); }
.ex-nav-label { display: flex; align-items: center; white-space: nowrap; min-height: 58px; gap: 3px; font-size: clamp(8px,.9722vw,14px); font-weight: 500; line-height: 24px; }
.ex-nav-toggle { padding: 2px; width: 14px; height: 24px; border: 0; background: none; }
.ex-nav-toggle img { display: block; width: 10px; height: 10px; transform: rotate(180deg); }
.ex-nav-toggle[aria-expanded=true] img { transform: none; }
.ex-header-utility { display: flex; align-items: center; gap: max(8px, calc(var(--header-bar-width) * .0222)); flex-shrink: 0; }
.ex-header-utility > a { display: flex; align-items: center; flex-direction: column; gap: 8px; font-size: clamp(8px,.9722vw,14px); white-space: nowrap; }
.ex-header-utility img { display: block; width: clamp(18px,1.806vw,26px); height: auto; }
.ex-drawer-button { display: none; }
.ex-mega { position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100vh - var(--site-header-height) - var(--site-admin-height)); overflow: auto; padding: 48px clamp(24px,4.167vw,60px); background: rgba(0,0,0,.86); border-top: 1px solid #000; animation: ex-menu-in .2s ease-out; }
.ex-mega-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 40px; }
.ex-subgroup { position: relative; min-width: 0; }
.ex-subgroup > summary { list-style: none; font-size: 22px; line-height: 40px; letter-spacing: .08em; cursor: default; }
.ex-subgroup > summary::-webkit-details-marker { display: none; }
.ex-subgroup-content { padding-top: 16px; }
.ex-menu-all { position: absolute; top: 8px; right: 0; max-width: 60%; margin: 0; font-size: 14px; text-align: right; line-height: 24px; }
.ex-menu-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 40px; }
.ex-menu-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 14px; line-height: 24px; }
.ex-menu-card > img { display: block; width: 100%; height: auto; }
.ex-menu-card span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ex-menu-card span::after { content: ''; flex: 0 0 7px; width: 7px; height: 24px; background: url('../img/site_redesign/menu-arrow.svg') center / contain no-repeat; }
.ex-menu-grid-four { grid-column: 1 / -1; grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 786px; }
.ex-menu-list { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 14px; line-height: 24px; }
.ex-menu-list h3 { margin: 0 0 8px; font-size: 18px; font-weight: 400; }
.ex-menu-list > a { display: block; width: 100%; padding-right: 18px; background: url('../img/site_redesign/menu-arrow.svg') right center / 6px 20px no-repeat; }
@keyframes ex-menu-in { from { opacity: 0; } to { opacity: 1; } }

.ex-site-links { padding: 120px max(24px,calc((100% - 1200px)/2)); background: #fff; color: #000; }
.ex-site-primary-links { display: grid; grid-template-columns: 270px 270px; justify-content: space-between; max-width: 786px; margin: 0 auto 80px; }
.ex-site-primary-links > a { display: flex; align-items: center; flex-direction: column; gap: 8px; font-size: 18px; line-height: 32px; letter-spacing: .08em; }
.ex-site-primary-links > a > span:last-child { display: flex; align-items: center; justify-content: center; gap: 16px; }
.ex-site-link-image { display: block; width: 100%; }
.ex-site-link-image > img { display: block; width: 100%; height: auto; }
.ex-site-secondary-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; max-width: 1200px; margin: auto; }
.ex-site-secondary-links > a { display: flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid #000; padding: 16px; font-size: 16px; line-height: 24px; letter-spacing: .08em; }
.ex-chevron { display: inline-block; width: 7px; flex-shrink: 0; object-fit: contain; vertical-align: middle; }

footer.ex-site-footer { width: 100%; max-width: none; min-width: 0; padding: 120px max(24px,calc((100% - 1200px)/2)) 40px; margin: 0; color: #000; background: #f3f3f3; }
.ex-footer-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 40px; }
.ex-footer-brand { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.ex-footer-logo { display: flex; align-items: center; justify-content: center; width: 270px; height: 176px; }
.ex-footer-logo img { width: 205px; height: auto; display: block; }
.ex-footer-social { display: flex; align-items: center; justify-content: center; gap: 32px; min-height: 90px; }
.ex-footer-social a { display: block; }
.ex-footer-social img { display: block; object-fit: contain; }
.ex-footer-navigation { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-areas: 'diamond high bridal' 'story quality info' '. order info'; gap: 40px; }
.ex-footer-diamond { grid-area: diamond; }
.ex-footer-high { grid-area: high; }
.ex-footer-bridal { grid-area: bridal; }
.ex-footer-story { grid-area: story; }
.ex-footer-quality { grid-area: quality; }
.ex-footer-order { grid-area: order; }
.ex-footer-info { grid-area: info; display: flex; flex-direction: column; gap: 16px; }
.ex-footer-group { margin: 0; padding: 0; min-width: 0; }
.ex-footer-group h2, .ex-footer-info > a { font-size: 16px; line-height: 24px; letter-spacing: .08em; font-weight: 400; }
.ex-footer-group h2 { margin: 0 0 16px; }
.ex-footer-group ul { list-style: none; margin: 0; padding: 0; }
.ex-footer-group li { font-size: 14px; font-weight: 500; line-height: 24px; margin: 0 0 8px; padding-left: 1em; text-indent: -1em; overflow-wrap: anywhere; }
.ex-footer-group li::before { content: '・'; }
.ex-footer-group li > a { display: inline; }
.ex-footer-copyright { margin: 80px 0 0; padding: 0; text-align: center; font: 500 14px/20px 'EB Garamond', serif; }

/* 動きは対象属性と初期化済みクラスの両方があるときだけ有効にする。 */
@media (prefers-reduced-motion:no-preference) {
    html.ex-reveal-pending [data-site-reveal=letters]:not(.ex-reveal-ready) { visibility: hidden; }
}
[data-site-reveal] { scroll-margin-top: calc(var(--site-header-height) + 16px); }
.ex-reveal-ready { transition: opacity .8s ease, transform .8s ease; }
.ex-reveal-ready:not(.is-visible):not([data-site-reveal=letters]) { opacity: 0; transform: translateY(20px); }
.ex-reveal-letter { display: inline-block; white-space: pre; }
/* 既存の見出し内spanの指定より優先し、装飾文字は親の書体で横に並べる。 */
.ex-site-layout [data-site-reveal=letters] span.ex-reveal-letter { display: inline-block; font: inherit; margin: 0; padding: 0; border: 0; letter-spacing: inherit; }
.ex-reveal-ready .ex-reveal-letter { transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--letter-index) * 45ms); }
.ex-reveal-ready:not(.is-visible) .ex-reveal-letter { opacity: 0; transform: translateY(.35em); }
html.ex-reveal-static [data-site-reveal=letters] .ex-reveal-letter { opacity: 1; transform: none; transition: none; }

@media (min-width:768px) {
    .ex-nav-label { position: relative; width: max-content; }
    .ex-nav-toggle {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        display: grid;
        place-items: center;
        width: 28px;
        height: 16px;
        padding: 0;
    }
    .ex-nav-toggle img { display: none; }
    .ex-nav-toggle::after {
        content: '';
        width: 9px;
        height: 9px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        opacity: 0;
    }
    .ex-nav-toggle:is([aria-expanded=true], :focus-visible)::after { opacity: 1; }
    .ex-site-header .ex-nav-toggle:focus-visible { outline-offset: 0; }
}
@media (min-width:768px) and (hover:none), (min-width:768px) and (pointer:coarse) {
    .ex-nav-toggle::after { opacity: 1; }
}
@media (min-width:768px) and (max-width:1100px) {
    .ex-nav-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 12px; }
    .ex-nav-label { align-items: flex-start; min-height: 32px; font-size: 12px; line-height: 20px; }
    .ex-nav-toggle { height: 12px; }
    .ex-site-navigation { gap: 16px; }
    .ex-header-utility { gap: 16px; }
    .ex-header-utility > a { font-size: 12px; }
    .ex-footer-inner { grid-template-columns: 180px minmax(0,1fr); gap: 24px; }
    .ex-footer-logo { width: 180px; }
    .ex-footer-logo img { max-width: 160px; }
    .ex-footer-navigation { gap: 24px; }
    .ex-footer-social { gap: 16px; }
    .ex-menu-grid { gap: 16px; }
    .ex-menu-all { position: static; max-width: none; margin-bottom: 16px; text-align: left; font-size: 12px; }
}
@media (max-width:782px) { body.ex-site-layout.admin-bar { --site-admin-height: 46px; } }
@media (max-width:767px) {
    :root { --site-header-height: 100px; }
    .ex-site-news { min-height: 36px; padding: 8px 16px; gap: 0; font-size: 14px; line-height: 20px; }
    .ex-news-label { display: none; }
    .ex-site-news > a { gap: 10px; max-width: 100%; }
    .ex-site-news time { border-right: 1px solid #fff; padding-right: 10px; }
    .ex-header-bar { min-height: 64px; height: 64px; padding: 8px 16px; }
    .ex-site-logo img { width: 72px; height: 48px; }
    .ex-drawer-button { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: transparent; border: 0; }
    .ex-menu-close-icon { display: none; }
    .is-menu-open .ex-menu-close-icon { display: block; }
    .is-menu-open .ex-menu-open-icon { display: none; }
    .ex-site-navigation { display: none; position: fixed; top: calc(var(--site-header-height) + var(--site-admin-height)); bottom: 0; left: 0; width: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 48px 16px 80px; background: #333; }
    .is-menu-open .ex-site-navigation { display: block; animation: ex-menu-in .25s ease-out; }
    .ex-nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 40px; }
    .ex-nav-item { border: 0; }
    .ex-nav-label { justify-content: space-between; min-height: 50px; font-size: 16px; line-height: 34px; border-bottom: 1px solid #fff; }
    .ex-nav-label > a { flex: 1; padding: 8px 0; }
    .ex-nav-item:nth-child(2) .ex-nav-label::after { content: ''; width: 24px; height: 24px; background: url('../img/site_redesign/menu-arrow.svg') center/7px 24px no-repeat; }
    .ex-nav-toggle { width: 44px; height: 48px; padding: 10px; }
    .ex-nav-toggle img { width: 24px; height: 24px; }
    .ex-mega { position: static; padding: 40px 0 0; width: 100%; max-height: none; overflow: visible; border: 0; background: transparent; animation-duration: .25s; }
    .ex-mega-inner { display: flex; flex-direction: column; gap: 64px; }
    .ex-subgroup > summary { display: flex; justify-content: space-between; align-items: center; font-size: 16px; line-height: 34px; padding: 8px 0; cursor: pointer; }
    .ex-subgroup > summary::after { content: '+'; width: 24px; height: 24px; font: 300 24px/24px sans-serif; text-align: center; }
    .ex-subgroup[open] > summary::after { content: '−'; }
    .ex-subgroup-content { padding-top: 32px; }
    .ex-menu-grid, .ex-menu-grid-four { display: flex; flex-direction: column; gap: 32px; padding: 0 16px; }
    .ex-menu-card { font-size: 16px; line-height: 26px; }
    .ex-menu-card > img { display: none; }
    .ex-menu-card span { justify-content: flex-start; }
    .ex-menu-card br { display: none; }
    .ex-menu-all { position: static; max-width: none; padding: 0 16px; margin-top: 32px; font-size: 16px; text-align: left; }
    #site-quality .ex-menu-card { line-height: 34px; }
    #site-quality .ex-menu-grid { gap: 40px; padding: 0; }
    .ex-menu-list { width: 100%; gap: 32px; font-size: 16px; line-height: 26px; padding: 0 16px; }
    .ex-menu-list h3 { font-size: 16px; line-height: 34px; }
    .ex-header-utility { padding-top: 40px; flex-direction: column; gap: 40px; align-items: stretch; }
    .ex-header-utility > a { flex-direction: row; font-size: 16px; gap: 16px; justify-content: flex-start; }
    .ex-header-utility img { width: 26px; height: 26px; }
    .ex-site-links { padding: 120px 16px; background: #f3f3f3; }
    .ex-site-primary-links { grid-template-columns: minmax(0,1fr); gap: 80px; margin-bottom: 80px; }
    .ex-site-primary-links > a { font-size: 22px; line-height: 34px; }
    .ex-site-secondary-links { grid-template-columns: minmax(0,1fr); gap: 40px; }
    .ex-site-secondary-links > a { padding: 24px 16px; line-height: 26px; gap: 16px; }
    footer.ex-site-footer { padding: 120px 16px 40px; }
    .ex-footer-inner { display: flex; flex-direction: column; gap: 80px; }
    .ex-footer-brand { gap: 40px; }
    .ex-footer-social { gap: 32px; min-height: 90px; }
    .ex-footer-social img { width: 60px; height: 60px; }
    .ex-footer-social a:last-child img { width: 85px; }
    .ex-footer-navigation { display: flex; flex-direction: column; gap: 64px; }
    .ex-footer-group h2, .ex-footer-info > a { font-size: 22px; line-height: 34px; }
    .ex-footer-group h2 { margin-bottom: 40px; }
    .ex-footer-group ul { padding-left: 16px; }
    .ex-footer-group li { font-size: 16px; line-height: 26px; font-weight: 400; margin-bottom: 32px; }
    .ex-footer-group li:last-child { margin-bottom: 0; }
    .ex-footer-info { gap: 40px; }
    .ex-footer-copyright { white-space: normal; }
}
@media (prefers-reduced-motion:reduce) {
    .ex-site-header *, .ex-site-links *, .ex-site-footer *, .ex-reveal-ready, .ex-reveal-letter { animation: none !important; transition: none !important; }
    .ex-reveal-ready:not(.is-visible), .ex-reveal-ready:not(.is-visible) .ex-reveal-letter { opacity: 1 !important; transform: none !important; }
}
