@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ====================================
   archive-product.php (製品一覧) 用のスタイル
   ==================================== */

/* メーカーリストのコンテナ */
.c-makerList {
    margin-top: 40px;
}

/* 1行ごとのラッパー */
.c-makerList__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* 垂直方向中央揃え */
    padding: 20px 0;
    gap: 20px;
}

/* 区切り線 */
.c-makerList__divider {
    margin: 0;
    border: none;
    border-bottom: 1px solid #eee;
}

/* 左側：ロゴエリア */
.c-makerList__dt {
    width: 180px; /* ロゴエリアの幅 */
    flex-shrink: 0;
    text-align: center;
}

.c-makerList__logoLink {
    display: block;
    transition: opacity 0.3s;
}
.c-makerList__logoLink:hover {
    opacity: 0.7;
}

.c-makerList__logoImg {
    max-width: 100%;
    height: auto;
    max-height: 80px; /* ロゴの高さ制限 */
    object-fit: contain;
}

/* 右側：リンクエリア */
.c-makerList__dd {
    flex: 1; /* 残りの幅を埋める */
    min-width: 200px;
}

.c-makerList__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px; /* 縦横の間隔 */
}

.c-makerList__link {
    display: inline-block;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
}
.c-makerList__link:hover {
    text-decoration: underline;
    color: var(--color_main); /* SWELLのメインカラーを使用 */
}

/* お問い合わせエリア */
.p-contactArea {
    background-color: #f7f7f7; /* 薄いグレーの背景 */
    padding: 40px 20px;
    border-radius: 4px;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
    .c-makerList__item {
        flex-direction: column; /* 縦並びにする */
        align-items: flex-start;
    }
    .c-makerList__dt {
        width: 100%;
        text-align: left;
    }
    .c-makerList__logoImg {
        max-height: 60px;
    }
}


/* ====================================
   archive-new_product.php (ニュース一覧) 用スタイル
   ==================================== */

/* 2カラムレイアウト枠 */
.p-newsArchive {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

/* 左サイド：年度リスト */
.p-newsArchive__side {
    width: 200px;
    flex-shrink: 0;
}

.p-newsYearList {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.p-newsYearList__item {
    border-bottom: 1px solid #ddd;
    margin: 0 !important; /* SWELLのデフォルトマージン打ち消し */
}
.p-newsYearList__item:last-child {
    border-bottom: none;
}

.p-newsYearList__link {
    display: block;
    padding: 12px 15px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: bold;
}

.p-newsYearList__link:hover {
    background-color: #f5f5f5;
}

/* カレント表示（選択中の年） */
.p-newsYearList__item.is-current .p-newsYearList__link {
    background-color: var(--color_main); /* SWELLメインカラー */
    color: #fff;
}


/* 右サイド：メインコンテンツ */
.p-newsArchive__main {
    flex: 1;
    min-width: 0; /* Flexアイテムのはみ出し防止 */
}

/* ニュースリスト */
.p-newsList {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee;
}

.p-newsList__item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin: 0 !important;
}

.p-newsList__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.p-newsList__date {
    font-family: 'Lato', sans-serif; /* 英数字用フォント */
    color: #666;
    font-size: 0.9em;
}

/* NEWラベル（SWELLっぽく） */
.c-label.-new {
    background-color: #ff3333;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    vertical-align: middle;
}

.p-newsList__link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.6;
    display: block;
}
.p-newsList__link:hover {
    color: var(--color_main);
    text-decoration: underline;
}

/* スマホ対応：縦並びにする */
@media screen and (max-width: 768px) {
    .p-newsArchive {
        flex-direction: column;
        gap: 20px;
    }
    .p-newsArchive__side {
        width: 100%;
    }
    /* スマホでは年度リストを横スクロールにする等の調整も可能ですが、
       今回はシンプルな縦並びリストにしています */
}

/* ====================================
   共通設定：不要な要素の非表示
   ==================================== */
/* ブログカードの画像エリアを非表示 */
.p-blogCard__thumb {
    display: none !important;
}
/* 画像が消えた分、テキストエリアの余白を調整 */
.p-blogCard__body {
    width: 100% !important;
    padding-left: 0 !important;
}
/* 関連記事ウィジェットの画像も消す */
.p-postList__thumb {
    display: none !important;
}


/* ===================================================
   SWELL子テーマ：製品詳細ページ (single-product.php)
   =================================================== */

/* ---------------------------------------------------
   1. ヒーローエリア（トップ画像・製品情報）
   --------------------------------------------------- */
.p-prodHero {
    margin-bottom: 60px;
}

.p-prodHero__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* --- 左側：画像エリア --- */
.p-prodHero__img {
    flex: 1;
    min-width: 300px;
    max-width: 600px; /* 画像が広がりすぎないように制限 */
}

/* メイン画像表示エリア */
.p-prodHero__mainView {
    margin-bottom: 15px;
    border: 1px solid #eee;
    line-height: 0; /* 画像下の隙間消し */
}

.p-prodHero__mainImg {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in; /* 拡大できることを示す虫眼鏡カーソル */
}

/* 画像がない場合の表示 */
.p-prodHero__noImg {
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-weight: bold;
}

/* サムネイルリスト */
.p-prodHero__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.p-prodHero__thumbItem {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.6;
    line-height: 0;
}

.p-prodHero__thumbItem:hover {
    opacity: 1;
}

/* 選択中のサムネイル */
.p-prodHero__thumbItem.is-selected {
    opacity: 1;
    border-color: var(--color_main); /* SWELLのメインカラー */
    border-width: 2px;
}

.p-prodHero__thumbItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* --- 右側：製品情報エリア --- */
.p-prodHero__info {
    flex: 1;
    min-width: 300px;
}

/* メーカーロゴ・テキスト位置調整 */
.p-prodHero__makerLogo,
.p-prodHero__makerText {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #666;
    line-height: 1;
}

.p-prodHero__makerLogo img {
    max-height: 30px;
    width: auto;
}

/* 製品タイトル */
.p-prodHero__title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* サブタイトル */
.p-prodHero__subTitle {
    font-weight: bold;
    color: #666;
    margin-bottom: 25px;
}

/* 簡易スペックリストの調整 */
.p-prodHero__specList {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-left: 0;
    text-align: left; /* テキストは左揃え */
}

.p-prodHero__specList ul {
    margin: 0;
    padding-left: 20px; /* リストマーカー分の余白 */
    list-style: disc; /* 黒丸 */
}

.p-prodHero__specList li {
    margin-bottom: 0.8em;
    line-height: 1.6;
}
.p-prodHero__specList li:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------
   2. タブ切り替えシステム
   --------------------------------------------------- */
.p-prodTab {
    margin-top: 60px;
}

/* タブナビゲーション */
.p-prodTab__nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 2px solid #ddd;
}

.p-prodTab__nav li {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -2px; /* 下線に重ねる */
    margin-left: 0; /* SWELLのリセット */
}

.p-prodTab__nav li:hover {
    background: #f5f5f5;
}

/* アクティブなタブ */
.p-prodTab__nav li.is-active {
    background: #fff;
    color: var(--color_main);
    border-color: #ddd;
    border-bottom-color: #fff; /* 下線を消して一体化 */
}

/* 購入ボタン（右寄せ） */
.p-prodTab__nav li.p-prodTab__buy {
    margin-left: auto;
    background: #de5b5b;
    border: none;
    padding: 0;
}
.p-prodTab__nav li.p-prodTab__buy a {
    display: block;
    padding: 12px 25px;
    color: #fff;
    text-decoration: none;
    height: 100%;
}
.p-prodTab__nav li.p-prodTab__buy:hover {
    opacity: 0.8;
}

/* タブの中身（パネル） */
.p-prodTab__panel {
    display: none;
    animation: fadeIn 0.5s ease;
}
.p-prodTab__panel.is-show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ---------------------------------------------------
   3. タブ内コンテンツのデザイン
   --------------------------------------------------- */

/* --- 特徴ブロック (概要・オプション) --- */
.c-featureBlock {
    padding: 50px 20px;
}
.c-featureBlock.-bg-gray {
    background-color: #f9f9f9;
    margin-left: -20px; /* 画面幅いっぱいに見せる調整（親要素による） */
    margin-right: -20px;
    padding-left: 40px;
    padding-right: 40px;
}

.c-featureBlock__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 交互配置（画像とテキストの入れ替え） */
.c-featureBlock__inner.is-reverse {
    flex-direction: row-reverse;
}

.c-featureBlock__media {
    flex: 1;
    min-width: 300px;
}
.c-featureBlock__media img {
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.c-featureBlock__text {
    flex: 1;
    min-width: 300px;
}
.c-featureBlock__text h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color_main);
    display: inline-block;
}

/* YouTube埋め込み用 */
.c-videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
}
.c-videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* --- 仕様テーブル (Spec) --- */
.p-specBlock {
    margin-bottom: 50px;
}

.p-specTable table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed; /* 列幅の安定化 */
}

.p-specTable th, 
.p-specTable td {
    border: 1px solid #ddd;
    padding: 15px;
    font-size: 0.95rem;
    vertical-align: middle;
}

.p-specTable th {
    background: #f0f0f0;
    width: 25%;
    font-weight: bold;
    color: #333;
}

/* テーブル内の<p>タグの余白調整 */
.p-specTable td p {
    margin-bottom: 0.5em;
}
.p-specTable td p:last-child {
    margin-bottom: 0;
}


/* --- ギャラリー (Gallery) --- */
.c-galleryGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.c-galleryGrid__item img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    vertical-align: bottom;
}


/* --- 店舗リスト (Shop) --- */
.p-shopList {
    border-top: 1px solid #eee;
}
.p-shopList__item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: baseline;
}
.p-shopList__name {
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 200px;
}

/* メーカー情報エリアの調整 */
.p-makerInfo h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: none; /* 既存のボーダーを消す場合 */
    color: #333;
}

.p-makerInfo__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ロゴ画像を少し大きく見せる調整 */
.p-makerInfo .c-featureBlock__media img {
    max-height: 100px;
    object-fit: contain;
}


/* ---------------------------------------------------
   4. レスポンシブ調整 (スマホ)
   --------------------------------------------------- */
@media screen and (max-width: 768px) {
    /* ヒーローエリア */
    .p-prodHero__inner {
        flex-direction: column;
        gap: 20px;
    }
    
    /* タブナビ */
    .p-prodTab__nav li {
        width: 50%; /* 2列にする */
        text-align: center;
        padding: 10px;
        font-size: 0.9em;
    }
    .p-prodTab__nav li.p-prodTab__buy {
        width: 100%; /* 購入ボタンは全幅 */
        margin-top: 10px;
    }

    /* 特徴ブロック */
    .c-featureBlock.-bg-gray {
        margin-left: -16px; /* SWELLのSPパディングに合わせる */
        margin-right: -16px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .c-featureBlock__inner,
    .c-featureBlock__inner.is-reverse {
        flex-direction: column; /* 常に縦並び */
    }
    
    /* スペック表 */
    .p-specTable th, 
    .p-specTable td {
        display: block;
        width: 100%;
        border-bottom: none;
    }
    .p-specTable td {
        border-bottom: 1px solid #ddd;
        padding-top: 5px;
    }
}



/* ====================================
   LP風レイアウト (parts/product-lp.php)
   ==================================== */

.p-prodLP {
    width: 100%;
    overflow: visible !important;
}

/* --- 1. ヒーローエリア --- */
.p-lpHero {
    text-align: center;
    padding: 60px 0;
    background: #f7f7f7;
    margin-bottom: 0;
}

/* テキスト */
.p-lpHero__header {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.p-lpHero__logo {
    max-height: 40px;
    margin-bottom: 20px;
}
.p-lpHero__title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}
.p-lpHero__desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* メイン画像 */
.p-lpHero__visual {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.p-lpHero__bigImg {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    background: #fff;
    cursor: zoom-in;
}

/* サムネイル（グリッド） */
.p-lpGrid {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.p-lpGrid__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 15px;
}

/* ★ここが重要：通常版のスタイルを打ち消してリセット */
.p-lpGrid__item.p-prodHero__thumbItem {
    width: 100% !important;  /* 固定幅を解除 */
    height: auto !important; /* 固定高さを解除 */
    background: #fff;
    padding: 5px;
    aspect-ratio: 16/9;      /* 横長比率を維持 */
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    line-height: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    opacity: 1; /* 通常版の透明度もリセット */
}

.p-lpGrid__item:hover {
    transform: translateY(-2px);
}
.p-lpGrid__item.is-selected {
    border-color: var(--color_main);
}
.p-lpGrid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 移動してきた簡易スペック表 */
.p-lpHero__specBox {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: left; /* 左揃えで見やすく */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.p-lpHero__specBox ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}
.p-lpHero__specBox li {
    margin-bottom: 0.8em;
    line-height: 1.6;
}
.p-lpHero__specBox li:last-child {
    margin-bottom: 0;
}


/* --- 2. 追従ナビゲーション --- */
.p-lpNav {
    position: -webkit-sticky;
    position: sticky;
    top: var(--swl-header_height, 80px);
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin: 0 -20px 40px -20px;
    padding: 0 20px;
}
.p-lpNav__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.p-lpNav__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}
.p-lpNav__menu a {
    text-decoration: none;
    font-weight: bold;
    color: #444;
    font-size: 0.95rem;
    padding: 18px 0;
    display: block;
}
.p-lpNav__menu a:hover {
    color: var(--color_main);
}

html { scroll-padding-top: 160px; }


/* --- コンテンツエリア --- */
.p-lpSec { padding: 80px 0; }
.p-lpSec.-bg-gray {
    background-color: #f9f9f9;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    width: 100vw;
    position: relative;
    z-index: 1;
}
.p-lpSec__inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 特徴（交互） */
.p-lpFeature { padding: 60px 0; }
.p-lpFeature__inner {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}
.p-lpFeature.is-reverse .p-lpFeature__inner { flex-direction: row-reverse; }
.p-lpFeature__media { flex: 1; }
.p-lpFeature__media img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.p-lpFeature__text { flex: 1; }
.p-lpFeature__text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 5px solid var(--color_main);
    padding-left: 20px;
    line-height: 1.4;
}

/* その他パーツは共通CSSを流用 */
.p-lpInfoGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.p-lpInfoBox {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.p-lpInfoBox h3 {
    font-size: 1.2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.p-linkList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.p-lpBrand {
    background: #fff;
    padding: 60px;
    border: 4px solid #f0f0f0;
    border-radius: 10px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .p-lpGrid__inner {
        grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
    }
    .p-lpNav {
        margin: 0 -16px 30px -16px;
        padding: 0 16px;
        overflow-x: auto;
    }
    .p-lpNav__menu { gap: 20px; white-space: nowrap; }
    .p-lpNav__action { display: none; }
    
    .p-lpFeature__inner,
    .p-lpFeature.is-reverse .p-lpFeature__inner {
        flex-direction: column;
        gap: 30px;
    }
    .p-lpInfoGrid { grid-template-columns: 1fr; }
}

/* ====================================
   taxonomy-maker.php (メーカー別製品一覧)
   ==================================== */

.p-prodArchive__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* レスポンシブグリッド */
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-prodArchive__item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.3s;
    height: 100%; /* 高さを揃える */
}
.p-prodArchive__item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.p-prodArchive__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #333;
    text-decoration: none;
}

.p-prodArchive__thumb {
    width: 100%;
    aspect-ratio: 4/3; /* 4:3の比率で統一 */
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}
.p-prodArchive__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体が見えるように */
    padding: 10px;
}

.p-prodArchive__noImg {
    color: #ccc;
    font-weight: bold;
}

.p-prodArchive__body {
    padding: 20px;
    flex: 1; /* コンテンツが少なくても下まで伸ばす */
    display: flex;
    flex-direction: column;
}

.p-prodArchive__title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.p-prodArchive__desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   展示店舗（SHOPLIST）ページ用スタイル
============================================= */

/* タブナビゲーション */
.shoplist-tab {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    border-bottom: 2px solid #3c6091;
}

.shoplist-tab li {
    flex: 1;
    max-width: 50%;
    text-align: center;
    background: #f0f0f0;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: all 0.3s;
    border-radius: 5px 5px 0 0;
    margin: 0 2px;
}

.shoplist-tab li:hover {
    background: #e0e0e0;
}

.shoplist-tab li.is-active {
    background: #3c6091;
    color: #fff;
}

/* 表示エリア制御 */
.shoplist-area {
    display: none;
    animation: fadeIn 0.5s ease;
}

.shoplist-area.is-active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* リンクボックス（製品・地域） */
#shoplist-link, #shoplist-link2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.shoplist-link-box, .shoplist-link-box2 {
    width: calc(25% - 10px);
    min-width: 140px;
}

.shoplist-link-box a, .shoplist-link-box2 a {
    display: block;
    background: #3c6091;
    color: #fff;
    text-align: center;
    padding: 15px 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.shoplist-link-box a:hover, .shoplist-link-box2 a:hover {
    opacity: 0.8;
}

.shoplist-link-box p, .shoplist-link-box2 p {
    margin: 0;
    line-height: 1.2;
}

.small-text {
    font-size: 11px;
}

/* 注意書き */
.shoplist-note {
    text-align: center;
    font-weight: bold;
    color: #3c6091;
    margin: 30px auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 製品・地域ごとのブロック */
.shoplist-set {
    margin-bottom: 60px;
}

.shoplist-set h2 {
    background: #f5f5f5;
    padding: 10px 15px;
    border-left: 5px solid #3c6091;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.shoplist-img {
    margin-bottom: 20px;
    max-width: 400px;
}
.shoplist-img img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* テーブルスタイル */
.shoplist-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.shoplist-table tr {
    border-bottom: 1px solid #eee;
}

.shoplist-table td {
    padding: 15px;
    vertical-align: top;
}

.shoplist-table td:nth-child(1) {
    font-weight: bold;
    width: 20%;
    min-width: 150px;
    color: #333;
}

.shoplist-table td:nth-child(2) {
    width: 60%;
}

.shoplist-table td:nth-child(3) {
    width: 20%;
    white-space: nowrap;
}

/* ページ内リンクのズレ調整 */
.shoplist-anchor {
    display: block;
    position: relative;
    top: -100px; /* ヘッダー固定分の調整 */
    visibility: hidden;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .shoplist-link-box, .shoplist-link-box2 {
        width: calc(50% - 10px);
    }

    .shoplist-table td {
        display: block;
        width: 100% !important;
        padding: 5px 15px;
    }

    .shoplist-table td:nth-child(1) {
        background: #f9f9f9;
        padding-top: 15px;
        color: #3c6091;
    }

    .shoplist-table td:nth-child(3) {
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd;
    }
    
    .shoplist-table tr {
        border-bottom: none;
        margin-bottom: 20px;
        display: block;
    }
}

/* =======================================================
   フッターメニュー修正（PC横並び・線なし・背景青版）
======================================================= */

/* -------------------------------------------------------
   0. フッター全体の背景・文字色設定
------------------------------------------------------- */
#footer, .l-footer {
    background-color: #3c6091 !important; /* 背景色 */
    color: #ffffff !important;            /* 全体の文字色 */
}

/* コピーライトも白くする */
.copyright, .l-footer__copyright {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* -------------------------------------------------------
   1. SWELL標準スタイルのリセット（共通）
------------------------------------------------------- */
ul.l-footer__nav,
ul.l-footer__nav li,
ul.l-footer__nav a,
ul.l-footer__nav ul {
    border: none !important;       /* 線をすべて消す */
    background: none !important;   /* 背景を消す */
    box-shadow: none !important;   /* 影を消す */
    padding: 0 !important;         /* 余白リセット */
    margin: 0 !important;
    list-style: none !important;
    width: auto !important;
    position: static !important;
}

/* SWELLの装飾線（擬似要素）も完全消去 */
ul.l-footer__nav li::before,
ul.l-footer__nav li::after,
ul.l-footer__nav a::before,
ul.l-footer__nav a::after {
    display: none !important;
    content: none !important;
}

/* -------------------------------------------------------
   2. PC表示（横一列・線なし）
------------------------------------------------------- */
@media (min-width: 769px) {
    /* メニュー全体の枠 */
    ul.l-footer__nav {
        display: flex !important;
        justify-content: center !important; /* 中央揃え */
        align-items: flex-start !important; /* 上揃え */
        flex-wrap: nowrap !important;       /* ★強制的に1行にする */
        gap: 0 !important;
        margin-top: 40px !important;
        width: 100% !important;
        max-width: 1280px !important;       /* 画面幅いっぱいに広がれるように */
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 300px !important;    /* ★元の余白設定を維持 */
    }

    /* 親メニュー（1つの柱） */
    ul.l-footer__nav > li {
        padding: 0 15px !important; /* ★余白を少し詰めて1行に収める */
        border: none !important;    /* ★線を消す */
        text-align: left !important;
        flex-shrink: 0 !important;  /* 勝手に縮まないようにする */
    }

    /* 親メニューの文字 */
    ul.l-footer__nav > li > a {
        font-weight: bold !important;
        /* ★文字色を白に変更 */
        color: #ffffff !important;
        margin-bottom: 12px !important;
        display: block !important;
        white-space: nowrap !important; /* ★文字の折り返しを禁止 */
        font-size: 14px !important;     /* ★1行に収めるため少しサイズ調整 */
    }

    /* -----------------------------------
       2階層目（サブメニュー）の設定
    ----------------------------------- */
    /* サブメニューの箱 */
    ul.l-footer__nav li ul.sub-menu {
        display: block !important;
        padding-left: 0 !important; /* 親と左揃え（インデントなし） */
    }

    /* サブメニューの項目 */
    ul.l-footer__nav li ul.sub-menu li {
        border: none !important;
        margin-bottom: 6px !important;
    }

    /* サブメニューのリンク文字 */
    ul.l-footer__nav li ul.sub-menu li a {
        font-weight: normal !important;
        /* ★文字色を少し薄い白に変更 */
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 13px !important; /* 親より少し小さく */
        white-space: nowrap !important;
    }
    
    /* ホバー時の動き */
    ul.l-footer__nav a:hover {
        opacity: 0.7 !important;
        text-decoration: none !important;
    }
}

/* ★元の設定を維持 */
.l-content {
    margin: 0 auto;
}

/* -------------------------------------------------------
   3. スマホ表示（縦並び・変更なし）
------------------------------------------------------- */
@media (max-width: 768px) {
    .l-footer {
        margin-bottom: 150px !important; /* ★元の余白設定を維持 */
    }

    /* 全体を縦積みにする */
    ul.l-footer__nav {
        display: block !important;
        padding: 20px 0 !important;
    }

    /* 親メニューの枠 */
    ul.l-footer__nav > li {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        /* ★下線を半透明の白に変更 */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 20px 0 !important;
    }

    /* 最後の項目の下線は消す */
    ul.l-footer__nav > li:last-child {
        border-bottom: none !important;
    }

    /* 親メニューの文字 */
    ul.l-footer__nav > li > a {
        font-size: 16px !important;
        font-weight: bold !important;
        /* ★文字色を白に変更 */
        color: #ffffff !important;
        margin-bottom: 10px !important;
        display: inline-block !important;
    }

    /* 2階層目の箱 */
    ul.l-footer__nav li ul.sub-menu {
        display: block !important;
        padding: 0 !important;
    }

    /* 2階層目の項目 */
    ul.l-footer__nav li ul.sub-menu li {
        margin-top: 8px !important;
    }
    
    /* 2階層目の文字色 */
    ul.l-footer__nav li ul.sub-menu li a {
        color: rgba(255, 255, 255, 0.9) !important;
    }
}


/* ============================================
   企業情報ページ（ABOUT US）用スタイル
============================================= */

/* 会社概要のテーブル (#spec_list) の復元 */
#spec_list {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-bottom: 40px;
    font-size: 15px;
}

#spec_list tr {
    border-bottom: 1px solid #ccc;
}

#spec_list td {
    border-right: 1px solid #ccc;
    padding: 15px;
    vertical-align: middle;
}

/* 左側の項目名セル */
#spec_list td:first-child {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
    width: 25%; /* 幅を適度に固定 */
    min-width: 120px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    #spec_list td {
        display: block;
        width: 100%;
        border-right: none;
    }
    #spec_list td:first-child {
        background: #eee;
        border-bottom: none;
    }
}

/* 地図周りの調整 */
.map_main {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd; /* 地図に枠線を付ける */
}

/* アクセス情報のテキスト */
.access_txt {
    font-weight: bold;
    margin-top: 10px;
}
.blue {
    color: #3c6091;
}

/* ============================================
   お知らせ一覧（Information Archive）用スタイル
============================================= */

/* 年別ナビゲーション */
.p-news-year-nav {
    margin-bottom: 40px;
    border-bottom: 2px solid #3c6091;
}

.p-news-year-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.p-news-year-nav li a {
    display: block;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 14px;
}

.p-news-year-nav li a:hover {
    background: #e0e0e0;
}

/* 選択中の年 */
.p-news-year-nav li.is-active a {
    background: #3c6091;
    color: #fff;
}

/* 表示されている年の見出し */
.c-year-heading {
    font-size: 2rem !important;
    border-bottom: none !important;
    text-align: center;
    margin-bottom: 30px !important;
    color: #333;
    font-weight: bold;
    background: none !important;
    padding: 0 !important;
}
.c-year-heading::before,
.c-year-heading::after {
    display: none !important;
}

/* ニュースリスト本体 */
.p-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.p-news-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.p-news-item:hover {
    background: rgba(0,0,0,0.02);
}

.p-news-item__meta {
    display: flex;
    align-items: center;
    min-width: 150px; /* 日付部分の幅確保 */
}

.p-news-item__date {
    font-family: 'Roboto', sans-serif;
    color: #666;
    margin-right: 10px;
}

/* NEWマーク */
.c-badge-new {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    vertical-align: text-bottom;
}

.p-news-item__title {
    flex: 1;
}

.p-news-item__title a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.p-news-item__title a:hover {
    color: #3c6091;
    text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .p-news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .p-news-item__meta {
        margin-bottom: 5px;
    }
    .p-news-year-nav li a {
        padding: 8px 15px;
        font-size: 13px;
    }
}


/* ============================================
   サポートページ用スタイル
============================================= */
@media (max-width: 768px) {
    .support-flex-col{
        flex-direction: column !important;
    }
    .support-item {
        width: 100% !important;
        margin-bottom: 30px;
    }
    .support-brand-item {
        width: 45% !important; /* スマホでは2列 */
    }
}


/* ============================================
   アフターサポートページ用スタイル
============================================= */
.p-after-support {
    max-width: 1000px;
    margin: 0 auto;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}

/* トップ画像 */
.p-after-hero img {
    width: 100%;
    margin-bottom: 40px;
}

/* タイトル周り */
.c-after-title {
    font-size: 2.2rem;
    color: #3c6091; /* マイルストーンブルー */
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    border: none !important; /* SWELL装飾削除 */
    background: none !important;
}
.c-after-desc {
    padding: 0 20px;
    margin-bottom: 40px;
}
.u-text-red { color: red; }

/* セクション見出し（下線付き） */
.c-section-title {
    font-size: 1.5rem;
    color: #3c6091;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #aaa !important;
    padding-bottom: 10px;
    margin: 60px 0 30px !important;
    background: none !important;
}
.c-section-title::before, .c-section-title::after {
    display: none !important;
}

/* 電話問い合わせ */
.p-tel-box {
    text-align: center;
    margin-bottom: 40px;
}
.p-tel-link img {
    max-width: 400px;
    width: 100%;
    margin-bottom: 15px;
}
.p-tel-note {
    font-size: 0.9rem;
}

/* 青いボタン */
.c-btn-blue {
    display: inline-block;
    background-color: #3c6091;
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
    margin-top: 20px;
}
.c-btn-blue:hover { opacity: 0.8; }
.p-after-download { text-align: center; }

/* 修理の流れ（PC/SP切り替え） */
.p-after-flow { text-align: center; }
.u-pc-only { display: block; }
.u-sp-only { display: none; }
@media (max-width: 768px) {
    .u-pc-only { display: none; }
    .u-sp-only { display: block; }
}

/* よくあるご質問（アコーディオン） */
.c-accordion {
    border-top: 1px solid #ccc;
}
.c-accordion__item {
    border-bottom: 1px solid #ccc;
}
.c-accordion__head {
    position: relative;
    padding: 20px 40px 20px 50px; /* 左にQマーク用余白 */
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
}
.c-accordion__head:hover {
    background: #f9f9f9;
}
/* Qマーク */
.c-accordion__head::before {
    content: "Q";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #e57373; /* Qの色（赤系） */
    font-size: 1.2rem;
    font-weight: bold;
}
/* 開閉アイコン (+) */
.c-accordion__head::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #ccc;
    font-weight: normal;
}
/* 開いている時 */
.c-accordion__head.is-open::after {
    content: "-";
}

.c-accordion__body {
    display: none; /* 初期は非表示 */
    padding: 20px 40px;
    background: #f5f5f5;
    font-size: 0.95rem;
}

/* シリアルナンバー（グリッド） */
.p-serial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.p-serial-item {
    width: 30%;
    min-width: 250px;
    text-align: center;
    margin-bottom: 20px;
}
.p-serial-item img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    margin-bottom: 10px;
}


/* ============================================
   お問い合わせ 言語切り替えボタン
============================================= */
.bt_tab {
    text-align: center;
    margin: 30px 0;
}

.bt_tab .nav-pills {
    display: inline-flex; /* 横並びにする */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px; /* ボタン間の隙間 */
}

.bt_tab .nav-pills li {
    margin: 0;
}

/* ボタン共通スタイル */
.bt_tab .nav-pills li a {
    display: block;
    padding: 12px 50px;       /* ボタンの大きさ調整 */
    background-color: #fff;   /* 背景色（未選択時） */
    color: #333 !important;   /* 文字色（強制的に黒に統一） */
    text-decoration: none;
    border: 1px solid #ccc;   /* 枠線 */
    border-radius: 4px;       /* 角丸 */
    font-weight: bold;
    transition: all 0.3s;
    font-size: 15px;
}

/* ホバー時 */
.bt_tab .nav-pills li a:hover {
    background-color: #f5f5f5;
    opacity: 0.8;
}

/* アクティブ（選択中）のスタイル */
.bt_tab .nav-pills li.active a {
    background-color: #3c6091; /* マイルストーンブルー */
    color: #fff !important;    /* 文字色を白に */
    border-color: #3c6091;
    cursor: default;           /* クリックしても反応しないように見せる */
}