@charset "UTF-8";
/* ==================================================
   e21-components.css
   全ページ共通の部品（ボタン、カード、現場写真など）
   ================================================== */

/* ボタン */
.e21r-btn {
  display: inline-block; text-decoration: none; font-weight: 700;
}
.e21r-btn--pill {
  padding: 9px 14px; border-radius: 999px; background: var(--e21r-green); color: #fff;
}
.details-button {
  background-color: #72290c; color: white; border: none; padding: 8px 16px;
  border-radius: 4px; font-size: 12px; cursor: pointer; text-decoration: none;
  display: inline-block; transition: background-color 0.3s;
}
.details-button:hover { background-color: #631f04; }

/* 商品カードグリッド（共通） */
.product-container {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  max-width: 1600px; margin: 0 auto; padding: 20px;
}
.product-card {
  background: white; border-radius: 8px; padding: 15px; overflow: hidden;
  border: 1px solid transparent; transition: all 0.3s ease;
}
.product-card:hover {
  border: 1px solid rgba(0,0,0,0.2); box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-image {
  width: 100%; height: 160px; overflow: hidden; margin-bottom: 10px;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; }
.product-code { font-size: 12px; color: #666; margin-bottom: 12px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }

.official-name {
  display: block;      /* 改行させる */
  font-size: 11px;     /* 小さく控えめに */
  color: #888;         /* グレーで目立たなく */
  font-weight: normal; /* 太字解除 */
  margin-top: 4px;
  letter-spacing: 0;
}


/* 現場実績 (Genba Wrapper) */
 /* 全体の枠組み */
 .genba-wrapper {
  max-width: 900px;
  margin: 30px auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  border-bottom: 1px dashed #ccc; /* 案件ごとの区切り線 */
  padding-bottom: 30px;
}
.genba-wrapper:last-child {
  border-bottom: none;
}

  .report-header {
  display: flex;
  justify-content: space-between; /* 左右に離す */
  align-items: flex-end; /* ★重要：下揃え（日付を下に） */
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc; /* 点線から実線に変えてキリッとさせる */
}

/* 左側：アイコンとタイトル */
.report-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-title-group p {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.3;
    border: none;
    padding: 0;
}

/* カメラアイコン（チープさを解消） */
.report-icon-camera {
    font-size: 24px;
    color: #555; /* 落ち着いたダークグレー（またはブランドカラー #cc0000） */
    /* 背景色や丸みを削除してシンプルに */
    background: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

/* 日付部分（右下配置・控えめに） */
.report-date {
    font-size: 13px;
    color: #888; /* グレーで目立たせすぎない */
    font-family: "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 2px; /* ベースライン微調整 */
}

.report-date i {
    margin-right: 4px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .report-header {
        flex-direction: column; /* 縦積みに */
        align-items: flex-start; /* 左寄せ */
        gap: 8px;
    }
    .report-title-group p {
        font-size: 18px;
    }
    .report-date {
        font-size: 12px;
        margin-left: 36px; /* アイコンの分だけ字下げして整える */
    }
}

/* 上段：写真と詳細データ */
.genbacomment {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返す設定 */
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

/* メイン画像エリア */
.genba_image {
  flex: 1 1 500px; /* PCでは幅広、スマホでは縮む */
  position: relative;
  cursor: zoom-in; /* 拡大できることを示すカーソル */
}
.genba_image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: opacity 0.3s;
}
.genba_image img:hover {
  opacity: 0.8;
}
/* 画像右下の「拡大」ラベル */
.genba_image::after {
  content: "拡大";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 4px;
  pointer-events: none;
}

/* サムネイル画像エリア（修正版） */
.genbathumbnail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.genbathumbnail img {
  height: 220px; 
  width: auto;  /* 幅は自動調整 */
  border: 1px solid #ddd;
  cursor: zoom-in;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.genbathumbnail img:hover {
  box-shadow: 0 0 15px #0099FF;
  opacity: 0.8;
}
/* 詳細テキストエリア */
.genba_detail {
  flex: 1 1 200px; /* 残りのスペースを埋める */
}

/* 見出しラベル共通設定 */
.genba-label {
  margin: 0 0 5px 0;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  border-radius: 4px;
  display: inline-block;
}
.label-place { background-color: #4a90e2; } /* 青 */
.label-use   { background-color: #ff8c00; } /* オレンジ */
.label-item  { background-color: #7bc74d; } /* 緑 */

.genba_detail p {
  margin: 0 0 15px 0;
  padding: 0 0 0 5px;
  font-size: 14px;
  line-height: 1.5;
}
.genba_detail p:last-child { margin-bottom: 0; }

.genba_detail p a {
  color: #0066cc;
  text-decoration: underline;
}
.genba_detail p a:hover {
  color: #004499;
  text-decoration: none;
}

/* 下段：スタッフコメントエリア */
.genbacomment_sum {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #f9f9f9; /* 背景色を追加 */
  border: 1px solid #eee;
  border-radius: 8px;
  align-items: flex-start;
}

.stuffface {
  flex: 0 0 100px;
  text-align: center;
}
.stuffface img {
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stufffacecomment {
  flex: 1;
}
.event_stuff {
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
  font-size: 16px;
  font-weight: bold;
  color: #7bc74d; /* 文字色を緑に */
  border-bottom: 2px solid #7bc74d; /* 下線デザインに変更 */
  display: block;
}
.stufffacecomment p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* スマホ対応用メディアクエリ */
@media screen and (max-width: 768px) {
  .genbaphoto{padding: 0 20px;}
  .genbacomment_sum {
    flex-direction: column; /* 縦積みに */
    align-items: center;
    text-align: center;
  }
  .event_stuff {
    border-bottom: none;
    background-color: #7bc74d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
  }
  .stufffacecomment p {
    text-align: left;
  }
}
/* バラバラのサイズを「正方形のグリッド」に統一 */
.genbathumbnail {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* 横3列に並べる */
  gap: 5px !important; /* 隙間を均一に */
  margin-bottom: 15px !important;
}


/* 現場実績　終 */

/* お問い合わせ・アクションエリア */
.contact-assist-wrapper { width: 100%; max-width: 600px; margin: 40px auto; text-align: center; }
.btn-main-contact {
  display: block; background-color: #c9171e; color: #fff; text-decoration: none;
  font-size: 20px; font-weight: bold; padding: 18px 20px; border-radius: 50px;
  box-shadow: 0 5px 15px rgba(201, 23, 30, 0.3); transition: transform 0.2s;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) { .product-container { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .product-container { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .product-container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-footer { flex-direction: column; gap: 8px; align-items: stretch; }
  .genbacomment, .genbacomment_sum { flex-direction: column; }
}

/* ==================================================
   ▼▼ 社員SNS・ブログ紹介（商品リンク対応） ▼▼
   ================================================== */
   .sns-feed-section {
    padding: 40px 0;
    background-color: #f4f4f4;
}
.sns-title-bar {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* カード全体 */
.sns-card {
    display: flex;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* 左側：メイン画像エリア */
.sns-card__img {
    flex: 0 0 45%; /* 画像を大きく見せる */
    position: relative;
    border-right: 1px solid #eee;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sns-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠いっぱいにトリミング */
    display: block;
    transition: transform 0.3s;
}
.sns-card__img:hover img {
    transform: scale(1.05);
}

/* 引用リボン */
.ribbon-badge {
    position: absolute;
    top: 10px;
    left: -5px; /* 少しはみ出させる */
    padding: 5px 15px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 2;
}
.ribbon-badge::before { /* リボンの折返し */
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    border-top: 5px solid #333;
    border-left: 5px solid transparent;
    filter: brightness(0.7);
}
.ribbon-badge.blue { background: #3b5998; border-color: #3b5998; } /* Facebook/Blog色 */
.ribbon-badge.pink { background: #d62976; border-color: #d62976; } /* Instagram色 */


/* 右側：情報エリア */
.sns-card__body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* 緑のスタッフバッジ */
.staff-badge {
    background: #50c218; /* 明るい緑 */
    color: #fff;
    font-weight: bold;
    padding: 6px 15px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
    align-self: flex-start; /* 左寄せ */
    border-radius: 2px;
}

/* 顔写真とメタ情報の横並びエリア */
.sns-meta-area {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.staff-face {
    flex: 0 0 80px;
}
.staff-face img {
    width: 80px;
    object-fit: cover;
    border: 1px solid #ccc;
    display: block;
}

.meta-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.4;
}
.meta-row i {
    width: 20px;
    text-align: center;
    color: #333;
    font-size: 14px;
    margin-right: 5px;
}
.meta-label {
    font-weight: normal;
    color: #666;
    margin-right: 10px;
    display: none; /* シンプルにするためPCではラベル隠す（アイコンで分かるため） */
}
/* 記事タイトルと商品リンクを目立たせる */
.meta-link {
    color: #0066cc;
    text-decoration: underline;
    font-weight: bold;
}
.meta-link:hover { text-decoration: none; color: #cc0000; }

/* コメント文章 */
.sns-comment {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .sns-card {
        flex-direction: column; /* 縦積みに */
    }
    .sns-card__img {
        flex: none;
        width: 100%;
        height: 250px;
    }
    .sns-meta-area {
        gap: 15px;
    }
    .staff-face img {
        width: 60px;
        height: 60px;
    }
    .meta-row {
        font-size: 12px;
    }
}
/* ==================================================
   ▼▼ 追加：下部バナーエリア（イベ活・会場） ▼▼
   ================================================== */

   .bottom-banner-section {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

/* バナー共通設定 */
.banner-item {
    margin-bottom: 50px;
}
.banner-item img {
    max-width: 100%; /* スマホではみ出さないように */
    height: auto;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.banner-item a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* 会場探しエリア */
.venue-search-area {
    margin-top: 30px;
    border-top: 1px dashed #ddd;
    padding-top: 40px;
}
.venue-header img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* ボタンリストの整理 */
.venue-btn-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
.venue-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #0066cc;
    font-weight: bold;
    gap: 10px;
    transition: opacity 0.3s;
}
.venue-btn:hover {
    opacity: 0.8;
}
.venue-btn img {
    max-width: 100%;
    height: auto;
}
.venue-btn-text {
    font-size: 16px;
    text-decoration: underline;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .bottom-banner-section {
        padding: 30px 15px;
    }
    .banner-item {
        margin-bottom: 30px;
    }
    .venue-search-area {
        padding-top: 30px;
    }
}

/* ==================================================
   汎用：画像拡大モーダル機能
   ================================================== */

/* モーダル全体の背景（黒い透過レイヤー） */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* 背景色 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999; /* ヘッダーよりも確実に上に */
  opacity: 0;
  pointer-events: none; /* 見えていない時はクリック無効 */
  transition: opacity 0.3s ease;
  cursor: zoom-out; /* 閉じる時のカーソル */
}

/* モーダルが表示された時の状態 */
.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* 拡大表示される画像本体 */
.image-modal img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border: 2px solid #fff;
  border-radius: 4px;
  object-fit: contain;
  user-select: none; /* 画像選択防止 */
}

/* 拡大機能を持たせたい画像につけるクラス */
.zoomable {
  cursor: zoom-in; /* カーソルを虫眼鏡に */
  transition: opacity 0.2s;
}

/* ホバー時の演出（お好みで） */
.zoomable:hover {
  opacity: 0.9;
}