@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap");
:root {
  font-size: 100%;
  font-family: "Zen Maru Gothic", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
}

.p-pidi-main {
  width: 750px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 100vh;
}

header {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 750px;
  max-width: 100%;
  background-color: #fff;
  padding: 10px 20px;
  line-height: 1;
}

.p-header__logo {
  display: block;
  line-height: 1;
}
.p-header__logo a {
  line-height: 0;
  display: block;
}

.p-header__btn {
  width: -moz-fit-content;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 5px;
  border-bottom: 5px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: all 0.3s ease;
  font-size: calc(15 / 16 * 1rem);
  font-weight: bold;
}
.p-header__btn .txt {
  line-height: 1;
  transform: translateY(3px);
}
.p-header__btn .icon {
  width: 2em;
  height: 2em;
  margin-left: 5px;
}
.p-header__btn .icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

main {
  background-color: #fff;
}

.p-img-btn {
  position: relative;
}

.p-cta-btn {
  padding: 30px 15px;
  position: absolute;
  width: 90%;
  left: 5%;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 10px;
  font-size: calc(34 / 16 * 1rem);
  transition: all 0.3s ease;
  font-weight: 500;
}
.p-cta-btn .big {
  font-size: 140%;
}
.p-cta-btn .p-cta-icon {
  width: 1.7em;
  height: 2em;
  margin-left: 5px;
  display: block;
}
.p-cta-btn .p-cta-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.p-cta-btn .marker {
  display: inline-block;
  position: relative;
}
.p-cta-btn .marker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 251, 0, 0.7);
}

/* =====================
       よくあるご質問セクション
    ===================== */
.p-faq {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
}

.p-faq__title {
  font-size: 2.125rem; /* 34px */
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #b80455;
}

/* =====================
       アコーディオンアイテム
    ===================== */
.p-faq__item {
  border-bottom: 1px solid #e0e0e0;
}

.p-faq__item:first-of-type {
  border-top: 1px solid #e0e0e0;
}

/* 質問（ボタン） */
.p-faq__question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 1rem; /* 16px */
  font-family: inherit;
  color: #333;
  line-height: 1.7;
}

.p-faq__question-label {
  color: #b80455;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1rem;
}

.p-faq__question-text {
  flex: 1;
}

/* 回答エリア（アニメーション） */
.p-faq__answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.p-faq__item.is-open .p-faq__answer-wrap {
  grid-template-rows: 1fr;
}

.p-faq__answer-inner {
  overflow: hidden;
}

.p-faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 0 24px 0;
  font-size: 1rem; /* 16px */
  line-height: 1.8;
  color: #333;
}

.p-faq__answer-label {
  color: #b80455;
  font-weight: bold;
  flex-shrink: 0;
}

.p-faq__answer-text {
  flex: 1;
}

@media (max-width: 750px) {
  .p-cta-btn {
    padding: 1.8vw 1vw;
    font-size: 4.6vw;
  }
  .p-faq__title {
    font-size: 9vw;
    margin-bottom: 1em;
  }
  .p-cta-btn {
    padding: 3.4vw 1vw;
    bottom: 3vw;
    border-radius: 1vw;
    font-size: 4.6vw;
  }
  .p-header__btn {
    font-size: 0.75rem;
    line-height: 1;
  }
}
/* ============================================
   お問い合わせ・確認画面 共通スタイル
============================================ */
#contact-area {
  background: #3F3969;
  padding: 50px 4%;
}

label + br {
  display: none;
}

/* リード文 */
.p-contact__lead {
  margin-bottom: 20px;
  line-height: 1.8;
}
.p-contact__lead h2 {
  font-size: calc(34 / 16 * 1rem);
  text-align: center;
  color: #fff;
  margin-bottom: 1em;
  font-weight: 500;
}

.p-contact__txt {
  color: #fff;
}

.p-contact__note {
  font-size: 0.75rem;
  color: #fff;
  text-align: right;
  margin-top: 4px;
}

.p-contact__required {
  font-size: 0.875rem;
  color: #F5E1B1;
  font-weight: bold;
  margin-top: 12px;
  font-weight: 500;
}

.p-contact__contact-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

/* フォームカード */
.p-contact__card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 32px 24px;
}

/* ============================================
   入力画面
============================================ */
.p-form__group {
  margin-bottom: 24px;
}

.p-form__label {
  display: block;
  font-weight: bold;
  font-size: 1rem;
  color: #333;
  margin-bottom: 8px;
}

.p-form__req {
  color: #B80455;
  margin-left: 2px;
}

.p-form__hint {
  font-size: 0.75rem;
  color: #666;
  margin-top: 4px;
}

/* インプット共通 */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 textarea:focus {
  border-color: #3F3969;
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

/* wpcf7のspanをblock化 */
.p-form__group .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* 住所 ラベル＋インプット横並び */
.p-form__address-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.p-form__address-item .p-form__sublabel {
  width: 5em;
  flex-shrink: 0;
  font-size: 0.875rem;
  color: #333;
  margin: 0;
}
.p-form__address-item .wpcf7-form-control-wrap {
  flex: 1;
  display: block;
}

.p-form__input--zip {
  max-width: 160px;
}

/* 個人情報同意 */
.p-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  border-bottom-width: 5px;
}

.p-form__privacy {
  margin-bottom: 28px;
  text-align: center;
  color: #222;
}
.p-form__privacy a {
  color: #B80455;
  text-decoration: underline;
}
.p-form__privacy .wpcf7-list-item {
  margin: 0;
}
.p-form__privacy .wpcf7-list-item-label {
  font-size: 0.875rem;
  color: #333;
}
.p-form__privacy .wpcf7-list-item-label a {
  color: #B80455;
  text-decoration: underline;
}
.p-form__privacy input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #041ab8;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-2px);
  cursor: pointer;
}

.pl85 {
  padding-left: 85px;
}

div.wpcf7-response-output {
  background: #fff;
}

/* 送信・確認ボタン */
.p-form__submit {
  width: 100%;
  background: #004EA2;
  border: none;
  border-bottom: 5px solid #013063;
  color: #fff;
  border-radius: 8px;
  padding: 18px;
  font-size: 1.125rem;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, border-bottom-width 0.15s;
}
.p-form__submit:hover {
  transform: translateY(3px);
  border-bottom-width: 2px;
}

/* バリデーションエラー */
.wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #B80455;
  margin-top: 4px;
  display: block;
}

.wpcf7-not-valid {
  border-color: #B80455 !important;
}

.wpcf7-response-output {
  border-color: #B80455 !important;
  color: #B80455;
  font-size: 0.875rem;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 6px;
}

/* ============================================
   確認画面
============================================ */
.p-confirm__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 24px;
}

.p-confirm__table {
  width: 100%;
  margin-bottom: 32px;
}

.p-confirm__row {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
}
.p-confirm__row:first-child {
  border-top: 1px solid #e0e0e0;
}

.p-confirm__th {
  width: 40%;
  padding: 16px 0;
  font-size: 1rem;
  font-weight: bold;
  color: #3F3969;
  flex-shrink: 0;
}

.p-confirm__td {
  padding: 16px 12px;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  word-break: break-all;
  flex: 1;
}

.p-confirm__btns {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.p-confirm__btns br {
  display: none;
}

.p-confirm__back {
  width: 100%;
  background: #fff;
  border: 2px solid #3F3969;
  color: #3F3969;
  border-radius: 8px;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.p-confirm__back:hover {
  background: #3F3969;
  color: #fff;
}

/* ============================================
   SP対応
============================================ */
@media (max-width: 450px) {
  .p-contact__card {
    padding: 24px 16px;
  }
  .p-contact__lead h2 {
    font-size: 9vw;
  }
  .p-confirm__th {
    width: 38%;
    font-size: 0.875rem;
    padding: 14px 10px;
  }
  .p-confirm__td {
    font-size: 0.875rem;
    padding: 14px 10px;
  }
}
/* ============================================
   お問い合わせ・確認画面 共通スタイル
============================================ */
#contact-area {
  background: #3F3969;
  padding: 50px 4%;
}

label + br {
  display: none;
}

/* リード文 */
.p-contact__lead {
  margin-bottom: 20px;
  line-height: 1.8;
}
.p-contact__lead h2 {
  font-size: calc(34 / 16 * 1rem);
  text-align: center;
  color: #fff;
  margin-bottom: 1em;
}

.p-contact__txt {
  color: #fff;
}

.p-contact__note {
  font-size: 0.75rem;
  color: #fff;
  text-align: right;
  margin-top: 4px;
}

.p-contact__required {
  font-size: 0.875rem;
  color: #F5E1B1;
  font-weight: bold;
  margin-top: 12px;
}

.p-contact__contact-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

/* フォームカード */
.p-contact__card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 32px 24px;
}

/* ============================================
   入力画面
============================================ */
.p-form__group {
  margin-bottom: 24px;
}

.p-form__label {
  display: block;
  font-weight: bold;
  font-size: 1rem;
  color: #333;
  margin-bottom: 8px;
}

.p-form__req {
  color: #B80455;
  margin-left: 2px;
}

.p-form__hint {
  font-size: 0.75rem;
  color: #666;
  margin-top: 4px;
}

/* インプット共通 */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 textarea:focus {
  border-color: #3F3969;
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

/* wpcf7のspanをblock化 */
.p-form__group .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* 住所 ラベル＋インプット横並び */
.p-form__address-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.p-form__address-item .p-form__sublabel {
  width: 5em;
  flex-shrink: 0;
  font-size: 0.875rem;
  color: #333;
  margin: 0;
}
.p-form__address-item .wpcf7-form-control-wrap {
  flex: 1;
  display: block;
}

.p-form__input--zip {
  max-width: 160px;
}

/* select */
.wpcf7-form-control-wrap:has(select) {
  position: relative;
  display: block;
}

.wpcf7-form-control-wrap:has(select)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #004ea2;
  pointer-events: none;
}

.wpcf7-form-control-wrap select {
  width: 100%;
  -moz-appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 3;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 14px;
}

/* 個人情報同意 */
.p-form__privacy {
  margin-bottom: 28px;
}
.p-form__privacy .wpcf7-list-item {
  margin: 0;
}
.p-form__privacy .wpcf7-list-item-label {
  font-size: 0.875rem;
  color: #333;
}
.p-form__privacy .wpcf7-list-item-label a {
  color: #B80455;
  text-decoration: underline;
}
.p-form__privacy input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #B80455;
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

/* 送信・確認ボタン */
.p-form__submit {
  width: 100%;
  background: #004EA2;
  border: none;
  border-bottom: 5px solid #013063;
  color: #fff;
  border-radius: 8px;
  padding: 18px;
  font-size: 1.125rem;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, border-bottom-width 0.15s;
}
.p-form__submit:hover {
  transform: translateY(3px);
  border-bottom-width: 2px;
}

/* バリデーションエラー */
.wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #B80455;
  margin-top: 4px;
  display: block;
}

.wpcf7-not-valid {
  border-color: #B80455 !important;
}

.wpcf7-response-output {
  border-color: #B80455 !important;
  color: #B80455;
  font-size: 0.875rem;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 6px;
}

/* ============================================
   確認画面
============================================ */
.p-confirm__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 24px;
}

.p-confirm__table {
  width: 100%;
  margin-bottom: 32px;
}

.p-confirm__row {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
}
.p-confirm__row:first-child {
  border-top: 1px solid #e0e0e0;
}

@media (max-width: 450px) {
  .p-confirm__row {
    flex-direction: column;
  }
  .p-confirm__th {
    width: 100%;
    padding: 14px 10px 0;
  }
  .p-confirm__td {
    padding: 5px 10px 10px;
  }
}
.p-confirm__td {
  padding: 16px 12px;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  word-break: break-all;
  flex: 1;
}

.p-confirm__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-confirm__back {
  width: 100%;
  background: #fff;
  border: 2px solid #3F3969;
  color: #3F3969;
  border-radius: 8px;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.p-confirm__back:hover {
  background: #3F3969;
  color: #fff;
}

/* ============================================
   送信完了ページ
============================================ */
.p-thanks {
  text-align: center;
  padding: 48px 24px;
}

.p-thanks__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
}
.p-thanks__icon svg {
  width: 100%;
  height: 100%;
}

.p-thanks__title {
  font-size: calc(22 / 16 * 1rem);
  font-weight: bold;
  color: #3F3969;
  margin-bottom: 20px;
}

.p-thanks__text {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 20px;
}

.p-thanks__note {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.8;
}

@media (max-width: 450px) {
  .p-thanks__title {
    font-size: 1.1875rem;
  }
  .p-thanks__text {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 20px;
  }
}
/* ============================================
   フッター
============================================ */
.p-footer {
  max-width: 100%;
  width: 750px;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
}

.p-footer__inner {
  padding: 40px 20px;
  margin: 0 auto;
}

/* ナビ */
.p-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.p-footer__link {
  display: inline-block;
  color: #333;
  font-size: 1rem;
  text-decoration: underline;
}

.p-footer__link:hover {
  opacity: 0.7;
}

/* 会社概要 */
.p-footer__company-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
}

.p-footer__company-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.p-footer__company-info {
  flex: 1;
}

.p-footer__company-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

.p-footer__company-row dt {
  flex-shrink: 0;
  font-weight: normal;
}

.p-footer__company-row dt::after {
  content: "：";
}

.p-footer__company-row dd a {
  color: #333;
  text-decoration: none;
}

.p-footer__company-row dd a:hover {
  text-decoration: underline;
}

/* QRコード */
.p-footer__qr {
  flex-shrink: 0;
}

.p-footer__qr img {
  width: 100px;
  height: 100px;
  display: block;
}

/* コピーライト */
.p-footer__copy {
  background: #3F3969;
  text-align: center;
  padding: 16px 20px;
}

.p-footer__copy p {
  font-size: 0.875rem;
  color: #fff;
  letter-spacing: 0.05em;
}

/* SP */
@media (max-width: 750px) {
  .p-footer__company-body {
    flex-direction: row;
    align-items: flex-start;
  }
  .p-footer__qr img {
    width: 80px;
    height: 80px;
  }
}/*# sourceMappingURL=style.css.map */