@charset 'utf-8';

section {
  max-width: 1440px;
}
.catch {
  height: 45vw;
  margin-bottom: 4rem;
  background-size: cover;
  background-position: right;
}
.catch {
  height: 45vw;
  max-width: 1600px;
  margin: auto;
}
.catch .over-ray {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8vw;
  width: 29vw;
  height: 100%;
  padding-left: 7vw;
  background-color: #f2f2f2;
}
.catch .over-ray img {
  width: 17vw;
}
.catch .over-ray p {
  display: inline-block;
  color: white;
  font-size: 2vw;
  width: 16em;
  line-height: 1.5;
  padding: 0.6em 1em;
  border-radius: 0.5rem;
  background-color: #39c578;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}
.allto .over-ray {
  background-color: rgba(0, 0, 0, 0.7);
}
.allto .over-ray p {
  color: #1f1f1f;
  font-size: 1.5vw;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.8);
}

.allto .item-top {
  justify-content: space-between;
  align-items: flex-start;
}

.allto .item-preview {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 45%;
}
.allto .item-preview .preview-abst {
  width: 20rem;
  text-align: left;
}
.allto .item-preview .preview-abst img {
  max-width: 90%;
  margin: 0 auto 2rem;
}
.allto .item-preview .preview-abst p {
  padding-top: 0.5rem;
  border-top: 1px solid #1f1f1f;
}

@media screen and (max-width: 1000px) {
  .allto .item-top{
    display: block;
  }
  .allto .item-preview{
    display: block;
    width: 90%;
    margin: 3rem auto;
  }
  .allto .item-preview .preview-abst {
    margin: auto;
  }
}

.series img {
  width: 100%;
}
.point {
  width: fit-content;
}
.point div {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2em;
}
.merit div {
  margin-bottom: 0.5em;
}
.flow div {
  align-items: center;
  margin-bottom: 0;
}
.point img {
  width: 2.5em;
  margin-right: 1em;
}
.merit img {
  width: 2rem;
}
.point p {
  font-size: 0.9rem;
  padding-top: 0.1em;
}
.point p span {
  font-size: 1.6em;
  font-weight: bold;
}
.merit p span {
  display: inline-block;
  margin-top: 0.4em;
  color: #39c578;
}
.merit .point > p {
  margin-left: 3.5em;
  margin-bottom: 3em;
}
.flow > p {
  margin-left: 3.8em;
  margin-bottom: 3em;
}
.flow .flow-no {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  width: 2em;
  height: 2em;
  margin-right: 0.6em;
  border-radius: 50%;
  background-color: #39c578;
}
#main .flow {
  margin-bottom: 0;
}

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#main .inner .qa-wrapper {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 10%);
  margin: 2rem auto;
}
.qa-wrapper > * {
  position: relative;
  padding: 2rem;
  overflow: hidden;
}
.qa-wrapper p {
  position: relative;
  z-index: 1;
}
.qa-wrapper .question {
  background-color: rgb(246, 252, 255);
}
.qa-wrapper .answer {
  background-color: rgb(255, 246, 246);
}
.qa-wrapper .question::before {
  content: "Q";
}
.qa-wrapper .answer::before {
  content: "A";
}
.qa-wrapper > *::before {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 5rem;
  font-weight: bold;
  color: white;
  z-index: -1;
  opacity: 0.6;
}

.hikaku table {
  width: 100%;
  margin-top: 0 !important;
}
.hikaku table tr {
  border-bottom: 1px solid #39c578;
}
.hikaku table th,
.hikaku table td {
  padding: 1rem 0;
  vertical-align: middle;
  text-align: center;
}
.hikaku table th {
  color: #555;
}
.hikaku .st {
  color: #39c578;
  font-weight: bold;
}

#main .case .inner h3 {
  font-weight: bold;
  width: 95%;
  margin-bottom: 1rem;
}
#main .case .inner .case-wrapper {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}
.case-wrapper img {
  display: block;
  width: 90%;
  margin: auto;
}
.case-wrapper .before,
.case-wrapper .after {
  position: relative;
}
.case-wrapper .before::before,
.case-wrapper .after::before {
  font-size: 0.9em;
  font-weight: bold;
  position: absolute;
  top: 1em;
  left: 8%;
  padding: 0.5em 1em;
  border-radius: 5em;
}
.case-wrapper .before::before {
  content: "Before";
  color: white;
  background-color: #aaa;
}
.case-wrapper .after::before {
  content: "After";
  color: white;
  background-color: #39c578;
}

.how {
  width: fit-content;
  line-height: 1.5;
}
.how .flex {
  flex-direction: column;
}
h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  margin: 4rem auto 1rem !important;
  padding: 0.4em 0.4em 0.2em;
  background-color: #39c578;
}
.how .point img {
  width: 100%;
  max-width: 500px;
  margin-bottom: 3rem;
  margin-right: 0;
}
.how .point > p {
  margin-bottom: 0.5rem;
}
.point .cat {
  font-size: 0.8em;
  color: #39c578;
  border: 1px solid #39c578;
  margin-right: 0.3rem;
  padding: 0.1rem 0.2rem 0;
}


.product-img {
  align-items: flex-start;
  justify-content: space-between;
}

.checkpoint {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.checkpoint div{
  background-image: url(../../img/check.svg);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 2.5rem;
  padding-left: 3.3rem;
  width: 48%;
  margin-bottom: 2rem;
  line-height: 1.5rem;
}
.checkpoint div span{
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 2.8rem;
}


.merit-detail {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.merit-detail div{
  background-image: url(../../img/thumbup.svg);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 2.5rem;
  padding-left: 3.3rem;
  width: 48%;
  margin-bottom: 2rem;
  line-height: 1.5rem;
}
.merit-detail div span{
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  line-height: 2rem;
}

.how .inner {
  display: flex;
  justify-content: space-between;
}
.how .inner > div.how-item {
  width: 48%;
  margin: 0 !important;
}
.how .inner div.how-item .flex .point {
  width: 100%;
}
.how .inner > div.how-item .flex {
  align-items: flex-start;
  padding: 1rem;
}
.how .inner > div.how-item > p {
  padding: 1rem;
}
.how .inner > div.how-item .flex div + div::before {
  content: "▼";
  text-align: center;
  display: block;
  color: #39c578;
  font-size: 2rem;
}
.flow-section .flow.point div + p::after {
  content: "▼";
  text-align: center;
  display: block;
  color: #39c578;
  font-size: 2rem;
  padding-top: 1rem;
}
.flow-section .flow.point p:last-child::after {
  content: "";
}
.flow-section .flow > p {
  margin-bottom: 1rem;
}

@media screen and (max-width: 1000px) {
  .flex > * {
    width: auto;
    text-align: center;
    margin-bottom: 2rem;
  }
  .catch {
    height: 50vw;
  }
  .checkpoint {
    display: block;
  }
  .checkpoint div {
    width: 100%;
  }
  .checkpoint div span {
    font-size: 1.2rem;
  }
  .merit-detail {
    display: block;
  }
  .merit-detail div {
    width: 100%;
  }
  .how .inner {
    display: block;
  }
  .how .inner > div.how-item {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .catch {
    height: 60vw;
  }
  .catch .over-ray p {
    font-size: 3vw;
    width: 15em;
    line-height: 1.5;
    padding: 0.4em 0.8em;
  }
  .catch .over-ray {
    padding-left: 3vw;
  }
  .case-wrapper .before::before, .case-wrapper .after::before {
    font-size: 0.8em;
    top: 0.5em;
    left: 5%;
    padding: 0.3em 0.6em;
    border-radius: 5em;
}
}
