@charset "UTF-8";
/*
Theme Name: Cocoon Child
Template: cocoon-master
Author: KOKORO企画
Description: Cocoon子テーマ
Version: 1.0
*/

/* 在庫表示のスタイル
---------------------------------------- */
/* 在庫リストページのスタイル */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

#stock-page {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: #f3f4f6;
    padding: 2rem 1rem;
    min-height: 100vh;
}

.stock-main {
    max-width: 1200px;
    margin: 0 auto;
}

.stock-loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #666;
}

.stock-error {
    color: #f44336;
    font-weight: bold;
    text-align: center;
    padding: 2rem;
}

.stock-section {
    margin-bottom: 3rem;
}

.table-container {
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 0 auto 2rem;
    max-width: 64rem;
}

.stock-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 0;
}

.stock-table th,
.stock-table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: center;
}

.stock-table thead th {
    font-weight: 600;
}

/* 在庫状況の色分け */
.stock-high {
    background-color: #fef9c3;
    /* background-color: #dcfce7; */
    color: #166534;
    font-weight: 600;
}

.stock-medium {
    background-color: #fef9c3;
    /* background-color: #fef9c3; */
    color: #854d0e;
    font-weight: 600;
}

.stock-low {
    background-color: #fef9c3;
    color: #9a3412;
    font-weight: 600;
}

.stock-none {
    background-color: #fee2e2;
    color: #991b1b;
    font-weight: 600;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    #stock-page {
        padding: 1rem 0.5rem;
    }
    
    .table-container h1 {
        font-size: 1.5rem;
        padding: 1rem;
    }
    
    .table-container h2 {
        font-size: 1.25rem;
        padding: 0.75rem;
    }
    
    .stock-table th,
    .stock-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.875rem;
    }
    
    .table-container {
        margin: 0 0 1.5rem;
    }
}

/* テーブルのスクロール対応 */
@media screen and (max-width: 640px) {
    .table-container {
        overflow-x: auto;
    }
    
    .stock-table {
        min-width: 600px;
    }
}

/* レンタルプラン詳細ページ モーダル
---------------------------------------- */
/* 在庫確認ボタン */
.sub-plan-stock-btn a,
.sub-plan-stock-btn button {
    display: inline-block;
    background: inherit;
    color: inherit;
    border: inherit;
    padding: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: inherit;
}

.sub-plan-stock-btn a:hover,
.sub-plan-stock-btn button:hover {
    background: inherit;
    color: inherit;
}

/* モーダル */
.stock-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.stock-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stock-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #8B7777;
    color: #FFF;
}

.stock-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.stock-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.stock-modal-close:hover {
    transform: rotate(90deg);
}

/* タブ */
.stock-modal-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.stock-modal-tab {
    flex: 1;
    padding: 15px 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s;
}

.stock-modal-tab.active {
    background-color: white;
    color: #8b7e74;
    border-bottom: 3px solid #8b7e74;
}

.stock-modal-tab:hover {
    background-color: #e8e8e8;
}

.stock-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.stock-modal-section {
    margin-bottom: 40px;
}

.stock-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    margin: 0 0 20px 0;
}

.mens-title {
    background-color: #62A0CE;
    color: #FFF;
}

.ladies-title {
    background-color: #D3B9D0;
    color: #FFF;
}

.stock-category-title {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 10px 15px;
    margin: 25px 0 15px 0;
    background-color: #f3f4f6;
    border-left: 4px solid #667eea;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

.stock-modal-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.stock-modal-table th,
.stock-modal-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 8px;
    text-align: center;
    font-size: 0.95rem;
}

.stock-modal-table thead th {
    background-color: #1f2937;
    color: white;
    font-weight: 600;
}

.stock-modal-table .height-cell {
    font-weight: 600;
    background-color: #f9fafb;
}

/* 在庫状況の色分け */
.stock-high {
    background-color: #fef9c3;
    color: #166534;
    font-weight: 600;
}

.stock-medium {
    background-color: #fef9c3;
    color: #854d0e;
    font-weight: 600;
}

.stock-low {
    background-color: #fef9c3;
    color: #9a3412;
    font-weight: 600;
}

.stock-none {
    background-color: #F2ECEC;
    color: #AD044C;
    font-weight: 600;
}

.stock-loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #666;
}

.stock-error {
    color: #f44336;
    font-weight: bold;
    text-align: center;
    padding: 40px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .stock-modal-content {
        width: 98%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .stock-modal-header {
        padding: 15px 20px;
    }
    
    .stock-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .stock-modal-body {
        padding: 20px 15px;
    }
    
    .stock-modal-title {
        font-size: 1.4rem;
        padding: 12px;
    }
    
    .stock-category-title {
        font-size: 1.1rem;
        padding: 8px 12px;
    }
    
    .stock-modal-table th,
    .stock-modal-table td {
        padding: 8px 4px;
        font-size: 0.85rem;
    }
    
    .stock-check-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 640px) {
    .stock-modal-table {
        font-size: 0.8rem;
    }
    
    .stock-modal-table th,
    .stock-modal-table td {
        padding: 6px 3px;
        font-size: 0.75rem;
    }
}

/* 在庫リストページ用スタイル（モーダルと同じデザイン）
---------------------------------------- */
#stock-page {
    background-color: #f3f4f6;
    padding: 40px 20px;
    min-height: 100vh;
}

.stock-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stock-page-section {
    margin-bottom: 60px;
}

.stock-page-content {
    background-color: #ffffff;
    border-radius: 0;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stock-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    margin: 0 0 30px 0;
    color: #FFF;
}

.stock-page-title.mens-title {
    background-color: #62A0CE;
}

.stock-page-title.ladies-title {
    background-color: #D3B9D0;
}

.stock-page-content .stock-category-title {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 10px 15px;
    margin: 25px 0 15px 0;
    background-color: #f3f4f6;
    border-left: 4px solid #667eea;
}

.stock-page-content .table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
}

.stock-page-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    margin-bottom: 30px;
}

.stock-page-table th,
.stock-page-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 8px;
    text-align: center;
    font-size: 0.95rem;
}

.stock-page-table thead th {
    background-color: #1f2937;
    color: white;
    font-weight: 600;
}

.stock-page-table .height-cell {
    font-weight: 600;
    background-color: #f9fafb;
}

/* 在庫状況の色分け（モーダルと同じ） */
.stock-page-table .stock-high {
    background-color: #fef9c3;
    color: #166534;
    font-weight: 600;
}

.stock-page-table .stock-medium {
    background-color: #fef9c3;
    color: #854d0e;
    font-weight: 600;
}

.stock-page-table .stock-low {
    background-color: #fef9c3;
    color: #9a3412;
    font-weight: 600;
}

.stock-page-table .stock-none {
    background-color: #F2ECEC;
    color: #AD044C;
    font-weight: 600;
}

/* ローディング表示 */
.stock-page-container .stock-loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #666;
}

.stock-page-container .stock-error {
    color: #f44336;
    font-weight: bold;
    text-align: center;
    padding: 40px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    #stock-page {
        padding: 20px 10px;
    }
    
    .stock-page-content {
        padding: 20px 15px;
    }
    
    .stock-page-title {
        font-size: 1.4rem;
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .stock-page-content .stock-category-title {
        font-size: 1.1rem;
        padding: 8px 12px;
        margin: 20px 0 12px 0;
    }
    
    .stock-page-table th,
    .stock-page-table td {
        padding: 8px 4px;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 640px) {
    .stock-page-table {
        font-size: 0.8rem;
    }
    
    .stock-page-table th,
    .stock-page-table td {
        padding: 6px 3px;
        font-size: 0.75rem;
    }
}

/* ブログアーカイブ - サムネイル統一 */
.sub-topics-content img {
    width: 100%;
    height: auto;
    aspect-ratio: 11 / 10;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #f5f5f5; /* 画像がない場合の背景色 */
}

/* ブログ詳細 - メイン画像（アイキャッチ） */
#sub-topics-article .post-thumbnail img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

/* ブログ記事本文内の画像 - 元の比率を維持（吹き出しアイコンを除く） */
#sub-topics-article .entry-content img:not(.speech-icon-image):not(.speech-icon img),
#sub-topics-article article img:not(.speech-icon-image):not(.speech-icon img),
#sub-topics-article .article-content img:not(.speech-icon-image):not(.speech-icon img),
.article-content img:not(.speech-icon-image):not(.speech-icon img),
.entry-content img:not(.speech-icon-image):not(.speech-icon img) {
    max-width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: initial !important;
    display: block;
    margin: 1rem auto;
}

/* Cocoon吹き出しアイコンの表示を確保 - 最優先 */
.speech-icon-image,
.speech-person,
.speech-wrap .speech-icon img,
.speech-icon img,
figure.speech-icon img,
.wp-block-cocoon-blocks-balloon-1 img,
.wp-block-cocoon-blocks-balloon-ex-box-1 img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    display: inline-block !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}

/* WordPressの画像整列クラス */
.alignnone,
.aligncenter,
.alignleft,
.alignright {
    max-width: 100%;
    height: auto !important;
}

/* 古いスタイルを上書き（aspect-ratioを適用しない） - ただし吹き出しは除外 */
#sub-topics-article img:not(.speech-icon-image):not(.speech-icon img) {
    max-width: 100%;
    height: auto;
}

/* sectionページ 共通
---------------------------------------- */
/* header */
.wrapper {
    max-width: 1520px;
    margin: auto;
    padding: 0 4%;
}
.sec-header-wrapper {
    margin-bottom: 45px;
}
.sec-header {
    position: relative;
    height: auto;
}
.sec-header img {
    width: 100%;
    min-height: 120px;
    object-fit: cover;
}
.sec-header-ttl-wrapper {
    max-width: 1520px;
    margin: auto;
    padding: 0 5%;
}
.sec-header-ttl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1.3;
    font-size: 1.25rem;
    font-weight: 500;
    color: #FFF;
}
.sec-header-ttl span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #FFBE3E;
}

/* crumbs list */
.crumbs {
    margin: auto;
    padding: 0 5%;
    max-width: 1520px;
    display: flex;
    justify-content: left;
}
.crumbs ol {
    margin: 20px 0 0;
    padding: 0!important;
    display: flex;
    white-space: nowrap;
    flex-wrap:wrap;
    justify-content: left;
    font-size: 0.687rem;
}
.crumbs ol li {
    list-style: none;
    font-weight: 500;
    /* padding-right: 60px; */
    overflow-x: scroll;
    /* IE, Edge 対応 */
    -ms-overflow-style: none;
    /* Firefox 対応 */
    scrollbar-width: none;
    }
    /* Chrome, Safari 対応 */
    .crumbs ol li::-webkit-scrollbar {
    display:none;
    white-space: nowrap;
    color: #A7A7A7;
}
.crumbs ol li:not(:last-child) {
    position: relative;
    padding-right: 30px;
    margin-right: 10px;
}
.crumbs ol li:not(:last-child) ::after {
    content: '';
    position: absolute;
    top: 3px;
    bottom: 0;
    right: 8px;
    width: 6px;
    height: 6px;
    margin: auto;
    border-top: 1px solid #272727;
    border-right: 1px solid #272727;
    transform: rotate(45deg);
    box-sizing: border-box;
    transition: .3s;
}
.crumbs ol li a {
    cursor: pointer;
    transition: .4s;
}
.crumbs ol li a:hover {
    opacity: 0.6;
}

/* plan一覧ページ
---------------------------------------- */
#sub-plan {
    max-width: 1520px;
    margin: auto;
    padding: 0 4%;
}
.sub-plan-content {
    width: 100%;
    margin-bottom: 60px;
}
.sub-plan-content a {
    display: block;
}
.sub-plan-content img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    transition: .3s;
    display: block;
    background-color: #f5f5f5; /* 画像がない場合の背景色 */
}
.sub-plan-content img:hover {
    opacity: 0.8;
}
.sub-plan-ttl-content {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}
.sub-plan-ttl-content:hover {
    opacity: 0.8;
}
.sub-plan-ttl {
    position: relative;
    padding-left: 15px;
}
.sub-plan-ttl::before {
    position: absolute;
    content: "";
    top: 4px;
    left: 0;
    border: 2px solid #CDB8B8;
    width: 1px;
    height: 39px;
}
.sub-plan-btn {
    width: 30%;
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
    background-color: #8B7777;
    font-size: 0.875rem;
    font-weight: 400;
    color: #FFF;
}
.sub-plan-btn {
    color: #FFF;
}

/* ページャー */
.navigation {
    text-align: center;
}

.page-numbers {
    padding: 0px 10px 5px 10px;
    font-size: 0.875rem;
    margin-left: 10px;
    color: #333;
}

.page-numbers:not(.dots) {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.page-numbers:not(.current):not(.dots) {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 1;
}
.page-numbers:not(.current):not(.dots):hover {
    opacity: 0.5;
}
.current {
    border-bottom: 3px solid #FFBE3E;
}

/* plan詳細ページ
---------------------------------------- */
#sub-plan-descri {
    max-width: 1520px;
    margin: auto;
    margin-bottom: 60px;
    padding: 0 4%;
    flex-direction: row-reverse!important;
}
.sub-plan-stock-btn button {
    display: inline-block;
    padding: 20px 60px;
    font-size: 1rem;
    border: 1px solid #272727;
    transition: .3s;
}
.sub-plan-stock-btn button:hover {
    background-color: #272727;
    color: #FFF;
}
.sub-plan-descri-product {
    margin-bottom: 30px;
    font-size: 1.125rem;
}
.sub-plan-stock-btn {
    margin-top: 30px;
    margin-bottom: 60px;
}
.sub-plan-descri-text {
    margin-bottom: 30px;
}
.sub-plan-descri-btn {
    text-align: center;
}
.sub-plan-descri-btn a {
    display: inline-block;
    padding: 20px 60px;
    background-color: #8B7777;
    color: #FFF;
    font-size: 1rem;
    transition: .3s;
}

.sub-plan-stock-btn {
    margin-top: 30px;
    margin-bottom: 60px;
}

/* ボタンがない場合の余白調整 */
.sub-plan-descri-text {
    margin-bottom: 30px;
}

/* slick - プラン詳細ページ専用 */
#sub-plan-descri .slick-slide img {
    width: 100%;
    aspect-ratio: 6 / 7;
    margin-bottom: 10px;
    object-fit: cover;
}

#sub-plan-descri .slick-thumbnail img {
    width: 100%;
    height: 100%;
    max-height: 40vw;
    margin-bottom: 0;
    object-fit: cover;
}

.slick-prev, .slick-next {
    display: none!important;
}

/* プラン詳細ページのSlick基本設定 */
#sub-plan-descri .slick-slider {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

#sub-plan-descri .slick-slider__main {
    width: 100%;
    margin-bottom: 10px;
}

#sub-plan-descri .slick-slider__thumbnails {
    width: 100%;
}

#sub-plan-descri .slick-slider .slick-slide {
    width: 100% !important;
    height: auto;
}

#sub-plan-descri .slick-slider .slick-list {
    width: 100%;
    overflow: hidden;
}

#sub-plan-descri .slick-slider .slick-track {
    display: flex;
    width: 100%;
}

/* スマホ対応 */
@media screen and (max-width: 960px) {
    #sub-plan-descri {
        flex-direction: column;
        padding: 0 4%;
    }
    
    #sub-plan-descri .slick-slider {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 30px;
    }
    
    .sub-plan-descri-ttl {
        width: 100%;
    }
    
    #sub-plan-descri .slick-slide img {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}

/* slick - プラン詳細ページ専用 */
/* 矢印を常に表示（PC・スマホ共通） */
#sub-plan-descri .slick-prev, 
#sub-plan-descri .slick-next {
    display: block !important;
    width: 50px;
    height: 50px;
    z-index: 10;
}

#sub-plan-descri .slick-prev {
    left: 10px;
}

#sub-plan-descri .slick-next {
    right: 10px;
}

#sub-plan-descri .slick-prev:before,
#sub-plan-descri .slick-next:before {
    font-size: 40px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: .3s;
}

#sub-plan-descri .slick-prev:hover:before,
#sub-plan-descri .slick-next:hover:before {
    color: #8B7777;
}
.slick-prev:before, .slick-next:before {
    -webkit-font-smoothing: initial;
}

/* スマホ用に矢印サイズ調整 */
@media screen and (max-width: 960px) {
    #sub-plan-descri .slick-prev, 
    #sub-plan-descri .slick-next {
        width: 40px;
        height: 40px;
    }
    
    #sub-plan-descri .slick-prev {
        left: 5px;
    }
    
    #sub-plan-descri .slick-next {
        right: 5px;
    }
    
    #sub-plan-descri .slick-prev:before,
    #sub-plan-descri .slick-next:before {
        font-size: 30px;
    }
}

/* プラン詳細ページのSlick基本設定 */
#sub-plan-descri .slick-slider {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

#sub-plan-descri .slick-slider__main {
    width: 100%;
    margin-bottom: 10px;
}

#sub-plan-descri .slick-slider__thumbnails {
    width: 100%;
}
#sub-plan-descri .slick-slider__thumbnails {
    width: 100%;
    object-fit: cover;
}

#sub-plan-descri .slick-slider .slick-slide {
    width: 100% !important;
    height: auto;
}

#sub-plan-descri .slick-slider .slick-list {
    width: 100%;
    overflow: hidden;
}

#sub-plan-descri .slick-slider .slick-track {
    display: flex;
    width: 100%;
}

/* スマホ対応 */
@media screen and (max-width: 960px) {
    #sub-plan-descri {
        flex-direction: column;
        padding: 0 2%;
    }
    
    #sub-plan-descri .slick-slider {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 10px;
    }
    
    .sub-plan-descri-ttl {
        width: 100%;
        padding: 0 4%;
    }
    .sub-plan-descri-product p {
        font-size: 1.0625rem;
    }
    #sub-plan-descri .slick-slide img {
        width: 100%;
        aspect-ratio: 1 / 1;
        border: 1px solid #DEDEDE;
    }
}

/* ご利用ガイドページ
---------------------------------------- */
#guide {
    max-width: 1000px;
    margin: auto;
    padding: 0 4%;
}
#guide .sub-sec-ttl {
    position: relative;
}
#guide .sub-sec-ttl p {
    width: max-content;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -180%);
    background: linear-gradient(transparent 55%, rgba(209, 192, 192, 0.4) 35%);
}
.guide-content-reservation {
    margin-bottom: 120px;
}

/* video */
.guide-video {
    width: 100%;
    aspect-ratio: 1 / 0;
}
.guide-video video {
    width: 100%;
    height: 100%;
}

/* 動画のサムネイル表示 */
.guide-video video {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.guide-video video {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* iOS・Android対応 */
video {
    object-fit: contain;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .guide-video video {
        width: 100%;
        border-radius: 0;
    }
}

/* 動画コントロールの表示確保 */
video::-webkit-media-controls-panel {
    display: flex !important;
}

video::-webkit-media-controls-start-playback-button {
    display: block !important;
}

/* ご利用ガイドテキスト */
.guide-video video {
    margin-bottom: 30px;
}

.guide-text-content-img {
    width: 100%;
    max-width: 800px;
    margin-right: 20px;
    text-align: center;
}
.guide-text-content-img img {
    margin-bottom: 15px;
    border: 1px solid #A7A7A7;
}
.guide-text-content-article {
    margin-bottom: 60px;
}
.guide-content-heading {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0F0E0D;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D1C0C0;
    width: 100%;
    flex-basis: 100%;
    order: 1;
}

.guide-text-content {
    margin-bottom: 20px;
}

/* QAページ
---------------------------------------- */
#qa {
    max-width: 1000px;
    margin: auto;
}

/* カテゴリセクション */
.qa-category-section {
    margin-bottom: 60px;
}

.qa-category-section:last-child {
    margin-bottom: 90px;
}

/* カテゴリタイトル */
.qa-category-title {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 20px;
    margin: 0 4% 20px;
    background-color: #8B7777;
    color: #FFF;
    border-left: 5px solid #6B5757;
}

/* アコーディオンメニュー全体のサイズ・位置 */
.ac {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 0;
    padding: 0 4%;
}
/* クリック領域 */
.ac-parent {
    margin-bottom: 10px;
    padding-left: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D1D1D1;
    color: #272727;
    cursor: pointer;
}
.ac-parent .qa-q {
    display: inline-block;
    width: 10%;
    margin-right: 10px;
    color: #D1C0C0;
    font-size: 1.25rem;
}
.ac-parent .q-ttl {
    display: inline-block;
    width: 76%;
}
.ac-child {
    width: 100%;
    display: block;
    display: flex;
    padding: 20px;
    align-items: center;
}
.ac-parent > div,
.ac-child > div {
    display: flex;
    align-items: center;
    width: 100%;
}
.ac-child .qa-a {
    width: 10%;
    margin-right: 10px;
    color: #D1C0C0;
    font-size: 1.25rem; 
}
.ac-child .a-ttl {
    width: 100%;
    padding: 10px 0;
    font-size: 0.875rem;
}

/* クリックしたら表示される領域 */
.ac-child {
    display: none;
    margin-bottom: 10px;
    background-color: #F8F8F8;
}
.ac-parent {
    position: relative;
    border-bottom: 1px solid #D1D1D1;
    line-height: 1.4;
    cursor: pointer;
    font-size: 0.875rem;
}
/* プラスの横線 */
.ac-parent:before {
    content: "";
    position: absolute;
    top: 45%;
    right: 9px;
    width: 15px;
    height: 1px;
    background: #D1C0C0;
    transform: translateY(-50%);
}
/* プラスの縦線 */
.ac-parent:after {
    content: "";
    position: absolute;
    top: 45%;
    right: 16px;
    width: 1px;
    height: 16px;
    background: #D1C0C0;
    transform: translateY(-50%);
    transition: .3s;
}
/* オープン時にopenクラスを付与（縦線を回転させて非表示に） */
.ac-parent.open:after {
    top: 25%;
    opacity: 0;
    transform: rotate(90deg);
}

/* タブレット・PC対応 */
@media screen and (min-width: 768px) {
    .qa-category-section {
        margin-bottom: 80px;
    }
    
    .qa-category-title {
        font-size: 1.5rem;
        padding: 15px 25px;
    }
}

@media screen and (min-width: 961px) {
    .qa-category-section {
        margin-bottom: 100px;
    }
    
    .ac-parent {
        font-size: 1rem;
    }
    .ac-child .a-ttl {
        font-size: 1rem;
    }
}

/* topics（blog）アーカイブページ
---------------------------------------- */
#sub-topics {
    max-width: 1520px;
    margin: auto;
    padding: 0 4%;
}
.sub-topics-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.sub-topics-content {
    display: inline-block;
    width: 100%;
    margin-bottom: 50px;
}
.sub-topics-content img {
    width: 100%;
    height: auto;
    aspect-ratio: 11 / 9;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
    transition: .3s;
    display: block;
    background-color: #f5f5f5;
}
.sub-topics-container img:hover {
    opacity: 0.8;
}
.sub-topics-ttl-content {
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}
.sub-topics-category {
    display: inline-block;
    margin-top: 10px;
    margin-left: 0;
    color: #272727;
    background-color: #F2F2F2;
    padding: 4px 13px;
    border-radius: 50px;
    font-size: 0.75rem;
}
/* ページャー */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0;
}

.page-numbers {
    display: inline-block;
    padding: 13px 18px;
    min-width: 48px;
    line-height: 1.4;
    font-size: 0.875rem;
    font-weight: normal;
    color: #FFF;
    background-color: #8B7777;
    border: none;
    border-radius: 0;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    opacity: 0.8;
    color: #FFF;
}

.page-numbers.current {
    background-color: #6B5757;
    color: #FFF;
    cursor: default;
}

.page-numbers.dots {
    background-color: transparent;
    color: #333;
    padding: 10px;
}

.page-numbers.dots:hover {
    opacity: 1;
    background-color: transparent;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 13px 5px;
    min-width: auto;
    width: 100px;
    background-color: transparent;
    color: #0F0E0D;
    font-weight: normal;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    opacity: 0.6;
    color: #0F0E0D;
}

.page-numbers.prev::before {
    content: '← ';
}

.page-numbers.next::after {
    content: ' →';
}

/* topics（blog）記事ページ
---------------------------------------- */
#sub-topics-article {
    max-width: 1000px;
    margin: auto;
    margin-bottom: 60px;
    padding: 0 4%;
    font-size: 1rem;
}
.article-content p {
    font-size: 0.875rem;
}
.sub-topics-article-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    display: block;
}
.sub-topics-article-ttl-content {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #D7D7D7;
    font-size: 0.875rem;
}
.sub-topics-btn {
    text-align: center;
}
.sub-topics-btn a {
    display: inline-block;
    padding: 20px 60px;
    background-color: #8B7777;
    color: #FFF;
    font-size: 1rem;
    transition: .3s;
}
.sub-topics-btn a:hover {
    opacity: 0.8;
}


/* ブログ記事のサムネイル */
.post-thumbnail {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 店舗情報ページ
---------------------------------------- */
/* 見出しタイトル 共通 */
.sub-sec-ttl {
    text-align: center;
    margin-bottom: 30px;
}
.sub-sec-ttl .sec-ttl {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sub-sec-ttl .sec-ttl::before,
.sub-sec-ttl .sec-ttl::after {
    content: "";
    height: 2px;
    flex-grow: 1;
    background-color: #D1C0C0;
}
.sub-sec-ttl .sec-ttl::before {
    margin-right: 40px;
}
.sub-sec-ttl .sec-ttl::after {
    margin-left: 40px;
}

/* 会社概要 */
#company .access-container {
    margin-bottom: 100px;
    padding: 0;
}
#company .access-container dl div:last-child {
    margin-bottom: 0;
}

/* 店舗までの行き方 */
.company-guide {
    margin-bottom: 100px;
}
#company .access-container {
    border: none;
}
#company .access-content {
    margin-top: 0;
}
.access-link a {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-right: 30px;
    text-align: right;
    font-size: 1rem;
}
.access-link a:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -25px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 1px solid #272727;
    border-right: 1px solid #272727;
    transform: rotate(45deg);
    box-sizing: border-box;
    transition: .3s;
}
.access-link a:hover:after {
    opacity: 0.7;
}
.access-wrapper {
    margin-top: 30px;
}
.access-wrapper h3 {
    display: inline-block;
    width: 200px;
    margin: auto;
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
    background-color: #8B7777;
    font-size: 1rem;
    font-weight: 400;
    color: #FFF;
}
.access-train {
    width: 100%;
    position: relative;
    margin-bottom: 80px;
}
.access-train:after {
    position: absolute;
    content: "";
    display: block;
    width: 200px;
    height: 1.5px;
    background-color: #D1C0C0;
    bottom: -40px;
    left: 0;
}
.access-car {
    width: 100%;
}
.access-wrapper ul li {
    font-size: 1rem;
}
.access-train p {
    font-size: 0.875rem;
}

/* Our Vision */
#vision {
    margin-top: 100px;
    margin-bottom: 100px;
}

.vision-img-container {
    position: relative;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
}

.vision-img-container img {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: 25%;
}

.vision-img-container .vision-text h3 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.vision-img-container .vision-text p {
    font-size: 0.875rem;
    line-height: 1.7;
    font-weight: 500;
}

/* タブレット以上 */
@media screen and (min-width: 768px) {
    .vision-img-container {
        min-height: 500px;
    }
    
    .vision-img-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 730px;
        object-fit: cover;
        object-position: 43%;
    }
    
    .vision-img-container .vision-text {
        position: relative;
        width: 540px;
        margin-left: auto;
        margin-right: 0%;
        margin-top: 0;
        padding: 26px 20px;
        background-color: none;
        color: #FFF;
        z-index: 1;
    }
    
    .vision-img-container .vision-text h3 {
        font-size: 1.25rem;
    }
    
    .vision-img-container .vision-text p {
        font-size: 0.9375rem;
    }
}

/* PC */
@media screen and (min-width: 961px) {
    .vision-img-container {
        min-height: 640px;
    }
    
    .vision-img-container img {
        min-height: 640px;
        object-position: 20% center;
    }
    
    .vision-img-container .vision-text {
        width: 534px;
    }
    
    .vision-img-container .vision-text h3 {
        font-size: 1.375rem;
    }
    
    .vision-img-container .vision-text p {
        font-size: 0.875rem;
    }










/* 施工事例 詳細ページ
---------------------------------------- */
.works-descri-wrapper {
    max-width: 960px;
    margin: auto;
    padding: 0 5%;
}
.works-descri-wrapper h3 {
    margin-bottom: 20px;
    padding-left: 28px;
    border-left: 3px solid #FFBE3E;
    font-size: 0.875rem;
}
.slide img{
    width:100%;
}
.slide-box ul{
    padding-left:0;
}
.slide-box {
    position: relative;
    margin: 0;
    padding: 0;
}
  
/* slide */
.slide {
    position: relative;
    margin: 0;
    padding: 0;
}
.slide .item {
    position: relative;
    height: 100%;
}
.slide .item a {
    display: block;
}
.thumbnail{
    line-height: 0;
    position: relative;
    margin-top: 1%;
    padding: 0;
}
.thumbnail .thumbnail-img {
    position: relative;
    cursor: pointer;
}
.thumbnail .image {
    position: relative;
    overflow: hidden;
    width: 95%;
    height: 100%;
    margin: 0;
    padding: 0;
}
.thumbnail .image::before {
    display: block;
    padding-top: 60%;
    content: "";
}
.thumbnail .image::after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0.5;
    background: #000;
}
.thumbnail .slick-current .image::after {
    opacity: 0;
}
.thumbnail .image {
    position: relative;
    overflow: hidden;
}
.thumbnail .image img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 100%;
}
.thumbnail {
    margin-top: 1%;
}

.works-comment-ttl,
.works-detail-ttl {
    margin-top: 20px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid #FFBE3E;
    line-height: 1.5;
}
.works-detail-list {
    max-width: 400px;
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.works-detail-list dt {
    width: calc(40% - 0px);
    padding: 10px;
    border-bottom: 1px solid #F2F2F2;
}
.works-detail-list dd {
    width: calc(60% - 0px);
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #F2F2F2;
}
.works-detail-list dt:first-of-type,
.works-detail-list dd:first-of-type {
    padding-top: 0;
}


/* -----------------------------
	タブレット 760px〜
-------------------------------- */
@media screen and (min-width: 760px){
    .crumbs {
        margin: auto;
        padding: 0 8%;
    }

    /* ご利用ガイドページ
    ---------------------------------------- */
    .guide-text-content {
        display: flex;
        justify-content: space-between;
        gap: 3%;
        max-width: 800px;
        margin: auto;
        margin-bottom: 20px;
    }
    .guide-text-content-img {
        width: 55%;
        max-width: 800px;
        margin-right: 20px;
        text-align: center;
    }
    .guide-text-content-article {
        width: 50%; 
    }
    .guide-text-content-img img {
        margin-bottom: 0;
    }

    /* topics（blog）ページ
    ---------------------------------------- */
    #sub-topics {
        padding: 0 8%;
    }
    .sub-topics-artice-content img {
        max-width: 100%;
        height: auto;
    }

    /* topics（blog）記事ページ
    ---------------------------------------- */
    #sub-topics-article {
        padding: 0 8%;
    }

    /* 店舗情報ページ
    ---------------------------------------- */
    #company .access-container {
        margin-bottom: 100px;
    }
    .access-wrapper {
        max-width: 1000px;
        margin: auto;
        margin-top: 60px;
        display: flex;
        justify-content: center;
    }
    .access-train {
        width: 100%;
        padding-bottom: 0;
        border-bottom: none;
        border-right: 1px solid #D1C0C0;
    }
    .access-car {
        width: 100%;
    }
    .access-train:after {
        display: none;
    }
    
    
    







    /* 施工事例 アーカイブページ
    ---------------------------------------- */
    /* works */
    .works-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2%;
    }
    .works-content {
        max-width: 565px;
        width: 32%;
        padding-top: 25%;
    }
    .works-content h3 {
        transform: translateY(10px);
        right: 0px;
        width: 100%;
        padding: 0px 0px 0px 15px;
        font-size: 0.812rem;
    }
    .works-content-btn {
        bottom: -120px;
    }
    .sec-works-container .works-content {
        margin-bottom: 170px;
    }
    /* works */
    .works-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2%;
    }
    .works-content {
        max-width: 565px;
        width: 32%;
        padding-top: 25%;
    }
    .works-content h3 {
        transform: translateY(10px);
        right: 0px;
        width: 100%;
        padding: 0px 0px 0px 15px;
        font-size: 0.812rem;
    }
    .works-content-btn {
        bottom: -120px;
    }

    /* 会社概要ページ
    ---------------------------------------- */
    /* message */
    .company-message {
        background: url(./image/company-feature-bg-pc.jpg) center center no-repeat;
        background-size: cover;    
    }    
    .company-message-inner {
        max-width: 960px;
        margin: auto;
        padding: 0 5%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .company-message-text {
        width: 45%;
    }
    .company-message-img {
        width: 45%;
    }
    .company-message-img img {
        margin-top: 6px;
        margin-bottom: 55px;
    }

    /* company overview */
    .company-overview-ttl {
        margin-bottom: 35px;
    }
    .company-overview dl div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #F2F2F2;
    }
    .company-overview dl dt,
    .company-overview dl dd {
        border-bottom: none;
    }
    .company-overview dl dt {
        width: 35%;
        margin-left: 5%;
    }
    .company-overview dl dt {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .company-overview dl dd {
        width: 60%;
        margin-top: 20px;
        margin-bottom: 0;
    }
}

/* -----------------------------
	PC 961px〜
-------------------------------- */
@media screen and (min-width: 961px){
    /* sectionページ 共通
    ---------------------------------------- */
    .sec-header-wrapper {
        margin-bottom: 150px;
    }

    /* ご利用ガイドページ
    ---------------------------------------- */
    .guide-content-reservation {
        margin-bottom: 200px;
    }

    /* プラン一覧ページ
    ---------------------------------------- */
    #sub-plan {
        padding: 0 8%;
    }
    .sub-plan-content {
        margin-bottom: 100px;
    }
    .sub-plan-ttl-content {
        margin-top: 20px;
    }
    .sub-plan-content,
    .sub-topics-content {
        width: 46%;
        max-width: 570px;
    }
    .sub-plan-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .sub-plan-ttl::before {
        top: 6px;
        height: 46px;
    }

    /* プラン詳細ページ
    ---------------------------------------- */
    #sub-plan-descri {
        max-width: 1520px;
        padding: 0 8%;
        display: flex;
        gap: 4%;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    #sub-plan-descri .slick-slider {
        width: 55%;
        flex: 1 1 55%;
        max-width: none;
        min-width: 0;
    }

    #sub-plan-descri .slick-slider__main {
        width: 100%;
    }

    #sub-plan-descri .slick-slider__thumbnails {
        width: 100%;
    }

    #sub-plan-descri .slick-slide img {
        aspect-ratio: 6 / 6;
        border: 1px solid #DEDEDE;
    }

    .sub-plan-descri-ttl {
        width: 41%;
        flex: 0 0 41%;
    }

    .sub-plan-descri-product p {
        font-size: 1.5625rem;
    }

    .sub-plan-descri-btn {
        margin-top: -100px;
        margin-bottom: 200px;
    }

    /* プラン詳細ページ */
    #sub-plan-descri {
        max-width: 1520px;
        padding: 0 8%;
        display: flex;
        gap: 12%;
        justify-content: space-between;
        flex-direction: row-reverse!important;
    }
    
    #sub-plan-descri .slick-slider {
        width: 50%;
        flex: 1;
        min-width: 400px;
        aspect-ratio: 10 / 4;
        object-fit: cover;
    }
    
    .sub-plan-descri-ttl {
        width: 45%;
    }
    
    .sub-plan-descri-product p {
        font-size: 1.5625rem;
    }
    .sub-plan-stock-btn {
        margin-bottom: 0;
    }
    .sub-plan-descri-btn {
        margin-top: 0;
        margin-bottom: 200px;
    }

    /* よくある質問ページ
    ---------------------------------------- */
    .ac-parent {
        font-size: 1rem;
    }
    .ac-child .a-ttl {
        font-size: 1rem;
    }

    /* 店舗情報ページ
    ---------------------------------------- */
    #company .access-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 4%;
    }
    .access-wrapper h3 {
        margin: 0 20% 10px;
    }
    .access-train {
        width: 50%;
        padding-bottom: 0;
        border-bottom: none;
        border-right: 1px solid #D1C0C0;
    }
    .access-car {
        width: 50%;
    }

    #vision {
        max-width: 1000px;
        margin: auto;
    }
    .vision-img-container img {
        height: 700px;
        object-position: 20%;
    }

    /* Our Vision */
    #vision {
        margin-top: 100px;
    }
    .vision-img-container {
        width: 100%;
        margin: auto;
    }
    .vision-img-container {
        position: relative;
    }
    .vision-img-container img {
        object-position: 62%;
    }
    .vision-img-container .vision-text h3 {
        margin-bottom: 30px;
        font-size: 1.1875rem;
    }

    .sub-topics-ttl-content {
        font-size: 1rem;
    }
}
/* ========================================
   Cocoon吹き出し機能の画像表示修正
   ======================================== */
   
/* 吹き出しコンテナ */
.speech-wrap {
    display: flex !important;
    align-items: flex-start !important;
    margin: 20px 0 !important;
}

/* 吹き出しアイコン部分 */
.speech-icon {
    flex-shrink: 0 !important;
    width: 80px !important;
    min-width: 80px !important;
    height: 80px !important;
    margin-right: 15px !important;
    overflow: visible !important;
}

/* 右側吹き出しの場合 */
.speech-wrap.sbr .speech-icon,
.speech-wrap.sbrr .speech-icon {
    margin-right: 0 !important;
    margin-left: 15px !important;
}

/* 吹き出しアイコン画像 - すべてのパターンに対応 */
.speech-icon img,
.speech-icon-image,
.speech-wrap img.speech-icon-image,
figure.speech-icon img,
.speech-person img,
div.speech-icon img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* figureタグの処理 */
figure.speech-icon,
.speech-icon figure {
    width: 80px !important;
    height: 80px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* 吹き出し本体 */
.speech-balloon {
    flex: 1 !important;
    min-width: 0 !important;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .speech-icon {
        width: 60px !important;
        min-width: 60px !important;
        height: 60px !important;
        margin-right: 10px !important;
    }
    
    .speech-wrap.sbr .speech-icon,
    .speech-wrap.sbrr .speech-icon {
        margin-right: 0 !important;
        margin-left: 10px !important;
    }
    
    .speech-icon img,
    .speech-icon-image,
    .speech-wrap img.speech-icon-image,
    figure.speech-icon img,
    .speech-person img,
    div.speech-icon img {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
}

/* ========================================
   Cocoon既存スタイルの上書き（吹き出し）
   ======================================== */

/* 吹き出し画像の強制表示 */
.speech-icon,
.speech-icon img,
.speech-icon-image,
.speech-wrap .speech-icon,
.speech-wrap .speech-icon img,
figure.speech-icon,
figure.speech-icon img,
.speech-person,
.speech-person img,
div.speech-icon,
div.speech-icon img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: cover !important;
}

/* 遅延読み込みの完全無効化 */
.speech-icon img[loading],
.speech-icon img[data-src],
.speech-icon img.lazy,
.speech-icon img.lazyload,
.speech-icon img.lazyloading,
.speech-icon img.lazyloaded {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* 画像が読み込まれていない状態を防ぐ */
.speech-icon img[src=""],
.speech-icon img:not([src]) {
    display: none !important;
}

/* 空白の画像を防ぐ */
.speech-icon::before,
.speech-icon::after {
    display: none !important;
}

/* ========================================
   目次スタイル
   ======================================== */

html body .guide-toc,
html body #guide .guide-toc,
html body .wrapper .guide-toc,
html body main #guide .guide-toc,
html body main .wrapper .guide-toc {
    background: #f8f9fa !important;
    border: 2px solid #D1C0C0 !important;
    padding: 30px !important;
    margin: 40px 0 !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body .guide-toc-title,
html body #guide .guide-toc-title,
html body .wrapper .guide-toc-title,
html body main #guide .guide-toc-title,
html body main .wrapper .guide-toc-title {
    font-size: 1.5rem !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #D1C0C0 !important;
    color: #0F0E0D !important;
    display: block !important;
    visibility: visible !important;
}

html body .guide-toc-list,
html body #guide .guide-toc-list,
html body .wrapper .guide-toc-list,
html body main #guide .guide-toc-list,
html body main .wrapper .guide-toc-list {
    list-style: none !important;
    counter-reset: toc-counter !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
}

html body .guide-toc-list li,
html body #guide .guide-toc-list li,
html body .wrapper .guide-toc-list li,
html body main #guide .guide-toc-list li,
html body main .wrapper .guide-toc-list li {
    counter-increment: toc-counter !important;
    margin-bottom: 15px !important;
    position: relative !important;
    padding-left: 35px !important;
    list-style: none !important;
    display: block !important;
    visibility: visible !important;
}

html body .guide-toc-list li::before,
html body #guide .guide-toc-list li::before,
html body .wrapper .guide-toc-list li::before,
html body main #guide .guide-toc-list li::before,
html body main .wrapper .guide-toc-list li::before {
    content: counter(toc-counter) !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    background: #D1C0C0 !important;
    color: white !important;
    width: 25px !important;
    height: 25px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
}

html body .guide-toc-list li a,
html body #guide .guide-toc-list li a,
html body .wrapper .guide-toc-list li a,
html body main #guide .guide-toc-list li a,
html body main .wrapper .guide-toc-list li a {
    color: #0F0E0D !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    display: block !important;
    transition: color 0.3s ease !important;
    visibility: visible !important;
}

html body .guide-toc-list li a:hover,
html body #guide .guide-toc-list li a:hover,
html body .wrapper .guide-toc-list li a:hover,
html body main #guide .guide-toc-list li a:hover,
html body main .wrapper .guide-toc-list li a:hover {
    color: #D1C0C0 !important;
    text-decoration: underline !important;
}

/* ========================================
   ガイドコンテンツ 2カラムレイアウト
   ======================================== */

.guide-text-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    padding-top: 20px;
    scroll-margin-top: 100px;
    align-items: flex-start; /* 上揃え */
}

/* 見出しスタイル */
.guide-content-heading {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0F0E0D;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #D1C0C0;
    width: 100%;
    flex-basis: 100%; /* 横幅いっぱいに強制 */
    order: 1; /* デスクトップでも最初に表示 */
}

/* 画像カラム（デスクトップで左側） */
.guide-text-content-img {
    flex: 0 0 40%;
    max-width: 40%;
    order: 2; /* デスクトップで2番目 */
}

.guide-text-content-img img {
    width: 100%;
    height: auto;
    border: 1px solid #A7A7A7;
}

/* テキストコンテンツ（デスクトップで右側） */
.guide-text-content-article {
    flex: 1;
    min-width: 0;
    line-height: 1.8;
    color: #0F0E0D;
    order: 3; /* デスクトップで3番目 */
}

.guide-text-content-article p {
    margin-bottom: 1em;
}

.guide-text-content-article h2,
.guide-text-content-article h3,
.guide-text-content-article h4 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: bold;
}

.guide-text-content-article ul,
.guide-text-content-article ol {
    margin: 1em 0;
    padding-left: 2em;
}

.guide-text-content-article li {
    margin-bottom: 0.5em;
}

/* 画像がない場合（テキストのみ） */
.guide-text-content:not(:has(.guide-text-content-img)) .guide-text-content-text {
    max-width: 100%;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

@media (max-width: 1024px) {
    .guide-text-content {
        gap: 25px;
    }
    
    .guide-text-content-img {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

/* 961px以下でも目次を表示 */
@media (max-width: 961px) {
    html body .guide-toc,
    html body #guide .guide-toc,
    html body .wrapper .guide-toc,
    html body main #guide .guide-toc,
    html body main .wrapper .guide-toc {
        display: block !important;
        visibility: visible !important;
        background: #f8f9fa !important;
        border: 2px solid #e9ecef !important;
        padding: 25px !important;
        margin: 35px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
    }
    
    html body .guide-toc-title,
    html body #guide .guide-toc-title,
    html body .wrapper .guide-toc-title,
    html body main #guide .guide-toc-title,
    html body main .wrapper .guide-toc-title {
        font-size: 1.4rem !important;
        margin-bottom: 18px !important;
        padding-bottom: 12px !important;
        border-bottom: 2px solid #D1C0C0 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    html body .guide-toc-list,
    html body #guide .guide-toc-list,
    html body .wrapper .guide-toc-list,
    html body main #guide .guide-toc-list,
    html body main .wrapper .guide-toc-list {
        display: block !important;
        visibility: visible !important;
    }
    
    html body .guide-toc-list li,
    html body #guide .guide-toc-list li,
    html body .wrapper .guide-toc-list li,
    html body main #guide .guide-toc-list li,
    html body main .wrapper .guide-toc-list li {
        display: block !important;
        visibility: visible !important;
        margin-bottom: 14px !important;
        padding-left: 32px !important;
    }
    
    html body .guide-toc-list li::before,
    html body #guide .guide-toc-list li::before,
    html body .wrapper .guide-toc-list li::before,
    html body main #guide .guide-toc-list li::before,
    html body main .wrapper .guide-toc-list li::before {
        display: inline-flex !important;
        visibility: visible !important;
        background: #D1C0C0 !important;
        color: white !important;
        width: 25px !important;
        height: 25px !important;
        font-size: 0.875rem !important;
    }
    
    html body .guide-toc-list li a,
    html body #guide .guide-toc-list li a,
    html body .wrapper .guide-toc-list li a,
    html body main #guide .guide-toc-list li a,
    html body main .wrapper .guide-toc-list li a {
        display: block !important;
        visibility: visible !important;
        font-size: 0.98rem !important;
    }
}

@media (max-width: 768px) {
    html body .guide-toc,
    html body #guide .guide-toc,
    html body .wrapper .guide-toc,
    html body main #guide .guide-toc,
    html body main .wrapper .guide-toc {
        display: block !important;
        visibility: visible !important;
        background: #f8f9fa !important;
        border: 2px solid #e9ecef !important;
        border-radius: 8px !important;
        padding: 20px !important;
        margin: 30px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
    }
    
    html body .guide-toc-title,
    html body #guide .guide-toc-title,
    html body .wrapper .guide-toc-title,
    html body main #guide .guide-toc-title,
    html body main .wrapper .guide-toc-title {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        border-bottom: 2px solid #D1C0C0 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    html body .guide-toc-list,
    html body #guide .guide-toc-list,
    html body .wrapper .guide-toc-list,
    html body main #guide .guide-toc-list,
    html body main .wrapper .guide-toc-list {
        display: block !important;
        visibility: visible !important;
    }
    
    html body .guide-toc-list li,
    html body #guide .guide-toc-list li,
    html body .wrapper .guide-toc-list li,
    html body main #guide .guide-toc-list li,
    html body main .wrapper .guide-toc-list li {
        display: block !important;
        visibility: visible !important;
        margin-bottom: 12px !important;
        padding-left: 30px !important;
    }
    
    html body .guide-toc-list li::before,
    html body #guide .guide-toc-list li::before,
    html body .wrapper .guide-toc-list li::before,
    html body main #guide .guide-toc-list li::before,
    html body main .wrapper .guide-toc-list li::before {
        display: inline-flex !important;
        visibility: visible !important;
        background: #D1C0C0 !important;
        color: white !important;
        width: 22px !important;
        height: 22px !important;
        font-size: 0.85rem !important;
    }
    
    html body .guide-toc-list li a,
    html body #guide .guide-toc-list li a,
    html body .wrapper .guide-toc-list li a,
    html body main #guide .guide-toc-list li a,
    html body main .wrapper .guide-toc-list li a {
        display: block !important;
        visibility: visible !important;
        font-size: 0.95rem !important;
    }
    
    /* 縦並び（1カラム）に変更 */
    .guide-text-content {
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 40px !important;
        scroll-margin-top: 80px !important;
        display: flex !important;
    }
    
    /* 見出し - 最初に表示 */
    .guide-content-heading {
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        width: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
        box-sizing: border-box !important;
    }
    
    /* 画像 - 2番目に表示 */
    .guide-text-content-img {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        order: 2 !important;
    }
    
    /* テキスト - 3番目に表示 */
    .guide-text-content-article {
        flex: 1 !important;
        width: 100% !important;
        font-size: 0.95rem !important;
        order: 3 !important;
    }
}

@media (max-width: 480px) {
    html body .guide-toc,
    html body #guide .guide-toc,
    html body .wrapper .guide-toc,
    html body main #guide .guide-toc,
    html body main .wrapper .guide-toc {
        background: #f8f9fa !important;
        border: 2px solid #e9ecef !important;
        border-radius: 8px !important;
        padding: 15px !important;
        margin: 20px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    html body .guide-toc-title,
    html body #guide .guide-toc-title,
    html body .wrapper .guide-toc-title,
    html body main #guide .guide-toc-title,
    html body main .wrapper .guide-toc-title {
        font-size: 1.2rem !important;
        border-bottom: 2px solid #D1C0C0 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    html body .guide-toc-list,
    html body #guide .guide-toc-list,
    html body .wrapper .guide-toc-list,
    html body main #guide .guide-toc-list,
    html body main .wrapper .guide-toc-list {
        display: block !important;
        visibility: visible !important;
    }
    
    html body .guide-toc-list li,
    html body #guide .guide-toc-list li,
    html body .wrapper .guide-toc-list li,
    html body main #guide .guide-toc-list li,
    html body main .wrapper .guide-toc-list li {
        padding-left: 28px !important;
        margin-bottom: 10px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    html body .guide-toc-list li::before,
    html body #guide .guide-toc-list li::before,
    html body .wrapper .guide-toc-list li::before,
    html body main #guide .guide-toc-list li::before,
    html body main .wrapper .guide-toc-list li::before {
        background: #D1C0C0 !important;
        color: white !important;
        width: 20px !important;
        height: 20px !important;
        font-size: 0.8rem !important;
        display: inline-flex !important;
        visibility: visible !important;
    }
    
    html body .guide-toc-list li a,
    html body #guide .guide-toc-list li a,
    html body .wrapper .guide-toc-list li a,
    html body main #guide .guide-toc-list li a,
    html body main .wrapper .guide-toc-list li a {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .guide-content-heading {
        font-size: 1.3rem !important;
        width: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
        box-sizing: border-box !important;
    }
    
    .guide-text-content {
        flex-direction: column !important;
        gap: 15px !important;
        display: flex !important;
    }
    
    .guide-text-content-img {
        width: 100% !important;
        order: 2 !important;
    }
    
    .guide-text-content-article {
        width: 100% !important;
        order: 3 !important;
    }
}}

/* ========================================
   目次の番号を強制表示 - 最優先ルール
   ======================================== */
   
html body .guide-toc-list li::before,
html body #guide .guide-toc-list li::before,
html body .wrapper .guide-toc-list li::before,
html body main .guide-toc-list li::before,
html body main #guide .guide-toc-list li::before,
html body main .wrapper .guide-toc-list li::before {
    content: counter(toc-counter) !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    background-color: #D1C0C0 !important;
    background: #D1C0C0!important;
    color: #fff !important;
    color: white !important;
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1 !important;
}

/* スマホ対応 - 番号を確実に表示 */
@media (max-width: 768px) {
    html body .guide-toc-list li::before,
    html body #guide .guide-toc-list li::before,
    html body .wrapper .guide-toc-list li::before,
    html body main .guide-toc-list li::before,
    html body main #guide .guide-toc-list li::before,
    html body main .wrapper .guide-toc-list li::before {
        width: 25px !important;
        height: 25px !important;
        min-width: 25px !important;
        min-height: 25px !important;
        font-size: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    html body .guide-toc-list li::before,
    html body #guide .guide-toc-list li::before,
    html body .wrapper .guide-toc-list li::before,
    html body main .guide-toc-list li::before,
    html body main #guide .guide-toc-list li::before,
    html body main .wrapper .guide-toc-list li::before {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        font-size: 0.875rem !important;
    }
}
/* ========================================
   YouTube埋め込み動画のレスポンシブ対応
   ======================================== */

/* YouTube動画コンテナ */
.youtube-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9アスペクト比 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* guide-video内のYouTube対応 */
.guide-video .youtube-container {
    margin: 0 auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .youtube-container {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .youtube-container {
        border-radius: 0;
    }
}
/* ========================================
   在庫ページのスタイル
======================================== */

.stock-page-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.stock-page-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.loading-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

.stock-section {
    background-color: white;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stock-section-title {
    font-size: 28px;
    font-weight: bold;
    color: #8b7e74;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #8b7e74;
}

.stock-category {
    margin-bottom: 50px;
}

.stock-category:last-child {
    margin-bottom: 0;
}

.stock-category-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #8b7e74;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.stock-table thead {
    background-color: #2c3e50;
    color: white;
}

.stock-table th {
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ddd;
    font-size: 16px;
}

.stock-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 15px;
}

.stock-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.stock-table tbody tr:hover {
    background-color: #f0f0f0;
}

/* 在庫状況の色分け */
.status-ok {
    color: #27ae60;
    font-weight: bold;
    font-size: 18px;
}

.status-some {
    color: #f39c12;
    font-weight: bold;
    font-size: 18px;
}

.status-none {
    color: #e74c3c;
    font-weight: bold;
    font-size: 18px;
}

/* 在庫凡例 */
.stock-legend {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.stock-legend h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.stock-legend ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.stock-legend li {
    padding: 10px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.stock-legend li span {
    margin-right: 10px;
    min-width: 30px;
}

.stock-note {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .stock-section {
        padding: 20px;
    }
    
    .stock-section-title {
        font-size: 22px;
    }
    
    .stock-category-title {
        font-size: 18px;
    }
    
    .stock-table {
        font-size: 13px;
    }
    
    .stock-table th,
    .stock-table td {
        padding: 8px 5px;
    }
}

/* ========================================
   在庫ページ（page-stock.php）のスタイル
======================================== */

#stock-page {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.stock-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#stock-page .stock-loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

#stock-page .stock-section {
    background-color: white;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stock-page-title {
    font-size: 28px;
    font-weight: bold;
    color: #8b7e74;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #8b7e74;
}

.stock-page-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    margin-bottom: 40px;
}

.stock-page-table thead {
    background-color: #2c3e50;
    color: white;
}

.stock-page-table th {
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ddd;
    font-size: 16px;
}

.stock-page-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 15px;
}

.stock-page-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.stock-page-table tbody tr:hover {
    background-color: #f0f0f0;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    #stock-page .stock-section {
        padding: 20px;
    }
    
    .stock-page-title {
        font-size: 22px;
    }
    
    .stock-page-table {
        font-size: 13px;
    }
    
    .stock-page-table th,
    .stock-page-table td {
        padding: 8px 5px;
    }
}

/* ========================================
   プラン一覧ページのスタイル
======================================== */

/* カテゴリナビゲーション */
.plan-nav {
    background-color: #f5f5f5;
    padding: 30px 0;
    margin-bottom: 40px;
}

.plan-nav-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 0 20px;
}

.plan-nav-btn {
    flex: 1;
    max-width: 300px;
    padding: 20px 40px;
    background-color: #8b7e74;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plan-nav-btn:hover {
    background-color: #6d5f56;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* プランセクション */
.plan-section {
    padding: 60px 0;
    scroll-margin-top: 100px; /* ヘッダー分のマージン */
}

.plan-section:nth-child(even) {
    background-color: #f9f9f9;
}

.plan-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.plan-section-title {
    font-size: 32px;
    font-weight: bold;
    color: #8b7e74;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.plan-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #8b7e74;
}

.sub-plan-container {
    max-width: 1520px;
    margin: auto;
    padding: 0 4%;
    display: block;
}

.no-plans {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .plan-nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .plan-nav-btn {
        max-width: 100%;
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .plan-section {
        padding: 40px 0;
    }
    
    .plan-section-title {
        font-size: 24px;
    }
    
    .sub-plan-container {
        padding: 0 20px;
    }
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* ========================================
   在庫ページ：スマホ対応（モーダルと同じ）
======================================== */

@media screen and (max-width: 768px) {
    /* 在庫ページのテーブル */
    .stock-page-table {
        font-size: 12px;
    }
    
    .stock-page-table th,
    .stock-page-table td {
        padding: 8px 4px;
        font-size: 11px;
    }
    
    /* 身長セルを縮小 */
    .stock-page-table .height-cell {
        font-size: 10px;
        padding: 8px 2px;
    }
    
    /* タイトルを縮小 */
    .stock-page-title {
        font-size: 1.3rem;
        padding: 10px;
    }
    
    .stock-category-title {
        font-size: 1.1rem;
        padding: 8px 10px;
        margin: 20px 0 10px 0;
    }
    
    /* テーブルを横スクロール可能に */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* メンズ喪服テーブル（4列）の幅調整 */
    .stock-page-table thead tr th:nth-child(1) { /* 身長目安 */
        min-width: 60px;
    }
    
    .stock-page-table thead tr th:nth-child(2) { /* 体格目安 */
        min-width: 80px;
    }
    
    .stock-page-table thead tr:nth-child(2) th { /* 在庫状況 */
        min-width: 100px;
    }
}

@media screen and (max-width: 480px) {
    .stock-page-table {
        font-size: 11px;
    }
    
    .stock-page-table th,
    .stock-page-table td {
        padding: 6px 3px;
        font-size: 10px;
    }
    
    .stock-page-table .height-cell {
        font-size: 9px;
        padding: 6px 2px;
    }
    
    .stock-page-title {
        font-size: 1.2rem;
        padding: 8px;
    }
    
    .stock-category-title {
        font-size: 1rem;
        padding: 6px 8px;
    }
}

/* ========================================
   プラン一覧ページのグリッドレイアウト
======================================== */

/* sub-plan-containerにグリッドを適用 */
.sub-plan-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    max-width: 1520px;
    margin: 0 auto;
    padding: 60px 4%;
}

/* プランコンテンツ */
.sub-plan-content {
    width: 100%;
    margin-bottom: 0;
}

/* タブレット対応 */
@media screen and (max-width: 1024px) {
    .sub-plan-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        padding: 40px 4%;
    }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .sub-plan-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 4%;
    }
    
    .sub-plan-content {
        margin-bottom: 0;
    }
}