/* ===========================================
   FV Latest News - bottom right overlay
   =========================================== */
.p-fv-news {
  position: absolute;
  bottom: 130px;
  right: 30px;
  z-index: 10;
  max-width: 560px;
  width: 100%;
}
.p-fv-news__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 14px 22px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.3s;
  border-radius: 4px;
}
.p-fv-news__link:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}
.p-fv-news__row1 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-fv-news__label {
  background: #fff;
  color: #00479d;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.p-fv-news__date {
  flex-shrink: 0;
  opacity: 0.8;
  font-size: 12px;
}
.p-fv-news__cat {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  flex-shrink: 0;
}
.p-fv-news__title {
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 2px;
}
@media (max-width: 767px) {
  .p-fv-news {
    bottom: 60px;
    right: 20px;
    left: 20px;
    max-width: none;
    width: auto;
  }
  .p-fv-news__link {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 4px;
  }
  .p-fv-news__cat { display: none; }
}

/* ===========================================
   NEW badge for news list items
   =========================================== */
.p-article04__new {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 10px;
  flex-shrink: 0;
  line-height: 1.4;
}

/* SP: News list - 2-line layout */
@media (max-width: 767px) {
  .p-article04__inner {
    flex-wrap: wrap;
    height: auto;
    line-height: 1.6;
    padding: 10px 15px;
  }
  .p-article04__date {
    margin-right: 8px;
  }
  .p-article04__title {
    flex-basis: 100%;
    white-space: normal;
    overflow: visible;
    line-height: 1.5;
    margin-top: 2px;
  }
  .p-article04__new {
    margin-right: 6px;
  }
  .p-article04__inner .p-cat {
    font-size: 10px;
    line-height: 20px;
    padding: 0 6px;
    height: 20px;
    box-sizing: border-box;
  }
}

/* ===========================================
   Contact Form (row6) Design - mybest style
   White card / gray inputs / green submit button
   =========================================== */

/* Card wrapper */
.tcd-pb-row.row6 {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.tcd-pb-row.row6 .tcd-pb-row-inner {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 60px 96px;
  box-sizing: border-box;
}

.tcd-pb-row.row6 .wpcf7 {
  margin: 0;
  padding: 0;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
}
.tcd-pb-row.row6 .wpcf7-form {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
}

/* Each field row */
.tcd-pb-row.row6 .contact-form-styled .cf-field {
  margin-bottom: 24px;
  display: block;
}
.tcd-pb-row.row6 .contact-form-styled .cf-field p {
  margin: 10px;
}

/* Label */
.tcd-pb-row.row6 .contact-form-styled .cf-label {
  font-size: 14px;
  font-weight: 400;
  color: #444;
  margin: 0 0 8px;
  line-height: 1.5;
  display: block;
  text-align: left;
  min-width: 0;
  padding: 0;
}
.tcd-pb-row.row6 .contact-form-styled .cf-req {
  color: #e11d48;
  font-weight: 700;
  margin-right: 4px;
  font-size: 14px;
}

/* Input wrapper */
.tcd-pb-row.row6 .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  flex: none;
}

/* Input fields */
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-text,
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-email,
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-tel,
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-textarea,
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-select {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  font-size: 15px;
  color: #222;
  background: #f3f4f6 !important;
  margin-top: 0;
  transition: box-shadow .15s ease, background .15s ease, border-color .15s ease;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
}
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-text:focus,
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-email:focus,
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-tel:focus,
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-textarea:focus,
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-select:focus {
  background: #fff !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.tcd-pb-row.row6 .wpcf7-form-control::placeholder {
  color: #c0c4cb;
}

/* Select dropdown */
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px;
  cursor: pointer;
}

/* Textarea */
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

/* Checkbox / acceptance */
.tcd-pb-row.row6 .wpcf7-acceptance .wpcf7-list-item {
  display: inline-block;
  margin: 0;
}
.tcd-pb-row.row6 .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #444;
}
.tcd-pb-row.row6 .wpcf7-acceptance input[type="checkbox"] {
  accent-color: #10b981;
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
}
.tcd-pb-row.row6 .wpcf7-list-item-label {
  font-size: 14px;
  vertical-align: middle;
}
.tcd-pb-row.row6 .wpcf7-acceptance {
  margin-top: 10px;
}
.tcd-pb-row.row6 .wpcf7-acceptance a {
  color: #10b981;
  text-decoration: none;
}
.tcd-pb-row.row6 .wpcf7-acceptance a:hover {
  text-decoration: underline;
}

/* Submit button */
.tcd-pb-row.row6 .contact-form-styled .cf-submit {
  margin-top: 40px;
  text-align: center;
}
.tcd-pb-row.row6 .contact-form-styled .cf-submit p {
  margin: 0;
}
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 0;
  background: #10b981 !important;
  color: #fff;
  border: none !important;
  border-radius: 6px !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background .2s ease;
  font-family: inherit;
}
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-submit:hover {
  background: #059669 !important;
}
.tcd-pb-row.row6 .wpcf7-form-control.wpcf7-submit:disabled {
  background: #9ca3af !important;
  cursor: not-allowed;
}

/* Validation */
.tcd-pb-row.row6 .wpcf7-not-valid-tip {
  color: #e11d48;
  font-size: 12px;
  margin-top: 6px;
  display: block;
}
.tcd-pb-row.row6 .wpcf7-response-output {
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 20px;
}
.tcd-pb-row.row6 .wpcf7-spinner {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

/* Responsive */
@media (max-width: 767px) {
  .tcd-pb-row.row6 {
    padding: 0 !important;
    margin: 0 !important;
  }
  .tcd-pb-row.row6 .tcd-pb-row-inner {
    padding: 0;
    margin: 0;
    border-radius: 12px;
  }
  .tcd-pb-row.row6 .wpcf7-form-control.wpcf7-submit {
    padding: 14px 0;
    font-size: 15px;
  }
}
.p-index-content07.p-cb__item { background: #faf8f5; padding: 60px 0; margin-left: 0; margin-right: 0; max-width: 100%; width: 100vw; position: relative; left: 50%; transform: translateX(-50%); box-sizing: border-box; }
.p-index-content07.p-cb__item .p-cb__item-title,
.p-index-content07.p-cb__item .p-cb__item-sub { text-align: center; }
.p-index-content07.p-cb__item:last-of-type { background: #ffffff; }
.p-index-content07.p-cb__item .p-cb__item-title { font-size: 46px; }
@media screen and (max-width: 767px) {
  .p-index-content07.p-cb__item .p-cb__item-title { font-size: 35px; }
}
.p-entry__body p { line-height: 2; }
