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

#menu h1{
	text-align: center;
  margin-top: 15%;
  border-top: dashed 2px skyblue;
  border-bottom: dashed 2px skyblue;
}

.midasi{
	text-align: center;
}


.title{
	max-width: 1280px;
	width: 100%;
	height:0 auto;
	text-align: center;
	margin-top: 5%;
}


.syouhin{
	text-align: center;
}

.nedan{
	text-align: center;
}

.bun{
	margin:5%;
}

.category{
	justify-content: center;
    vertical-align: top;
	display: flex;
  flex-wrap: wrap;
}

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

.icon{
   width: 200px;
  height: 0 auto;
	padding: 5%;
}

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

/*====================購入====================*/
#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 {
  display: none; /* label でコントロールするので input は非表示に */
}

.popup-open {
  display: block; /* 要素をブロックレベルに変更 */
  text-align: center; /* テキストを中央揃え */
  margin-bottom: 10%;/* 左右のマージンを自動でセンター揃え */
  padding: 20px 20px;
  border-radius: 25px;
	background-color: #E4FEFF;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 1em;
  transition: all 0.2s ease-in-out;
}

.popup-overlay {
  display: none; /* input にチェックが入るまでは非表示に */
}

#popup:checked ~ .popup-overlay {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明の背景 */
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}


.popup-window {
  width: 90vw;
  max-width: 1000px;
  padding: 20px;
  border-radius: 20px; /* 角丸 */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* ふんわり影 */
	background-color: #FFFFFF;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: popup-appear 0.3s ease-out;
}

.popup-text {
  margin: 0;
}

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

.popup-close {
  cursor: pointer;
  position: absolute;
  top: -26px;
  right: 0;
  border-radius: 50%; /* 丸い形 */
  text-align: center;
  line-height: 30px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

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


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

.popup-open2 {
  display: block; /* 要素をブロックレベルに変更 */
  text-align: center; /* テキストを中央揃え */
  margin-bottom: 10%;/* 左右のマージンを自動でセンター揃え */
  padding: 10px 20px;
  border-radius: 25px;
	background-color: #E4FEFF;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 1em;
  transition: all 0.2s ease-in-out;
}

.popup-overlay2 {
  display: none; /* input にチェックが入るまでは非表示に */
}

#popup2:checked ~ .popup-overlay2 {
  display: block;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明の背景 */
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}


.popup-window2 {
  width: 90vw;
  max-width: 1000px;
  padding: 20px;
  border-radius: 20px; /* 角丸 */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* ふんわり影 */
	background-color: #FFFFFF;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: popup-appear 0.3s ease-out;
}

.popup-text2 {
  margin: 0;
}

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

.popup-close2 {
  cursor: pointer;
  position: absolute;
  top: -26px;
  right: 0;
  border-radius: 50%; /* 丸い形 */
  text-align: center;
  line-height: 30px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

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


@media (max-width: 768px) {
    /* 768px以下でレイアウト調整 */
    #category {
        flex-direction: column;
        align-items: center;
    }

    .icon {
        width: 80%;  /* 画面の幅に合わせてアイコンを広く */
        margin: 10px 0;
    }
	
    .icon img {
        max-width: 100%;     /* 画面幅に応じて画像サイズを調整 */
        height: auto;        /* 高さは自動調整 */
    }

    .navi ul {
        flex-direction: column;
        align-items: center;
    }

    .navi ul li {
        margin: 10px 0;
    }

    .bun .nedan {
        font-size: 14px; /* フォントサイズを小さく */
	}
		
	.popup-window {
    width: 95vw; /* 画面幅に合わせて広げる */
    padding: 15px; /* 余白を少し狭く */
    max-width: none; /* 最大幅の制限を解除 */
    font-size: 14px; /* テキストサイズを小さめに */
  }
  
  .popup-close {
    top: -20px; /* 閉じるボタンの位置を調整 */
    right: 5px;
  }
  
  .popup-text {
    font-size: 14px; /* テキストサイズ調整 */
    line-height: 1.5; /* 行間を調整して読みやすく */
    }
	
	 .popup-window2 {
    width: 95vw; /* 画面幅に合わせて広げる */
    padding: 15px; /* 余白を少し狭く */
    max-width: none; /* 最大幅の制限を解除 */
    font-size: 14px; /* テキストサイズを小さめに */
  }
  
  .popup-close2 {
    top: -20px; /* 閉じるボタンの位置を調整 */
    right: 5px;
  }
  
  .popup-text2 {
    font-size: 14px; /* テキストサイズ調整 */
    line-height: 1.5; /* 行間を調整して読みやすく */
  }
}