/* CSS Document */


/* アニメーション定義 */
/* 配置は親(.swing)でだけ行う */
.swing {
  position: absolute;
  top: 235px;
  left: 50%;
  transform: translateX(-50%); /* 横中央に固定 */
}

/* 回転は子(img)だけに与える → translateの上書きが起きない */
.swing img {
  display: block;
  transform-origin: center center;
  animation: swingAnim 2.6s ease-in-out infinite; /* 好みで2.5sなどに調整 */
}

@keyframes swingAnim {
  0% {
    transform: rotate(15deg);   /* 右15°からスタート */
  }
  35% {
    transform: rotate(-15deg);  /* 左15°へ回転 */
  }
  50% {
    transform: rotate(-15deg);  /* 左で0.3秒停止 */
  }
  85% {
    transform: rotate(15deg);   /* 右へ回転 */
  }
  100% {
    transform: rotate(15deg);   /* 右で0.3秒停止 */
  }
}

.toph3{
	color: #a6212e;
	font-size:32px;
	margin-top:0;
}

.mission{
	width: 800px;
	height: 800px;
	background: url(https://gigaplus.makeshop.jp/menchoku/lp202511/006_pc2.png) center center no-repeat;
	background-size: 800px 800px;
	margin: 30px auto 0;
}


.grid-wrap {
  width: 765px;
  height: 765px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  border: none;
  position: relative;
	margin: 0 auto;
	    padding-top: 20px;
}

.cell {
  position: relative;
  border: none; /* 必要なら消せる */
}

.cell img {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: block;
  max-width: 100%; /* 必要に応じて */
	width:123px;
	height: 35px;
	cursor: pointer;   /* ← これを追加！ */
}





/* ===== モーダル全体 ===== */
.overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  animation: fadeIn .2s ease;
}
.overlay[hidden] { display: none; }
body.modal-open { overflow: hidden; }

/* ===== 拡大画像（700px上限） ===== */
.modal-content {
  position: relative;
  display: inline-block;
  max-width: 90vw;
  max-height: 90vh;
}
.modal-content img {
  display: block;
  max-height: min(700px, 90vh);
  width: auto;
  max-width: 90vw;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  object-fit: contain;
}

/* ===== 閉じるボタン（画像右上） ===== */
.close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,1);
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}
.close:hover { background: rgba(0,0,0,0.8); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


	
body {
  background-color: #f3efe6;
	color:#000;
	font-size:16px;
	overflow-x: hidden;
}

#makebanner td{
	font-family: "zen-maru-gothic", sans-serif;
font-weight: 400;
font-style: normal;
}
	
	.containerkvshampoo {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}
	
.rowflex3 {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
	align-items: flex-start;
	margin-top: 60px;
}
	
.container3 {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background-color: #006e4f;
  background-image: url("https://gigaplus.makeshop.jp/menchoku/lp202511/foot_pc.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 1201px 599px; /* 画像を50%スケールで表示 */
	min-height: 599px;
	margin-top: 100px;
	position: relative; /* 子要素の絶対配置の基準にする */
}
	
.container4 {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background-image: url("https://gigaplus.makeshop.jp/menchoku/shouhin/ocean/pc14-min.png");
  background-size: 1100px auto; /* 幅400pxに縮小して高さは自動調整 */
  background-repeat: no-repeat;
  background-position: center top;
	min-height: 1000px;
	margin-top: 170px;
}
	
	
	
h4 {
    margin-top: 15px!important;
font-family: "zen-maru-gothic", sans-serif;
font-weight: 700;
font-style: normal;
}
.uchiwake h4{
    margin-top: 0px!important;
}
.containerkvshampoo {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}
.kvarea {
    height: 777px!important;
background: url(https://gigaplus.makeshop.jp/menchoku/lp202511/bg.png)center top no-repeat;
	background-size: cover;
	background-position: center bottom; 
}
	
    
	
.img_wrap img {
  width: 1100px !important;
  height: 722px !important;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
transition-delay: 1s;
}
.img_wrap.visible img {
  opacity: 1;
}
#kagokotei1 {
    position: fixed;
    right: 10px;
    bottom: 89px;
    width: 180px;
    height: 247px;
    z-index: 9999;
}
	
#kagokotei2 {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 180px;
    height: 69px;
    z-index: 9999;
}
	
#kagokotei1 img, #kagokotei2 img{
border-radius:5px;
}
	
	
	
	
	
	
	
	h2{
font-family: "zen-maru-gothic", sans-serif;
font-weight: 700;
font-style: normal;
		text-align: center;
	}
	
	h3{
font-family: "zen-maru-gothic", sans-serif;
font-weight: 700;
font-style: normal;
		text-align: center;
		    color: #a6212e;
		margin-top: 30px;
	}
	
	.mintyou_p{
				font-family: "dnp-shuei-ymincho-std", sans-serif;
font-weight: 500;
font-style: normal;
		color: #fff;
		font-size: 18px;
	}
	
.speech-bubble {
  position: relative;
  background: #fff;
  border: 1.5px solid #3eaac3; /* 吹き出し本体の枠線 */
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 auto;
  text-align: left;
	text-align: justify;
	max-width: 240px;
	font-size: 14px;
	color: #3eaac3;
}

/* 三角（外側：枠線用） */
.speech-bubble::before {
  content: "";
  position: absolute;
  top: -12px; /* 本体の上に出す */
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 12px 12px 12px;
  border-style: solid;
  border-color: transparent transparent #3eaac3 transparent; /* 枠線色（外側） */
}

/* 三角（内側：背景用） */
.speech-bubble::after {
  content: "";
  position: absolute;
  top: -10px; /* 外側より少し下げる */
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #fff transparent; /* 吹き出しの背景色 */
}
	
.speech-bubble2 {
  position: relative;
  background: #3eaac3;
  border: 1.5px solid #3eaac3; /* 吹き出し本体の枠線 */
  border-radius: 8px;
  padding: 15px 20px;
  margin: 0 auto;
  text-align: left;
	text-align: justify;
	max-width: 240px;
	font-size: 14px;
	color: #ffffff;
	margin-top: 20px;
}

/* 三角（外側：枠線用） */
.speech-bubble2::before {
  content: "";
  position: absolute;
  top: -12px; /* 本体の上に出す */
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 12px 12px 12px;
  border-style: solid;
  border-color: transparent transparent #3eaac3 transparent; /* 枠線色（外側） */
}

/* 三角（内側：背景用） */
.speech-bubble2::after {
  content: "";
  position: absolute;
  top: -10px; /* 外側より少し下げる */
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #3eaac3 transparent; /* 吹き出しの背景色 */
}
	.kyoukan{
		position: relative;
		max-width: 1000px;
		margin: 0 auto;
		text-align: center;
		color: #fff;
	}
	
	.kyoukan h2,.container1 h2{
		font-size: 36px;
		margin-bottom: 10px;
	}
	
	.kyoukan_main{
		max-width: 100%;
		height: auto;
		margin-top: 90px;
	}
	.kyoukan_hidari{
		position: absolute;
		width: 181px;
		height: 135px;
		top:105px;
		left: 50%;
  transform: translateX(-50%);
  margin-left: -430px; /* ← 左へ100px */
	}
	
	.kyoukan_migi{
		position: absolute;
		width: 128px;
		height: 200px;
		top:60px;
		right: 50%;
  transform: translateX(-50%);
  margin-right: -520px; /* ← 左へ100px */
	}
	.score{
		border: 1px solid #fff;
		border-radius:8px;
		margin-top: 90px;
		max-width: 100%;
		padding: 0 40px 20px 40px;
		    display: inline-block;
	}
	
	.score h3{
margin: 0 auto;
		margin-top: 35px;
		color: #fff;
	}
	
	.score h3 span{
		font-size:16px;
	}
	
	.score p span{
		color: #ffff00;
		font-size:20px;
	}
	
	.container1{
		max-width:980px;
		margin: 0 auto;
		margin-top:100px; 
		text-align: center;
	}
	
	.kyoukan_main1{
		max-width: 100%;
		height: auto;
		margin-top: 70px;
		margin-bottom: 40px;
	}
	
	.nep_text{
		border: 1px solid #fff;
		border-radius: 8px;
		width: fit-content;
  padding: 20px 30px;
		color: #fff;
		margin: 0 auto;
		margin-top: 60px;
		line-height: 2.0em;
	}