@charset "UTF-8";

:root {
  --color-gold1: rgb(211,188,58);
  --color-gold2: rgb(246,218,64);
  --color-purple: rgb(38,0,48);
  --color-red: rgb(235,83,69);
  --color-white: rgb(255,255,255);
  --color-gray-bg: rgb(247,247,247);
  --color-text: rgb(51,51,51);
}

html {
  font-family: sans-serif;
}

/* 全ての要素と疑似要素 */
html *,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #333;
  background: radial-gradient(
    circle at center 110px,
    rgb(255,255,255) 0%,
    rgb(38,0,48) 40%,
    rgb(38,0,48) 100%
    )no-repeat,
    rgb(38,0,48);
    background-size: 100% 500px, cover;
}

a {
  /* リンクのデフォルト色を消す */
  color: inherit;
  text-decoration: none;
}

/* 全体の設定 */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* 深紫色 + 透過 */
  background: rgba(38,0,48,0.88);
  /* 背景ぼかし */
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-gold2);
}

.global-nav {
  display: flex;
  font-size: 14px;
  letter-spacing: 0.03em;
  gap: 24px;
}

.global-nav a {
  color: var(--color-white);
  padding: 4px 0;
  position: relative;
}

.global-nav a::after {
  content: "";
  /* relativeの座標を基準に下線設定 */
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-gold1);
  transition: width 0.3s ease;
}

/* ホバーの時に下線を全幅 */
.global-nav a:hover::after{
  width: 100%;
}

.container {
      max-width: 800px;
      background: rgba(255,255,255,0.9);
      margin: 50px auto;
      padding: 30px;
      border-radius: 20px;
      box-shadow: 0 0 30px rgba(200, 200, 255, 0.4);
      text-align: center;
      backdrop-filter: blur(10px);
    }

    h1 {
        text-align: center;
        font-size: 30px;
        letter-spacing: 0.08em;
        line-height: 1.2;
        margin-bottom: 10px;
        background: linear-gradient(90deg, #56c5f8, #f57ebf);
        /* background: linear-gradient(90deg, #7dd3fc, #f9a8d4); */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .question {
      /* display: none; */
      animation: fadeIn 0.6s ease;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .options label {
      display: block;
      margin: 12px 0;
      padding: 18px;
      border-radius: 12px;
      cursor: pointer;
      color: #fff;
      /* color: rgb(38,0,48); */
      font-weight: bold;
      font-size: 1.1em;
      transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
      box-shadow: 0 0 10px rgba(255,255,255,0.3);
      /* text-shadow: 2px 2px 4px rgba(0,0,0,0.5); */
      text-shadow:
      0px 0px 8px rgba(0,0,0,0.3),
      1px 1px 3px rgba(0,0,0,0.3),
      -1px -1px 3px rgba(0,0,0,0.3);
      border: 3px solid transparent;
    }
    .options label:hover {
      transform: scale(1.05);
      box-shadow: 0 0 20px rgba(255,255,255,0.6);
    }

    /* 選択時の枠 */
    /* .options label.selected {
      border: 3px solid rgba(160,85,247,0.8);
      box-shadow: 0 0 25px rgba(160,85,247,0.5);
    } */

/* ------------------------------ */
/* 質問の選択肢ボタンの色 */
.blue {
  background: linear-gradient(
    180deg,
    #bde4ff 0%,
    #a5d8ff 50%,
    #c7f9ff 100%
  );
}
.red {
  background: linear-gradient(
    180deg,
    #ffd0d0 0%,
    #ffb3b3 50%,
    #ffd6d6 100%
  );
}
.yellow {
  background: linear-gradient(
    180deg,
    #fff7cd 0%,
    #fff3b0 50%,
    #ffe8a3 100%
  );
}
.black {
  background: linear-gradient(
    180deg,
    #b5b5b5 0%,   /* 上：少し濃くして枠感を消す */
    #d1d1d1 40%, /* 中：なめらかに */
    #8c8c8c 100% /* 下：自然な濃さ */
  );
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* 弱めに均等 */
}
.white {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8f8f8 50%,
    #f1f1f1 100%
  );
  text-shadow:
    0px 0px 8px rgba(0,0,0,0.4),
    1px 1px 3px rgba(0,0,0,0.4),
    -1px -1px 3px rgba(0,0,0,0.4)!important;
}
    /* もともとのグラデ */
    /* .blue { background: linear-gradient(180deg, #a5d8ff, #c7f9ff);}
    .red { background: linear-gradient(180deg, #ffb3b3, #ffd6d6);}
    .yellow { background: linear-gradient(180deg, #fff3b0, #ffe8a3);}
    .black { background: linear-gradient(180deg, #d1d1d1, #6b6b6b);}
    .white { background: linear-gradient(180deg, #ffffff, #f1f1f1);
      text-shadow:
      0px 0px 8px rgba(0,0,0,0.4),
      1px 1px 3px rgba(0,0,0,0.4),
      -1px -1px 3px rgba(0,0,0,0.4)!important;} */

/* ------------------------------ */
/* 戻るボタン */
    button {
      margin-top: 25px;
      padding: 12px 25px;
      font-size: 16px;
      cursor: pointer;
      border: none;
      border-radius: 999px;
      background: linear-gradient(90deg, rgb(108,110,219,0.8), rgb(235,97,168,0.8));
      color: #fff;
      box-shadow: 0 0 15px rgba(150,100,255,0.2);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    button:hover {
      transform: scale(1.05);
      box-shadow: 0 0 25px rgba(200,150,255,0.4);
    }
/* ------------------------------ */

 .result {
  display: none;
  margin-top: 40px;
  animation: fadeIn 1s ease;
}

h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: rgb(38,0,48);
  text-align: center;
}

.result-main {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.result-visual img {
  max-width: 40vw;
  border-radius: 16px;
  border: 3px solid rgba(211,188,58,0.9);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  object-fit: cover;
}

.result-desc {
  max-width: 600px;
  text-align: left;
}

.result-lead {
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5em;
  color: rgb(38,0,48);
}

.result-description {
  font-size: 0.95rem;
  line-height: 1.7;
  /* text-align: center; */
}

.result-goods {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(211,188,58,0.4);
}

h3 {
  font-size: 1.3em;
  margin-bottom: 1em;
  color: rgb(38,0,48);
}

.result-goods-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.result-goods-inner img {
  max-width: 30vw;
  border-radius: 16px;
  border: 3px solid rgba(211,188,58,0.8);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.result-goods-inner p {
  max-width: 600px;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* チケットボタン */
.result-ticket {
  margin-top: 32px;
}

.ticket-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e8d66b, #c3a93b);
  color: #2b1200;
  font-weight: 700;
  /* letter-spacing: 0.08em; */
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.share-buttons p {
    font-size: 2em;
}

.share-buttons {
  margin-top: 50px;
}

.share-buttons button {
  margin: 8px;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

