@charset "UTF-8";
* {
  box-sizing: border-box;
}

#menu{
	max-width: 1280px;
	width: 100%;
	height: 0 auto;
  align-items: center;
  justify-content: center;
	margin: 0 auto;
	overflow:auto;  
}

#menu h1 {
  font-size: 2.2em;
  font-weight: bold;
  color: #EC75A9;
  text-align: center;
  position: relative;
  margin: 3rem 0;
}

h1::before,
h1::after {
  content: "✦✦✦✦✦✦✦✦✦";
  display: block;
  font-size: 0.8em;
  color: #FFCC33;
  margin: 0.5rem auto;
}
.midasi{
	text-align: center;
}

.title {
  color: #EC75A9; /* ピンク */
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  margin: 2rem 0 0;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, #FFCC33, #EC75A9, #00BFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}


.syouhin{
	text-align: center;
}

.nedan{
	text-align: center;
}

.bun{
	margin:5%;
}

.category {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px; 
  margin-bottom: 5%;
}


.category img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.icon {
  width: calc(33.333% - 16px); /* デフォルトは3カラム */
  padding: 4%;
  border: 2px solid #EC75A9;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(236, 117, 169, 0.2);
  transition: transform 0.3s ease;
}

.size p{
	font-size: 14px;
}


@media screen and (max-width: 768px) {
  .category {
    justify-content: center;
  }
  .icon {
    width: calc(50% - 16px);
  }
	.syouhin,.nedan{
		font-size: 16px;
	}
	.comment{
		font-size: 14px;
	}
	.size{
		font-size: 12px;
	}
	.midasi{
		margin: 0 5%;
	}
}
/*====================購入====================*/
#kounyuu{
	margin: 0 auto;
	text-align: center;
}

#kounyuu h2{
	color: #00C2E3;
}

.botan {
    display: flex;
    align-items: center;
    justify-content: center; /* ボタンを中央揃え */
    margin: 5%;
    gap: 20px; /* ボタン間のスペース */
}

.botan a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 30px; /* 丸みのある角 */
    width: 200px; /* ボタン幅 */
    height: 60px; /* ボタン高さ */
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* 文字の影 */
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); /* 明るいグラデーション */
    box-shadow: 0 5px 10px rgba(255, 150, 150, 0.4); /* ふんわり影 */
    transition: all 0.3s ease-in-out;
    transform: scale(1);
}

.botan a:hover {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%); /* ホバーカラー */
    box-shadow: 0 7px 15px rgba(173, 216, 230, 0.5); /* ホバー時の影 */
    transform: scale(1.1); /* ホバー時に少し大きく */
}

.botan a:active {
    transform: scale(0.95); /* クリック時に少し縮む */
    box-shadow: 0 3px 7px rgba(255, 105, 135, 0.3); /* 影を縮小 */
}

/* スマホサイズ用のレスポンシブ */
@media (max-width: 768px) {
    .botan a {
        width: 160px; /* 小さい画面用の幅調整 */
        height: 50px; /* 小さい画面用の高さ調整 */
        font-size: 16px; /* フォントサイズを縮小 */
    }
}


/*====================ポップアップボム====================*/
#popup,#popup2 {
  display: none; /* label でコントロールするので input は非表示に */
}

.popup-open,.popup-open2 {
  display: block;
  text-align: center;
  margin: 0 15%;
  padding: 15px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #d1f3ff 0%, #e4fdff 100%);
  box-shadow: 0 6px 12px rgba(0, 191, 255, 0.3);
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #004f6e;
  transition: all 0.3s ease-in-out;
  user-select: none;
}

.popup-open:hover,.popup-open2:hover {
  background: linear-gradient(135deg, #b5ecff 0%, #d8fbff 100%);
  box-shadow: 0 8px 16px rgba(0, 191, 255, 0.5);
  transform: scale(1.05);
}
.popup-overlay,.popup-overlay2 {
  display: none; /* input にチェックが入るまでは非表示に */
}

#popup:checked ~ .popup-overlay,#popup2:checked ~ .popup-overlay2 {
  display: block;
  z-index: 10000;
  background-color: rgba(175, 238, 255, 0.3); /* 優しい水色の半透明 */
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}


.popup-window,.popup-window2 {
  width: 90vw;
  max-width: 600px;
  padding: 25px 30px;
  border-radius: 30px;
  box-shadow: 0 12px 30px rgba(0, 191, 255, 0.25);
  background: #ffffff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: popup-appear 0.3s ease-out;
  font-family: 'Helvetica Neue', sans-serif;
	font-size: 12px;
  color: #004a66;
  line-height: 1.6;
}

.popup-text,.popup-text2 {
  margin: 0;
}

.popup-text:not(:last-of-type),.popup-text2:not(:last-of-type) {
  margin-bottom: 1em
}

.popup-close,.popup-close2 {
  cursor: pointer;
  position: absolute;
  top: -15px;
  right: -15px;
  width: 36px;
  height: 36px;
  background: #a7e8ff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 191, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.popup-close:hover,.popup-close2:hover {
  background: #7fd8f8;
}

.popup-close::after,.popup-close2::after {
  content: "✕";
  color: white;
  font-weight: bold;
  font-size: 18px;
}

/* ポップアップ出現アニメーション */
@keyframes popup-appear {
  0% {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  .popup-open,.popup-open2 {
    font-size: 1em;
    padding: 0.8em 1.5em;
  }

  .popup-window,.popup-window2 {
    width: 90vw;
    padding: 16px;
  }

  .popup-close,.popup-close2 {
    width: 32px;
    height: 32px;
    top: -10px;
    right: -10px;
  }

  .popup-close::after,.popup-close2::after {
    font-size: 16px;
  }
	.popup-text,.popup-text2{
		font-size: 12px;
	}
}
