
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --gold: #FFD700;
  --gold-d: #D4AF37;
  --gold-l: #FFE566;
  --red: #C0392B;
  --text: #f5f5f5;
  --muted: #a0a0a0;
  --ink: #0a0a0a
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  background: #000;
  position: relative;
  overflow-x: hidden
}

.d-block{
  display: block !important;
}

.w-100{
  width: 100%;
}

.layout {
  display: grid;
  grid-template-columns:1fr 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 2
}

/* ===== 左：ヴィジュアル側 ===== */
.left {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: url('../../img/gct/customer_bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
}

.left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .85) 100%);
  z-index: 1
}

.left::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 215, 0, .25);
  pointer-events: none;
  z-index: 1
}

.left-top, .left-mid, .left-bot {
  position: relative;
  z-index: 2
}

.left-top {
  display: flex;
  align-items: center;
  gap: 16px
}

.left-logo {
  width: 72px;
  height: 72px;
  background: url('../../img/gct/logo.png') center/contain no-repeat;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6))
}

.left-brand {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  letter-spacing: .28em;
  font-size: 1rem;
  line-height: 1.3
}

.left-brand small {
  display: block;
  font-size: 0.9rem;
  color: #bbb;
  letter-spacing: .35em;
  margin-top: 4px
}

.left-mid {
  margin-top: auto;
  margin-bottom: 30px
}

.left-tag {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: .5em;
  color: var(--gold);
  padding: 7px 18px;
  border: 1px solid var(--gold);
  margin-bottom: 24px
}

.left-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.5vw, 84px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .8)
}

.left-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
  display: block
}

.left-desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #dcdcdc;
  line-height: 2;
  letter-spacing: .06em;
  max-width: 440px
}

.left-bot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: .4em;
  color: #bbb
}

.left-bot strong {
  color: var(--gold);
  font-weight: 600
}

/* ===== 右：フォーム側 ===== */
.right {
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  padding: 3rem 2rem 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative
}

.right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 80px;
  bottom: 80px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 215, 0, .3), transparent)
}

.form-wrap {
  width: 95%;
  max-width: 660px
}

.form-head {
  width: 100%;
  margin-bottom: 2.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 215, 0, .2)
}

.form-head-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: .4em;
  color: var(--gold);
  margin-bottom: 12px
}

.form-head h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: .05em
}

.form-head p {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 10px;
  letter-spacing: .05em
}

.group {
  margin-bottom: 26px
}

.label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .15em;
  margin-bottom: 10px;
  color: #ddd;
  text-transform: uppercase;
  display: flex;
  align-items: center
}

.label::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold);
  margin-right: 10px
}

.req {
  margin-left: .75em;
  background: var(--red);
  color: #fff;
  font-size: 0.9rem;
  padding: 2px 8px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.input, .ta {
  width: 100%;
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 215, 0, .2);
  color: var(--text);
  padding: .875rem;
  font-size: 1rem;
  font-family: inherit;
  transition: .25s
}

.input:focus, .ta:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0, 0, 0, .7);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, .1)
}

.ta {
  min-height: 3rem;
  resize: vertical
}

.input::placeholder, .ta::placeholder {
  color: #555
}

.select {
  width: 100%;
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 215, 0, .2);
  color: var(--text);
  padding: 14px 44px 14px 16px;
  font-size: 1.3rem;
  font-family: inherit;
  transition: .25s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat
}

.select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(0, 0, 0, .7);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, .1)
}

.select option {
  background: #0a0a0a;
  color: var(--text)
}

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.r {
  position: relative;
  padding: 11px 18px;
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 215, 0, .2);
  font-size: 1rem;
  cursor: pointer;
  transition: .2s;
  border-radius: 3px
}

.r input {
  position: absolute;
  opacity: 0
}

.r:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.r:has(input:checked) {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.cb {
  position: relative;
  padding: 13px 16px 13px 44px;
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 215, 0, .2);
  font-size: 1rem;
  cursor: pointer;
  transition: .2s;
  border-radius: 3px;
  display: block
}

.cb input {
  position: absolute;
  opacity: 0
}

.cb::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 215, 0, .4);
  background: rgba(0, 0, 0, .6);
  transition: .2s
}

.cb::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  width: 8px;
  height: 4px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: translateY(-75%) rotate(-45deg);
  opacity: 0;
  transition: .15s
}

.cb:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.cb:hover::before {
  border-color: var(--gold)
}

.cb:has(input:checked) {
  background: rgba(255, 215, 0, .08);
  border-color: var(--gold);
  color: var(--gold)
}

.cb:has(input:checked)::before {
  background: var(--gold);
  border-color: var(--gold)
}

.cb:has(input:checked)::after {
  opacity: 1
}

/* ===== エラー表示 ===== */
.alert {
  background: rgba(192, 57, 43, .12);
  border: 1px solid var(--red);
  border-left: 4px solid var(--red);
  padding: 18px 22px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px
}

.alert-icon {
  flex: 0 0 28px;
  height: 28px;
  border: 1.5px solid var(--red);
  color: var(--red);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%
}

.alert-text {
  flex: 1
}

.alert-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ff6b5b;
  letter-spacing: .05em;
  margin-bottom: 2px
}

.alert-sub {
  font-size: 0.9rem;
  color: #d8a39d;
  letter-spacing: .1em
}

.group.has-error .input,
.group.has-error .ta,
.group.has-error .select {
  border-color: var(--red);
  background: rgba(192, 57, 43, .08);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .12)
}

.group.has-error .radios,
.group.has-error .checks {
  padding: 6px;
  border: 1px dashed rgba(192, 57, 43, .5);
  border-radius: 3px;
  background: rgba(192, 57, 43, .05)
}

.error-msg{
  display: none !important;
}
.has-error .error-msg {
  display: flex !important;;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #ff6b5b;
  letter-spacing: .08em;
  font-weight: 500
}

.has-error .error-msg::before {
  content: '!';
  flex: 0 0 14px;
  height: 14px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif
}

.submit-wrap {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 215, 0, .2);
  text-align: center
}

.btn {
  background: linear-gradient(135deg, var(--gold-l), var(--gold-d));
  color: #000;
  border: none;
  padding: 18px 68px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .35em;
  cursor: pointer;
  transition: .25s;
  font-family: inherit;
  width: 100%
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, .4)
}

.notice {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: .1em
}

.alert.err-alert{
  display: none;
}
.has-error.alert.err-alert{
  display: flex;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns:1fr
  }

  .left {
    position: relative;
    height: auto;
    min-height: 60vh;
    padding: 40px 30px 50px
  }

  .left::after {
    inset: 14px
  }

  .left-mid {
    margin-top: 60px
  }

  .right {
    padding: 60px 30px
  }

  .right::before {
    display: none
  }
}

@media (max-width: 560px) {
  .left {
    padding: 30px 20px 40px;
    min-height: 55vh
  }

  .left-logo {
    width: 56px;
    height: 56px
  }

  .left-mid {
    margin-top: 50px
  }

  .right {
    padding: 50px 20px
  }

  .btn {
    padding: 16px 30px;
    letter-spacing: .25em
  }
}