/* Menu-lifestage */

.Menu-lifestage {
  background-color: #fefde7;
}

.Menu-lifestage__ttl {
  padding: 48px 0 40px;
  font-size: 36px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0;
}

.Menu-lifestage-list {
  display: flex;
  flex-flow: wrap;
  gap: 12px;
  justify-content: space-between;
}

.Menu-lifestage-list-item-heading__label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 198px;
  height: 72px;
  padding: 20px;
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  color: #3d3d3d;
  letter-spacing: 0;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #9bb945;
  border-radius: 8px;
  box-shadow: 0 3px 6px 0 #00000014;
}

.Menu-lifestage-list-item:nth-child(3)
  .Menu-lifestage-list-item-heading__label {
  padding: 20px 30px 20px 15px;
}

.Menu-lifestage-list-item:nth-child(4) .Menu-lifestage-list-item-heading__label,
.Menu-lifestage-list-item:nth-child(5)
  .Menu-lifestage-list-item-heading__label {
  padding: 20px 30px 20px 10px;
}

.Menu-lifestage-list-item-heading__label::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 0;
  height: 0;
  content: '';
  border-top: 6px solid #8fb130;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  transform: translateY(-50%);
}

.Card-life__check--type01:checked
  ~ .Menu-lifestage
  .Menu-lifestage-list-item-heading__label--type01,
.Card-life__check--type02:checked
  ~ .Menu-lifestage
  .Menu-lifestage-list-item-heading__label--type02,
.Card-life__check--type03:checked
  ~ .Menu-lifestage
  .Menu-lifestage-list-item-heading__label--type03,
.Card-life__check--type04:checked
  ~ .Menu-lifestage
  .Menu-lifestage-list-item-heading__label--type04,
.Card-life__check--type05:checked
  ~ .Menu-lifestage
  .Menu-lifestage-list-item-heading__label--type05 {
  background-color: #e9efd6;
}

.Menu-lifestage__arw {
  width: 0;
  height: 0;
  margin: 16px auto 0;
  border-color: #f9581b transparent;
  border-style: solid;
  border-width: 30px 65px 0;
}

@media screen and (max-width: 768px) {
  .Menu-lifestage .l-base {
    padding-bottom: 16px;
  }

  .Menu-lifestage__ttl {
    padding: 24px 0 16px;
    margin-bottom: 0;
    font-size: 20px;
  }

  .Menu-lifestage-list {
    flex-direction: column;
  }

  .Menu-lifestage-list-item-heading {
    width: 100%;
  }

  .Menu-lifestage-list-item-heading:last-child {
    margin-bottom: 0;
  }

  .Menu-lifestage-list-item-heading__label {
    width: 100%;
    height: 50px;
    font-size: 16px;
  }

  .Card-life__check--type01:checked
    ~ .Page-head
    .Menu-lifestage-list-item-heading__label--type01,
  .Card-life__check--type02:checked
    ~ .Page-head
    .Menu-lifestage-list-item-heading__label--type02,
  .Card-life__check--type03:checked
    ~ .Page-head
    .Menu-lifestage-list-item-heading__label--type03,
  .Card-life__check--type04:checked
    ~ .Page-head
    .Menu-lifestage-list-item-heading__label--type04,
  .Card-life__check--type05:checked
    ~ .Page-head
    .Menu-lifestage-list-item-heading__label--type05 {
    background-color: #e9efd6;
  }
}

/* END: Menu-lifestage */

/* Lifestage */

.Lifestage-content-cate {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 0 16px;
  margin-top: 40px;
  border-bottom: 4px solid #28aae3;
}

.Lifestage-content-cate-item {
  flex: 1;
  text-align: center;
}

.Lifestage-content-cate-item__btn {
  display: block;
  width: 100%;
  height: 45px;
  padding: 5px 0;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.6;
  color: #333;
  letter-spacing: 0;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.Tab-themas {
  overflow: visible;
}

.Lifestage-content-cate-item__btn[data-state='true'] {
  height: 48px;
  padding: 8px 0;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.Lifestage-content-cate-item__btn--male[data-state='true'] {
  background: #28aae3;
  border: none;
}

.Lifestage-content-cate-item__btn--female[data-state='true'] {
  background: #eb5c90;
  border: none;
}

.Lifestage-content-example {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 56px;
  margin-bottom: 40px;
}

.Lifestage-content-example-item {
  width: calc((100% / 2) - 10px);
}

.Lifestage-content-example-item__ttl {
  padding: 4px 0;
  font-size: 22px;
  line-height: 1.6;
  color: #fff;
  text-align: center;
  letter-spacing: 0;
  border-radius: 12px 12px 0 0;
}

.Lifestage-content-example-item--medical
  .Lifestage-content-example-item__ttl::before {
  color: #f27b22;
}

.Lifestage-content-example-item--medical .Lifestage-content-example-item__ttl {
  background-color: #f27b22;
}

.Lifestage-content-example-item--disability
  .Lifestage-content-example-item__ttl::before {
  color: #1d59be;
}

.Lifestage-content-example-item--disability
  .Lifestage-content-example-item__ttl {
  background-color: #1d59be;
}

.Lifestage-content-example-item--life
  .Lifestage-content-example-item__ttl::before {
  color: #92b729;
}

.Lifestage-content-example-item--life .Lifestage-content-example-item__ttl {
  background-color: #92b729;
}

.Lifestage-content-example-item--cancer
  .Lifestage-content-example-item__ttl::before {
  color: #f93828;
}

.Lifestage-content-example-item--cancer .Lifestage-content-example-item__ttl {
  background-color: #f93828;
}

.Lifestage-content-example-item-inner {
  height: 100%;
  max-height: 137px;
  padding: 8px 0 24px;
  overflow: hidden;
  background: #fff;
  border: 2px solid;
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.Lifestage-content-example-item-inner__note {
  position: relative;
  margin: 3px auto 4px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #f05187;
  text-align: center;
}

.Lifestage-content-example-item-inner__note::before,
.Lifestage-content-example-item-inner__note::after {
  position: absolute;
  left: 50px;
  width: 1px;
  height: 100%;
  content: '';
  background: #f05187;
  transform: rotate(-12deg);
}

.Lifestage-content-example-item-inner__note::after {
  right: 50px;
  left: unset;
  transform: rotate(12deg);
}

.Lifestage-content-example-item-inner__txt {
  margin-bottom: 4px;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

.Lifestage-content-example-item-inner__note
  + .Lifestage-content-example-item-inner__txt {
  line-height: 1.3;
}

.Lifestage-content-example-item--life .Lifestage-content-example-item-inner {
  border-color: #92b729;
}

.Lifestage-content-example-item--cancer .Lifestage-content-example-item-inner {
  border-color: #f93828;
}

.Lifestage-content-example-item--disability
  .Lifestage-content-example-item-inner {
  border-color: #1d59be;
}

.Lifestage-content-example-item--medical .Lifestage-content-example-item-inner {
  border-color: #f27b22;
}

.Lifestage-content-example-item-inner-star {
  display: flex;
  align-items: center;
}

.Lifestage-content-example-item-inner-star__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 24px;
  margin-bottom: 0;
  text-align: center;
  background: #fff;
}

.Lifestage-content-example-item-inner-star__img img {
  width: 100%;
  max-width: 124px;
  height: auto;
  object-fit: contain;
}

.Lifestage-content-arw {
  width: 0;
  height: 0;
  margin: 40px auto;
  border-color: #f9581b transparent;
  border-style: solid;
  border-width: 50px 108px 0;
}

@media screen and (max-width: 768px) {
  .Lifestage-content-cate {
    max-width: 100%;
    margin: 0 auto;
  }

  .Lifestage-content-example {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin: 0;
  }

  .Lifestage-content-example-item {
    width: 100%;
  }

  .Lifestage-content-example-item-inner {
    max-height: 116px;
    padding: 8px 0 16px;
  }

  .Lifestage-content-example-item__ttl {
    font-size: 18px;
  }

  .Lifestage-content-example-item-inner__txt {
    font-size: 36px;
  }

  .Lifestage-content-example-item-inner__note {
    font-size: 14px;
  }

  .Lifestage-content-example-item-inner__note::before {
    left: 50%;
    transform: translateX(-105px) rotate(-12deg);
  }

  .Lifestage-content-example-item-inner__note::after {
    right: 50%;
    transform: translateX(105px) rotate(12deg);
  }

  .Lifestage-content-arw {
    width: 0;
    height: 0;
    margin: 16px auto;
    border-color: #f9581b transparent;
    border-style: solid;
    border-width: 30px 65px 0;
  }
}

/* END: Lifestage */
