@charset "UTF-8";

/* 全体のリセット */
body, h1, p {
    margin: 0;
    padding: 0;
}

/* ベーススタイル */
body {
    font-family: 'Arial', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* バナーエリア */
.banner {
    display: flex;
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
    padding-right: 10%;
    background-color: #6db032; /* 緑背景 */
    color: #fff;

}

/* アイコンエリア */
.icon-container {
    flex-shrink: 0;
    margin-right: 0px;
}

.icon {
    width: 190px;
    height: 190px;
    border-radius: 30%;
}

/* テキストエリア */
.text-container h1 {
    font-size: 3.0rem;
}

/* 概要テキスト */
.description {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    color: #333;
    font-size: 1.8rem;
}

.description p {
    margin: 0;
    line-height: 1.8;
}

.qr {
    display: inline-block;
    margin-left: 5%;
}

.qr-icon {
    height: 100px; 
    width: 100px;
    padding-top: 6%;
}








/* Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Meiryo", sans-serif;
  background-color: #fff;
  color: #222;
  text-align: center;
}

.coupon-container {
  max-width: 1400px;
  margin: 20px auto;
  padding: 0 10px;
  align-items: center;
}

.coupon-note {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
  display: inline-block;
  margin-left: 15%;
}

.note-sub {
  color: #ff0000;
  font-size: 12px;
}

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* グリッド間の隙間 */
  justify-items: center;
  align-items: center;
  background-color: #ffffff;
  padding: 15px;
  background-image: url("spring.gif");
  background-position: center center;
  background-size: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.coupon {
  border: 1px solid #ffffff;
  background-color: #ffffcd;
  padding: 1px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 270px;
  width: 320px;
  gap: 8px;
  cursor: default;
  user-select: none;
  border-radius: 10px;
}

.coupon.highlighted {
  background-color: #c7efff;
}

.category {
  font-size: 13px;
  color: #555;
  margin: 0;
  margin-bottom: 5px;
}

.title {
  font-size: 22px;
  font-weight: bold;
  color: #e90000;
  margin: -10px;
}

.store {
  font-size: 12px;
  color: #444;
  margin: 0;
}

.btn-display {
  margin-top: 0px;
  margin-bottom: 5px;
  background-color: #ff2222;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(255,34,34,0.5);
  line-height: 1.3;
  user-select: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.btn-display:hover,
.btn-display:focus {
  background-color: #cc1c1c;
  outline: none;
}

/* モーダル（ポップアップ）関連 */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5); /* 背景を薄暗く */
  display: none; /* 初期は非表示 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.modal-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

#modal-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  color: #444;
  font-weight: bold;
  padding: 0;
  user-select: none;
}

#modal-close-btn:hover,
#modal-close-btn:focus {
  color: #000;
  outline: none;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .coupon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (max-width: 600px) {
  .coupon-list {
    max-width: 100%;
    margin: 10px;
  }

  .coupon-icon {
    width: 60px;
  }

  .coupon-get {
    padding: 0 2px;
  }

  .get-btn {
    padding: 8px 16px;
    font-size: 16px;
  }

  .title.main {
    font-size: 18px;
  }

  .description {
    font-size: 1.1rem;
}

  .text-container h1 {
    font-size: 1.8rem;
}

  .icon {
    width: 90px;
    height: 90px;
    border-radius: 30%;
  }
  
  .coupon-grid {
    grid-template-columns: 1fr;
  }
  .coupon {
    border: 1px solid #ffffff;
    padding: 1px 10px;
    height: 270px;
    width: 320px;
    border-radius: 10px;
  }
  .btn-display {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
  }
.coupon-note {
  font-size: 14px;
  margin-left: 0%;
}

.note-sub {
  font-size: 12px;
}
  
}


.selectbox {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox select {
    appearance: none;
    min-width: 350px;
    height: 3.2em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}






  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  /* ボタンクリック時に少しカーソル変えたい場合 */
  button.btn-display {
    cursor: pointer;
  }


@media (max-width: 600px) {
  .qr {
    display: none;
    margin-left: 0%;
}

.qr-icon {
    padding-top: 0%;
    display: none;
}
}




  *{
   
}
outline: 2px red solid;  



/*フッター
---------------------------------------------------------------------------*/
footer * {margin: 0;padding: 0;}
footer ul {list-style: none;}

/*ブロック全体*/
footer {
	background: #222;	/*背景色*/
	color: #ccc;		/*文字色*/
	padding: 0 var(--content-space);
	width: 104%;
}
