:root {
  --color-mid: #656565;
  --color-dark: #151515;
  --color-light: #bebebe;
  --color-accent: #896d6d;
  --color-alert: #9E3B3C;
  --color-bg-dark: #0f0f0f;
  --color-card-bg: #1e1e1e;
/*//  -- var(--color-alert) --  //*/}

* {
  border-radius: 0 !important;
}

body {
  color: var(--color-light);
  background-color: var(--color-bg-dark);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}


section.light-bg h1, section.light-bg h2, section.light-bg h3, section.light-bg h4, section.light-bg h5, section.light-bg h6, section.light-bg p, section.light-bg span, section.light-bg div, section.light-bg li, section.light-bg time {
  color: var(--color-dark) !important;
}
section.dark-bg h1, section.dark-bg h2, section.dark-bg h3, section.dark-bg h4, section.dark-bg h5, section.dark-bg h6, section.dark-bg p, section.dark-bg span, section.dark-bg div, section.dark-bg li, section.dark-bg time {
  color: var(--color-light) !important;
}

.inner {
  max-width: 120rem;
  margin: 0 auto;
}

.section {
  padding: 10rem 2rem;
}
.gray-bg {
  background-color: #1a1a1a;
}
.light-bg {
  background-color: #E3E3E3;
}

.section-title {
  font-size: 4rem;
  color: var(--color-light) !important;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 5rem;
}
.section-title .sub-title {
  display: block;
  font-size: 1.6rem;
  color: var(--color-mid) !important;
  margin-top: 1rem;
}
.section-title-light {
  font-size: 4rem;
  color: var(--color-dark) !important;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 5rem;
}
.section-title-light .sub-title {
  display: block;
  font-size: 1.6rem;
  color: var(--color-mid) !important;
  margin-top: 1rem;
}

.header {
  background-color: var(--color-dark);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #2a2a2a;
}
.header-logo img {
  width: 100%;
  max-width: 25rem;
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 3rem;
}
.nav-link {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 300;
  transition: color 0.3s;
}
.nav-link:hover {
  color: var(--color-light) !important;
}
/*//  -- nav drop down --  //*/
.nav-item-support {
  position: relative;
}
.nav-support {
  background-color: var(--color-accent);
  padding: 1rem 3rem;
  display: inline-block;
}
.nav-support:hover {
  background-color: #6a5353;
  color: #fff !important;
}

.sub-nav {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--color-dark);
  list-style: none;
  min-width: 20rem;
  border-top: 2px solid var(--color-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.nav-item-support:hover .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-nav a {
  display: block;
  color: #ffffff !important;
  padding: 1.5rem 2rem;
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid #2a2a2a;
  transition: background 0.3s;
}
.sub-nav a:hover {
  background-color: var(--color-mid);
}
/*//  -- /nav drop down --  //*/

/* 【追加】スマホ用ナビ下部情報のPC非表示（PCレイアウト崩れ防止） */
.nav-info {
  display: none !important;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 0.6rem;
  position: relative; 
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 3rem;
  height: 0.3rem;
  background-color: #ffffff;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hero-area {
  width: 100%;
  background-color: var(--color-dark);
}
.hero-iframe {
  width: 100%;
  aspect-ratio: 2 / 1;
  border: none;
  display: block;
}
.hero-mb-img {
  display: none;
  width: 100%;
  height: auto;
}

.introducing-sec .catch-text {
  line-height: 1.8;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-light) !important;
}
.btn-wrap {
  text-align: center;
}
.btn {
  display: inline-block;
  background-color: var(--color-light);
  color: var(--color-dark) !important;
  padding: 1.5rem 6rem;
  font-size: 1.8rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
  border: 1px solid var(--color-light);
}
.btn:hover {
  background-color: var(--color-dark);
  color: #ffffff !important;
  border: 1px solid var(--color-light);
}

.news-list {
  max-width: 80rem;
  margin: 0 auto;
  list-style: none;
}
.news-item {
  display: flex;
  border-bottom: 1px solid #2a2a2a;
  padding: 2.5rem 0;
}
.news-date {
  font-size: 1.6rem;
  color: var(--color-mid) !important;
  width: 15rem;
  flex-shrink: 0;
}
.news-content a {
  font-size: 1.6rem;
  color: var(--color-light) !important;
  text-decoration: none;
}
.news-content a:hover {
  text-decoration: underline;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 110rem;
  margin: 0 auto;
}

.banner-layout {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}
.banner-layout img {
  width: 100%;
  height: 40rem;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
  opacity: 0.6;
}
.banner-link {
  display: block;
  text-decoration: none;
}
.banner-link:hover img {
  transform: scale(1.05);
  opacity: 0.8;
}
.banner-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.banner-text .en {
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 1rem rgba(0,0,0,0.5);
}
.banner-text .ja {
  font-size: 1.6rem;
  color: #ffffff !important;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.page-header {
  height: 40rem;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 15, 15, 0.7);
}
.page-title {
  position: relative;
  color: #ffffff !important;
  font-size: 4rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
  z-index: 1;
}
.page-title span {
  color: #C1C1C1 !important;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
  z-index: 1;
}

.message-box {
  max-width: 90rem;
  margin: 0 auto;
}
.message-img {
  width: 100%;
  height: 40rem;
  object-fit: cover;
  margin-bottom: 4rem;
  opacity: 0.9;
}
.message-text {
  font-size: 1.6rem;
  line-height: 2;
  color: var(--color-light) !important;
}

/*//  -.table-company {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  border-collapse: collapse;
}
.table-company th, .table-company td {
  border: 1px solid #333;
  padding: 2.5rem;
  font-size: 1.6rem;
}
.table-company th {
  background-color: var(--color-dark);
  color: #ffffff !important;
  width: 25%;
  text-align: left;
  font-weight: 400;
}
.table-company td {
  background-color: var(--color-card-bg);
  color: var(--color-light) !important;
}-  ///*/

.fixed-support {
  position: fixed;
  bottom: 3rem;
  left: 3rem;
  background-color: var(--color-alert);
  color: #ffffff !important;
  padding: 1.5rem 3rem;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  z-index: 900;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0.5rem 0.5rem 0 rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.fixed-support p {
  color: #ffffff !important;
  font-size: 1.6rem;
}
.fixed-support-en {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.fixed-support:hover {
  transform: translateY(-5px);
}
.fixed-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 900;
  transition: opacity 0.3s;
}
.fixed-top img {
  width: 8.8rem;
  height: 8.8rem;
}
.fixed-top:hover {
  opacity: 0.7;
}

/* フッター */
.footer {
  background-color: var(--color-dark);
  padding: 8rem 2rem 4rem;
  text-align: center;
  border-top: 1px solid #2a2a2a;
}
/* 【追加・修正】フッター内の情報レイアウト */
.footer-inner {
  max-width: 120rem;
  margin: 0 auto;
}
.footer-info {
  display: flex;
  justify-content: center;
  gap: 6rem;
  margin-bottom: 5rem;
  text-align: left;
}
.footer-logo img {
  width: 20rem; /* 【修正】20remに変更 */
  margin-bottom: 1rem;
}
.footer-logo .company-name {
  font-size: 1.6rem;
  color: var(--color-light) !important;
  font-weight: 400;
  text-align: center;
}
.footer-locations {
  display: flex;
  gap: 4rem;
}
.footer-details p {
  color: var(--color-light) !important;
}
.location-box .loc-title {
  font-size: 1.4rem;
  color: var(--color-light) !important;
  margin-bottom: 0.5rem;
  font-weight: 400;
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
}
.location-box p {
  font-size: 1.3rem;
  color: var(--color-mid) !important;
  line-height: 1.8;
}
p.company-group {
  font-size: 2.2rem;
}
p.license {
  font-size: 1.4rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-light) !important;
  text-decoration: none;
  font-size: 1.4rem;
}
.footer-nav a:hover {
  color: #ffffff !important;
}
.signature {
  background-color: #000000;
  color: var(--color-mid) !important;
  text-align: center;
  padding: 1.5rem;
  font-size: 1.2rem;
}

@media (max-width: 500px) {
  
  .header {
    padding: 2rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-list {
    display: flex; 
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* 【修正】情報要素が増えたため、スクロール可能にして下部余白を追加 */
    overflow-y: auto;
    background-color: rgba(23, 23, 23, 0.98);
    padding: 10rem 0 4rem 0;
    gap: 0;
    z-index: 1000;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  }
  
  .nav-list.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid #2a2a2a;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 2rem 1em;
    text-align: left;
    box-sizing: border-box;
  }
  
  .nav-support {
    width: 100%;
    text-align: left;
    padding-left: 1em !important;
  }
  
  .sub-nav {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
    background-color: #1f1f1f;
  }
  .sub-nav li {
    width: 100%;
  }
  .sub-nav a {
    padding: 1.5rem 0 1.5rem 2em;
    text-align: left;
    display: block;
    width: 100%;
  }

  /* 【追加】スマホ用ナビ下部情報の表示とスタイル */
  .nav-info {
    display: block !important;
    margin-top: auto; /* flexの空きスペースを埋めて下部に押しやる */
    padding: 4rem 2rem 2rem 2rem;
    border-bottom: none !important;
    text-align: left;
  }
  .nav-info img {
    width: 20rem;
    margin-bottom: 1.5rem;
  }
  .nav-info .nav-info-name {
    font-size: 1.4rem;
    color: var(--color-light) !important;
    margin-bottom: 0.5rem;
  }
  .nav-info .nav-info-address {
    font-size: 1.2rem;
    color: var(--color-mid) !important;
    line-height: 1.6;
  }
  
  .hero-iframe {
    display: none;
  }
  .hero-mb-img {
    display: block;
  }
  
  .section {
    padding: 6rem 2rem;
  }
  .section-title {
    font-size: 3rem;
  }
  .introducing-sec .catch-text {
    font-size: 1.6rem;
  }
  
  .news-item {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tile-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .banner-layout img {
    height: 30rem;
  }
  .banner-text .en {
    font-size: 3.5rem;
  }
  
  .table-company th, .table-company td {
    display: block;
    width: 100%;
  }
  .table-company th {
    border-bottom: none;
  }

  /* 【追加・修正】スマホ用のフッター情報レイアウト調整 */
  .footer-info {
    flex-direction: column;
    gap: 3rem;
    align-items: left;
    text-align: left;
  }
  .footer-locations {
    flex-direction: column;
    gap: 3rem;
  }
  .location-box .loc-title {
    border-bottom: none;
    display: inline-block;
  }
  
  .fixed-support {
    bottom: 2rem;
    left: 2rem;
    font-size: 1.3rem;
    padding: 1rem 1.5rem;
    width: calc(100% - 14rem);
    text-align: center;
  }
  .fixed-support-en {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
  }
  .fixed-support p {
    font-size: 1.3rem;
  }
  .fixed-top {
    bottom: 2rem;
    right: 2rem;
  }
  .fixed-top img {
    width: 6rem;
    height: 6rem;
  }

  /* 固定バナー(.fixed-support)がフッターのリンクに被らないよう、下部に余白を確保 */
  body:has(.fixed-support) {
    padding-bottom: 11rem;
  }
}



/* 新規作成ファイル：サポートページ用カスタムスタイル */

/* ページ全体の背景色 */
.support-page-bg {
  background-color: #E3E3E3;
}

/* リンクボタンのスタイル */
.support-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 1rem;
  padding: 2rem;
  text-decoration: none;
  color: #151515;
  transition: all 0.3s ease;
  box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.05);
}

.support-btn:hover {
  background-color: #54AAC4;
  color: #fff;
  transform: translateY(-0.3rem);
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.15);
}

.support-btn img {
  width: 5rem;
  height: auto;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.support-btn:hover img {
  filter: brightness(0) invert(1);
}

.support-btn span {
  font-size: 1.6rem;
  font-weight: bold;
}

/* コンテンツエリア */
.support-content-inner {
  background-color: #fff;
  padding: 4rem;
  border-radius: 1rem;
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.05);
}

/* ヘッダータイトル */
.support-title {
  color: #fff;
  text-shadow: 0 0.2rem 0.4rem rgba(0,0,0,0.5);
}

/* メディアクエリ（500px以下） */
@media screen and (max-width: 500px) {
  .support-content-inner {
    padding: 2rem;
  }
  .support-btn {
    padding: 1.5rem;
  }
  .support-btn img {
    width: 4rem;
  }
  .support-btn span {
    font-size: 1.4rem;
  }
  /* スマホでのグリッド調整 */
  .grid-support {
    grid-template-columns: 1fr 1fr;
  }
}

/* ここから修正 */
.resident-field {
  display: none;
  opacity: 0;
  transform: translateY(-1rem);
}

.resident-field.is-show {
  display: block !important;
  animation: residentSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.resident-field.is-hiding {
  display: block !important;
  animation: residentSlideOut 0.25s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

@keyframes residentSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-1.5rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes residentSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-1rem);
  }
}

/* チェックボックス項目グループ（縦並び） */
.inquiry-type-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
}

/* カスタムチェックボックスラベル（カッコいいカード風デザイン） */
.inquiry-type-label {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  font-size: 1.6rem;
  padding: 1.4rem 1.8rem;
  background-color: #f8fbfd;
  border: 0.15rem solid #d5e3ec !important;
  border-radius: 0.6rem !important;
  transition: all 0.25s ease;
  user-select: none;
}

.inquiry-type-label:hover {
  background-color: #eef6f9;
  border-color: #54AAC4 !important;
  transform: translateX(0.4rem);
}

/* チェックボックス本体をカスタム化 */
.inquiry-type-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 2.2rem;
  height: 2.2rem;
  border: 0.2rem solid #b0c4de !important;
  border-radius: 0.4rem !important;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease-in-out;
  outline: none;
}

.inquiry-type-checkbox:hover {
  border-color: #54AAC4 !important;
  box-shadow: 0 0 0 0.3rem rgba(84, 170, 196, 0.2);
}

.inquiry-type-checkbox:checked {
  background-color: #54AAC4;
  border-color: #54AAC4 !important;
  box-shadow: 0 0.3rem 0.8rem rgba(84, 170, 196, 0.35);
}

/* チェックマークを描画 */
.inquiry-type-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 0.15rem;
  left: 0.65rem;
  width: 0.6rem;
  height: 1.1rem;
  border: solid #ffffff;
  border-width: 0 0.25rem 0.25rem 0;
  transform: rotate(45deg);
  animation: checkAnim 0.15s ease-in-out forwards;
}

/* チェック時のラベルカードスタイル変化 */
.inquiry-type-label:has(.inquiry-type-checkbox:checked) {
  background-color: #eef7fa;
  border-color: #54AAC4 !important;
  box-shadow: 0 0.2rem 0.8rem rgba(84, 170, 196, 0.15);
}

@keyframes checkAnim {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}
/* 修正ここまで */

/*ここから修正*/
/* 物件郵便番号からのドリルダウン検索リスト */
.building-search-wrapper {
  margin-bottom: 1.5rem;
}

.building-search-input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.building-search-note {
  font-size: 1.3rem;
  color: #666;
}

.building-search-results {
  margin-top: 1rem;
  background: #ffffff;
  border: 0.15rem solid #54AAC4 !important;
  border-radius: 0.6rem !important;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
  max-height: 28rem;
  overflow-y: auto;
  display: none;
}

.building-search-results.is-active {
  display: block;
}

.building-result-item {
  padding: 1.2rem 1.6rem;
  border-bottom: 0.1rem solid #edf2f7;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.building-result-item:last-child {
  border-bottom: none;
}

.building-result-item:hover {
  background-color: #eef7fa;
}

.building-result-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2b6cb0;
}

.building-result-addr {
  font-size: 1.3rem;
  color: #718096;
}

.building-result-badge {
  font-size: 1.1rem;
  background-color: #54AAC4;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 0.4rem !important;
  white-space: nowrap;
}

.building-selected-card {
  margin-top: 1rem;
  padding: 1.2rem 1.6rem;
  background-color: #eef7fa;
  border: 0.15rem solid #54AAC4 !important;
  border-radius: 0.6rem !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.building-selected-text {
  font-size: 1.5rem;
  color: #2b6cb0;
  font-weight: bold;
}

.building-clear-btn {
  background: #e53e3e;
  color: #ffffff;
  border: none;
  padding: 0.4rem 1rem;
  font-size: 1.2rem;
  border-radius: 0.4rem !important;
  cursor: pointer;
}

@media screen and (max-width: 500px) {
  .building-result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .building-result-badge {
    align-self: flex-end;
  }
}
/* 修正ここまで */

/*ここから修正*/
/* メール送信確認画面のスタイリング */
.confirm-table-wrapper {
  margin-bottom: 3.5rem;
  background: #ffffff;
  border-radius: 0.8rem !important;
  box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.05);
  border: 0.1rem solid #e2e8f0 !important;
  overflow: hidden;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.confirm-table th,
.confirm-table td {
  padding: 1.6rem 2rem;
  border-bottom: 0.1rem solid #edf2f7;
  font-size: 1.5rem;
  line-height: 1.7;
}

.confirm-table tr:last-child th,
.confirm-table tr:last-child td {
  border-bottom: none;
}

.confirm-table th {
  width: 26%;
  background-color: #f7fafc;
  color: #2d3748;
  font-weight: bold;
  text-align: left;
  vertical-align: top;
  border-right: 0.1rem solid #edf2f7;
}

.confirm-table td {
  background-color: #ffffff;
  color: #2d3748;
  vertical-align: top;
}

/* 添付画像のプレビュー装飾 */
.confirm-img-preview {
  max-width: 28rem;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 0.8rem !important;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
  border: 0.1rem solid #cbd5e0;
  display: block;
}

/* ボタンエリア */
.confirm-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.confirm-btn-submit {
  background-color: #54AAC4;
  color: #ffffff;
  border: none !important;
  padding: 1.4rem 4rem;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 0.6rem !important;
  cursor: pointer;
  box-shadow: 0 0.4rem 1rem rgba(84, 170, 196, 0.3);
  transition: all 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.confirm-btn-submit:hover {
  background-color: #4396b0;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.4rem rgba(84, 170, 196, 0.4);
}

.confirm-btn-back {
  background-color: #718096;
  color: #ffffff;
  border: none !important;
  padding: 1.4rem 3.5rem;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 0.6rem !important;
  cursor: pointer;
  transition: all 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.confirm-btn-back:hover {
  background-color: #4a5568;
  transform: translateY(-0.2rem);
}

/* エラー表示ボックス */
.confirm-error-box {
  background-color: #fff5f5;
  border: 0.15rem solid #feb2b2 !important;
  border-radius: 0.8rem !important;
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.confirm-error-title {
  font-size: 2rem;
  color: #e53e3e;
  font-weight: bold;
  margin-bottom: 1rem;
}

.confirm-error-sub {
  font-size: 1.5rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

.confirm-error-list {
  font-size: 1.4rem;
  color: #c53030;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

@media screen and (max-width: 500px) {
  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
    border-right: none;
  }
  .confirm-table th {
    background-color: #edf2f7;
    border-bottom: none;
    padding: 1.2rem 1.6rem 0.6rem;
  }
  .confirm-table td {
    padding: 0.6rem 1.6rem 1.6rem;
  }
  .confirm-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .confirm-btn-submit,
  .confirm-btn-back {
    width: 100%;
    text-align: center;
  }
}
/*修正ここまで*/


