@charset "UTF-8";

/* 基本リセット */
body {
    font-family: "Noto Sans JP", Arial, sans-serif;
    color: #333; /* 文字色#333 */
    line-height: 1.6;
    margin: 0;
}

/* 画像のレスポンシブ対応 */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ホバーした時に少し薄くする */
a:hover {
    opacity: 0.7;
}

.red{
    background-color: red;
    color: #fff;
    margin-right: 5px;
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
}

.green{
    background-color: green;
    color: #fff;
    margin-right: 5px;
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
}


/* =========================================
   指定されたCSSコード
   ========================================= */
.page-header {
    /* 下(#666)から上(#ccc)へ薄くなるグラデーション ※指定色のグラデーションに変更済 */
    background: linear-gradient(to top, #e0e0e0 26%, #efefef 48%, #d9d9d9 75%, #bcbcbc 100%);
    padding: 50px 0; /* 少し高さを広げてグラデーションを見やすくしました */
    text-align: center;
    border-bottom: none; /* 下の線はグラデーションと馴染ませるため削除 */
}

.page-header h1 {
    color: #fff; /* 白文字 */
    font-size: 24px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* 文字の影を少し濃くして読みやすく */
}

/* コンテナ */
.container1 {
    max-width: 960px;
    margin: 100px auto;
    padding: 0 20px;
}

.container2 {
  display: flex; 
  gap: 20px; 
  align-items: center;
}
 @media (max-width:768px) {
            .container2{
                display: block;
            }
        }

.container2 .product-overview {
  flex: 0 0 30%;
  min-width: 0;
  margin-bottom: 0;
}

.container2 .product-desc {
  flex: 1;
  min-width: 0;
}

/* =========================================
   追加CSSコード
   ========================================= */

/* セクション設定 */
.material-section {
    margin-bottom: 80px;
}

/*ページトップのリンク一覧*/
.menu-flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/* 中見出し（タイトル） */
.section-title {
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid #0056b3;
    padding-bottom: 2px;
    margin-bottom: 30px;
}

/* 商品概要エリア（架空作成部分） */
.product-overview {
    margin-bottom: 50px;
}

.product-image {
    width: 250px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.product-image-flyer {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 530px;
    margin: 0 auto 10px;
    max-width: 100%;
}

.product-image-animation {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 auto 10px;
}

.product-image-animation img {
    width: 400px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
}

.product-image-animation img:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.product-image img {
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
}

.product-image img:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.product-image-flyer img {
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
}

.product-image-flyer img:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.product-desc {
    text-align: center;
}

.product-desc-span {
    text-align: center;
    font-size: 14px;
}

.product-desc h3 {
    margin-top: 0;
    color: #333;
    font-size: 14px;
    font-weight: 400;
}

.product-desc-kitei {
    text-align: center;
}

.product-desc-kitei h3 {
    margin-top: 0;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    background-color: #e9e9e9;
}

/* 小項目（PDFの不正内容見出し部分） */
.category-header {
    background-color: #eef4f9; /* 薄い青背景 */
    font-size: 16px;
    color: #0056b3; /* 青文字 */
    font-weight: bold;
    padding: 10px 15px;
    margin-top: 40px;
    margin-bottom: 10px;
    border-left: 5px solid #0056b3;
}

.category-desc {
    margin-bottom: 20px;
    font-size: 16px;
}

/* デザイン一覧のグリッドレイアウト（横並び・左揃え） */
.design-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start; /* 左揃え */
    margin-bottom: 40px;
}

.design-item {
    width: 150px; /* デザイン画像の幅目安 */
    text-align: center;
}

.design-item-animation{
    width: 250px; /* デザイン画像の幅目安 */
    text-align: center;
}

.design-item img {
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 5px;
    transition: transform 0.2s;
    cursor: pointer;
}

.design-item-animation img {
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 5px;
    transition: transform 0.2s;
    cursor: pointer;
}

.design-item img:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.design-item-animation img:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}


.design-item p {
    font-size: 14px;
    color: #0056b3 !important;
    font-weight: bold;
}

.design-item-animation p {
    font-size: 14px;
    color: #0056b3;
    font-weight: bold;
}

.design-item p a {
    color: #0056b3;
    text-decoration: none; /* 下線を消したい場合はこれを追加 */
    font-weight: bold;
}

/* =========================================
   配信記事・動画用テーブルCSS
   ========================================= */
.table-responsive {
    overflow-x: auto;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.article-table th, 
.article-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}

.article-table th {
    background-color: #eef4f9; /* 薄い青 */
    color: #0056b3; /* 青文字 */
    font-weight: bold;
    white-space: nowrap;
}

.article-table .col-title {
    width: 35%; 
    font-size: 16px;
}

.article-table .col-desc { 
    width: 60%;
    font-size: 16px;
}

.article-table .col-link {
    width: 15%;
    font-size: 16px;
}


.article-title {
    font-weight: bold;
    color: #0056b3;
}

.article-link{
    text-decoration: none;
}

.article-btn-cell {
    text-align: center;
}

h3[id], td[id] {
    scroll-margin-top: 200px; 
}

/* サンプルボタン */
.btn-sample {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0056b3; /* 青背景 */
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.3s;
}

.btn-sample:hover {
    background-color: #003d82; /* ホバー時は少し濃く */
}

button:active, a:active {
    transform: translateY(1px);
    filter: brightness(0.9);
}

.qty { 
    text-align: right; 
    width: 70px; 
    margin-right: 5px;
    border-radius: 3px; 
    border: 1px solid #000000;
}

.add-btn { 
    background: #0056b3; 
    color: #fff; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    padding: 5px 10px; 
    margin-top: 10px;
    transition: opacity 0.3s;
}

.add-btn:hover { 
    opacity: 0.8 !important;
}

.default-text {
    color: initial;
    font-weight: normal;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .container1 {
        margin: 50px auto;
    }
    
    .product-overview {
        flex-direction: column;
    }
    
    .design-grid {
        justify-content: center; /* スマホでは中央揃えの方が見やすい場合がある */
    }

    .article-table th, 
    .article-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .article-table thead {
        display: none; /* スマホではヘッダーを隠す */
    }
    
    .article-table tr {
        margin-bottom: 20px;
        display: block;
        border: 1px solid #ddd;
    }
    
    .article-table td {
        border: none;
        border-bottom: 1px solid #eee;
    }
    
    .article-table td::before {
        content: attr(class); /* 簡易的なラベル表示 */
        display: block;
        font-weight: bold;
        color: #0056b3;
        margin-bottom: 5px;
        font-size: 0.8em;
    }
}

/* 拡大画面（背景） */
.modal {
  display: none; /* 最初は隠す */
  position: fixed;
  z-index: 9999; /* 一番手前に表示 */
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.85); /* 背景を黒っぽく */
  cursor: pointer;
}

/* 拡大画像本体 */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: zoom 0.3s; /* ふわっと出す演出 */
}

@keyframes zoom {
  from {transform: translate(-50%, -50%) scale(0.8); opacity: 0;}
  to {transform: translate(-50%, -50%) scale(1); opacity: 1;}
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 20px; right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
}

.modal-content-double {
    position: absolute;
    top: 50%;
    left: 50%;
    gap: 20px;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between; /* 画像を左右に配置 */
    align-items: center;
    animation: zoom 0.3s; /* ふわっと出す演出 */
}

.modal-content-double img {
    max-width: 48%;  /* 2枚並べるので、1枚あたり半分（50%以下）にする */
    height: auto;    /* 縦横比を維持 */
    max-height: 80vh; /* 画面の高さ8割までに抑えて見切れを防ぐ */
    object-fit: contain; /* 枠内にきれいに収める */
}

.kitei-link {
    margin: 30px 0;
    text-align: center;
}

.kitei-link a {
    display: inline-block;
    /* 背景に薄い青、文字に濃い青を指定 */
    background-color: #ffffff; 
    color: #0056b3;
    
    padding: 14px 32px;
    border: 2px solid #0056b3; /* 濃い青の枠線で引き締める */
    border-radius: 50px;        /* 丸みをつけて親しみやすく */
    
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.1); /* ほんのり影をつけて浮かす */
    
    position: relative;
    overflow: hidden;
}

/* マウスを乗せた時の動き */
.kitei-link a:hover {
    background-color: #0056b3; /* 背景を濃い青に */
    color: #ffffff;           /* 文字を白に */
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3); /* 影を強くして「押せる感」を出す */
    transform: translateY(-2px); /* わずかに上に浮き上がる演出 */
}

/* リンクであることを強調するアイコン（＞）を擬似要素で追加 */
.kitei-link a::after {
    content: "→";
    margin-left: 10px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.kitei-link a:hover::after {
    transform: translateX(5px); /* ホバー時に矢印が右に動く */
}