@media screen and (min-width:767px) {
  .cv_p {
    width: 590px;
    box-shadow: 15px 20px 25px 5px #9c9c9c8c;
    border-radius: 5px;
  }

  .cv_p a.cv_btn {
    font-size: 1.75rem;
    padding: 15.2px 0;
  }

  p.kinousei_title {
    margin-top: 25px;
    font-size: 1.2rem;
  }

  section#sec2 {
    padding: 40px 0 70px;
  }

  p.reserch_text {
    width: 520px;
    font-size: 1.2rem;
    margin: 0 auto;
  }

  .red {
    width: 662px;
    margin: 0 auto;
    padding: 0;
    background: #EDF7F9;
    border-radius: 15px;
    box-shadow: 5px 5px 14px 2px #9c9c9c63;
  }

  .red details {
    width: 100%;
    border: none;
    color: #000;
    font-weight: bold;
    margin: 40px auto 0;
  }

  .red summary {
    padding: 35px;
  }

  summary:after {
    filter: invert(1);
    top: 40px;
    right: 80px;
  }

  section#qa summary:after {
    filter: unset;
  }

  details[open] summary:after {
    top: 38px;
  }

  .red.data2 summary {
    pointer-events: none;
  }

  .red.data2 summary:after {
    display: none;
  }

  .red_inner {
    padding: 40px 70px 70px;
    border-radius: 0 0 15px 15px;
  }

  .red_inner .text {
    font-weight: normal;
  }

  .red_inner .title {
    color: #000;
    font-size: 1.4rem;
    font-weight: normal;
    margin: 20px auto;
  }

  .red_inner .graph_title {
    font-size: 1.2rem;
    font-weight: bold;
    background-color: #D3ECF1;
    text-align: center;
    margin: 20px 0;
  }

  .red_inner .sup p {
    font-size: 1rem;
    font-weight: normal;
    margin: 30px 0 0;
  }

  .red_inner .text+picture {
    display: block;
    margin: 40px 0 0
  }

  .databox {
    box-shadow: 5px 5px 14px 2px #9c9c9c63;
    width: 662px;
    margin: 0 auto;
    padding: 0;
    border-radius: 15px;
  }

  .red.data2 {
    box-shadow: none;
    border-radius: 15px 15px 0 0;
  }

  .red.data2_detail {
    margin: 0;
    box-shadow: none;
    border-radius: 0 0 15px 15px;
  }

  .red.data2_detail {
    background: #fff;
  }

  .red.data2_detail details {
    margin: 0;
    font-size: 24px;
  }

  .red.data2_detail summary {
    padding: 10px 35px 70px;
    font-weight: normal;
  }

  .red.data2 .red_inner {
    border-radius: unset;
    padding: 40px 70px 0;
  }

  .red.data2_detail summary::before {
    content: "";
    background: #EAF8FB;
    width: 74px;
    height: 74px;
    border-radius: 50px;
    position: absolute;
    top: 14px;
    right: 40px;
  }

  .red.data2_detail .red_inner {
    padding-top: 0;
    margin-top: -10px;
  }

  .red.data2_detail .red_inner .colortext {
    font-size: 0.82rem;
    font-weight: normal;
  }

  .red.data2_detail .red_inner .colortext+p {
    font-size: 0.82rem;
    font-weight: normal;
    letter-spacing: -0.8px;
  }

  .red.data2_detail .red_inner .flex {
    margin: 20px auto 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }

  .red.data2_detail .red_inner .flex div {
    width: 48%;
  }

  .red.data2_detail .red_inner picture {
    margin: 30px auto;
  }

  section#qa {
    padding: 70px 0;
  }

  section#cv1-lc {
    padding-bottom: 70px;
  }

  ul.qa_list {
    width: 590px;
    margin: 30px auto 0;
  }

  ul.qa_list summary {
    font-size: 1rem;
    background: #E6003E;
  }

  ul.qa_list li details p {
    font-size: 0.8em;
    text-indent: -2em;
    padding-left: 3em;
  }

  ul.qa_list li details p+small {
    font-size: 0.6em;
  }

  ul.qa_list li details p span {
    color: #E6003E;
  }

  ul.qa_list li details p:before {
    color: #E6003E;
    margin-right: 0.4em;
  }

  .footer {
    margin: 0;
  }

  ul.qa_list summary:before {
    margin-right: 0.5em;
  }

  section#about a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 515px;
    height: 60px;
    margin: 30px auto 0;
    border: solid 1px #E6003E;
    border-radius: 5px;
    font-size: 1.2rem;
    text-decoration: none;
  }

  section#about a:hover {
    opacity: .8;
  }
}

@media screen and (max-width:766px) {
  section.cv_sec picture {
    display: block;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }

  .kinousei {
    margin-bottom: 0;
  }

  .cv_p {
    width: 87%;
    box-shadow: 5px 10px 15px 5px #9c9c9c8c;
    border-radius: 5px;
  }

  .cv_p a.cv_btn {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  p.kinousei_title {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  section#cv1-lc {
    padding-bottom: 40px;
  }

  section#sec2 {
    padding: 20px 0 40px;
  }

  p.reserch_text {
    width: 73.6%;
    font-size: 1rem;
    margin: 10px auto 0;
  }

  .red {
    width: 85.4%;
    margin: 0 auto;
    padding: 0;
    background: #EDF7F9;
    border-radius: 10px;
    box-shadow: 5px 5px 14px 2px #9c9c9c63;
  }

  .red details {
    width: 100%;
    border: none;
    color: #000;
    font-weight: bold;
    margin: 30px auto 0;
  }

  .red summary {
    padding: 28px 10px;
    font-size: 15px;
  }

  summary:after {
    filter: invert(1);
    top: 32px;
    right: 32px;
  }

  section#qa summary:after {
    filter: unset;
  }

  details[open] summary:after {
    top: 32px;
  }

  .red.data2 summary {
    pointer-events: none;
  }

  .red.data2 summary:after {
    display: none;
  }

  .red_inner {
    padding: 20px 20px 28px;
    border-radius: 0 0 10px 10px;
  }

  .red_inner .text {
    font-weight: normal;
  }

  .red_inner .title {
    color: #000;
    font-size: 1.1rem;
    font-weight: normal;
    margin: 20px auto 15px;
  }

  .red_inner .graph_title {
    font-size: 00.9rem;
    font-weight: normal;
    background-color: #D3ECF1;
    text-align: center;
    margin: 15px 0;
  }

  .red_inner .sup p {
    font-size: 0.6rem;
    font-weight: normal;
    margin: 15px 0 0;
  }

  .red_inner .text+picture {
    display: block;
    margin: 40px 0 0
  }

  .databox {
    box-shadow: 5px 5px 14px 2px #9c9c9c63;
    width: 85.4%;
    margin: 0 auto;
    padding: 0;
    border-radius: 10px;
  }

  .red.data2 {
    box-shadow: none;
    border-radius: 10px 10px 0 0;
    width: 100%;
  }

  .red.data2_detail {
    margin: 0;
    box-shadow: none;
    border-radius: 0 0 10px 10px;
    width: 100%;
  }

  .red.data2_detail {
    background: #fff;
  }

  .red.data2_detail details {
    margin: 0;
    font-size: 24px;
  }

  .red.data2_detail summary {
    padding: 10px 35px 28px;
    font-size: 18px;
    font-weight: normal;
  }

  .red.data2 .red_inner {
    border-radius: unset;
    padding: 40px 20px 0;
  }

  .red.data2_detail summary::before {
    content: "";
    background: #EAF8FB;
    width: 48px;
    height: 48px;
    border-radius: 50px;
    position: absolute;
    top: 28px;
    right: 8px;
  }

  .red.data2_detail summary::after {
    top: 44px;
  }

  .red.data2_detail .red_inner {
    padding-top: 0;
    margin-top: -10px;
  }

  .red.data2_detail .red_inner .colortext {
    font-size: 0.72rem;
    font-weight: normal;
  }

  .red.data2_detail .red_inner .colortext+p {
    font-size: 0.72rem;
    font-weight: normal;
    letter-spacing: -0.8px;
  }

  .red.data2_detail .red_inner .flex {
    margin: 20px auto 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px 10px;
  }

  .red.data2_detail .red_inner .flex div {
    width: 48%;
  }

  .red.data2_detail .red_inner picture {
    margin: 20px auto 15px;
  }

  section#about a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84%;
    height: 60px;
    color: #E6003E;
    margin: 20px auto 30px;
    border: solid 1px #E6003E;
    border-radius: 5px;
    font-size: 1.2rem;
    text-decoration: none;
  }

  section#qa>picture {
    display: block;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }

  ul.qa_list summary {
    background: #E6003E;
  }

  ul.qa_list li details p {
    text-indent: -3.5em;
    padding-left: 3.5em;
    font-size: 3.6vw;
  }

  ul.qa_list li details p:before,
  ul.qa_list li details p span {
    color: #E6003E;
  }

  ul.qa_list summary {
    font-size: 3.8vw;
  }

  ul.qa_list li details p:before {
    margin-right: 5vw;
    margin-left: 15px;
  }

  ul.qa_list summary:before {
    margin-left: 15px;
  }

  ul.qa_list li details p+small {
    padding-left: 4em;
    padding-right: 15px;
    font-size: 3vw;
  }

  ul.qa_list summary:before,
  ul.qa_list li details p:before {
    font-size: 20px;
  }
}