@charset "UTF-8";
/* =========================================================
   萬珍樓 採用LP テーマ上書き（テスト環境2：朱赤×コバルトブルー×方眼のFVに合わせる）
   app.css の後に読み込む。生成りの方眼紙×朱赤×コバルトブルー、明朝体、中華装飾。（変数名 --maroon は朱赤、--navy はコバルトブルーを指す）
========================================================= */
:root {
  --cream: #fffbf4;
  --cream-2: #f7f0e5;
  --maroon: #e0230d;
  --maroon-deep: #b3170a;
  --navy: #0a62ab;
  --navy-deep: #074a83;
  --ink: #1f1a17;
  --serif: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  /* 方眼紙の地紋（FVの背景に合わせる） */
  --pattern-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M16 0V16H0' fill='none' stroke='%230a62ab' stroke-opacity='.12' stroke-width='1'/%3E%3C/svg%3E");
  --pattern-maroon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M16 0V16H0' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='1'/%3E%3C/svg%3E");
  /* 見出し下の飾り罫（FV下部の飾りに合わせる） */
  --ornament-maroon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24'%3E%3Cg fill='none' stroke='%230a62ab' stroke-width='1.8'%3E%3Cpath d='M0 12h88M152 12h88M0 16h80M160 16h80'/%3E%3Cpath d='M88 12V6h8v8h-4M152 12V6h-8v8h4'/%3E%3Cpath d='M102 12h6M132 12h6'/%3E%3C/g%3E%3Cpath d='M120 2l10 10-10 10-10-10z' fill='none' stroke='%23e0230d' stroke-width='1.8'/%3E%3Ccircle cx='120' cy='12' r='3.5' fill='%23e0230d'/%3E%3C/svg%3E");
  --ornament-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24'%3E%3Cg fill='none' stroke='%23fffbf4' stroke-width='1.8'%3E%3Cpath d='M0 12h88M152 12h88M0 16h80M160 16h80'/%3E%3Cpath d='M88 12V6h8v8h-4M152 12V6h-8v8h4'/%3E%3Cpath d='M120 2l10 10-10 10-10-10z'/%3E%3Ccircle cx='120' cy='12' r='3.5' fill='%23fffbf4'/%3E%3Cpath d='M102 12h6M132 12h6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 全体 ---------- */
body {
  background: var(--cream-2);
  color: var(--ink);
}

body::before {
  background-color: var(--cream-2);
  background-image: var(--pattern-cream);
  background-size: 16px 16px;
  background-repeat: repeat;
}

.p-front {
  background-color: var(--cream);
}

/* ---------- ヘッダー（SP） ---------- */
.page-header__inner {
  background: var(--cream);
  border-bottom: 1px solid rgba(224, 35, 13, 0.25);
}

.nav-icon {
  background-color: var(--cream);
}

.nav-icon ul li {
  background: var(--maroon);
}

.head-btn {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.8rem;
  padding: 0 1.8rem;
  background: var(--maroon);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  border-radius: 0.4rem;
  box-shadow: inset 0 0 0 2px var(--maroon), inset 0 0 0 3px var(--cream);
}

/* ---------- サイドバー（PC）／ドロワー（SP） ---------- */
.c-sidebar {
  background-color: var(--maroon-deep);
  background-image: var(--pattern-maroon);
  background-size: 16px 16px;
}

.menu .menu-item .menu-item_link {
  font-family: var(--serif);
  background: linear-gradient(to right, #ffe08a 50%, var(--cream) 50%) 100%;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
}

@media (min-width: 960px) {
  .menu .menu-item {
    border-bottom-color: rgba(255, 248, 239, 0.2);
  }
}

@media (max-width: 959px) {
  .c-sidebar {
    background-color: rgba(255, 248, 239, 0.98);
    background-image: var(--pattern-cream);
  }

  .menu .menu-item {
    border-bottom-color: rgba(224, 35, 13, 0.15);
  }

  .menu .menu-item .menu-item_link {
    color: var(--maroon);
    background: none;
  }
}

/* ---------- CTA ---------- */
.c-cta-wrap__text {
  display: block;
  width: auto;
  max-width: none;
  margin-bottom: -1.3rem;
  padding: 0.4rem 1.6rem;
  background: var(--cream);
  border: 1.5px solid var(--navy);
  border-radius: 99px;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.c-cta-button {
  height: 7rem;
  padding: 0 4rem;
  border-radius: 1.2rem;
  background: var(--maroon);
  border: 2px solid var(--maroon-deep);
  box-shadow: inset 0 0 0 4px var(--maroon), inset 0 0 0 5.5px rgba(255, 248, 239, 0.9), 0 4px 0 var(--maroon-deep);
  color: var(--cream);
}

.c-cta-button__text {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: 0.16em;
}

.c-cta-button__ico {
  width: 1.2rem;
  height: 1.2rem;
  right: 2.2rem;
  border-top: 2px solid var(--cream);
  border-right: 2px solid var(--cream);
  transform: translateY(-50%) rotate(45deg);
}

.c-cta-button__ico img {
  display: none;
}

@media (min-width: 960px) {
  .c-cta-button:hover {
    opacity: 0.85;
    box-shadow: inset 0 0 0 4px var(--maroon), inset 0 0 0 5.5px rgba(255, 248, 239, 0.9);
    transform: translateY(4px);
  }
}

/* 臙脂地の上のCTAは生成りで反転 */
.is-maroon .c-cta-button,
.c-sidebar .c-cta-button {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--maroon);
  box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5.5px var(--maroon), 0 4px 0 rgba(0, 0, 0, 0.25);
}

.is-maroon .c-cta-button__ico,
.c-sidebar .c-cta-button__ico {
  border-color: var(--maroon);
}

/* ---------- 見出し ---------- */
.c-heading {
  text-align: center;
  font-family: var(--serif);
  color: var(--maroon);
  font-weight: 800;
}

.c-heading__en {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--navy);
}

.c-heading__main {
  display: block;
  margin-top: 0.6rem;
  font-size: 2.8rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.c-heading__main em {
  font-style: normal;
  font-size: 1.35em;
  line-height: 1;
}

.c-heading__note {
  display: block;
  margin-top: 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.c-heading::after {
  content: "";
  display: block;
  width: 24rem;
  max-width: 80%;
  height: 2.4rem;
  margin: 1.4rem auto 0;
  background: var(--ornament-maroon) center / contain no-repeat;
}

.is-maroon .c-heading,
.is-maroon .c-heading__note {
  color: var(--cream);
}

.is-maroon .c-heading__en {
  color: #ffe08a;
}

.is-maroon .c-heading::after {
  background-image: var(--ornament-cream);
}

/* ---------- 地色 ---------- */
.is-cream {
  background: var(--cream) var(--pattern-cream) repeat;
  background-size: 16px 16px;
}

.is-cream-2 {
  background: var(--cream-2) var(--pattern-cream) repeat;
  background-size: 16px 16px;
}

.is-maroon {
  background: var(--maroon) var(--pattern-maroon) repeat;
  background-size: 16px 16px;
  color: var(--cream);
}

/* セクション外枠（FVの額縁に合わせた二重罫） */
.has-frame {
  position: relative;
}

.has-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 2px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: -6px;
  opacity: 0.22;
  pointer-events: none;
}

.is-cream.has-frame,
.is-cream-2.has-frame {
  color: var(--maroon);
}

/* ---------- FV ---------- */
.p-front__mv {
  background: var(--cream);
  /* SP: 固定ヘッダーの高さ + 10px */
  padding-top: calc(var(--header-h, 4.7rem) + 10px);
}

/* PC: ヘッダー非表示。上の余白を画像の左右余白（9/892）に揃える */
@media screen and (min-width: 961px) {
  .p-front__mv {
    padding-top: 1.01%;
  }
}

.p-front__mv-inner img {
  display: block;
  width: 100%;
  height: auto;
}

.p-front__mv-link {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 84.4%;
  height: 9.2%;
  border-radius: 1.6rem;
  transition: background-color 0.2s;
}

.p-front__mv-link:hover,
.p-front__mv-link:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
}

/* ---------- メリット ---------- */
.p-front__merit {
  padding: 6rem 2rem 5rem;
}

.p-front__merit .p-front__merit-title {
  margin-bottom: 3rem;
}

.c-checklist {
  max-width: 33rem;
  margin: 0 auto 4rem;
  padding: 2.4rem 2.4rem 2rem;
  background: #fff;
  border: 2px solid var(--maroon);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(224, 35, 13, 0.5);
}

.c-checklist li {
  position: relative;
  padding: 0.9rem 0 0.9rem 3.2rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 1px dashed rgba(224, 35, 13, 0.3);
}

.c-checklist li:last-child {
  border-bottom: none;
}

.c-checklist li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  background: var(--maroon);
  transform: rotate(45deg);
}

.c-checklist li::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.5rem;
  height: 0.9rem;
  margin-top: -0.65rem;
  border-right: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(45deg);
}

.c-checklist strong {
  color: var(--maroon);
  font-weight: 800;
}

.p-front__merit .p-front__merit-sub {
  margin-bottom: 3rem;
  text-align: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.6;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.p-front__merit .p-front__merit-sub span {
  color: var(--maroon);
}

.p-front__merit .p-front__merit-list li img {
  width: 100%;
  max-width: 38.2rem;
}

/* ---------- 店舗 ---------- */
.p-front__shop {
  padding: 6rem 2rem 5rem;
}

.p-front__shop .p-front__shop-title {
  margin-inline: 0;
}

/* 本社（HTML版。上の店舗画像と同じ比率・文字組みに合わせる） */
.p-front__shop-item {
  container-type: inline-size;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}

.p-front__shop-photo {
  display: block;
  width: 100%;
  aspect-ratio: 700 / 320;
  object-fit: cover;
}

.p-front__shop-name {
  margin-top: 4cqw;
  font-size: 5.4cqw;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 0.08em;
}

.p-front__shop-access {
  margin-top: 4cqw;
  display: grid;
  gap: 3.2cqw;
}

.p-front__shop-access dt {
  font-size: 3.6cqw;
  line-height: 1.5;
}

.p-front__shop-access dd {
  margin-top: 0.6cqw;
  font-size: 3.2cqw;
  font-weight: 500;
  line-height: 1.6;
  padding-left: 1.3em;
  position: relative;
  opacity: 0.92;
}

.p-front__shop-access dd::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.55em;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid var(--gold, #ffe08a);
  border-bottom: 2px solid var(--gold, #ffe08a);
  transform: rotate(-45deg);
}

/* ---------- 働き方 ---------- */
.p-front__works {
  padding: 6rem 2rem 5rem;
}

.p-front__works .p-front__works-list li {
  background: #fff;
  border: 1px solid rgba(224, 35, 13, 0.35);
  box-shadow: 0 4px 0 rgba(224, 35, 13, 0.12);
}

/* ---------- 先輩に訊いてみた ---------- */
.p-front__faq {
  padding: 6rem 2.2rem 5rem;
}

.p-front__faq-person {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  max-width: 34rem;
  margin: 2.4rem auto 2rem;
}

.p-front__faq-person img {
  width: 11rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid var(--maroon);
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px rgba(224, 35, 13, 0.4);
}

.p-front__faq-person p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--ink);
}

.p-front__faq-person p strong {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 1rem;
  background: var(--maroon);
  color: var(--cream);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

/* ---------- メンバー ---------- */
.p-front__member {
  padding: 6rem 2rem 5rem;
}

.p-front__member .p-front__member-title {
  max-width: none;
}

/* メンバー紹介：スワイプ式スライダー（1人ずつ表示） */
.p-member {
  margin-top: 4rem;
}

.p-member__viewport {
  overflow: hidden;
  transition: height 0.4s ease;
  touch-action: pan-y;
}

.p-member__track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.4s ease;
}

.p-member__track.is-dragging {
  transition: none;
}

.p-member__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.4rem;
}

.p-member__photo {
  display: block;
  width: 17rem;
  height: 17rem;
  border-radius: 50%;
  border: 3px solid #fff;
  outline: 1px solid var(--maroon);
  outline-offset: 3px;
  box-shadow: 0 6px 16px rgba(179, 23, 10, 0.18);
  user-select: none;
  -webkit-user-drag: none;
}

.p-member__job {
  margin-top: 2.4rem;
  display: inline-block;
  padding: 0.5rem 1.6rem;
  background: var(--maroon);
  color: #fff;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.p-member__text {
  margin-top: 2rem;
  padding: 2.4rem 2rem;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(224, 35, 13, 0.35);
  box-shadow: 0 4px 0 rgba(224, 35, 13, 0.12);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.9;
  text-align: left;
}

.p-member__nav {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.6rem;
}

.p-member__arrow {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.p-member__arrow:hover,
.p-member__arrow:focus-visible {
  background: var(--maroon-deep);
}

.p-member__dots {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.p-member__dot {
  width: 0.9rem;
  height: 0.9rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(224, 35, 13, 0.25);
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.p-member__dot.is-active {
  background: var(--maroon);
  transform: scale(1.3);
}

/* ---------- 向いている人 ---------- */
.p-front__suited {
  padding: 6rem 2.4rem 0;
}

.p-front__suited-list {
  max-width: 33rem;
  margin: 3rem auto 4rem;
}

.p-front__suited-list li {
  position: relative;
  padding: 1.4rem 0 1.4rem 3.2rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 248, 239, 0.3);
}

.p-front__suited-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 2.1rem;
  width: 1.2rem;
  height: 1.2rem;
  background: #ffe08a;
  transform: rotate(45deg);
}

.p-front__suited-photo {
  margin: 0 -2.4rem;
}

.p-front__suited-photo img {
  display: block;
  width: 100%;
}

/* ---------- 募集要項 ---------- */
.p-front__recruit {
  padding: 6rem 2rem 5rem;
}

.p-front__recruit .p-front__recruit-title {
  max-width: none;
  margin: 0 auto 3rem;
}

.p-front__recruit .p-front__recruit-content {
  max-width: 34rem;
  padding: 1.6rem;
  background: #fff;
  border: 2px solid var(--maroon);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(224, 35, 13, 0.5);
}

/* 募集要項：求人情報ひとまとまりを1つのアコーディオンに（初期は閉じる） */
.p-recruit {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
}

.p-recruit__head {
  margin: 0;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 3px solid var(--maroon);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.4;
  color: var(--maroon);
}

/* 閉じている間は「昇給」の見出しあたりまで見せ、下端を白へぼかす */
.p-recruit__body {
  position: relative;
  margin-top: 1.6rem;
  max-height: 24rem;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.p-recruit__body.is-open {
  max-height: var(--recruit-more-h, 300rem);
}

.p-recruit__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.p-recruit__body.is-open .p-recruit__fade {
  opacity: 0;
}

.p-recruit__more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  margin-top: 1.2rem;
  padding: 1.3rem;
  border: 1px solid var(--maroon);
  background: #fff;
  color: var(--maroon);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.p-recruit__more-btn:hover,
.p-recruit__more-btn:focus-visible {
  background: var(--maroon);
  color: #fff;
}

.p-recruit__more-icon {
  transition: transform 0.3s ease;
}

.p-recruit__more-btn[aria-expanded="true"] .p-recruit__more-icon {
  transform: rotate(180deg);
}

.p-recruit__item + .p-recruit__item {
  margin-top: 2rem;
}

.p-recruit__q {
  padding: 0.8rem 1.2rem;
  background: var(--cream-2);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--maroon);
}

.p-recruit__a {
  padding: 1.2rem 0.4rem 0;
  font-size: 1.4rem;
  line-height: 1.8;
}

.p-recruit__a small {
  display: block;
  font-size: 1.25rem;
  color: #6b5a55;
}

.p-recruit__a p + .p-recruit__list {
  margin-top: 1rem;
}

.p-recruit__sub dt {
  font-weight: 700;
  color: var(--maroon);
}

.p-recruit__sub dt:not(:first-child) {
  margin-top: 1rem;
}

.p-recruit__list li {
  position: relative;
  padding-left: 1.4rem;
}

.p-recruit__list li + li {
  margin-top: 0.4rem;
}

.p-recruit__list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.75em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--maroon);
  transform: rotate(45deg);
}

/* ---------- 締めのメッセージ ---------- */
.p-front__bot {
  padding: 6rem 2rem 0;
  text-align: center;
}

.p-front__bot-copy {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.p-front__bot-copy span {
  color: #ffe08a;
}

.p-front__bot-lead {
  margin: 1.6rem 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.8;
}

.p-front__bot-lead::after {
  content: "";
  display: block;
  width: 24rem;
  max-width: 80%;
  height: 2.4rem;
  margin: 2rem auto 3rem;
  background: var(--ornament-cream) center / contain no-repeat;
}

.p-front__bot-photo {
  margin: 0 -2rem;
}

.p-front__bot-photo img {
  display: block;
  width: 100%;
}

/* ---------- フォーム ---------- */
.p-front__form {
  padding: 6rem 2rem 6rem;
}

/* フォーム全体を募集要項と同じ白い二重枠で囲む */
.p-front__form .p-front__form-card {
  max-width: 34rem;
  margin-top: 3rem;
  padding: 2.4rem 1.6rem 2.8rem;
  background: #fff;
  border: 2px solid var(--maroon);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(224, 35, 13, 0.5);
}

.p-front__form-title {
  max-width: none;
}

.p-front__form-question {
  border: 2px solid var(--maroon);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(224, 35, 13, 0.5);
}

.p-front__form-label {
  font-family: var(--serif);
  font-weight: 700;
}

/* ---------- フッター ---------- */
.c-footer .c-footer__page-top {
  background-color: var(--maroon);
}

.c-footer .c-footer__page-top-text {
  font-family: var(--serif);
}

.c-footer .c-footer__bottom {
  background-color: var(--cream);
  color: var(--ink);
}

/* ---------- 応募フォーム：3ステップ式 ---------- */
.p-entry__steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 2.4rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.p-entry__step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(224, 35, 13, 0.4);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
}

/* ステップ間の線 */
.p-entry__step + .p-entry__step::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  right: 50%;
  width: 100%;
  height: 2px;
  margin-right: 1.8rem;
  background: rgba(224, 35, 13, 0.2);
  z-index: 0;
  width: calc(100% - 3.6rem);
}

.p-entry__step.is-active + .p-entry__step.is-active::before {
  background: var(--maroon);
}

.p-entry__step-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color 0.3s, color 0.3s;
}

.p-entry__step-label {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.p-entry__step.is-active {
  color: var(--maroon);
}

.p-entry__step.is-current .p-entry__step-num {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

.p-entry__panel[hidden] {
  display: none;
}

.p-entry__panel.is-forward {
  animation: entryIn 0.4s ease both;
}

.p-entry__panel.is-backward {
  animation: entryInBack 0.4s ease both;
}

@keyframes entryIn {
  from { opacity: 0; transform: translateX(2.4rem); }
  to { opacity: 1; transform: none; }
}

@keyframes entryInBack {
  from { opacity: 0; transform: translateX(-2.4rem); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .p-entry__panel.is-forward,
  .p-entry__panel.is-backward {
    animation: none;
  }
}

.p-entry__question {
  margin-bottom: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px dashed rgba(224, 35, 13, 0.3);
  text-align: center;
}

.p-entry__question-num {
  margin: 0;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  color: var(--maroon);
}

.p-entry__question-num span {
  margin-left: 0.4em;
  font-size: 1.1rem;
  opacity: 0.6;
}

.p-entry__question-text {
  margin: 0.6rem 0 0;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.p-entry__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.8rem;
}

.p-entry__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: 12rem;
  padding: 1.3rem 1.6rem;
  border: 1px solid var(--maroon);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.p-entry__btn--back {
  background: #fff;
  color: var(--maroon);
}

.p-entry__btn--back:hover:not(:disabled),
.p-entry__btn--back:focus-visible {
  background: var(--cream-2);
}

.p-entry__btn--back:disabled {
  opacity: 0.35;
  cursor: default;
}

.p-entry__btn--next {
  flex: 1;
  max-width: 18rem;
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 3px 0 var(--maroon-deep);
}

.p-entry__btn--next:hover,
.p-entry__btn--next:focus-visible {
  background: var(--maroon-deep);
}

/* 最終ステップ：送信ボタンを主役に、戻るは下に小さく */
.p-entry__panel[data-step="3"] .p-entry__nav {
  flex-direction: column-reverse;
  align-items: stretch;
}

.p-entry__panel[data-step="3"] .p-entry__btn--back {
  align-self: center;
  min-width: 0;
  border: none;
  background: none;
  font-size: 1.4rem;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.p-entry__panel[data-step="3"] .p-entry__btn--back:hover {
  background: none;
  opacity: 0.7;
}

.p-entry__submit {
  width: 100%;
}

/* 枠内で幅が狭くなるため、ラベルの注記は折り返して必須バッジを潰さない */
.p-front__form .p-front__form-label {
  flex-wrap: wrap;
  row-gap: 0.4rem;
}

.p-front__form .p-front__form-required,
.p-front__form .p-front__form-notrequired {
  flex-shrink: 0;
  white-space: nowrap;
}

.p-front__form .p-front__form-note {
  flex-basis: 100%;
  margin-left: 0;
}

/* Turnstile（幅300px固定）が枠内に収まるよう左右の余白側へ広げる */
.p-front__form .p-front__form-turnstile {
  margin-left: -1.4rem !important;
  margin-right: -1.4rem !important;
}

/* メンバー本文の強調：臙脂の文字＋金色の下半分マーカー */
.p-member__em {
  background: linear-gradient(transparent 58%, rgba(255, 214, 92, 0.6) 58%);
  color: var(--maroon);
  font-weight: 700;
  padding: 0 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- サンクスページ ---------- */
.p-thx > section {
  padding: 6rem 2rem 5rem;
}

.p-thx__hero {
  text-align: center;
}

.p-thx__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--maroon);
}

.p-thx__title .c-heading__main {
  font-size: 2.6rem;
  line-height: 1.5;
}

.p-thx__photo {
  margin: 3rem auto 0;
  border: 2px solid var(--maroon);
  box-shadow: inset 0 0 0 4px #fff;
  padding: 0.6rem;
  background: #fff;
}

.p-thx__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.p-thx__message {
  margin: 2.4rem 0 0;
  padding: 2.4rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(224, 35, 13, 0.35);
  box-shadow: 0 4px 0 rgba(224, 35, 13, 0.12);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.9;
  color: var(--ink);
}

.p-thx__message em {
  font-style: normal;
  color: var(--maroon);
}

.p-thx__steps {
  margin: 3.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2.4rem;
}

.p-thx__step {
  position: relative;
  display: grid;
  grid-template-columns: 6.4rem 7.2rem 1fr;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid rgba(224, 35, 13, 0.35);
  box-shadow: 0 4px 0 rgba(224, 35, 13, 0.12);
}

/* ステップ間の矢印 */
.p-thx__step + .p-thx__step::before {
  content: "";
  position: absolute;
  top: -1.9rem;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  border-right: 2px solid var(--maroon);
  border-bottom: 2px solid var(--maroon);
  transform: translateX(-50%) rotate(45deg);
}

.p-thx__step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--maroon);
  line-height: 1.1;
}

.p-thx__step-num b {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.p-thx__step-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--maroon);
}

.p-thx__step-label {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.p-thx__pitch .c-heading__main {
  font-size: 2.2rem;
  line-height: 1.6;
}

.p-thx__pitch-embed {
  margin-top: 3rem;
  background: #fff;
  padding: 0.8rem;
}

.p-thx__info-card {
  padding: 2.4rem 1.8rem;
  background: #fff;
  border: 2px solid var(--maroon);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(224, 35, 13, 0.5);
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
}

.p-thx__info-lead {
  margin: 0;
  padding-bottom: 1.6rem;
  border-bottom: 1px dashed rgba(224, 35, 13, 0.3);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.8;
}

.p-thx__info-lead em {
  font-style: normal;
  color: var(--maroon);
  word-break: break-all;
}

.p-thx__info-sub {
  margin: 1.6rem 0 0;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.8;
}

.p-thx__info-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.p-thx__info-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1.4rem;
  line-height: 1.8;
}

.p-thx__info-list li + li {
  margin-top: 0.6rem;
}

.p-thx__info-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.75em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--maroon);
  transform: rotate(45deg);
}

.p-thx__info-note {
  margin: 1.6rem 0 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #6b5a55;
}

.p-thx__back {
  margin-top: 4rem;
}


/* =========================================================
   テスト環境2：FV（朱赤×コバルトブルー）に合わせた配色の上書き
========================================================= */
/* 濃色セクションは赤一色で重くならないようコバルトブルーに */
.is-maroon {
  background-color: var(--navy);
}

.c-sidebar {
  background-color: var(--navy-deep);
}

/* セクションの二重枠はFVの内枠と同じ青 */
.is-cream.has-frame,
.is-cream-2.has-frame {
  color: var(--navy);
}

.is-cream.has-frame::before,
.is-cream-2.has-frame::before {
  opacity: 0.3;
}

/* CTA：FVのボタンと同じ「朱赤の地＋白い内罫＋青い外枠」 */
.c-cta-button {
  border: 2px solid var(--navy);
  box-shadow: inset 0 0 0 4px var(--maroon), inset 0 0 0 5.5px #fff, 0 4px 0 var(--navy-deep);
  color: #fff;
}

.c-cta-button__ico {
  border-color: #fff;
}

@media (min-width: 960px) {
  .c-cta-button:hover {
    box-shadow: inset 0 0 0 4px var(--maroon), inset 0 0 0 5.5px #fff;
  }
}

/* 青地・サイドバー上のCTAは白地に朱赤文字＋青の内罫 */
.is-maroon .c-cta-button,
.c-sidebar .c-cta-button {
  background: #fff;
  border-color: #fff;
  color: var(--maroon);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5.5px var(--navy), 0 4px 0 rgba(0, 0, 0, 0.25);
}

.c-cta-wrap__text {
  background: #fff;
}

.c-footer .c-footer__page-top {
  background-color: var(--navy);
}

/* ヘッダーのエントリーボタンも青の外枠 */
.head-btn {
  box-shadow: inset 0 0 0 2px var(--maroon), inset 0 0 0 3px #fff, 0 0 0 1.5px var(--navy);
}

:root {
  --orn-heading: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 40'%3E%3Cg fill='none' stroke='%230a62ab' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M0 26h96M0 31h88'/%3E%3Cpath d='M96 26v-9h11v13h-6v-5'/%3E%3Cpath d='M280 26h-96M280 31h-88'/%3E%3Cpath d='M184 26v-9h-11v13h6v-5'/%3E%3C/g%3E%3Cg transform='translate(108 0) scale(1)' fill='%23fff1ea' stroke='%23e0230d' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M32 5c5 7 6 18 0 29c-6-11-5-22 0-29z'/%3E%3Cpath d='M32 34c-1-9-6-17-14-21c-1 9 4 17 14 21z'/%3E%3Cpath d='M32 34c1-9 6-17 14-21c1 9-4 17-14 21z'/%3E%3Cpath d='M32 35c-5-6-14-10-24-9c4 6 13 10 24 9z'/%3E%3Cpath d='M32 35c5-6 14-10 24-9c-4 6-13 10-24 9z'/%3E%3Cpath d='M12 38h40' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  --orn-heading-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M0 26h96M0 31h88'/%3E%3Cpath d='M96 26v-9h11v13h-6v-5'/%3E%3Cpath d='M280 26h-96M280 31h-88'/%3E%3Cpath d='M184 26v-9h-11v13h6v-5'/%3E%3C/g%3E%3Cg transform='translate(108 0) scale(1)' fill='none' stroke='%23ffe08a' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M32 5c5 7 6 18 0 29c-6-11-5-22 0-29z'/%3E%3Cpath d='M32 34c-1-9-6-17-14-21c-1 9 4 17 14 21z'/%3E%3Cpath d='M32 34c1-9 6-17 14-21c1 9-4 17-14 21z'/%3E%3Cpath d='M32 35c-5-6-14-10-24-9c4 6 13 10 24 9z'/%3E%3Cpath d='M32 35c5-6 14-10 24-9c-4 6-13 10-24 9z'/%3E%3Cpath d='M12 38h40' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  --orn-lotus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'%3E%3Cg transform='translate(0 0) scale(1)' fill='%23fff1ea' stroke='%23e0230d' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M32 5c5 7 6 18 0 29c-6-11-5-22 0-29z'/%3E%3Cpath d='M32 34c-1-9-6-17-14-21c-1 9 4 17 14 21z'/%3E%3Cpath d='M32 34c1-9 6-17 14-21c1 9-4 17-14 21z'/%3E%3Cpath d='M32 35c-5-6-14-10-24-9c4 6 13 10 24 9z'/%3E%3Cpath d='M32 35c5-6 14-10 24-9c-4 6-13 10-24 9z'/%3E%3Cpath d='M12 38h40' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  --orn-cloud-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cg  fill='none' stroke='%230a62ab' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 19h62c10 0 15-5 15-10.5S77 1 72 1s-8 4-6 8c1.5 3 6 2.5 6-1'/%3E%3Cpath d='M34 26h52c13 0 24-5 30-14'/%3E%3C/g%3E%3C/svg%3E");
  --orn-cloud-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cg transform='translate(120 0) scale(-1 1)' fill='none' stroke='%230a62ab' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 19h62c10 0 15-5 15-10.5S77 1 72 1s-8 4-6 8c1.5 3 6 2.5 6-1'/%3E%3Cpath d='M34 26h52c13 0 24-5 30-14'/%3E%3C/g%3E%3C/svg%3E");
  --orn-cloud-wl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cg  fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 19h62c10 0 15-5 15-10.5S77 1 72 1s-8 4-6 8c1.5 3 6 2.5 6-1'/%3E%3Cpath d='M34 26h52c13 0 24-5 30-14'/%3E%3C/g%3E%3C/svg%3E");
  --orn-cloud-wr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cg transform='translate(120 0) scale(-1 1)' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 19h62c10 0 15-5 15-10.5S77 1 72 1s-8 4-6 8c1.5 3 6 2.5 6-1'/%3E%3Cpath d='M34 26h52c13 0 24-5 30-14'/%3E%3C/g%3E%3C/svg%3E");
  --orn-waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 26'%3E%3Ccircle cx='0' cy='26' r='23' fill='%23fffbf4' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='0' cy='26' r='17' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='0' cy='26' r='11' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='0' cy='26' r='5' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='48' cy='26' r='23' fill='%23fffbf4' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='48' cy='26' r='17' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='48' cy='26' r='11' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='48' cy='26' r='5' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='24' cy='26' r='23' fill='%23fffbf4' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='24' cy='26' r='17' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='24' cy='26' r='11' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3Ccircle cx='24' cy='26' r='5' fill='none' stroke='%230a62ab' stroke-width='1.8'/%3E%3C/svg%3E");
  --orn-sprig-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 96'%3E%3Cg %3E%3Cpath d='M22 94C17 70 24 44 20 14' fill='none' stroke='%230a62ab' stroke-width='2.2' stroke-linecap='round'/%3E%3Cg fill='%230a62ab'%3E%3Cellipse cx='13' cy='74' rx='8' ry='3.2' transform='rotate(-35 13 74)'/%3E%3Cellipse cx='29' cy='62' rx='8' ry='3.2' transform='rotate(35 29 62)'/%3E%3Cellipse cx='12' cy='48' rx='7.5' ry='3' transform='rotate(-35 12 48)'/%3E%3Cellipse cx='28' cy='36' rx='7' ry='3' transform='rotate(35 28 36)'/%3E%3C/g%3E%3Cg fill='%23e0230d'%3E%3Ccircle cx='20' cy='9' r='4'/%3E%3Ccircle cx='12' cy='15' r='3.2'/%3E%3Ccircle cx='28' cy='14' r='3.2'/%3E%3Ccircle cx='19' cy='20' r='2.6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --orn-sprig-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 96'%3E%3Cg transform='translate(40 0) scale(-1 1)'%3E%3Cpath d='M22 94C17 70 24 44 20 14' fill='none' stroke='%230a62ab' stroke-width='2.2' stroke-linecap='round'/%3E%3Cg fill='%230a62ab'%3E%3Cellipse cx='13' cy='74' rx='8' ry='3.2' transform='rotate(-35 13 74)'/%3E%3Cellipse cx='29' cy='62' rx='8' ry='3.2' transform='rotate(35 29 62)'/%3E%3Cellipse cx='12' cy='48' rx='7.5' ry='3' transform='rotate(-35 12 48)'/%3E%3Cellipse cx='28' cy='36' rx='7' ry='3' transform='rotate(35 28 36)'/%3E%3C/g%3E%3Cg fill='%23e0230d'%3E%3Ccircle cx='20' cy='9' r='4'/%3E%3Ccircle cx='12' cy='15' r='3.2'/%3E%3Ccircle cx='28' cy='14' r='3.2'/%3E%3Ccircle cx='19' cy='20' r='2.6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --orn-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Ccircle cx='6' cy='3' r='1.6' fill='%23ffffff'/%3E%3C/svg%3E");
  --orn-corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform=''%3E%3Cpath d='M3 60V3h57' fill='none' stroke='%23e0230d' stroke-width='3.5'/%3E%3Cpath d='M11 60V11h49' fill='none' stroke='%230a62ab' stroke-width='1.6'/%3E%3Cpath d='M3 3h20v20H11V11h7v7' fill='none' stroke='%23e0230d' stroke-width='3'/%3E%3Ccircle cx='30' cy='18' r='2.2' fill='%230a62ab'/%3E%3Ccircle cx='18' cy='30' r='2.2' fill='%230a62ab'/%3E%3C/g%3E%3C/svg%3E");
  --orn-corner-wtl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform=''%3E%3Cpath d='M3 60V3h57' fill='none' stroke='%23ffe08a' stroke-width='3.5'/%3E%3Cpath d='M11 60V11h49' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3Cpath d='M3 3h20v20H11V11h7v7' fill='none' stroke='%23ffe08a' stroke-width='3'/%3E%3Ccircle cx='30' cy='18' r='2.2' fill='%23ffffff'/%3E%3Ccircle cx='18' cy='30' r='2.2' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
  --orn-corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='translate(64 0) scale(-1 1)'%3E%3Cpath d='M3 60V3h57' fill='none' stroke='%23e0230d' stroke-width='3.5'/%3E%3Cpath d='M11 60V11h49' fill='none' stroke='%230a62ab' stroke-width='1.6'/%3E%3Cpath d='M3 3h20v20H11V11h7v7' fill='none' stroke='%23e0230d' stroke-width='3'/%3E%3Ccircle cx='30' cy='18' r='2.2' fill='%230a62ab'/%3E%3Ccircle cx='18' cy='30' r='2.2' fill='%230a62ab'/%3E%3C/g%3E%3C/svg%3E");
  --orn-corner-wtr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='translate(64 0) scale(-1 1)'%3E%3Cpath d='M3 60V3h57' fill='none' stroke='%23ffe08a' stroke-width='3.5'/%3E%3Cpath d='M11 60V11h49' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3Cpath d='M3 3h20v20H11V11h7v7' fill='none' stroke='%23ffe08a' stroke-width='3'/%3E%3Ccircle cx='30' cy='18' r='2.2' fill='%23ffffff'/%3E%3Ccircle cx='18' cy='30' r='2.2' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
  --orn-corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='translate(0 64) scale(1 -1)'%3E%3Cpath d='M3 60V3h57' fill='none' stroke='%23e0230d' stroke-width='3.5'/%3E%3Cpath d='M11 60V11h49' fill='none' stroke='%230a62ab' stroke-width='1.6'/%3E%3Cpath d='M3 3h20v20H11V11h7v7' fill='none' stroke='%23e0230d' stroke-width='3'/%3E%3Ccircle cx='30' cy='18' r='2.2' fill='%230a62ab'/%3E%3Ccircle cx='18' cy='30' r='2.2' fill='%230a62ab'/%3E%3C/g%3E%3C/svg%3E");
  --orn-corner-wbl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='translate(0 64) scale(1 -1)'%3E%3Cpath d='M3 60V3h57' fill='none' stroke='%23ffe08a' stroke-width='3.5'/%3E%3Cpath d='M11 60V11h49' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3Cpath d='M3 3h20v20H11V11h7v7' fill='none' stroke='%23ffe08a' stroke-width='3'/%3E%3Ccircle cx='30' cy='18' r='2.2' fill='%23ffffff'/%3E%3Ccircle cx='18' cy='30' r='2.2' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
  --orn-corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='translate(64 64) scale(-1 -1)'%3E%3Cpath d='M3 60V3h57' fill='none' stroke='%23e0230d' stroke-width='3.5'/%3E%3Cpath d='M11 60V11h49' fill='none' stroke='%230a62ab' stroke-width='1.6'/%3E%3Cpath d='M3 3h20v20H11V11h7v7' fill='none' stroke='%23e0230d' stroke-width='3'/%3E%3Ccircle cx='30' cy='18' r='2.2' fill='%230a62ab'/%3E%3Ccircle cx='18' cy='30' r='2.2' fill='%230a62ab'/%3E%3C/g%3E%3C/svg%3E");
  --orn-corner-wbr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='translate(64 64) scale(-1 -1)'%3E%3Cpath d='M3 60V3h57' fill='none' stroke='%23ffe08a' stroke-width='3.5'/%3E%3Cpath d='M11 60V11h49' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3Cpath d='M3 3h20v20H11V11h7v7' fill='none' stroke='%23ffe08a' stroke-width='3'/%3E%3Ccircle cx='30' cy='18' r='2.2' fill='%23ffffff'/%3E%3Ccircle cx='18' cy='30' r='2.2' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- FVのあしらいを各所に（テスト環境2） ---------- */
/* 見出し：英字の左右に雲、下に「雷文の罫＋蓮」 */
.c-heading__en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.c-heading__en::before,
.c-heading__en::after {
  content: "";
  flex-shrink: 0;
  width: 4.8rem;
  height: 1.2rem;
  background: var(--orn-cloud-l) center / contain no-repeat;
}

.c-heading__en::after {
  background-image: var(--orn-cloud-r);
}

.is-maroon .c-heading__en::before {
  background-image: var(--orn-cloud-wl);
}

.is-maroon .c-heading__en::after {
  background-image: var(--orn-cloud-wr);
}

.c-heading::after {
  width: 28rem;
  height: 4rem;
  background-image: var(--orn-heading);
}

.is-maroon .c-heading::after {
  background-image: var(--orn-heading-w);
}

/* 枠付きセクション：FVと同じ雷文の角飾りを四隅に */
.has-frame::after {
  content: "";
  position: absolute;
  inset: 0.4rem;
  pointer-events: none;
  background:
    var(--orn-corner-tl) left top / 4.8rem no-repeat,
    var(--orn-corner-tr) right top / 4.8rem no-repeat,
    var(--orn-corner-bl) left bottom / 4.8rem no-repeat,
    var(--orn-corner-br) right bottom / 4.8rem no-repeat;
}

.is-maroon.has-frame::after {
  background:
    var(--orn-corner-wtl) left top / 4.8rem no-repeat,
    var(--orn-corner-wtr) right top / 4.8rem no-repeat,
    var(--orn-corner-wbl) left bottom / 4.8rem no-repeat,
    var(--orn-corner-wbr) right bottom / 4.8rem no-repeat;
}

/* 青地セクション：FVの外枠と同じ「白い点線入りの朱赤の帯」を上下に */
.is-maroon {
  background-image: var(--orn-dots), var(--orn-dots), var(--pattern-maroon);
  background-position: left 0.3rem, left calc(100% - 0.3rem), 0 0;
  background-repeat: repeat-x, repeat-x, repeat;
  background-size: 12px 6px, 12px 6px, 16px 16px;
  box-shadow: inset 0 1.2rem 0 var(--maroon), inset 0 -1.2rem 0 var(--maroon);
}

/* セクション下端に青海波（FVの足元と同じ波） */
#merit,
#member,
#recruit,
.p-thx__flow {
  padding-bottom: 7.4rem;
  background-image: var(--orn-waves), var(--pattern-cream);
  background-position: center bottom, 0 0;
  background-repeat: repeat-x, repeat;
  background-size: 4.8rem 2.6rem, 16px 16px;
}

/* CTAの上に蓮 */
.c-cta-wrap {
  padding-top: 3.8rem;
  background: var(--orn-lotus) center top / 5.6rem auto no-repeat;
}

/* メンバー紹介の丸写真・サンクスのチェックマークの左右に小枝 */
.p-member__slide {
  background-image: var(--orn-sprig-l), var(--orn-sprig-r);
  background-position: left 1.6rem top 4rem, right 1.6rem top 4rem;
  background-repeat: no-repeat;
  background-size: 3.2rem auto;
}

.p-thx__hero {
  background-image: var(--orn-sprig-l), var(--orn-sprig-r), var(--pattern-cream);
  background-position: left 3.6rem top 4.6rem, right 3.6rem top 4.6rem, 0 0;
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: 3rem auto, 3rem auto, 16px 16px;
}

/* 白いカード類（募集要項・フォーム・メールのご案内）にも角飾り */
.p-front__recruit .p-front__recruit-content,
.p-front__form .p-front__form-card,
.p-thx__info-card {
  background:
    var(--orn-corner-tl) left 0.6rem top 0.6rem / 3.2rem no-repeat,
    var(--orn-corner-tr) right 0.6rem top 0.6rem / 3.2rem no-repeat,
    var(--orn-corner-bl) left 0.6rem bottom 0.6rem / 3.2rem no-repeat,
    var(--orn-corner-br) right 0.6rem bottom 0.6rem / 3.2rem no-repeat,
    #fff;
}

/* メンバー写真の下に蓮 */
.p-member__job {
  position: relative;
}

.p-member__job::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 4.4rem;
  height: 2.8rem;
  margin-bottom: 0.2rem;
  transform: translateX(-50%);
  background: var(--orn-lotus) center bottom / contain no-repeat;
}

.p-member__job {
  margin-top: 4rem;
}

/* ページ上部へ戻る帯・PCサイドバーにも点線の赤帯 */
.c-footer .c-footer__page-top {
  box-shadow: inset 0 0.6rem 0 var(--maroon);
}

.c-sidebar {
  box-shadow: inset -1rem 0 0 var(--maroon);
}

@media (max-width: 959px) {
  .c-sidebar {
    box-shadow: none;
  }
}

/* 角飾りが見出しの縦線や下部のボタンに重ならないよう、カードの上下に余白を確保（左右対称に見せる） */
.p-front__recruit .p-front__recruit-content,
.p-front__form .p-front__form-card,
.p-thx__info-card {
  padding-top: 4.4rem;
  padding-bottom: 4.4rem;
}

/* 生成り地のセクションは角飾り（赤い縁取り）を付けない：下端の青海波と重なるため。青地セクションとカード類には残す */
.is-cream.has-frame::after,
.is-cream-2.has-frame::after {
  content: none;
}

/* メリットのカード画像は右側に透明な余白（764px中64px）があり左に寄って見えるため、余白の半分（32/764）だけ右へずらして中央に揃える */
.p-front__merit .p-front__merit-list li img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  transform: translateX(4.19%);
}

/* サンクスページの「トップページに戻る」を中央に */
.p-thx__back {
  margin-left: auto;
  margin-right: auto;
}
