@charset "UTF-8";

.under_mv {
  background: url(../img/mv.png) no-repeat center;
  -webkit-background-size: cover;
  background-size: cover;
}

.selected_outer {
  position: relative;
  padding: 72px 0 132px;
}
.selected_inner {
  width: 90%;
  max-width: 1024px;
  margin: 0 auto;
}

.selected_category--outer {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
}
.selected_category {
  padding: 1em 1em 1.5em;
  &:last-of-type {
    margin-top: 64px;
  }
}
.selected_item {
  padding: 0 10px;
  background: #fff;
  @media screen and (max-width: 767px) {
    font-size: min(1.6rem, 4vw);
  }
}
.selected_radio[type="radio"] {
  margin-right: 6px;
  width: 16px;
  height: 16px;
  position: relative;
  top: 2px;
  & + label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
  }
  & + label[for="type1"] {
    margin-right: 28px;
  }
  @media screen and (max-width: 767px) {
    & + label[for="type1"] {
      margin-right: 24px;
    }
  }
}

.selected_radio[type="radio"]#type1 {
  margin-left: 24px;
  @media screen and (max-width: 767px) {
    margin-left: 10px;
  }
}

.selected_line {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
  &.dummy {display: none;}
  &:last-of-type {
    margin-bottom: 0;
  }
}
.selected_line--unit {
  min-width: 124px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 20px;
  margin-left: 24px;
  & + input {
    width: 64px;
    height: 28px;
    border: 1px solid #CBCBCB;
    margin-right: 8px;
  }
  @media screen and (max-width: 767px) {
    min-width: 104px;
  }
}


.selected_about {
  margin-top: 64px;
  p.bold {
    font-size: 2rem;
    margin-bottom: 10px;
  }
}
.selected_about--list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 144px;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    margin-bottom: 56px;
  }
}
.selected_about--txt {
  margin-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px 40px;
}
.selected_about--line {
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.selected_about--unit + input[type="text"] {
  width: 56px;
  height: 100%;
  background: #eee;
  border: 1px solid #CBCBCB;
  cursor: text;
  & + span {
    min-width: 26px;
  }
}

.selected_about--figure {display: none;}
.selected_about--figure.visible {
  position: relative;
  display: block;
  picture {display: none;}
  picture.visible-sub {display: block;}
}

.selected_about--num {
  position: absolute;
  color: #000;
  font-size: 1.6rem;
  min-width: 28px;
  text-align: center;
  &.num_right:nth-of-type(1) {
    bottom: 172px;
    right: 44px;
  }
  &.num_right:nth-of-type(2) {
    top: 0px;
    right: 288px;
  }
  &.num_right:nth-of-type(3) {
    top: 216px;
    right: 58px;
  }

  &.num_left:nth-of-type(1) {
    bottom: 180px;
    right: 49px;
  }
  &.num_left:nth-of-type(2) {
    top: -1px;
    left: 257px;
  }
  &.num_left:nth-of-type(3) {
    top: 94px;
    right: 50px;
  }

  @media screen and (max-width: 767px) {
    display: none;
  }
}


.selected_btn--list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  /* margin-bottom: 104px; */
  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
    gap: 20px;
    /* margin-bottom: 88px; */
  }
}
.selected_btn--list input[type="submit"] {
  padding: 0;
  width: 150px;
  height: 70px;
  color: #fff;
  margin: 0;
  background: #EB5C02;
  border-radius: 5px;
  border: none;
  font-size: 1em;
  cursor: pointer;
  &:hover {opacity: 0.8;}
  @media screen and (max-width: 767px) {
    width: calc(50% - 10px);
    max-width: 150px;
  }
}
.selected_btn--list input[type="reset"] {
  padding: 0;
  width: 150px;
  height: 70px;
  color: #fff;
  margin: 0;
  background: #CBCBCB;
  border-radius: 5px;
  border: none;
  font-size: 1em;
  cursor: pointer;
  &:hover {opacity: 0.8;}
  @media screen and (max-width: 767px) {
    width: calc(50% - 10px);
    max-width: 150px;
  }
}


.selected_result {
  margin-top: 104px;
  @media screen and (max-width: 767px) {
    margin-top: 88px;
  }
}
.selected_result--ttl {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 32px;
}
.selected_result--influential,
.selected_result--others {
  p.bold {
    font-size: 2rem;
    margin-bottom: 20px;
  }
}
.selected_result--others {
  margin-top: 40px;
  &.first-of-type {
    margin-top: 0;
  }
}
.selected_result--list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  a {
    width: calc(25% - 15px);
    max-width: 240px;
    border-radius: 50px;
    text-align: center;
    padding: 6px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  @media screen and (max-width: 767px) {
    gap: 12px;
    a {
      width: calc(50% - 6px);
    }
  }
}
.selected_result--influential .selected_result--list {
  background: #f8d5c0;
  border-radius: 20px;
  margin-bottom: 40px;
  padding: 40px 104px;
  a {
    background: #fff;
    color: #000;
  }
  @media screen and (max-width: 767px) {
    padding: 40px 5%;
  }
}
.selected_result--others .selected_result--list {
  /* width: 90%; */
  margin: 0 104px;
  a {
    background: #f8d5c0;
    color: #000;
  }
  @media screen and (max-width: 767px) {
    margin: 0 5%;
  }
}

.error-message {
  margin: 20px 0px;
  color: red;
  font-weight: bold;
  background-color: #eeeeee;
  border: 1px solid gray;
  padding: 10px;
}
