@charset "UTF-8";
/* ==========================================================================
   京都さかえ畳店「自然-JINEN-」LP
   ========================================================================== */

:root {
  --color-text: #171516;
  --color-text-soft: #55504a;
  --color-bg: #ffffff;
  --color-cream: #f3ede1;
  --color-dark: #1c1c1e;
  --color-accent: #ab9269;
  --color-accent-soft: #cbb896;
  --color-border: #d8cfbe;
  --font-serif:
    "Zen Old Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none !important;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--white {
  background: var(--color-bg);
}

.section--cream {
  background: var(--color-cream);
}

.section--dark {
  background: var(--color-dark);
}

/* ==========================================================================
   セクション背景画像 (background-image方式, PC/SPをmedia queryで切替)
   ========================================================================== */

.bg-section {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-mv {
  aspect-ratio: 2880 / 1600;
  background-image: url("../images/pc/MV.jpg");
  margin-bottom: 100px;
}

.bg-problem-lead {
  aspect-ratio: 2880 / 1400;
  background-image: url("../images/pc/problem__lead.jpg");
}

.bg-problem {
  aspect-ratio: 2880 / 3076;
  background-image: url("../images/pc/problem.jpg");
}

.bg-concept {
  aspect-ratio: 2880 / 2032;
  background-image: url("../images/pc/concept.jpg");
}

.bg-concept-message {
  aspect-ratio: 2880 / 1610;
  background-image: url("../images/pc/concept__message.jpg");
}

.bg-showroom {
  aspect-ratio: 2880 / 4234;
  background-image: url("../images/pc/showroom.jpg");
}

.bg-showroom-content {
  aspect-ratio: 2880 / 1930;
  background-image: url("../images/pc/showroom__content.jpg");
}

.bg-showroom-situation-wrapper {
  aspect-ratio: 2880 / 1340;
  background-image: url("../images/pc/showroom-c-situation__wrapper.jpg");
  background-position: top;
}

.bg-brand-message-wrap {
  aspect-ratio: 2880 / 1510;
  background-image: url("../images/pc/brand__message-wrap.jpg");
}

.bg-brand-message {
  aspect-ratio: 2880 / 3118;
  background-image: url("../images/pc/brand__message.jpg");
}

.bg-jinen-title {
  aspect-ratio: 2880 / 244;
  background-image: url("../images/pc/jinen__title-container.jpg");
}

.bg-jinen {
  aspect-ratio: 2880 / 6244;
  background-image: url("../images/pc/jinen.jpg");
}

.bg-about-lead {
  aspect-ratio: 2880 / 1670;
  background-image: url("../images/pc/about__lead.jpg");
}

.bg-about-comparison {
  aspect-ratio: 2878 / 1968;
  background-image: url("../images/pc/about__comparison.jpg");
}

.bg-about-points {
  aspect-ratio: 2880 / 2214;
  background-image: url("../images/pc/about__points.jpg");
}

.bg-story-lead {
  aspect-ratio: 2880 / 1700;
  background-image: url("../images/pc/story_lead.jpg");
}

.bg-story-process {
  aspect-ratio: 2880 / 3096;
  background-image: url("../images/pc/story__process.jpg");
}

.bg-story-vision {
  aspect-ratio: 2880 / 1114;
  background-image: url("../images/pc/story_vision.jpg");
}

.bg-craftsmanship-lead {
  aspect-ratio: 2880 / 1794;
  background-image: url("../images/pc/craftsmanship__lead.jpg");
}

.bg-craftsmanship-body {
  aspect-ratio: 2880 / 5054;
  background-image: url("../images/pc/craftsmanship-body.jpg");
}

.bg-photo-experience {
  aspect-ratio: 2880 / 2402;
  background-image: url("../images/pc/photo-experience.jpg");
}

.bg-experience-situation-wrapper {
  aspect-ratio: 2880 / 1450;
  background-image: url("../images/pc/experience-c-situation__wrapper.jpg");
}

.bg-experience-steps {
  aspect-ratio: 2878 / 1158;
  background-image: url("../images/pc/experience__steps-wrapper.jpg");
  background-position: top;
  margin-bottom: 40px;
}

.bg-preorder-lead {
  aspect-ratio: 2878 / 2204;
  background-image: url("../images/pc/preorder__lead.jpg");
}

.bg-preorder-wrapper {
  aspect-ratio: 2880 / 1340;
  background-image: url("../images/pc/preorder__wrapper.jpg");
  background-position: top;
}

.bg-preorder-steps {
  aspect-ratio: 2878 / 1158;
  background-image: url("../images/pc/preorder__steps.jpg");
  background-position: top;
  margin-bottom: 60px;
}

.bg-flow {
  aspect-ratio: 2880 / 1638;
  background-image: url("../images/pc/flow.jpg");
}

.bg-closing-guide {
  aspect-ratio: 2880 / 1112;
  background-image: url("../images/pc/c-closing-guide.jpg");
  background-position: top;
}

.bg-faq {
  aspect-ratio: 2880 / 5784;
  background-image: url("../images/pc/faq.jpg");
}

.bg-visit {
  aspect-ratio: 2880 / 1498;
  background-image: url("../images/pc/visit.jpg");
}

.bg-closing {
  aspect-ratio: 2880 / 566;
  background-image: url("../images/pc/closing.jpg");
}

@media (max-width: 767px) {
  .bg-mv {
    aspect-ratio: 750 / 1500;
    background-image: url("../images/sp/MV_sp.jpg");
  }

  .bg-problem-lead {
    aspect-ratio: 750 / 1288;
    background-image: url("../images/sp/problem__lead_sp.jpg");
  }

  .bg-problem {
    aspect-ratio: 750 / 3301;
    background-image: url("../images/sp/problem_sp.jpg");
  }

  .bg-concept {
    aspect-ratio: 750 / 3354;
    background-image: url("../images/sp/concept_sp.jpg");
  }

  .bg-concept-message {
    aspect-ratio: 750 / 1076;
    background-image: url("../images/sp/concept__message_sp.jpg");
  }

  .bg-showroom {
    aspect-ratio: 750 / 4656;
    background-image: url("../images/sp/showroom_sp.jpg");
  }

  .bg-showroom-content {
    aspect-ratio: 750 / 2968;
    background-image: url("../images/sp/showroom__situation_sp.jpg");
  }

  .bg-showroom-situation-wrapper {
    aspect-ratio: 750 / 1249;
    background-image: url("../images/sp/showroom-c-situation__wrapper_sp.jpg");
    background-position: top;
  }

  .bg-brand-message-wrap {
    aspect-ratio: 750 / 1456;
    background-image: url("../images/sp/brand__message-wrap_sp.jpg");
  }

  .bg-brand-message {
    aspect-ratio: 750 / 7386;
    background-image: url("../images/sp/brand__message_sp.jpg");
  }

  .bg-jinen-title {
    aspect-ratio: 750 / 244;
    background-image: url("../images/sp/jinen__title-container_sp.jpg");
  }

  .bg-jinen {
    aspect-ratio: 750 / 8530;
    background-image: url("../images/sp/jinen_sp.jpg");
  }

  .bg-about-lead {
    aspect-ratio: 750 / 1604;
    background-image: url("../images/sp/about__lead_sp.jpg");
  }

  .bg-about-points {
    aspect-ratio: 750 / 4322;
    background-image: url("../images/sp/about__points_sp.jpg");
  }

  .bg-story-lead {
    aspect-ratio: 750 / 1586;
    background-image: url("../images/sp/story__lead_sp.jpg");
  }

  .bg-story-process {
    aspect-ratio: 750 / 2862;
    background-image: url("../images/sp/story_process_sp.jpg");
  }

  .bg-story-vision {
    aspect-ratio: 750 / 1426;
    background-image: url("../images/sp/story__vision_sp.jpg");
  }

  .bg-craftsmanship-lead {
    aspect-ratio: 750 / 1512;
    background-image: url("../images/sp/craftsmanship__lead_sp.jpg");
  }

  .bg-craftsmanship-body {
    aspect-ratio: 750 / 4864;
    background-image: url("../images/sp/craftsmanship-body_sp.jpg");
  }

  .bg-photo-experience {
    aspect-ratio: 750 / 2142;
    background-image: url("../images/sp/photo-experience_sp.jpg");
  }

  .bg-experience-situation-wrapper {
    aspect-ratio: 750 / 1249;
    background-image: url("../images/sp/experience-c-situation__wrapper_sp.jpg");
    background-position: top;
  }

  .bg-experience-steps {
    aspect-ratio: 750 / 2776;
    background-image: url("../images/sp/experience__steps-wrapper_sp.jpg");
    margin-bottom: 0;
  }

  .bg-preorder-lead {
    aspect-ratio: 750 / 1748;
    background-image: url("../images/sp/preorder__lead_sp.jpg");
  }

  .bg-preorder-wrapper {
    aspect-ratio: 750 / 1251;
    background-image: url("../images/sp/preorder__wrapper_sp.jpg");
    background-position: top;
  }

  .bg-preorder-steps {
    aspect-ratio: 750 / 2778;
    background-image: url("../images/sp/preorder__steps_sp.jpg");
    margin-bottom: 0;
  }

  .bg-flow {
    aspect-ratio: 750 / 2280;
    background-image: url("../images/sp/flow_sp.jpg");
  }

  .bg-closing-guide {
    aspect-ratio: 750 / 1020;
    background-image: url("../images/sp/c-closing-guide_sp.jpg");
    background-position: top;
  }

  .bg-faq {
    aspect-ratio: 750 / 7938;
    background-image: url("../images/sp/faq_sp.jpg");
  }

  .bg-visit {
    aspect-ratio: 750 / 1828;
    background-image: url("../images/sp/visit_sp.jpg");
  }

  .bg-closing {
    aspect-ratio: 750 / 714;
    background-image: url("../images/sp/closing_sp.jpg");
  }
}

/* ==========================================================================
   ボタン (CTA) — c-btn.png / c-btn_sp.png を背景に、テキストは実装
   ========================================================================== */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0 24px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.hero .btn-row {
  margin-top: 80px;
}

.btn-row--2,
.btn-row--5,
.btn-row--6 {
  margin-bottom: 100px;
}

@media (max-width: 767px) {
  .btn-row--1,
  .btn-row--2 {
    margin-bottom: 80px;
  }

  .btn-row--3,
  .btn-row--4 {
    margin-bottom: 40px;
  }

  .btn-row--5,
  .btn-row--6 {
    margin-bottom: 64px;
  }
  .hero .btn-row {
    margin-top: 56px;
  }
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  padding: 30px 32px;
  background-image: url("../images/pc/c-btn.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  color: #fefefe;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn__text {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.btn__arrow {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 11px;
  height: 11px;
  transform: translateY(-50%);
}

.btn__arrow::before,
.btn__arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 10px;
  height: 2px;
  border-radius: 9999px;
  background-color: currentColor;
  transform-origin: calc(100% - 1px) 50%;
}

.btn__arrow::before {
  transform: rotate(45deg);
}

.btn__arrow::after {
  transform: rotate(-45deg);
}

/* ==========================================================================
   見学から導入相談まで（flow.jpg 内の3カードリンク）— modal-button-tour.png背景
   ========================================================================== */

.flow-overlay {
  position: relative;
}

.flow-links {
  position: absolute;
  left: 0;
  right: 0;
  top: 75%;
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 0 24px;
}

@media (max-width: 767px) {
  .flow-links {
    top: auto;
    bottom: 64px;
    flex-wrap: wrap;
    gap: 24px;
  }
}

.flow-links__item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 360px;
  aspect-ratio: 330 / 116;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  font-size: 22px;
  font-family: inherit;
  color: var(--color-text);
  background-color: transparent;
  background-image: url("../images/pc/modal-button-tour.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

@media (max-width: 767px) {
  .flow-links__item {
    flex: 0 1 auto;
    width: 84%;
    max-width: 333px;
    aspect-ratio: 666 / 160;
    background-image: url("../images/sp/modal-button-tour_sp.png");
    padding: 16px 14px;
    font-size: 18px;
    white-space: nowrap;
  }
}

.flow-links__item:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ==========================================================================
   画像未書き出し箇所の注記
   ========================================================================== */

.gap-note {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: #9a9186;
}

/* ==========================================================================
   比較表（SP：背景画像つき横スクロール）
   ========================================================================== */

.comparison-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-scroll__inner {
  background-image: url("../images/sp/about__comparison_sp_bg.jpg");
  background-size: cover;
  background-position: center;
  min-width: 640px;
  padding: 20px 16px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

.comparison-table caption {
  caption-side: top;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 16px;
}

.comparison-table th,
.comparison-table td {
  border: 1px dashed var(--color-border);
  padding: 10px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
}

.comparison-table__highlight {
  background: var(--color-accent) !important;
  color: #fff;
}

/* ==========================================================================
   モーダル（見学予約／先行予約／法人導入相談の流れ）
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-box {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  overflow-y: scroll;
}

.modal-box__img {
  display: block;
  width: auto;
  height: auto;
  /* max-width: 100%;
  max-height: 90vh; */
  height: 992px;
  width: 800px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  cursor: pointer;
  z-index: 1;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover {
  background: #fff;
}

@media screen and (max-width: 767px) {
  .modal-box {
    overflow-y: scroll;
    scrollbar-color: #ab9269 #ffffff;
  }
  .modal-box__img {
    width: 335px;
    min-height: 1447px;
    max-height: 100%;
  }
}

/* ==========================================================================
   画像未収録テキスト（ヒーロー下・体験セクション下の一文）
   ========================================================================== */

.hero__note {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  color: var(--color-text);
  font-size: 20px;
  line-height: 2.5;
}

@media (max-width: 767px) {
  .hero__note {
    font-size: 16px;
    line-height: 1.7;
  }
}

.section-note {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  padding: 32px 24px;
  color: var(--color-text);
  font-size: 16px;
}
@media (min-width: 768px) {
  .section-note--large {
    font-size: 28px;
  }
}
@media screen and (max-width: 768px) {
  .section-note {
    padding-bottom: 0;
  }
}

.section-note--left {
  max-width: 930px;
  margin: 0 auto;
  text-align: left;
  padding-top: 0;
  font-size: 18px;
  line-height: 1;
}
.section-note__break {
  display: inline-block;
  margin-top: 21px;
}
.section-note__gap {
  display: inline-block;
  margin-top: 24px;
}
@media (max-width: 767px) {
  .section-note__gap {
    margin-top: 32px;
  }
}
.section-note--middle {
  padding-top: 0;
}

/* ==========================================================================
   フッター
   ========================================================================== */

.footer {
  background: var(--color-bg);
  color: var(--color-text);
  text-align: center;
  padding: 80px 24px;
}
.footer a {
  display: inline-block;
}
.footer__logo {
  width: 40px;
  height: 40px;
  margin: 0 auto 58px;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 16px;
  margin-bottom: 60px;
}

.footer__copyright {
  font-size: 16px;
}

@media (max-width: 767px) {
  .footer {
    padding: 64px 20px;
  }

  .footer__logo {
    font-size: 20.8px;
    margin-bottom: 20px;
    width: 24px;
    height: 24px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 56px;
  }

  .footer__copyright {
    font-size: 12px;
  }
}

/* ==========================================================================
   SP プレースホルダー（画像未書き出し箇所）
   ========================================================================== */

.sp-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  background: #e9e4d8;
  border: 2px dashed #b7ab92;
  color: #7a7060;
  font-size: 12.8px;
  text-align: center;
  padding: 12px;
  line-height: 1.6;
}

.sp-section {
  padding: 56px 20px;
}

.sp-section--cream {
  background: var(--color-cream);
}

.sp-section--dark {
  background: var(--color-dark);
  color: #f2ede2;
}

.sp-heading {
  font-size: 22.4px;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.6;
}

.sp-text {
  font-size: 14.72px;
  color: var(--color-text-soft);
}

/* ==========================================================================
   ブレイクポイント: 768px以上=PC / 767px以下=SP
   ========================================================================== */

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }

  .btn-row {
    gap: 16px;
    margin-top: 40px;
  }

  .btn {
    min-width: 0;
    width: 100%;
    padding: 25px 14px;
    font-size: 18px;
    background-image: url("../images/sp/c-btn_sp.png");
  }

  .btn__text {
    width: auto;
    max-width: calc(100% - 22px);
    white-space: normal;
  }

  .btn__arrow {
    right: 10px;
  }
}

/* ==========================================================================
   下層ページ（免責事項／プライバシーポリシー／特商法）共通スタイル
   ========================================================================== */

.legal-header {
  background: #eae2d8;
  text-align: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.legal-header h1 {
  font-size: 40px;
  letter-spacing: 0.05em;
  font-weight: normal;
}

@media (max-width: 767px) {
  .legal-header {
    height: 220px;
  }

  .legal-header h1 {
    font-size: 28px;
  }
}

.legal-header--contact {
  background-image: url("../images/pc/contact_bg.jpg");
  background-size: cover;
  background-position: center;
  background-color: var(--color-cream);
  /* aspect-ratio: 2880 / 600; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 300px;
}

@media (max-width: 767px) {
  .legal-header--contact {
    background-image: url("../images/sp/contact_bg_sp.jpg");
    /* aspect-ratio: 750 / 440; */
    height: 220px;
  }
}

.legal-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-body p {
  font-size: 14.72px;
  line-height: 2;
  color: var(--color-text-soft);
}

.legal-body p + p {
  margin-top: 0.4em;
}

.legal-table-wrap {
  max-width: 1100px;
  width: 95%;
  margin: 0 auto;
  padding: 56px 0 80px;
  overflow-x: auto;
}

.legal-intro {
  max-width: 950px;
  margin: 0 auto;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 32px;
}
.page-privacy .legal-intro {
  max-width: 980px;
}

.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--color-text);
  padding: 20px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.legal-table th {
  width: 220px;
  background: #eae2d8;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

.legal-table td p {
  margin-bottom: 12px;
}

.legal-table td p:last-child {
  margin-bottom: 0;
}

.legal-table ul {
  list-style: decimal;
  padding-left: 1.2em;
}
.legal-table ol {
  padding-left: 16px;
}

.legal-table li {
  margin-bottom: 0.3em;
}

.legal-table li:last-child {
  margin-bottom: 0;
}

.page-privacy .legal-table ul {
  list-style-type: "・ ";
}

@media (max-width: 767px) {
  .legal-table-wrap {
    overflow-x: visible;
    padding: 40px 20px 64px;
  }

  .legal-table {
    min-width: 0;
    display: block;
  }

  .legal-table tbody {
    display: block;
  }

  .legal-table tr {
    display: block;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .legal-table th {
    white-space: normal;
    border-top: none;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1;
  }

  .legal-table td {
    border-top: none;
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
  }

  .legal-table tr:first-child th {
    border-top: 1px solid var(--color-text);
  }
}

.legal-date {
  text-align: right;
}

.legal-date p {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--color-text);
}

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */

.form-wrap {
  max-width: 1042px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.form-field {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.form-field:last-of-type {
  margin-bottom: 40px;
}

.form-field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-field__required {
  font-size: 14px;
  font-weight: 600;
  background: #b9a58b;
  color: #171516;
  padding: 2px 8px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.form-field input,
.form-field textarea {
  max-width: 700px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 16px;
  color: var(--color-text);
  background: #fff;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field__hint {
  font-size: 12px;
  color: #9a9186;
  margin-top: 6px;
  display: none;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #c85c5c;
}

.form-field.is-invalid .form-field__hint {
  display: block;
  color: #c85c5c;
}

.form-submit-row {
  text-align: center;
}

.form-submit {
  max-width: 260px;
  width: 100%;
  display: inline-block;
  padding: 16px 56px;
  background: var(--color-accent);
  color: #171516;
  border: none;
  font-family: inherit;
  font-size: 15.2px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.form-submit:hover {
  opacity: 0.85;
}

.form-error-banner {
  display: none;
  text-align: center;
  color: #c85c5c;
  border: 1px solid #c85c5c;
  padding: 10px 16px;
  margin: 16px auto 0;
  max-width: 320px;
  font-size: 13.12px;
}

.form-error-banner.is-visible {
  display: block;
}

@media screen and (max-width: 1024px) {
  .form-wrap {
    max-width: 700px;
  }
  .form-field {
    display: block;
  }
  .form-submit {
    max-width: 240px;
  }
  .form-field__label {
    font-size: 16px;
  }
  .form-field__required {
    font-size: 12px;
    line-height: 1.2;
  }
  .form-field input,
  .form-field textarea {
    font-size: 14px;
  }
}

/* ==========================================================================
   サンクスページ
   ========================================================================== */

.thanks-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  text-align: center;
}

.thanks-wrap p {
  font-size: 14.72px;
  line-height: 2;
  color: var(--color-text-soft);
  margin-bottom: 32px;
}
