/*
Theme Name: Coordeble V2
Author: Humaworks
Description: Coordeble 独自CMS対応テーマ
Version: 0.1.0
Requires PHP: 8.3
Text Domain: coordeble-v2
*/

/* 基本スタイル */
body {
    margin: 0;
    font-family: sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

/* ヘッダー・フッターの装飾は各専用CSSで管理する */

main {
    min-height: 60vh;
    padding: 40px 20px;
}

/* Coordeble CMS Sections */

.coordeble-page {
    width: 100%;
}

.coordeble-section {
    padding: 60px 24px;
    text-align: center;
}

.coordeble-section h2 {
    margin: 0 0 20px;
    font-size: clamp(24px, 4vw, 36px);
}

.coordeble-section p {
    margin: 0;
}

.coordeble-hero {
    background: transparent;
}

.coordeble-brand {
    background: transparent;
}

.coordeble-products {
    background: transparent;
}

.coordeble-faq {
    background: transparent;
}

/* ========================================
   Coordeble CMS Hero v0.5.0
======================================== */

.coordeble-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.coordeble-hero-link,
.coordeble-hero-picture {
    display: block;
    width: 100%;
}

.coordeble-hero-picture img {
    display: block;
    width: 100%;
    height: auto;
}

.coordeble-hero-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
    pointer-events: none;
}

.coordeble-hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.35;
    color: inherit;
}

.coordeble-hero-copy p {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 22px);
    line-height: 1.7;
}

.coordeble-hero-placeholder {
    display: grid;
    place-items: center;
    min-height: 280px;
    background: #e9edf0;
    color: #555;
}

@media (max-width: 767px) {
    .coordeble-hero-copy h1 {
        font-size: 26px;
    }

    .coordeble-hero-copy p {
        font-size: 14px;
    }
}

/* ========================================
   Coordeble CMS Hero - Default Layout
======================================== */

.coordeble-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.coordeble-hero-picture {
    display: block;
    width: 100%;
    height: 600px;
    max-height: 600px;
    overflow: hidden;
}

.coordeble-hero-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 767px) {

    .coordeble-hero-picture {
        height: 60vh;
        height: 60svh;
        max-height: 600px;
    }

    .coordeble-hero-picture img {
        object-fit: cover;
        object-position: center center;
    }

    .coordeble-hero-copy {
        width: 88%;
    }

    .coordeble-hero-copy h1 {
        font-size: clamp(22px, 6vw, 30px);
    }

    .coordeble-hero-copy p {
        font-size: 14px;
    }
}

/* ========================================
   Coordeble CMS Hero Slider v0.6.0
======================================== */

.coordeble-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.coordeble-hero-media {
    position: relative;
}

.coordeble-hero-track {
    position: relative;
}

.coordeble-hero-slide {
    display: none;
    position: relative;
}

.coordeble-hero-slide.is-active {
    display: block;
}

.coordeble-hero-picture {
    display: block;
    width: 100%;
    height: 600px;
    max-height: 600px;
    overflow: hidden;
}

.coordeble-hero-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.coordeble-hero-link {
    display: block;
    width: 100%;
}

.coordeble-hero-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
    pointer-events: none;
}

.coordeble-hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.35;
    color: inherit;
}

.coordeble-hero-copy p {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 22px);
    line-height: 1.7;
}

.coordeble-hero-placeholder {
    display: grid;
    place-items: center;
    min-height: 280px;
    background: #e9edf0;
    color: #555;
}

.coordeble-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 10px;
}

.coordeble-hero-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    padding: 0;
}

.coordeble-hero-dot.is-active {
    background: rgba(255,255,255,1);
}

.coordeble-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.coordeble-hero-prev {
    left: 20px;
}

.coordeble-hero-next {
    right: 20px;
}

.is-design-fullscreen .coordeble-hero-slide,
.is-design-swiper .coordeble-hero-slide {
    animation: coordebleHeroFade .4s ease;
}

@keyframes coordebleHeroFade {
    from {
        opacity: .4;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .coordeble-hero-picture {
        height: 60vh;
        height: 60svh;
        max-height: 600px;
    }

    .coordeble-hero-copy {
        width: 88%;
    }

    .coordeble-hero-copy h1 {
        font-size: clamp(22px, 6vw, 30px);
    }

    .coordeble-hero-copy p {
        font-size: 14px;
    }

    .coordeble-hero-nav {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .coordeble-hero-prev {
        left: 10px;
    }

    .coordeble-hero-next {
        right: 10px;
    }
}

/* ========================================
   Coordeble Hero - Smooth Crossfade v0.6.1
======================================== */

/* スライダー時のみ画像を重ねる */
.coordeble-hero-section.is-slider .coordeble-hero-track {
    display: grid;
    overflow: hidden;
}

/* 全スライドを同じ位置に配置 */
.coordeble-hero-section.is-slider .coordeble-hero-slide {
    display: block;
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 1.2s ease-in-out,
        visibility 0s linear 1.2s;
    animation: none;
}

/* 表示対象の画像をゆっくりフェード表示 */
.coordeble-hero-section.is-slider .coordeble-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition:
        opacity 1.2s ease-in-out,
        visibility 0s;
}

/* 動きを減らすOS設定にも対応 */
@media (prefers-reduced-motion: reduce) {
    .coordeble-hero-section.is-slider .coordeble-hero-slide {
        transition: none;
    }
}

/* ==========================================
   Coordeble CMS - Peek Slider v0.6.2
   Swiper形式のみ適用
========================================== */

.coordeble-hero-section.is-design-swiper.is-slider {
    --hero-slide-width: 82%;
    --hero-slide-gap: 16px;
}

/* 表示領域の外側を隠す */
.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-media {
    position: relative;
    overflow: hidden;
}

/* 画像を横一列に並べる */
.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-track {
    display: flex;
    gap: var(--hero-slide-gap);
    width: 100%;
    overflow: visible;
    transition: transform .7s cubic-bezier(.25,.8,.25,1);
    will-change: transform;
}

/* すべてのスライドを横並びで表示 */
.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-slide {
    display: block;
    position: relative;
    flex: 0 0 var(--hero-slide-width);
    width: var(--hero-slide-width);
    min-width: 0;
    grid-area: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: auto;
    transition: none;
    animation: none;
}

.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: none;
}

/* 画像の見た目 */
.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-picture {
    width: 100%;
    height: 520px;
    max-height: none;
    overflow: hidden;
    border-radius: 8px;
}

.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ドットの視認性 */
.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-dots {
    bottom: 18px;
}

.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-dot {
    box-shadow: 0 1px 5px rgba(0,0,0,.25);
}

/* スマートフォン */
@media (max-width: 767px) {

    .coordeble-hero-section.is-design-swiper.is-slider {
        --hero-slide-width: 86%;
        --hero-slide-gap: 10px;
    }

    .coordeble-hero-section.is-design-swiper.is-slider
    .coordeble-hero-picture {
        height: 55vh;
        height: 55svh;
        max-height: 550px;
        border-radius: 5px;
    }

    .coordeble-hero-section.is-design-swiper.is-slider
    .coordeble-hero-nav {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {
    .coordeble-hero-section.is-design-swiper.is-slider
    .coordeble-hero-track {
        transition: none;
    }
}

/* Coordeble Hero - Touch stability v0.6.4 */

.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-media {
    touch-action: pan-y;
}

.coordeble-hero-section.is-design-swiper.is-slider
.coordeble-hero-picture img {
    -webkit-user-drag: none;
    user-select: none;
}

/* ========================================
   Coordeble CMS FAQ v0.7.0
======================================== */

.coordeble-faq {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px;
}

.coordeble-faq-list {
    margin-top: 28px;
    border-top: 1px solid #ddd;
}

.coordeble-faq-item {
    border-bottom: 1px solid #ddd;
}

.coordeble-faq-question {
    position: relative;
    display: block;
    padding: 22px 42px 22px 8px;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.6;
    list-style: none;
}

.coordeble-faq-question::-webkit-details-marker {
    display: none;
}

.coordeble-faq-question::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
}

.coordeble-faq-item[open] .coordeble-faq-question::after {
    content: '−';
}

.coordeble-faq-answer {
    padding: 0 12px 24px;
    line-height: 1.8;
}

.coordeble-faq-answer > :last-child {
    margin-bottom: 0;
}

.coordeble-faq-question:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .coordeble-faq {
        padding: 40px 16px;
    }

    .coordeble-faq-question {
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

/* ========================================
   Coordeble CMS FAQ Search v0.8.0
======================================== */

.coordeble-faq-search {
    width: min(100% - 32px, 960px);
    margin: 40px auto 80px;
}

.coordeble-faq-search-form {
    padding: 24px;



}

.coordeble-faq-search-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.coordeble-faq-search-input {
    display: flex;
    gap: 10px;
}

.coordeble-faq-search-input input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
}

.coordeble-faq-search-input button {
    min-width: 85px;
    padding: 10px 18px;
    border: 0;
    border-radius: 5px;
    background: #333;
    color: #fff;
    cursor: pointer;
}

.coordeble-faq-search-category {
    margin-top: 18px;
}

.coordeble-faq-search-category select {
    width: 100%;
    max-width: 380px;
    min-height: 46px;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
}

.coordeble-faq-search-results {
    margin-top: 30px;
}

.coordeble-faq-search-count {
    font-size: 14px;
    color: inherit;
}

.coordeble-faq-search-empty {
    padding: 24px 0;
}

.coordeble-faq-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.coordeble-faq-pagination a {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .coordeble-faq-search {
        margin-top: 24px;
        margin-bottom: 48px;
    }

    .coordeble-faq-search-form {
        padding: 16px;
    }

    .coordeble-faq-search-input button {
        min-width: 72px;
        padding: 10px;
    }
}

/* ====================================
   Coordeble CMS - Product List
==================================== */

.coordeble-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 30px auto;
}

.coordeble-product-card {
    min-width: 0;
}

.coordeble-product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.coordeble-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: transparent;
    border-radius: 6px;
}

.coordeble-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coordeble-product-name {
    margin: 12px 0 6px;
    font-size: 16px;
    line-height: 1.5;
}

.coordeble-product-price {
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .coordeble-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .coordeble-product-name,
    .coordeble-product-price {
        font-size: 14px;
    }
}

/* Coordeble CMS Product Layout v0.2 */

.coordeble-products .coordeble-product-grid.coordeble-layout-grid {
    display: grid;
    grid-template-columns: repeat(var(--coordeble-pc, 4), minmax(0, 1fr));
}

.coordeble-products .coordeble-product-grid.coordeble-layout-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
}

.coordeble-products .coordeble-layout-scroll > .coordeble-product-card {
    flex: 0 0 calc(
        (100% - (var(--coordeble-pc, 4) - 1) * 20px)
        / var(--coordeble-pc, 4)
    );
    scroll-snap-align: start;
}

.coordeble-products .coordeble-product-card[data-image-ratio="square"]
.coordeble-product-image {
    aspect-ratio: 1 / 1;
}

.coordeble-products .coordeble-product-card[data-image-ratio="portrait"]
.coordeble-product-image {
    aspect-ratio: 3 / 4;
}

.coordeble-products .coordeble-product-card[data-image-ratio="landscape"]
.coordeble-product-image {
    aspect-ratio: 4 / 3;
}

@media (max-width: 767px) {
    .coordeble-products .coordeble-product-grid.coordeble-layout-grid {
        grid-template-columns: repeat(var(--coordeble-sp, 2), minmax(0, 1fr));
    }

    .coordeble-products .coordeble-layout-scroll > .coordeble-product-card {
        flex-basis: calc(
            (100% - (var(--coordeble-sp, 2) - 1) * 16px)
            / var(--coordeble-sp, 2)
        );
    }

    .coordeble-products .coordeble-product-grid.coordeble-layout-scroll {
        gap: 16px;
    }
}

/* =====================================
   Coordeble CMS - Product Slider v0.3
===================================== */

.coordeble-products .coordeble-product-grid.coordeble-layout-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.coordeble-products .coordeble-layout-slider::-webkit-scrollbar {
    display: none;
}

.coordeble-products .coordeble-layout-slider > .coordeble-product-card {
    flex: 0 0 calc(
        (100% - (var(--coordeble-pc, 4) - 1) * 20px)
        / var(--coordeble-pc, 4)
    );
    scroll-snap-align: start;
}

.coordeble-products .coordeble-slider-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 16px auto 0;
}

.coordeble-products .coordeble-slider-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.coordeble-products .coordeble-slider-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.coordeble-products .coordeble-slider-controls button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .coordeble-products .coordeble-product-grid.coordeble-layout-slider {
        gap: 16px;
    }

    .coordeble-products .coordeble-layout-slider > .coordeble-product-card {
        flex-basis: calc(
            (100% - (var(--coordeble-sp, 2) - 1) * 16px)
            / var(--coordeble-sp, 2)
        );
    }
}

@media (prefers-reduced-motion: reduce) {
    .coordeble-products .coordeble-layout-slider {
        scroll-behavior: auto;
    }
}

/* Coordeble CMS - Brand Section v0.1 */

.coordeble-brand-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px;
}

.coordeble-brand-bg-white {
    background: #fff;
}

.coordeble-brand-bg-light {
    background: #f7f7f7;
}

.coordeble-brand-image_right .coordeble-brand-media {
    order: 2;
}

.coordeble-brand-image_top {
    grid-template-columns: 1fr;
}

.coordeble-brand-media img {
    display: block;
    width: 100%;
    height: auto;
}

.coordeble-brand-subtitle {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: .12em;
    color: #777;
}

.coordeble-brand-heading {
    margin: 0 0 24px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.5;
}

.coordeble-brand-description {
    font-size: 16px;
    line-height: 1.9;
}

.coordeble-brand-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 12px 24px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
}

@media (max-width: 767px) {
    .coordeble-brand-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px;
    }

    .coordeble-brand-image_right .coordeble-brand-media {
        order: 0;
    }

    .coordeble-brand-description {
        font-size: 14px;
    }
}

/* ==========================================
   Coordeble V2 - Base Layout Fix
========================================== */

html {
    box-sizing: border-box;
}

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

/* 新しいヘッダーには旧共通余白を適用しない */
header.coordeble-site-header {
    padding: 0;
    background: var(--cd-header-bg, #ffffff);
    color: var(--cd-header-text, #24383a);
}

/* メインコンテンツの不要な外側余白を除去 */
main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
}

/* ページセクション */
.coordeble-page,
.coordeble-section {
    max-width: 100%;
    min-width: 0;
}


/* ==========================================
   Coordeble CMS - Product Width Fix
   商品カルーセルのページ横幅はみ出し防止
========================================== */

/* 商品セクションは画面幅を超えない */
.coordeble-section.coordeble-products {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* 商品一覧の表示領域 */
.coordeble-products .coordeble-product-grid {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* カルーセル内部でのみ横スクロールさせる */
.coordeble-products .coordeble-product-grid.coordeble-layout-scroll,
.coordeble-products .coordeble-product-grid.coordeble-layout-slider {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

/* 商品カードの幅計算を安定させる */
.coordeble-products .coordeble-product-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* カード内の商品情報 */
.coordeble-products .coordeble-product-card-link,
.coordeble-products .coordeble-product-image,
.coordeble-products .coordeble-product-image img {
    max-width: 100%;
    box-sizing: border-box;
}


/* ==========================================
   Coordeble CMS - Product Overflow Control
   商品セクション内に横スクロールを閉じ込める
========================================== */

.coordeble-products {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

/* 商品一覧・横スクロール・スライダー共通 */
.coordeble-products .coordeble-product-grid {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    box-sizing: border-box;
}

/* 横スクロール対象だけ内部スクロールを許可 */
.coordeble-products .coordeble-layout-scroll,
.coordeble-products .coordeble-layout-slider {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
}

/* 商品画像の幅制限 */
.coordeble-products .coordeble-product-image,
.coordeble-products .coordeble-product-image img {
    max-width: 100%;
}


/* Coordeble CMS - Product Slider Width Fix */

.coordeble-products .coordeble-product-grid.coordeble-layout-slider {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
}

.coordeble-products .coordeble-layout-slider > .coordeble-product-card {
    min-width: 0;
    box-sizing: border-box;
}


/* ==========================================
   Coordeble CMS - Product Slider v1.0
   Page switching (no horizontal track)
========================================== */

.coordeble-products .coordeble-product-grid.coordeble-layout-slider {
    display: grid !important;
    grid-template-columns: repeat(var(--coordeble-pc, 4), minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: clip !important;
    scroll-snap-type: none !important;
    padding-bottom: 0;
    box-sizing: border-box;
}

.coordeble-products .coordeble-layout-slider > .coordeble-product-card {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-align: none;
}

.coordeble-products .coordeble-layout-slider > .coordeble-product-card[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .coordeble-products .coordeble-product-grid.coordeble-layout-slider {
        grid-template-columns: repeat(var(--coordeble-sp, 2), minmax(0, 1fr));
        gap: 16px;
    }
}

/* ========================================
   Coordeble Static Hero Natural Size v1
   静止画専用：自然な比率・切り抜きなし
======================================== */

.coordeble-hero-section.is-design-static
.coordeble-hero-picture {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
}

.coordeble-hero-section.is-design-static
.coordeble-hero-picture img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 767px) {

    .coordeble-hero-section.is-design-static
    .coordeble-hero-picture {
        height: auto;
        max-height: none;
    }

    .coordeble-hero-section.is-design-static
    .coordeble-hero-picture img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 80vh;
        max-height: 80svh;
        margin-left: auto;
        margin-right: auto;
        object-fit: contain;
    }

}


/* ========================================
   Coordeble Static Hero Design v1
   静止画専用の文字デザイン
======================================== */

/* 静止画の文字部分だけに適用 */
.coordeble-hero-section.is-design-static
.coordeble-hero-copy {
    box-sizing: border-box;
    width: 90%;
    max-width: 1000px;
    padding: 0;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 9px rgba(0,0,0,.55);
    overflow-wrap: anywhere;
}

/* フォント */
.coordeble-hero-section.is-design-static.is-copy-font-gothic
.coordeble-hero-copy {
    font-family:
        -apple-system, BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic", Meiryo, sans-serif;
}

.coordeble-hero-section.is-design-static.is-copy-font-mincho
.coordeble-hero-copy {
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho", "Noto Serif CJK JP",
        serif;
}

.coordeble-hero-section.is-design-static.is-copy-font-rounded
.coordeble-hero-copy {
    font-family:
        "Hiragino Maru Gothic ProN",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic", sans-serif;
}

/* 右下50% */
.coordeble-hero-section.is-design-static.is-copy-layout-right
.coordeble-hero-copy {
    top: auto;
    bottom: 6%;
    left: auto;
    right: 5%;
    width: 50%;
    max-width: 680px;
    transform: none;
    text-align: left;
}

/* 中央80% */
.coordeble-hero-section.is-design-static.is-copy-layout-center
.coordeble-hero-copy {
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    width: 80%;
    max-width: 1000px;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* 背景ボックス：基本 */
.coordeble-hero-section.is-design-static.has-copy-box
.coordeble-hero-copy {
    --coordeble-box-rgb: 255,255,255;
    --coordeble-box-alpha: .75;

    padding: clamp(14px, 3vw, 42px);
    border-radius: 8px;

    background: rgba(
        var(--coordeble-box-rgb),
        var(--coordeble-box-alpha)
    );

    color: #243b34;
    text-shadow: none;
}

/* 背景色 */
.coordeble-hero-section.is-design-static.is-copy-color-white {
    --coordeble-static-box-color: 255,255,255;
}

.coordeble-hero-section.is-design-static.is-copy-color-dark {
    --coordeble-static-box-color: 20,28,25;
}

.coordeble-hero-section.is-design-static.is-copy-color-green {
    --coordeble-static-box-color: 52,74,70;
}

.coordeble-hero-section.is-design-static.has-copy-box
.coordeble-hero-copy {
    --coordeble-box-rgb: var(--coordeble-static-box-color, 255,255,255);
}

/* 透明度 */
.coordeble-hero-section.is-design-static.is-copy-opacity-light
.coordeble-hero-copy {
    --coordeble-box-alpha: .55;
}

.coordeble-hero-section.is-design-static.is-copy-opacity-medium
.coordeble-hero-copy {
    --coordeble-box-alpha: .75;
}

.coordeble-hero-section.is-design-static.is-copy-opacity-strong
.coordeble-hero-copy {
    --coordeble-box-alpha: .90;
}

/* 濃い背景では白文字 */
.coordeble-hero-section.is-design-static.has-copy-box.is-copy-color-dark
.coordeble-hero-copy,
.coordeble-hero-section.is-design-static.has-copy-box.is-copy-color-green
.coordeble-hero-copy {
    color: #fff;
}

.coordeble-hero-section.is-design-static.has-copy-box
.coordeble-hero-copy h1,
.coordeble-hero-section.is-design-static.has-copy-box
.coordeble-hero-copy p {
    color: inherit;
}

/* スマートフォン */
@media (max-width: 767px) {

    .coordeble-hero-section.is-design-static
    .coordeble-hero-copy {
        width: 90%;
    }

    .coordeble-hero-section.is-design-static.is-copy-layout-right
    .coordeble-hero-copy {
        top: auto;
        bottom: 5%;
        right: 5%;
        left: auto;
        width: 84%;
        transform: none;
    }

    .coordeble-hero-section.is-design-static.is-copy-layout-center
    .coordeble-hero-copy {
        top: 50%;
        bottom: auto;
        left: 50%;
        right: auto;
        width: 84%;
        transform: translate(-50%, -50%);
    }

    .coordeble-hero-section.is-design-static.has-copy-box
    .coordeble-hero-copy {
        padding: 16px 18px;
        border-radius: 6px;
    }

    .coordeble-hero-section.is-design-static
    .coordeble-hero-copy h1 {
        font-size: clamp(18px, 5vw, 28px);
        line-height: 1.45;
    }

    .coordeble-hero-section.is-design-static
    .coordeble-hero-copy p {
        font-size: clamp(12px, 3.3vw, 15px);
        line-height: 1.6;
    }
}

/* ========================================
   Coordeble Hero Right Box Fix v1
======================================== */

@media (min-width: 768px) {
    .coordeble-hero-section.is-design-static.is-copy-layout-right
    .coordeble-hero-copy {
        top: auto;
        bottom: 6%;
        left: auto;
        right: 5%;

        width: 50%;
        max-width: 50%;
        box-sizing: border-box;

        transform: none;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .coordeble-hero-section.is-design-static.is-copy-layout-right
    .coordeble-hero-copy {
        top: auto;
        bottom: 5%;
        left: auto;
        right: 5%;

        width: 50%;
        max-width: 50%;
        box-sizing: border-box;

        transform: none;
        text-align: left;
    }
}


/* ===========================================
   Coordeble Top Hero Presets v1
   トップメインビジュアル専用
=========================================== */

/* 共通 */
.coordeble-hero-section.is-top-hero[class*="is-preset-"]
.coordeble-hero-copy {
    box-sizing: border-box;
    overflow-wrap: anywhere;
    border-radius: 0;
}

.coordeble-hero-section.is-top-hero[class*="is-preset-"]
.coordeble-hero-copy h1 {
    color: inherit;
    font-weight: 600;
    line-height: 1.4;
}

.coordeble-hero-section.is-top-hero[class*="is-preset-"]
.coordeble-hero-copy p {
    color: inherit;
}

/* 1. エディトリアル：左下、明朝、背景なし */
.coordeble-hero-section.is-top-hero.is-preset-editorial
.coordeble-hero-copy {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 8%;
    left: 6%;
    width: 70%;
    max-width: 760px;
    padding: 0;
    transform: none;
    text-align: left;
    background: transparent;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.65);
    font-family:
        "Hiragino Mincho ProN", "Yu Mincho",
        serif;
}

.coordeble-hero-section.is-top-hero.is-preset-editorial
.coordeble-hero-copy h1 {
    font-weight: 500;
    letter-spacing: .055em;
}

/* 2. モダン：中央80%、白い半透明ボックス */
.coordeble-hero-section.is-top-hero.is-preset-modern
.coordeble-hero-copy {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    width: 80%;
    max-width: 1000px;
    padding: clamp(20px, 4vw, 54px);
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255,255,255,.82);
    color: #243b34;
    text-shadow: none;
    border-radius: 10px;
    font-family:
        -apple-system, BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic", sans-serif;
}

.coordeble-hero-section.is-top-hero.is-preset-modern
.coordeble-hero-copy h1 {
    letter-spacing: .025em;
}

/* 3. ナチュラル：右下50%、温かみのある半透明ボックス */
.coordeble-hero-section.is-top-hero.is-preset-natural
.coordeble-hero-copy {
    position: absolute;
    top: auto;
    bottom: 6%;
    left: auto;
    right: 5%;
    width: 50%;
    max-width: 50%;
    padding: clamp(16px, 3vw, 42px);
    transform: none;
    text-align: left;
    background: rgba(246,242,231,.86);
    color: #34453a;
    text-shadow: none;
    border-radius: 8px;
    font-family:
        "Hiragino Maru Gothic ProN",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic", sans-serif;
}

.coordeble-hero-section.is-top-hero.is-preset-natural
.coordeble-hero-copy h1 {
    letter-spacing: .025em;
}

/* 4. ミニマル：中央、背景なし */
.coordeble-hero-section.is-top-hero.is-preset-minimal
.coordeble-hero-copy {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    width: 80%;
    max-width: 900px;
    padding: 0;
    transform: translate(-50%, -50%);
    text-align: center;
    background: transparent;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
    font-family:
        -apple-system, BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic", sans-serif;
}

.coordeble-hero-section.is-top-hero.is-preset-minimal
.coordeble-hero-copy h1 {
    font-weight: 500;
    letter-spacing: .08em;
}

/* スマートフォン */
@media (max-width: 767px) {

    .coordeble-hero-section.is-top-hero.is-preset-editorial
    .coordeble-hero-copy {
        width: 85%;
        bottom: 7%;
        left: 7%;
    }

    .coordeble-hero-section.is-top-hero.is-preset-modern
    .coordeble-hero-copy {
        width: 84%;
        max-width: 84%;
        padding: 18px;
        border-radius: 6px;
    }

    .coordeble-hero-section.is-top-hero.is-preset-natural
    .coordeble-hero-copy {
        width: 50%;
        max-width: 50%;
        bottom: 5%;
        right: 5%;
        padding: 12px;
        border-radius: 6px;
    }

    .coordeble-hero-section.is-top-hero.is-preset-minimal
    .coordeble-hero-copy {
        width: 85%;
    }

    .coordeble-hero-section.is-top-hero[class*="is-preset-"]
    .coordeble-hero-copy h1 {
        font-size: clamp(17px, 5vw, 27px);
        line-height: 1.4;
    }

    .coordeble-hero-section.is-top-hero[class*="is-preset-"]
    .coordeble-hero-copy p {
        font-size: clamp(12px, 3.3vw, 15px);
        line-height: 1.6;
    }
}


/* ==========================================
   Coordeble Top Image Effects v1
   トップメインビジュアルの画像専用
========================================== */

/* モノクロ */
.coordeble-hero-section.is-top-hero.is-image-effect-grayscale
.coordeble-hero-picture img {
    filter: grayscale(100%);
}

/* セピア */
.coordeble-hero-section.is-top-hero.is-image-effect-sepia
.coordeble-hero-picture img {
    filter: sepia(85%);
}

/* 明るめ */
.coordeble-hero-section.is-top-hero.is-image-effect-bright
.coordeble-hero-picture img {
    filter: brightness(1.12);
}

/* 暗め */
.coordeble-hero-section.is-top-hero.is-image-effect-dark
.coordeble-hero-picture img {
    filter: brightness(.78);
}

/* ふんわり */
.coordeble-hero-section.is-top-hero.is-image-effect-soft
.coordeble-hero-picture img {
    filter: saturate(.72) brightness(1.06) contrast(.96);
}

/* Coordeble Unified Block Colors v1
   共通サイトデザインの管理対象
   個別ブロックの固定背景色を使用しない
*/


/* Coordeble FAQ Shared Colors v1 */
.coordeble-faq-search {
    color: var(--cd-main-text, inherit);
}

.coordeble-faq-search-form {

}

.coordeble-faq-search-form h1,
.coordeble-faq-search-form h2,
.coordeble-faq-search-form h3,
.coordeble-faq-search-form label,
.coordeble-faq-search-count {
    color: var(--cd-main-text, inherit);
}

/* 入力部品の可読性は独立して確保 */
.coordeble-faq-search-input input,
.coordeble-faq-search-category select {
    background-color: #ffffff;
    color: #222222;
}


/* ==========================================
   Coordeble FAQ Content Box Colors v2
   FAQ検索フォームの共通デザイン
========================================== */

body main .coordeble-faq-search-form {
    background: var(--cd-box-bg, #ffffff);
    color: var(--cd-box-text, #263832);
    border-radius: var(--cd-box-radius, 12px);
}

body main .coordeble-faq-search-form h1,
body main .coordeble-faq-search-form h2,
body main .coordeble-faq-search-form h3,
body main .coordeble-faq-search-form label {
    color: var(--cd-box-text, #263832);
}

body main .coordeble-faq-search-count {
    color: var(--cd-main-text, inherit);
}


/* ==========================================
   Coordeble Top Hero Header Spacing v2
   メイン背景色付きの上余白
========================================== */

.home .coordeble-hero-section.is-top-hero {
    margin-top: 0;
}

/* トップページのメイン領域に余白を設ける */
body.home main {
    padding-top: 32px;
    background-color: var(--cd-main-bg, #ffffff);
}

@media (max-width: 767px) {
    body.home main {
        padding-top: 20px;
    }
}


/* ==========================================
   Coordeble Top Hero Swiper Gap v1
   トップ専用Swiperの画像間隔
========================================== */

.coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
    --hero-slide-gap: 24px;
}

@media (max-width: 767px) {
    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
        --hero-slide-gap: 16px;
    }
}


/* ==========================================
   Coordeble Top Hero Rounded Gap v1
   角丸と画像間隔の調整
========================================== */

/* PC */
.coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
    --hero-slide-gap: 48px;
}

.coordeble-hero-section.is-top-hero.is-design-swiper.is-slider
.coordeble-hero-picture {
    border-radius: 24px;
}

/* スマートフォン */
@media (max-width: 767px) {

    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
        --hero-slide-gap: 32px;
    }

    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider
    .coordeble-hero-picture {
        border-radius: 24px;
    }
}


/* ==========================================
   Coordeble Top Hero Peek Restore v2
   左右チラ見せを復元
========================================== */

@media (min-width: 768px) {
    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
        --hero-slide-width: 82%;
        --hero-slide-gap: 48px;
    }
}

@media (max-width: 767px) {
    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
        --hero-slide-width: 86%;
        --hero-slide-gap: 32px;
    }
}

.coordeble-hero-section.is-top-hero.is-design-swiper.is-slider
.coordeble-hero-track {
    display: flex;
    gap: var(--hero-slide-gap);
    overflow: visible;
}

.coordeble-hero-section.is-top-hero.is-design-swiper.is-slider
.coordeble-hero-slide {
    flex: 0 0 var(--hero-slide-width);
    width: var(--hero-slide-width);
    min-width: 0;
}

.coordeble-hero-section.is-top-hero.is-design-swiper.is-slider
.coordeble-hero-picture {
    border-radius: 24px;
}


/* ==========================================
   Coordeble Top Hero Visible Peek v1
   左右の画像を見せる幅調整
========================================== */

/* PC */
@media (min-width: 768px) {
    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
        --hero-slide-width: 74%;
        --hero-slide-gap: 48px;
    }
}

/* スマートフォン */
@media (max-width: 767px) {
    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
        --hero-slide-width: 70%;
        --hero-slide-gap: 32px;
    }
}

/* 画像の角丸 */
.coordeble-hero-section.is-top-hero.is-design-swiper.is-slider
.coordeble-hero-picture {
    border-radius: 24px;
}


/* ==========================================
   Coordeble Header Bottom Line Remove v1
   ヘッダー下部の境界線を非表示
========================================== */

header.coordeble-site-header {
    border-bottom: none !important;
    box-shadow: none !important;
}

header.coordeble-site-header .coordeble-header-inner {
    border-bottom: none !important;
    box-shadow: none !important;
}


/* ==========================================
   Coordeble Top Hero Intro v2
   Catch copy before top hero images
========================================== */

.coordeble-hero-section.is-top-hero
.coordeble-top-hero-intro {
    width: 100%;
    box-sizing: border-box;
    padding:
        var(--cd-intro-pc-space, 40px)
        max(24px, 5vw);
    background: var(--cd-main-bg, #ffffff);
    color: var(--cd-main-text, #222222);
}

.coordeble-top-hero-intro-eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: inherit;
}

.coordeble-top-hero-intro-heading {
    margin: 0;
    font-size: var(--cd-intro-pc-size, 48px);
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
    color: inherit;
}

.coordeble-intro-align-left {
    text-align: left;
}

.coordeble-intro-align-center {
    text-align: center;
}

.coordeble-intro-align-right {
    text-align: right;
}

@media (max-width: 767px) {

    .coordeble-hero-section.is-top-hero
    .coordeble-top-hero-intro {
        padding:
            var(--cd-intro-sp-space, 28px)
            24px;
    }

    .coordeble-top-hero-intro-heading {
        font-size: var(--cd-intro-sp-size, 30px);
        line-height: 1.55;
    }

    .coordeble-top-hero-intro-eyebrow {
        font-size: 11px;
        margin-bottom: 10px;
    }
}


/* Coordeble Top Hero Gap Fine Tune START */

/* PC */
@media (min-width: 768px) {
    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
        --hero-slide-gap: 40px;
    }
}

/* スマートフォン */
@media (max-width: 767px) {
    .coordeble-hero-section.is-top-hero.is-design-swiper.is-slider {
        --hero-slide-gap: 24px;
    }
}

/* Coordeble Top Hero Gap Fine Tune END */


/* Coordeble Message CTA Section v2 */
.coordeble-message-cta {
    box-sizing: border-box;
    width: 100%;
    padding:
        var(--cd-msg-pc-space,48px)
        max(24px,5vw);
    background:var(--cd-main-bg,#ffffff);
    color:var(--cd-main-text,#222222);
}
.coordeble-message-cta-inner {
    max-width:1100px;
    margin:0 auto;
}
.cd-message-align-left {text-align:left}
.cd-message-align-center {text-align:center}
.cd-message-align-right {text-align:right}
.cd-message-eyebrow {
    margin:0 0 14px;
    font-size:14px;
    font-weight:600;
    color:inherit;
}
.cd-message-heading {
    margin:0;
    font-size:var(--cd-msg-pc-size,40px);
    line-height:1.45;
    font-weight:700;
    overflow-wrap:anywhere;
    color:inherit;
}
.cd-message-description {
    margin:20px 0 0;
    line-height:1.85;
    color:inherit;
}
.cd-message-button {
    display:inline-flex;
    align-items:center;
    gap:18px;
    margin-top:26px;
    padding:13px 25px;
    border:1px solid currentColor;
    border-radius:999px;
    color:inherit;
    text-decoration:none;
    font-weight:600;
}
.cd-message-button:hover {opacity:.7}
@media(max-width:767px) {
    .coordeble-message-cta {
        padding:var(--cd-msg-sp-space,28px) 24px;
    }
    .cd-message-heading {
        font-size:var(--cd-msg-sp-size,26px);
    }
    .cd-message-eyebrow {font-size:12px}
}


/* Coordeble Message CTA Left Align v1 */
.coordeble-message-cta.cd-message-align-left {
    text-align: left;
}

.coordeble-message-cta.cd-message-align-left
.coordeble-message-cta-inner {
    text-align: left;
}


/* ===========================================
   Coordeble Editorial Vertical List v1
   商品紹介・読みもの一覧 / 縦1列画像下配置
=========================================== */

.coordeble-editorial-list {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    gap: 0;
    grid-template-columns: none !important;
    overflow: visible !important;
}

.coordeble-editorial-item {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 36px 0;
    box-sizing: border-box;
    border-bottom: 1px solid
        color-mix(in srgb, currentColor 17%, transparent);
}

.coordeble-editorial-item:first-child {
    border-top: 1px solid
        color-mix(in srgb, currentColor 17%, transparent);
}

.coordeble-editorial-link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    text-decoration: none;
    color: inherit;
    gap: 0;
}

.coordeble-editorial-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.coordeble-editorial-category {
    display: block;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    opacity: .7;
}

.coordeble-editorial-title {
    display: block;
    margin: 0 0 14px;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.5;
    color: inherit;
    overflow-wrap: anywhere;
}

.coordeble-editorial-excerpt {
    margin: 0 0 24px;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.9;
    color: inherit;
    opacity: .82;
    overflow-wrap: anywhere;
}

.coordeble-editorial-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: color-mix(
        in srgb, currentColor 6%, transparent
    );
}

.coordeble-editorial-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.coordeble-editorial-link:hover
.coordeble-editorial-image img {
    transform: scale(1.025);
}

.coordeble-editorial-more {
    display: block;
    align-self: flex-end;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
}

.coordeble-editorial-more span {
    margin-left: 8px;
    font-size: 18px;
}

@media (max-width:767px) {
    .coordeble-editorial-item {
        padding: 28px 0;
    }

    .coordeble-editorial-category {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .coordeble-editorial-title {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .coordeble-editorial-excerpt {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .coordeble-editorial-image {
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coordeble-editorial-image img {
        transition: none;
    }
}


/* Coordeble Editorial Rounded Card v1 START */

/* 商品紹介・読みもの一覧の縦型カード */
.coordeble-editorial-list {
    gap: 24px !important;
}

.coordeble-editorial-list .coordeble-editorial-item {
    background: var(--cd-box-bg, #ffffff);
    color: var(--cd-box-text, inherit);
    border: none !important;
    border-radius: var(--cd-box-radius, 20px);
    padding: 32px;
    overflow: hidden;
    box-sizing: border-box;
}

.coordeble-editorial-list .coordeble-editorial-item:first-child {
    border-top: none !important;
}

.coordeble-editorial-list .coordeble-editorial-link {
    color: inherit;
    text-align: left;
}

.coordeble-editorial-list .coordeble-editorial-title {
    color: inherit;
}

.coordeble-editorial-list .coordeble-editorial-image {
    border-radius: 12px;
}

/* スマートフォン */
@media (max-width: 767px) {
    .coordeble-editorial-list {
        gap: 16px !important;
    }

    .coordeble-editorial-list .coordeble-editorial-item {
        padding: 22px;
        border-radius: var(--cd-box-radius, 18px);
    }

    .coordeble-editorial-list .coordeble-editorial-image {
        border-radius: 10px;
    }
}

/* Coordeble Editorial Rounded Card v1 END */


/* Coordeble Editorial Card spacing adjust v1 */
.coordeble-editorial-item .coordeble-editorial-excerpt {
    margin-bottom: 18px;
    line-height: 1.9;
}

.coordeble-editorial-item .coordeble-editorial-image,
.coordeble-editorial-item .coordeble-editorial-media {
    margin-top: 18px;
}

@media (max-width: 767px) {
    .coordeble-editorial-item .coordeble-editorial-excerpt {
        margin-bottom: 16px;
        line-height: 1.8;
    }

    .coordeble-editorial-item .coordeble-editorial-image,
    .coordeble-editorial-item .coordeble-editorial-media {
        margin-top: 16px;
    }
}

/* Coordeble Editorial Mobile Scroll v1 START */

/* PCは従来どおり縦1列 */
@media (min-width: 768px) {
    .coordeble-editorial-list {
        flex-direction: column !important;
    }
}

/* スマホでは横スワイプ可能なカード一覧 */
@media (max-width: 767px) {

    .coordeble-editorial-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        gap: 16px !important;

        width: calc(100% + 16px);
        max-width: none;
        margin-left: 0;
        margin-right: -16px;

        padding: 0 16px 16px 0;
        box-sizing: border-box;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        scrollbar-width: none;
    }

    .coordeble-editorial-list::-webkit-scrollbar {
        display: none;
    }

    .coordeble-editorial-list .coordeble-editorial-item {
        flex: 0 0 min(82vw, 340px);
        width: min(82vw, 340px);
        min-width: 0;
        max-width: none;
        margin: 0;

        scroll-snap-align: start;
        scroll-snap-stop: normal;

        border: none !important;
        padding: 22px;
        box-sizing: border-box;
    }

    .coordeble-editorial-list
    .coordeble-editorial-item:first-child {
        border-top: none !important;
    }

    .coordeble-editorial-list
    .coordeble-editorial-link {
        height: 100%;
    }

    .coordeble-editorial-list
    .coordeble-editorial-image {
        margin-top: 18px;
    }

    .coordeble-editorial-list
    .coordeble-editorial-more {
        margin-top: auto;
        padding-top: 18px;
    }
}

/* Coordeble Editorial Mobile Scroll v1 END */

/* Coordeble Editorial Bottom Align v1 START */

/* 横スクロール時、カードの高さを統一 */
@media (max-width: 767px) {

    .coordeble-editorial-list {
        align-items: stretch !important;
    }

    /* カード内を縦方向のFlexレイアウトに */
    .coordeble-editorial-list
    .coordeble-editorial-item {
        display: flex !important;
        flex-direction: column;
        height: auto;
        align-self: stretch;
    }

    .coordeble-editorial-list
    .coordeble-editorial-link {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch;
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    /* カテゴリとタイトルは上から配置 */
    .coordeble-editorial-list
    .coordeble-editorial-category,
    .coordeble-editorial-list
    .coordeble-editorial-title {
        flex-shrink: 0;
    }

    /* 抜粋文は文章量に応じた高さ */
    .coordeble-editorial-list
    .coordeble-editorial-excerpt {
        flex: 0 0 auto;
        margin-bottom: 24px;
    }

    /* 空きスペースを画像の上へ集める */
    .coordeble-editorial-list
    .coordeble-editorial-image {
        flex: 0 0 auto;
        margin-top: auto !important;
        margin-bottom: 0 !important;
    }

    /* 画像の大きさ・比率を統一 */
    .coordeble-editorial-list
    .coordeble-editorial-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 詳しく見るをカードの下端に配置 */
    .coordeble-editorial-list
    .coordeble-editorial-more {
        flex-shrink: 0;
        align-self: flex-end;
        margin-top: 0 !important;
        padding-top: 20px;
    }
}

/* Coordeble Editorial Bottom Align v1 END */

/* Coordeble Editorial Edge Scroll v1 START */

@media (max-width: 767px) {

    /*
     * スクロール領域をビューポート幅に拡張。
     * 最初のカードは通常の左余白を維持。
     */
    .coordeble-editorial-list {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: 0 !important;

        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 16px !important;

        box-sizing: border-box;
        scroll-padding-left: 24px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    /* 各カードは既存の横スクロール幅を維持 */
    .coordeble-editorial-list
    .coordeble-editorial-item {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

/* Coordeble Editorial Edge Scroll v1 END */

/* Coordeble Editorial Heading Left v1 START */

/* 商品紹介・読みもの一覧の見出しだけ左寄せ */
.coordeble-products > h2,
.coordeble-reading-section > .coordeble-reading-section-title {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* スマートフォン：サービス一覧と同じ左右余白 */
@media (max-width: 767px) {

    .coordeble-products > h2,
    .coordeble-reading-section > .coordeble-reading-section-title {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Coordeble Editorial Heading Left v1 END */

/* Coordeble Editorial Heading Typography v1 START */

/* サービス一覧と商品紹介・読みもの一覧の見出しを統一 */
.coordeble-products > h2,
.coordeble-reading-section > .coordeble-reading-section-title {
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-align: left !important;
}

/* スマートフォン */
@media (max-width: 767px) {
    .coordeble-products > h2,
    .coordeble-reading-section > .coordeble-reading-section-title {
        font-size: 26px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
    }
}

/* Coordeble Editorial Heading Typography v1 END */


/* Coordeble FAQ Editorial Card v1 START */

/* =========================
   FAQセクション全体
========================= */
.coordeble-faq-section,
.coordeble-faq {
    --cd-faq-bg: #f3eedc;
    --cd-faq-border: #2b2b2b;
    --cd-faq-accent: #f28a11;
    --cd-faq-radius: 24px;
}

/* タイトル：左寄せ・他セクションとサイズ感を合わせる */
.coordeble-faq-section > h2,
.coordeble-faq-section .coordeble-faq-heading,
.coordeble-faq > h2,
.coordeble-faq .coordeble-faq-heading {
    margin: 0 0 28px !important;
    text-align: left !important;
    font-size: clamp(24px, 3vw, 36px) !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

/* FAQリスト間隔 */
.coordeble-faq-list,
.coordeble-faq-items,
.coordeble-faq-accordion {
    display: grid;
    gap: 24px;
}

/* 各FAQカード */
.coordeble-faq-item,
.coordeble-faq-card,
.coordeble-faq details,
.coordeble-faq-accordion-item {
    background: var(--cd-faq-bg);
    color: #202020;
    border: 3px solid var(--cd-faq-border);
    border-radius: var(--cd-faq-radius);
    overflow: hidden;
    box-sizing: border-box;
}

/* 質問行 */
.coordeble-faq-question,
.coordeble-faq-summary,
.coordeble-faq details > summary,
.coordeble-faq-item > button,
.coordeble-faq-card > button {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 24px 26px;
    background: transparent;
    color: inherit;
    border: 0;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    font-weight: 700;
}

.coordeble-faq details > summary {
    list-style: none;
}
.coordeble-faq details > summary::-webkit-details-marker {
    display: none;
}

/* 右側の丸ボタン */
.coordeble-faq details > summary::after,
.coordeble-faq-question::after,
.coordeble-faq-summary::after {
    content: "＋";
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: var(--cd-faq-accent);
    color: #ffffff;
    border: 3px solid var(--cd-faq-border);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
    flex-shrink: 0;
}

.coordeble-faq details[open] > summary::after {
    content: "－";
}

/* 回答部分 */
.coordeble-faq-answer,
.coordeble-faq-content,
.coordeble-faq details > :not(summary),
.coordeble-faq-item .answer,
.coordeble-faq-card .answer {
    padding: 0 26px 26px;
    color: #202020;
    font-size: 16px;
    line-height: 2;
    box-sizing: border-box;
}

/* 回答内の最初の要素余白調整 */
.coordeble-faq-answer > *:first-child,
.coordeble-faq-content > *:first-child,
.coordeble-faq details > :not(summary) > *:first-child {
    margin-top: 0;
}

/* 回答内の最後の要素余白調整 */
.coordeble-faq-answer > *:last-child,
.coordeble-faq-content > *:last-child,
.coordeble-faq details > :not(summary) > *:last-child {
    margin-bottom: 0;
}

/* スマホ */
@media (max-width: 767px) {
    .coordeble-faq-section > h2,
    .coordeble-faq-section .coordeble-faq-heading,
    .coordeble-faq > h2,
    .coordeble-faq .coordeble-faq-heading {
        margin-bottom: 24px !important;
        font-size: 26px !important;
    }

    .coordeble-faq-question,
    .coordeble-faq-summary,
    .coordeble-faq details > summary,
    .coordeble-faq-item > button,
    .coordeble-faq-card > button {
        padding: 18px 18px;
        font-size: 17px;
        gap: 12px;
    }

    .coordeble-faq details > summary::after,
    .coordeble-faq-question::after,
    .coordeble-faq-summary::after {
        width: 42px;
        height: 42px;
        font-size: 24px;
        border-width: 2px;
    }

    .coordeble-faq-answer,
    .coordeble-faq-content,
    .coordeble-faq details > :not(summary),
    .coordeble-faq-item .answer,
    .coordeble-faq-card .answer {
        padding: 0 18px 20px;
        font-size: 15px;
        line-height: 1.9;
    }

    .coordeble-faq-list,
    .coordeble-faq-items,
    .coordeble-faq-accordion {
        gap: 18px;
    }
}

/* Coordeble FAQ Editorial Card v1 END */

/* Coordeble FAQ Theme Colors v1 START */

/* FAQ見出しの下線を削除 */
.coordeble-faq-section > h2,
.coordeble-faq-section .coordeble-faq-heading,
.coordeble-faq > h2,
.coordeble-faq .coordeble-faq-heading {
    border-bottom: none !important;
    text-decoration: none !important;
    background-image: none !important;
}

/* 見出しの疑似要素による下線も削除 */
.coordeble-faq-section > h2::after,
.coordeble-faq-section .coordeble-faq-heading::after,
.coordeble-faq > h2::after,
.coordeble-faq .coordeble-faq-heading::after {
    content: none !important;
    display: none !important;
}

/* FAQ全体の色を共通デザイン設定と連動 */
.coordeble-faq-section,
.coordeble-faq {
    --cd-faq-bg: var(--cd-box-bg, #ffffff);
    --cd-faq-border: var(--cd-box-text, #333333);
    --cd-faq-radius: var(--cd-box-radius, 20px);
}

/* FAQカードの背景・文字色・角丸 */
.coordeble-faq-item,
.coordeble-faq-card,
.coordeble-faq details,
.coordeble-faq-accordion-item {
    background: var(--cd-box-bg, #ffffff) !important;
    color: var(--cd-box-text, inherit) !important;
    border-color: var(--cd-box-text, currentColor) !important;
    border-radius: var(--cd-box-radius, 20px) !important;
}

/* 質問と回答の文字色 */
.coordeble-faq-question,
.coordeble-faq-summary,
.coordeble-faq details > summary,
.coordeble-faq-answer,
.coordeble-faq-content,
.coordeble-faq details > :not(summary) {
    color: var(--cd-box-text, inherit) !important;
}

/* Coordeble FAQ Theme Colors v1 END */

/* Coordeble FAQ Spacing Fix v1 START */

/* FAQ見出し：左寄せ、下線なし */
.coordeble-section.coordeble-faq > h2 {
    text-align: left !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;

    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
    text-decoration: none !important;
}

/* 見出しの疑似要素による線を非表示 */
.coordeble-section.coordeble-faq > h2::before,
.coordeble-section.coordeble-faq > h2::after {
    content: none !important;
    display: none !important;
}

/* FAQ一覧の余白と余計な線を整理 */
.coordeble-section.coordeble-faq
.coordeble-faq-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    box-shadow: none !important;
    background-image: none !important;
    gap: 18px;
}

/* 一覧の装飾線を削除 */
.coordeble-section.coordeble-faq
.coordeble-faq-list::before,
.coordeble-section.coordeble-faq
.coordeble-faq-list::after {
    content: none !important;
    display: none !important;
}

/* 最初のFAQカードに余分な上余白を入れない */
.coordeble-section.coordeble-faq
.coordeble-faq-item:first-child {
    margin-top: 0 !important;
}

/* FAQカードの背景・枠色・角丸 */
.coordeble-section.coordeble-faq
.coordeble-faq-item {
    background: var(--cd-box-bg, #ffffff) !important;
    color: var(--cd-box-text, inherit) !important;
    border: 3px solid var(--cd-box-text, currentColor) !important;
    border-radius: var(--cd-box-radius, 20px) !important;
}

/* スマートフォン */
@media (max-width: 767px) {

    .coordeble-section.coordeble-faq > h2 {
        margin-bottom: 20px !important;
    }

    .coordeble-section.coordeble-faq
    .coordeble-faq-list {
        gap: 16px;
    }
}

/* Coordeble FAQ Spacing Fix v1 END */



/* ==========================================
   Coordeble Four Button System v1
   4種類の共通ボタン
========================================== */

/* 共通 */
.cd-btn-primary,
.cd-btn-secondary,
.cd-btn-ghost,
.cd-btn-action {
    box-sizing: border-box;
    text-decoration: none;
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.cd-btn-primary:hover,
.cd-btn-secondary:hover,
.cd-btn-ghost:hover,
.cd-btn-action:hover {
    opacity: .82;
}

/* ① 強調 */
.cd-btn-primary {
    background-color:
        var(--cd-btn-primary-bg, #c46b30);
    color:
        var(--cd-btn-primary-text, #ffffff);
}

/* ② 控えめ */
.cd-btn-secondary {
    background-color:
        var(--cd-btn-secondary-bg, #71847a);
    color:
        var(--cd-btn-secondary-text, #ffffff);
}

/* ③ 同化 */
.cd-btn-ghost {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
}

/* ④ 操作 */
.cd-btn-action {
    background-color:
        var(--cd-btn-action-bg, #e58a2e);
    color:
        var(--cd-btn-action-text, #ffffff);
    border-color:
        var(--cd-btn-action-border, #303030);
}

/* FAQの＋／−ボタンに操作ボタン色を適用 */
.coordeble-section.coordeble-faq
.coordeble-faq-question::after {
    background-color:
        var(--cd-btn-action-bg, #e58a2e) !important;
    color:
        var(--cd-btn-action-text, #ffffff) !important;
    border-color:
        var(--cd-btn-action-border, #303030) !important;
}

/* 開閉状態の表示は既存仕様を維持 */
@media (prefers-reduced-motion: reduce) {
    .cd-btn-primary,
    .cd-btn-secondary,
    .cd-btn-ghost,
    .cd-btn-action {
        transition: none;
    }
}



/* Coordeble FAQ Smooth Accordion v1 */

/* 質問・回答の文字を左に揃える */
.coordeble-section.coordeble-faq
.coordeble-faq-question {
    text-align: left !important;
}

.coordeble-section.coordeble-faq
.coordeble-faq-answer {
    text-align: left !important;
    box-sizing: border-box;
    padding: 0 26px 26px !important;
    line-height: 1.9;
}

/* 回答文内の段落やリストも左揃え */
.coordeble-section.coordeble-faq
.coordeble-faq-answer p,
.coordeble-section.coordeble-faq
.coordeble-faq-answer ul,
.coordeble-section.coordeble-faq
.coordeble-faq-answer ol {
    text-align: left !important;
}

/* 回答文の上下の余計な空白を整理 */
.coordeble-section.coordeble-faq
.coordeble-faq-answer > :first-child {
    margin-top: 0 !important;
}

.coordeble-section.coordeble-faq
.coordeble-faq-answer > :last-child {
    margin-bottom: 0 !important;
}

/* アコーディオンの開閉ボタンの変化 */
.coordeble-section.coordeble-faq
.coordeble-faq-question::after {
    transition:
        background-color .25s ease,
        transform .3s ease;
}

.coordeble-section.coordeble-faq
details[open] > .coordeble-faq-question::after {
    transform: rotate(180deg);
}

/* スマートフォン */
@media (max-width: 767px) {
    .coordeble-section.coordeble-faq
    .coordeble-faq-answer {
        padding: 0 18px 20px !important;
        font-size: 15px;
        line-height: 1.85;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coordeble-section.coordeble-faq
    .coordeble-faq-question::after {
        transition: none;
    }
}


/* Coordeble Text Section and Page Groups v1 */

.coordeble-text-content-inner {
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    box-sizing: border-box;
    text-align: left;
}

.coordeble-text-content-inner.cd-text-align-center {
    text-align: center;
}

.coordeble-text-content-inner.cd-text-bg-box {
    background: var(--cd-box-bg, #fff);
    color: var(--cd-box-text, inherit);
    border-radius: var(--cd-box-radius, 16px);
    padding: 40px;
}

.coordeble-text-eyebrow {
    font-size: 13px;
    letter-spacing: .08em;
    margin: 0 0 12px;
    opacity: .75;
}

.coordeble-text-heading {
    margin: 0 0 22px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.4;
    text-align: inherit;
}

.coordeble-text-body {
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
    text-align: inherit;
}

.coordeble-text-body > :first-child {
    margin-top: 0;
}

.coordeble-text-body > :last-child {
    margin-bottom: 0;
}

.coordeble-text-body a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width:767px) {
    .coordeble-text-content-inner.cd-text-bg-box {
        padding: 24px;
    }

    .coordeble-text-body {
        font-size: 15px;
    }
}


/* Coordeble Product Minimal Layout v1 */

.coordeble-products-minimal-grid {
    display: grid;
    grid-template-columns:
        repeat(var(--coordeble-sp, 2), minmax(0, 1fr));
    gap: 28px 16px;
    align-items: start;
}

.coordeble-products-minimal-item {
    min-width: 0;
    margin: 0;
}

.coordeble-products-minimal-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.coordeble-products-minimal-media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
}

.coordeble-products-minimal-media--portrait {
    aspect-ratio: 3 / 4;
}

.coordeble-products-minimal-media--landscape {
    aspect-ratio: 4 / 3;
}

.coordeble-products-minimal-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.coordeble-products-minimal-link:hover img {
    transform: scale(1.035);
}

.coordeble-products-minimal-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
    font-size: 12px;
    letter-spacing: .08em;
}

.coordeble-products-minimal-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding-top: 16px;
    min-width: 0;
}

.coordeble-products-minimal-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    width: 100%;
    margin: 0;
    color: inherit;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .025em;
    text-align: left;
}

.coordeble-products-minimal-category {
    display: inline-block;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 5px;
    background: #151515;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.coordeble-products-minimal-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

@media (min-width: 783px) {
    .coordeble-products-minimal-grid {
        grid-template-columns:
            repeat(var(--coordeble-pc, 4), minmax(0, 1fr));
        gap: 36px 24px;
    }

    .coordeble-products-minimal-title {
        font-size: 20px;
    }
}

@media (max-width: 782px) {
    .coordeble-products-minimal-media {
        border-radius: 10px;
    }

    .coordeble-products-minimal-body {
        gap: 9px;
        padding-top: 13px;
    }

    .coordeble-products-minimal-title {
        font-size: 16px;
        line-height: 1.5;
    }

    .coordeble-products-minimal-category {
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coordeble-products-minimal-media img {
        transition: none;
    }
}


/* Coordeble Minimal Horizontal Scroll v1 */

/* ミニマルだけを横スクロールにする */
.coordeble-products .coordeble-products-minimal-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding: 0 12% 12px 0;
    scrollbar-width: none;
}

.coordeble-products .coordeble-products-minimal-grid::-webkit-scrollbar {
    display: none;
}

/* スマホ：1枚目を大きく、2枚目を少し見せる */
.coordeble-products .coordeble-products-minimal-item {
    flex: 0 0 78%;
    width: 78%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* 横スクロールでも画像比率は維持 */
.coordeble-products .coordeble-products-minimal-media {
    width: 100%;
}

/* PC：3枚程度を見せ、右に次の商品を残す */
@media screen and (min-width: 783px) {
    .coordeble-products .coordeble-products-minimal-grid {
        gap: 24px;
        padding-right: 8%;
    }

    .coordeble-products .coordeble-products-minimal-item {
        flex: 0 0 30%;
        width: 30%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coordeble-products .coordeble-products-minimal-grid {
        scroll-behavior: auto;
    }
}
