@charset "UTF-8";

/* ====================================
   Variables & Common
   ==================================== */
:root {
  --color-green: #559e44;
  --color-green-dark: #5c9c5c;
  --color-line: #06c755;
  --color-orange: #f0951e;
  --color-bg-gray: #e6e6e6;
  --color-border: #ccc;
  --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Brush Script MT", cursive; 
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

/* ====================================
   Main Visual
   ==================================== */
.p-contact-mv {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 20px;
}

.p-contact-mv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-contact-mv__content {
  position: absolute;
  bottom: 30px;
  left: 10%;
  z-index: 2;
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
}

.p-contact-mv__title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 5rem;
  line-height: 1;
  color: #000;
}
.p-contact-mv__title .jp {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 5px;
  color: #000;
  padding-left: 5px;
}

/* Breadcrumb */
.p-contact-breadcrumb {
  font-size: 12px;
  padding: 0 0 40px;
  margin-bottom: 20px;
}
.p-contact-breadcrumb a {
  text-decoration: none;
  color: #333;
}

/* ====================================
   Intro Section
   ==================================== */
.p-contact-intro {
  text-align: center;
  margin-bottom: 60px;
}

.p-contact-intro__text {
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 40px;
  font-size: 1rem;
}

.p-contact-intro__btns {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.intro-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 70px;
  text-decoration: none;
  color: #fff;
  border-radius: 0;
  font-weight: bold;
  transition: opacity 0.3s;
}
.intro-btn:hover { opacity: 0.8; }

.intro-btn--tel {
  background-color: #558a46;
}
.intro-btn--tel .small { font-size: 0.85rem; }
.intro-btn--tel .tel-num { font-size: 1.25rem; line-height: 1.2; }

.intro-btn--line {
  background-color: #06c755;
  font-size: 1.25rem;
}

.p-contact-intro__divider {
  border: none;
  border-top: 1px solid #ccc;
  width: 100%;
  margin: 0;
}

/* ====================================
   Form Section
   ==================================== */
.p-contact-form-section {
  position: relative;
  padding-bottom: 150px;
}

/* Tabs */
.p-contact-tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 800px;
}

.p-contact-tabs__item {
  font-size: 1.25rem;
  font-weight: bold;
  padding-bottom: 10px;
  color: #ccc;
  position: relative;
  margin: 0 20px;
}

.p-contact-tabs__item.is-active {
  color: #333;
}
.p-contact-tabs__item.is-active::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-orange);
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Form Wrapper */
.p-contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  background-color: #fff;
  position: relative;
  z-index: 2;
}

/* Contact Form 7 Reset/Override */
.wpcf7-form p {
  margin-bottom: 0; /* CF7のデフォルト余白を打ち消し */
}

/* Form Row (Table Layout) */
.p-h-form__row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}
.p-h-form__row:last-of-type {
  border-bottom: none;
}

/* Label Column */
.p-h-form__label {
  width: 240px;
  background-color: var(--color-bg-gray);
  padding: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--color-border);
  box-sizing: border-box;
}
.p-h-form__label .required {
  color: red;
  font-size: 0.8rem;
  margin-left: 5px;
  vertical-align: super;
}

/* Input Column */
.p-h-form__input {
  flex: 1;
  padding: 15px 20px;
  background-color: #fff;
  margin: 0;
}

/* Input Styles */
.p-h-form__input input[type="text"],
.p-h-form__input input[type="email"],
.p-h-form__input input[type="tel"],
.p-h-form__input textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
}
.p-h-form__input textarea {
  resize: vertical;
  height: 200px;
}

/* Privacy Policy */
.p-h-form__privacy {
  text-align: center;
  padding: 40px 0 20px;
}
.p-h-form__privacy label {
  cursor: pointer;
  font-weight: bold;
}
/* CF7のチェックボックス調整 */
.p-h-form__privacy input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 5px;
}

/* Submit Button */
.p-h-form__submit {
  text-align: center;
  padding-bottom: 40px;
}

/* CF7の送信ボタン */
.submit-btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 15px 80px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
  display: inline-block;
  -webkit-appearance: none;
}
.submit-btn:hover {
  opacity: 0.8;
}

/* Background Illustration */
.bg-chair-illustration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}
.bg-chair-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-contact-mv__title .en {
    font-size: 4rem;
  }

  .p-contact-intro__btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .intro-btn {
    width: 100%;
    max-width: 320px;
  }

  /* Form Responsive (縦積み) */
  .p-h-form__row {
    flex-direction: column;
  }
  .p-h-form__label {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 10px 15px;
  }
  .p-h-form__input {
    padding: 15px;
  }

  .bg-chair-illustration {
    width: 200px;
    right: -20px;
  }
  
  .submit-btn {
    width: 80%;
    padding: 15px 0;
  }
}