/* =========================
  Contact Page
========================= */
.tk-contact {
  padding: clamp(32px, 5vw, 72px) 0;
}

.tk-contact__head {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.tk-contact__title {
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.tk-contact__lead {
  margin: 0 0 16px;
  line-height: 1.9;
  color: rgba(0,0,0,.75);
}

.tk-contact__info {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(0,0,0,.02);
}

.tk-contact__infoRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: baseline;
  padding: 6px 0;
}

.tk-contact__infoLabel {
  font-weight: 700;
  min-width: 72px;
}

.tk-contact__tel {
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.25);
}

.tk-contact__infoSub {
  color: rgba(0,0,0,.65);
}

/* =========================
  Form (Recruit-like)
========================= */
.tk-form {
  margin-top: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.tk-form__grid {
  display: grid;
  gap: 18px;
}

.tk-form__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: start;
}

.tk-form__label {
  font-weight: 700;
  line-height: 1.5;
  padding-top: 10px;
}

.tk-form__req {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
}

.tk-form__field {
  min-width: 0;
}

.tk-form__control {
  width: 100%;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.tk-form__control:focus {
  border-color: rgba(0,0,0,.45);
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}

.tk-form__control--textarea {
  resize: vertical;
  min-height: 180px;
}

.tk-form__hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(0,0,0,.62);
  line-height: 1.6;
}

.tk-form__radios {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.tk-form__radio,
.tk-form__check {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  line-height: 1.6;
}

.tk-form__radio input,
.tk-form__check input {
  width: 18px;
  height: 18px;
}

.tk-form__row--message .tk-form__label {
  padding-top: 8px;
}

.tk-form__actions {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: .02em;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  cursor: pointer;
}

.tk-btn--primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

.tk-btn--primary:hover {
  filter: brightness(1.05);
}

.tk-form__note {
  margin: 0;
  font-size: 13px;
  color: rgba(0,0,0,.65);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .tk-form__row {
    grid-template-columns: 1fr;
  }
  .tk-form__label {
    padding-top: 0;
  }
  .tk-contact__infoLabel {
    min-width: auto;
  }
}

.tk-btn:disabled {
  background: #bbb;
  border-color: #bbb;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}
.tk-btn {
  transition: all .2s ease;
}

.tk-form .wpcf7-form-control-wrap{
  display:block;
  width:100%;
}

.tk-form .wpcf7-radio .wpcf7-list-item{
  margin:0 20px 0 0;
}

.tk-form .wpcf7-radio .wpcf7-list-item label{
  display:flex;
  align-items:center;
  gap:8px;
}

.tk-form .wpcf7-list-item{
  margin-left:0;
}

.tk-form .wpcf7-not-valid-tip{
  margin-top:8px;
  font-size:14px;
}

.tk-form .wpcf7-spinner{
  display:block;
  margin:12px auto 0;
}

/* =========================
   Contact Form 7 調整
========================= */

/* CF7の自動ラッパーをブロック化 */
.tk-form .wpcf7-form-control-wrap{
  display:block;
  width:100%;
}

/* 念のため */
.tk-form__field{
  width:100%;
}

/* input / select / textarea 共通 */
.tk-form .tk-form__control,
.tk-form input[type="text"],
.tk-form input[type="email"],
.tk-form input[type="tel"],
.tk-form select,
.tk-form textarea{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  font:inherit;
}

/* textareaがバカでかくなるのを防ぐ */
.tk-form textarea,
.tk-form .tk-form__control--textarea{
  display:block;
  width:100%;
  min-height:220px;
  height:220px;
  max-height:none;
  resize:vertical;
  line-height:1.8;
  padding:18px 20px;
}

/* CF7のpタグ余白対策 */
.tk-form p{
  margin:0;
}

.tk-form__field > p + p,
.tk-form__field .tk-form__hint{
  margin-top:10px;
}

/* =========================
   ラジオボタン
========================= */
.tk-form .wpcf7-radio{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}

.tk-form .wpcf7-radio .wpcf7-list-item{
  margin:0;
}

.tk-form .wpcf7-radio .wpcf7-list-item label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}

/* =========================
   プライバシー同意
========================= */

/* acceptance全体 */
.tk-form .wpcf7-acceptance{
  display:block;
}

.tk-form .wpcf7-acceptance .wpcf7-list-item{
  margin:0;
  display:block;
}

.tk-form .wpcf7-acceptance .wpcf7-list-item label{
  display:flex;
  align-items:flex-start;
  gap:14px;
  cursor:pointer;
}

/* チェックボックス */
.tk-form .wpcf7-acceptance input[type="checkbox"]{
  width:28px;
  height:28px;
  min-width:28px;
  margin:2px 0 0;
  accent-color:#222;
}

/* 同意文 */
.tk-form__check{
  display:block;
}

.tk-form__check > .wpcf7-form-control-wrap{
  width:100%;
}

.tk-form__check .wpcf7-list-item-label{
  display:inline;
  line-height:1.8;
  font-size:16px;
  word-break:keep-all;
  overflow-wrap:break-word;
}

/* 「必須」を文章のすぐ横に */
.tk-form__check .tk-form__req{
  display:inline-flex;
  margin-left:10px;
  vertical-align:middle;
}

/* =========================
   エラー文
========================= */
.tk-form .wpcf7-not-valid-tip{
  margin-top:8px;
  font-size:14px;
  line-height:1.6;
}

.tk-form .wpcf7-response-output{
  margin:20px 0 0;
}

/* =========================
   SP
========================= */
@media (max-width: 767px){

  .tk-form textarea,
  .tk-form .tk-form__control--textarea{
    min-height:180px;
    height:180px;
    padding:14px 16px;
  }

  .tk-form .wpcf7-acceptance .wpcf7-list-item label{
    gap:12px;
  }

  .tk-form .wpcf7-acceptance input[type="checkbox"]{
    width:24px;
    height:24px;
    min-width:24px;
  }

  .tk-form__check .wpcf7-list-item-label{
    font-size:15px;
    line-height:1.7;
  }
}

.tk-form__agree-text{
  display:inline-block;
  line-height:1.8;
}

/* プライバシー同意 行 */
.tk-form__check{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:nowrap;
}

.tk-form__check .wpcf7-form-control-wrap{
  display:inline-flex;
  width:auto;
  flex:0 0 auto;
}

.tk-form .wpcf7-acceptance{
  display:inline-flex;
}

.tk-form .wpcf7-acceptance .wpcf7-list-item{
  margin:0;
}

.tk-form .wpcf7-acceptance input[type="checkbox"]{
  width:24px;
  height:24px;
  min-width:24px;
  margin:0;
}

.tk-form__agree-text{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  line-height:1.6;
}

.tk-form__agree-text .tk-form__req{
  margin-left:0;
  flex:0 0 auto;
}