body {
  margin: 0;
}

#contents {
  width: 100%;
  margin: 0;
  padding: 0;
}

header,
#header,
#footer_Wrap,
#topicsPathArea,
.pageTop,
.header-bnr-area,
footer,
#footer {
  display: none;
}

ul,
li {
  list-style: none;
}

ul,
ol,
li,
h2,
h3,
h4,
p {
  padding: 0;
  margin: 0;
  line-height: 1.7;
}

#mainContainer {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #f7f7f7;
  color: #222;
  word-break: break-all;
}

#mainContainer h1 {
  font-size: 16px;
  margin: 0;
}

#mainContainer h2,
#mainContainer h3,
#mainContainer h4,
#mainContainer h5 {
  font-weight: bold;
}

article {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #fff;
  margin: auto;
  width: 100%;
  max-width: 1000px;
  color: #333;
  box-sizing: border-box;
  overflow: hidden;
}

.kv img {
  width: 100%;
}

/* ===== Sections 共通 ===== */
article > section {
  margin-top: 90px;
}

.sec-1 > div:first-child {
  margin-bottom: 60px;
}

.sec-1 h2,
.sec-2 h2,
.sec-4 h2,
.sec-5 h2 {
  position: relative;
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  margin-bottom: 60px;
}

.sec-1 h2::after,
.sec-2 h2::after,
.sec-4 h2::after,
.sec-5 h2::after {
  content: "";
  width: 80px;
  height: 5px;
  background: #01961e;
  bottom: -15px;
  left: 50%;
  margin-left: -40px;
  position: absolute;
}

/* ===== sec-1 ===== */
.sec-1 {
  padding-bottom: 60px;
}

.sec-1 h3 {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 30px;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #01961e;
  padding: 0 20px;
}

.sec-1 h3::before,
.sec-1 h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #01961e;
}

.sec-1 h4 {
  text-align: center;
  color: #01961e;
  font-size: 25px;
  margin: 0 20px;
}

.sec-1 p {
  font-size: 20px;
  text-align: center;
}

.sec-1 ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 20px;
  margin: 40px auto;
}

.sec-1 ul li {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}

.sec-1 ul li img {
  width: 100%;
}

/* ===== sec-2 ===== */
.sec-2 {
  background: #ecf0f3;
  padding: 90px 0;
  margin-top: 0;
}

.sec-2 ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 800px;
  margin: auto;
}

.sec-2 ul li {
  background: #f8f8f8;
  width: 200px;
  padding: 16px;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
}

.sec-2 ul li h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  color: #01961e;
  font-weight: bold;
  min-height: 62px;
}

.sec-2 ul li p {
  margin-top: 16px;
}

/* ===== sec-3 ===== */
.sec-3 {
  background: linear-gradient(
    45deg,
    rgba(26, 60, 134, 1) 0%,
    rgba(54, 168, 220, 1) 100%
  );
  margin: 0;
  padding: 60px 0;
}

.sec-3 h2 {
  text-align: center;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.5;
}

.sec-3 ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 0 20px;
}

.sec-3 ul li {
  background: #fff;
  border-radius: 8px;
  padding: 20px 15px;
  box-sizing: border-box;
  text-align: center;
}

.sec-3 ul li:nth-child(1) {
  border: 5px solid #d59848;
}
.sec-3 ul li:nth-child(2) {
  border: 5px solid #7cd082;
}
.sec-3 ul li:nth-child(3) {
  border: 5px solid #a93a67;
}

.sec-3 ul li h4 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.3;
  font-weight: bold;
  font-size: 18px;
  min-height: 47px;
}

.sec-3 ul li p {
  font-size: 14px;
  text-align: left;
  margin-top: 16px;
}

.sec-3 ul li img {
  display: block;
  width: 70%;
  object-fit: contain;
  margin: 16px auto;
}

.sec-3 ul li a {
  display: inline-block;
  color: unset;
  margin-top: 16px;
}

.sec-3 .btn {
  display: block;
  margin: 40px auto 0;
  width: 100%;
  border-radius: 999px;
  text-align: center;
  background: #fd9535;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  color: #fff;
  text-decoration: none;
  line-height: 68px;
  font-weight: bold;
  max-width: 400px;
  font-size: 24px;
}

/* ===== sec-4 ===== */
.sec-4 {
  padding: 0 20px;
}

.sec-4 table {
  background: #f7f7f7;
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
  border-spacing: 0;
  border: 1px solid #ccc;
}

.sec-4 table th,
.sec-4 table td {
  padding: 10px;
  width: 22%;
}

.sec-4 table thead {
  background: #333;
  color: #fff;
}

.sec-4 table thead th:not(:first-child) {
  border-left: 1px solid #fff;
}

.sec-4 table tbody tr th,
.sec-4 table tbody tr td {
  border-top: 1px solid #333;
}

.sec-4 table tbody tr th {
  background: #777;
  color: #fff;
}

.sec-4 table tbody tr td {
  border-left: 1px solid #333;
  width: 26%;
}

.sec-4 table tbody tr td dl {
  display: flex;
  margin: 0;
}

.sec-4 table tbody tr td dl dd {
  margin: 0;
}

.sec-4 .chart {
  margin-top: 20px;
  width: calc(100% + 40px);
  margin-left: -20px;
}

.sec-4 .chart img {
  width: 100%;
}

.sec-4 .youtube {
  padding: 40px 0;
  text-align: center;
}

.sec-4 .youtube p {
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 20px;
}

/* ===== CTA ===== */
article .cta {
  padding: 40px 20px;
  background: #f7f7f7;
}

article .cta a {
  background: linear-gradient(
    45deg,
    rgba(26, 60, 134, 1) 0%,
    rgba(54, 168, 220, 1) 100%
  );
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  text-align: center;
  margin: auto;
  padding: 16px;
  font-size: 24px;
  font-weight: bold;
  display: block;
  max-width: 400px;
}

/* ===== sec-5 ===== */
.sec-5 {
  padding: 0 20px 100px;
}

.sec-5 .bnr {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.sec-5 .bnr img {
  width: 100%;
}

.sec-5 #articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
}

.sec-5 #articles img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sec-5 #articles a {
  text-decoration: none;
  color: unset;
}

.sec-5 #articles p {
  margin-top: 10px;
  font-size: 14px;
}

/* ===== SP only ===== */
@media screen and (max-width: 768px) {
  article > section {
    margin-top: 45px;
  }
  .sec-1 > div:first-child {
    margin-bottom: 30px;
  }

  .sec-1 h2,
  .sec-2 h2,
  .sec-4 h2,
  .sec-5 h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .sec-1 h2::after,
  .sec-2 h2::after,
  .sec-4 h2::after,
  .sec-5 h2::after {
    width: 40px;
    height: 3px;
    bottom: -7px;
    margin-left: -20px;
  }

  .sec-1 {
    padding-bottom: 20px;
  }

  .sec-1 h3 {
    gap: 15px;
    font-size: 16px;
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .sec-1 h3::before,
  .sec-1 h3::after {
    height: 1px;
  }

  .sec-1 h4 {
    font-size: 16px;
    margin: 0 10px;
  }

  .sec-1 p {
    font-size: 14px;
    padding: 0 10px;
  }

  .sec-1 ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px;
    margin: 20px auto;
  }

  .sec-1 ul li {
    font-size: 15px;
  }

  .sec-2 {
    padding: 45px 0;
  }
  .sec-2 ul {
    gap: 15px;
    width: 100%;
  }
  .sec-2 ul li {
    width: 40%;
    padding: 8px;
    box-sizing: border-box;
  }
  .sec-2 ul li h4 {
    display: block;
    font-size: 14px;
    min-height: 48px;
  }
  .sec-2 ul li p {
    margin-top: 8px;
    font-size: 12px;
  }

  .sec-3 {
    padding: 30px 0;
  }
  .sec-3 h2 {
    font-size: 20px;
  }
  .sec-3 ul {
    grid-template-columns: 1fr;
    margin-top: 20px;
    padding: 0 10px;
  }
  .sec-3 .btn {
    margin: 20px auto 0;
    line-height: 50px;
    max-width: 300px;
    font-size: 20px;
  }

  .sec-4 {
    padding: 0 10px;
  }
  .sec-4 table {
    font-size: 11px;
  }
  .sec-4 table th,
  .sec-4 table td {
    padding: 4px;
  }

  .sec-4 .youtube p {
    margin-bottom: 8px;
    font-size: 16px;
  }
  .sec-4 .youtube iframe {
    width: 100%;
    height: auto;
  }

  article .cta {
    padding: 20px 10px;
  }
  article .cta a {
    padding: 10px 16px;
    font-size: 20px;
    max-width: 300px;
  }

  .sec-5 {
    padding: 0 10px 50px;
  }
  .sec-5 .bnr {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 15px;
  }
  .sec-5 #articles {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
  }
  .sec-5 #articles img {
    height: 120px;
  }
  .sec-5 #articles p {
    margin-top: 6px;
    font-size: 12px;
  }
}
