/*
Theme Name: lightning-child-sample
Template: lightning
Version: 0.6.1
*/

/*============================================================
共通設定・リセット・便利機能
============================================================*/
#spotlight a, #product-lineup a {
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
}
.siteContent { padding: 0 !important; }
.myImage01 img { transition: transform .6s ease; }
.myImage01:hover img { transform: scale(1.1); }
footer .copySection p:nth-child(2) { display: none !important; }
.grecaptcha-badge { visibility: hidden; }
.psml { font-size: 0.8em; }
.siteFooter { background-color: #000000; }

/* ページヘッダーとパンくずリストを両方消す */
body.page:not(.home) .section.page-header,
body.page:not(.home) .section.breadSection {
    display: none !important;
}

/*============================================================
標準ヘッダーの非表示 ＆ ベース設定
============================================================*/
.siteHeader, #site-header, .vk-mobile-nav-menu-btn, .header_scrolled .siteHeader, .vk-mobile-nav,.mobile-search-bar {
    display: none !important;
}

html, body { margin-top: 0 !important; padding-top: 0 !important; }
body { padding-top: 80px !important; }


@media(min-width: 1133px){

    .admin-bar .my-custom-header {
    top: 32px;
}
}


@media(min-width: 601px) and (max-width: 1132px){
    .admin-bar .my-custom-header {
        top: 46px;
    }
}


/*============================================================
ヘッダー
============================================================*/
.my-custom-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #000000;
    z-index: 9999;
    border-bottom: 1px solid #333;
}

.header-container {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 下揃え */
    height: 100%;
    padding-bottom: 12px; /* 底からの浮き具合をここで調整 */
}

/* ロゴエリア */
.header-logo {
    display: flex !important;
    align-items: flex-end !important;
}
.header-logo img {
    height: 40px !important;
    width: auto !important;
    display: block !important;
    padding-bottom: 5px;
}

/* ナビゲーションエリア */
.header-nav {
    display: flex !important;
    align-items: flex-end !important;
}

.header-nav ul.my-gmenu {
    display: flex !important;
    align-items: flex-end !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 30px !important;
    height: auto !important;
}

/* 親メニューの各項目 */
.header-nav ul.my-gmenu > li {
    position: relative;
    margin: 0 !important;
    padding-bottom: 5px; /* マウスを下に動かす時の橋渡し用 */
}

.header-nav ul.my-gmenu > li > a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    letter-spacing: 0.1em !important;
    display: block !important;
    line-height: 1.2 !important;
}

/*============================================================
3. 子メニュー（ドロップダウン）
============================================================*/
.sub-menu {
    position: absolute;
    top: 100%; /* 親メニューの底辺から開始 */
    left: 50%;
    transform: translateX(-50%);
    background: #111 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: none; /* 初期は隠す */
    z-index: 10002;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    flex-direction: column;
    align-items: center;
    width: auto;
    min-width: 200px;
}

/* 親と子の隙間を埋めるクッション */
.sub-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.sub-menu li {
    width: 85% !important;
    border-bottom: 1px solid #333 !important;
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
}

.sub-menu li:last-child {
    border-bottom: none !important;
}

.sub-menu li a {
    display: block !important;
    width: 100% !important;
    padding: 15px 0 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px !important;
    text-align: center !important;
    letter-spacing: 0.1em !important;
    line-height: 1.4 !important;
    transition: transform 0.3s ease !important;
}

.sub-menu li a:hover {
    background: transparent !important;
    transform: scale(1.1); /* 文字を大きくするアニメーション */
}

/* ホバーで表示 */
.header-nav ul.my-gmenu li:hover > .sub-menu {
    display: flex !important;
}

/*============================================================
4. 検索窓（ボトム揃え・赤ボタン）
============================================================*/
.my-search-box {
    margin-left: 20px !important;
    display: flex !important;
    align-items: flex-end !important;
}

.search-form {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    height: 25px !important;
    width: 140px !important;
}

.search-field {
    height: 100% !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    flex: 1 !important;
    padding: 0 10px !important;
    font-size: 0.6em !important;
    color: #333 !important;
}

.search-submit {
    background: #e60012 !important;
    border: none !important;
    height: 100% !important;
    width: 40px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 6px 6px 0 !important;
    padding: 0 !important;
}

.search-svg {
    width: 16px !important;
    height: 16px !important;
    fill: #ffffff !important;
    stroke: #ffffff;      /* 塗りつぶしと同じ色（白）を指定 */
    stroke-width: 1.2px;  /* ここを 1.5px, 2px と上げると太くなります */
    stroke-linejoin: round;
}

/*============================================================
5. 【重要】スマホメニュー・不要ドットの完全除去（PC版）
============================================================*/
/* PC版のナビから不要な装飾（ドットなど）を消す */
.header-nav ul li::before, 
.header-nav ul li::after {
    display: none !important;
    content: none !important;
}

/* 992px以上の（PC）時は、スマホ専用要素を完全に消す */
@media screen and (min-width: 992px) {
    .mobile-controls, 
    .mobile-full-menu, 
    .mobile-gmenu, 
    .mobile-sub-menu {
        display: none !important;
    }
}
/*============================================================
TOP Swiperスライダー設定
============================================================*/
.my-swiper {
    width: 100vw;
    height: 50vh;
    min-height: 400px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-content {
    width: 98%;
    height: 78%;
    max-width: 2000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    object-fit: contain;
}

.swiper-button-next, .swiper-button-prev, .swiper-pagination {
    display: none !important;
}

.swiper-custom-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 100, 100, 0.6); 
    color: #fff;
    width: 160px;
    border-radius: 3px;
    overflow: hidden;
    font-family: sans-serif;
    position: absolute;
    z-index: 100;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}

.custom-prev, .custom-next {
    padding: 4px 10px;
    font-size: 9px;
    cursor: pointer;
    text-transform: lowercase;
    min-width: 40px;
    text-align: center;
    transition: background 0.3s;
}

.custom-fraction {
    flex: 1;
    text-align: center;
    padding: 4px 0;
    font-size: 11px;
    font-weight: bold;
    border-left: 1px solid rgba(255,255,255,0.3);
    border-right: 1px solid rgba(255,255,255,0.3);
    letter-spacing: 1px;
}

/*============================================================
TOP MOVIEセクション
============================================================*/
#movie {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 60px 0;
    background-color: #f5f5f5 !important;
}

#movie .movie-container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 50px !important;
}

#movie .section-title-img {
    display: flex !important;
    justify-content: center !important;
}

#movie .section-title-img img { width: 30%; }

#movie h2.section-title {
    border: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    font-size: 24px;
    font-weight: normal !important;
    color: #333;
    text-align: center;
}

#movie .wp-block-embed__wrapper {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-top: 56.25% !important;
    overflow: hidden !important;
}

#movie .wp-block-embed__wrapper iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
#movie .movie-flex-wrapper{
    display:flex;
    gap:30px;
    margin-top:30px;
}
#movie .movie-col{
    flex:1;
    min-width:0;
}

/*============================================================
TOP CONCEPTセクション
============================================================*/
#concept {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 100px 0 60px;
    background-color: #fff;
}

#concept .concept-container {
    position: relative; 
    width: 95%;
    max-width: 1000px;
    margin: 100px auto; 
    padding: 0 50px;
    text-align: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.6s ease-out, transform 1.6s ease-out;
    margin-bottom: 2.5rem !important;
    line-height: 2.2;
    font-size: clamp(0.8em, 1.6vw, 1em);
    color: #333;
}

.fade-in.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* アイコン弾むアニメーション */
.bounce-img {
    position: absolute !important;
    width: 65px !important;
    height: auto !important;
    opacity: 0;
    transform: translateY(-80px) scale(0.3) !important;
    transition: opacity 0.4s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.5) !important;
}

.bounce-img.is-visible {
    opacity: 0.8 !important;
    transform: translateY(0) scale(1) !important;
}
.img-pos-1 { top: 5%;   left: 8%;   transition-delay: 0.1s !important; 
}
.img-pos-2 { top: 15%;  right: 8%;  transition-delay: 0.25s !important; 
}
.img-pos-3 { top: 45%;  left: 5%;   transition-delay: 0.4s !important; 
}
.img-pos-4 { top: 65%;  right: 3%;  transition-delay: 0.55s !important; 
}
.img-pos-5 { bottom: 1%; left: 1%;  transition-delay: 0.7s !important; 
}


/*============================================================
TOP TOPSPOTLIGHT 
============================================================*/
#spotlight {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 60px 0;
    background-color: #f5f5f5 !important;
}
#spotlight .sp-container {
    width: 95%;
    max-width: 1000px;
    margin: 100px auto; 
    padding: 0 50px;
    text-align: center;
}
.main-content{
    display:flex;
    justify-content: center;
    gap: 20px; 
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 60px;
    align-items: flex-start;
}

.main-content .link-text {
    flex: 1; 
    max-width:calc(33.333% - 14px);
    text-decoration: none;
    background: #fff; 
    box-shadow: 1px 1px 3px rgba(0,0,0,0.16);
}

.card-title span{
    font-size: 0.7em!important;
}


.main-content img {
    width: 100% !important;   
    height: auto !important;  
    display: block;
}

.side-content {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.side-card {
    width: calc(50% - 10px); 
    background: #fff;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.16);
    border-bottom: 2px solid #ccc;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
}

.side-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/ 1; 
    object-fit: cover !important;
    display: block;
}

.card-title {
    display: flex;
    justify-content: center; 
    align-items: center;     
    height: 50px;            
    margin: 0 !important;    
    background-color: #fff;  
}


/*=============================================
TOP INFORMATION セクション
=============================================*/
#top-info {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 60px 0;
    background-color: #fff !important;
}

#top-info .info-container{
    max-width: 1000px !important;
    margin: 100px auto !important;
    padding: 0 50px !important;
    text-align: center;
}

#top-info .info-flex-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 50px; 
    text-align: left; 
    margin-bottom: 40px;
}
.info-featured {
    flex: 0 0 40%; 
    background: #fff;
}
.info-featured a { text-decoration: none; color: inherit; }
.featured-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.featured-body { padding: 20px 20px 0 20px; 
}
.featured-title {
    margin-top: 10px;
    margin-bottom: 0 !important; 
    padding-bottom: 5px !important;
    font-size: 0.9em;
    line-height: 1.4;
    border-bottom: 1px;
}

.info-list-side {
    flex: 1;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    flex: 1;
    width: 100%;
    min-width: 0;
    margin-bottom: 0px!important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #ddd;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item a {
    display: flex;
    align-items: center; 
    gap: 15px; 
    text-decoration: none;
    color: #333;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 15px 0; 
    
}
.info-text {
    flex: 1;
    font-size: 0.9em;
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.info-date {
    font-size: 0.8em;
    color: #666;
    white-space: nowrap;    
}

#top-info .section-title-img {
    display: flex !important;
    justify-content: center !important;
}

#top-info .section-title-img img { 
    width: 80%; 
}

#top-info h2.section-title {
    border: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    font-size: 24px;
    font-weight: normal !important;
    color: #333;
    text-align: center;
}

.info-label {
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    width: 85px !important;      
    height: 24px !important; 
    padding: 0 !important; 
    font-size: 0.9em !important;
    font-weight: bold !important;
    letter-spacing: 0.1em !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    border: 1px solid;
}

.featured-body .info-label {
    margin-right: 10px !important;
}

.info-list-side .info-label {
    margin-right: 10px !important;
}

.label-news { border-color: #E4B449; color: #E4B449; } 
.label-event { border-color: #4CAF50; color: #4CAF50; } 
.label-media { border-color: #2196F3; color: #2196F3; } 
.label-new-product { border-color: #FF5722; color: #FF5722; } 
.label-product-information { border-color: #9C27B0; color: #9C27B0; }
.label-uncategorized { border-color: #999; color: #999; }

.info-more-row {
    border-bottom: none !important; 
    display: flex !important;
    justify-content: flex-end !important; 
    align-items: flex-end !important;    
    padding: 0 !important;
    margin-top: auto !important;
    flex: 1 !important;
    background: transparent !important;
}

.info-more-row a.btn-more {
    display: inline-flex !important;     
    width: auto !important; 
    min-width: 140px; 
    justify-content: center;
    align-items: center;
    padding: 10px 20px !important;
    background: #333 !important;
    color: #fff !important;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
    border-bottom: none !important;
    transition: 0.3s;
    letter-spacing: 0.2em;
}

/*============================================================
TOP product
============================================================*/
#product-lineup {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 60px 0;
    background-color: #f5f5f5 !important;
}

#product-lineup .lineup-container{
    max-width: 1000px !important;
    margin: 100px auto !important;
    padding: 0 50px !important;
    text-align: center;
}
#product-lineup .section-title-img img { 
    width: 50%; 
}
#product-lineup h2.section-title {
    border: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    font-size: 24px;
    font-weight: normal !important;
    color: #333;
    text-align: center;
}

#product-lineup .lineup-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    /* はみ出しを防止し、最小幅を0にする */
    min-width: 0 !important;
    width: 100% !important;
}

#product-lineup .lineup-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: #fff !important;
    aspect-ratio: 1 / 1 !important; /* 正方形 */
    padding: 10px !important;
    text-decoration: none !important;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.16) !important;
    border-bottom: 2px solid #ccc !important;
    
    /* 【重要】カードがグリッドの枠を突き抜けないようにする魔法の3行 */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

/* 画像コンテナの調整 */
#product-lineup .card-img {
    width: 100% !important;
    height: 60% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    overflow: hidden !important; /* はみ出しカット */
}

#product-lineup .card-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* テキストの調整 */
#product-lineup .card-name {
    margin: 0 !important;
    text-align: center !important; /* トップページは中央揃え */
    width: 100% !important;
    overflow: hidden !important;
}

h3.card-name{
    border: none!important;
}

.title-sub {
    display: inline-block;
    color: #888;
    font-weight: normal;
    font-size: 0.5em;
    margin-bottom: 2px;
}

#product-lineup .title-main {
    display: block !important;
    font-size: 0.5em !important;
    font-weight: bold !important;
    color: #000 !important;
    /* 長い名前を省略するか折り返す */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/*============================================================
PLP（商品一覧ページ）
============================================================*/

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

.plp-header-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 60px 0 15px;
}

.plp-inner-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    box-sizing: border-box !important;
}

.plp-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(50px, 8vw, 110px);
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    letter-spacing: 0.05em;
}

.plp-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.plp-main-title-group {
    flex: 0 0 30%;
    min-width: 0 !important;
}

.plp-title-en {
    font-size: 1.6em;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    border: none !important;
    letter-spacing: 0.1em;
}

.plp-title-jp {
    font-size: 0.8em;
    color: #888;
    letter-spacing: 0.15em;
}

.plp-description-group {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex;
    align-items: center !important;
}

.plp-description {
    font-size: 0.95em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0;
    letter-spacing: 0.05em;
}

/*============================================================
PLP タブナビゲーション
============================================================*/
.plp-tabs-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e60012;
    border-top: 1px solid #d00010;
    border-bottom: 1px solid #d00010;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    text-decoration: none;
    color: #fff;
    background-color: #e60012;
    font-size: 0.85em;
    font-weight: bold;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
}

.tab-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.tab-item:hover, .tab-item.active {
    background-color: #fff;
    color: #e60012;
}

/*============================================================
PLP ヒーローエリア
============================================================*/
.plp-hero-view {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
    overflow: hidden !important;
    justify-content: center !important;
    align-items: center !important;
}

.plp-hero-view img {
    width: 75% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    padding:1.3em;
}

/*============================================================
PLP 商品グリッド
============================================================*/
.plp-body-section {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 0 0 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.black-bar {
    background: #000;
    color: #fff !important;
    padding: 15px 25px;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.plp-body-section .lineup-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 5px 80px !important;
    width: 100% !important;
    margin-bottom: 2.5em !important;
}

.plp-body-section .lineup-card {
    background: #fff !important;
    padding: 15px 20px 20px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.05) !important;
    border-bottom: 2px solid #333 !important;
    width: 100% !important;
    transition: transform 0.3s ease !important;
    position: relative !important;
    display: block !important;
}

.plp-body-section .new-badge {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    color: #e60012 !important;
    font-weight: bold !important;
    font-size: 1em !important;
    z-index: 10 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.plp-body-section .lineup-card:hover {
    transform: translateY(-5px) !important;
}

.plp-body-section .card-img {
    width: 100% !important;
    height: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.plp-body-section .card-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.plp-body-section .card-name {
    margin: 0 !important;
    text-align: left !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.plp-body-section .title-main {
    display: block !important;
    font-size: 0.9em !important;
    font-weight: bold !important;
    color: #000 !important;
    line-height: 1.4 !important;
}

.plp-body-section .price-text {
    display: block !important;
    font-size: 0.75em !important;
    color: #333 !important;
}

.plp-body-section .spec-features-tag {
    background: #555 !important;
    color: #fff !important;
    font-size: 0.6em !important;
    padding: 0.5em 0.8em !important;
    border-radius: 2px !important;
    width: fit-content !important;
}

/*============================================================
PLP 動画エリア
============================================================*/
.video-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.video-container iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border: none !important;
}

/*============================================================
PLP R3-PROスライダー
============================================================*/
.plp-r3pro-slider-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    margin-bottom: 30px;
}

.plp-r3pro-swiper {
    width: 100%;
}

.plp-r3pro-swiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
}

.slide-img-pc {
    display: block;
    width: 100%;
    height: auto;%;
    object-fit: unset;
}

.slide-img-sp { display: none; }

.plp-r3pro-swiper .swiper-button-prev,
.plp-r3pro-swiper .swiper-button-next {
    display: flex !important;
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.plp-r3pro-swiper .swiper-button-prev::after,
.plp-r3pro-swiper .swiper-button-next::after {
    font-size: 14px;
}

.plp-r3pro-swiper .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #111;
    padding: 10px 0;
    width: 100% !important;
    margin-top: 10px;
}

.plp-r3pro-swiper .swiper-pagination::before {
    content: "<";
    color: #fff;
    font-size: 13px;
    padding: 0 10px;
}

.plp-r3pro-swiper .swiper-pagination::after {
    content: ">";
    color: #fff;
    font-size: 13px;
    padding: 0 10px;
}

.plp-r3pro-swiper .swiper-pagination-bullet {
    width: 36px !important;
    height: 36px !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: normal !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    cursor: pointer;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.plp-r3pro-swiper .swiper-pagination-bullet-active {
    border: 1px solid #fff !important;
    border-radius: 50% !important;
}


/*============================================================
WooCommerce 商品詳細ページ 
============================================================*/

/* 不要な要素の非表示 */
.single-product .section.breadSection { border-bottom: none !important; }
.single-product .woocommerce-tabs.wc-tabs-wrapper,
.single .entry-summary .product_meta .posted_in,
.boya-section-title { display: none !important; }

/* レイアウト：1カラム（全幅）化 */
.single-product .siteContent .container > .row {
    display: block !important;
}

body.single-product #main.mainSection-col-one,
body.single-product #main.mainSection-col-two,
body.single-product #main article {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    float: none !important;
}

.single-product #main.mainSection-col-one {
    margin-bottom: 30px;
}

.single-product .woocommerce-product-gallery {
    padding: 30px;
    position: relative;
}

/* サムネイル（5枚並び） */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 15px -5px 0;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 20%;
    padding: 5px;
    box-sizing: border-box;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    border: 1px solid #eee;
    cursor: pointer;
    transition: 0.2s;
}

/* 商品情報エリアの装飾 */
.boya-category-label a {
    background: #e60012;
    color: #fff;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    letter-spacing: 0.05em;
}

.boya-part-number { font-weight: bold; margin-top: 15px; color: #333; font-size: 16px; }
.boya-main-title { font-size: 28px !important; font-weight: bold; line-height: 1.3; margin: 5px 0 20px !important; }

/* 特徴タグ */
.boya-feature-labels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.boya-feature-item { background: #555; color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 2px; }

/* 価格 */
.boya-price { font-size: 18px; margin-bottom: 5px; font-weight: 500; }
.woocommerce-Price-amount bdi { color: #000; }
.boya-shipping-note { font-size: 0.85em; }
.boya-jan { font-size: 14px; color: #666; margin-bottom: 25px; }

/* 短い説明文（導入文） */
.boya-short-description .detail-text1 {
    display: block;
    font-weight: bold !important;
    font-size: 1.1em !important;
    line-height: 1.8;
    color: #333;
    border-bottom: 2px solid #000;
    padding: 10px 0 8px !important;
    margin-bottom: 15px !important;
}

.boya-short-description .detail-text2 {
    display: block;
    font-weight: normal !important;
    font-size: 0.95em !important;
    line-height: 1.7;
    color: #444;
}

/* スペック表（主な仕様） */
.boya-specs-section { margin: 40px 0; font-family: sans-serif; }
.boya-spec-title {
    font-size: 18px;
    font-weight: bold;
    border-left: 4px solid #cc0000;
    padding-left: 10px;
    margin-bottom: 20px;
    color: #333;
}

.boya-style-table {
    width: 100%;
    margin-bottom: 30px;
    border-collapse: collapse;
    border-top: 2px solid #333;
}

.boya-style-table th {
    width: 30%;
    background-color: #f4f4f4;
    color: #333;
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.boya-style-table td {
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    color: #555;
}
/*============================================================
レスポンシブ
============================================================*/
@media (max-width: 991px) {

    /* --- 1. ヘッダー自体の重なり順を最高値にする --- */
    .my-custom-header {
        z-index: 10001 !important; /* 全画面メニュー(10000)より上 */
    }

    /* --- 2. ロゴとボタンの配置維持 --- */
    .header-logo {
        flex: 0 0 auto !important;
        position: relative;
        z-index: 10002;
    }
    
    .header-nav ul.my-gmenu { 
        display: none !important; 
    }

    .mobile-controls {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        position: relative;
        z-index: 10002;
    }

    /* --- 3. ハンバーガーボタンの外観 --- */
    .mobile-menu-btn {
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: 0.3s;
    }

    /* ×アニメーション */
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

    .mobile-search-btn {
        background: #e60012 !important;
        border: none !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* --- 4. フルスクリーンメニュー本体（一段下に配置） --- */
    .mobile-full-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000 !important;
        z-index: 10000; /* ヘッダーより一つ下のレイヤー */
        display: none; 
        flex-direction: column;
        padding: 100px 40px 0 !important; /* ヘッダーに被らないよう上部余白 */
        box-sizing: border-box;
    }

    .mobile-full-menu.active {
        display: flex !important;
    }

    /* --- 5. メニュー項目の一覧 --- */
    .mobile-gmenu {
        margin-top: auto !important;
        margin-bottom: 12vh !important;
        padding: 0 !important;
        list-style: none !important;
        text-align: left !important;
    }

    .mobile-gmenu > li {
        margin-bottom: 0.8em !important; /* ご指定の数値 */
        list-style: none !important;
    }

    .mobile-gmenu li a,
    .mobile-menu-label {
        color: #fff !important;
        font-size: 1.1em !important;
        font-weight: bold !important;
        text-decoration: none !important;
        padding: 5px 0 !important;
        display: block;
    }

    /* 子メニュー */
    .mobile-sub-menu {
        display: block !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0.5em 0 0 0 !important;
    }

    .mobile-sub-menu li {
        margin-bottom: 0.5em !important;
        padding-left: 1.2em !important; /* インデント */
    }

    .mobile-sub-menu li a {
        font-size: 1em !important;
        color: #fff !important;
        font-weight: normal !important;
        opacity: 0.8;
    }

    /* --- 6. 検索バー表示時 --- */
    .mobile-search-bar.is-open {
        display: block !important;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        padding: 15px;
        z-index: 10002;
    }
    /* フォーム本体を横並びに */
    .mobile-search-form {
        display: flex !important;
        width: 100%;
        height: 35px; /* 高さを決めて統一 */
        align-items: center;
    }

    /* 入力フィールド (75%) */
    .mobile-search-field {
        flex: 0 0 75% !important;
        height: 100% !important; /* 親の45pxに合わせる */
        border: none !important;
        border-radius: 4px 0 0 4px !important; /* 左側だけ角丸 */
        padding: 0 15px !important;
        font-size: 14px !important;
        background: #fff !important;
        color: #333 !important;
        margin: 0 !important;
    }

    /* 検索ボタン (25%) */
    .mobile-search-submit {
        flex: 0 0 25% !important;
        height: 100% !important; /* フィールドと高さを揃える */
        background: #e60012 !important;
        color: #fff !important;
        border: none !important;
        border-radius: 0 4px 4px 0 !important; /* 右側だけ角丸 */
        font-weight: bold !important;
        font-size: 14px !important;
        cursor: pointer !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

    
@media (max-width: 767px) {

    /*余白_共通*/
        #movie .movie-container,
        #concept .concept-container,
        #spotlight .sp-container,
        #top-info .info-container {
            padding: 30px 20px !important; 
            margin: 0 auto !important;      
        }

    /*ヘッダー*/
        .admin-bar .my-custom-header { top: 46px !important; 
        }

    /*スライダー*/
        .my-swiper { height: 40vh; }
        .lineup-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 10px !important;
        }

    /*movie*/
        #movie .movie-flex-wrapper{
            flex-direction: column;
            gap:40px;
        }
        #movie .movie-main{
            margin-bottom: 40px;
        }

    /*concept*/
        .bounce-img {
            width: 45px !important;   
            opacity: 0 !important;     
            z-index: 0 !important;     
        }
        .bounce-img.is-visible {
            opacity: 0.25 !important;   
        }
        .img-pos-1 { left: 5%;  top: 5%; }
        .img-pos-2 { right: 5%; top: 20%; }
        .img-pos-3 { left: 10%; top: 40%; }
        .img-pos-4 { right: 8%; top: 65%; }
        .img-pos-5 { left: 15%; bottom: 5%; }

    /*spotlight*/    
        .main-content {
        flex-direction: column !important; 
        align-items: center;
        gap: 30px; 
        }
    
        .main-content .link-text {
        width: 100% !important;    
        max-width: 100% !important; 
        flex: none !important;      
        }

        .main-content img {
        width: 100% !important;
        height: auto !important;   
        aspect-ratio: auto !important; 
        }

        .side-card {
        width: 100% !important; 
        max-width: 100% !important;
         }


    /*information*/   
        #top-info .info-flex-wrapper {
            flex-direction: column;
            gap: 0;
            padding: 0 10px;
        }

        .featured-body {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 15px !important;
            padding: 15px 0 !important;
            border-bottom: 1px solid #ddd;
        }

        .info-meta {
                display: flex !important;
                align-items: center !important; /* ここで中の日付とラベルの高さを揃える */
                gap: 10px !important;
            }

        .featured-title {
            font-size: 0.9em !important;
            font-weight: normal !important;
            flex: 1 !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            margin: 0 !important;
            border: none !important;
        }

        .info-more-row {
            margin-top: 30px !important;
            justify-content: center !important;
            align-items: center!important;
        }
    /*product*/   

        #product-lineup .section-title-img img { 
            width: 60% !important; 
        }

        #product-lineup .lineup-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important; /* スマホは2列 */
            gap: 10px !important;
        }

        #product-lineup .lineup-card {
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            align-items: center !important;
            background: #fff !important;
            aspect-ratio: 1 / 1 !important; /* トップは正方形維持 */
            padding: 10px !important;
            text-decoration: none !important;
            box-sizing: border-box !important;
            min-width: 0 !important;
        }

        #product-lineup .card-img {
            width: 100% !important;
            height: 75% !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
        }

        #product-lineup .card-name {
            margin: 0 !important;
            text-align: center; !important;
            line-height: 1.1 !important;
            border: none !important;
            width: 100% !important;
        }

        #product-lineup .title-sub {
            display: inline-block !important;
            color: #888 !important;
            font-weight: normal !important;
            font-size: 0.5em !important;
            margin-bottom: 2px !important;
        }

        #product-lineup .title-main {
            display: inline-block !important;
            color: #000 !important;
            font-weight: bold !important;
            font-size: 0.6em !important;
        }

/*plp*/
        .plp-body-section,
        .plp-body-section *,
        .plp-container,
        .plp-fullbar {
            box-sizing: border-box !important;
        }

        .plp-body-section {
            width: 100% !important;
            max-width: 100vw !important;
            padding: 60px 0 0 0 !important;
            margin: 0 !important;
            overflow-x: hidden !important;
        }

        .plp-container {
            width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        .plp-content-wrapper {
            display: flex !important;
            flex-direction: column !important;
            gap: 20px !important;
            text-align: center !important;
            padding: 0 10px 20px !important;
        }

        .plp-main-title-group,
        .plp-description-group {
            flex: 0 0 100% !important;
            width: 100% !important;
        }

        .plp-title-en {
            font-size: 1.5em !important;
            margin-bottom: 5px !important;
            border: none !important;
        }

        .plp-title-jp {
            font-size: 0.8em !important;
        }

        .plp-description {
            font-size: 0.8em !important;
            line-height: 1.6 !important;
            text-align: left !important;
            width: 100% !important;
        }

        .plp-bg-text {
            font-size: 4em !important;
            top: 20% !important;
            margin-top: 50px;
        }

        .plp-body-section .lineup-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 10px !important;
            width: 100% !important;
            padding: 0 10px !important;
        }

        .plp-body-section .lineup-card {
            display: flex !important;
            flex-direction: column !important;
            justify-content: flex-start !important;
            align-items: center !important;
            background: #fff !important;
            aspect-ratio: 1 / 1.5 !important;
            padding: 10px !important;
            text-decoration: none !important;
            box-shadow: 1px 1px 3px rgba(0,0,0,0.1) !important;
            border-bottom: 2px solid #ccc !important;
            width: 100% !important;
            position: relative !important;
            min-width: 0 !important;
        }

        .plp-body-section .card-img {
            width: 100% !important;
            height: 65% !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
        }

        .plp-body-section .card-img img {
            max-width: 100% !important;
            max-height: 100% !important;
            object-fit: contain !important;
        }

        .plp-body-section .card-name {
            margin: 5px 0 0 0 !important;
            text-align: left !important;
            line-height: 1 !important;
            width: 100% !important;
            border: none !important;
        }

        .plp-body-section .title-sub {
            display: block !important;
            font-size: 0.65em !important;
            color: #888 !important;
            font-weight: normal !important;
        }

        .plp-body-section .title-main {
            display: block !important;
            font-size: 0.8em !important;
            font-weight: bold !important;
            color: #000 !important;
            word-break: break-all !important;
        }

        .plp-body-section .price-text {
            font-size: 0.7em !important;
            display: block !important;
        }

        .plp-body-section .new-badge {
            font-size: 12px !important;
            top: 10px !important;
            left: 10px !important;
        }

        /* タブナビゲーション */
        .tab-item {
            padding: 10px 5px !important;
            font-size: 0.75em !important;
            letter-spacing: 0.05em !important;
        }

/* R3-PROスライダー */
.plp-r3pro-slider-wrap {
    width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-bottom: 30px !important;
    max-width: none !important;    /* ← 追加 */
}

.plp-r3pro-swiper {
    width: 100% !important;       /* ← 追加 */
    max-width: none !important;    /* ← 追加 */
    aspect-ratio: unset !important;
}

.slide-img-pc { display: none !important; }

.slide-img-sp {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

.plp-r3pro-swiper .swiper-button-prev,
.plp-r3pro-swiper .swiper-button-next {
    width: 28px !important;
    height: 28px !important;
}

.plp-r3pro-swiper .swiper-button-prev::after,
.plp-r3pro-swiper .swiper-button-next::after {
    font-size: 11px !important;
}

.plp-r3pro-swiper .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 0 !important;
    margin-top: 10px !important;
}

.plp-r3pro-swiper .swiper-pagination-bullet {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.plp-r3pro-swiper .swiper-pagination-bullet-active {
    border: 1px solid #fff !important;
    border-radius: 50% !important;
}
}
@media (max-width: 576px) {
    /* 画像エリアと情報エリアに内側の余白を作る */
    body.single-product #main.mainSection-col-one,
    body.single-product #main.mainSection-col-two {
        padding-left: 20px !important;  /* お好みの余白量に調整してください */
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* 商品名やラベルなど、個別の要素の微調整が必要な場合 */
    .boya-main-title {
        font-size: 24px !important; /* スマホでは少し文字を小さくすると収まりが良いです */
    }
}
