@charset "UTF-8";

/* ========================================
   page/about.css
   補助金の概要ページ専用差分
   ======================================== */

body.about .tcdce-body {
  display: grid;
  gap: 20px;
}

body.about .p-about-section + .p-about-section {
  margin-top: 24px;
}

/* ========================================
   h3
   ======================================== */

body.about .custom_h3 {
  margin-top: 28px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-main-dark);
  font-size: 2.1rem;
  line-height: 1.5;
  font-weight: 700;
}

/* ========================================
   numbered list
   ======================================== */

body.about .ul-number {
  counter-reset: num;
  display: grid;
  gap: 12px;
  padding: 24px 24px 24px 28px;
  background: #f7f9f8;
  border: 1px solid var(--color-border);
}

body.about .ul-number li {
  position: relative;
  padding-left: 2.8em;
  list-style: none;
  counter-increment: num;
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1.8;
}

body.about .ul-number li::before {
  content: "（" counter(num) "）";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-main);
  font-weight: 700;
}

/* ========================================
   table
   ======================================== */

body.about .s_table {
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

body.about .s_table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--color-white);
  table-layout: fixed;
}

body.about .s_table th,
body.about .s_table td {
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  font-size: 1.5rem;
  line-height: 1.75;
  vertical-align: top;
  width: 50%;
}

body.about .s_table thead th {
  background: #eef3f0;
  color: var(--color-main-dark);
  text-align: center;
  font-weight: 700;
}

body.about .s_table tbody th {
  width: 28%;
  background: #f7f9f8;
  color: var(--color-text);
  font-weight: 700;
  text-align: left;
}

body.about .s_table td ul {
  margin: 0;
  list-style: disc;
  padding-left: 1.2em;
}

list-style: disc;
body.about .s_table td li + li {
  margin-top: 6px;
}

/* ========================================
   info box
   ======================================== */

body.about .p-info-box {
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: var(--color-main-light);
  border: 1px solid var(--color-border);
}

body.about .p-info-box__title {
  margin: 0 0 14px;
  color: var(--color-main-dark);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ========================================
   CTA（about下部）
   ======================================== */

body.about .p-about-cta__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media (max-width: 767px) {
  body.about .p-about-cta__buttons {
    flex-direction: column;
  }
}

/* ========================================
   mobile overflow fix
   ======================================== */

body.about .tcdce-body,
body.about .p-about-section,
body.about .s_table {
  min-width: 0;
  max-width: 100%;
}

body.about .s_table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.about .p-about-flow-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  body.about .s_table table {
    min-width: 640px;
  }

  body.about .p-entry__body {
    overflow-x: clip;
  }
}

