@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================
   KOYULINK Contact Form 7
   ========================= */

.koyulink-cf7 {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px;
  background: #ffffff;
  border: 1px solid #ddd3c8;
  border-radius: 16px;
  box-sizing: border-box;
}

.koyulink-cf7 p {
  margin: 0 0 18px;
}

.koyulink-cf7 label {
  display: block;
  margin-bottom: 8px;
  color: #2e2a27;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.koyulink-cf7 .req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #b08a57;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: middle;
}

.koyulink-cf7 input[type="text"],
.koyulink-cf7 input[type="email"],
.koyulink-cf7 input[type="tel"],
.koyulink-cf7 select,
.koyulink-cf7 textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d9d0c5;
  border-radius: 10px;
  background: #fffdfb;
  color: #2e2a27;
  font-size: 15px;
  line-height: 1.7;
  -webkit-appearance: none;
  appearance: none;
}

.koyulink-cf7 select {
  background-image:
    linear-gradient(45deg, transparent 50%, #8a7a6a 50%),
    linear-gradient(135deg, #8a7a6a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.koyulink-cf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.koyulink-cf7 input::placeholder,
.koyulink-cf7 textarea::placeholder {
  color: #9b9288;
}

.koyulink-cf7 input:focus,
.koyulink-cf7 select:focus,
.koyulink-cf7 textarea:focus {
  outline: none;
  border-color: #b08a57;
  box-shadow: 0 0 0 3px rgba(176, 138, 87, 0.12);
  background: #ffffff;
}

.koyulink-cf7 input[type="submit"],
.koyulink-cf7 .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #a88452 0%, #c39a63 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.koyulink-cf7 input[type="submit"]:hover,
.koyulink-cf7 .wpcf7-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.koyulink-cf7 .wpcf7-spinner {
  margin: 12px 0 0;
}

.koyulink-cf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #c05757;
}

.koyulink-cf7 .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
  box-sizing: border-box;
}

/* スマホ調整 */
@media (max-width: 959px) {
  .koyulink-cf7 {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .koyulink-cf7 label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .koyulink-cf7 input[type="text"],
  .koyulink-cf7 input[type="email"],
  .koyulink-cf7 input[type="tel"],
  .koyulink-cf7 select,
  .koyulink-cf7 textarea {
    font-size: 14px;
    padding: 11px 12px;
  }

  .koyulink-cf7 select {
    padding-right: 36px;
  }

  .koyulink-cf7 textarea {
    min-height: 150px;
  }

  .koyulink-cf7 input[type="submit"],
  .koyulink-cf7 .wpcf7-submit {
    font-size: 15px;
    padding: 14px 18px;
  }

  .koyulink-cf7 .req {
    font-size: 10px;
    padding: 2px 6px;
  }
}