img {
  height: auto;
}

.c-title-main span {
    font-size: clamp(32px, 8vw, 100px);
}

.c-text {
    max-width: 760px;
}

.c-lead-line {
  display: block;
  background: #fd0200;
  color: #fff;
  padding: 2px 8px 6px;
  margin-top: 50px;
  font-size: 40px;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  line-height: 1;
  width: fit-content;
}

.c-lead-line-sp + .c-lead-line-sp {
  margin-top: 3px;
}

.c-lead-line-pc {
  display: inline-block;
}

.c-lead-line-sp {
  display: none;
}

.p-hrd-button {
    margin-top: 40px;
    margin-right: auto;
    border: 2px solid #E70013;
    border-radius: 8px;
    color: #E70013;
    width: 460px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    letter-spacing: -0.08em;
    text-decoration: none;
}

.c-media-grid img {
  height: 100%;
  object-fit: cover;
}

.concept-img-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
    .c-title-sub {
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
  .c-block {
    scroll-margin-top: 110px;
  }

  .s .c-block-title {
      flex-wrap: wrap;
      row-gap: 2px;
  }

  .c-lead-line {
    font-size: 24px;
    margin-top: 32px;
  }

  .c-lead-line-pc {
    display: none;
  }
  .c-lead-line-sp {
    display: inline-block;
  }
  .p-hrd-button {
    max-width: 322px;
    width: 100%;
    height: 40px;
    font-size: 16px;
    letter-spacing: -0.06em;
  }
  .concept-img-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 375px) {
  .p-hrd-button  {
    font-size: 4.267vw;
  }
}

/* アンカーリンク */

.anchor_box {
  position: absolute;
  top: 323px;
  right: 5vw;
}

.anchor_list {
  background: #272727;
  border-radius: 12px;
  padding: 0 18px;
  width: 188px;
}

.anchor_list li {
  border-bottom: #3c3c3c solid 1px;
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
}

.anchor_list li:last-child {
  border-bottom: none;
}

.anchor_list a {
  background: url(../../images/outline/arrow_anchor.webp) center right no-repeat;
  color: #fff;
  display: block;
  text-decoration: none;
  padding: 13px 0;
}

.s .anchor_box {
  position: static;
}

.s .anchor_list {
  margin: 35px auto 0;
}

/* concept */
@media screen and (max-width: 768px) {
  .s .concept-text {
    margin-top: 24px;
  }
}


/* purpose */
.purpose-text {
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .s .purpose-text {
    margin-top: 32px;
  }
}


/* Timeline */
.p-timeline {
  position: relative;
  padding: 11px 0 0 26px;
  margin-block: 50px 30px;
}

.p-timeline::before {
  content: '';
  position: absolute;
  left: calc(50% + 13px);
  top: 0;
  bottom: 0;
  width: 1px;
  height: 100%;
  background-image: repeating-linear-gradient(
    to bottom,
    #272727 0 4.4px,
    transparent 4.4px 8.8px
  );
  transform: translateX(-50%);
}

.p-timeline__item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.p-timeline__item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  width: 15px;
  height: 15px;
  background-color: #333;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.p-timeline__item:nth-child(odd) {
  align-items: flex-start;
  padding-right: 50%;
  margin-top: -135px;
}

.p-timeline__item:nth-child(even) {
  align-items: flex-end;
  padding-left: 50%;
  margin-top: -180px;
}

.p-timeline__item:nth-of-type(1) {
    margin-top: 0;
}

.p-timeline__date {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  letter-spacing: 0.06em;
 text-shadow:
    -1px -1px 0 #ccc,
     1px -1px 0 #ccc,
    -1px  1px 0 #ccc,
     1px  1px 0 #ccc;
}

.p-timeline__content {
    margin-top: 8px;
    display: grid;
}

.p-timeline__item:nth-child(odd) .p-timeline__date {
  margin-right: 40px;
}

.p-timeline__item:nth-child(even) .p-timeline__date {
  margin-left: 50px;
  text-align: left;
  width: 100%;
  padding-left: 50px;
}

.p-timeline__item:nth-child(even) .p-timeline__content {
    padding-left: 50px;
    width: 100%;
}

.p-timeline__label {
  display: inline-block;
  background: #FD0200;
  color: #fff;
  padding: 2px 8px;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.4;
  width: fit-content;
}

.p-timeline__title {
  display: inline-block;
  background: #FD0200;
  color: #fff;
  padding: 2px 8px;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  margin-top: 4px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  width: fit-content;
}

.p-timeline__text {
  font-size: 20px;
  font-weight: 500;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  line-height: 1.8;
  margin-top: 12px;
}

.p-timeline__img {
  width: 240px;
  max-width: 100%;
  margin-top: 24px;
}

.p-timeline__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.p-timeline__bottomText {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.5;
    padding-left: 64px;
}

.p-timeline__bottomLink {
    margin-top: 40px;
    padding: 36px 30px 36px 36px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background-image: url(../../images/sevensummits/bg-classroom.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 220px;
}

.p-timeline__bottomLinkText {
    font-size: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.5;
    color: #fff;
    height: 146px;
}

.c-block-link a {
  background: #FD0200 url(../../images/outline/arrow_link_white.webp) center right 20.51px no-repeat;
  border-radius: 999px;
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  height: 60px;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  width: 288px;
  margin-left: auto;
}

.s .c-block-link a {
  background-size: 16px;
  font-size: 10px;
  margin-left: 0;
  line-height: 40px;
  height: 40px;
  width: 178px;
}

@media screen and (max-width: 768px) {
    .p-timeline {
        margin-block: 32px 18px;
    }

  .p-timeline::before {
    left: 4px;
    transform: none;
  }

  .p-timeline__item {
    padding-left: 50px;
    padding-right: 0;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 54px;
  }

  .p-timeline__item::after {
    top: 6px;
    left: -22px;
    transform: translateX(-50%);
    width: 11px;
    height: 11px;
  }

  .p-timeline__item:nth-child(odd),
  .p-timeline__item:nth-child(even) {
    padding-inline: 0;
    margin-top: 0;
  }

  .p-timeline__item:nth-last-child(1) {
    margin-bottom: 0;
  }

  .p-timeline__item:nth-child(even) .p-timeline__content {
    padding-left: 0;
  }

  .p-timeline__label ,
  .p-timeline__title{
    font-size: 14px;
    padding: 2px;
    line-height: 1;
  }

  .p-timeline__title {
    margin-top: 3px;
  }

  .p-timeline__date {
    font-size: 14px
  }

  .p-timeline__item:nth-child(even) .p-timeline__date {
    padding-left: 0;
  }

  .p-timeline__text {
    font-size: 14px;
  }

  .p-timeline__img {
    margin-top: 14px;
  }

  .p-timeline__bottomText  {
    font-size: 14px;
    text-align: start;
    padding-left: 0;
  }

  .p-timeline__bottomLink {
    height: 278px;
    flex-wrap: wrap;
    padding: 30px 20px;
    background-image: url(../../images/sevensummits/bg-classroom_sp.png);
  }

  .p-timeline__bottomLinkText{
    font-size: 24px;
    line-height: 1.5;
  }

  .c-block-link {
    margin-left: auto;
  }
}