@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&display=swap');
:root {
  --noto: 'Noto Sans JP', sans-serif;
  --ship: "Shippori Mincho", serif;
}
::-webkit-scrollbar {
}
::-webkit-scrollbar-thumb {
}
::-webkit-scrollbar-track {
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  max-height: 100%;
}
ul li {
  list-style: none;
}
textarea {
  padding: 10px;
  width: 100%;
  height: calc(10em + 20px);
  font-size: 16px;
  outline: none;
  resize: none;
}
input {
  padding: 10px;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #787878;
  background: #fff;
  font-size: 16px;
  outline: none;
  &::placeholder {
    color: #999;
    font-size: 12px;
  }
  &[type="tel"] {
    max-width: 160px;
  }
  &[name="age"] {
    max-width: 80px;
  }
  &[name="price"] {
    max-width: 160px;
    text-align: right;
  }
  &:read-only {
    color: #747474;
  }
}
div.password {
  position: relative;
}
div.password input {
  padding-right: 40px;
  & + a {
    display: block;
    width: 20px;
    height: 20px;
    background: no-repeat center center / 100%
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
  }
  &[type="password"] + a {
    background-image: url(../icon/eye-close.svg);
  }
  &[type="text"] + a {
    background-image: url(../icon/eye-open.svg);
  }
}
a.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  white-space: nowrap;
  &::before {
    content: "";
    width: 20px;
    height: 20px;
    mask-repeat: no-repeat;
    mask-size: cover;
    background: #787878;
    position: relative;
    top: 1px;
  }
}
a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 300;
  background: #00a1df;
  color: #fff;
  box-shadow: 0px 0px 1px 0px #00a1df;
  margin: 0 auto;
  width: 80%;
  max-width: 300px;
  cursor: pointer;
  &:hover {
    background: #00a5e5;
  }
}
a.link {
  font-size: 14px;
  font-weight: 400;
  color: #00a1df;
  cursor: pointer;
  &:hover {
    text-decoration: underline;
  }
}
.account::before {
  mask-image: url(../icon/account.svg);
}
.info::before {
  mask-image: url(../icon/info.svg);
}
.card::before {
  mask-image: url(../icon/card.svg);
}
.chat::before {
  mask-image: url(../icon/chat.svg);
}
div.flex {
  display: flex;
  gap: 20px;
  &:has(span) {
    align-items: flex-end;
    gap: 10px;
    & span {
      padding-bottom: 0.2em;
    }
  }
  &.column {
    flex-direction: column;
    gap: 10px;
  }
}
@media (width < 600px) {
  input::placeholder {
    font-size: 16px;
  }
  div.flex {
    flex-direction: column;
    &:has(span) {
      flex-direction: row;
    }
  }
}
/*------------------------------------------------------------*/
body {
  min-width: 360px;
  font-family: var(--ship);
  font-size: 16px;
}
body > header {
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  padding-block: 6rem;
  max-width: 1200px;
  & > div {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
    margin-inline: auto;
    position: relative;
  }
  & > div > a {
    display: flex;
    gap: .2em;
    font-size: 72px;
    font-weight: 500;
    line-height: 1em;
    text-decoration: none;
    white-space: nowrap;
    color: #888;
    & span::first-letter {
      color: #000;
    }
  }
  & h1 {
    font-size: 26px;
    line-height: 1.2em;
    letter-spacing: 0.1em;
  }
  & p {
    font-size: 14px;
    line-height: 1.2em;
  }
  & nav {
    position: absolute;
    top: 2rem;
    right:  clamp(1.5rem, 5vw, 4rem);
    & ul {
      display: flex;
      align-items: center;
      gap: 20px;
      & a {
        color: #000;
        text-decoration: none;
        cursor: pointer;
      }
      & a:hover {
        text-decoration: underline;
      }
    }
  }
}
@media (width < 920px) {
  body > header {
    > div {
      flex-direction: column;
      align-items: flex-start;
    }
  }
}
@media (width < 820px) {
  body > header {
    & > div {
      flex-direction: column;
      align-items: center;
    }
    & p {
      margin-top: 20px;
      font-size: 18px;
    }
  }
}
@media (width < 600px) {
  body {
    font-weight: 500;
    font-size: 18px;
    line-height: 2em;
  }
  body > header p {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5em;
  }
  body > header nav {
    right: initial;
    left: 50%;
    transform: translateX(-50%);
  }
}
body > footer {
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  padding-block: 2rem;
  border-top: 1px solid #000;
  background: #ebebeb;
  & > div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  & > div > div {
    display: flex;
    align-items: flex-end;
    gap: .2em;
    font-size: 38px;
    font-weight: 500;
    line-height: 1em;
    text-decoration: none;
    white-space: nowrap;
    color: #888;
    & span::first-letter {
      color: #000;
    }
    & div {
      font-size: 14px;
      line-height: 1.3em;
    }
  }
  & nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 1rem;
    gap: 1rem;
    & a {
      font-size: 14px;
      color: #000;
      text-decoration: none;
      cursor: pointer;
    }
  }
  & small {
    display: block;
    margin-top: 2rem;
  }
}
@media (width < 820px) {
  body > foooter {
    padding-inline: 10px;
    
  }
}
@media (width < 600px) {
  body > footer > div {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  body > footer nav ul {
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
    & li a {
      font-size: 18px;
    }
  }
}
/*------------------------------------------------------------*/
body > main {
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}
.main-visu {
  margin-inline: auto;
  padding-bottom: 15%;
  max-width: 1200px;
  position: relative;
  & div:first-child {
    width: 80%;
    & p {
      padding-block: 30px;
      padding-inline: 0 20px;
      width: 70%;
      position: absolute;
    }
  }
  & div:last-child {
    width: 30%;
    position: absolute;
    bottom: 0;
    right: 0;
  }
}
div.arts {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding-block: 6rem; 
  & article {
    display: flex;
    gap: 50px;
    width: 100%;
    &:nth-child(even) {
      flex-direction: row-reverse;
    }
    & > div {
      flex: 1;
    }
    & h2 {
      margin-bottom: 20px;
      padding-inline: 1em 0;
      padding-bottom: 10px;
      font-size: 18px;
      position: relative;
      & span {
        padding-inline: 0 10px;
        color: #787878;
      }
    }
    & h2::before {
      display: block;
      content: "";
      width: 10%;
      height: 1px;
      background: #000;
      position: absolute;
      bottom: 0;
      left: -1em;
      transition: 1.5s;
    }
    &.active h2::before {
      width: 100%;
    }
    & h2::after {
      display: block;
      content: "";
      width: 1px;
      height: 30px;
      background: #000;
      position: absolute;
      bottom: -10px;
      left: 0;
    }
    & p {
      font-size: 14px;
    }
    & p.soldout {
      margin-top: 20px;
      font-family: var(--noto);
      font-weight: 500;
      font-size: 18px;
      color: #00a1df;
    }
    & a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      margin-top: 20px;
      padding: 5px 10px;
      max-width: 150px;
      border-radius: 6px;
      background: #00a1df;
      color: #fff;
      box-shadow: 0px 0px 1px 0px #00a1df;
      font-size: 14px;
      font-weight: 300;
      font-family: var(--noto);
      white-space: nowrap;
      text-decoration: none;
      cursor: pointer;
      &:hover {
        background: #00a5e5;
      }
      &::before {
        display: block;
        width: 20px;
        height: 20px;
        content: "";
        mask-repeat: no-repeat;
        mask-size: cover;
        background: #fff;
        position: relative;
        top: 1px;
      }
      &.contact::before {
        mask-image: url(../icon/chat.svg);
      }
      &.detail::before {
        mask-image: url(../icon/info.svg);
      }
    }
  }
}
div.form-wrap {
  margin-bottom: 6rem;
  background: #f6f6f6;
  border: 1px solid #000;
  border-radius: 20px;
  font-family: var(--noto);
  font-weight: 300;
  & form {
    margin: 0 auto;
    padding-block: 3rem;
    max-width: 800px;
    width: 90%;
    & div.complete {
      display: none;
    }
  }
  & h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 0 20px;
    font-size: 26px;
    font-weight: 300;
    &::before {
      content: "";
      width: 26px;
      height: 26px;
      mask-image: url(../icon/chat.svg);
      mask-size: cover;
      background: #787878;
      position: relative;
      top: 4px;
    }
  }
  & p {
    font-size: 14px;
  }
  & ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-block: 20px;
    width: 100%;
    & li {
      display: flex;
      align-items: flex-start;
    }
    & li > label {
      display: flex;
      align-items: center;
      gap: 0.2em;
      min-width: 200px;
      height: 40px;
    }
    & li > label span {
      color: red;
    }
    & li > div {
      width: 100%;
    }
  }
}
@media (width < 920px) {
  div.arts.detail {
    padding-block: 0 4rem;
  }
}
@media (width < 820px) {
  main {
    padding-inline: 10px;
  }
  .main-visu {
    & div:first-child {
      & p {
        padding-block: 17%;
        width: 100%;
      }
    }
  }
  div.arts {
    padding-block: 8rem;
    & article {
      flex-direction: column!important;
      & h2::before {
        left: -10px;
      }
      & p {
        font-size: 16px;
      }
    }
  }
}
@media (width < 720px) {
  div.form-wrap ul li {
    flex-direction: column;
  }
}
@media (width < 600px) {
  div.arts {
    padding-top: 15rem;
    & article {
      & h2 {
        font-size: 22px;
        line-height: 1.2em;
      }
      & p {
        font-size: 18px;
      }
      & a {
        margin-inline: auto;
        font-weight: 500;
        font-size: 16px;
      }
    }
  }
  div.form-wrap {
    & form {
      padding-block: 30px;
    }
    & h3 {
      justify-content: center;
      font-weight: 400;
    }
    & p {
      font-weight: 400;
      font-size: 16px;
    }
    & ul li > label {
      font-weight: 400;
    }
    & a {
      width: 100%;
      font-weight: 400;
    }
  }
}
/*------------------------------------------------------------*/
section.how-it {
  padding-bottom: 2rem;
  font-family: var(--noto);
  & div {
    margin-bottom: 2rem;
    padding: 30px;
    border: 1px solid #000;
    border-radius: 20px;
  }
  & h2 {
    padding-bottom: 30px;
    border-bottom: 1px solid #000;
    color: #888;
    font-size: 22px;
    font-weight: 400;
  }
  & p {
    padding-top: 30px;
    font-weight: 400;
    font-size: 14px;
    line-height: 2em;
  }
}
@media (width < 600px) {
  section.how-it {
    & p {
      font-size: 16px;
    }
  }
}
/*------------------------------------------------------------*/
div.dialog {
  display: block;
  width: 90%;
  max-width: 400px;
  height: auto;
  position: absolute;
  z-index: 11;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 6px;
  background: rgb(204, 204, 204);
  box-shadow: 0 0 1px 1px #c8c8c8, 0px 0px 4px 1px #ffffff;
  position: fixed;
  font-family: var(--noto);
  & > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
    min-height: 50px;
    border-radius: 6px 6px 0 0;
    background:#ccc;
    & span {
      display: flex;
      align-items: center;
      gap: .5rem;
    }
    & span::before {
      content: "";
      width: 30px;
      height: 30px;
      mask-repeat: no-repeat;
      mask-size: cover;
      background: #787878;
      position: relative;
      top: 1px;
    }
    & a {
      cursor: pointer;
    }
    & a::before {
      display: block;
      content: "";
      width: 24px;
      height: 24px;
      mask-image: url(../icon/close.svg);
      mask-repeat: no-repeat;
      mask-size: cover;
      background: #787878;
      position: relative;
      top: 1px;
    }
  }
  & > main {
    min-height: 50px;
    border-radius: 0 0 6px 6px;
    background: #fff;
  }
  & form {
    padding: 30px;
    &.hide {
      display: none;
    }
  }
  & form > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    & h3 {
      font-size: 30px;
      font-weight: 400;
    }
    & p {
      font-size: 14px;
      font-weight: 300;
    }
    & p span {
      display: block;
      margin-top: 20px;
      font-size: 13px;
    }
  }
  & ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  & ul li {
    display: flex;
    flex-direction: column;
    &:has(a.button, a.link) {
      align-items: center;
    }
    & > label {
      min-width: 120px;
      color: #888;
      font-weight: 400;
      font-size: 14px;
      line-height: 2em;
    }
    & > p {
      margin-bottom: 10px;
      color: #888;
      font-weight: 400;
      font-size: 14px;
      line-height: 2em;
    }
  }
}
@media (width < 600px) {
  div.dialog {
    width: 100%;
    max-width: initial!important;
    & form {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 20px;
      height: calc(100dvh - 50px);
      overflow-y: auto;
    }
    & form > div {
      padding-inline: 10px;
      & p {
        font-weight: 400;
        text-align: center;
      }
    }
  } 
}
/*------------------------------------------------------------*/
