@charset "UTF-8";

/* ========================================
   Reset & Base
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html {
  font-size: 3.5vw;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

@media (max-width: 375px) {
  html {
    font-size: 4vw;
  }
}

@media screen and (min-width: 1026px) {
  html {
    font-size: 1.4035087719vw;
  }

  /* Disable tel links on PC */
  a[href^="tel:"] {
    pointer-events: none;
  }
}

@media (min-width: 1140px) {
  html {
    font-size: 1.6rem;
  }
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

body {
  background-color: #F9F4F4;
  color: #11111B;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.5;
  letter-spacing: 0.08em;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
a img,
li a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover,
a:active,
a img:hover,
a img:active,
li a:hover,
li a:active {
  opacity: 0.7;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  image-rendering: auto;
}

img:not([alt]) {
  -webkit-filter: blur(10px);
  filter: blur(10px);
  filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="10" /></filter></svg>#filter');
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

article > * + * {
  margin-top: 1em;
}

/* ========================================
   Layout Helpers
======================================== */

.body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.element-100vh {
  min-height: 100vh;
}

section {
  scroll-margin-top: 80px;
}

@media (max-width: 1025px) {
  section {
    scroll-margin-top: 60px;
  }
}

/* ========================================
   Forms
======================================== */

input,
button,
textarea,
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

input[type="checkbox"],
input[type="radio"] {
  display: none;
}

textarea {
  resize: vertical;
}

input[type="submit"],
input[type="button"],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

/* ========================================
   Styles
======================================== */

:root {
  --app-height: 100vh;
}

/* Main */
main {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  width: 100vw;
}

@media screen and (min-width: 1026px) {
  main {
    background: none;
  }
}

/* PC Layout */
.pc {
  display: flex;
  z-index: 0;
}

.pc__left {
  display: none;
}

.pc__right {
  display: none;
}

@media screen and (min-width: 1026px) {
  .pc__left {
    position: static;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64%;
    height: 100vh;
    background: url(../img/pc-left.png) no-repeat center center / cover;
    box-shadow: none;
  }

  .pc__left.stamplet {
    background: url(../img/pc-left2.jpeg) no-repeat center center / cover;
  }

  .pc__right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32%;
    height: 100vh;
    z-index: 0;
    padding: 80px;
    background-color: #efefef;
  }

  .pc__right img {
    max-width: 152px;
  }
}

/* SP Layout */
.sp {
  position: relative;
  z-index: 10;
  width: 100%;
  height: -webkit-fill-available;
  min-height: -webkit-fill-available;
  height: var(--app-height);
  min-height: var(--app-height);
  margin: 0 auto;
  background: #f5f5f5;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.sp {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media screen and (min-width: 1026px) {
  .sp {
    max-width: 490px;
  }
}

/* ========================================
   Titles
======================================== */

h2 {
  font-size: 20px;
  font-weight: 700;
}

h3 {
  font-size: 16px;
  font-weight: 700;
}

/* NFT Title */
.nft-title h2 {
  color: #4CA223;
}

.nft-title p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: #111;
}

/* NFT Sub Title */
.nft-subtitle h3 {
  text-align: center;
  line-height: 1.4;
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
}

/* NFT Summary */
.nft-summary p {
  font-size: 16px;
  line-height: 1.8;
}

/* ========================================
   Tables
======================================== */

.nft-data {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  border-radius: 4px;
}

.nft-data th,
.nft-data td {
  padding: 8px;
  border: 1px solid #E6E0E0;
  vertical-align: top;
  line-height: 1.2;
  text-align: left;
}

.nft-data th {
  background-color: #FFFDEC;
  font-weight: 700;
  color: #11111B;
  width: 40%;
}

.nft-data td {
  background-color: #fff;
  color: #11111B;
  word-break: break-word;
}

/* ========================================
   Buttons
======================================== */

button {
  width: 100%;
  font-weight: 700;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

button:hover {
  opacity: 0.8;
}

button:active {
  transform: scale(0.98);
  opacity: 0.6;
}

/* NFT Button */
.nft-button {
  margin: 16px 0;
  text-align: center;
}

.nft-button button {
  padding: 24px;
  font-size: 24px;
  color: #fff;
  background-color: #4CA223;
  border-bottom: 4px solid rgba(0, 0, 0, 0.24);
}

/* STAMPLET Button */
.stamplet-button {
  margin: 16px 0 0;
  text-align: center;
}

.stamplet-button span {
  display: block;
  font-size: 16px;
}

.stamplet-button button {
  padding: 24px 24px 20px;
  font-size: 24px;
  color: #fff;
  background-color: #F8B207;
  border-bottom: 4px solid rgba(0, 0, 0, 0.24);
}

.stamplet-policy {
  font-size: 16px;
  text-align: center;
}

.stamplet-policy a {
  color: #0D3AAB;
  text-decoration: underline;
}

/* STAMPLET Button2 */
.stamplet-button-sub {
  margin: 16px 0 0;
  text-align: center;
}

.stamplet-button-sub button {
  padding: 16px 16px 14px;
  font-size: 24px;
  color: #555555;
  background-color: #FFFFFF;
  border: 2px solid #F8B207;
}

/* Others Button */
.others-button {
  margin: 16px 0;
  text-align: center;
}

.others-button button {
  padding: 8px 24px 6px;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
}

/* ========================================
   Header
======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 30;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 16px 24px;
  background-color: #fff;
  border-bottom: 1px solid #E6E0E0;
}

@media screen and (min-width: 1026px) {
  .header {
    max-width: 490px;
  }
}

/* ========================================
   Main Visual
======================================== */

.mv {
  width: 100%;
  background-color: #FFFFFF;
}

.mv__inner {
  width: 100%;
  padding: 48px 40px 48px 24px;
}

.mv__image {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   Thumbnail
======================================== */

.thumbnail {
  padding: 24px;
}

.thumbnail__inner {
  padding: 40px;
  background-color: #FFFFFF;
  border-radius: 4px;
}

.thumbnail__view img {
  display: block;
  width: 100%;
  height: auto;
}

.thumbnail__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.thumbnail__list img {
  width: calc((100% - 24px) / 4);
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.thumbnail__list img:hover,
.thumbnail__list img:focus {
  opacity: 0.7;
}

.thumbnail__list .is-disabled {
  width: calc((100% - 24px) / 4);
  aspect-ratio: 1 / 1;
  background-color: #E0E0E0;
  border-radius: 4px;
  pointer-events: none;
}

/* ========================================
   STAMPLET
======================================== */

.stamplet {
  padding: 24px;
}

.stamplet__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stamplet h2 {
  font-size: 24px;
  background-color: #555555;
  color: #FFFFFF;
  text-align: center;
  border-radius: 4px;
  padding: 8px 8px 5px;
}

.stamplet ul {
  padding-left: 24px;
}

.stamplet li {
  font-size: 16px;
  line-height: 1.6;
  list-style-type: disc;
  list-style-position: outside;
}

.stamplet__attention {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.attention-item h3 {
  border-radius: 4px 4px 0 0;
  background-color: #555;
}

.attention-item ul {
  border: 1px solid #555;
  background-color: #FFFFFF;
  padding: 16px;
  border-radius: 0 0 4px 4px;
  padding-left: 40px;
}

.attention-item li + li {
  padding-top: 8px;
}

/* ========================================
   Overview
======================================== */

.overview {
  padding: 24px;
}

.overview__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title */
.overview__title {}
.overview__title h2 {}
.overview__title p {}

/* Summary */
.overview__summary {}
.overview__summary p {}

.overview__benefit {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item h3 {
  border-radius: 4px 4px 0 0;
}

.benefit-item p {
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid #000;
  padding: 16px;
  border-radius: 0 0 4px 4px;
}

/* Button */
.overview__button {}
.overview__button button {}
.overview__button button:hover {}
.overview__button button:active {}

/* ========================================
   Horizontal
======================================== */

.horizontal {
  padding: 24px;
}

.horizontal__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.horizontal__inner img {
  width: 30%;
  border-radius: 4px;
}

.horizontal__title {
  width: 70%;
}

/* Title */
.horizontal__title {}
.horizontal__title h2 {}
.horizontal__title p {}

/* ========================================
   Acquisition Form
======================================== */

.acquisition {
  padding: 24px;
}

.acquisition__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title */
.acquisition__title {}
.acquisition__title h2 {}
.acquisition__title p {}

/* Form */
.acquisition__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__item label {
  font-size: 14px;
}

.form__item input {
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
}

.form__item input::placeholder {
  color: #888;
  transition: color 0.3s ease;
}

.form__item input:focus::placeholder {
  color: transparent;
}

.acquisition__form input:focus {
  border: 1px solid #000;
}

/* Button */
.acquisition__button {}
.acquisition__button button {}
.acquisition__button button:hover {}
.acquisition__button button:active {}

/* ========================================
   Confirmation
======================================== */

.confirmation {
  padding: 24px;
  height: 100vh;
}

.confirmation__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title */
.confirmation__title {}
.confirmation__title h3 {}

/* Button */
.confirmation__button {}
.confirmation__button button {}
.confirmation__button button:hover {}
.confirmation__button button:active {}


/* ========================================
   Wallet
======================================== */

.wallet {
  padding: 24px;
}

.wallet__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title */
.wallet__title {}
.wallet__title h3 {}

.wallet__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.list__item img {
  border-radius: 4px;
}

/* Title */
.list__title {
  margin-top: 8px;
}

.list__title h2 {
  font-size: 16px;
}

.list__title p {
  font-size: 14px;
}

/* Button */
.wallet__button {}
.wallet__button button {}
.wallet__button button:hover {}
.wallet__button button:active {}

/* ========================================
   Detail
======================================== */

.detail {
  padding: 24px;
}

.detail img {
  border-radius: 4px;
}

.detail__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title */
.detail__title {}
.detail__title h3 {}

/* Summary */
.detail__summary {}
.detail__summary p {}

.detail__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Title */
.content__title {}
.content__title h2 {}

/* Summary */
.content__summary {}
.content__summary p {}

/* Data */
.content__data {}
.content__data th {}
.content__data td {}

/* Button */
.detail__button {}
.detail__button button {}
.detail__button button:hover {}
.detail__button button:active {}

/* ========================================
   Others Section
======================================== */

.others {
  padding: 24px;
}

.others__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title */
.others__title {}
.others__title h3 {}

/* Summary */
.others__summary {}
.others__summary p {}

/* Button */
.others__button {}
.others__button button {}
.others__button button:hover {}
.others__button button:active {}

/* ========================================
   Footer Section
======================================== */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  background-color: #000;
  color: #FFF;
}

.stamplet-footer {
  background-color: #555;
}

.footer p {
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.footer address {
  text-align: center;
  font-size: 10px;
  font-style: normal;
}

.footer.is-fixed-bottom {
  margin-top: auto;
}
/* ========================================
   Tokushoho (特定商取引法)
======================================== */

.tokushoho {
  padding: 24px;
  flex: 1;
}

.tokushoho__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tokushoho__content {
  background-color: #fff;
  border-radius: 4px;
  padding: 16px;
}

.tokushoho__list {
  font-size: 14px;
  line-height: 1.6;
}

.tokushoho__list dt {
  font-weight: 700;
  color: #11111B;
  margin-top: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid #E6E0E0;
}

.tokushoho__list dt:first-child {
  margin-top: 0;
}

.tokushoho__list dd {
  margin-left: 0;
  padding: 8px 0;
  color: #333;
}

.tokushoho__list dd a {
  color: #4CA223;
  text-decoration: underline;
}

.tokushoho__list dd a:hover {
  opacity: 0.7;
}

/* オーバーレイ全体 */
#loadingOverlay {
  display: none; /* 初期は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ぐるぐるアニメーション */
.spinner {
  border: 8px solid #f3f3f3; /* 外枠の薄い色 */
  border-top: 8px solid #3498db; /* 青い部分 */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.modal {
  display: none; /* 初期は非表示 */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* 半透明の黒 */
}

/* モーダルの内容 */
.modal-content {
  background: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  text-align: center;
  font-size: 10px;
  word-break: break-all;
  overflow-wrap: anywhere; 
}

/* 閉じるボタン */
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}