@charset "UTF-8";
.lower-contents {
  padding-bottom: 0;
}
@media only screen and (max-width: 1200px) {
  .lower-contents {
    overflow: hidden;
  }
}
.manabu__nav {
  margin-top: 50px;
  margin-bottom: 150px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 10px;
}
@media only screen and (max-width: 767px) {
  .manabu__nav {
    margin-top: 40px;
    margin-bottom: 100px;
    grid-template-columns: none;
  }
}
.manabu__nav a {
  height: 100%;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: calc(28px + 20px);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  border-right: 1px solid #818181;
  border-bottom: 1px solid #818181;
  background-color: #fff;
  display: grid;
  gap: 15px;
  position: relative;
  transition: filter 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}
.manabu__nav a::before {
  content: '';
  width: 100%;
  height: 28px;
  background-color: #f2f2f2;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.manabu__nav a::after {
  content: '';
  width: 12px;
  height: 10px;
  margin: auto;
  background-color: #fec673;
  display: block;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc((28px - 10px) / 2);
}
.manabu__nav a .ttl {
  font-size: 1.25em;
  line-height: 1.3;
  display: block;
}
.manabu__nav a .ttl small {
  font-size: 0.75em;
}
.manabu__nav a .desc {
  font-size: 0.75em;
  font-weight: 400;
  display: block;
}
@media (hover: hover) {
  .manabu__nav a:hover,
  .manabu__nav a:focus {
    background-color: #f2f2f2;
  }
}
.manabu-block {
  margin-top: 150px;
}
@media only screen and (max-width: 767px) {
  .manabu-block {
    margin-top: 0;
  }
  .manabu-block:not(:last-child) {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 2px dotted #e5e5e5;
  }
}
.manabu-list {
  margin-top: 80px;
  display: grid;
  gap: 80px;
}
@media only screen and (max-width: 767px) {
  .manabu-list {
    gap: 100px;
  }
}
.manabu__footer {
  margin-top: 100px;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .manabu__footer {
    padding-top: 55px;
    padding-bottom: 90px;
  }
}
.manabu__footer::before {
  content: '';
  width: 100vw;
  height: 100%;
  background-color: #f2f2f2;
  display: block;
  position: absolute;
  right: -76px;
  top: 0;
}
@media only screen and (max-width: 1200px) {
  .manabu__footer::before {
    right: auto;
    left: calc(50% - 44px);
    translate: -50% 0;
  }
}
@media only screen and (max-width: 1100px) {
  .manabu__footer::before {
    right: -33px;
    left: auto;
    translate: 0;
  }
}
@media only screen and (max-width: 767px) {
  .manabu__footer::before {
    height: calc(100% - 14px);
    right: -27px;
  }
}
@media only screen and (max-width: 375px) {
  .manabu__footer::before {
    right: -11px;
  }
}
.manabu__footer ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.manabu__footer ul li {
  width: calc((100% - 40px) / 2);
  min-width: 400px;
}
@media only screen and (max-width: 767px) {
  .manabu__footer ul li {
    width: 100%;
    min-width: initial;
  }
}
.manabu__footer ul a {
  width: 100%;
  min-height: 84px;
  padding-top: 0.75em;
  padding-bottom: 0.75em;
  padding-left: calc(1em + 9px + 1em);
  padding-right: calc(1em + 9px + 1em);
  font-weight: 500;
  text-align: center;
  border: 1px solid #000;
  background-color: #fff;
  line-height: 1.5;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: filter 0.3 scubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}
@media only screen and (max-width: 767px) {
  .manabu__footer ul a {
    min-height: 70px;
    padding-left: 0.5em;
    padding-right: calc(0.5em + 9px + 1em);
  }
}
.manabu__footer ul a::after {
  content: '';
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: solid 2px #000;
  border-right: solid 2px #000;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.5em;
  rotate: 45deg;
}
@media only screen and (max-width: 767px) {
  .manabu__footer ul a::after {
    right: 1.25em;
  }
}
.manabu__footer ul a[data-type="prev"]::after {
  right: auto;
  left: 1.5em;
  scale: -1 -1;
}
.manabu__footer ul a[target="_blank"] {
  background-image: url("/assets/image/arrow-icon.svg");
  background-repeat: no-repeat;
  background-position: center right 1.5em;
  background-size: 0.6em;
}
.manabu__footer ul a[target="_blank"]::after {
  display: none;
}
@media (hover: hover) {
  .manabu__footer ul a:hover,
  .manabu__footer ul a:focus {
    filter: brightness(0.9);
  }
}
.cardManabu {
  display: flex;
  align-items: flex-start;
  gap: 20px 40px;
}
@media only screen and (max-width: 767px) {
  .cardManabu {
    flex-direction: column;
  }
}
.cardManabu__img {
  width: calc(100% / 2 - 40px);
  border-right: 2px solid #818181;
  border-bottom: 2px solid #818181;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .cardManabu__img {
    width: 100%;
    margin-right: 0;
  }
}
.cardManabu__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5/3;
}
.cardManabu__contents {
  flex: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 30px;
}
.cardManabu__target {
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-size: 0.875em;
  border-bottom: 1px solid #000;
  display: flex;
  align-items: center;
  gap: 5px 1em;
}
@media only screen and (max-width: 767px) {
  .cardManabu__target {
    margin-bottom: 15px;
  }
}
.cardManabu__target span.ico {
  width: 4.5em;
  height: 2em;
  color: #fff;
  text-align: center;
  line-height: 2;
  border-radius: 6px;
  background-color: #34b7fd;
}
.cardManabu__target span:not(.ico) {
  flex: 1;
  line-height: 1.3;
}
.cardManabu__ttl {
  width: 100%;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 500;
}
.cardManabu__ttl .small {
  font-size: 0.9em;
}
.cardManabu__tags {
  width: 100%;
  margin-bottom: 20px;
  font-size: 0.8em;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cardManabu__tags .tag {
  padding: 0.25em 1em;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 1em;
  background-color: #e5e5e5;
  display: inline-block;
}
.cardManabu__ttlSub {
  width: 100%;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 500;
}
.cardManabu__desc {
  width: 100%;
  line-height: 1.75;
}
.cardManabu__desc:not(:last-child) {
  margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
  .cardManabu__desc:not(:last-child) {
    margin-bottom: 10px;
  }
}
.cardManabu__places {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .cardManabu__places {
    width: 100%;
    padding-right: 0;
  }
}
.cardManabu__places .item {
  --tag-color: #c9eafc;
  height: 24px;
  padding-left: 1.5em;
  padding-right: 1em;
  font-size: 0.75em;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  border-radius: 0 3px 3px 0;
  background-image: linear-gradient(to right, transparent 0%, transparent 1em, var(--tag-color) 1em, var(--tag-color) 100%);
  display: inline-block;
  position: relative;
  z-index: 0;
}
.cardManabu__places .item::before {
  content: '';
  width: 2em;
  height: 100%;
  clip-path: polygon(0% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%);
  background-color: var(--tag-color);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.cardManabu__places .item::after {
  content: '';
  width: 4px;
  height: 4px;
  margin: auto;
  border-radius: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(1em - 4px);
  z-index: 1;
}
.cardManabu__places .item._gr {
  --tag-color: #cfe8c6;
}
.cardManabu__places .item._pp {
  --tag-color: #d8c6e8;
}
.cardManabu__places .item._rd {
  --tag-color: #e8c6d4;
}
.cardManabu__btn {
  max-width: 120px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  padding-bottom: 1em;
  font-size: 0.75em;
  font-weight: 500;
  background-image: linear-gradient(to bottom, transparent calc(100% - 1px), #000 calc(100% - 1px));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: background-size 0.3s ease-in-out;
}
@media only screen and (max-width: 767px) {
  .cardManabu__btn {
    margin-top: 15px;
    font-size: 1em;
  }
}
.cardManabu__btn::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 2px solid;
  border-right: 2px solid;
  display: inline-block;
  rotate: 45deg;
}
.cardManabu__btn[target="_blank"]::after {
  width: 9px;
  height: 9px;
  margin-top: 1px;
  border-top: none;
  border-right: none;
  background-image: url("/assets/image/arrow-icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  rotate: none;
}
@media (hover: hover) {
  .cardManabu__btn:hover,
  .cardManabu__btn:focus {
    background-size: 0 100%;
    background-position: right bottom;
  }
}
