/* 説明・工程・アフターケア・料金・FAQ・締めの各セクションを担当する。
 * 横並びが必要な箇所だけgrid/flexを使い、縦積みは通常フローに任せる。 */

.audience-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin-top: 4rem;
  padding: 0;
}

.audience-list li {
  align-items: center;
  border-top: 1px solid var(--line-dark);
  display: flex;
  font-size: 1.05rem;
  gap: 1.25rem;
  padding: 1.3rem 0;
  position: relative;
  transition: color 0.28s ease, transform 0.28s var(--ease);
}

.audience-list li:nth-child(odd) {
  padding-right: clamp(1rem, 4vw, 3rem);
}

.audience-list li:nth-child(even) {
  border-left: 1px solid var(--line-light);
  padding-left: clamp(1rem, 4vw, 3rem);
}

.audience-list li > span:first-child,
.process-list span,
.faq summary span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.statement {
  background: linear-gradient(100deg, rgba(17, 19, 25, 0.97), rgba(23, 26, 33, 0.92));
  border-left: 2px solid var(--gold);
  color: var(--ivory);
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  font-family: "Shippori Mincho Sekaikan", "Yu Mincho", serif;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.65;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
}

.statement::before {
  color: var(--gold);
  content: "SUBTITLE / SCENE 03";
  display: block;
  font-family: "Noto Sans JP Sekaikan", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.service-reveal {
  border-block: 1px solid rgba(205, 170, 104, 0.48);
  border-left: 2px solid var(--gold);
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.service-reveal__statement {
  font-family: "Shippori Mincho Sekaikan", "Yu Mincho", serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.55;
}

.service-reveal__statement strong {
  color: var(--gold);
  font-weight: 500;
}

.service-reveal__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.service-reveal__prices p {
  align-items: baseline;
  border: 1px solid rgba(205, 170, 104, 0.52);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  padding: 0.55rem 0.8rem;
}

.service-reveal__prices span {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.service-reveal__prices strong {
  color: var(--ivory);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
  white-space: nowrap;
}

.service-reveal__note {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.72rem;
  margin-top: 1rem;
}

.process-conventional {
  background: rgba(7, 8, 11, 0.54);
  border-block: 1px solid rgba(244, 239, 230, 0.18);
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.process-context {
  color: rgba(244, 239, 230, 0.76);
  font-family: "Shippori Mincho Sekaikan", "Yu Mincho", serif;
  font-size: 1.08rem;
}

.process-list {
  counter-reset: process-cut;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin-top: 1.75rem;
  padding: 0;
}

.process-list li {
  border-left: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  counter-increment: process-cut;
  padding: 1.5rem 1rem;
  position: relative;
  transition: background-color 0.28s ease, border-color 0.28s ease;
}

.process-list li::after {
  color: rgba(205, 170, 104, 0.45);
  content: "CUT " counter(process-cut, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  position: absolute;
  right: 0.8rem;
  top: 0.7rem;
}

.process-list li:nth-child(4n) {
  border-right: 1px solid var(--line-dark);
}

.process-list li:nth-child(n + 5) {
  border-bottom: 1px solid var(--line-dark);
}

.process-list strong {
  display: block;
  margin-top: 2rem;
}

.process-note {
  color: var(--gold);
  margin-top: 1.5rem;
}

.process-handoff {
  background: rgba(205, 170, 104, 0.09);
  border-block: 1px solid rgba(205, 170, 104, 0.56);
  border-left: 2px solid var(--gold);
  margin-top: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.process-handoff__lead {
  color: var(--gold);
  font-family: "Shippori Mincho Sekaikan", "Yu Mincho", serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.55;
}

.process-handoff__caption {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 1rem;
}

.process-simple-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
}

.process-simple-list li {
  border: 1px solid rgba(205, 170, 104, 0.38);
  padding: 1rem;
}

.process-simple-list span {
  color: var(--gold);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
}

.process-simple-list strong {
  display: block;
  font-weight: 500;
  margin-top: 0.6rem;
}

.process-story {
  background: rgba(7, 8, 11, 0.42);
  border-block: 1px solid rgba(205, 170, 104, 0.34);
  border-left: 1px solid var(--gold);
  margin-top: 4rem;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.process-story::before {
  color: var(--gold);
  content: "DIRECTOR'S NOTE";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
}

.process-story p + p {
  margin-top: 1.2rem;
}

.aftercare-layout,
.management-layout,
.faq-layout {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: 0.9fr 1.1fr;
}

.aftercare-copy {
  background: rgba(7, 8, 11, 0.7);
  border-block: 1px solid var(--line-dark);
  border-left: 1px solid rgba(205, 170, 104, 0.62);
  font-size: 1.08rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
}

.note {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.76rem;
  margin-top: 1.5rem;
}

.management-table {
  background: rgba(7, 8, 11, 0.72);
  border-top: 2px solid var(--gold);
  border-collapse: collapse;
}

.management-table th,
.management-table td {
  border-bottom: 1px solid var(--line-dark);
  padding: 1.1rem 0.8rem;
  text-align: left;
  transition: background-color 0.28s ease, color 0.28s ease;
}

.management-table thead th {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.management-table tbody th {
  font-weight: 400;
}

.management-table td {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.management-table td span {
  white-space: nowrap;
}

.tax-note {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.72rem;
  margin-top: 0.7rem;
}

.management-closing {
  background: rgba(7, 8, 11, 0.68);
  border-block: 1px solid var(--line-dark);
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 2rem;
}

.price-layout {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: repeat(2, 1fr);
  margin-top: 4rem;
}

.price-plan-note {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.76rem;
  margin-top: 1rem;
}

.price-links {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.76rem;
  margin-top: 1.5rem;
}

.price-links a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.28s ease;
}

.price-links a:hover,
.price-links a:focus-visible {
  color: var(--ivory);
}

.pricing-apply {
  margin-top: 3rem;
  text-align: center;
}

.pricing-apply .button {
  margin-top: 1rem;
}

.price-card {
  background: rgba(17, 19, 25, 0.76);
  border: 1px solid var(--line-dark);
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.price-card::before {
  border: 1px solid rgba(205, 170, 104, 0.17);
  content: "";
  inset: 0.55rem;
  pointer-events: none;
  position: absolute;
}

.price-card::after {
  color: rgba(205, 170, 104, 0.54);
  content: "SCREEN A";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  position: absolute;
  right: 1.2rem;
  top: 0.9rem;
}

.price-card:nth-child(2)::after {
  content: "SCREEN B";
}

.price-purpose {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.price-card h3 {
  margin-top: 0.8rem;
}

.price-card dl {
  border-top: 1px solid var(--line-dark);
  margin-top: 2rem;
}

.price-card dl div {
  align-items: baseline;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 1.2rem;
}

.price-card dt {
  flex-shrink: 0;
  font-size: 0.8rem;
  white-space: nowrap;
}

.price-card dd {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
}

.price-card dd span {
  white-space: nowrap;
}

.delivery {
  background: rgba(113, 131, 154, 0.055);
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  margin-top: 3rem;
  padding: 1.5rem;
}

.delivery p {
  text-align: left;
}

.delivery p + p {
  color: var(--gold);
  margin-top: 0.5rem;
}

.delivery span {
  color: var(--gold);
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-right: 1rem;
}

.faq-list details {
  border-top: 1px solid var(--line-dark);
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 1.5rem 2.6rem 1.5rem 0;
  position: relative;
  transition: color 0.28s ease, padding-inline 0.3s var(--ease);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: inline-block;
  margin-right: 1rem;
}

.faq-list summary::after {
  color: var(--gold);
  content: "+";
  font-size: 1.4rem;
  position: absolute;
  right: 0;
  top: 1.2rem;
  transform: rotate(0);
  transition: transform 0.28s var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details[open] {
  background: linear-gradient(90deg, rgba(205, 170, 104, 0.08), rgba(113, 131, 154, 0.035));
  border-color: rgba(205, 170, 104, 0.4);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.32s var(--ease), opacity 0.3s ease;
}

.faq-answer > div {
  /* 0frの閉状態で内容の内在最小高が開閉を妨げないため必要。 */
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  padding: 0 0 1.5rem 2.25rem;
}

.faq-list details[open]:not(.is-opening):not(.is-closing) .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-list details.is-expanded .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-list details.is-opening .faq-answer,
.faq-list details.is-closing .faq-answer {
  grid-template-rows: 0fr;
  opacity: 0;
}

.final-cta {
  overflow: hidden;
  padding-block: clamp(9rem, 23vw, 18rem);
  position: relative;
}

.final-scrim {
  inset: 0;
  position: absolute;
}

.final-scrim {
  background:
    linear-gradient(0deg, rgba(7, 8, 11, 0.74) 0%, rgba(7, 8, 11, 0.28) 46%, rgba(7, 8, 11, 0.38) 100%),
    radial-gradient(ellipse at 50% 72%, rgba(244, 239, 230, 0.04), rgba(7, 8, 11, 0.42) 72%);
  z-index: 1;
}

.final-inner {
  text-align: center;
  z-index: 2;
}

.final-inner h2 {
  margin-top: 1.2rem;
  overflow-wrap: normal;
  word-break: keep-all;
}

.final-inner h2 > span {
  display: inline-block;
  white-space: nowrap;
}

.apply {
  margin-top: 3rem;
  /* 既存revealの開始位置32pxを相殺し、アンカー着地後もリード全文を見せる。 */
  scroll-margin-top: 2rem;
}

.apply-lead {
  font-size: 1.1rem;
}

.apply-layout {
  /* 既定のstretchだとLINE側がフォームの高さまで伸びるため、各パネルを中身の高さで止める。 */
  align-items: start;
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: 0.85fr 1.15fr;
  margin-top: 2.5rem;
}

.apply-panel {
  background: rgba(7, 8, 11, 0.78);
  border: 1px solid var(--line-dark);
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: left;
}

.apply-panel .button {
  margin-top: 1.5rem;
}

.apply-line-qr {
  margin: 1.5rem auto 0;
  /* QRコードは読み取り可能な装飾画像として約120pxに固定する。 */
  height: 120px;
  width: 120px;
}

.apply-field {
  display: block;
  margin-top: 1.5rem;
}

.apply-field span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.apply-field input,
.apply-field select {
  background: var(--charcoal);
  border: 1px solid var(--line-dark);
  border-radius: 0;
  color: var(--ivory);
  font: inherit;
  padding: 0.75rem 0.85rem;
  transition: background-color 0.28s ease, border-color 0.28s ease;
  /* フォーム部品を親幅へ追従させ、狭幅でのはみ出しを防ぐ。 */
  width: 100%;
}

.apply-field input:focus,
.apply-field select:focus {
  background: rgba(17, 19, 25, 0.94);
  border-color: var(--gold);
}

.apply-honeypot {
  display: none;
}

.apply-error {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 1.5rem;
}

.apply-note {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.72rem;
  margin-top: 1.25rem;
}

/* 見出しの直下に置く注記は、ボタンより前に来るので余白を詰める。 */
.apply-note--lead {
  margin-top: 0.75rem;
}

.apply-note a,
.apply-success a {
  color: var(--gold);
}

.apply-success {
  border-top: 1px solid var(--gold);
  font-size: 1.05rem;
  padding-top: 1.5rem;
}

.site-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--line-dark);
  color: rgba(244, 239, 230, 0.6);
  font-size: 0.75rem;
  padding: 2rem 0;
  text-align: center;
}

.site-footer a {
  color: rgba(244, 239, 230, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.28s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}
