@font-face {
  font-family: "use-NotoSansJP";
  font-style: normal;
  font-weight: normal;
  src: url("../font/NotoSansJP-Regular.woff") format("woff"),
    url("../font/NotoSansJP-Regular.woff2") format("woff2"),
    url("../font/NotoSansJP-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "use-NotoSansJP";
  font-style: normal;
  font-weight: bold;
  src: url("../font/NotoSansJP-Bold.woff") format("woff"),
    url("../font/NotoSansJP-Bold.woff2") format("woff2"),
    url("../font/NotoSansJP-Bold.ttf") format("truetype");
}

html {
  scroll-behavior: smooth;
}

:root {
  --main-color: #EE9588;
  --backcolor: #F4EDE8;
  --text-color: #545454;
  --text-border: linear-gradient(var(--main-color), #FAB788);
  --premium-color: #E27F37;
  --basic-color: #EEB082;
  --trial-color: #C8C2BD;
  --table-gray: #EBEBEB;
}
body {
  color: var(--text-color);
  font-family: "use-NotoSansJP";
}
header {
  height: 60px;
  position: fixed;
  display: flex; 
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin: 0;
  z-index: calc(infinity);
  background-color: #fff;
  left: 0;
  top: 0;
  right: 0;
}
.header-logo {
  height: min(2.8vw, 40px);
  width: auto;
}
.header-item {
  display: flex;
  gap: 20px;
}
.header-button {
  font-size: 8px;
}
.hamburger {
  display: none;
}
.hamburger-button {
  list-style: none;
  position: relative;
  width: 100%;
  height: 100%;
}
.hamburger-button::-webkit-details-marker {
  display: none;
}
.hamburger-button::before {
  content: '';
  top: 14px;
  left: 10px;
  right: 10px;
  width: 20px;
  height: 2px;
  position: absolute;
  background: #000;
  border-radius: 2px;
}
.hamburger-button::after {
  content: '';
  top: 22px;
  left: 10px;
  right: 10px;
  width: 20px;
  height: 2px;
  position: absolute;
  background: #000;
  border-radius: 2px;
}
.hamburger[open] > .hamburger-button::before {
  top: calc((40px / 2) - (3px / 2));
  transform: rotate(20deg);
}
.hamburger[open] > .hamburger-button::after {
  top: calc((40px / 2) - (3px / 2));
  transform: rotate(-20deg);
}

.navigation {
  display: flex;
  list-style: none;
  gap: 1em;
  padding: 0;
}
.navigation-link {
  text-decoration: none;
  color: var(--main-color);
  font-weight: bold;
  display: block;
  width: 100%;
}

.sp-nav-back {
  background-color: #00000048;
  position: absolute;
  width: 100%;
  height: calc(100vh - 60px);
  top: 60px;
  left: 0;
  right: 0;
}
.sp-nav {
  position: absolute;
  top: 60px;
  left: auto;
  right: 0;
  width: 80%;
  height: calc(100vh - 60px);
  background-color: #fff;
  cursor: default;
}
.sp-navigation {
  list-style: none;
  flex-direction: column;
  width: fit-content;
  margin: 20px auto;
  padding: 0;
  font-size: 1.6em;
}
.sp-navigation-item {
  margin-bottom: 1em;
}

.firstview {
  margin-top: 60px;
}
.firstview-img {
  width: 100%;
  height: auto;
}

.lead-container {
  margin: 10% auto -4px;
  padding: 0 20px;
  max-width: 1000px;
}
.lead-flex {
  display: flex;
}
.lead {
  width: 50%;
  height: fit-content;
  align-self: center;
  margin-bottom: 0.8em;
}
.lead-item {
  font-size: min(3.4vw, 2em);
}
.lead-img-wrap {
  width: 50%;
  align-self: end;
}
.lead-division {
  border: 1px solid var(--table-gray);
  margin: 8% 0;
}
.lead-img {
  width: 100%;
  height: auto;
}
.lead-text {
  color: #082D5D;
  font-size: min(1em, 3vw);
}

section {
  padding: 4px 0;
}
.white-text {
  color: #ffffff;
}
h1 {
  font-size: 2rem;
}
.title {
  font-size: 3rem;
  word-break: keep-all;
  white-space: pre-wrap;
  margin-top: 100px;
}
.nob {
  white-space: pre-wrap;
  word-break: keep-all;
}

.logo {
  margin-left: 10%;
}
.logo-img {
  width: auto;
  height: 256px;
}

.text-center {
  text-align: center;
}

.contact {
  width: 100%;
}
.contact-container {
  margin: auto;
  padding: 10px;
  text-align: center;
}
.contact-button {
  position: relative;
  display: block;
  margin: auto;
  background: linear-gradient(var(--main-color), #ED8153);
  width: fit-content;
  padding: 1em 5em 1em 3em;
  border-radius: 100px;
  box-shadow: 6px 6px 8px #00000048;
  text-decoration: none;
  color: #ffffff;
  font-size: min(1.4em, 4vw);
}
.contact-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: auto;
  right: 3em;
  transform: translateY(-50%);
  border: min(0.4em, 1.4vw) solid transparent;
  border-left: min(0.6em, 2.1vw) solid #ffffff;
}

.container {
  padding-bottom: 100px;
  margin: auto;
  width: fit-content;
}

.gradation-text {
  background: linear-gradient(#FFC888, #E98787);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.colored-sect {
  background-color: var(--backcolor);
}

.sect-title {
  text-align: center;
  font-size: 2em;
  margin-top: 100px;
}
.sect-title::after {
  content: "";
  width: 40px;
  height: 3px;
  display: block;
  background: var(--text-border);
  margin: 10px auto 40px;
}

.question-sect {
  text-align: center;
  padding-bottom: 8em;
  position: relative;
  margin-bottom: 12vw;
}
.question-sect::after {
  content: "";
  display: block;
  width: 100%;
  height: 12vw;
  background:
    linear-gradient(to bottom left, var(--backcolor) 50%, transparent 50%) no-repeat top left / 50% 100%,
    linear-gradient(to bottom right, var(--backcolor) 50%, transparent 50%) no-repeat top right / 50% 100%;
  position: absolute;
  top: 100%;
}

.sect-lead {
  font-weight: bold;
  white-space: pre-wrap;
  word-break: keep-all;
}

.question-list {
  display: flex;
  list-style: none;
  padding: 3em 0;
  margin-left: calc((100% - 800px) / 5);
  margin-right: calc((100% - 800px) / 5);
  justify-content: space-around;
}

.question-img {
  width: 100%;
  height: auto;
  min-width: 200px;
  max-width: 256px;
  margin: auto;
}

.concluding {
  font-weight: bold;
  font-size: 1.4em;
  white-space: pre-wrap;
  word-break: keep-all;
}

.reason {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.reason:nth-of-type(even) {
  flex-direction: row-reverse;
}

.reason-text {
  width: 46%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6em;
}

.achievement-list {
  list-style: none;
  display: grid;
  column-gap: 32px;
  row-gap: 24px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0;
  width: fit-content;
  margin: auto;
}

.card {
  background-color: #ffffff;
  border-radius: 20px;
  width: 220px;
  height: 220px;
  box-shadow: 0 0 10px #6F6F6F79;
}

.card-title {
  padding-top: 1.4em;
  text-align: center;
}

.card-img {
  margin: 1em auto;
  width: 50%;
  height: auto;
}

.achievement-data-wrap {
  margin: auto;
  padding: 5em 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 600px;
  column-gap: 16%;
  row-gap: 5em;
}

.head-border {
  position: relative;
  width: fit-content;
}
.head-border::after {
  content: "";
  display: block;
  margin-top: 4px;
  width: 100%;
  height: 3px;
  background: var(--text-border);
}

.data-list {
  margin-top: 2em;
  padding-left: 1em;
}

.contact-wrapper {
  padding-top: 4em;
  padding-bottom: 4em;
}


.price-wrapper {
  width: fit-content;
  margin: auto;
  margin-bottom: 100px;
  overflow: hidden;
}
.pricelist {
  margin: auto;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  padding-bottom: 4px;
}
.pricelist-caption {
  padding-bottom: 4em;
}

.table-head {
  padding-top: 0.5em;
  font-size: 1.6rem;
  min-width: 220px;
  line-height: 0.8em;
  color: #ffffff;
  position: relative;
}
.table-head .ruby {
  font-size: 0.6rem;
}
.table-head:nth-of-type(1) {
  background-color: var(--premium-color);
}
.table-head:nth-of-type(2) {
  background-color: var(--basic-color);
}
.table-head:nth-of-type(3) {
  background-color: var(--trial-color);
}
.table-head:nth-of-type(1)::after {
  content: "";
  display: block;
  width: calc(100% + 1px);
  height: calc(100% + 2px + 1em);
  position: absolute;
  top: -1em;
  left: -1px;
  right: 0;
  bottom: 0;
  border-top: 1em solid var(--premium-color);
  border-bottom: 4px solid var(--premium-color);
  border-left: 4px solid var(--premium-color);
  border-right: 4px solid var(--premium-color);
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  pointer-events: none;
}
.table-head:nth-of-type(1)::before {
  content: "";
  display: block;
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  margin: auto;
  width: auto;
  height: 38px;
  font-size: 10px;
  background: url(../img/crown.png) no-repeat;
  background-position: center;
  background-size: contain;
  color: var(--premium-color);
  z-index: 1;
}
.recommend {
  position: absolute;
  font-size: 10px;
  top: -60px;
  left: 0;
  right: 0;
  color: var(--premium-color);
}

.row-head {
  background-color: var(--table-gray);
  font-weight: normal;
  padding: 0.2em 2em;
  border: 1.5px solid #ffffff;
}

.cell-premium {
  color: var(--premium-color);
  font-weight: bold;
  border: 2px solid var(--table-gray);
  position: relative;
}
.cell-premium::after {
  content: "";
  display: block;
  width: calc(100% + 3px);
  height: calc(100% + 2px);
  position: absolute;
  top: 0;
  left: -2px;
  right: 0;
  bottom: 0;
  border-left: 4px solid var(--premium-color);
  border-right: 4px solid var(--premium-color);
  pointer-events: none;
}
.cell-basic {
  color: var(--basic-color);
  font-weight: bold;
  border: 2px solid var(--table-gray);
}
.cell-trial {
  color: var(--trial-color);
  font-weight: bold;
  border: 2px solid var(--table-gray);
}
tr:last-of-type .cell-premium::after {
  height: calc(100% + 4px);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: 4px solid var(--premium-color);
}

.price-cell {
  margin: 0;
  font-size: 0.8em;
}
.pricelist-tr:nth-of-type(-n+4) .price-cell {
  font-size: 2em;
  font-weight: bold;
  height: 2.4em;
}
.pricelist-tr:first-of-type .price-cell {
  font-size: 2.8em;
  font-weight: bold;
  height: 2.4em;
}

.unit {
  color: var(--text-color);
  font-weight: normal;
  font-size: 1rem;
}

.flex {
  display: flex;
}

.other {
  width: 100%;
}
.other + .other {
  margin-left: 30px;
}
.other-wrapper {
  margin-top: 5em;
}
.other-dl {
  margin-top: 2px;
  width: fit-content;
}
.other-flex {
  display: flex;
  width: fit-content;
}

.gradation-head {
  background: linear-gradient(#FFC888, #E98787);
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: center;
  width: 180px;
  color: #ffffff;
  border-radius: 6px;
}

.other-title,
.other-data {
  width: 190px;
  text-align: center;
  border-bottom: 1px solid var(--table-gray);
  line-height: 2rem;
}
.other-flex:first-of-type .other-title,
.other-flex:first-of-type .other-data {
  border-top: 1px solid var(--table-gray);
}

.other-title {
  font-size: 1rem;
}
.other-data {
  font-size: 0.8em;
}

.flow-list {
  list-style-type: none;
  counter-reset: number;
  padding: 0;
  position: relative;
  width: 560px;
  margin: auto;
  padding-top: 2em;
}
.flow-list::before {
  content: "";
  display: block;
  width: 2px;
  height: calc(100% - 8em);
  background-color: var(--main-color);
  position: absolute;
  left: 21px;
}

.flow {
  position: relative;
  padding-left: 60px;
  height: 8em;
}
.flow-list > .flow::before {
  position: absolute;
  counter-increment: number;
  content: counter(number);
  display: inline-block;
  background: var(--main-color);
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  left: 0;
  width: 2.2em;
  height: 2.2em;
  line-height: 2.2em;
  text-align: center;
  top: -0.6em;
}

.flow-lead {
  margin-bottom: 8px;
  white-space: pre-wrap;
  word-break: keep-all;
}


.faq-wrapper {
  width: fit-content;
  margin: auto;
}
.faq {
  padding: 1em 1em 0;
  border: 1px solid var(--table-gray);
  border-radius: 8px;
  margin-bottom: 3em;
  box-shadow: 0 4px 0 var(--table-gray);
}
.faq-q {
  list-style: none;
  padding-left: 3.4rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  position: relative;
  line-height: 2.4rem;
}
.faq-q::marker,
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q::before {
  content: "Q";
  display: block;
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  left: 0;
  background-color: var(--main-color);
  border-radius: 4px;
  text-align: center;
  line-height: 2.4rem;
  color: #ffffff;
  font-size: 1.4em;
}
.faq-q::after {
  content: "";
  display: block;
  width: 1.2em;
  height: 0.6em;
  background-color: var(--text-color);
  position: absolute;
  right: 0;
  top: 1em;
}
.faq-q::after {
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.faq[open] .faq-q::after {
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.faq-a {
  border-top: 1px solid var(--table-gray);
  padding: 1em 0;
}

footer {
  position: relative;
  text-align: center;
  color: #ffffff;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #F59191 81.77%);
}
.copy {
  position: absolute;
  bottom: 3em;
  left: 0;
  right: 0;
}

@media screen and (max-width: 800px) {
  .first-view {
    height: auto;
  }
  .inner-header {
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }
  .logo {
    margin: 3em 0;
  }
  .title {
    font-size: 5.4vw;
  }
  .sect-title {
    font-size: 6vw;
  }
  .question-list {
    flex-direction: column;
    margin: auto;
  }
  .question-img-wrap {
    /* width: fit-content; */
    margin-left: 5%;
    margin-right: 30%;
  }
  .question-img-wrap:nth-of-type(even) {
    margin-left: 30%;
    margin-right: 5%;
  }
  .reason {
    flex-direction: column;
    margin-top: 6em;
  }
  .reason:nth-of-type(even) {
    flex-direction: column;
  }
  .reason-img {
    width: 50%;
    max-width: 300px;
    height: auto;
    margin: auto;
  }
  .reason-text {
    width: 80%;
    margin: auto;
  }
  .reason-title {
    text-align: center;
  }
  .achievement-list {
    grid-template-columns: 1fr 1fr;
  }
  .card {
    width: 40vw;
    height: 40vw;
  }
  .card-title {
    font-size: 3vw;
  }
  .achievement-data-wrap {
    display: block;
    width: 100%;
  }
  .achievement-data {
    width: 250px;
    margin: auto;
  }
  .achievement-data + .achievement-data {
    margin-top: 5em;
  }
  .head-border {
    margin: auto;
  }
  .pricelist {
    width: 96%;
    display: block;
    overflow: scroll;
    padding-top: calc(260px + 6vw);
  }
  .pricelist-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  .price-wrapper {
    width: 100%;
    position: relative;
  }
  .pricelist-tr {
    position: relative;
  }
  .row-head {
    min-width: 130px;
    padding: 0.2em 1em;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 20;
  }
  .row-head::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 1px);
    height: calc(100% + 2px);
    border-top: 1.5px solid #ffffff;
    border-left: 1.5px solid #ffffff;
    border-bottom: 1.5px solid #ffffff;
  }
  .pricelist-tr:last-of-type .row-head::before {
    height: calc(100% + 5px);
    border-bottom: 4px solid #ffffff;
  }
  .flex {
    flex-direction: column;
  }
  .other {
    width: fit-content;
  }
  .other + .other {
    margin: 5em 0 0;
  }
  .other-title,
  .other-data {
    width: 40vw;
    max-width: 190px;
  }
  .other-wrapper {
    margin-left: auto;
    margin-right: auto;
    padding: 0 4%;
    width: fit-content;
  }
  .flow {
    height: auto;
  }
  .flow:last-of-type {
    height: 8em;
  }
  .flow + .flow {
    margin-top: 40px;
  }
  .flow-list {
    width: 86%;
    max-width: 560px;
  }
  .faq-wrapper {
    padding: 0 4%;
  }
  .header-item {
    display: none;
  }
  .hamburger {
    width:40px;
    height:40px;
    background:#ddd;
    border-radius: 4px;
    top:20px;
    right:20px;
    cursor: pointer;
    list-style: none;

    display:flex;
    align-items: flex-end;
    justify-content: center;
  }
  header {
    justify-content: space-between;
    padding: 0 6%;
  }
  .header-button {
    font-size: inherit;
  }
  .header-logo {
    height: 40px;
  }
}