@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 15px;
  line-height: 1.8;
  font-family: "M PLUS 1p", sans-serif;
}

h1 {
  font-size: 2em;
  margin-bottom: 50px;
}

h2 {
  text-align: center;
  margin: 100px 0 50px;
  color: #d8354f;
  img {
    margin: -5px 10px 0 0;
  }
}

h3 {
  margin-bottom: 20px;
}

.center {
  text-align: center;
}

.pink {
  color: #eb748e;
}

a:hover {
  opacity: .5;
}

section {
  padding: 100px 0;
}

img {
  vertical-align: middle;
  max-width: 100%;
}

.mb20 {
  margin-bottom: 20px;
}

#top {
  background: url(img/top.png);
  background-repeat: no-repeat;
  background-size: 100% contain;
  background-position: center;
  height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: -2;
  &:after {
    position: absolute;
    content: "";
    background: rgba(0, 0, 0, .7);
    height: 100%;
    width: 100%;
    z-index: -1;
  }
  .catch {
    width: 800px;
    max-width: 100%;
    padding: 30px;
    z-index: 1;
    color: #fff;
  }
  img {
    display: none;
  }
}

header {
  display: flex;
  justify-content: space-around;
  position: sticky;
  top: 0;
  padding: 20px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, .5);
  width: 100%;
  z-index: 10;
  a {
    color: #2e3842;
    text-decoration: none;
  }
  .title {
    font-weight: bold;
  }
  .header-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
  }
}

.buy {
  background: #04bbb1;
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
}

.buy-it {
  width: fit-content;
  margin: 0 auto;
  margin-top: 20px;
  color: #fff;
  border: 2px solid #04bbb1;
  background: #04bbb1;
  display: block;
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
}

.width {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
}

.price {
  border: 2px solid #ccc;
  text-align: center;
  padding: 30px;
  span {
    display: inline-block;
    font-size: 1.3em;
    margin-bottom: 10px;
  }
}

.box-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 50px -10px 0;
  position: relative;
  z-index: 0;
  &:before {
    content: url(img/circle.png);
    position: absolute;
    right: -100px;
    top: -100px;
    z-index: -1;
  }
  .box {
    width: 50%;
    padding: 50px;
    position: relative;
    z-index: 1;
    img {
      max-width: 100%;
    }
    span {
      -webkit-text-stroke-width: 1px;
      -webkit-text-stroke-color: #000;
    }
  }
  .box-wide {
    width: 100%;
    background-color: rgb(228, 228, 228); /* 9%の濃さを白から表現 */
    padding: 50px;
  }
  .box:nth-child(1) {
    background-color: rgb(242, 242, 242); /* 3%の濃さを白から表現 */
  }
  
  .box:nth-child(2) {
    background-color: rgb(235, 235, 235); /* 6%の濃さを白から表現 */
  }
  
  .box:nth-child(3) {
    background-color: rgb(228, 228, 228); /* 9%の濃さを白から表現 */
  }
  
  .box:nth-child(4) {
    background-color: rgb(221, 221, 221); /* 12%の濃さを白から表現 */
  }
  
    .w {
    display: flex;
    align-items: center;
  }
}

.flex-box {
  display: flex;
  gap: 30px;
  .img {
    width: 50%;
    background: #fff;
    padding: 10px;
  }
  p {
    width: 50%;
  }
}

.flex {
  display: flex;
  gap: 50px;
  align-items: center;
  .img {
    text-align: center;
    img {
      width: 200px;
      max-width: 100%;
    }
  }
  .txt {
    flex: 1;
  }
}

.logo-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 50px -10px 0;
  .logo-img {
    width: 20%;
    padding: 10px;
    text-align: center;
    img {
      width: 100%;
      margin-bottom: 10px;
    }
  }
  .logo-img:nth-child(1) {
    background-color: rgb(242, 242, 242); /* 3%の濃さを白から表現 */
  }
  .logo-img:nth-child(2) {
    background-color: rgb(235, 235, 235); /* 6%の濃さを白から表現 */
  }
  .logo-img:nth-child(3) {
    background-color: rgb(228, 228, 228); /* 9%の濃さを白から表現 */
  }
  .logo-img:nth-child(4) {
    background-color: rgb(221, 221, 221); /* 12%の濃さを白から表現 */
  }
  .logo-img:nth-child(5) {
    background-color: rgb(217, 217, 217); /* 15%の濃さを白から表現 */
  }
}

.icon {
  margin-top: 10px;
  img {
    mix-blend-mode: multiply;
  }
}

.feature {
  text-align: center;
  margin-top: 30px;
}

table {
  width: 100%;
  table-layout: fixed;
  text-align: center;
  border-collapse: collapse;
  td, th {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 5px;
  }
}

.mini {
  font-size: .8em;
  margin-top: 10px;
  text-align: right;
  a {
    color: #d8354f;
  }
}

footer {
  margin-top: 100px;
  padding: 100px 0;
  text-align: center;
  color: #fff;
  background: #2e3842;
}

@media screen and (max-width: 750px) {
  body {
    width: 500px;
    margin: 0 auto;
    max-width: 100%;
    font-size: 14px;
  }

  header {
    .title {
      display: none;
    }
  }

  #top {
    display: block;
    height: fit-content;
    background: none;
    &:after {
      display: none;
    }
    img {
      display: block;
    }
    .catch {
      color: #000;
    }
  }

  .box-container {
    &:before {
      display: none;
    }
    .box {
      width: 100%;
    }
  }

  .flex {
    flex-wrap: wrap;
    .img {
      width: 100%;
    }
    .txt {
      width: 100%;
    }
  }

  .flex-box {
    gap: 20px;
    flex-wrap: wrap;
    .img {
      width: 100%;
    }
    p {
      width: 100%;
    }
  }

  .logo-flex {
    .logo-img {
      width: 50%;
    }
  }
  
}
