﻿/* Adobe Fonts 適用 */
body, input, button {
  font-family: "futura-pt", "vdl-admin", sans-serif;
}
body {
  background: #fff;
  color: #333;
  margin: 0;
  padding: 40px 0 0 0;
}
/* コンテナ設定：デフォルト（スマホ）は500px、PCでは自動で800pxに */
.utawaku-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 25px;
  box-sizing: border-box;
  height: auto;
  position: relative;
  transition: max-width 0.3s ease;
}
/* --- PC環境（画面幅が600px以上のとき）の設定 --- */
@media (min-width: 600px) {
  .utawaku-container {
    max-width: 800px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
  }
  .page-main-title {
    font-size: 1.8em;
  }
  /* PCでは特典画像を3列並びにしてスッキリさせる */
  .reward-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 15px !important;
  }
}
.main-header-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 8px;
  box-sizing: border-box;
}
.page-main-title {
  font-size: 1.4em;
  text-align: center;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #333333;
  padding-bottom: 10px;
}
.schedule-box {
  background: #333333;
  border: 1px dashed #333333;
  padding: 10px;
  text-align: center;
  font-size: 0.9em;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #fff77f;
  font-weight: bold;
}
.utawaku-slot {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #fff;
}
.utawaku-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}
.utawaku-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}
.utawaku-submit {
  width: 100%;
  padding: 12px;
  background: #333333;
  border: 1px solid #333333;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 8px;
  margin-top: 10px;
  color: #eeeeee;
  font-family: inherit;
  transition: 0.5s;
}
.utawaku-submit:hover {
  opacity: 0.6;
}
/* 正解時の装飾 */
.slot-cleared {
  background-color: #f0fff0 !important;
  border: 1px solid #2ecc71 !important;
}
/* 特典エリア */
.reward-box {
  margin-top: 30px;
  border: 4px double #333;
  border-radius: 10px;
  background: #fffef0;
}
.netprint-box {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 15px;
  border: 2px solid #333;
}
.np-id {
  font-size: 1.8em;
  color: #d32f2f;
  margin: 5px 0;
  font-weight: bold;
}
.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.reward-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #333;
  border-radius: 8px;
  box-sizing: border-box;
}
.download-btn-small {
  display: block;
  background: #333;
  color: #fff;
  text-decoration: none;
  padding: 8px;
  font-size: 0.75em;
  border-radius: 5px;
  margin-top: 5px;
  text-align: center;
  transition: 0.3s;
}
.download-btn-small:hover {
  background: #555;
}
/* スタンプカード配置（調整済み数値） */
.stamp-card-wrapper {
  position: relative;
  width: 100%;
  margin: 15px 0;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}
.stamp-mount-img {
  width: 100%;
  height: auto;
  display: block;
}
.stamp-icon {
  position: absolute;
  width: 20%;
  height: auto;
  z-index: 5;
  pointer-events: none;
}
.stamp-p-1 {
  left: 3%;
  top: 41.5%;
}
.stamp-p-2 {
  left: 23%;
  top: 57%;
}
.stamp-p-3 {
  left: 76%;
  top: 19%;
}
.stamp-p-4 {
  left: 33%;
  top: 7%;
}
.stamp-p-5 {
  left: 53.5%;
  top: 19.5%;
}
/* リセットボタン */
.reset-form {
  margin-top: 50px;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 10px;
}
.reset-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 0.7em;
  text-decoration: underline;
}
/* スマホ用の最終微調整 */
@media (max-width: 480px) {
  body {
    padding: 20px 10px;
  }
  .utawaku-container {
    padding: 15px;
  }
  .page-main-title {
    font-size: 1.2em;
  }
}
/* =======================================
   公式TOP風 メニューボタン＆オーバーレイ
======================================= */
.menu-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  /*background: rgba(0, 0, 0, 0.5);*/
  border-radius: 5px;
  cursor: pointer;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: all 0.3s;
}
@media (min-width: 600px) {
  .menu-btn {
    top: 26px;
    right: 40px;
  }
}
.menu-btn span {
  width: 30px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s;
}
.menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.nav-list {
  list-style: none;
  padding: 0;
  text-align: center;
}
.nav-list li {
  margin: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s;
}
.nav-overlay.active li {
  opacity: 1;
  transform: translateY(0);
}
.nav-list a {
  color: white;
  font-size: 2.5rem;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 4px;
}
@media (min-width: 600px) {
  .nav-list a {
    font-size: 3rem;
  }
}
.nav-list a:hover {
  color: #CEF5FF;
  text-shadow: 0 0 10px #CEF5FF;
}
.nav-overlay.active li:nth-child(1) {
  transition-delay: 0.1s;
}
.nav-overlay.active li:nth-child(2) {
  transition-delay: 0.2s;
}
.nav-overlay.active li:nth-child(3) {
  transition-delay: 0.3s;
}
/* =======================================
   公式TOP風 カスタムフッター
======================================= */
.my-custom-footer {
  padding: 40px 20px;
  text-align: center;
  color: #666666;
  margin-top: 60px;
  width: 100%;
  box-sizing: border-box;
}
.my-sns-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.my-sns-nav img {
  width: 40px;
  height: auto;
  border-radius: 6px;
  transition: all 0.3s ease;
  filter: grayscale(0%);
  opacity: 1;
}
.my-sns-nav img:hover {
  filter: grayscale(100%);
  opacity: 0.6;
  transform: scale(0.95);
}
.my-custom-footer hr {
  border: 0;
  border-top: 1px solid rgba(142, 142, 142, 0.10);
  margin: 20px auto;
  max-width: 80%;
}
/* ==========================================================================
   新設ヘッダーのスタイル
   ========================================================================== */
/* ヘッダー全体の固定と背景設定 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(7, 22, 39, 1);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(7, 22, 39, 0.60);
  z-index: 999999;
  display: flex;
  align-items: center;
}
/* ヘッダー内部のコンテンツ配置（左右に振り分け） */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ロゴのサイズ調整 */
.header-logo img {
  height: 50px;
  width: auto;
  display: block;
  z-index: 9999;
}
.header-logo {
  z-index: 9999;
}
.menu-btn {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  cursor: pointer;
  z-index: 999999;
}
/* ==========================================================================
   コンテンツ全体の表示位置調整（重要）
   ========================================================================== */
.utawaku-container {
  padding-top: 30px;
}
/* =======================================
   注意事項ボックス
======================================= */
.notes-box {
  background: #fdfdfd;
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  font-size: 0.9em;
  line-height: 1.6;
}
.notes-box h3 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ccc;
  color: #333;
  font-size: 1.2em;
}
.notes-box p {
  margin-bottom: 15px;
  text-align: center;
  color: #666;
}
.notes-box ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
.notes-box ul li {
  /*  margin-bottom: 10px;*/
  padding-left: 1.2em;
  text-indent: -1.2em;
  word-break: break-all;
  color: #666;
}
.notes-box ul li a {
  color: #777;
}
.notes-box ul li:last-child {
  margin-bottom: 0;
}
/* ==========================================================================
   スタンプカード画像ダウンロード機能の追加スタイル
   ========================================================================== */
/* ダウンロードボタンの配置コンテナ */
.download-btn-container {
  text-align: center;
  margin: 25px 0 40px 0;
}
/* ダウンロードボタン本体（既存のボタン風のデザインに統一） */
.download-stamp-btn {
  background: #333333;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1.05em;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.download-stamp-btn:hover {
  background: #555555;
}
.download-stamp-btn:active {}
/* html2canvasで書き出す際の不具合対策 */
#stamp-card-target {
  position: relative;
  box-sizing: border-box;
}
#stamp-card-target img {
  display: block;
}
/* --- PC --- */
@media (min-width: 600px) {
  .utawaku-container {
    max-width: 800px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
  }
  .page-main-title {
    font-size: 1.8em;
  }
  /* PC改行無効化 */
  .sp-only {
    display: none;
  }
  /* PC */
  .reward-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 15px !important;
  }
}