main {
  width: 100%;
}
/* -------- FV -------- */
.fv {
  width: 100%;
  padding-bottom: 80px;
  margin: auto;
}
.fv .fv-top {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: end;
  position: relative;
  margin: auto;
  margin-bottom: 50px;
}
.fv .txt {
  position: absolute;
  left: 0;
  padding-block: 69.5px;
  font-size: 40px;
  font-weight: bold;
}
.fv .txt span {
  font-size: 24px;
  font-weight: normal;
}
.fv .fv-img-box {
  width: 100%;
  max-width: 600px;
}
.fv .fv-img-box img {
  object-fit: cover;
  border-radius: 50px;
  width: 100%;
  aspect-ratio: 16/9;
}
.fv-links-wrap {
  width: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: center;
  background-color: #fffddd;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.fv .fv-links {
  width: fit-content;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
  border-radius: 20px;
}
.fv .fv-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: bold;
}
.fv .fv-links a span {
  font-size: 13px;
}
.fv .fv-links a img {
  width: 34px;
}
@media (max-width: 1200px) {
  .fv .txt,
  .fv-links-wrap {
    padding-inline: 20px;
  }
}
@media (max-width: 768px) {
  .fv {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
  }
  .fv .fv-top {
    flex-direction: column-reverse;
    padding-inline: 20px;
    margin-bottom: 10px;
  }
  .fv .fv-img-box img {
    border-radius: 20px;
  }
  .fv .txt {
    padding-left: 0;
    font-size: 28px;
    text-align: center;
    position: unset;
    padding: 0;
    padding-block: 30px;
  }
  .fv .txt span {
    font-size: 16px;
  }
  .fv .fv-links-wrap {
    width: 100%;
    overflow-x: scroll;
    padding-inline: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  .fv .fv-links {
    padding: 10px 20px;
    border-radius: 15px;
    gap: 25px;
    min-width: 520px;
  }
  .fv .fv-links a {
    font-size: 14px;
  }
  .fv .fv-links a span {
    font-size: 12px;
  }
  .fv .fv-links a img {
    width: 28px;
  }
}

@media (max-width: 600px) {
  .fv .fv-links-wrap {
    justify-content: unset;
  }
}

/* -------- BOX -------- */
.box {
  width: 100%;
  padding-bottom: 100px;
}
.box .box-top {
  width: 100%;
}
.box .box-top img {
  margin-bottom: 50px;
}
.box .box-top p {
  width: fit-content;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.3;
  border-bottom: 1px solid var(--black);
  margin: auto;
}

.box .intro-txt {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding-block: 50px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.box .intro-txt p:nth-of-type(1) {
  font-size: 24px;
}
.box .intro-txt span {
  font-size: 13px;
}
.box .intro-txt p span {
  font-size: 18px;
  font-weight: bold;
}

.box .price-table {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 47px;
}

.box .driver-table-wrap {
  width: 100%;
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.box .driver-table-wrap .driver-table {
  width: 50%;
}
.box .driver-table-wrap .driver-table .txt {
  background-color: #e3aeef;
}
.box .driver-table-wrap .right-txt {
  width: 50%;
  padding-left: 30px;
}
.box .driver-table-wrap .right-txt li {
  list-style: disc;
  font-size: 16px;
}
.box .btn-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 47px;
}
.box .btn-group .more-btn {
  width: 600px;
  height: 100px;
}
.box .btn-group .more-btn p {
  font-size: 20px;
}
.box .btn-group .more-btn:nth-of-type(2) p {
  font-size: 30px;
}

.box .type {
  width: 100%;
  background-color: var(--week-yellow);
  padding-block: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.box .type .section-t {
  text-align: center;
}
.box .type .type-content {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.box .type .type-content .type-item {
  width: 100%;
  padding-bottom: 30px;
  border-bottom: 1px solid #adadad;
}
.box .type .type-content .type-item-t {
  font-size: 30px;
  margin-bottom: 30px;
}
.box .type .type-content .type-item ul {
  padding-left: 20px;
}
.box .type .type-content .type-item li {
  font-size: 16px;
}

.box .diagram {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding-block: 100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.box .diagram .dia-picture {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.box .diagram .dia-picture span {
  font-size: 14px;
}

.box .diagram .fee-table-wrap {
  width: 100%;
  max-width: 700px;
}

.box .diagram .fee-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  text-align: center;
  font-size: 16px;
  margin-top: 40px;
}

/* 共通セル */
.box .diagram .fee-table th,
.box .diagram .fee-table td {
  padding: 15px 12px;
  vertical-align: middle;
}

/* 上部ヘッダー */
.box .diagram .head-main {
  background: #e3aeef;
  font-weight: 700;
  font-size: 16px;
}

/* 左側の区分 */
.box .diagram .row-head {
  background: #f1dcf6;
  font-weight: 700;
  line-height: 1.4;
}

/* colspan用（高さ調整） */
.box .diagram .row-head.single {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* 講習時間 */
.box .diagram .sub-head {
  background: #f1dcf6;
  font-weight: 600;
}

.box .diagram .fee-table td {
  background-color: #f8f8f8;
}

/* 金額 */
.box .diagram .price p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.box .diagram .price span {
  font-size: 24px;
}

/* レスポンシブ */
@media (max-width: 1200px) {
  .box .type .type-content {
    padding-inline: 20px;
  }
}
@media (max-width: 768px) {
  .box .diagram .fee-table {
    font-size: 14px;
    margin-top: 30px;
  }
  .box .diagram .price span {
    font-size: 18px;
    font-weight: bold;
  }
  .box .diagram .head-main {
    width: 50%;
  }
  .box .diagram .fee-table th,
  .box .diagram .fee-table td {
    padding-inline: 10px;
  }
}

.box .things {
  width: 100%;
}
.box .things-content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.box .things-content .thing {
  height: 87px;
  padding-inline: 20px;
  background-color: #fffddd;
  border: 1px solid #f5cf3f;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.box .things-content .thing p {
  font-size: 20px;
}
.box .things-content .thing span {
  font-size: 16px;
}

.box .pdf-download {
  width: 100%;
  padding-bottom: 50px;
}
.box .pdf-download .pdf-btn-group {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding-bottom: 40px;
}
.box .pdf-download .pdf-btn-group button {
  width: 100%;
  max-width: 400px;
  padding-block: 20.5px;
  background-color: var(--white);
  border: 1px solid var(--black);
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.box .pdf-download .pdf-btn-group button img {
  width: 33px;
}
.box .licence-type .btn-group {
  margin-top: 40px;
}
@media (max-width: 1200px) {
  .box .intro-txt {
    padding-inline: 20px;
  }
  .box .diagram {
    padding-inline: 20px;
  }
  .box .pdf-download {
    padding-inline: 20px;
  }
}

@media (max-width: 768px) {
  .box .box-top img {
    margin-bottom: 30px;
  }
  .box .box-top p {
    font-size: 32px;
  }
  .box .intro-txt {
    padding-block: 30px 40px;
    font-size: 14px;
  }
  .box .intro-txt p:nth-of-type(1) {
    font-size: 20px;
  }
  .box .price-table {
    padding-inline: 20px;
  }
  .box .driver-table-wrap {
    flex-direction: column;
  }
  .box .driver-table-wrap .driver-table {
    width: 100%;
  }
  .box .btn-group .more-btn {
    width: 315px;
    height: 65px;
  }
  .box .btn-group .more-btn p {
    font-size: 15px;
  }
  .box .btn-group .more-btn:nth-of-type(2) {
    display: none;
  }
  .box .driver-table-wrap .right-txt li {
    font-size: 14px;
  }
  .box .intro-txt span {
    font-size: 12px;
  }
  .box .type {
    padding-block: 60px;
  }
  .box .type .type-content .type-item-t {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .box .type .type-content .type-item li {
    font-size: 14px;
  }
  .box .diagram {
    padding: 60px 20px;
  }
  .box .diagram .acd-it span {
    font-size: 14px;
  }
  .box .things-content {
    margin-top: 30px;
    gap: 10px;
  }
  .box .things-content .thing {
    height: 60px;
  }
  .box .things-content .thing p {
    font-size: 14px;
  }
  .box .things-content .thing span {
    font-size: 12px;
  }
  .box .pdf-download .pdf-btn-group {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .box .pdf-download .pdf-btn-group button {
    width: 100%;
    max-width: 335px;
    font-size: 14px;
    padding-block: 14px;
  }
}
