@charset "utf-8";

    .sp-only {
        display: none; /* スライダーなら block または flex */
    }

 /* ヒーロー全体 */
.hero {
    background-image: url('https://toyoking.co.jp/images/102127-001-1.jpg');
    background-size: cover;
    background-position: center;
    background-color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    /* 色を白に変更 */
    color: #ffffff; 
    
    /* サイズを大きく（PC版で36px程度、スマホで28px程度） */
    font-size: 36px; 
    
    /* 文字を読みやすくするために軽い影を追加（背景が明るい部分でも白文字が沈みません） */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    
    line-height: 1.4;
    margin-bottom: 50px; /* スライダーとの間隔を少し広げてゆとりを出す */
    padding: 0 15px;
    font-weight: 700; /* 太字にして力強さを強調 */
}

/* スライダー外枠 */
.slider-wrapper {
    width: 100%;
    max-width:100%;
    margin: 0 auto;    /* 中央寄せ */
    overflow: hidden;  /* 枠外の画像は見せない */
    background: transparent;
    position: relative;
    padding:50px;
}

/* スライダー内部（11枚分を横並び） */
.slider-inner {
    display: flex;
    width: calc(400px * 11); /* 1枚400px × 11枚分 */
    /* 初期位置：1枚目が中央に来るように、左に400px分ずらす */
    transform: translateX(-400px); 
    animation: slide-triple-1200 20s infinite;
    background: transparent;
}

/* 各画像の間隔とサイズ */
.slider-item {
    width: 400px; 
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 20px; /* 光彩が枠からはみ出ないように余白を確保 */
    box-sizing: border-box;
}


 .slider-item img {
    width: 400px;      /* ★ここで画像を小さく指定（300pxの枠に対して60%のサイズ） */
    height: auto;     /* 縦横比を維持しつつサイズを固定 */
    display: block;
    background: transparent !important;
    object-fit: contain;

    /* --- 白いオーラ（さらに強力・鮮明に） --- */
    /* ぼかしだけでなく、少し不透明度の高い白を重ねて「オーラ」を強調します */
    filter: 
        drop-shadow(0 0 10px rgba(255, 255, 255, 1)) 
        drop-shadow(0 0 25px rgba(255, 255, 255, 0.8))
        drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
    
    /* Safari/iPhone対策 */
    -webkit-filter: 
        drop-shadow(0 0 10px rgba(255, 255, 255, 1)) 
        drop-shadow(0 0 25px rgba(255, 255, 255, 0.8))
        drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
}

/* 3枚ずつ動かすアニメーション (11枚構成用) */
@keyframes slide-triple-1200 {
    /* 1枚目(index 0)がセンターの状態からスタート */
    0% { transform: translateX(-400px); }
    25% { transform: translateX(-800x); }
    
    /* 3枚分（400px × 3 = 1200px）移動 */
    30% { transform: translateX(-1200px); }
    55% { transform: translateX(-1400px); }
    
    /* さらに3枚分（1200px）移動 */
    60% { transform: translateX(-1200px); }
    85% { transform: translateX(-800px); }
    
    /* 最後までスライドして最初に戻る */
    90% { transform: translateX(-600px); }
    100% { transform: translateX(-400px); }
}
           
.sub-heading-title {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    background-color: #9bccfa;
    padding: 50px 20px;
    
    text-align: center;
    width: 100vw;              /* 画面の横幅いっぱいにする */
    position: relative;
    left: 50%;                 /* 一旦、画面中央に配置 */
    transform: translateX(-50%); /* 中央から左へ半分戻してピッタリ合わせる */
    /* ------------------------------------ */
}

              .features {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* 中央寄せ */
    box-sizing: border-box;
    display: flex;
    gap: 20px; /* アイテム間の隙間 */
    justify-content: center; /* アイテムを中央に寄せる */
    align-items: flex-start;
    text-align: center;
    padding-top:60px;

}

.feature-item {
    flex: 1; /* ★重要：親の幅を均等に分ける */
    min-width: 0; /* flex内の崩れ防止 */
}

.feature-item img {
    width: 100%;
    max-width: 400px; /* アイコン等のサイズ調整 */
    height: auto;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    font-size: 15px;           /* 小さすぎず、読みやすいサイズ */
    line-height: 2.2;          /* 行間を広げて、プロフェッショナルな印象に */
    color: #666;               /* 真っ黒(#000)より少しグレーにすると高級感が出ます */
    margin-top: 10px;          /* タイトル(h3)との間隔 */
    padding: 0 10px;           /* 左右に少し余裕を持たせる */
    text-align: justify;       /* 文末を揃えて美しく（お好みで） */
    word-break: break-all;     /* 長い英単語などが枠からはみ出るのを防ぐ */
}
               
        

                /* セクション全体 */
.lineup-section {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 15px;
    font-family: "Yu Gothic", "游ゴシック", sans-serif;
    text-align: center;
}

/* 「ラインナップ」タイトル */
.lineup-title {
    font-size: 30px;            /* サイズを大きく */
    font-weight: 700;           /* 太字にして強調 */
    color: #333;
    margin: 30px;
    position: relative;
    display: inline-block;      /* 下線の幅を文字に合わせる */
    padding-bottom: 15px;
}

/* 下線の装飾 */
.lineup-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    width: 60px;                /* 線の長さ */
    height: 4px;                /* 線の太さ */
    background: #ffffff;        /* アクセントカラー（オレンジ系） */
    border-radius: 2px;
    text-decoration: none;
}

/* リスト全体の枠組み */
.lineup-list {
    display: flex;
    justify-content: space-between; /* 均等に配置 */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px; /* アイテム間の隙間 */
}

/* 各アイテム */
.lineup-item {
    width: calc(25% - 12px); /* 4等分から隙間分を引く */
    box-sizing: border-box;
}

/* 画像の箱（オレンジの部分） */
.lineup-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* 正方形を維持 */
    background-color: #faf8f8; /* 画像がない時の仮色 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    
}

.lineup-image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 枠いっぱいに表示 */
    display: block;
}

/* 商品名テキスト */
.lineup-name {
    margin-top: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    font-weight: 600;
    
}




                .product {
                    padding: 30px 20px;
                }
                .product img {
                    max-width: 100%;
                }
                .cta {
            text-align: center;
            margin: 50px 0 ;
            padding-top: 0;
           
        }
               
                .cta button {
                    background-color: #007bff;
                    color: white;
                    padding: 15px 30px;
                    border: none;
                    cursor: pointer;
                }
                .applications {
                    padding: 30px 20px;
                }
                .applications ul {
                    list-style-type: none;
                    padding: 0;
                }
                .applications li {
                    margin-bottom: 10px;
                }
                footer {
                    background-color: #333;
                    color: white;
                    text-align: center;
                    padding: 20px;
                }
        
                .features-band {
                    max-width: 1200px;
                    text-align: center;
                    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "MS Mincho", serif;
                    font-size: 20px;
                    line-height: 1.8; /* 行間調整 */
                    letter-spacing: 0.1em; /* 字間調整 */
                    margin:0 auto;
                    padding: 30px;
                    
                }


                
                .premium-button {
            background: linear-gradient(135deg, #1c43e0, #000); /* グラデーション背景 */
            padding: 10px 20px; /* パディングを小さくする */
            border: 2px solid #555;
            border-radius: 8px;
            font-size: 1.2em;
            font-weight: bold;
            letter-spacing: 0.2em;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden; /* 画像がはみ出しても表示しない */
        }
        
        .premium-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
        }
        
        .premium-button:active {
            transform: translateY(1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        .button-image {
            width: 60px; /* 画像を大きくする */
            height: auto;
            margin-left: 20px;
            filter: drop-shadow(0 0 10px white);
        }



              

                .product-table-wrapper {
                    max-width: 1200px;
    display: flex;
    gap: 40px; /* テーブル間の隙間 */
    align-items: flex-start; /* 高さが違っても上揃えにする */
}

.product-table {
    flex: 1; /* 均等な幅で広がる */
    border-collapse: collapse;
    width: 100%;
}

.product-table th, 
.product-table td {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 0.9rem;
}

.product-table th {
    background-color: #f4f4f4;
    width: 30%;
    text-align: left;
}

        
                .buttons {
                    width: 100%;
                    margin: 0 auto;
                    padding: 0px;
                    display: flex;
                
                }
                
                .button {
                    width: 150px; /* 値を大きくする */
                    height:50px;
                  padding: 0px 20px;
                  border: none;
                  border-radius: 5px;
                  cursor: pointer;
                  font-size: 0.8em;
                  margin: 0 5px;
                  text-align: center;
                  box-sizing: border-box; /* 追加 */
                }
                .product-table {
                    width: 100%;
                    max-width: 800px;
                    border-collapse: collapse;
                    background-color: white;
                    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
                    margin-top: 20px;
                    table-layout: fixed; /* 追加 */
                }
        
         
        .product-table td {
            text-align: left;
            padding-left: 60px;
            border-bottom: 1px solid #ddd;
            letter-spacing: 0.1em;
            word-break: break-all; /* 追加 */
        }
        
        
                .product-table th, .product-table  {
                    padding: 15px;
                    text-align: center;
                    border-bottom: 1px solid #ddd;
                    letter-spacing: 0.1em;
                }
                .product-table th {
                    background-color: #f5f5f5;
                    width: 30%;
                }
                .product-table tr:last-child td {
                    border-bottom: none;
                }
        
                .container {
            width: 800px;
            background-color: #fff;
            border: 1px solid #ccc;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
            padding: 20px;
            text-align: center; /* 要素を中央寄せにする */
        }
        .header {
            background-color: #e0e0e0;
            padding: 10px;
            text-align: center;
            font-size: 1.2em;
            background-image: linear-gradient(to right, #000080, #87ceeb); /* 帯の色を画像に合わせる */
            color: white; /* 帯のテキストを白色にする */
        }
        .content {
            display: flex;
            align-items: center;
            padding: 20px;
            justify-content: center; /* 要素を中央寄せにする */
            align-items: flex-start; /* 上部に揃える */
        }
        .image {
            flex: 1;
            text-align: center;
        }
        .image img {
            max-width: 300px;
            height: auto;
        }
        .details {
            flex: 2;
            padding-left: 20px;
            text-align: left;
            display: flex;
            flex-direction: column;
            padding-top:60px;
        }
        
        
        
          
          .details p {
            margin-bottom: 0px; /* テキストの間隔を調整 */
        　　
          }
        
        
        
        
        
        .amazon {
            background-color: #ff9900; /* ボタンの色を画像に合わせる */
            color: white;
        }
        .rakuten {
            background-color: #dc143c;
            color: white;
        }
        .official {
            background-color: #4682b4;
            color: white;
        }
        
        .hb-sh{
            width:100%;
            font-family: sans-serif;
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #f0f0f0;
        
        }
        
        .hb-sh-001{
            font-family: sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        
        }
        .hb-sh-001-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        .hb-sh-001-image-container {
            width: 300px; /* 画像の幅に合わせて調整 */
            margin: 10px;
            text-align: center;
        }
        .hb-sh-001-image-container img {
            max-width: 100%;
            height: auto;
        }
        .footer {
                    position: relative;
                    width: 100%;
                    overflow: hidden;
                }
                .footer img {
                    width: 100%;
                    height: auto;
                    max-height: 500px;
                    object-fit: cover;
                    display: block;
                }
                .footer .text-overlay {
                    position: absolute;
                    top: 45%;
                    left: 55%; /* 右側に配置 */
                    transform: translateY(-50%);
                    width: 40%; /* 幅を調整 */
                    max-width: 800px; /* 最大幅を設定 */
                    color: black;
                    text-align: left; /* 左寄せに変更 */
                    padding: 20px; /* 余白を追加 */
                    box-sizing: border-box; /* paddingを含めて幅を計算 */
                }
                .footer h2 {
                    font-size: 28px; /* テキストサイズ固定 */
                    margin-bottom: 5px;
                    font-weight:bold;
                    font-family: "ＭＳ 明朝", "MS Mincho", "Hiragino Mincho ProN", serif;
                    text-shadow: 1px 1px 2px white, -1px -1px 5px white, 1px -1px 5px white, -1px 1px 5px white;
                    line-height: 1.6;
                }
                .footer p {
                    margin: 8px 0;
                    text-shadow: 1px 1px 2px white, -1px -1px 5px white, 1px -1px 5px white, -1px 1px 5px white;
                    letter-spacing: 2px;
                    line-height: 1.8;
                    font-size: 16px; /* テキストサイズ固定 */
                }
                .footer .box {
                    border: 2px solid white;
                    padding: 5px;
                    margin-top: 10px;
                }
        
                .full-width-image {
                    width: 100%;
                    height: auto;
                    display: block; /* 画像の下の余白をなくす */
                }
                .full-width-image-container {
                    width: 100%; /* 親要素も横幅いっぱいに */
                    margin-top: :60px;
                    padding-top: 50px;
        
                }

                
        
        
 .members {
    /* 重なりを防ぐための設定 */
    clear: both;             /* 前にfloat要素があった場合の回り込みを解除 */
    display: flex;
    justify-content: center;
    gap: 20px;
    
    /* 幅と位置の設定 */
    max-width: 1200px;
    margin: 40px auto;       /* 上下に50pxの余白を強制的に持たせる */
    
    box-sizing: border-box;
}
                      
                     .members-img {
    flex: 1;                 /* 均等な幅に設定 */
}

.members-img a {
    display: block;
    width: 100%;
}

.members-img img {
    width: 100%;             /* 親要素の幅に合わせる */
    height: auto;            /* 比率を維持 */
    display: block;
    transition: opacity 0.3s ease;
}

.members-img img:hover {
    opacity: 0.8;            /* ホバー時の演出 */
}


                    
        
                      .pc-hidden {
                        display: block;
                      }
                  

                    .item-selection-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-top:100px;
    margin-bottom: 50px;
    padding-bottom: 15px;
    font-family: "Yu Gothic", "游ゴシック", sans-serif;
    text-align: center;
    position: relative;
}

                   .item-selection {
    max-width: 1000px; /* 幅1000指定 */
    margin: 0 auto;
    padding: 0% 20px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}



.item-selection-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-top:100px;
    margin-bottom: 50px;
    padding-bottom: 15px;
    font-family: "Yu Gothic", "游ゴシック", sans-serif;
    text-align: center;
    position: relative;
}

/* 中央の太いアンダーライン */
.item-selection-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;         /* ラインの長さ */
    height: 4px;         /* ラインの太さ */
    background: #9bccfa; /* サブ見出しの色と合わせると統一感が出ます */
    border-radius: 2px;
}



/* フレックスボックス設定 */
.item-flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px; /* gapを広くとる */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 2列計算（gap分を引いて2分割） */
.item-flex-card {
    width: calc((100% - 60px) / 2); 
    box-sizing: border-box;
}

.item-flex-card a {
    text-decoration: none;
    color: #333;
    display: block;
}

/* ホバー時に画像を少し浮かせる演出（任意） */
.item-flex-card a:hover .item-flex-thumb img {
    transform: translateY(-5px);
    opacity: 0.8;
}

.item-flex-thumb {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #fff;
}

.item-flex-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
}

.item-flex-name {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 600;
    text-align: center; /* 商品名を中央寄せ */
}


       html,
        body {
            width: 100%;
            overflow-x: hidden; /* 横スクロールを無効化 */
        }
                .body {
                    width:100%;
                    font-family: sans-serif;
                    margin: 0;
                    padding: 0;
                    
                }
                .hero {
                    background-image: url('https://toyoking.co.jp/images/102127-001-1.jpg');
                    background-size: cover;
                    background-position: center;
                    color: rgb(255, 255, 255);
                    padding-top:30px;
                    text-align: center;
                }
                .hero img {
                    max-width: 80%;
                    height: auto;
                }
          
                .feature {
                    text-align: center;
                }
                .product {
                    padding: 30px 20px;
                }
                .product img {
                    max-width: 100%;
                }
       
               
                .cta button {
                    background-color: #007bff;
                    color: white;
                    padding: 15px 30px;
                    border: none;
                    cursor: pointer;
                }
                .applications {
                    padding: 30px 20px;
                }
                .applications ul {
                    list-style-type: none;
                    padding: 0;
                }
                .applications li {
                    margin-bottom: 10px;
                }
                footer {
                    background-color: #333;
                    color: white;
                    text-align: center;
                    padding: 20px;
                }
        
           
                .premium-button {
            background: linear-gradient(135deg, #1c43e0, #000); /* グラデーション背景 */
            padding: 10px 20px; /* パディングを小さくする */
            border: 2px solid #555;
            border-radius: 8px;
            font-size: 1.2em;
            font-weight: bold;
            letter-spacing: 0.2em;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden; /* 画像がはみ出しても表示しない */
        }
        
        .premium-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
        }
        
        .premium-button:active {
            transform: translateY(1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        
        .button-image {
            width: 60px; /* 画像を大きくする */
            height: auto;
            margin-left: 20px;
            filter: drop-shadow(0 0 10px white);
        }
        .product-102127 {
            display: flex;
                    flex-direction: column;
                    align-items: center;
                    min-height: auto;
                    background-color: #f0f0f0;
                    padding-bottom: 50px; /* テーブルの下の余白をなくす */!important
                }
                .products-band { /* PRODUCTSの帯 */
                    width: 100%;
                    text-align: center;
                    padding: 10px; /* パディングをさらに小さく */
                    font-size: 1.2em; /* フォントサイズをさらに小さく */
                    
                    background-color: #e0e0e0;
                    letter-spacing: 0.3em; /* 字間をさらに広げる */
                    color:#26282a;
                    
            
                }
        
 .buttons {
    display: flex;
    justify-content: space-between; /* ボタン間の隙間を均等に */
    gap: 8px; /* ボタン同士の間の余白（marginの代わり） */
    width: 100%;
    box-sizing: border-box;
}


.buttons a {
    flex: 1; /* ★重要：親の幅を3等分して、自動で縮小・拡大させる */
    min-width: 0; /* ★重要：中身がはみ出さないようにするおまじない */
    text-decoration: none;
}

.button {
    width: 100%; /* aタグの幅いっぱいに広がる */
    height: 50px;
    padding: 0 5px; /* 左右の余白を少し詰めて文字を入りやすく */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px; /* スマホで2行になっても収まりやすいサイズ */
    text-align: center;
    box-sizing: border-box;
    line-height: 1.2; /* 改行した時の行間を詰める */
    display: flex;
    align-items: center;
    justify-content: center;
}


                .product-table {
                    width: 100%;
                    max-width: 800px;
                    border-collapse: collapse;
                    background-color: white;
                    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
                    margin-top: 50px;
                    table-layout: fixed; /* 追加 */
                }
        
         
        .product-table td {
            text-align: left;
            padding-left: 60px;
            border-bottom: 1px solid #ddd;
            letter-spacing: 0.1em;
            word-break: break-all; /* 追加 */
        }
        
        
                .product-table th, .product-table  {
                    padding: 15px;
                    text-align: center;
                    border-bottom: 1px solid #ddd;
                    letter-spacing: 0.1em;
                }
                .product-table th {
                    background-color: #f5f5f5;
                    width: 30%;
                }
                .product-table tr:last-child td {
                    border-bottom: none;
                }
        
                .container {
            width: 800px;
            background-color: #fff;
            border: 1px solid #ccc;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
            padding: 20px;
            text-align: center; /* 要素を中央寄せにする */
        }
        .header {
            background-color: #e0e0e0;
            padding: 10px;
            text-align: center;
            font-size: 1.2em;
            background-image: linear-gradient(to right, #000080, #87ceeb); /* 帯の色を画像に合わせる */
            color: white; /* 帯のテキストを白色にする */
        }
        .content {
            display: flex;
            align-items: center;
            padding: 20px;
            justify-content: center; /* 要素を中央寄せにする */
            align-items: flex-start; /* 上部に揃える */
        }
        .image {
            flex: 1;
            text-align: center;
        }
        .image img {
            max-width: 300px;
            height: auto;
        }
        .details {
            flex: 2;
            padding-left: 20px;
            text-align: left;
            display: flex;
            flex-direction: column;
        }
        
        
        
          
          .details p {
            margin-bottom: 0px; /* テキストの間隔を調整 */
        　　
          }
        
        
        
        
        
        .amazon {
            background-color: #ff9900; /* ボタンの色を画像に合わせる */
            color: white;
        }
        .rakuten {
            background-color: #dc143c;
            color: white;
        }
        .official {
            background-color: #4682b4;
            color: white;
        }
   .footer {
                    position: relative;
                    width: 100%;
                    overflow: hidden;
                }
                .footer img {
                    width: 100%;
                    height: auto;
                    max-height: 500px;
                    object-fit: cover;
                    display: block;
                }
              
                .footer h2 {
                    font-size: 28px; /* テキストサイズ固定 */
                    margin-bottom: 5px;
                    font-weight:bold;
                    font-family: "ＭＳ 明朝", "MS Mincho", "Hiragino Mincho ProN", serif;
                    text-shadow: 1px 1px 2px white, -1px -1px 5px white, 1px -1px 5px white, -1px 1px 5px white;
                    line-height: 1.6;
                }
                .footer p {
                    margin: 8px 0;
                    text-shadow: 1px 1px 2px white, -1px -1px 5px white, 1px -1px 5px white, -1px 1px 5px white;
                    letter-spacing: 2px;
                    line-height: 1.8;
                    font-size: 16px; /* テキストサイズ固定 */
                }
                .footer .box {
                    border: 2px solid white;
                    padding: 5px;
                    margin-top: 10px;
                }
        
                .full-width-image {
                    width: 100%;
                    height: auto;
                    display: block; /* 画像の下の余白をなくす */
                }
              
        
         /* レスポンシブ対応 */
        @media screen and (max-width: 768px) {
        
            .html, body {
                box-sizing: border-box;
                overflow-x: hidden; /* 横スクロールを無効化 */
            }
            *, *:before, *:after {
                box-sizing: inherit;
            }
        
        .body {
            
            overflow-x: hidden; /* 横スクロールを無効化 */
        }
        
        

        
     
            .content, .features,  {
                flex-direction: column;
                align-items: center;
            }
        
           
        .feature-item h3 {
   font-family: "Yu Gothic", "游ゴシック", sans-serif;
   

}

      .feature-item img {
   width:100%;
   height:auto;
   margin: 0 auto;
   padding:0px 10px 20px 10px;
}

.feature-item p {
 margin:10px 30px 30px 30px;
    
   
}
         
        
           
        
            .button {
                flex: 1 1 100%;
            }
        
            .feature {
                flex: 1 1 100%;
            }
        
  

             .footer .text-overlay {
            position: absolute;
            top: 35%;
            left: 50%;
            transform: none; /* transformを修正 */
            width: 100%;
            color: black;
            text-align: left;
        }
        
    
           .features p {
            padding: 8px;
            line-height: 1.5;
            letter-spacing: 0.1em;
            text-align: left;
            text-align: justify;
        }
    
        
       
        
        .feature {
            text-align: center;
        }
        
        .product {
            padding: 30px 20px;
        }
        
        .product img {
            max-width: 100%;
        }
        
     
        
       
        
      
        
      
        
        .header {
            font-size: 14px;
            font-weight: bold;
        }
        
        .details {
            font-size: 14px;
            text-align: center;
            padding-top:0px;
        }
        
      .buttons {
    display: flex;
    justify-content: space-between;
    gap: 5px; /* ボタン間の隙間を固定 */
    width: 100%;
    margin-top: 10px;
}

/* ★ここが一番重要：aタグに縮小のルールを与える */
.buttons a {
    flex: 1;         /* 3つのaタグを均等に3分割する */
    min-width: 0;    /* これを入れないと文字量に合わせてはみ出します */
    text-decoration: none;
    display: block;
}

.button {
    width: 100%;    /* 親であるaタグの幅（33%）いっぱいに広げる */
    height: 50px;
    padding: 2px;   /* 内部の余白を最小限にして文字を収める */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px; /* スマホで見切れないためのサイズ */
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    word-break: break-all; /* 幅を守るために必要なら単語の途中で改行 */

}
        
     
        
        
        
        .content {
            width: 100%;
            padding: 0px;
            
        }
        
     
        
                
                      .img {
                        display: block;
                    }

 
  br { display: none; } 



        
   


            
         
     
        
        
        
           
        

       .features {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding-top:30px;
}



           
        /* ▼ hb-sh セクション */
.hb-sh .container {
    flex-direction: column;
}

.hb-sh .content {
    flex-direction: column;
    align-items: center;
}

.hb-sh .image {
    width: 40%;
    text-align: center;
}

.hb-sh .image img {
    max-width: 100%;
    height: auto;
}

.hb-sh .hb-sh-001 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hb-sh .hb-sh-001-image-container {
    width: 60%;
    text-align: center;
    margin:0px;
}

.hb-sh .hb-sh-001-image-container img {
    max-width: 60%;
    height: auto;
}
        
        
            .button {
                flex: 1 1 100%;
            }
        
            .feature {
                flex: 1 1 100%;
            }
        
          
        
        .features-band {
            font-size: 15px;
            line-height: 2.0;
            letter-spacing: 0.1em;
            padding-top: 30px;
        
        }
        
        .features img {
            width: 100%;
            display: block;
        }
        
     
        
        .feature {
            text-align: center;
        }
        
        .product {
            padding: 30px 20px;
        }
        
        .product img {
            max-width: 100%;
        }
        
        .cta {
            text-align: center;
            margin-top: 0;
            padding-top: 20px;
        }
        
        .product-table td {
            padding-left: 20px;
            font-size: 14px;
        }
        
        .product-table tr {
            font-size: 12px;
        }
        
        .product-table {
            width: 90%;
            margin: 20px auto;
        
        }
        
   
        
        .products-band {
            font-size: 14px;
            letter-spacing: 0em;
            text-align: center;
        }
        
        .header {
            font-size: 14px;
            font-weight: bold;
        }
        
        .details {
            font-size: 14px;
            text-align: center;
            line-height: 16px;
            padding-left:0px;
            
        }
        
   
       
        
        
        
        .content {
            width: 100%;
            padding: 0px;
            
        }

        .slider-item {
        width: 33.33vw; /* 画面幅の3分の1にする */
    }
    .slider-inner {
        width: calc(33.33vw * 11);
        transform: translateX(-33.33vw);
    }
    @keyframes slide-triple-1200 {
        0% { transform: translateX(-33.33vw); }
        25% { transform: translateX(-33.33vw); }
        30% { transform: translateX(-100vw); }
        55% { transform: translateX(-100vw); }
        60% { transform: translateX(-200vw); }
        85% { transform: translateX(-200vw); }
        90% { transform: translateX(-300vw); }
        100% { transform: translateX(-300vw); }
    }

   

    .sub-heading-title {
        font-size: 20px;       /* スマホに合わせて少し小さく */
        padding: 20px 15px;    /* 左右のパディングを減らす */
        width: auto !important; /* 横幅を自動計算にする */
        box-sizing: border-box; /* パディングを含めて幅を計算する設定（重要） */
        line-height:30px;
       
    }

     .lineup-list {
        flex-wrap: wrap; /* 折り返し許可 */
    }
    .lineup-item {
        width: calc(50% - 8px); /* 2等分 */
        
        padding:10px;
    }

    .item-flex-grid {
        gap: 40px; /* スマホではgapを少し詰める */
    }
    .item-flex-card {
        width: 100%;
        padding: 10px;
    }

    .product-table-wrapper {
        flex-direction: column;
        gap:0px;
    }

    .members {
        flex-direction: column; /* 縦並びに変更 */
        gap: 15px;              /* 縦に並んだ時の隙間 */
    }

    .features-list {
        flex-direction: column; /* 縦並びに変更 */
        gap: 50px;              /* 縦並び時の間隔を広めにとる */
    }

    .feature-card {
        width: 100%;
    }
    
    .feature-title {
        font-size: 20px; /* スマホでは少し文字を大きく */
    }


    .item-selection-title {
        font-size:20px;
    line-height: 30px;
    margin-top: 10px;
}

  

     .hero {
                background-image: url('https://toyoking.co.jp/images/102127-sp-top.jpg');
                
            }
        
   
        
            .hero h1 {
                
                font-size: 20px;
                padding: 80px 30px;
                line-height: 50px;
                 font-family: "Yu Gothic", "游ゴシック", sans-serif;
                
            }

     .slider-wrapper {
        display: none !important;
    }

    .sp-only {
        display: block; /* スライダーなら block または flex */
    }

    .sp-only img {
    width: 100%;    /* 横幅いっぱいに表示 */
    height: auto;   /* アスペクト比を維持 */
    display: block; /* 隙間をなくす */
}

.pc-hidden{
        display: none !important;
    }
        
        }
        
    