/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 26 2026 | 05:00:54 */
/* ========================================
     バナーエリア
 ========================================= */
.banner-title {
  margin-top: 7em;
}

.contact-section {
  text-align: center;
  margin: 1em auto 3em;
  padding: 1em;
  background-color: #f9f8cb !important;
}

.contact-tel {
  margin-bottom: 15px;
}

.contact-bottom {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.contact-bottom img {
  max-width: 100%;
  height: auto;
}

.contact-mail img {
  width: 100%;
  max-width: 480px;
}

.contact-line img {
  margin-top: .2em;
}

@media (max-width: 600px) {
  .contact-bottom {
    flex-direction: column;
    gap: 10px;
  }
	.wp-block-image.mihon{
		margin-bottom:0 !important;
	}
	.contact-section {
  margin: 1em auto 1em;
}
}

/* ---------------------------------------- */
.article-body p {
  margin-bottom: .8em;
}
:where(.wp-block-columns) {
    margin-bottom: 0;
}
.wp-block-column{
	padding-bottom:0;
}
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: 270px;
  margin: auto;
}

.form_line .img_form img {
  max-height: 200px;
  width: 100%;
  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;
}

.thanks-image {
  margin-top: 5em;
  margin-bottom: 2em;
}

/* PC 表示 */
@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;
  }
}

/* SP 表示 */
@media (max-width: 750px) {
  .pc { display: none !important; }
}

/* tablet 調整 */
@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(5, 1fr);
  
  width: fit-content;
  margin: 0 0 2em 0;
  justify-content: start;
  padding-left: .5em;
}

.choice label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
}

.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('http://taiya-kaitoriget.com/forms/wp-content/uploads/2026/01/dbe123d8ff3e2f8308487c5d7913e63f.jpg');
}
.choice .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::before {
  background-image: url('http://taiya-kaitoriget.com/forms/wp-content/uploads/2026/01/11d5b15979fee6394a53a3dd55724dd8.jpg');
}
.choice .wpcf7-list-item:nth-child(3) .wpcf7-list-item-label::before {
  background-image: url('http://taiya-kaitoriget.com/forms/wp-content/uploads/2026/01/74913e6c8a33d87f6792a9218e5fe068.jpg');
}
.choice .wpcf7-list-item:nth-child(4) .wpcf7-list-item-label::before {
  background-image: url('http://taiya-kaitoriget.com/forms/wp-content/uploads/2026/01/5b4a7aa30ba612da7415b4143ef0dbd0.jpg');
}
.choice .wpcf7-list-item:nth-child(5) .wpcf7-list-item-label::before {
  background-image: url('http://taiya-kaitoriget.com/forms/wp-content/uploads/2026/01/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;
}
.kakunin span{
		font-size:1.5em;
	}

@media screen and (max-width: 768px) {
  .choice {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8em;
    padding-left: 0;
  }
  .wpcf7-list-item {
    margin: 0;
    font-size: .9em;
    line-height: 1.3em;
  }
.kakunin span{
		font-size:1em;
	}
}

/* 商品詳細フォーム --------------------- */
.keni-section h2 {
  margin-top: 0 !important;
}

.type-form,
.product-contents,
.customer-form {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 8px;
}

.type-form h2,
.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: 70%;
  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: #fff;
  background-color: #e74c3c;
  font-size: 0.8em;
  margin-left: 0.5em;
  padding: .3em .5em .2em;
  border-radius: 3px;
}

.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;
}

/* ファイルアップロードエリア */
.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;
}

.product-contents .file-left img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: contain;
}

/* 円の単位 */
.form-control.form-inline {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.form-control.form-inline .input-wrapper {
  flex: 1;
}

.form-control.form-inline .input-wrapper input[type="text"] {
  width: 100%;
}

.unit {
  white-space: nowrap;
}

/* スマホ */
@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;
}

.group-contact-column p,
.wp-block-list li {
  line-height: 1.5em;
}

.doui {
  text-align: center;
  margin: 3em auto 2em;
}

.form_bottom_btn .submit_btn input {
  background-color: #006a00;
  display: block;
  width: 216px;
  height: 61px;
  margin: 0 auto;
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
}

@media screen and (max-width: 400px) {
  .form_bottom_btn .submit_btn input {
    width: 80%;
    height: auto;
	  padding:.5em;
  }
}
