@font-face {
	font-family: "D-DIN-PRO-bold";
	src:
		url("/template/webfonts/D-DIN-PRO-500-Medium.woff") format("woff");
}

.din-bold {
	font-family: "D-DIN-PRO-bold", "Noto Sans CJK JP", "Noto Sans JP", sans-serif !important;
}

.grid-container{
  @media screen and (min-width:1280px) {
    padding-left: 0;
    padding-right: 0;
  }
}

.h2 {
  font-size: 40px;
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 16px;

  @media screen and (max-width:39.9375em) {
    font-size: 2.1rem;
    letter-spacing: 0;
  }
}

.h3 {
  font-size: 32px;
  line-height: 1.4;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0;

  @media screen and (max-width:39.9375em) {
    font-size: 1.7rem;
  }
}

.h4 {
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  font-weight: bold;

  @media screen and (max-width:39.9375em) {
    font-size: 1.4rem;
  }
}

.text-blue {
  color: #0d3192;
}

.mt-16 {
  margin-top: 16px;
}

.mb-0 {
  margin-bottom: 0;
}

.box {
  border: 4px solid #0f3192;
  padding: 40px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;

  * {
    margin-bottom: 0;
  }

  @media screen and (max-width:39.9375em) {
    padding: 24px;
  }
}

.w960 {
  max-width: 960px;
}

.border-title {
  border-width: 2px 0 2px 0;
  border-style: solid;
  border-color: rgba(180, 180, 180, 1);
  padding: 16px 0;
  display: block;
  width: fit-content;
  margin: 0 auto;
  margin-top: 24px;
}

.section-arrow {
  height: 120px;
  width: 100%;
  background-color: #e6eaf4;
  position: relative;
  top: 0;
  overflow: hidden;

  &::after {
    content: "";
    display: block;
    position: absolute;
    top: -1px; /* ここを調整 */
    left: 0;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    background: #fff;
    height: 121px; /* 1px大きくする */
    width: 100%;
  }
}

.section {
  padding: 80px 0 !important;

  @media screen and (max-width:39.9375em) {
    padding: 48px 0 !important;
  }

  .section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 56px;
  }
}

/*===============
kv
================*/
.kv {
  min-height: 460px;
  margin-bottom: 0 !important;
  background: url(/cojp/img/kv-bg.png) no-repeat center center;
  background-size: cover;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;

  .grid-container {
    width: 100%;
  }

  .kv-inner {
    position: relative;

    .kv-text {
      height: 332px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      @media screen and (max-width: 39.9375em) {
        justify-content: flex-start;
        align-items: center;
        row-gap: 24px;
      }

      .ttl-h1 {
        margin: 0;
        @media screen and (max-width:380px) {
          letter-spacing: -1px;
        }
        small{
          display: inline;
          color: #fff;
        }
      }

      .kv-sub {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        margin-top: 24px;
        margin-bottom: 0;

        li {
          color: #fff;
          font-size: 14px;
          margin-bottom: 0;
        }
      }

      .kv-button {
        width: 100%;

        @media screen and (max-width: 39.9375em) {
          display: flex;
          justify-content: center;
        }

        a {
          max-width: 319px;
          margin-bottom: 0;
        }
      }
    }

    .kv-badge {
      position: absolute;
      top: 0;
      right: 0;
      display: block;
      width: 172px;
      height: auto;

      @media screen and (max-width:789px) {
        top: initial;
        bottom: 0;
      }

      @media screen and (max-width: 39.9375em) {
        width: 120px;
        bottom: -13%;
        right: 50%;
        transform: translateX(50%);
      }
    }
  }
}


/*===============
section-01
================*/
.section-01 {
  margin: 48px;
  padding-top: 24px;
  padding-bottom: 0 !important;

  @media screen and (max-width:39.9375em) {
    margin: 48px 0.6rem;
  }
}

.section-01__inner {
  display: flex;
  padding: 48px;
  position: relative;
  min-height: 516px;

  .section-01__text {
    .section-01__desc,
    .text-note{
      font-size: 14px;
      letter-spacing: 0;
      li{
        padding-left: 0;
      }
    }
    @media screen and (min-width:1001px) {
      max-width: 546px;
      margin-right: calc(590px - 48px - 48px);
    }
  }

  .section-01__img {
    display: block;
    max-width: 590px;
    width: 100%;

    @media screen and (min-width:1001px) {
      position: absolute;
      right: -48px;
    }
  }

  @media screen and (max-width:1000px) {
    flex-direction: column;
    align-items: center;
  }

  @media screen and (max-width:39.9375em) {
    padding: 25px;
  }
}

/*===============
section-02
================*/

.section-02 {
  display: flex;

  h2 {
    small {
      font-size: 14px;
      color: inherit;
      font-weight: normal;
    }
  }

  ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;

    @media screen and (max-width:39.9375em) {
      grid-template-columns: repeat(1, 1fr);
    }

    li {
      background-color: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 24px;
      row-gap: 8px;
      text-align: center;
      h3,p{
        margin-bottom: 0;
      }
    }
  }
}

/*===============
section-04
================*/
table thead th {
  background-color: #cdd6eb;
}

table tbody th {
  background-color: #edf0f7;

  a {
    color: #3399FF;
    text-decoration: underline;
  }
}

table tbody td {
  background-color: #fff;
  font-size: 14px;
}

table .price {
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  span {
    font-size: 30px;

  }

  &.red {
    color: #f8003f;
  }
}

.cv-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 8px;
  width: 100%;

  p {
    margin-bottom: 0;
  }

  .button-wrap {
    max-width: 319px;
    width: 100%;

    .button {
      margin-bottom: 0;
    }
  }
}