/* contact.css — left CALL / right form */

html,
body {
  overflow-x: clip;
}

.ct-wrap {
  padding: 4.2rem 0 5.2rem;
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: start;
}

.ct-aside {
  position: sticky;
  top: 96px;
  z-index: 2;
}

.ct-aside .section-label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.76rem;
}

.ct-aside .section-label::after {
  margin-left: 0;
  margin-right: 0;
}

.ct-phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.55rem, 5.2vw, 3.7rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--text, #2c2a26);
  margin: 0.15rem 0 1.2rem;
}

.ct-phone a {
  border-bottom: 1px solid transparent;
  transition:
    color 0.25s,
    border-color 0.25s;
}

.ct-phone a:hover {
  border-bottom-color: var(--accent, #b8956a);
  color: var(--accent-dark, #9a7a52);
}

.ct-hours {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line, #e5dfd4);
  border-bottom: 1px solid var(--line, #e5dfd4);
}

.ct-hours div {
  display: grid;
  grid-template-columns: 6.8rem minmax(0, 1fr);
  gap: 0.8rem;
  font-size: 0.95rem;
  align-items: baseline;
}

.ct-hours dt {
  color: var(--text-muted, #8a847a);
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.ct-hours dd a {
  color: inherit;
  word-break: break-all;
}

.ct-hours dd a:hover {
  color: var(--accent-dark, #9a7a52);
}

.ct-addr {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-soft, #5c574f);
  margin-bottom: 1.5rem;
}

.ct-map {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
}

.ct-map-pan {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 145%;
  animation: ctMapPan 16s cubic-bezier(0.32, 0, 0.68, 1) infinite alternate;
}

.ct-map img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (hover: hover) {
  .ct-map:hover .ct-map-pan {
    animation-play-state: paused;
  }

  .ct-map:hover img {
    transform: scale(1.12);
    transform-origin: center center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@keyframes ctMapPan {
  from {
    top: 0;
  }
  to {
    top: -45%;
  }
}

.ct-map-go {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(44, 42, 38, 0.78);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}

.ct-policy-head {
  margin: 1.6rem 0 0.7rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.ct-policy {
  max-height: 11.5rem;
  overflow: auto;
  padding: 0.9rem 1rem;
  background: #f3f0ea;
  border: 1px solid var(--line, #e5dfd4);
  font-size: 0.78rem;
  line-height: 1.85;
  color: var(--text-soft, #5c574f);
}

.ct-policy p + p {
  margin-top: 0.75rem;
}

.ct-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text, #2c2a26);
  cursor: pointer;
}

.ct-agree input {
  margin-top: 0.28rem;
  flex-shrink: 0;
}

.ct-agree-err {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #b42318;
  line-height: 1.7;
}

.ct-form {
  background: transparent;
}

.ct-field {
  margin-bottom: 1.05rem;
}

.ct-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--text-muted, #8a847a);
  margin-bottom: 0.32rem;
}

.ct-field .req,
.ct-field .opt {
  margin-left: 0.4rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 0.08rem 0.38rem;
  border-radius: 2px;
  vertical-align: 0.12em;
  color: #fff;
}

.ct-field .req {
  background: #9a4a45;
}

.ct-field .opt {
  background: #6e6a64;
}

.ct-field input,
.ct-field textarea,
.ct-field select {
  width: 100%;
  border: 1px solid #e4ddd2;
  background: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text, #2c2a26);
  border-radius: 2px;
  min-height: 44px;
}

.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%232c2a26' stroke-width='1.4' d='M1.5 1.8L6 6.2L10.5 1.8'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 11px 7px;
  padding-right: 2.4rem;
}

.ct-field textarea {
  min-height: 7.2rem;
  resize: vertical;
}

.ct-field input:focus,
.ct-field textarea:focus,
.ct-field select:focus {
  outline: none;
  border-color: var(--accent, #b8956a);
  background: #fff;
}

.ct-submit {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  min-height: 46px;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent, #b8956a);
  color: #fff;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.15s ease-out;
}

.ct-submit:hover {
  background: var(--accent-dark, #9a7a52);
}

.ct-submit:active {
  transform: scale(0.96);
}

.ct-submit-line {
  background: transparent;
  color: var(--text, #2c2a26);
  border: 1px solid var(--line-strong, #cfc6b8);
}

.ct-submit-line:hover {
  background: #ebe6dc;
  color: var(--text, #2c2a26);
}

.ct-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.ct-form-note {
  margin-top: 1.05rem;
  font-size: 0.78rem;
  color: var(--text-muted, #8a847a);
  line-height: 1.75;
}

.ct-error {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: #b42318;
  line-height: 1.7;
}

.ct-review {
  margin: 0 0 0.4rem;
  border-top: 1px solid var(--line, #e5dfd4);
}

.ct-review-row {
  display: grid;
  grid-template-columns: 9.2rem minmax(0, 1fr);
  gap: 0.8rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line, #e5dfd4);
  align-items: start;
}

.ct-review-row dt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted, #8a847a);
}

.ct-review-row dd {
  font-size: 0.95rem;
  line-height: 1.75;
  word-break: break-word;
}

.ct-badge {
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: #9a4a45;
  padding: 0.12rem 0.38rem;
  border-radius: 2px;
}

.ct-badge.is-opt {
  background: #6e6a64;
}

.ct-result {
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--text, #2c2a26);
}

.ct-result h3 {
  font-family: var(--font-serif, 'Noto Serif JP', serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.ct-result p + p {
  margin-top: 1rem;
}

.ct-result-fail h3 {
  color: #8a3a35;
}

@media (max-width: 960px) {
  .ct-wrap {
    padding: 3rem 0 4rem;
  }

  .ct-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .ct-aside {
    position: static;
    top: auto;
  }

  .ct-map {
    height: 240px;
  }

  .ct-review-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .ct-hours div {
    grid-template-columns: 6.4rem minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-map-pan {
    animation: none;
    top: -18%;
    height: 145%;
  }

  .ct-submit,
  .ct-phone a {
    transition: none;
  }
}
