/* 

Add CSS

*/

body.page-template-page-contact-form26 {
  padding-top: 0 !important;
}

.iw-home-lp *,
.iw-home-lp *::before,
.iw-home-lp *::after {
  box-sizing: border-box;
}

.contact-form.lp {
  padding: 10px 0;
  background-color: transparent;
}

fieldset {
  display: none;
}

/* --- ヒーローセクション --- */
.lp-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
  overflow-y: auto;
}

.lp-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}

/* --- コンテンツ・オーバーレイ --- */
.lp-content-overlay {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-content-overlay .header-wrap-logo {
  margin: 0px 0 50px 0;
}

.lp-content-overlay .header-wrap-logo-sub {
  display: flex;
  width: 500px;
}

.lp-content-overlay .header-wrap-logo-sub p {
  font-size: 1.2rem;
  margin-top: 3px;
}

.lp-content-overlay .header-wrap-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lp-content-overlay .header-wrap-logo-container h2 img {
  width: 170px;
  height: auto !important;
  margin: 0;
  line-height: 1;
  content-visibility: auto;
}

.lp-content-overlay .header-wrap-logo-container span.lp-tag {
  font-family: "Shippori Antique B1", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  white-space: nowrap;
  margin-top: 15px;
  line-height: 1;
}

.lp-content-overlay .header-wrap-logo-sub h1 img {
  width: 170px;
  margin-left: 10px;
}

.lp-content {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 4;
}

.lp-content-inner {
  padding: 30px 50px;
  align-items: center;
}

.lp-image-box {
  width: 750px;
  z-index: 4;
}

.lp-image-box img {
  margin-left: 30px;
}

/* --- 右側フォームエリア (PC) --- */
.lp-form-right {
  position: relative;
  z-index: 10;
  width: 450px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  height: 100vh;
  min-height: 100%;
  overflow-y: auto;
  right: 15%;
  overflow-x: hidden;
}

/* --- メッセージエリア --- */
.lp-message-area {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  line-height: 1.8;
}

.msg-sub {
  font-size: 2rem;
  font-weight: bold;
  font-family: "DIN", sans-serif;
  color: #e4892a;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.msg-title {
  font-size: 1.4rem;
  font-family: "Shippori Antique B1", sans-serif;
  margin: 25px 0;
  font-weight: 400;
}

.msg-content p {
  margin-bottom: 1.5em;
  font-size: 1.4rem;
  font-family: "Shippori Antique B1", sans-serif;
  font-weight: 400;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.msg-border {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px auto;
  width: 60%;
}

.msg-highlight {
  font-size: 2rem !important;
  font-weight: bold;
  color: #e4892a;
}

.msg-footer {
  background: #fdf2e8;
  padding: 10px;
  display: inline-block;
  width: 80%;
  font-weight: bold;
  margin-top: 10px;
}

p.msg-footer {
  font-size: 1.8rem;
}

/* --- カウンター --- */
.fixed-counter {
  position: fixed;
  right: 5%;
  bottom: 20px;
  background-color: #e4892a;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  z-index: 999;
  font-size: 1.5rem;
  padding: 8px 10px;
}

.notice-section {
  font-size: 1rem;
  margin: 10px 0 20px 30px;
}

/* --- アンケートボタン --- */
.survey-button {
  background-color: #be8157;
  border-radius: 10px;
  padding: 20px 10px;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 50px;
}

.survey-button .time-badge {
  background-color: #fff100;
  color: #333;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

.survey-button .cta-text {
  font-size: 1.8rem;
  font-weight: bold;
  display: block;
  color: #fff;
}

.survey-button .cta-text span {
  font-weight: bold;
  font-size: 2.7rem;
  margin: 0 2px;
  color: #fff;
}

/* サンクスメッセージ */
.thanks-message-box {
  background: #be8157;
  color: #fff !important;
  text-align: center;
  padding: 40px 20px 60px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.thanks-content h3 {
  font-family: "Shippori Antique B1", sans-serif;
  font-weight: 400;
  color: #fff;
}

.thanks-content p {
  font-family: "Shippori Antique B1", sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0em;
  margin-bottom: 0;
  line-height: 1.5;
  font-feature-settings: "palt";
}

.lp-txt {
  text-align: center;
  margin-top: 30px;
  font-weight: bold;
}

.lp-txt p {
  color: #be8157;
}

.notice-txt {
  border: 1px solid #bfbfbf;
  border-radius: 8px;
  padding: 15px;
  margin: 30px 10px;
}

.notice-txt .ttl {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.notice-txt p {
  font-size: 1.2rem;
}

.footer-lp .lp-content-overlay {
  position: unset;
  z-index: 2;
  flex: 1;
  min-width: unset;
  padding: 0 40px;
  display: unset;
  flex-direction: column;
  justify-content: unset;
  margin-top: 50px;
}

.footer-lp .lp-content-overlay .header-wrap-logo-container h2 {
  margin: 0 auto;
}

.footer-lp .footer-cooy-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  list-style: none;
}

.footer-lp .footer-cooy-link li {
  flex: 1;
  text-align: center;
}

.footer-lp .footer-cooy-link a {
  display: block;
  text-decoration: none;
  padding: 10px 0;
  font-size: 1.2rem;
}
.footer-lp .lp-content-overlay .header-wrap-logo-sub {
  display: flex;
  width: unset;
  align-items: center;
  justify-content: center;
}
.footer-lp .lp-content-overlay .header-wrap-logo-sub h1 img {
  width: 170px;
  height: auto !important;
  margin-left: 10px;
  margin-bottom: 10px;
}
.footer-cooy-co p {
  font-size: 1.2rem;
  text-align: center;
}

.footer-cooy-co p a {
  font-size: 1.2rem;
}

/* ==========================================
       レスポンシブ
    ========================================== */
@media (min-width: 768px) and (max-width: 1440px) {
  .lp-form-right {
    right: 0%;
  }

  .lp-image-box {
    width: 600px;
  }

  .lp-content {
    margin: 20px 0;
    background-color: transparent;
  }

  .lp-content-overlay .header-wrap-logo {
    margin: 30px 0 20px 0;
  }
}

@media (max-width: 768px) {
  .lp-hero {
    display: block;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .lp-hero::after {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .lp-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    object-fit: cover;
  }

  .lp-content-overlay {
    position: relative;
    z-index: 2;
    width: 100% !important;
    padding: 0 20px;
    margin: 0;
  }

  .lp-content {
    width: 100%;
    margin: 20px 0;
    background-color: transparent;
  }

  .lp-content-inner {
    padding: 0;
    margin: 0;
    display: block;
    text-align: center;
  }

  .lp-content-overlay .header-wrap-logo {
    margin: 30px 0 0 15px;
  }

  .lp-image-box {
    width: 100% !important;
    max-width: 100%;
    margin: 20px 0;
  }

  .lp-image-box img {
    width: 100%;
    height: auto;
    margin-left: 0 !important;
  }

  .lp-form-right {
    position: relative;
    z-index: 3;
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
    margin: 0 auto;
    height: auto;
    overflow: visible;
    padding: 20px 20px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  }

  .fixed-counter {
    right: 10px;
    bottom: 10px;
  }

  .lp-txt p {
    font-size: 2rem;
  }

  .image-box {
    width: 90%;
    margin: 0 auto;
  }

  .footer-cooy-co {
    margin-top: 30px;
  }
}

@media screen and (max-width: 599px) {
  .contact-form_th p {
    font-size: 1.4rem !important;
  }

  .footer-lp .lp-content-overlay {
    justify-content: unset;
    margin-top: 0;
    padding: unset;
  }
}

@media (max-width: 425px) {
  .lp-content-overlay .header-wrap-logo-container h2 {
    width: 140px;
    height: auto !important;
    content-visibility: auto;
  }

  .lp-content-overlay .header-wrap-logo-sub h1 img {
    width: 150px;
    height: auto !important;
    margin-bottom: 15px;
    content-visibility: auto;
  }

  .lp-content-overlay .header-wrap-logo {
    margin: 30px 0 0 0;
  }

  .lp-content-overlay .header-wrap-logo-sub p {
    font-size: 1.1rem;
    margin-top: 0;
    white-space: nowrap;
  }

  .image-box {
    width: 100%;
    margin: 0 auto;
  }
  .footer-lp .footer-cooy-link {
    margin-top: 20px;
  }
}

.qnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #be8157;
  color: #fff;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  font-family: YakuHanJP, "DIN", sans-serif;
  font-size: 1.8rem;
  margin-right: 12px;
  line-height: 1;
}

/* ==========================================
   CF7 ラジオボタン・装飾
   ========================================== */
.wpcf7-form-control.wpcf7-radio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.wpcf7-list-item {
  margin: 0 15px 10px 0;
}

.wpcf7-list-item label {
  display: block;
}

.wpcf7-list-item input[type="radio"] {
  display: none;
}

.wpcf7-list-item-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  background: #f8f8f8;
  color: #333;
  border: 2px solid #ddd;
  border-radius: 30px;
  padding: 12px 5px;
  font-size: 1.4rem;
  font-weight: bold;
  transition: all 0.3s ease;
  min-height: 50px;
  box-sizing: border-box;
  margin-left: 0 !important;
}

.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
  background: #e4892a;
  color: #fff;
  border-color: #e4892a;
}

.contact-form_td input,
.contact-form_td select,
.contact-form_td textarea {
  margin: 0 !important;
  background-color: #fff !important;
  height: 45px !important;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 1.4rem;
}

.contact-form_td input,
.contact-form_td select,
.contact-form_td textarea {
  font-size: 1.4rem;
}

[type="text"]:hover,
[type="tel"]:hover,
[type="email"]:hover,
textarea:hover {
  border-color: #eb6d00 !important;
}

.contact-form .contact-btn input {
  background-color: #e4892a !important;
}
