@charset "UTF-8";

/*
 * 元のcontact.cssのデザインを、
 * 現在のカスタムお問い合わせフォームのHTML構造へ対応させた版です。
 */

/* =========================
   Contact Page
========================= */
.contact-page {
  box-sizing: border-box;
}

/* =========================================================
   Contact Page Hero
   Flower Shop Editorial Style
========================================================= */

.contact-page__hero {
    position: relative;

    width: calc(100% - 80px);
    max-width: 1280px;

    height: 330px;

    margin: 105px auto 70px;

    overflow: hidden;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    isolation: isolate;
}


/* =========================================================
   Image Overlay
========================================================= */

.contact-page__hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            var(--color-primary) 0%,
            color-mix(
                in srgb,
                var(--color-primary) 55%,
                transparent
            ) 42%,
            transparent 100%
        );

    opacity: .82;

    pointer-events: none;
}


.contact-page__hero::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(0,0,0,.10)
        );

    pointer-events: none;
}


/* =========================================================
   Frame
========================================================= */

.contact-page__hero-frame {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 42px 48px;

    box-sizing: border-box;
}


.contact-page__hero-frame::before {
    content: "";

    position: absolute;

    inset: 18px;

    border: 1px solid rgba(255,255,255,.42);

    pointer-events: none;
}


/* =========================================================
   Inner
========================================================= */

.contact-page__hero-inner {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: center;

    height: 100%;

    max-width: 700px;

    padding-left: 32px;

    box-sizing: border-box;
}


/* =========================================================
   Label
========================================================= */

.contact-page__hero-label {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: rgba(255,255,255,.88);

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .32em;

    line-height: 1;
}


.contact-page__hero-line {
    display: block;

    width: 34px;
    height: 1px;

    background: rgba(255,255,255,.72);
}


/* =========================================================
   Title
========================================================= */

.contact-page__hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(34px, 4vw, 50px);

    font-weight: 500;

    letter-spacing: .08em;

    line-height: 1.35;
}


.contact-page__hero h1 span {
    display: inline-block;

    margin-top: 2px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: .92em;

    font-style: italic;

    font-weight: 400;

    letter-spacing: .04em;
}


/* =========================================================
   Copy
========================================================= */

.contact-page__hero-copy {
    margin: 17px 0 0;

    color: rgba(255,255,255,.84);

    font-size: 12px;

    font-weight: 400;

    letter-spacing: .12em;

    line-height: 1.9;
}


/* =========================================================
   Side Text
========================================================= */

.contact-page__hero-side {
    position: absolute;

    z-index: 2;

    right: 52px;
    bottom: 43px;

    color: rgba(255,255,255,.58);

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: .28em;

    line-height: 1.8;

    text-align: right;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1000px) {

    .contact-page__hero {
        width: calc(100% - 60px);
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 768px) {

    .contact-page__hero {
        width: calc(100% - 36px);

        height: 280px;

        margin: 96px auto 45px;
    }


    .contact-page__hero-frame {
        padding: 32px 24px;
    }


    .contact-page__hero-frame::before {
        inset: 12px;
    }


    .contact-page__hero-inner {
        padding-left: 16px;
    }


    .contact-page__hero h1 {
        font-size: 34px;

        letter-spacing: .06em;
    }


    .contact-page__hero-copy {
        margin-top: 14px;

        font-size: 10px;

        letter-spacing: .08em;
    }


    .contact-page__hero-side {
        right: 28px;
        bottom: 29px;

        font-size: 7px;

        letter-spacing: .2em;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 500px) {

    .contact-page__hero {
        width: calc(100% - 24px);

        height: 245px;

        margin: 85px auto 36px;
    }


    .contact-page__hero-frame {
        padding: 26px 18px;
    }


    .contact-page__hero-frame::before {
        inset: 9px;
    }


    .contact-page__hero-inner {
        padding-left: 12px;
    }


    .contact-page__hero-label {
        gap: 9px;

        margin-bottom: 14px;

        font-size: 8px;

        letter-spacing: .25em;
    }


    .contact-page__hero-line {
        width: 24px;
    }


    .contact-page__hero h1 {
        font-size: 28px;

        line-height: 1.35;
    }


    .contact-page__hero h1 span {
        font-size: .9em;
    }


    .contact-page__hero-copy {
        margin-top: 12px;

        font-size: 9px;

        line-height: 1.8;
    }


    .contact-page__hero-side {
        right: 21px;
        bottom: 23px;

        font-size: 6px;

        line-height: 1.7;
    }

}

/* =========================
   Form Container
========================= */
.contact-form-section {
  padding: 0;
}

.contact-form-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 40px;

  border: 4px solid var(--color-primary-light);
  border-radius: 30px;

  background-image: url(../img/27415477.png);
  background-position: left;
  background-size: cover;
  overflow: hidden;
  box-sizing: border-box;
}

.contact-form-wrap::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: var(--color-muted-white);
}

.contact-form-wrap > * {
  position: relative;
  z-index: 1;
}

/* =========================
   Form
========================= */
.contact-custom-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-field-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 600;
}

.contact-field-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  background: #df3838;
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="tel"],
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--color-text);
  border-radius: 10px;
  background: var(--color-text-white);
  color: var(--color-bg);
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border: 2px solid var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 120, 170, 0.25);
}

.contact-field-help {
  margin: 6px 0 0;
  color: var(--color-surface);
  font-size: 12px;
  line-height: 1.6;
}

.contact-field-error {
  margin: 6px 0 0;
  color: #c62828;
  font-size: 12px;
  line-height: 1.6;
}

/* =========================
   Radio / Checkbox
========================= */
.contact-field-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.contact-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-bg);
  font-size: 14px;
  cursor: pointer;
}

.contact-option input {
  width: 17px;
  height: 17px;
  margin: 0;
}

/* =========================
   Privacy
========================= */
.contact-privacy {
  color: var(--color-bg);
  font-size: 13px;
}

.contact-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.contact-privacy input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.contact-privacy a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =========================
   Error Summary
========================= */
.contact-error-summary {
  margin-bottom: 22px;
  padding: 13px 15px;
  border: 1px solid #e7a3a3;
  border-radius: 8px;
  background: #fff2f2;
  color: #b32020;
  font-size: 13px;
}

/* =========================
   Submit Button
========================= */
.contact-submit-button {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 20px auto 0;
  padding: 16px;
  border: none;
  border-radius: 999px;

  background: var(--color-primary);
  color: var(--color-text-white);

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;

  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-submit-button:hover {
  background: var(--color-primary-lighter);
}

/* ハニーポットは必ず非表示 */
.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {


  .contact-form-wrap {
    padding: 50px 20px;
  }
}
