@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;
}

.site-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

/*--------------------------------------
  在庫一覧 表デザイン
--------------------------------------*/
table {
  font-size: 13px;
  line-height: 1.2;
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

table th,
table td {
  padding: 4px 8px;
  border: 1px solid #ccc;
}

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;
}

/*--------------------------------------
  グレーの余白（gray-gap）調整
--------------------------------------*/
#gray-gap {
  height: 16px !important;
  min-height: 16px !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

#gray-gap .inner {
  width: 100%;
  max-width: 600px;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

#gray-gap .inner::after {
  content: "";
  display: block;
  height: 16px;
}

/*--------------------------------------
  前後セクションのマージン・パディング調整
--------------------------------------*/
.content-wrapper,
#contact {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#contact h3,
#contact form,
#contact .wpcf7 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/*--------------------------------------
  Contact Form 7 フォーム調整
--------------------------------------*/
.wpcf7 form p {
  margin-bottom: 6px !important;
}

.wpcf7 form label {
  margin-bottom: 4px !important;
  display: block !important;
  font-weight: bold;
}

.wpcf7-form-control-wrap {
  margin-bottom: 10px !important;
}

.wpcf7 form input,
.wpcf7 form textarea {
  margin-bottom: 0 !important;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

/*--------------------------------------
  横並びレイアウト（main-wrapper）
--------------------------------------*/
.main-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

/*--------------------------------------
  メディアクエリ（レスポンシブ）
--------------------------------------*/
@media screen and (max-width: 1023px) {
  /* 必要ならここに追記 */
}

@media screen and (max-width: 834px) {
  /* 必要ならここに追記 */
}

@media screen and (max-width: 480px) {
  /* 必要ならここに追記 */
}
/* 在庫詳細ページのテーブルを整える */
.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;
}
