/* =========================
   求人詳細 再設計版
========================= */

.u-job-details {
  width: min(92%, 1100px);
  margin: 32px auto 100px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.u-job-main-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.35;
  font-weight: 700;
  color: #231f1d;
  text-align: left;
}

.job-hero-main {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: 32px;
  align-items: stretch;
}

.job-hero-image {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #eadfdb;
  box-shadow: 0 14px 34px rgba(40, 16, 20, 0.08);
  background: #fff;
}

.job-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.job-hero-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(180deg, #fff 0%, #fffaf8 100%);
  border: 1px solid #eadfdb;
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 14px 34px rgba(40, 16, 20, 0.05);
}

.job-summary-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 24px;
  padding: 16px 0;
  align-items: start;
}

.job-summary-row + .job-summary-row {
  border-top: 1px solid #f1e7e3;
}

.job-summary-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #9f1d2c;
  line-height: 1.8;
}

.job-summary-value {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #2c2624;
}

.job-summary-value-strong {
  font-size: 1.18rem;
  font-weight: 700;
  color: #231f1d;
}

.job-message-box {
  margin-top: 24px;
  padding: 24px 26px;
  background: linear-gradient(180deg, #fff 0%, #fffaf8 100%);
  border: 1px solid #eadfdb;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(40, 16, 20, 0.05);
}

.job-block-title,
.job-section-heading {
  position: relative;
  margin: 0 0 18px;
  padding-left: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: #9f1d2c;
  letter-spacing: 0.04em;
}

.job-block-title::before,
.job-section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 4px;
  height: 1.3em;
  border-radius: 999px;
  background: #9f1d2c;
}

.job-message-content,
.job-block-content {
  font-size: 1rem;
  line-height: 2;
  color: #2c2624;
}

.u-job-info-des {
  margin-top: 0;
}

.u-job-info-title2 {
  position: relative;
  margin: 0 0 24px;
  padding-left: 18px;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 700;
  color: #231f1d;
}

.u-job-info-title2::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 5px;
  height: 1.2em;
  border-radius: 999px;
  background: linear-gradient(180deg, #9f1d2c, #d98d96);
}

.job-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.job-section-box {
  background: linear-gradient(180deg, #fff 0%, #fffdfa 100%);
  border: 1px solid #eadfdb;
  border-radius: 20px;
  padding: 28px 28px 26px;
  box-shadow: 0 12px 30px rgba(40, 16, 20, 0.05);
}

.job-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 28px;
  align-items: start;
  padding: 16px 0;
}

.job-row + .job-row {
  border-top: 1px solid #f1e7e3;
}

.job-row-label,
.job-sub-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2c2624;
  line-height: 1.8;
}

.job-row-value {
  font-size: 1rem;
  line-height: 1.9;
  color: #2c2624;
  word-break: break-word;
  min-width: 0;
}

.job-salary-main {
  margin: 0 0 20px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.6;
  color: #231f1d;
}

/* 給与の小ブロック共通 */
.job-sub-block {
  margin-top: 18px;
  padding-left: 18px;
  padding-top: 2px;
  border-left: 3px solid #9f1d2c;
}


.job-sub-block-title {
  margin: 0 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9f1d2c;
  line-height: 1.6;
}


.job-sub-value-only {
  font-size: 1rem;
  line-height: 1.9;
  color: #2c2624;
  padding-top: 0;
  margin: 0;
}

.job-sub-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 24px;
  align-items: start;
  padding: 12px 0;
}

.job-sub-row + .job-sub-row {
  border-top: 1px solid #f1e7e3;
}

.job-sub-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #3f3a38;
  line-height: 1.8;
}

.job-sub-value {
  font-size: 1rem;
  line-height: 1.9;
  color: #2c2624;
  word-break: break-word;
}

.job-sub-value-only {
  font-size: 1rem;
  line-height: 1.9;
  color: #2c2624;
  padding-top: 2px;
}

.job-entry-box {
  background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
  border: 1px solid #eadfdb;
  border-radius: 22px;
  padding: 34px 36px 38px;
  box-shadow: 0 12px 30px rgba(40, 16, 20, 0.05);
}

.job-entry-content {
  display: block;
}

.job-entry-text {
  max-width: 620px;
  font-size: 1rem;
  line-height: 2;
  color: #2c2624;
}

.job-entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-width: 300px;
  padding: 16px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a61e2d 0%, #861725 100%);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 14px 28px rgba(159, 29, 44, 0.22);
}

.job-entry-btn:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .job-entry-box {
    padding: 22px 16px 24px;
    border-radius: 16px;
  }

  .job-entry-text {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .job-entry-btn {
    width: 100%;
    min-width: auto;
    margin-top: 18px;
  }
}

.job-fixed-entry-btn {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 999;
  width: min(92%, 760px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9f1d2c 0%, #7f1722 100%);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 36px rgba(159, 29, 44, 0.3);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.job-fixed-entry-btn:hover {
  transform: translateX(-50%) translateY(-1px);
  opacity: 0.98;
}

.job-fixed-entry-btn {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.job-sub-row-single {
  padding-top: 0;
  padding-bottom: 0;
}

.job-sub-label-empty {
  visibility: hidden;
  min-height: 1px;
  margin: 0;
}

@media (max-width: 767px) {
  .u-job-details {
    width: calc(100% - 20px);
    margin: 20px auto 96px;
  }

  .u-job-main-title {
    margin-bottom: 16px;
    font-size: 1.7rem;
    line-height: 1.45;
  }

  .job-hero-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .job-hero-image img {
    min-height: 220px;
  }

  .job-hero-summary,
  .job-message-box,
  .job-section-box {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .job-summary-row,
  .job-row,
  .job-sub-row {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .job-summary-row,
  .job-row {
    padding: 14px 0;
  }

  .job-row-label,
  .job-summary-label,
  .job-sub-label {
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .job-row-value,
  .job-summary-value,
  .job-sub-value,
  .job-message-content,
  .job-block-content,
  .job-entry-text {
    font-size: 0.96rem;
    line-height: 1.85;
  }

  .job-salary-main {
    font-size: 1.16rem;
    margin-bottom: 16px;
  }

  .job-sub-block {
    padding-left: 12px;
  }

  .job-entry-content {
    flex-direction: column;
    align-items: stretch;
  }

  .job-entry-btn {
    width: 100%;
    min-width: auto;
  }

  .job-fixed-entry-btn {
    width: calc(100% - 20px);
    bottom: 10px;
    padding: 15px 16px;
    font-size: 0.95rem;
  }
}

/* ==============================
   求人ページ ヘッダー
============================== */

.job-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;

  margin: 0;
  padding: 30px 0;

  border-top: 3px solid;
  border-bottom: 3px solid;

  border-image: linear-gradient(90deg, #9f1d2c, #e4b0b6, #9f1d2c) 1;
  align-items: stretch;
}
.job-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 画像 */

.job-hero-image {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #eadfdb;
  box-shadow: 0 14px 34px rgba(40, 16, 20, 0.08);

  aspect-ratio: 4/3;
}

.job-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 情報 */

.job-hero-info {
  position: relative;
}

/* 募集職種 */

.job-hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

/* バッジ */

.job-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 18px;
}

.job-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 4px solid rgba(159, 29, 44, 0.18);
  background: #faf6f6;
  color: #8c1c2a;
}

/* 給与 */

.job-hero-salary {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}



@media (max-width: 768px) {
  .job-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .job-hero-title {
    font-size: 1.4rem;
  }

  .job-hero-salary {
    font-size: 1.25rem;
  }
}

/* =========================
   企業メッセージ
========================= */

.job-message-box {
  margin: 50px 0 50px;

  padding: 34px 40px;

  background: #f6f6f7;

  border-radius: 18px;

  font-size: 0.96rem;

  line-height: 1.95;

  color: #333;

  position: relative;
}

/* 左アクセント */

.job-message-box::before {
  content: "";

  position: absolute;

  left: 24px;
  top: 37px;

  width: 4px;
  height: 24px;

  background: #9f1d2c;

  border-radius: 2px;
}

/* タイトル */

.job-message-title {
  font-size: 1.05rem;

  font-weight: 700;

  margin-bottom: 18px;

  padding-left: 16px;

  color: #9f1d2c;

  letter-spacing: 0.05em;
}

/* 本文 */

.job-message-text {
  font-size: 0.95rem;

  color: #333;
}

/* =========================
   求人一覧カード 
========================= */

.job-archive-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.job-archive-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e9dfda;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(34, 20, 20, 0.05);
}

/* 左カラム */
.job-archive-card__thumb {
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.job-archive-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.job-archive-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.job-archive-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: auto;
  padding: 13px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.job-archive-card__btn--primary {
  background: linear-gradient(135deg, #a61e2d 0%, #861725 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(159, 29, 44, 0.16);
}

.job-archive-card__btn--primary:hover {
  transform: translateY(-1px);
}

.job-archive-card__btn--secondary {
  border: 1px solid #d7c8c2;
  background: #fff;
  color: #352d2a;
}

.job-archive-card__btn--secondary:hover {
  background: #faf7f6;
}

/* 右カラム */
.job-archive-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
}

.job-archive-card__head {
  margin-bottom: 12px;
}

.job-archive-card__title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 700;
  color: #201b19;
  letter-spacing: 0.01em;
}

.job-archive-card__title a {
  color: inherit;
  text-decoration: none;
}

.job-archive-card__title a:hover {
  opacity: 0.82;
}

/* 雇用形態 */
.job-archive-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-archive-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(159, 29, 44, 0.16);
  background: #faf6f6;
  color: #8c1c2a;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}


.job-archive-card__meta {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid #f2e8e4;
  border-bottom: 1px solid #f2e8e4;
}

.job-archive-card__meta-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: start;
  padding: 10px 0;
}

.job-archive-card__meta-item + .job-archive-card__meta-item {
  border-top: 1px solid #f6eeea;
}

.job-archive-card__meta-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7b726e;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.job-archive-card__meta-value {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #2b2624;
  word-break: break-word;
  min-width: 0;
}

.job-archive-card__meta-value--salary {
  font-size: 1.12rem;
  font-weight: 800;
  color: #9a1d2b;
  letter-spacing: 0.01em;
}


@media (max-width: 767px) {
  .job-archive-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
  }

  .job-archive-card__thumb {
    height: 210px;
    border-radius: 16px;
  }

  .job-archive-card__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .job-archive-card__meta-item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 0;
  }

  .job-archive-card__meta-label {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .job-archive-card__meta-value {
    font-size: 0.93rem;
    line-height: 1.75;
  }

  .job-archive-card__meta-value--salary {
    font-size: 1rem;
  }
}

/* 求人一覧カード 横幅固定 */

.job-archive-card {
  width: 100%;
  max-width: 980px; 
  margin: 0 auto; 
  box-sizing: border-box;
}

.job-archive-list {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* Page Navigation */
.page-navi {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0 0;
}

.page-navi a,
.page-navi span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  background: #f7f7f7;
  color: #555;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.15s ease;
}

.page-navi .current {
  background: #555;
  color: #fff;
  border-color: #555;
}

.page-navi a:hover {
  background: #eaeaea;
}


/*kyujin*/
.kyujin-img {
  width: 90%;
  margin: 0 auto;
}

/* 問い合わせ・応募フォームレイアウト */
.entry-form--modern {
  --label-width: 240px;
  --col-gap: 30px;
  --field-max: 640px;

  max-width: 980px;
  margin: 0 auto;
  padding: 36px 45px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.entry-form--modern .form-row {
  display: grid;
  grid-template-columns: var(--label-width) minmax(0, 1fr);
  gap: var(--col-gap);
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #e9eef5;
}

.entry-form--modern .form-row:last-child {
  border-bottom: none;
}

.entry-form--modern .form-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  column-gap: 12px;
  padding-top: 0;
}

.entry-form--modern .form-label label {
  display: block;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #0f172a;
  word-break: keep-all;
  overflow-wrap: normal;
}

.entry-form--modern .form-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 24px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.entry-form--modern .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.entry-form--modern .form-input,
.entry-form--modern .form-select,
.entry-form--modern .form-textarea,
.entry-form--modern input[type="date"] {
  width: 100%;
  max-width: var(--field-max);
  min-height: 56px;
  padding: 15px 18px;
  border: 1.5px solid #d8e1eb;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.6;
  box-sizing: border-box;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.entry-form--modern .form-textarea {
  min-height: 150px;
  resize: vertical;
}

.entry-form--modern .form-input:focus,
.entry-form--modern .form-select:focus,
.entry-form--modern .form-textarea:focus,
.entry-form--modern input[type="date"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.entry-form--modern ::placeholder {
  color: #94a3b8;
}

.entry-form--modern .form-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  max-width: var(--field-max);
}

.entry-form--modern .form-choice .wpcf7-list-item {
  margin: 0 !important;
}

.entry-form--modern .form-choice .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d7dee8;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.entry-form--modern .form-choice .wpcf7-list-item label:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  transform: translateY(-1px);
}

.entry-form--modern .form-choice input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #111827;
}

.entry-form--modern
  .form-choice
  .wpcf7-list-item
  label:has(input[type="radio"]:checked) {
  border-color: #111827;
  background: #f8fafc;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}


.entry-form--modern .form-row.btn-submit {
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 32px;
  border-bottom: none;
}

.entry-form--modern .btn-submit {
  text-align: center;
}

.entry-form--modern .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 56px;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.16);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}

.entry-form--modern .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.2);
  opacity: 0.98;
}

.entry-form--modern .submit:active {
  transform: translateY(0);
}

.entry-form--modern .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.entry-form--modern .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #dc2626;
}

.entry-form--modern .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
}

@media (max-width: 767px) {
  .entry-form--modern {
    --label-width: 100%;
    --col-gap: 0px;
    --field-max: 100%;

    padding: 24px 16px;
    border-radius: 18px;
  }

  .entry-form--modern .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 15px 0;
  }

  .entry-form--modern .form-label {
    grid-template-columns: minmax(0, 1fr) 48px;
    column-gap: 10px;
  }

  .entry-form--modern .form-label label {
    font-size: 15px;
  }

  .entry-form--modern .form-input,
  .entry-form--modern .form-select,
  .entry-form--modern .form-textarea,
  .entry-form--modern input[type="date"] {
    min-height: 52px;
    font-size: 16px;
  }

  .entry-form--modern .form-choice {
    gap: 10px;
  }

  .entry-form--modern .form-choice .wpcf7-list-item label {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
  }


  .entry-form--modern .submit {
    width: 100%;
    min-width: 100%;
  }
}

.entry-form--modern {
  --label-width: 260px;
}

.entry-form--modern .form-label {
  padding-left: 18px;
}

.entry-form--modern .form-choice {
  gap: 20px;
}

.entry-form--modern .form-choice .wpcf7-list-item label {
  padding: 0 20px;
}

@media (max-width: 767px) {
  .entry-form--modern {
    --label-width: 100%;
  }

  .entry-form--modern .form-label {
    padding-left: 6px;
  }

  .entry-form--modern .form-choice {
    gap: 12px;
  }

  .entry-form--modern .form-choice .wpcf7-list-item label {
    padding: 0 14px;
  }
}



.entry-intro {
  max-width: 980px;
  margin: 28px auto 22px;
  padding: 0 28px;
  text-align: center;
}

.entry-intro__sub {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #b91c1c;
}

.entry-intro__title {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
}

.entry-intro__text {
  max-width: 680px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.9;
  color: #475569;
}



.form-confirm {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #f8f8f8;
  box-sizing: border-box;
  line-height: 1.7;
  font-size: 16px;
  color: #333;
}

.form-confirm--message {
  min-height: 120px;
  white-space: pre-wrap;
}

.btn-submit--confirm {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .entry-intro {
    margin: 20px auto 16px;
    padding: 0 16px;
  }

  .entry-intro__title {
    font-size: 28px;
  }

  .entry-intro__text {
    font-size: 14px;
    line-height: 1.8;
  }
}


.contact-form-heading {
  margin: 0 0 20px;
  text-align: center;
}

.contact-form-heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.contact-form-heading p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #64748b;
}

/* reCAPTCHA 表示 共通 */
.company-recaptcha-note {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin: 24px auto 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: #64748b;
}

.company-recaptcha-note span,
.company-recaptcha-note a {
  display: inline;
  white-space: nowrap;
}

.company-recaptcha-note a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 767px) {
  .company-recaptcha-note {
    gap: 4px;
    font-size: 12px;
    line-height: 1.8;
  }
}

/* =========================
   useful archive page
   #9A2530 base
========================= */

.u-useful-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.u-useful-item {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid #eee7e8;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
  min-width: 0;
}

.u-useful-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  border-color: rgba(154, 37, 48, 0.22);
}

.u-useful-img {
  width: 220px;
  min-width: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #f7f4f5;
}

.u-useful-img img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.u-useful-textwrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2px 0;
}

.u-useful-item-title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.6;
  color: #181818;
  letter-spacing: 0.01em;
}

.u-useful-item-text {
  margin-top: 12px;
  font-size: 0.96rem;
  line-height: 1.9;
  color: #555;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  text-overflow: ellipsis;
}

/* 一覧全体の余白 */
.main-content {
  width: 100%;
}

main .u-useful-archive + .page-navi,
.page-navi {
  width: min(100%, 1100px);
  margin: 32px auto 0;
  text-align: center;
}

/* page navi */
.page-navi .wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.page-navi .wp-pagenavi a,
.page-navi .wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e8dfe1;
  background: #fff;
  color: #5a4d4f;
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.page-navi .wp-pagenavi a:hover {
  background: #9A2530;
  color: #fff;
  border-color: #9A2530;
  transform: translateY(-1px);
}

.page-navi .wp-pagenavi span.current {
  background: #9A2530;
  color: #fff;
  border-color: #9A2530;
}

.page-navi .wp-pagenavi span.extend {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 4px;
}

/* =========================
   tablet
========================= */
@media (max-width: 1024px) {
  .u-useful-archive {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .u-useful-item {
    padding: 16px;
  }

  .u-useful-img {
    width: 200px;
    min-width: 200px;
  }

  .u-useful-img img {
    min-height: 160px;
  }
}

/* =========================
   mobile
========================= */
@media (max-width: 767px) {
  .u-useful-archive {
    grid-template-columns: 1fr;
    gap: 16px;
    width: calc(100% - 16px);
  }

  .u-useful-item {
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
  }

  .u-useful-img {
    width: 100%;
    min-width: 0;
    border-radius: 12px;
  }

  .u-useful-img img {
    min-height: 200px;
    max-height: 220px;
  }

  .u-useful-textwrap {
    padding: 0;
  }

  .u-useful-item-title {
    font-size: 1.08rem;
    line-height: 1.65;
  }

  .u-useful-item-text {
    margin-top: 10px;
    font-size: 0.93rem;
    line-height: 1.85;
    -webkit-line-clamp: 3;
  }

  .page-navi {
    width: calc(100% - 16px);
    margin-top: 24px;
  }

  .page-navi .wp-pagenavi a,
  .page-navi .wp-pagenavi span {
    min-width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

/* =========================
   small mobile
========================= */
@media (max-width: 480px) {
  .u-useful-archive {
    width: calc(100% - 12px);
  }

  .u-useful-item {
    padding: 12px;
  }

  .u-useful-img img {
    min-height: 180px;
    max-height: 200px;
  }

  .u-useful-item-title {
    font-size: 1rem;
  }

  .u-useful-item-text {
    font-size: 0.9rem;
  }

  .page-navi {
    width: calc(100% - 12px);
  }
}

/* =========================
   ARTICLE DESIGN / LUXURY
   #9A2530ベース
========================= */

.article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #222;
  line-height: 2;
}

/* タイトル */
.article-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.article-lead {
  font-size: 15px;
  color: #666;
  margin-bottom: 36px;
}

/* セクション */
.article-section {
  margin-bottom: 36px;
}

/* H2 */
.article-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-left: 14px;
}

.article-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: #9A2530;
  border-radius: 2px;
}

/* H3 */
.article-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
  position: relative;
  padding-left: 12px;
}

.article-section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: #9A2530;
  border-radius: 50%;
}

/* テキスト */
.article-section p {
  margin-bottom: 14px;
  color: #333;
}

/* ボックス */
.article-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 22px;
  margin: 24px 0;
}

/* リスト */
.article-section ul {
  padding-left: 1.2em;
}

.article-section li {
  margin-bottom: 6px;
}

/* CTA */
.article-cta {
  margin-top: 40px;
  text-align: center;
}

.article-cta a {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 999px;
  background: #9A2530;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(154,37,48,0.2);
  transition: 0.3s;
}

.article-cta a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* スマホ */
@media (max-width: 767px) {
  .article-title {
    font-size: 26px;
  }

  .article-section h2 {
    font-size: 20px;
  }

  .article-section h3 {
    font-size: 16px;
  }

  .article-wrap {
    padding: 20px 14px 40px;
  }
}

/* =========================
   REVIEW ARTICLE / PREMIUM
   #9A2530 base
========================= */

.review-wrap {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 32px 20px 64px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #222;
  line-height: 2;
}

.review-lead {
  position: relative;
  margin: 0 0 34px;
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 2;
  color: #5d5657;
}

.review-lead::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, #9A2530 0%, rgba(154, 37, 48, 0.18) 100%);
  border-radius: 999px;
}

/* 要点サマリー */
.review-summary {
  margin: 0 0 28px;
  padding: 22px 22px 20px;
  background: linear-gradient(135deg, #fff 0%, #fcf7f8 100%);
  border: 1px solid rgba(154, 37, 48, 0.14);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.review-summary-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(154, 37, 48, 0.08);
  color: #8f1f2a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.review-summary p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #342f30;
}

/* セクション */
.review-box {
  position: relative;
  margin-bottom: 24px;
  padding: 28px 28px 24px;
  background: #fff;
  border: 1px solid #ece6e7;
  border-radius: 18px;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.045),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.review-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  color: #181818;
  letter-spacing: 0.01em;
}

.review-heading::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #9A2530;
  flex-shrink: 0;
}

.review-box p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 2;
  color: #3e3a3b;
}

.review-box p:last-child {
  margin-bottom: 0;
}

.review-box strong {
  color: #8f1f2a;
  font-weight: 700;
}

/* 良い点・注意点の2カラム */
.review-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 18px;
}

.review-card {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid #eee7e8;
  background: #fbf9f9;
}

.review-card-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.review-card--good {
  background: linear-gradient(180deg, #fff 0%, #fcf7f8 100%);
  border-color: rgba(154, 37, 48, 0.14);
}

.review-card--good .review-card-title {
  color: #8f1f2a;
}

.review-card--bad {
  background: linear-gradient(180deg, #fcfcfc 0%, #f7f5f5 100%);
}

/* 通常リスト */
.review-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-box li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 18px;
  color: #3e3a3b;
  line-height: 1.9;
}

.review-box li:last-child {
  margin-bottom: 0;
}

.review-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9A2530;
  transform: translateY(-50%);
}

/* 小さめ補足枠 */
.review-note-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #faf7f7;
  border: 1px solid #efe7e8;
  color: #494243;
  font-size: 14px;
  line-height: 1.9;
}

/* リンク */
.review-box a {
  color: #8f1f2a;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 37, 48, 0.25);
  transition: opacity 0.25s ease, color 0.25s ease;
}

.review-box a:hover {
  opacity: 0.82;
  color: #731823;
}

/* CTA */
.review-cta {
  margin-top: 34px;
  text-align: center;
}

.review-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  max-width: 100%;
  padding: 17px 30px;
  box-sizing: border-box;
  border-radius: 999px;
  background: linear-gradient(135deg, #8a1f2a 0%, #9A2530 55%, #b34652 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(154, 37, 48, 0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.review-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(154, 37, 48, 0.24);
  opacity: 0.98;
}

.review-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: #8b7e80;
}

/* スマホ */
@media (max-width: 767px) {
  .review-wrap {
    padding: 20px 14px 40px;
  }

  .review-lead {
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 14px;
  }

  .review-lead::after {
    width: 70px;
    margin-top: 14px;
  }

  .review-summary {
    padding: 18px 16px 16px;
    border-radius: 16px;
    margin-bottom: 20px;
  }

  .review-summary p {
    font-size: 14px;
    line-height: 1.9;
  }

  .review-box {
    padding: 20px 16px 18px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .review-heading {
    gap: 10px;
    margin-bottom: 14px;
    font-size: 19px;
    line-height: 1.55;
  }

  .review-heading::before {
    width: 22px;
    height: 3px;
  }

  .review-box p,
  .review-box li,
  .review-card-title,
  .review-note-box {
    font-size: 14px;
    line-height: 1.9;
  }

  .review-points {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 14px 0 16px;
  }

  .review-card {
    padding: 15px 14px 14px;
    border-radius: 14px;
  }

  .review-cta {
    margin-top: 24px;
  }

  .review-cta a {
    width: 100%;
    min-width: 0;
    padding: 15px 18px;
    font-size: 14px;
  }
}
/* =========================
   カード内リスト修正
========================= */

/* 変なチェック完全削除 */
.review-card li::before {
  content: none !important;
}

/* リストを普通の見た目に */
.review-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.review-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #333 !important; /* 青を強制リセット */
  font-size: 14px;
  line-height: 1.8;
}

/* シンプルな丸にする（高級感ver） */
.review-card li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 5px;
  height: 5px;
  background: #9A2530;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* =========================
   review old CSS reset
   古いリスト装飾を強制解除
========================= */

.review-wrap ul,
.review-wrap ol {
  list-style: none !important;
  margin: 0 0 14px !important;
  padding-left: 0 !important;
}

.review-wrap li {
  position: relative !important;
  padding-left: 18px !important;
  margin-bottom: 10px !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
  color: #3e3a3b !important;
}

.review-wrap li::before {
  content: none !important;
  display: none !important;
  font-family: inherit !important;
  background: none !important;
}

.review-wrap li::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.82em !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #9A2530 !important;
  transform: translateY(-50%) !important;
}

/* カード内も強制統一 */
.review-wrap .review-card ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.review-wrap .review-card li {
  color: #333 !important;
  padding-left: 18px !important;
}

.review-wrap .review-card li::before {
  content: none !important;
  display: none !important;
}

.review-wrap .review-card li::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.82em !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #9A2530 !important;
  transform: translateY(-50%) !important;
}

/* もし昔の青文字指定が残っていても潰す */
.review-wrap li,
.review-wrap li a,
.review-wrap .review-card li,
.review-wrap .review-card li a {
  color: #3e3a3b !important;
}

/* 見出し帯の古い背景色も消す */
.review-wrap h2,
.review-wrap h3 {
  background: transparent !important;
}

/* 古い黄色線・点線を消す */
.review-wrap h2 {
  border-bottom: none !important;
}

.review-wrap h3 {
  border-bottom: 1px solid rgba(154, 37, 48, 0.18) !important;
}

/* =========================
   review page font unify
========================= */

.review-wrap,
.review-wrap *,
.review-summary,
.review-summary *,
.review-box,
.review-box *,
.review-cta,
.review-cta * {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}


/* =========================
   cancellation page
========================= */

/* 全体 */
.cancel-lp {
  background: #fff;
  color: #1f2b33;
  overflow: hidden;
}

/* -------------------------
   hero
------------------------- */
.cancel-hero {
  position: relative;
  min-height: clamp(560px, 72vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 72px;
}

.cancel-hero__bg {
  position: absolute;
  inset: 0;
}

.cancel-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center center;
}

.cancel-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 17, 20, 0.72) 0%,
    rgba(16, 17, 20, 0.48) 42%,
    rgba(16, 17, 20, 0.22) 100%
  );
}

.cancel-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  color: #fff;
}

.cancel-hero__eyebrow,
.cancel-section-label {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #d8dde0;
}

.cancel-hero__title {
  margin: 0 0 22px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.cancel-hero__text {
  max-width: 800px;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
}

.cancel-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* -------------------------
   button
------------------------- */
.cancel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 60px;
  padding: 16px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.cancel-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #c62d39 0%, #9c212c 100%);
  box-shadow:
    0 10px 0 #7f1821,
    0 18px 32px rgba(156, 33, 44, 0.22);
}

.cancel-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 0 #7f1821,
    0 22px 36px rgba(156, 33, 44, 0.28);
}

.cancel-btn--ghost {
  color: #9c212c;
  background: #fff;
  border: 2px solid #9c212c;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.cancel-btn--ghost:hover {
  transform: translateY(-2px);
  background: #fff7f7;
}

.cancel-faq__content a[download] {
  font-weight: 700;
  text-decoration: underline;
}



/* -------------------------
   common section
------------------------- */
.cancel-section-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.35;
  color: #1f2b33;
}

.cancel-section-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  color: #5c5b57;
}

/* -------------------------
   proof
------------------------- */
.cancel-proof {
  padding: 48px 20px 70px;
  background: #fff;
}

.cancel-proof__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.cancel-proof__head {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.cancel-proof__head::before {
  content: "";
  display: block;
  width: 120px;
  height: 8px;
  margin: 0 auto 22px;
  background: linear-gradient(90deg, #7f1821 0%, #9c212c 100%);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(156, 33, 44, 0.18);
}

.cancel-proof__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.cancel-card {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.cancel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.12);
}

.cancel-card__top {
  background: linear-gradient(180deg, #b12a34 0%, #8f1d27 100%);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 14px 12px;
}

.cancel-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.cancel-card__body {
  padding: 24px 22px 26px;
}

.cancel-card__title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  color: #1f2b33;
  text-align: center;
}

.cancel-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #4e4a46;
  text-align: center;
}

.cancel-proof__cta {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}
/* -------------------------
   retain section / luxury
------------------------- */
.cancel-retain {
  padding: 36px 20px 110px;
  background: #fff;
}

.cancel-retain__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.cancel-retain__lead {
  text-align: center;
  margin-bottom: 56px;
}

.cancel-retain__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 34px;
  align-items: start;
}

.cancel-retain__side {
  position: sticky;
  top: 110px;
  padding: 34px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #a11f2b 0%, #7d1420 100%);
  color: #fff;
  box-shadow:
    0 24px 44px rgba(92, 12, 21, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cancel-retain__side::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cancel-retain__side-label {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
}

.cancel-retain__side-title {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.25;
  color: #fff;
}

.cancel-retain__side-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}

.cancel-retain__side-cta {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

.cancel-retain__side .cancel-btn--primary {
  width: 100%;
  background: #fff;
  color: #9c212c;
  box-shadow:
    0 10px 22px rgba(26, 18, 19, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cancel-retain__cards {
  display: grid;
  gap: 24px;
}

.cancel-retain-card {
  position: relative;
  padding: 30px 32px 30px 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
  border: 1px solid #ece8e5;
  box-shadow:
    0 26px 44px rgba(18, 24, 31, 0.08),
    0 8px 18px rgba(18, 24, 31, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.cancel-retain-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c62d39 0%, #9c212c 100%);
  box-shadow: 0 0 18px rgba(156, 33, 44, 0.18);
}

.cancel-retain-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(156, 33, 44, 0.05);
  pointer-events: none;
}

.cancel-retain-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 52px rgba(18, 24, 31, 0.12),
    0 12px 24px rgba(18, 24, 31, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cancel-retain-card__meta {
  margin-bottom: 18px;
}

.cancel-retain-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff4f5 0%, #f8e7ea 100%);
  border: 1px solid #efd4d8;
  color: #9c212c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.cancel-retain-card__body {
  position: relative;
  z-index: 1;
}

.cancel-retain-card__title {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.4;
  color: #1f2b33;
  letter-spacing: 0.01em;
}

.cancel-retain-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
  color: #5d646a;
}

.cancel-retain__bottom {
  margin-top: 46px;
}

.cancel-retain__bottom-box {
  position: relative;
  padding: 46px 34px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at top right,
      rgba(156, 33, 44, 0.22) 0%,
      rgba(156, 33, 44, 0) 24%
    ),
    linear-gradient(180deg, #171d23 0%, #252c33 100%);
  box-shadow:
    0 28px 56px rgba(19, 24, 29, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.cancel-retain__bottom-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.cancel-retain__bottom-title {
  margin: 0 0 20px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

.cancel-retain__tags {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cancel-retain__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.cancel-retain__bottom-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.cancel-retain__bottom-cta {
  margin-top: 28px;
  text-align: center;
}

.cancel-retain-card.fade-up {
  transform: translateY(46px);
}

.cancel-retain-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 1024px) {
  .cancel-retain__grid {
    grid-template-columns: 1fr;
  }

  .cancel-retain__side {
    position: static;
  }
}

@media (max-width: 767px) {
  .cancel-retain {
    padding: 24px 16px 76px;
  }

  .cancel-retain__lead {
    margin-bottom: 36px;
  }

  .cancel-retain__side {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .cancel-retain-card {
    padding: 24px 20px 24px 22px;
    border-radius: 22px;
  }

  .cancel-retain-card__title {
    font-size: 24px;
  }

  .cancel-retain-card__text,
  .cancel-retain__bottom-text,
  .cancel-retain__side-text {
    font-size: 14px;
    line-height: 1.95;
  }

  .cancel-retain__bottom-box {
    padding: 34px 18px;
    border-radius: 22px;
  }

  .cancel-retain__bottom-title {
    font-size: 26px;
  }
  .cancel-proof__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cancel-card {
    width: 100%;
    max-width: none;
  }
}

/* -------------------------
   guide / faq
------------------------- */
.cancel-guide {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 88px;
}

.cancel-guide__head {
  text-align: center;
  margin-bottom: 34px;
}

.cancel-faq {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.cancel-faq__item {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 29, 35, 0.06);
}

.cancel-faq__summary {
  list-style: none;
  position: relative;
  padding: 24px 70px 24px 24px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: #1f2b33;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.cancel-faq__summary::-webkit-details-marker {
  display: none;
}

.cancel-faq__summary::before,
.cancel-faq__summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #5c737c;
  border-radius: 999px;
  transform: translateY(-50%);
  transition: 0.3s ease;
}

.cancel-faq__summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.cancel-faq__item[open] .cancel-faq__summary::after {
  opacity: 0;
}

.cancel-faq__item[open] .cancel-faq__summary {
  background: #fff7f7;
}

.cancel-faq__content {
  padding: 0 24px 24px;
}

.cancel-faq__content p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #51616b;
}

/* -------------------------
   animation
------------------------- */
.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1);
  will-change: transform, opacity;
}

.fade-up {
  transform: translateY(36px);
}

.fade-left {
  transform: translateX(-52px);
}

.fade-right {
  transform: translateX(52px);
}

.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 767px) {
  .cancel-hero {
    min-height: auto;
    padding: 88px 16px 68px;
  }

  .cancel-hero__title {
    font-size: 34px;
  }

  .cancel-hero__text,
  .cancel-section-text,
  .cancel-card__text,
  .cancel-faq__content p {
    font-size: 14px;
    line-height: 1.9;
  }

  .cancel-hero__buttons {
    flex-direction: column;
  }

  .cancel-proof,
  .cancel-story,
  .cancel-points,
  .cancel-guide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cancel-proof {
    padding-top: 36px;
    padding-bottom: 60px;
  }

  .cancel-proof__head::before {
    height: 5px;
    margin-bottom: 22px;
    border-radius: 0 0 24px 24px;
  }

  .cancel-section-title {
    font-size: 25px;
  }

  .cancel-card__title {
    font-size: 26px;
  }

  .cancel-btn {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .cancel-story {
    padding-top: 0;
    padding-bottom: 70px;
  }

  .cancel-story__image,
  .cancel-points__inner,
  .cancel-faq__item {
    border-radius: 20px;
  }

  .cancel-story__image img {
    height: 300px;
  }

  .cancel-points__inner {
    padding: 42px 22px;
  }

  .cancel-faq__summary {
    padding: 20px 58px 20px 18px;
    font-size: 15px;
  }

  .cancel-faq__content {
    padding: 0 18px 18px;
  }
}
/* ===== Q&Aページ ===== */
.qa-page {
  padding: 60px 20px;
  background: #f9f9f9;
}

/* タイトル */
.qa-hero {
  text-align: center;
  margin-bottom: 40px;
}
.qa-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}
.qa-hero p {
  color: #666;
}

/* Q&A本体 */
.qa-container {
  max-width: 800px;
  margin: 0 auto;
}

/* 各アイテム */
.qa-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* 質問 */
.qa-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
}

/* Qマーク */
.qa-q {
  background: #99202B;
  color: #fff;
  font-weight: bold;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Aマーク */
.qa-a {
  background: #ccc;
  color: #333;
  font-weight: bold;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
}

/* テキスト */
.qa-text {
  flex: 1;
}

/* アイコン */
.qa-icon {
  font-size: 20px;
  color: #99202B;
}

/* 回答 */
.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  padding: 0 18px;
}
.qa-answer p {
  padding: 16px 0;
  line-height: 1.6;
}

/* 開いた状態 */
.qa-item.active .qa-answer {
  max-height: 200px;
}
.qa-item.active .qa-icon {
  transform: rotate(45deg);
}

.qa-contact {
  margin-top: 40px;
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.qa-contact__text {
  margin-bottom: 16px;
  color: #555;
  line-height: 1.7;
}

.qa-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #8f1521 0%, #b3202a 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 24px rgba(153, 32, 43, 0.22);
}

.qa-contact__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(153, 32, 43, 0.28);
}

@media (max-width: 767px) {
  .qa-contact {
    margin-top: 28px;
    padding: 24px 16px;
  }

  .qa-contact__btn {
    width: 100%;
    min-width: 0;
  }
}


@media (max-width: 768px) {
  .qa-hero h1 {
    font-size: 24px;
  }
}

/*privacy*/
.u-privacy-contents {
  margin-top: 2rem;
}
.privacy-item {
  margin-top: 2rem;
}
.privacy-item h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.privacy-item h2 {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  color: #000;
}
.privacy-item h2::before {
  content: "";
  height: 40px;
  width: 4px;
  background-color: #000;
  margin-right: 1rem;
}
.privacy-item {
  line-height: 2;
}
.privacy-item ol,
.privacy-item ul {
  margin-top: 0.5rem;
}
.privacy-item ol > li {
  list-style: initial;
  list-style-type: decimal;
  list-style-position: inside;
}

.sec-ol {
  padding-left: 2rem;
}
.mt-1 {
  margin-top: 1rem;
}

/*記事系ページデザイン*/
.u-resume-text h2,
.useful-single-textwrap h2,
.news-single-textwrap h2 {
  font-size: 1.3rem; /* フォントサイズ */
  font-weight: bold; /* フォント太さ */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  margin-bottom: 2rem;
  background-color: #f4f7fb; /* 背景色 */
  border-bottom: 4px solid #9A2530; /* 下の線 */
  color: #000; /* フォント色 */
  margin-top: 2rem;
}
.u-resume-text h3,
.useful-single-textwrap h3,
.news-single-textwrap h3 {
  font-size: 1.2rem; /* フォントサイズ */
  font-weight: bold; /* フォント太さ */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin: 1rem 0;
  position: relative;
  border-bottom: dotted 3px #f0c400; /* 線 */
  color: #000; /*フォント色*/
}

.u-resume-text hr,
.useful-single-textwrap hr,
.news-single-textwrap hr {
  margin: 2rem 0;
  border-color: gray;
}
.u-resume-text p,
.useful-single-textwrap p,
.news-single-textwrap p {
  line-height: 2;
}
.u-resume-text p strong,
.useful-single-textwrap p strong,
.news-single-textwrap p strong {
  background: linear-gradient(transparent 65%, #bd203052 0%);
  display: inline;
  padding: 0 1px 0px;
}
.u-resume-text p em,
.useful-single-textwrap p em,
.news-single-textwrap p em {
  background: linear-gradient(transparent 65%, #bd203052 0%);
  display: inline;
  padding: 0 1px 0px;
  font-weight: bold;
  font-style: normal;
}
.u-resume-text ul,
.useful-single-textwrap ul,
.news-single-textwrap ul {
  margin: 1rem 0 1rem 0.5rem;
}
.u-resume-text li,
.useful-single-textwrap li,
.news-single-textwrap li {
  font-size: 1rem; /* フォントサイズ */
  padding-left: 1.4rem;
  position: relative;
  line-height: 2;
  color: #284078; /*フォント色*/
}
.u-resume-text li + li,
.useful-single-textwrap li + li,
.news-single-textwrap li + li {
  margin-top: 0.5rem;
}
.u-resume-text li::before,
.useful-single-textwrap li::before,
.news-single-textwrap li::before {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  font-weight: 900;
  font-size: 1rem;
  left: 0;
  top: 0.1rem;
  color: #284078;
}

/*features-lists*/
.features-lists-contents {
  display: flex;
  width: 50px;
}
.features-lists-contents a {
  width: calc((100% - 30px) / 2);
  margin: 10px;
}
.features-lists-contents a img {
  display: flex;
  width: 50px;
  object-fit: none;
}

/*サイドバーなしの場合のcss*/
.main-max-width {
  width: 100%;
}


/*求人掲載page*/

/* 求人ページ本体は縦並び固定 */
.kyujin-content {
  display: block !important;
}

/* 画像セクションは先に表示 */
.image-flow {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: both !important;
}

/* 問い合わせボックスは必ずその下 */
.kyujin-contact-cta {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 40px 0 0 !important;
  float: none !important;
  clear: both !important;
  order: 99 !important;
}

/* ボックス本体は中央寄せ */
.kyujin-contact-cta__inner {
  max-width: 860px;
  margin: 0 auto;
}

/* スマホでも順番固定 */
@media (max-width: 767px) {
  .kyujin-content {
    display: block !important;
  }

  .image-flow {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: both !important;
  }

  .kyujin-contact-cta {
    display: block !important;
    width: 100% !important;
    margin: 28px 0 0 !important;
    float: none !important;
    clear: both !important;
    order: 99 !important;
  }

  .kyujin-contact-cta__inner {
    width: calc(100% - 32px);
    margin: 0 auto;
  }
}

.image-flow {
  max-width: 1200px;
  margin: 0 auto;
}

.image-item {
  display: flex;
  justify-content: center;   
  margin: 80px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.image-item.left {
  justify-content: flex-start;  
}

.image-item.right {
  justify-content: flex-end;    
}

.image-item img {
  width: 100%;
  max-width: 2000px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.image-item.show {
  opacity: 1;
  transform: translateY(0);
}
.kyujin-contact-cta {
  display: block;
  width: 100%;
  margin-top: 40px;
  clear: both;
  flex-basis: 100%;
}

.kyujin-contact-cta__inner {
  max-width: 480px;
  margin: 0 auto;
}

.kyujin-contact-cta {
  padding: 56px 20px 72px;
}

.kyujin-contact-cta__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px;
  background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
  border: 1px solid rgba(153, 32, 43, 0.12);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.kyujin-contact-cta__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  color: #99202B;
}

.kyujin-contact-cta__text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

.kyujin-contact-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #8f1521 0%, #b3202a 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(153, 32, 43, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.kyujin-contact-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(153, 32, 43, 0.28);
  opacity: 0.96;
}


@media (max-width: 767px) {
  .kyujin-contact-cta {
    padding: 40px 16px 56px;
  }

  .kyujin-contact-cta__inner {
    padding: 30px 18px;
    border-radius: 18px;
  }

  .kyujin-contact-cta__title {
    font-size: 22px;
  }

  .kyujin-contact-cta__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .kyujin-contact-cta__button {
    width: 100%;
    min-width: 0;
    padding: 15px 20px;
    font-size: 15px;
  }
}