/* Contact page styles */

.ct-hero {
  padding: clamp(140px, 16vw, 200px) clamp(24px, 7vw, 140px) clamp(48px, 6vw, 72px);
}

.ct-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.ct-hero__label {
  font-family: var(--avenir);
  font-size: 14px;
  letter-spacing: 0.42em;
  color: var(--accent);
}

.ct-hero__title {
  font-family: var(--mincho);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 42px);
  letter-spacing: 0.16em;
  margin: 22px 0 34px;
}

.ct-hero__lead {
  font-family: var(--mincho);
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 2.1;
  letter-spacing: 0.1em;
  margin: 0 0 28px;
}

.ct-hero__text {
  font-family: var(--mincho);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: #43423d;
  margin: 0;
}

@media (max-width: 768px) {
  .ct-hero__text {
    text-align: left;
  }
}

.ct-soudan {
  padding: 0 clamp(24px, 7vw, 140px) clamp(56px, 7vw, 90px);
}

.ct-soudan__box {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg2);
  padding: clamp(28px, 3.5vw, 48px);
  box-sizing: border-box;
}

.ct-soudan__title {
  font-family: var(--mincho);
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}

.ct-soudan__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}

@media (max-width: 640px) {
  .ct-soudan__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.ct-soudan__item {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #43423d;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ct-soudan__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.ct-methods {
  padding: 0 clamp(24px, 7vw, 140px) clamp(64px, 8vw, 100px);
}

.ct-methods__inner {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 32px);
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .ct-methods__inner {
    grid-template-columns: 1fr;
  }
}

.ct-method {
  border: 1px solid var(--line);
  padding: clamp(28px, 3.2vw, 44px);
  text-align: center;
  background: #fff;
}

.ct-method--mail {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ct-method__label {
  font-family: var(--avenir);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.ct-method__tel {
  font-family: var(--avenir);
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: 0.04em;
  margin: 16px 0 10px;
}

.ct-method__hours {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.9;
}

.ct-method__note {
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #43423d;
  margin: 18px 0 0;
}

.ct-method--mail .ct-method__note {
  margin: 16px 0 22px;
}

.ct-method__btn {
  align-self: center;
  font-family: var(--avenir);
  font-size: 13px;
  letter-spacing: 0.2em;
  border: 1px solid var(--accent);
  padding: 14px 34px;
  color: var(--accent);
  transition: all 0.35s ease;
}

.ct-method__btn:hover {
  background: var(--accent);
  color: #fff;
}

.ct-form-section {
  padding: clamp(24px, 4vw, 48px) clamp(24px, 7vw, 140px) clamp(80px, 10vw, 130px);
  background: var(--bg2);
}

.ct-form-section__inner {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.ct-form-head {
  text-align: center;
  margin: clamp(24px, 4vw, 52px) 0 clamp(36px, 4.5vw, 60px);
}

.ct-form-head__label,
.ct-confirm__label,
.ct-complete__label {
  font-family: var(--avenir);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--accent);
}

.ct-form-head__title {
  font-family: var(--mincho);
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 27px);
  letter-spacing: 0.12em;
  margin: 18px 0 0;
}

.ct-form__section-label {
  font-family: var(--avenir);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.ct-form__section-label--optional {
  color: var(--muted);
  margin: 44px 0 22px;
}

.ct-field {
  margin-bottom: 42px;
}

.ct-field--textarea {
  margin-bottom: 8px;
}

.ct-field__label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ct-field:has(.ct-checks) .ct-field__label-row {
  margin-bottom: 14px;
}

.ct-field__label {
  font-family: var(--mincho);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.ct-field__label--block {
  display: block;
  font-family: var(--mincho);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ct-field:has(.ct-checks) > .ct-field__label--block {
  margin-bottom: 14px;
}

.ct-field__req {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--accent);
  padding: 3px 8px;
}

.ct-field__input,
.ct-field__textarea {
  font-family: var(--mincho);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 16px;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.ct-field__input:focus,
.ct-field__textarea:focus {
  border-color: var(--accent);
}

.ct-field__input::placeholder,
.ct-field__textarea::placeholder {
  color: #b6b3aa;
}

.ct-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.ct-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.ct-check input {
  width: 16px;
  height: 16px;
  accent-color: #3d4a40;
  flex: 0 0 auto;
  cursor: pointer;
}

.ct-check--agree {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ct-check--agree input {
  width: 17px;
  height: 17px;
}

.ct-privacy {
  margin: 40px 0 30px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px);
}

.ct-privacy__title {
  font-family: var(--mincho);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.ct-privacy__lead {
  font-size: 12.5px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: #43423d;
  margin: 0 0 20px;
}

.ct-privacy__scroll {
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px clamp(18px, 2vw, 26px);
  margin: 0 0 22px;
}

.ct-privacy__heading {
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 16px;
}

.ct-privacy__list {
  margin: 0;
  padding-left: 1.3em;
  font-size: 12px;
  line-height: 2.05;
  letter-spacing: 0.03em;
  color: #43423d;
}

.ct-privacy__list li {
  margin-bottom: 12px;
}

.ct-privacy__list li:last-child {
  margin-bottom: 0;
}

.ct-form__submit {
  text-align: center;
  margin-top: 34px;
}

.ct-form__btn {
  font-family: var(--avenir);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #fff;
  background: #26261f;
  border: 1px solid #26261f;
  padding: 20px 68px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.ct-form__btn:hover {
  background: transparent;
  color: var(--ink);
}

.ct-form__notes {
  max-width: 640px;
  margin: clamp(40px, 5vw, 60px) auto 0;
}

.ct-form__notes p {
  font-size: 12px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 1.4em;
}

.ct-form__notes p:last-child {
  margin-bottom: 0;
}

.ct-confirm[hidden],
.ct-complete[hidden] {
  display: none !important;
}

.ct-confirm__head {
  text-align: center;
  margin: 0 0 clamp(32px, 4vw, 52px);
}

.ct-confirm__title {
  font-family: var(--mincho);
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 27px);
  letter-spacing: 0.12em;
  margin: 18px 0 10px;
}

.ct-confirm__lead {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0;
}

.ct-confirm__list {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
}

.ct-confirm__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 16px clamp(18px, 2.2vw, 28px);
  border-bottom: 1px solid var(--line);
}

.ct-confirm__row:last-child {
  border-bottom: 0;
}

.ct-confirm__key {
  flex: 0 0 clamp(120px, 15vw, 180px);
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ct-confirm__val {
  margin: 0;
  flex: 1;
  min-width: 180px;
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #33322e;
  white-space: pre-wrap;
}

.ct-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

.ct-confirm__edit,
.ct-confirm__send,
.ct-complete__btn {
  font-family: var(--avenir);
  font-size: 14px;
  letter-spacing: 0.2em;
  padding: 18px 46px;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}

.ct-confirm__edit:hover,
.ct-complete__btn:hover {
  background: var(--ink);
  color: #fff;
}

.ct-confirm__send {
  color: #fff;
  background: #26261f;
  border-color: #26261f;
  padding: 18px 56px;
}

.ct-confirm__send:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ct-complete {
  text-align: center;
  padding: clamp(20px, 4vw, 48px) 0;
}

.ct-complete__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(28px, 3.5vw, 40px);
  color: var(--accent);
}

.ct-complete__title {
  font-family: var(--mincho);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.12em;
  line-height: 1.7;
  margin: 18px 0 24px;
}

.ct-complete__text {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: #43423d;
  margin: 0 auto clamp(36px, 4.5vw, 52px);
  max-width: 600px;
}

.ct-complete__btn {
  padding: 18px 52px;
}

/* Contact Form 7 — match dist/contact.dc.html form layout */
.ct-cf7 .wpcf7 {
  margin: 0;
  max-width: 100%;
}

.ct-cf7 .wpcf7-form {
  display: block;
  margin: 0;
}

.ct-cf7 .wpcf7-form > p,
.ct-cf7 .wpcf7-form p {
  margin: 0;
}

.ct-cf7 .wpcf7-form .screen-reader-response,
.ct-cf7 .wpcf7-form .hidden-fields-container {
  margin: 0;
}

.ct-cf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
}

.ct-cf7 .ct-field__label-row label,
.ct-cf7 .ct-field > label,
.ct-cf7 .ct-field__label--block {
  font-family: var(--mincho);
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.ct-cf7 input.ct-field__input,
.ct-cf7 textarea.ct-field__textarea,
.ct-cf7 input.wpcf7-text,
.ct-cf7 input.wpcf7-email,
.ct-cf7 input.wpcf7-tel,
.ct-cf7 textarea.wpcf7-textarea {
  font-family: var(--mincho);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 16px;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.ct-cf7 input.ct-field__input:focus,
.ct-cf7 textarea.ct-field__textarea:focus,
.ct-cf7 input.wpcf7-text:focus,
.ct-cf7 input.wpcf7-email:focus,
.ct-cf7 input.wpcf7-tel:focus,
.ct-cf7 textarea.wpcf7-textarea:focus {
  border-color: var(--accent);
}

.ct-cf7 input::placeholder,
.ct-cf7 textarea::placeholder {
  color: #b6b3aa;
  opacity: 1;
}

.ct-cf7 textarea.ct-field__textarea,
.ct-cf7 textarea.wpcf7-textarea {
  min-height: 9.5em;
  resize: vertical;
  display: block;
}

.ct-cf7 .ct-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.ct-cf7 .ct-checks .wpcf7-form-control-wrap {
  width: auto;
  display: contents;
}

.ct-cf7 .ct-checks .wpcf7-checkbox,
.ct-cf7 .ct-checks .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ct-cf7 .ct-checks .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
}

.ct-cf7 .ct-checks .wpcf7-list-item-label::before,
.ct-cf7 .ct-checks .wpcf7-list-item-label::after,
.ct-cf7 .ct-check--agree .wpcf7-list-item-label::before,
.ct-cf7 .ct-check--agree .wpcf7-list-item-label::after {
  content: none !important;
}

.ct-cf7 .ct-checks .wpcf7-list-item label,
.ct-cf7 .ct-check--agree .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mincho);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
  margin: 0;
}

.ct-cf7 .ct-checks input[type="checkbox"],
.ct-cf7 .ct-checks input[type="radio"],
.ct-cf7 .ct-check--agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #3d4a40;
  flex: 0 0 auto;
  cursor: pointer;
}

/* 任意の単一選択は checkbox + exclusive で構成するため、ラジオと同じ丸表示にする */
.ct-cf7 .ct-checks .wpcf7-exclusive-checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-grid;
  place-content: center;
}

.ct-cf7 .ct-checks .wpcf7-exclusive-checkbox input[type="checkbox"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.15s ease;
}

.ct-cf7 .ct-checks .wpcf7-exclusive-checkbox input[type="checkbox"]:checked {
  border-color: var(--accent);
}

.ct-cf7 .ct-checks .wpcf7-exclusive-checkbox input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.ct-cf7 .ct-checks .wpcf7-exclusive-checkbox input[type="checkbox"]:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.ct-cf7 .ct-check--agree {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.ct-cf7 .ct-check--agree .wpcf7-form-control-wrap {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  flex: 0 1 auto;
  pointer-events: auto;
}

.ct-cf7 .ct-check--agree .wpcf7-acceptance {
  display: inline-flex !important;
  width: auto !important;
}

.ct-cf7 .ct-check--agree .wpcf7-list-item {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
}

.ct-cf7 .ct-check--agree .wpcf7-list-item label {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center !important;
  gap: 10px !important;
  margin: 0;
  font-family: var(--mincho);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}

.ct-cf7 .ct-check--agree .wpcf7-list-item-label {
  display: inline !important;
  white-space: normal;
  cursor: pointer;
  pointer-events: auto;
}

.ct-cf7 .ct-check--agree input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  flex: 0 0 auto;
  accent-color: #3d4a40;
  cursor: pointer;
  pointer-events: auto;
}

.ct-cf7 .ct-form__submit {
  text-align: center;
  margin-top: 34px;
}

.ct-cf7 .ct-form__submit .wpcf7-form-control-wrap {
  display: inline;
  width: auto;
}

.ct-cf7 input.ct-form__btn,
.ct-cf7 input.wpcf7-submit,
.ct-cf7 .wpcf7-submit {
  font-family: var(--avenir);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #fff;
  background: #26261f;
  border: 1px solid #26261f;
  padding: 20px 68px;
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 0;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

.ct-cf7 input.ct-form__btn:hover,
.ct-cf7 input.wpcf7-submit:hover,
.ct-cf7 .wpcf7-submit:hover {
  background: transparent;
  color: var(--ink);
}

.ct-cf7 .wpcf7-not-valid-tip {
  font-family: var(--mincho);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 8px;
  color: #b33a3a;
}

.ct-cf7 .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-width: 1px;
  border-radius: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  text-align: center;
}

.ct-cf7 .wpcf7-spinner {
  margin: 0 0 0 12px;
  vertical-align: middle;
}

.ct-cf7 .ct-privacy p {
  margin: 0 0 20px;
}

.ct-cf7 .ct-privacy__heading {
  margin: 0 0 16px;
}

.ct-cf7 .ct-form__notes p {
  font-size: 12px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 1.4em;
}

.ct-cf7 .ct-form__notes p:last-child {
  margin-bottom: 0;
}
