/* =========================================
   YANAGI CYCLE ABOUT SPA styles
========================================= */

/* 1. 既存ABOUT本文の非表示 */
.main,
.about-content,
#fixedHeader {
    display: none !important;
}

h2.title,
.entry-title {
    display: none !important;
}

/* 2. ルート */
#yc-router-root {
    background: #fff;
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

#yc-router-root *,
#yc-router-root *::before,
#yc-router-root *::after {
    box-sizing: border-box;
}

/* 3. モーダル */
#ycModal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
}

#ycModal img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* 4. 一覧・共通ラッパー */
.yc-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px;
}

@media (max-width: 768px) {
    .yc-wrapper {
        padding: 40px 15px;
    }
}

/* 5. 一覧ページ */
.yc-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 0;
}

.yc-model-section {
    flex: 0 0 calc(33.333% - 27px);
    max-width: 300px;
}

.yc-model-img img {
    width: 100%;
    height: auto;
    display: block;
}

.yc-model-text h2 {
    font-size: 22px;
    font-weight: inherit;
    margin: 0;
    display: inline;
    line-height: 1.5;
}

.yc-model-text p {
    font-size: 14px;
    color: #605E5E;
    line-height: 1.8;
    margin-top: 20px;
    text-align: center;
    font-weight: normal;
}

.yc-btn-detail {
    text-decoration: none;
    color: inherit;
}

.yc-btn-detail:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .yc-model-section {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 50px;
    }

    .yc-grid-container {
        padding: 40px 20px;
    }
}

/* 6. ギャラリー共通 */
.yc-gallery {
    margin-bottom: 60px;
}

#yc-router-root .yc-gallery-main {
    position: relative;
    width: 100%;
    overflow: hidden !important;
    background: #f5f5f5;
}

#yc-router-root .yc-gallery-main-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateX(0);
}

#yc-router-root .yc-gallery-main-slide {
    min-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    box-sizing: border-box;
}

.yc-gallery-main-slide img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
}

.yc-gallery-prev,
.yc-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}

.yc-gallery-prev:hover,
.yc-gallery-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.yc-gallery-prev {
    left: 12px;
}

.yc-gallery-next {
    right: 12px;
}

.yc-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 0;
}

.yc-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.yc-gallery-dot.is-active {
    background: #ED4700;
    transform: scale(1.3);
}

.yc-gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 0 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.yc-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.yc-gallery-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: border-color 0.2s, opacity 0.2s;
    display: block;
}

.yc-gallery-thumb.is-active {
    border-color: #ED4700;
    opacity: 1;
}

@media (max-width: 800px) {
    .yc-gallery-main-slide img {
        height: 280px;
    }

    .yc-gallery-prev,
    .yc-gallery-next {
        width: 40px;
        height: 40px;
    }
}

/* 7. 詳細ページ共通 */
.yc-detail-wrapper {
    background: #fff;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 80px;
    text-align: left;
}

.yc-back-nav {
    padding: 30px 20px;
}

.yc-back-btn {
    color: #999;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.2em;
}

.yc-back-btn:hover {
    color: #ED4700;
}

.yc-detail-head h1 {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 34px;
    color: #ED4700;
    text-align: center;
    margin: 20px 0 40px;
    line-height: 1.3;
    font-weight: 700;
    padding: 0 20px;
}

.yc-detail-main {
    display: flex;
    gap: 50px;
    padding: 0 20px;
    align-items: flex-start;
}

.yc-description-col {
    flex: 1 1 auto;
    min-width: 0;
}

.yc-side-col {
    width: 320px;
    min-width: 0;
}

.yc-description-col h2 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    line-height: 1.5;
}

.yc-description-col h3 {
    font-size: 16px;
    color: #ED4700;
    margin: 30px 0 10px;
    font-weight: bold;
    line-height: 1.6;
}

.yc-description-col p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 15px;
}

.yc-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.yc-spec-table td {
    padding: 12px 5px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    vertical-align: top;
    line-height: 1.7;
}

.yc-price {
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.yc-price span {
    font-size: 24px;
    font-weight: bold;
}

.yc-btn,
a.yc-btn,
a.yc-btn-orange {
    display: block;
    width: 100%;
    padding: 18px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: none;
}

.yc-btn-orange {
    background: #ED4700;
    color: #fff;
}

.yc-btn-orange:hover {
    opacity: 0.9;
    color: #fff;
}

/* 8. QUIET系 5:5 */
.yc-detail-wrapper-equal .yc-detail-main {
    display: flex;
    gap: 40px;
    padding: 0 20px;
    align-items: flex-start;
}

.yc-detail-wrapper-equal .yc-description-col,
.yc-detail-wrapper-equal .yc-side-col {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

/* 9. custom */
.yc-custom-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px 100px;
    background: #fff;
    color: #333;
    text-align: left;
}

.yc-custom-hero {
    text-align: center;
    margin-bottom: 60px;
}

.yc-custom-hero h1 {
    font-size: 40px;
    color: #ED4700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.yc-custom-hero p {
    font-size: 16px;
    line-height: 2;
}

.yc-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.yc-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.yc-step-num {
    color: #ED4700;
    flex: 0 0 48px;
    font-size: 28px;
    line-height: 1;
}

.yc-step-body {
    flex: 1 1 auto;
    min-width: 0;
}

.yc-step-body h2 {
    font-size: 22px;
    margin: 0 0 12px;
    line-height: 1.5;
}

.yc-step-body p {
    font-size: 15px;
    line-height: 2;
    margin: 0 0 12px;
}

.yc-step-body p.en,
.yc-custom-price .en {
    color: #777;
}

.yc-custom-price {
    margin-top: 60px;
    padding: 32px 24px;
    background: #f9f9f9;
    text-align: center;
}

.yc-custom-price h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.yc-price-num {
    font-size: 34px;
    font-weight: bold;
    color: #ED4700;
    margin: 20px 0;
}

.yc-custom-price p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 10px;
}

.yc-custom-cta {
    margin-top: 40px;
    text-align: center;
}

.yc-custom-cta .yc-btn-orange {
    display: inline-block;
    width: auto;
    min-width: 280px;
    padding: 18px 28px;
}

/* 10. 詳細ページレスポンシブ */
@media (max-width: 800px) {
    .yc-detail-head h1 {
        font-size: 26px;
        margin: 10px 0 30px;
    }

    .yc-detail-main,
    .yc-detail-wrapper-equal .yc-detail-main {
        flex-direction: column;
        gap: 30px;
    }

    .yc-side-col,
    .yc-detail-wrapper-equal .yc-side-col {
        width: 100%;
    }

    .yc-back-nav {
        padding: 20px 15px;
    }
}

@media (max-width: 640px) {
    .yc-custom-wrapper {
        padding: 40px 15px 70px;
    }

    .yc-custom-hero h1 {
        font-size: 30px;
    }

    .yc-custom-hero p {
        font-size: 15px;
    }

    .yc-step {
        flex-direction: column;
        gap: 12px;
        padding: 20px 0;
    }

    .yc-step-num {
        flex: none;
        font-size: 24px;
    }

    .yc-step-body h2 {
        font-size: 20px;
    }

    .yc-custom-price {
        padding: 24px 16px;
    }

    .yc-custom-price h2 {
        font-size: 24px;
    }

    .yc-price-num {
        font-size: 28px;
    }

    .yc-custom-cta .yc-btn-orange {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .yc-custom-wrapper {
        display: flex;
        flex-direction: column;
    }

    .yc-custom-hero {
        order: 1;
    }

    .yc-custom-price {
        order: 2;
    }

    .yc-steps {
        order: 3;
    }

    .yc-custom-cta {
        order: 4;
    }
}

/* 11. 旧価格ページ共通（互換維持） */
.yc-price-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    text-align: left;
    background: #fff;
}

.yc-price-hero {
    text-align: center;
    margin-bottom: 50px;
}

.yc-price-hero h1 {
    font-size: 28px;
    font-weight: bold;
    color: #2F2E2E;
    margin-bottom: 20px;
    line-height: 1.4;
}

.yc-price-hero p {
    font-size: 16px;
    font-weight: bold;
    line-height: 2;
    color: #555;
}

.yc-price-group {
    margin-bottom: 40px;
}

.yc-price-group-title {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #fff;
    background: #2F2E2E;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yc-price-label {
    font-size: 14px;
    letter-spacing: 0.05em;
    font-weight: normal;
}

.yc-price-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    align-items: baseline;
}

.yc-price-row:hover {
    background: #fafafa;
}

.yc-price-row-label {
    font-size: 16px;
    color: #2F2E2E;
    line-height: 1.6;
    grid-column: 1;
    grid-row: 1;
}

.yc-price-row-price {
    font-size: 17px;
    font-weight: bold;
    color: #ED4700;
    white-space: nowrap;
    grid-column: 2;
    grid-row: 1;
    text-align: right;
}

.yc-price-row-note {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    grid-column: 1 / -1;
    grid-row: 2;
}

.yc-price-cta {
    text-align: center;
    margin-top: 20px;
}

.yc-price-cta .yc-btn-orange {
    display: inline-block;
    padding: 18px 60px;
    background: #ED4700;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.1em;
}

@media (max-width: 640px) {
    .yc-price-wrapper {
        padding: 40px 15px 60px;
    }

    .yc-price-hero {
        margin-bottom: 36px;
    }

    .yc-price-hero h1 {
        font-size: 24px;
    }

    .yc-price-hero p {
        font-size: 14px;
        line-height: 1.9;
    }

    .yc-price-group-title {
        font-size: 13px;
        padding: 10px 12px;
    }

    .yc-price-label {
        font-size: 12px;
    }

    .yc-price-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 6px;
        padding: 12px;
    }

    .yc-price-row-label {
        grid-column: 1;
        grid-row: 1;
        font-size: 15px;
    }

    .yc-price-row-price {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
        font-size: 16px;
    }

    .yc-price-row-note {
        grid-column: 1;
        grid-row: 3;
        font-size: 13px;
    }

    .yc-price-cta .yc-btn-orange {
        width: 100%;
        padding: 18px 20px;
    }
}

/* 12. 旧 price-mod-bike 用互換スタイル */
.yc-price-section-title {
    font-size: 20px;
    font-weight: bold;
    margin: 50px 0 20px;
    padding-left: 12px;
    line-height: 1.5;
}

.yc-price-section-title.sport {
    color: #ED4700;
    border-left: 4px solid #ED4700;
}

.yc-price-section-title.city {
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.yc-price-notice {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    padding-left: 4px;
    line-height: 1.8;
}

.yc-price-group-title.sport {
    background: #ED4700;
}

.yc-price-group-title.city {
    background: #2e7d32;
}

.yc-price-row-price.sport {
    color: #ED4700;
}

.yc-price-row-price.city {
    color: #2e7d32;
}

@media (max-width: 640px) {
    .yc-price-section-title {
        font-size: 18px;
        margin: 40px 0 16px;
        padding-left: 10px;
    }

    .yc-price-notice {
        font-size: 12px;
        margin-bottom: 16px;
    }
}

/* =========================================
   13. テーブル版 共通
========================================= */

.yc-price-table-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    background: #fff;
    color: #333;
    text-align: left;
}

.yc-price-table-hero {
    text-align: center;
    margin: 10px 0 40px;
}

.yc-price-table-hero h1 {
    font-size: 30px;
    font-weight: bold;
    color: #2F2E2E;
    line-height: 1.4;
    margin-bottom: 20px;
}

.yc-price-table-hero p {
    font-size: 15px;
    font-weight: bold;
    line-height: 2;
    color: #555;
}

.yc-price-table-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e9e9e9;
}

.yc-price-table-scroll {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.yc-price-table-scroll thead,
.yc-price-table-scroll tbody {
    display: block;
    width: 100%;
}

.yc-price-table-scroll thead tr,
.yc-price-table-scroll tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.yc-price-table-scroll tbody {
    max-height: 680px;
    overflow-y: auto;
    overflow-x: hidden;
}

.yc-price-table-scroll th,
.yc-price-table-scroll td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
    box-sizing: border-box;
}

.yc-price-table-scroll th {
    background: #0c4d9c;
    color: #fff;
    font-weight: bold;
}

.yc-price-table-scroll tbody tr:hover {
    background: #f3f6fa;
}

/* 列幅 */
.yc-price-table-scroll th:nth-child(1),
.yc-price-table-scroll td:nth-child(1) {
    width: 16%;
}

.yc-price-table-scroll th:nth-child(2),
.yc-price-table-scroll td:nth-child(2) {
    width: 36%;
}

.yc-price-table-scroll th:nth-child(3),
.yc-price-table-scroll td:nth-child(3) {
    width: 18%;
    white-space: nowrap;
    color: #000;
    font-weight: bold;
}

.yc-price-table-scroll th:nth-child(4),
.yc-price-table-scroll td:nth-child(4) {
    width: 30%;
    color: #777;
}

/* thead だけ白文字 */
.yc-price-table-scroll thead th:nth-child(3),
.yc-price-table-scroll thead th:nth-child(4),
.yc-price-table-scroll thead th:nth-child(2),
.yc-price-table-scroll thead th:nth-child(1) {
    color: #fff;
}

.yc-price-table-cta {
    text-align: center;
    margin-top: 24px;
}

.yc-price-table-cta .yc-btn-orange {
    display: inline-block;
    width: auto;
    min-width: 280px;
    padding: 18px 28px;
}

/* =========================================
   14. price-mod-bike テーブル統一版
========================================= */

.yc-price-table-section-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
    margin: 50px 0 14px;
    padding-left: 12px;
}

.yc-price-table-section-title.sport {
    color: #ED4700;
    border-left: 4px solid #ED4700;
}

.yc-price-table-section-title.city {
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.yc-price-table-notice {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 4px;
}

.yc-price-table-wrap-city {
    margin-top: 0;
}

.yc-price-table-scroll-bike tbody tr:hover {
    background: #f3f6fa;
}

.yc-price-table-scroll-bike th:nth-child(3),
.yc-price-table-scroll-bike td:nth-child(3) {
    color: #000;
}

.yc-price-table-scroll-bike thead th {
    color: #fff;
}

/* =========================================
   15. テーブル版 スマホ
========================================= */
@media (max-width: 768px) {
    .yc-price-table-page {
        padding: 30px 12px 60px;
    }

    .yc-price-table-hero {
        margin-bottom: 28px;
    }

    .yc-price-table-hero h1 {
        font-size: 24px;
    }

    .yc-price-table-hero p {
        font-size: 14px;
        line-height: 1.9;
    }

    .yc-price-table-section-title {
        font-size: 20px;
        margin: 38px 0 12px;
        padding-left: 10px;
    }

    .yc-price-table-notice {
        font-size: 12px;
        margin-bottom: 12px;
    }

    /* テーブル枠を独立BOX化 */
    .yc-price-table-wrap {
        width: calc(100% - 16px);
        margin: 0 auto 24px;
        border: 3px solid #d9d9d9;
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    .yc-price-table-scroll,
    .yc-price-table-scroll thead,
    .yc-price-table-scroll tbody,
    .yc-price-table-scroll tr,
    .yc-price-table-scroll th,
    .yc-price-table-scroll td {
        display: block;
        width: 100%;
    }

    /* ヘッダー固定 */
    .yc-price-table-scroll thead {
        position: sticky;
        top: 0;
        z-index: 10;
    }

.yc-price-table-scroll thead tr {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    grid-template-areas:
        "cat cat"
        "work price"
        "note note";
    padding: 10px 12px;
    font-size: 12px;
    color: #fff;
    background: #0c4d9c;
}

.yc-price-table-scroll thead th {
    border: none;
    padding: 0;
    font-size: 12px;
    color: #fff !important;
    background: transparent;
}

/* 各セルの配置 */
.yc-price-table-scroll thead th:nth-child(1) {
    grid-area: cat;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.yc-price-table-scroll thead th:nth-child(2) {
    grid-area: work;
}

.yc-price-table-scroll thead th:nth-child(3) {
    grid-area: price;
    text-align: right;
}

.yc-price-table-scroll thead th:nth-child(4) {
    grid-area: note;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

    /* bike の見出し行色 */
    .yc-price-table-scroll-bike-sport thead tr {
        background: #ED4700;
    }

    .yc-price-table-scroll-bike-city thead tr {
        background: #2e7d32;
    }

    /* tbody を固定高スクロール */
    .yc-price-table-scroll tbody {
        max-height: 52vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        background: #fff;
    }

    .yc-price-table-scroll tbody tr {
        display: grid;
        grid-template-columns: minmax(240px, 1fr) auto;
        grid-template-areas:
            "cat cat"
            "work price"
            "note note";
        gap: 0;
        padding: 12px;
        margin-bottom: 0;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #eee;
        background: #fff;
    }

    .yc-price-table-scroll td {
        border: none !important;
        padding: 0;
        font-size: 13px;
        line-height: 1.6;
    }

    .yc-price-table-scroll td:nth-child(1) {
        grid-area: cat;
        color: #0c4d9c;
        font-weight: bold;
        font-size: 12px;
        line-height: 1.5;
        padding-bottom: 6px;
        border-bottom: none;
    }

    .yc-price-table-scroll-bike-sport td:nth-child(1) {
        color: #ED4700;
    }

    .yc-price-table-scroll-bike-city td:nth-child(1) {
        color: #2e7d32;
    }

    .yc-price-table-scroll td:nth-child(2) {
        grid-area: work;
        color: #2F2E2E;
        line-height: 1.6;
        padding-top: 6px;
    }

    .yc-price-table-scroll td:nth-child(3) {
        grid-area: price;
        white-space: nowrap;
        color: #000;
        font-weight: bold;
        text-align: right;
        align-self: start;
        padding-top: 6px;
    }

    .yc-price-table-scroll td:nth-child(4) {
        grid-area: note;
        color: #777;
        font-size: 12px;
        line-height: 1.6;
        padding-top: 6px;
        border-top: none;
    }

    .yc-price-table-scroll tbody tr:hover,
    .yc-price-table-scroll-bike tbody tr:hover {
        background: #f3f6fa;
    }

    .yc-price-table-cta .yc-btn-orange {
        width: 100%;
        min-width: 0;
    }
}

/* bikeテーブルのthead色（PC用） */
.yc-price-table-scroll-bike-sport th {
    background: #ED4700;
    color: #fff;
}

.yc-price-table-scroll-bike-city th {
    background: #2e7d32;
    color: #fff;
}

/* PC用の列幅指定をスマホで解除 */
.yc-price-table-scroll th:nth-child(1),
.yc-price-table-scroll td:nth-child(1),
.yc-price-table-scroll th:nth-child(2),
.yc-price-table-scroll td:nth-child(2),
.yc-price-table-scroll th:nth-child(3),
.yc-price-table-scroll td:nth-child(3),
.yc-price-table-scroll th:nth-child(4),
.yc-price-table-scroll td:nth-child(4) {
    width: auto !important;
    max-width: none !important;
}

.yc-price-table-scroll td:nth-child(1) {
    white-space: nowrap;
}

.yc-price-table-scroll td:nth-child(2),
.yc-price-table-scroll td:nth-child(4) {
    word-break: normal;
}

/* =========================================
   16. price table polish
   視認性・タップ感の微調整
========================================= */

/* --- PC / 共通 --- */

/* 分類を少し見やすく */
.yc-price-table-scroll td:nth-child(1) {
    letter-spacing: 0.03em;
}

/* 価格の視認性アップ */
.yc-price-table-scroll td:nth-child(3) {
    font-size: 15px;
    letter-spacing: 0.02em;
}

/* hoverを少し自然に */
.yc-price-table-scroll tbody tr:hover,
.yc-price-table-scroll-bike tbody tr:hover {
    background: #f3f6fa;
}

/* --- スマホ / タブレット --- */
@media (max-width: 768px) {

    /* 分類の見やすさアップ */
    .yc-price-table-scroll td:nth-child(1) {
        letter-spacing: 0.04em;
    }

    /* 価格を少しだけ強調 */
    .yc-price-table-scroll td:nth-child(3) {
        font-size: 15px;
        letter-spacing: 0.02em;
    }

    /* タップ時の反応 */
    .yc-price-table-scroll tbody tr:active,
    .yc-price-table-scroll-bike tbody tr:active {
        background: #eef3f8;
    }
}

/* --- 超小型デバイス --- */
@media (max-width: 400px) {

    /* 横スクロール時も価格を見やすく */
    .yc-price-table-scroll td:nth-child(3) {
        font-size: 14px;
        letter-spacing: 0.02em;
    }

    /* 備考だけ折り返す */
    .yc-price-table-scroll td:nth-child(4) {
        white-space: normal;
        word-break: break-word;
        color: #777;
        font-size: 12px;
        line-height: 1.6;
    }

    /* タップ時の反応 */
    .yc-price-table-scroll tbody tr:active,
    .yc-price-table-scroll-bike tbody tr:active {
        background: #eef3f8;
    }
}

/* =========================================
   works minimal
========================================= */

.yc-works-page,
.yc-works-detail-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    background: #fff;
    color: #333;
    text-align: left;
}

.yc-works-hero {
    text-align: center;
    margin: 10px 0 36px;
}

.yc-works-hero h1 {
    font-size: 30px;
    font-weight: bold;
    color: #2F2E2E;
    line-height: 1.4;
    margin: 0;
}

.yc-works-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.yc-works-card {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yc-works-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.yc-works-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.yc-works-card-thumb {
    background: #f5f5f5;
}

.yc-works-card-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.yc-works-card:hover .yc-works-card-thumb img {
    transform: scale(1.03);
}

.yc-works-card-body {
    padding: 16px 18px;
}

.yc-works-card h2 {
    font-size: 22px;
    line-height: 1.5;
    margin: 0;
    color: #2F2E2E;
}

.yc-works-empty {
    text-align: center;
    padding: 60px 20px;
}

.yc-works-empty p,
.yc-works-empty h1 {
    color: #666;
}

.yc-works-gallery .yc-gallery-main-slide img {
    height: 520px;
    object-fit: contain;
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .yc-works-page,
    .yc-works-detail-page {
        padding: 30px 15px 60px;
    }

    .yc-works-hero {
        margin-bottom: 28px;
    }

    .yc-works-hero h1 {
        font-size: 24px;
    }

    .yc-works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .yc-works-card h2 {
        font-size: 20px;
    }

    .yc-works-gallery .yc-gallery-main-slide img {
        height: 300px;
    }
}

/* =========================================
   HOME : tadequi風トップ
========================================= */

body#shopTopPage {
    background: #ffffff;
}

/* 全体 */
.yc-home {
    width: 100%;
    background: #fff;
    color: #222;
    margin: 0 auto 48px;
}

/* -----------------------------------------
   HERO
----------------------------------------- */
.yc-home-hero {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 36px;
}

.yc-home-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f7f7f7;
}

.yc-home-hero-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.6s ease;
    will-change: transform;
}

.yc-home-hero-slide {
    min-width: 100%;
    flex: 0 0 100%;
}

.yc-home-hero-slide img {
    width: 100%;
    height: min(72vh, 920px);
    object-fit: cover;
    display: block;
}

.yc-home-hero-prev,
.yc-home-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.78);
    color: #222;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease, opacity 0.2s ease;
    padding: 0;
}

.yc-home-hero-prev:hover,
.yc-home-hero-next:hover {
    background: rgba(255,255,255,0.94);
}

.yc-home-hero-prev {
    left: 22px;
}

.yc-home-hero-next {
    right: 22px;
}

.yc-home-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.yc-home-hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.yc-home-hero-dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

/* -----------------------------------------
   INTRO
----------------------------------------- */
.yc-home-intro {
    padding: 26px 20px 56px;
}

.yc-home-intro-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.yc-home-kicker {
    margin: 0 0 18px;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: #888;
}

.yc-home-intro h2 {
    margin: 0 0 22px;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #1f1f1f;
}

.yc-home-lead {
    margin: 0;
    font-size: 14px;
    line-height: 2.15;
    color: #555;
}

/* =========================================
   HOME 完成版 微調整セット
   残す差分のみ
========================================= */

/* -----------------------------------------
   ヘッダーとのつながり
----------------------------------------- */
body.shop #mainHeader {
    margin: 0 auto 20px;
}

/* -----------------------------------------
   965px〜481px：ナビを2段化
----------------------------------------- */
@media (max-width: 965px) and (min-width: 481px) {
    #mainHeader ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #mainHeader ul > li {
        width: 33.333%;
        box-sizing: border-box;
        text-align: center;
    }

    #mainHeader ul > li > a.mainHeaderNavColor,
    #mainHeader ul > li #category-menu > span.mainHeaderNavColor {
        display: block;
        padding: 8px 6px;
        line-height: 1.4;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
}

/* -----------------------------------------
   タブレット
----------------------------------------- */
@media (max-width: 1024px) {
    .yc-home {
        margin-bottom: 56px;
    }

    .yc-home-hero-slide img {
        height: min(62vh, 620px);
    }

    body#shopTopPage .item {
        width: calc(33.333% - 16px);
    }
}

/* -----------------------------------------
   スマホ
----------------------------------------- */
@media (max-width: 768px) {
    .yc-home {
        margin-bottom: 40px;
    }

    .yc-home-hero {
        margin-bottom: 28px;
    }

    .yc-home-hero-slide img {
        height: 56vw;
        min-height: 240px;
        max-height: 420px;
    }

    .yc-home-hero-prev,
    .yc-home-hero-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .yc-home-hero-prev {
        left: 10px;
    }

    .yc-home-hero-next {
        right: 10px;
    }

    .yc-home-hero-dots {
        bottom: 14px;
        gap: 8px;
    }

    .yc-home-intro {
        margin-bottom: 38px;
        padding: 0 16px;
    }

    .yc-home-intro h2 {
        font-size: 28px;
    }

    .yc-home-intro p {
        font-size: 13px;
        line-height: 2;
    }

    .yc-home-section-head h2 {
        font-size: 21px;
    }

    body#shopTopPage .itemList {
        padding: 0 16px;
        gap: 28px 14px;
        margin-bottom: 60px;
    }

    body#shopTopPage .item {
        width: calc(50% - 7px);
    }

    body#shopTopPage .item a .itemTitle h2 {
        font-size: 13px;
        line-height: 1.7;
    }

    body#shopTopPage .item .itemDetail .itemPrice {
        font-size: 12px;
    }
}

/* -----------------------------------------
   小さいスマホ
----------------------------------------- */
@media (max-width: 420px) {
    .yc-home-hero-slide img {
        min-height: 220px;
    }

    .yc-home-section-head h2 {
        letter-spacing: 0.08em;
    }

    .yc-home-intro h2 {
        font-size: 24px;
    }

    .yc-home-intro p {
        font-size: 12px;
        line-height: 1.9;
    }
}

/* ==============================
   HOME Information
   最終整理版
============================== */

.yc-home-info {
  max-width: 980px;
  margin: 48px auto 56px;
  padding: 0 20px;
}

.yc-home-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111;
}

.yc-home-info-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.yc-home-info-more {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #111;
  transition: opacity 0.2s ease;
}

.yc-home-info-more:hover {
  opacity: 0.6;
}

.yc-home-info-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e8e8e8;
}

.yc-home-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
  border-bottom: 1px solid #e8e8e8;
  line-height: 1.4;
}

.yc-home-info-date {
  width: 110px;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #666;
}

.yc-home-info-text {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111;
}

.yc-home-info-link,
.yc-home-info-link.is-disabled {
  min-width: 90px;
}

.yc-home-info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.8rem;
  line-height: 1;
  color: #0c4d9c;
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.yc-home-info-link:hover {
  background: #f2f6fb;
  opacity: 1;
}

.yc-home-info-link.is-disabled {
  display: inline-block;
  visibility: hidden;
  line-height: 1;
  padding: 2px 8px;
  pointer-events: none;
}

.yc-home-info-loading,
.yc-home-info-empty,
.yc-home-info-error {
  margin: 0;
  padding: 12px 0;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 767px) {
  .yc-home-info {
    margin: 36px auto 42px;
    padding: 0 16px;
  }

  .yc-home-info-head {
    align-items: flex-end;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }

  .yc-home-info-title {
    font-size: 1.1rem;
  }

  .yc-home-info-more {
    font-size: 0.75rem;
  }

  .yc-home-info-item {
    display: block;
    padding: 8px 0;
  }

  .yc-home-info-date {
    display: block;
    width: auto;
    margin-bottom: 2px;
    font-size: 0.8rem;
  }

  .yc-home-info-text {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .yc-home-info-link,
  .yc-home-info-link.is-disabled {
    min-width: 0;
  }

  .yc-home-info-link {
    display: inline-flex;
    padding: 2px 6px;
    font-size: 0.75rem;
  }

  .yc-home-info-link.is-disabled {
    display: none;
  }
}

/* 価格表回り */
.yc-price-table-loading,
.yc-price-table-empty,
.yc-price-table-error {
    margin: 0;
    padding: 16px 0;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* ==============================
   Header logo + info layout
============================== */

    body.shop #shopHeader {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding-top: 50px;
        flex-wrap: wrap;
    }

    body.shop #shopHeader h1 {
        display: block;
        font-size: 30px;
        letter-spacing: 2px;
        margin: 0;
        width: auto;
        flex: 0 0 auto;
        text-align: center;
    }

    body.shop #shopHeader h1 a {
        display: inline-block;
    }

    body.shop #shopHeader h1 img {
        max-width: 960px;
        width: 100%;
        vertical-align: top;
    }

    .yc-header-info {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 10px 16px;
        border: 1px solid #ddd;
        background: #fff;
        border-radius: 6px;
        font-size: 12px;
        flex: 0 1 auto;
    }

    .yc-header-info-item {
        display: flex;
        flex-direction: column;
        line-height: 1.4;
    }

    .yc-header-label {
        font-size: 10px;
        letter-spacing: 0.08em;
        color: #888;
    }

    .yc-header-text {
        font-size: 12px;
        color: #111;
    }

    /* ==============================
    Header info 2x2 (tablet range)
    ============================== */

    @media (min-width: 767px) and (max-width: 975px) {
    body.shop #shopHeader {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    body.shop #shopHeader h1 {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .yc-header-info {
        width: min(100%, 520px);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 18px;
        padding: 10px 14px;
        box-sizing: border-box;
    }

    .yc-header-info-item {
        min-width: 0;
    }

    .yc-header-text {
        word-break: break-word;
    }
    }

    /* スマホ：ロゴ下へ */
    @media (max-width: 767px) {
    body.shop #shopHeader {
        align-items: flex-start;
        gap: 12px;
    }

    body.shop #shopHeader h1 {
        width: 100%;
    }

    .yc-header-info {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 12px;
    }

    .yc-header-info-item {
        flex-direction: row;
        gap: 8px;
    }

    .yc-header-label {
        min-width: 70px;
    }
    }

    /* ==============================
    Header layout fix
    ============================== */

    body.shop #shopHeader {
    display: flex;
    align-items: center;
    gap: 16px;
    }

    body.shop #shopHeader h1 {
    margin: 0;
    width: auto;
    flex: 1 1 auto;
    text-align: center;
    }

    /* ここが重要：カードを右へ押し出す */
    .yc-header-info {
    margin-left: auto;
    }


    /* HOME aboutテキスト */
    .yc-home-about {
        max-width: 800px;
        margin: 60px auto 40px;
        padding: 0 20px;
        text-align: center;
    }

    .yc-home-about p {
        font-size: 15px;
        line-height: 2;
        color: #555;
    }

    /* =========================================
    price table 400px以下：完全縦並び
    ========================================= */
    @media (max-width: 400px) {

    .yc-price-table-wrap {
        overflow: hidden;
    }

    .yc-price-table-scroll thead {
        display: block !important;
    }

    .yc-price-table-scroll thead tr {
        display: block !important;
        padding: 0;
        background: none !important;
    }

    .yc-price-table-scroll thead th {
        display: block !important;
        width: 100% !important;
        padding: 8px 12px !important;
        border-bottom: 1px solid rgba(255,255,255,0.35);
        color: #fff !important;
        text-align: left !important;
        font-size: 12px;
        line-height: 1.5;
    }

    .yc-price-table-scroll thead th:last-child {
        border-bottom: none;
    }

    /* フレーム修理テーブル：青 */
    .yc-price-table-scroll:not(.yc-price-table-scroll-bike-sport):not(.yc-price-table-scroll-bike-city) thead th {
        background: #0c4d9c !important;
    }

    /* スポーツ車テーブル：オレンジ */
    .yc-price-table-scroll-bike-sport thead th {
        background: #ED4700 !important;
    }

    /* シティサイクルテーブル：緑 */
    .yc-price-table-scroll-bike-city thead th {
        background: #2e7d32 !important;
    }

    .yc-price-table-scroll,
    .yc-price-table-scroll tbody,
    .yc-price-table-scroll tr,
    .yc-price-table-scroll td {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .yc-price-table-scroll tbody {
        max-height: 52vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .yc-price-table-scroll tr {
        padding: 12px;
        border-bottom: 1px solid #eee;
        background: #fff;
    }

    .yc-price-table-scroll td {
        padding: 0 0 8px !important;
        border: none !important;
        white-space: normal !important;
        word-break: break-word;
        text-align: left !important;
        font-size: 13px;
        line-height: 1.6;
    }

    .yc-price-table-scroll td:nth-child(3) {
        color: #000;
        font-weight: bold;
    }

    .yc-price-table-scroll td:nth-child(4) {
        color: #777;
        font-size: 12px;
        padding-bottom: 0 !important;
    }
}

/* ==============================
   Language Switch
============================== */

.yc-lang-switch {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0 20px 20px 0;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.yc-lang-switch a {
    color: #777;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.yc-lang-switch a:hover {
    opacity: 0.6;
}

.yc-lang-switch a.is-active {
    color: #ED4700;
    font-weight: bold;
}

.yc-lang-switch span {
    color: #ccc;
}
