@charset "utf-8";
/* ==========================================================================
   contact.css — お問い合わせ共通（page-contact.php）
   カンプ⑪⑫⑬（1920px）実測：
     見出し x80 / y218
     サイド x81–440（幅360）
     本文カード x726–1519（幅794）
   ========================================================================== */

body:has(.p-contact) {
  overflow-x: clip;
}

.p-contact {
  position: relative;
  background: var(--c-bg);
  overflow: hidden;
  padding-bottom: clamp(80px, 8vw, 160px);
}

.p-contact__mark {
  position: absolute;
  z-index: 0;
  top: clamp(-20px, 2vw, 40px);
  right: clamp(-40px, 2vw, 80px);
  width: clamp(320px, 38vw, 720px);
  height: auto;
  opacity: .28;
  pointer-events: none;
  user-select: none;
}

.p-contact__head {
  position: relative;
  z-index: 1;
  padding-top: clamp(40px, 3.5vw, 68px);
  padding-bottom: clamp(28px, 2.6vw, 50px);
}

.p-contact__title {
  font-weight: 300;
  font-size: clamp(48px, 6vw, 70px);
  line-height: 1.1;
  letter-spacing: .04em;
  color: #3E3E3E;
}

.p-contact__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-size: var(--fz-base);
  font-weight: 700;
  color: var(--c-text-strong);
}

.p-contact__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  column-gap: clamp(32px, 14.9vw, 286px);
}

@media screen and (max-width: 1199px) {
  .p-contact__body {
    column-gap: 80px;
  }
}

/* --------------------------------------------------------------------------
   左サイドナビ（3ページ共通）
   -------------------------------------------------------------------------- */
.p-contact-side {
  width: 360px;
  flex-shrink: 0;
  padding: 8px 28px 12px;
  background: var(--c-white);
}

@media screen and (min-width: 1200px) {
  .p-contact-side {
    position: sticky;
    top: calc(var(--header-h-compact) + 24px);
  }
}

@media screen and (max-width: 767px) {
.p-contact-side {
    display: none;
  }
}

.p-contact-side__item {
  border-bottom: 1px solid var(--c-line);
}

.p-contact-side__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--c-text);
  transition: color var(--dur) var(--ease);
}

.p-contact-side__link:hover {
  color: var(--c-accent);
}

.p-contact-side__link[aria-current="page"] {
  font-weight: 700;
  color: var(--c-accent);
}

.p-contact-side__dot {
  width: 16px;
  height: 16px;
  background:
    radial-gradient(circle, var(--c-white) 0 2.5px, transparent 3px),
    var(--c-accent);
}

/* --------------------------------------------------------------------------
   本文カード
   -------------------------------------------------------------------------- */
.p-contact__main {
  width: min(794px, calc(100% - 360px - clamp(32px, 14.9vw, 286px)));
  min-width: 0;
  padding: 56px 58px 80px;
  background: var(--c-white);
}

@media screen and (max-width: 1199px) {
  .p-contact__main {
    width: 100%;
    padding: 40px 40px 60px;
  }
}

@media screen and (max-width: 767px) {
  .p-contact__main {
    padding: 20px 20px 40px;
  }
}


.p-contact__main .entry-content {
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--c-text);
}

.p-contact__main .entry-content > *:first-child {
  margin-top: 0;
}

.p-contact__main .entry-content p {
  margin-bottom: 1.5em;
}

.p-contact__main .entry-content a {
  color: var(--c-accent);
  text-decoration: underline;
  transition: 0.6s;
}

.p-contact__main .entry-content a:hover {
  color: var(--c-accent-light);
  text-decoration: none;
  transition: 0.6s;
}

.p-contact__main .entry-content h2 {
  margin: 2.2em 0 .8em;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--c-text-strong);
}

.p-contact__main .entry-content h3 {
  margin: 1.8em 0 .6em;
  font-size: 15px;
  font-weight: 700;
}

.p-contact__main .entry-content ul,
.p-contact__main .entry-content ol {
  margin: 0 0 1.6em;
  padding: 0;
  list-style: none;
}

.p-contact__main .entry-content li {
  position: relative;
  padding-left: 22px;
}

.p-contact__main .entry-content li + li {
  margin-top: .45em;
}

.p-contact__main .entry-content ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}

.p-contact__main .entry-content ol {
  counter-reset: legal;
}

.p-contact__main .entry-content ol li {
  padding-left: 1.6em;
}

.p-contact__main .entry-content ol li::before {
  counter-increment: legal;
  content: counter(legal) ".";
  position: absolute;
  left: 0;
  color: var(--c-text);
}

/* Contact Form 7（共通・PC既定値）
---------------------------------------------- */

  /* フォーム全体 */
  .cf7-contact {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .cf7-contact p {
    margin-top: 0;
  }

  /* 入力欄の2列配置 */
  .cf7-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 36px;
        padding:4px;
  }

  .cf7-field {
    min-width: 0;
  }
  .cf7-field  .note {
    font-size: 14px;
        line-height: 1.6;
        display:block;
        padding:8px 0 0;
  }

  .cf7-field-wide {
    grid-column: 1 / -1;
  }

  /* ラベル */
  .cf7-field label {
    display: block;
    margin-bottom: 9px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
  }

  .cf7-required {
    margin-right: 5px;
    color: #e22b23;
    font-size: 13px;
    font-weight: 700;
        vertical-align: baseline;
  }

  /* CF7のフィールドラッパー */
  .cf7-field .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
  }

  /* 入力欄 */
  .contact-area 
  .cf7-contact input.cf7-control,
  .cf7-contact textarea.cf7-control {
    display: block;
    width: 100%;
    height: 43px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 2px;
    outline: none;
    background: #f5f5f5;
    color: #333;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    box-sizing: border-box;
    transition:
      background-color 0.2s,
      box-shadow 0.2s;
  }
  .contact-area 
  .cf7-contact .wpcf7-radio {
        display: flex;
        flex-direction: column;
        gap: 4px;
  }
  .contact-area 
  .cf7-contact .wpcf7-radio.syumoku {
        margin-top:40px;
  }
  .contact-area 
  .cf7-contact .wpcf7-list-item {
        margin: 0;
  }
  .contact-area 
  .cf7-contact .nenrei{
    display: block;
    width: 50%;
    height: 43px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 2px;
    outline: none;
    background: #f5f5f5;
    color: #333;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    box-sizing: border-box;
    transition:
      background-color 0.2s,
      box-shadow 0.2s;
  }
  .cf7-postcode {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cf7-postcode-mark {
  flex: 0 0 auto;
}
.cf7-contact .cf7-postcode-input {
  width: 180px !important;
}

  .cf7-contact textarea.cf7-control {
    height: 160px;
    padding: 14px 16px;
    resize: vertical;
  }

  .cf7-contact .cf7-control::placeholder {
    color: #999;
    opacity: 1;
  }

  .cf7-contact .cf7-control:focus {
    background: #fff;
    box-shadow: 0 0 0 2px #146dc1;
  }

  /* プライバシーポリシー */
  .cf7-privacy {
    margin: 40px auto 16px;
    color: #333;
    font-size: 14px;
        padding:16px;
        border:5px solid #eee;
        display:block;
        width:75%;
    line-height: 1.7;
    text-align: center;
  }

  .cf7-privacy .wpcf7-form-control-wrap {
    display: inline-block;
  }

  .cf7-privacy .wpcf7-list-item {
    margin: 0;
  }

  .cf7-privacy label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }

  .cf7-privacy input[type="checkbox"] {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    margin: 0;
    accent-color: #146dc1;
  }

  .cf7-privacy a {
    color: #146dc1;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* 送信ボタン（.c-btn--dark と同じピル型。矢印はサイト共通の線アイコン） */
  .cf7-submit-area {
    text-align: center;
  }

  .cf7-submit-wrap {
    position: relative;
    display: inline-block;
  }

  .cf7-submit-wrap p {
    margin: 0;
  }

  .cf7-contact .cf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 280px;
    height: 64px;
    margin: 0;
    padding: 0 64px 0 40px;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--c-dark);
    color: var(--c-white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    appearance: none;
    transition: background-color var(--dur) var(--ease);
  }

  .cf7-contact .cf7-submit:hover {
    background: var(--c-accent);
  }

  .cf7-submit-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 26px;
    width: 18px;
    height: 18px;
    translate: 0 -50%;
    background-color: var(--c-white);
    pointer-events: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: translate var(--dur) var(--ease), background-color var(--dur) var(--ease);
  }

  .cf7-submit-wrap:has(.cf7-submit:not(:disabled)):hover::after {
    translate: 6px -50%;
  }

  /* エラー表示 */
  .wpcf7 .wpcf7-not-valid-tip {
    display: block;
    margin: 12px 0 0;
    color: #d52323;
    font-size: 14px;
    line-height: 1.5;
  }

  .wpcf7 form.invalid .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #d52323;
        font-weight: bold;
  }

  .wpcf7 form.sent .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
        font-weight: bold;
  }

  /* 送信中のスピナー */
  .wpcf7 .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 55px;
    margin: 0;
    transform: translateY(-50%);
  }

  .cf7-submit-status {
    min-height: 24px;
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
  }

  .cf7-submit-waiting {
    display: inline;
    color: #d63737;
  }

  .cf7-submit-area:has(.cf7-submit:not(:disabled))
  .cf7-submit-status {
  visibility: hidden;
}
  /* チェック前の送信ボタン */
  .cf7-contact .cf7-submit:disabled {
    background: #d5d5d5;
    color: #888;
    cursor: not-allowed;
    opacity: 1;
  }

  /* チェック後の送信ボタン */
  .cf7-contact .cf7-submit:not(:disabled) {
    background: #111;
    color: #fff;
    cursor: pointer;
  }

  .cf7-contact .cf7-submit:not(:disabled):hover {
    background: var(--c-accent);
  }

  .cf7-submit-wrap:has(.cf7-submit:disabled)::after {
    background-color: #999;
  }

  .contact-area .cf7-turnstile{
        margin:42px auto 0;
        text-align:center;
  }
  .contact-area input[type="radio"]{
        vertical-align: baseline;
  }





/* Contact Form 7（スマホ差分）
---------------------------------------------- */
@media screen and (max-width: 767px) {
  .cf7-contact {
    background: #fff;
    box-sizing: border-box;
  }

  .cf7-form-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .cf7-field-wide {
    grid-column: auto;
  }

  .cf7-field label {
    color: #222;
    font-weight: 600;
  }

  .contact-area .cf7-contact input.cf7-control,
  .cf7-contact textarea.cf7-control {
    height: 48px;
    padding: 11px 12px;
    font-size: 16px;
  }

  .contact-area .cf7-contact .nenrei {
    width: 70%;
  }

  .cf7-contact .cf7-postcode-input {
    width: 150px !important;
  }

  .cf7-contact textarea.cf7-control {
    height: 180px;
    padding: 14px;
  }

  .cf7-privacy {
    width: 98%;
    padding: 20px;
  }

  .cf7-privacy .wpcf7-form-control-wrap,
  .cf7-privacy .wpcf7-list-item {
    display: block;
  }

  .cf7-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .cf7-privacy input[type="checkbox"] {
    margin: 2px 0 0;
  }

  .cf7-submit-wrap {
    display: block;
    width: 100%;
  }

  .cf7-contact .cf7-submit {
    width: 100%;
    min-width: 0;
    height: 60px;
    padding: 0 48px 0 24px;
    font-size: 14px;
  }

  .cf7-submit-wrap::after {
    right: 22px;
  }

  .wpcf7 .wpcf7-not-valid-tip {
    margin: 10px 0 0;
    font-weight: bold;
  }

  .wpcf7 form.invalid .wpcf7-response-output,
  .wpcf7 form.sent .wpcf7-response-output {
    padding: 16px;
    font-size: 15px;
  }

  .wpcf7 .wpcf7-spinner {
    right: 42px;
  }

  .cf7-submit-status {
    min-height: 44px;
    margin-bottom: 12px;
    font-size: 13px;
  }

  .cf7-contact .cf7-submit:not(:disabled):active {
    background: var(--c-accent);
  }
}
