﻿/* Adobe Fonts 適用 */
body, input, button {
  font-family: "futura-pt", "vdl-admin", sans-serif;
}

body {
  background: #fff;
  color: #333;
  margin: 0;
  padding: 40px 10px;
}

/* コンテナ設定：デフォルト（スマホ）は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; /* PCではワイドに変更 */
    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: 15%;
  height: auto;
  z-index: 5;
  pointer-events: none; /* スタンプがクリックを邪魔しないように */
}

.stamp-p-1 { left: 7%;    top: 16.5%; }
.stamp-p-2 { left: 14.5%; top: 56%;   }
.stamp-p-3 { left: 42.5%; top: 63%;   }
.stamp-p-4 { left: 70.5%; top: 56%;   }
.stamp-p-5 { left: 78%;   top: 16.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;
  }
}