@charset "UTF-8";
/* Farm/buy デザイントークン
-----------------------------------------------------------------*/
/* イージング
-----------------------------------------------------------------*/
/* デュレーション
-----------------------------------------------------------------*/
/* ============================================================
   企業サイト お問い合わせ / プライバシー / 404 共通CSS
   ark_company/assets/company-contact-legal.css を忠実移植。
   ・色/フォント/.cta/.phead/.breadcrumb は company_common.css
   ・読み込み順: common → company_common → 本CSS
============================================================ */
/* ---- ページの土台 ---- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  font-family: var(--gothic);
  color: var(--text-body);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.p-contact,
.p-legal,
.p-error {
  background: var(--paper);
  font-family: var(--gothic);
  color: var(--ink);
}

/* ============ ページ見出し ============ */
.phead .phead__en {
  display: block;
  margin-top: 16px;
}

/* ============ 白パネル共通（フォーム/法務） ============ */
.p-contact-form,
.p-legal-body {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 96px var(--gutter) 128px;
}

.p-contact-form__panel,
.p-legal-body__panel {
  background: #fff;
  padding: 80px 96px 96px;
  border-radius: 6px;
}

/* ============ ステップ（1 入力 → 2 確認 → 3 完了） ============ */
.c-formSteps {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
}

.c-formSteps::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 30px;
  left: 30px;
  height: 1px;
  background: var(--line);
}

.c-formSteps__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-formSteps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--line);
  color: #fff;
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
}

.c-formSteps__label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.c-formSteps__item.is-active .c-formSteps__num,
.c-formSteps__item.is-done .c-formSteps__num {
  background: var(--enji);
}

.c-formSteps__item.is-active .c-formSteps__label,
.c-formSteps__item.is-done .c-formSteps__label {
  color: var(--ink);
}

/* ============ リード + 注意書き ============ */
.p-contact-form__notes {
  margin-bottom: 48px;
}

.p-contact-form__notesLead {
  text-align: center;
  font-family: var(--gothic);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.p-contact-form__notesList {
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.p-contact-form__notesList li {
  padding-left: 1.4em;
  text-indent: -1.4em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ============ フォーム本体 ============ */
.c-form {
  width: 100%;
}

.c-form__row {
  display: flex;
  gap: 24px;
}

.c-form__group {
  flex: 1;
  margin-bottom: 32px;
}

.c-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.c-form__label.is-required::before {
  content: "*";
  color: var(--enji);
  font-size: 15px;
  line-height: 1;
}

.c-form__optional {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.c-form__control {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.c-form__control::-moz-placeholder {
  color: #999;
  font-size: 14px;
}

.c-form__control::placeholder {
  color: #999;
  font-size: 14px;
}

.c-form__control:focus {
  border-color: var(--enji);
}

textarea.c-form__control {
  height: auto;
  min-height: 200px;
  padding: 16px 20px;
  line-height: 1.8;
  resize: vertical;
}

.c-form__select {
  position: relative;
}

.c-form__select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

select.c-form__control {
  padding-right: 48px;
  cursor: pointer;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}

/* 同意チェック */
.c-form__agree {
  margin: 40px 0 32px;
  text-align: center;
}

.c-form__agreeLabel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
  cursor: pointer;
}

.c-form__agreeCheck {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--muted);
  cursor: pointer;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}

.c-form__agreeCheck:checked {
  background: var(--enji);
  border-color: var(--enji);
}

.c-form__agreeCheck:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.c-form__agreeLink {
  color: var(--ink);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.c-form__agreeLink:hover {
  color: var(--enji);
}

/* 送信/戻る ボタン列 */
.c-form__submit {
  text-align: center;
  display: flex;
  justify-content: center;
}

.c-form__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.cta--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--text);
}

.cta--ghost svg {
  stroke: var(--text);
}

.cta--ghost:hover {
  background: var(--text);
  color: #fff;
}

.cta--ghost:hover svg {
  stroke: #fff;
}

/* ============ 確認画面：入力内容レビュー ============ */
.c-form__review {
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
}

.c-form__reviewRow {
  display: flex;
  gap: 24px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
}

.c-form__reviewLabel {
  flex-shrink: 0;
  width: 200px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.c-form__reviewValue {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ============ CF7既存マークアップの企業フォーム用表示 ============ */
.p-contact-form__body .contact-main,
.p-contact-form__body .contact-main-inner,
.p-contact-form__body .contact-main-content,
.p-contact-form__body .inner,
.p-contact-form__body .form-container {
  width: 100%;
}

.p-contact-form__body .form-table {
  border-top: 1px solid var(--line);
}

.p-contact-form__body .form-tr {
  border-bottom: 1px solid var(--line);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-contact-form__body .form-tr {
    display: block;
    padding: 20px 0;
  }
}
@media print, screen and (min-width:1024px) and (orientation: landscape), screen and (min-width:1025px) {
  .p-contact-form__body .form-tr {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
    padding: 24px 8px;
  }
}

.p-contact-form__body .form-th {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-contact-form__body .form-th {
    margin-bottom: 10px;
    font-size: 14px;
  }
}
@media print, screen and (min-width:1024px) and (orientation: landscape), screen and (min-width:1025px) {
  .p-contact-form__body .form-th {
    font-size: 15px;
  }
}

.p-contact-form__body .form-th.require > span::before {
  margin-right: 8px;
  color: var(--enji);
  content: "*";
}

.p-contact-form__body .form-th.arbitrary > span::after {
  margin-left: 8px;
  color: var(--muted);
  content: "任意";
  font-size: 12px;
  font-weight: 400;
}

.p-contact-form__body .form-td,
.p-contact-form__body .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

.p-contact-form__body input[type=text],
.p-contact-form__body input[type=email],
.p-contact-form__body input[type=tel],
.p-contact-form__body select,
.p-contact-form__body textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s ease;
}

.p-contact-form__body input[type=text],
.p-contact-form__body input[type=email],
.p-contact-form__body input[type=tel],
.p-contact-form__body select {
  height: 52px;
  padding: 0 20px;
}

.p-contact-form__body textarea {
  min-height: 200px;
  padding: 16px 20px;
  resize: vertical;
}

.p-contact-form__body input[type=text]::-moz-placeholder, .p-contact-form__body input[type=email]::-moz-placeholder, .p-contact-form__body input[type=tel]::-moz-placeholder, .p-contact-form__body textarea::-moz-placeholder {
  color: #999;
  font-size: 14px;
}

.p-contact-form__body input[type=text]::placeholder,
.p-contact-form__body input[type=email]::placeholder,
.p-contact-form__body input[type=tel]::placeholder,
.p-contact-form__body textarea::placeholder {
  color: #999;
  font-size: 14px;
}

.p-contact-form__body input[type=text]:focus,
.p-contact-form__body input[type=email]:focus,
.p-contact-form__body input[type=tel]:focus,
.p-contact-form__body select:focus,
.p-contact-form__body textarea:focus {
  border-color: var(--enji);
}

.p-contact-form__body .select-box {
  position: relative;
}

.p-contact-form__body .select-box::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.p-contact-form__body .select-box select {
  padding-right: 48px;
  cursor: pointer;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}

.p-contact-form__body .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: var(--enji);
  font-size: 13px;
  line-height: 1.6;
}

.p-contact-form__body .wpcf7-not-valid {
  border-color: var(--enji);
}

.p-contact-form__body .accept-box {
  margin: 40px 0 32px;
  text-align: center;
}

.p-contact-form__body .accept-box .wpcf7-list-item {
  margin: 0;
}

.p-contact-form__body .accept-box label {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
}

.p-contact-form__body .accept-box input[type=checkbox] {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}

.p-contact-form__body .accept-box input[type=checkbox]:checked {
  border-color: var(--enji);
  background: var(--enji);
}

.p-contact-form__body .accept-box input[type=checkbox]:checked::after {
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.p-contact-form__body .accept-box a {
  color: var(--ink);
  text-decoration: underline;
}

.p-contact-form__body .submit-box,
.p-contact-form__body .c-form_submit {
  display: flex;
  justify-content: center;
}

.p-contact-form__body .submit-inner {
  width: 100%;
  text-align: center;
}

.p-contact-form__body .c-form_submitBtn,
.p-contact-form__body .c-form_backBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border-radius: 10px;
  font-family: var(--gothic);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-contact-form__body .c-form_submitBtn,
  .p-contact-form__body .c-form_backBtn {
    width: 100%;
    min-width: 0;
    max-width: 327px;
    height: 64px;
    font-size: 14px;
  }
}
@media print, screen and (min-width:1024px) and (orientation: landscape), screen and (min-width:1025px) {
  .p-contact-form__body .c-form_submitBtn,
  .p-contact-form__body .c-form_backBtn {
    width: auto;
    min-width: 294px;
    max-width: none;
    height: 72px;
    font-size: 16px;
  }
}

.p-contact-form__body .c-form_submitBtn {
  border: 0;
  background: var(--text);
  color: #fff;
  transition: background 0.2s ease;
}

.p-contact-form__body .c-form_submitBtn:hover {
  background: var(--enji);
}

.p-contact-form__body .c-form_backBtn {
  border: 1px solid var(--text);
  background: #fff;
  color: var(--text);
  transition: color 0.2s ease, background 0.2s ease;
}

.p-contact-form__body .c-form_backBtn:hover {
  background: var(--text);
  color: #fff;
}

.p-contact-form__body .google-captcha-notice {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.p-contact-form__body .google-captcha-notice a {
  text-decoration: underline;
}

.p-contact-form__body .c-form_static {
  margin-bottom: 32px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.9;
  text-align: center;
}

.p-contact-form__body .c-form_confirm {
  margin: 0 0 48px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.p-contact-form__body .c-form_confirmRow {
  border-bottom: 1px solid var(--line);
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-contact-form__body .c-form_confirmRow {
    display: block;
    padding: 16px 4px;
  }
}
@media print, screen and (min-width:1024px) and (orientation: landscape), screen and (min-width:1025px) {
  .p-contact-form__body .c-form_confirmRow {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
    padding: 24px 8px;
  }
}

.p-contact-form__body .c-form_confirmLabel {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-contact-form__body .c-form_confirmLabel {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
  }
}
@media print, screen and (min-width:1024px) and (orientation: landscape), screen and (min-width:1025px) {
  .p-contact-form__body .c-form_confirmLabel {
    font-size: 15px;
  }
}

.p-contact-form__body .c-form_confirmValue {
  min-width: 0;
  margin: 0;
  color: var(--text-body);
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-contact-form__body .c-form_confirmValue {
    font-size: 15px;
  }
}
@media print, screen and (min-width:1024px) and (orientation: landscape), screen and (min-width:1025px) {
  .p-contact-form__body .c-form_confirmValue {
    font-size: 16px;
  }
}

.p-contact-form__body .c-form_actions {
  display: flex;
  justify-content: center;
}
@media print, screen and (max-width:1023px), screen and (min-width:1024px) and (max-width:1024px) and (orientation: portrait) {
  .p-contact-form__body .c-form_actions {
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
  }
}
@media print, screen and (min-width:1024px) and (orientation: landscape), screen and (min-width:1025px) {
  .p-contact-form__body .c-form_actions {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }
}

.p-contact-form__body .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-color: var(--enji);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ 完了：ボタンラッパ ============ */
.c-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* ============ プライバシー本文 ============ */
.p-legal-body__lead {
  margin-bottom: 56px;
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: 0.04em;
  color: var(--text-body);
}

.p-legal-body__section + .p-legal-body__section {
  margin-top: 48px;
}

.p-legal-body__heading {
  margin-bottom: 24px;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--ink);
}

.p-legal-body__text {
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: 0.04em;
  color: var(--text-body);
}

.p-legal-body__text + .p-legal-body__text {
  margin-top: 16px;
}

.p-legal-body__list {
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.p-legal-body__list li {
  position: relative;
  padding-left: 1.3em;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--text-body);
}

.p-legal-body__list li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--enji);
}

.p-legal-body__list li + li {
  margin-top: 8px;
}

.p-legal-body__office {
  margin-top: 24px;
  padding: 24px 32px;
  background: var(--paper);
  border-radius: 6px;
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: 0.04em;
  color: var(--text-body);
}

.p-legal-body__office dt {
  font-weight: 700;
  color: var(--ink);
}

.p-legal-body__office dd {
  margin: 0;
}

/* ============ 404 本文 ============ */
.p-error-body {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 176px var(--gutter) 128px;
  text-align: center;
}

.p-error-body__code {
  font-family: var(--mono);
  font-size: 120px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--line);
}

.p-error-body__title {
  margin-top: 24px;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.p-error-body__text {
  margin-top: 24px;
  font-size: 16px;
  line-height: var(--lh-body);
  letter-spacing: 0.04em;
  color: var(--text-body);
}

.p-error-body__actions {
  margin-top: 48px;
}

/* ==================== RESPONSIVE (≤1023px) ==================== */
@media (max-width: 1023px) {
  .phead .phead__en {
    margin-top: 12px;
  }
  .p-contact-form,
  .p-legal-body {
    padding: 48px var(--edge) 80px;
  }
  .p-contact-form__panel,
  .p-legal-body__panel {
    padding: 40px 24px 56px;
  }
  .c-formSteps {
    max-width: 320px;
    margin-bottom: 40px;
  }
  .c-formSteps::before {
    top: 24px;
    right: 24px;
    left: 24px;
  }
  .c-formSteps__num {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .c-formSteps__label {
    margin-top: 8px;
    font-size: 12px;
  }
  .p-contact-form__notes {
    margin-bottom: 32px;
  }
  .p-contact-form__notesLead {
    font-size: 14px;
  }
  .p-contact-form__notesLead br {
    display: none;
  }
  .p-contact-form__notesList li {
    font-size: 12px;
  }
  .c-form__row {
    display: block;
  }
  .c-form__group {
    margin-bottom: 24px;
  }
  .c-form__label {
    font-size: 14px;
  }
  .c-form__agreeLabel span {
    text-align: left;
  }
  .c-form__actions {
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
  }
  .c-form__review {
    margin-bottom: 32px;
  }
  .c-form__reviewRow {
    flex-direction: column;
    gap: 6px;
    padding: 16px 4px;
  }
  .c-form__reviewLabel {
    width: auto;
    font-size: 13px;
  }
  .c-form__reviewValue {
    margin-left: 0;
    font-size: 15px;
  }
  .p-legal-body__lead {
    margin-bottom: 40px;
    font-size: 14px;
  }
  .p-legal-body__section + .p-legal-body__section {
    margin-top: 40px;
  }
  .p-legal-body__heading {
    font-size: 19px;
  }
  .p-legal-body__text,
  .p-legal-body__list li {
    font-size: 14px;
  }
  .p-legal-body__office {
    padding: 24px;
    font-size: 14px;
  }
  .p-legal-body__panel {
    padding: 40px 24px 40px;
  }
  .p-error-body {
    padding: 160px var(--edge) 88px;
  }
  .p-error-body__code {
    font-size: 84px;
  }
  .p-error-body__title {
    margin-top: 24px;
    font-size: 22px;
  }
  .p-error-body__text {
    margin-top: 24px;
    font-size: 14px;
  }
  .p-error-body__actions {
    margin-top: 40px;
  }
}