@charset "UTF-8";

/* ============================================================
   CONTACT
   /contact/css/contact.css
   業種ページhero構造ベース
============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes charaIn {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes charaBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  padding: 0;
}

.hero-upper {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 0;
  background: linear-gradient(
    180deg,
    #8ecce8 0%,
    #a8d9ef 35%,
    #c8e8f5 55%,
    transparent 80%
  );
}

.hero-bg-text-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1360px;
  bottom: -56px;
  pointer-events: none;
  z-index: 2;
}

.hero-bg-text {
  position: absolute;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 0.88;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.hero-bg-text--bottom {
  top: -0.05em;
  left: -0.02em;
  font-size: clamp(78px, 16.8vw, 240px);
  color: rgba(255,255,255,.48);
}

.hero-bg-text--top {
  top: -0.08em;
  right: -0.02em;
  left: auto;
  font-size: clamp(48px, 9.8vw, 128px);
  color: rgba(91,173,209,.12);
  text-align: right;
}

.hero-upper-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  max-width: 1300px;
  margin: 0 auto;
  padding: 32px 5% 0;
  gap: 0;
}

.hero-chara-col {
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 340px);
  align-self: flex-end;
  position: relative;
  z-index: 20;
  margin-right: -1%;
  margin-bottom: -2%;
  animation: charaIn .9s var(--ease) .28s both;
}

.hero-chara-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0,30,60,.15));
  animation: charaBob 4.2s ease-in-out infinite;
}

.hero-copy-col {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 10;
  padding-bottom: 24px;
}

.hero-copy-eyebrow {
  display: inline-block;
  font-size: clamp(10px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: .18em;
  color: #fff;
  background: #111;
  padding: 3px 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 2.4;
  transform: rotate(-2deg);
  transform-origin: left center;
  margin-bottom: -14px;
  top: 18px;
  margin-left: -18px;
  position: relative;
  z-index: 2;
}

.hero-h1 {
  font-size: clamp(16px, 4.4vw, 49px);
  font-weight: 900;
  line-height: 1.7;
  letter-spacing: -.04em;
  color: #1a1a1a;
  margin: 3% 0 0;
  position: relative;
  z-index: 1;
}

.hero-h1-inner {
  display: inline;
  background: #fff;
  padding: 4px 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-h1-inner span {
  color: #b8a800;
}

.hero-panel-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0 5% 56px;
}

.hero-panel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 40px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 8px 40px rgba(21,41,84,.08);
  overflow: hidden;
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
}

.area-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: rgba(var(--soft-r), var(--soft-g), var(--soft-b), .78);
}

.area-page-hero__lead {
  font-weight: 600;
  margin: 0;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.95;
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
	gap: 28px;
  align-items: start;
}

.contact-heading {
  margin-bottom: 18px;
}

.contact-heading h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.25;
  margin: 0;
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
}

.contact-note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-note-card {
  background: #b8a800;
  border-radius: 6px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform .25s ease, box-shadow .25s ease;
  border: solid 1px #fff;
  box-shadow: 0 5px 10px rgba(184,168,0,.25);
}

.contact-note-card:hover {
  transform: rotate(-2deg) translateY(-6px);
}

.contact-note-num {
  position: absolute;
  bottom: -0.12em;
  right: 0.04em;
  font-size: clamp(72px, 7vw, 104px);
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,.22);
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
}

.contact-note-main {
  position: relative;
  z-index: 1;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 10px;
}

.contact-note-sub {
  position: relative;
  z-index: 1;
  line-height: 1.8;
  color: rgba(255,255,255,1);
  margin: 0;
  font-size: 13px;
}

.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(247,250,252,.95);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 12px 34px rgba(21,41,84,.06);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
}

.form-group label span {
  font-weight: 600;
  color: rgba(var(--muted-r), var(--muted-g), var(--muted-b), .8);
  margin-left: 6px;
  font-size: 11px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  background: #fff;
  padding: 14px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(184,168,0,.85);
  box-shadow: 0 0 0 4px rgba(184,168,0,.12);
  background: #fff;
}

.contact-submit {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  margin-top: 4px;
}

.contact-micro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(var(--muted-r), var(--muted-g), var(--muted-b), .92);
}

.contact-micro span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.contact-micro-check {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(184,168,0,.12);
  color: #8a7d00;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {
  .hero-upper-inner { padding: 24px 5% 0; }
  .hero-panel { padding: 72px 5% 36px; }
}

@media (max-width: 767px) {
  .hero-bg-text--top { font-size: 13vw; }
  .hero-bg-text--bottom { font-size: clamp(44px, 15vw, 90px); }

  .hero-upper-inner {
    display: block;
    padding: 16px 4% 0;
    position: relative;
  }

  .hero-chara-col {
    width: 31%;
    margin-right: 0;
    margin-bottom: 0;
    position: absolute;
    top: 11%;
  }

  .hero-copy-col {
    padding: 30% 0 24px;
  }

  .hero-copy-eyebrow {
    font-size: clamp(10px, 4.6vw, 32px);
    margin-bottom: 0;
    top: 27%;
    margin-left: 0;
    position: absolute;
    left: 32%;
  }

  .hero-h1 {
    font-size: clamp(16px, 5.9vw, 40px);
  }

  .hero-panel-wrap {
    padding: 0 4% 40px;
  }

  .hero-panel {
    padding: 52px 24px 28px;
    border-radius: 16px;
  }

  .area-page-hero__lead {
    font-size: 14px;
  }

  .contact-note-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
  }

  .contact-note-card {
    transform: rotate(-1.5deg);
    padding: 24px 20px 20px;
  }

  .contact-note-card:hover {
    transform: rotate(-1.5deg) translateY(-4px);
  }

  .contact-note-num {
    font-size: clamp(62px, 20vw, 96px);
  }

  .contact-form {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 12px;
    font-size: 16px;
  }
}

/* ============================================================
   THANKS
============================================================ */

.thanks-panel-inner {
  max-width: none;
}

.thanks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}

.thanks-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(247,250,252,.95);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 12px 34px rgba(21,41,84,.06);
}

.thanks-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(184,168,0,.1);
  color: #8a7d00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.thanks-status-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #b8a800;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.thanks-message {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
}

.thanks-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thanks-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 56px;
}

.thanks-micro {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .thanks-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .thanks-box {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .thanks-message {
    font-size: 15px;
  }
}
/* ============================================================
   CONTACT FORM for mailformpro
============================================================ */

.contact-form-wrap {
  position: relative;
}

#mailformpro {
  display: block;
}

#mailformpro .mfp_phase {
  margin: 0;
}

#mailfield {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(247,250,252,.96) 0%, rgba(255,255,255,.92) 100%);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow:
    0 14px 38px rgba(21,41,84,.06),
    0 0 0 1px rgba(255,255,255,.35) inset;
}

#mailformpro dl.mailform {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#mailformpro dl.mailform + dl.mailform {
  margin-top: 0;
}

#mailformpro dt.mfp {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.6;
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
}

#mailformpro dt.mfp.leftLine {
  border: 0;
  padding-left: 0;
}

#mailformpro dd.mfp {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#mailformpro .mfp_bgcolored {
  background: transparent;
}


#mailformpro dl.mailform {
  display: block;
}

#mailformpro dt.mfp,
#mailformpro dd.mfp {
  float: none;
  width: auto;
  text-align: left;
  clear: none;
}

#mailformpro dd.mfp {
  padding-left: 0;
}

#mailformpro dt.mfp .label-hint {
  display: inline-block;
  white-space: nowrap;
}

#mailformpro .inputfloat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#mailformpro .inputfloat li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#mailformpro .inputfloat li > span {
  display: inline-block;
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(var(--muted-r), var(--muted-g), var(--muted-b), .86);
}

#mailformpro input[type="text"],
#mailformpro input[type="email"],
#mailformpro input[type="tel"],
#mailformpro textarea,
#mailformpro select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    transform .2s ease;
  box-sizing: border-box;
}

#mailformpro textarea {
  resize: vertical;
  min-height: 200px;
}

#mailformpro input[type="text"]::placeholder,
#mailformpro input[type="email"]::placeholder,
#mailformpro textarea::placeholder {
  color: #b8bec6;
  font-size: 13px;
  line-height: 1.8;
}

#mailformpro input[type="text"]:focus,
#mailformpro input[type="email"]:focus,
#mailformpro input[type="tel"]:focus,
#mailformpro textarea:focus,
#mailformpro select:focus {
  outline: none;
  border-color: rgba(184,168,0,.85);
  box-shadow: 0 0 0 4px rgba(184,168,0,.12);
  background: #fff;
}

#mailformpro .mfp_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 6px;
  padding-top: 4px;
}

#mailformpro .mfp_buttons button,
#mailformpro .mfp_buttons input[type="submit"],
#mailformpro .mfp_buttons input[type="reset"] {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    opacity .25s ease;
}

#mailformpro .mfp_buttons button[type="reset"],
#mailformpro .mfp_buttons input[type="reset"] {
  min-width: 120px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: rgb(var(--text-r), var(--text-g), var(--text-b));
  border: 1px solid rgba(var(--border-r), var(--border-g), var(--border-b), .14);
  box-shadow: 0 8px 24px rgba(var(--shadow-r), var(--shadow-g), var(--shadow-b), .04);
  font-size: 14px;
  font-weight: 700;
}

#mailformpro .mfp_buttons .btnSubmit,
#mailformpro .mfp_buttons button[type="submit"],
#mailformpro .mfp_buttons input[type="submit"] {
  min-width: 220px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: #b8a800;
  color: #111;
  box-shadow: 0 14px 30px rgba(184,168,0,.26);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
}

#mailformpro .mfp_buttons .btnSubmit:hover,
#mailformpro .mfp_buttons button[type="submit"]:hover,
#mailformpro .mfp_buttons input[type="submit"]:hover,
#mailformpro .mfp_buttons button[type="reset"]:hover,
#mailformpro .mfp_buttons input[type="reset"]:hover {
  transform: translateY(-2px);
  opacity: .94;
}

#mailformpro .mfp_err {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: #c83232;
}

#mailformpro .mfp_required,
#mailformpro .mfp_mark {
  color: #c83232;
  font-weight: 800;
}

.label-hint {
  font-size: 11px;
  color: rgba(var(--muted-r), var(--muted-g), var(--muted-b), .82);
  font-weight: 600;
  margin-left: 6px;
}

.contact-micro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(var(--muted-r), var(--muted-g), var(--muted-b), .92);
}

.contact-micro span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.contact-micro-check {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(184,168,0,.12);
  color: #8a7d00;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT LAYOUT TUNE
============================================================ */

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.contact-copy-block {
  min-width: 0;
}

.contact-form-wrap {
  min-width: 0;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 767px) {
  #mailfield {
    padding: 22px 18px;
    border-radius: 16px;
    gap: 16px;
  }

  #mailformpro .inputfloat {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #mailformpro input[type="text"],
  #mailformpro input[type="email"],
  #mailformpro input[type="tel"],
  #mailformpro textarea,
  #mailformpro select {
    padding: 12px 12px;
    font-size: 16px;
  }

  #mailformpro .mfp_buttons {
    flex-direction: column;
    align-items: stretch;
  }

  #mailformpro .mfp_buttons button[type="reset"],
  #mailformpro .mfp_buttons input[type="reset"],
  #mailformpro .mfp_buttons .btnSubmit,
  #mailformpro .mfp_buttons button[type="submit"],
  #mailformpro .mfp_buttons input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}