@charset "UTF-8";

:root {
  /* 添付イメージに基づいた、まとまりのある温かいパレット */
  --primary: #524f4c;
  --blue: #a3d8e0;
  --yellow: #f9e28d;
  --bg-accent: #fffdf9;
  --text: #524f4c;
  --white: #ffffff;
  --max-width: 800px;
  
  /* 追加カラー */
  --theme-pink: #dd4b73;
  --theme-light-pink: #fdf5f7;
  --btn-blue: #64a6ce; /* 画像のボタン水色に近いカラー */
  --notes-bg: #f7f7f5; /* 注意事項の背景色 */
}

/* ==========================================
   Reset css & Base setting
   ========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px相当 */
  line-height: 1.7;
  scroll-behavior: smooth;
}

body {
  background-color: #f7f7f5;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Noto Sans JP", "M PLUS Rounded 1c", "ヒラギノ角ゴ ProN W3", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

li { list-style: none; }

a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

/* 表示切り替え */
.sp_only { display: block; }
.pc_only { display: none; }

@media screen and (min-width: 769px) {
  .sp_only { display: none; }
  .pc_only { display: block; }
}

/* ==========================================
   Layout & Modules (Mobile First)
   ========================================== */

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: var(--white);
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero h1 {
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Coupon Section */
.coupon-section {
  padding: 4rem 2rem 2rem;
  text-align: center;
  background-color: var(--bg-accent);
}

.coupon-lead {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.coupon-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border: 3px dashed var(--blue);
  border-radius: 12px;
  padding: 4rem 2rem;
  width: 100%;
  max-width: 600px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}

.coupon-box:active,
.coupon-box:hover {
  background-color: #f0f9fa;
}

.coupon-code {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.2rem;
  line-height: 1.2;
}

.copy-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
  background-color: var(--yellow);
  padding: 0.4rem 1.6rem;
  border-radius: 20px;
  margin-top: 1rem;
}

.copy-message {
  font-size: 1.3rem;
  color: var(--theme-pink);
  font-weight: bold;
  margin-top: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  height: 1.5rem;
}

.copy-message.show {
  opacity: 1;
  visibility: visible;
}

/* Notes Section */
.notes-wrapper {
  padding: 2rem 2rem;
  background-color: var(--white);
}

.notes {
  background-color: var(--notes-bg);
  border-radius: 8px;
  padding: 2.5rem 2rem;
}

.notes h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.notes ul {
  font-size: 1.3rem;
  line-height: 1.8;
}

.notes li {
  position: relative;
  padding-left: 1.3em; 
  margin-bottom: 1rem;
}

/* 文頭の丸（●）をCSSで追加 */
.notes li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8em;
  color: var(--primary);
}

/* Shop Link Button */
.shop-link {
  padding: 1rem 2rem 6rem;
  text-align: center;
  background-color: var(--white);
  margin-top: auto; 
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-blue);
  color: var(--white);
  font-size: 1.8rem;
  font-weight: bold;
  padding: 1.8rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.1);
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  position: relative;
}

.btn::after {
  content: "＞";
  position: absolute;
  right: 20px;
  font-size: 1.6rem;
  transition: transform 0.3s;
}

.btn:active {
  transform: translateY(4px);
  box-shadow: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 0;
  background-color: var(--primary);
  color: var(--white);
}

footer p {
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* ==========================================
   PC View Styles (769px ~)
   ========================================== */
@media screen and (min-width: 769px) {
  .coupon-lead {
    font-size: 1.6rem;
  }
  
  .coupon-code {
    font-size: 3.6rem;
  }
  
  .notes-wrapper {
    padding: 3rem 4rem;
  }

  .notes {
    padding: 3.5rem 4rem;
  }
  
  .btn {
    font-size: 2rem;
  }
  
  .btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
  }
  
  .btn:hover::after {
    transform: translateX(5px);
  }
}