@charset "UTF-8";

/*
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3
*/

/*--------------------------------------
  ヘッダー・レイアウト調整
--------------------------------------*/
#header-container {
  justify-content: flex-start !important;
  text-align: left !important;
}
#site-logo {
  margin-left: 0 !important;
  margin-right: auto;
}
.site-name {
  font-weight: bold;
}
.header .site-name-text {
  font-size: 50px !important;
  font-weight: bold;
}
.tagline {
  font-size: 1.6em !important;
  font-weight: 500;
  color: #333;
}

/*--------------------------------------
  サイト全体のコンテンツ幅
--------------------------------------*/
.site-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

/*--------------------------------------
  在庫一覧 表デザイン
--------------------------------------*/
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #fff;
}
.table-scroll table th,
.table-scroll table td {
  padding: 8px 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  text-align: left;
}
.table-scroll table th {
  background-color: #fdf6d1;
}

/*--------------------------------------
  在庫一覧と会社概要の間にスペース
--------------------------------------*/
#stock {
  margin-bottom: 0 !important;
}
#stock::after {
  content: "";
  display: block !important;
  height: 100px !important;
}

/*--------------------------------------
  サイドバー（会社概要・お問い合わせ）ボックス化
--------------------------------------*/
.inventory-sidebar section {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.inventory-sidebar section h3 {
  margin-top: 0;
  font-size: 18px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

/*--------------------------------------
  在庫ページのレイアウト
--------------------------------------*/
.inventory-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
.inventory-sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.inventory-content {
  flex: 1;
  min-width: 600px;
}
.inventory-content h2 {
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  margin-top: 40px;
}

/*--------------------------------------
  在庫詳細ページのテーブルを整える
--------------------------------------*/
.product-spec {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 20px 0;
  font-size: 1rem;
}
.product-spec th,
.product-spec td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  line-height: 1.6;
  vertical-align: middle;
}
.product-spec th {
  background-color: #fff4cc;
  text-align: left;
  font-weight: bold;
  width: 180px;
}
.product-spec td {
  background-color: #fafafa;
}

/*--------------------------------------
  ギャラリーグリッド表示
--------------------------------------*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}

/*--------------------------------------
  FancyBox ← → ボタンを強制表示
--------------------------------------*/
.fancybox__nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.fancybox__button--arrow_left,
.fancybox__button--arrow_right {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 9999 !important;
}

/*--------------------------------------
  Simple Lightbox 安定＆残像対策
--------------------------------------*/
.slbContent img {
  max-width: none !important;
  width: auto !important;
  height: auto !important;
}
.slbLoading .slbImage {
  opacity: 0 !important;
}
.slbLoaded .slbImage {
  opacity: 1 !important;
  transition: opacity .15s ease;
}
.slbClosing .slbImage,
.slbClosing .slbImageWrap,
.slbClosing .slbContent {
  display: none !important;
  opacity: 0 !important;
}
.slbWrap,
.slbOuter,
.slbContent,
.slbImageWrap,
.slbImage {
  transition: none !important;
  transform: none !important;
}

/*--------------------------------------
  レスポンシブ対応（スマホ表示）
--------------------------------------*/
@media screen and (max-width: 768px) {
  .table-scroll table th,
  .table-scroll table td {
    font-size: 14px;
    padding: 8px;
    white-space: nowrap;
  }

  .table-scroll {
    margin-bottom: 20px;
  }

  .inventory-wrapper {
    flex-direction: column;
    padding: 10px;
  }

  .inventory-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .inventory-content {
    min-width: auto;
    width: 100%;
  }

  h2 {
    font-size: 18px;
    margin-top: 20px;
  }

  .sales-point p {
    font-size: 15px;
    line-height: 1.6;
    padding: 10px;
  }

  a {
    display: inline-block;
    padding: 10px 0;
    font-size: 16px;
  }

  button {
    font-size: 16px;
    padding: 10px 20px;
  }
}
@media screen and (max-width: 768px) {
  .site-name-text {
    font-size: 25px !important;
  }
}

.site-description {
  margin-bottom: 1px !important;
}

.site-title {
  margin-bottom: 1px !important;
}

/*/* 全体のラッパー（中央揃え＆余白） */
.custom-header-message {
  text-align: center;
  margin-top: 10px;
}

/* キャッチフレーズ */
.catchphrase {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 5px;
}

/* 会社名 */
.company-name {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
}
/* 説明文 */
.site-message {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
  line-height: 1.6;
  margin-top: 5px;
}

.custom-header-message {
  text-align: center !important;
  display: block;
  margin: 0 auto;
}
.catchphrase,
.company-name,
.site-message {
  display: inline-block;
  text-align: center;
}

.company-name {
  display: block;
  text-align: center;
  font-size: 2em; /* ← フォントサイズを大きく */
  font-weight: bold;
  margin: 0 auto;
  color: #fff; /* ← 青い帯の上なら白文字が映える */
}
.site-message {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  color: #000;
  line-height: 1.6;
  margin-top: 5px;
  margin-bottom: 20px; /* ← これが空白行の代わりになる */
}*/


body .tagline {
  font-weight: bold !important;
}
