/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 06 2025 | 07:46:35 */
label.up_link {
  display: block;
  cursor: pointer;
  background: #333;
  color: #fff;
  font-size: 1.5em;
  line-height: 3;
  text-align: center;
}
.up_link::before{
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  content: "\f030";
  margin-right: .3em;
}
label.up_link + img{
  width: 100%;
}
label.up_link input{
  display: none;
}

.contact_table td .form_line{
	border: dashed 2px #ccc !important;
	padding:15px 10px;
	margin-bottom:30px;
}



.img_form {
  position: relative;
  width: 300px;
	margin:auto;

  }
.img_form img {
    max-height: 200px; /* 画像の最大高さを指定 */
    width: auto; /* 幅は画像の比率に合わせて調整 */
    object-fit: contain; /* 画像の比率を保ちながら調整 */
	margin: 0 !important;
}
a.del{
  text-decoration: none;
}
a.del::after{
  position: absolute;
  top: 9px;
  right: 9px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f057";
  font-size: 1.5em;
  color: #000;
}
a.del::before{
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 1.8em;
  height: 1.8em;
  background: #fff;
  border-radius: 50%;
}
.sp {
	font-size:90%;
	margin:5px 0;
}


@media(min-width:751px){
    .sp{
        display: none !important;
    }
.contact_table td{
	position:relative;
}
.contact_table td .form_line {
    position: absolute !important;
    top: 10%;
    left: 20%;
	right: 20%;
	bottom: 10%;
     box-sizing: border-box; /* ボーダーも含めてサイズ調整 */
	width: calc(100% - 40%); /* 左右の余白分を引いた幅 */
	height: calc(100% - 20%); /* 左右の余白分を引いた幅 */
	display: flex; /* フレックスボックスに設定 */
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
	margin-bottom:0;
}
}
	@media(max-width:750px){
    .pc{
        display: none !important;
    }
	
		
}
@media all and (min-width:768px) and (max-width: 1203px) {
	.contact_table th p{font-size:80% !important;}
}
/* ========================================
     送信完了後のフォーム非表示
 ========================================= */
.sent .general {
display: none;
}


/* ========================================
   分類別お問い合わせフォーム
========================================= */

/* --- ラジオボタンを非表示にする --- */
.choice input[type="radio"] {
  display: none;
}

/* ラジオボタングループ全体 */
.choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  grid-auto-rows: auto;
  gap: 2em;
  width: fit-content;        /* コンテンツ幅に合わせる */
  margin: 0 0 2em 0;         /* 左寄せにする */
  justify-content: start;    /* グリッド自体を左寄せ */
  padding-left:2em;
}


/* 各ラベルのスタイル */
.choice label {
  display: flex;
  flex-direction: column; /* 画像の下にテキスト */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
}

/* ラベル内の画像を指定（必要に応じてURL変更） */
.choice .wpcf7-list-item-label::before {
  content: "";
  display: block; /* 縦並びにする */
  width: 150px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 2px solid transparent;
  margin: 0 auto 0.5em;

  filter: grayscale(100%);
  transition: all 0.3s;
}
/* 各画像設定 */
.choice .wpcf7-list-item:nth-child(1) .wpcf7-list-item-label::before {
  background-image: url('https://kaitori-taiya.com/wpx/wp-content/uploads/2025/10/dbe123d8ff3e2f8308487c5d7913e63f.jpg');
}
.choice .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::before {
  background-image: url('https://kaitori-taiya.com/wpx/wp-content/uploads/2025/10/11d5b15979fee6394a53a3dd55724dd8.jpg');
}
.choice .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label::before {
  background-image: url('https://kaitori-taiya.com/wpx/wp-content/uploads/2025/10/74913e6c8a33d87f6792a9218e5fe068.jpg');
}
.choice .wpcf7-list-item:nth-child(4) .wpcf7-list-item-label::before {
  background-image: url('https://kaitori-taiya.com/wpx/wp-content/uploads/2025/10/5b4a7aa30ba612da7415b4143ef0dbd0.jpg');
}
.choice .wpcf7-list-item:nth-child(5) .wpcf7-list-item-label::before {
  background-image: url('https://kaitori-taiya.com/wpx/wp-content/uploads/2025/10/162f67f4d0af2e514424593b05676ebc.jpg');
}

/* ホバーでカラー＆拡大 */
.choice .wpcf7-list-item-label:hover::before,
.choice input[type="radio"]:checked + .wpcf7-list-item-label::before {
  filter: grayscale(0%);
  transform: scale(1.05);
  border-color: #007bff;
}


/* テキスト */
.choice .wpcf7-list-item-label {
  font-size: 1em;
	font-weight:700;
}
/* --- スマホ用（768px以下） --- */
@media screen and (max-width: 768px) {
  .choice {
    grid-template-columns: repeat(2, 1fr); /* 1行2列 */
    gap: 0.8em; /* 少し余白を調整 */
	padding-left:1em;
  }
}



/* 商品詳細フォーム ---------------------*/
.type-form{
   width:100%;
  margin: 0 auto 2em;
  padding: 1.5em;
 
  border-radius: 8px;
}
.product-contents ,.customer-form{
   width:100%;
  margin: 0 auto 2em;
  padding: 1.5em;
  background-color: #f9f9f9;
  border-radius: 8px;
}
.type-form h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
 border-bottom:3px solid #000;

}

.product-contents h2 ,.customer-form h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
 border-bottom:3px solid #000;
}


.form-row ,.form-row-file{
  display: flex;
  align-items: center;
  margin-bottom: 1.2em;
}

.form-row label {
  display: inline-block;
  width: 200px;           /* ラベル幅を統一 */
  font-weight: bold;
  color: #444;
  margin-right: 1em;
  flex-shrink: 0;         /* ラベルが縮まないように */
}
.form-row-file .file-right{
	width:100%;
}
.form-row-file .form_line{
	width:50%;
	border: dashed 2px #ccc !important;
	padding:60px 10px;
	margin:30px auto ;
}
.form-row-file .form_line .up_link {
  display: flex;
  cursor: pointer;
  background: #333;
  color: #fff;
  font-size: 1.5em;
   align-items: center;
  justify-content: center;
  line-height:1em;

	text-align:center;
  }
.form-row-file .form_line .up_link::before{
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  content: "\f030";
  margin-right: .3em;
}
.required {
  color: #e74c3c;
  font-size: 0.9em;
  margin-left: 0.5em;
}

.form-control {
  flex: 1;
}

.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  box-sizing: border-box;
}

/* 画像付きの行も form-row と同じ扱いにする */
.product-contents .file-upload-row {
  width: 100%;
}
/* 左列（画像あり・なし共通） */
.product-contents .form-left,
.product-contents .file-left {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  box-sizing: border-box;
}
/* 画像サイズを固定して行の高さを安定させる */
.product-contents .file-left img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: contain;
 }


/* 必須マーク */
.required {
  color: #fff;
	background-color:#e74c3c;
  font-size: 0.8m;
  margin-left: 0.5em;
  padding: 0 .5em .2em;
  border-radius: 3px;	  
}
/* 円をフォームの右 */
.form-control.form-inline {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: nowrap;
}

.form-control.form-inline .input-wrapper {
  flex: 1;
  min-width: 0;
}

.form-control.form-inline .input-wrapper input[type="text"] {
  width: 100%;
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  box-sizing: border-box;
}

.unit {
  white-space: nowrap;
  font-size: 1em;
 }



/* スマホ対応 */
@media screen and (max-width: 600px) {
.form-row ,.form-row-file{
    flex-direction: column;
    align-items: flex-start;
  }

  .customer-form .form-row label {
    width: 100%;
    margin-bottom: 0.5em;
  }

  .customer-form .form-control {
    width: 100%;
  }
	.product-contents .file-left{
		width:100%;
	}
	.product-contents .file-left img {
    width: 100%;
    max-width: 100%;
    height: auto;
	}
	
	.form-row-file .form_line{
	width:100%;
	padding:30px 10px;

}

}


/* 上の情報欄 */

.group-contact-column {
	background-color:#f7f7f7;
	 padding:1em;
}
