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

html{
	font-size: 62.5%;/*16px × 62.5%=10px*/
}

body{
	color: #1A1A1A;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-size: 1.6rem;
	line-height: 1.85;
	font-feature-settings: 'palt';
	letter-spacing: 0.05em;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:glayscale;
}

.bold_ja{
 	font-family: 'M PLUS Rounded 1c', sans-serif;
  	font-weight: 700;
}

.regular_en{
  font-family: 'Baloo Bhaina', cursive;
  font-weight: 400;
}
/*
.semi-bold_en{
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
}

.bold_en{
  font-family: 'Cabin', sans-serif;
  font-weight: 700;
}
*/
img{
	max-width: 100%;
	height: auto;
}

.text-center{
	text-align: center;
}

.pc__img{
	
}

.sp__img{
	display: none;
}



/*------------------------------------
 *
 * test
 *
 *----------------------------------*/

#containment-wrapper {
	position: relative;
    min-height: 100vh;
/*	height: calc(var(--vh, 1vh) * 100);*/
	width: 100vw;
    padding: 30px;
/*	background: #AAE6F4;*/
}

#logo {
	position: absolute;
	display: block;
	width: 180px;
	height: auto;
}

body {
	display: flex;
	width: 100%;
	height: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
	background: #AAE6F4;
}

.Manual-open {
	position: absolute;
	right: 30px;
	display: inline-block;
	color: #006837;
	font-size: 2.4rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	padding: 7px 20px;
	border: solid 2px #006837;
	border-radius: 25px;
	background: #fff;
	text-decoration: none;
	transition: .1s;
}
.Manual-open:hover {
	background: #006837;
	color: white;
}

.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
	left: 0;
    width: 100%;
	z-index: 102;
}
.modal_bg{
    background: #fff;
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal_content{
    background: rgba(255,255,255,0);
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 70%;
}
.Manual-close {
	position:absolute;
	top: 0px;
	right: 0px;
}
.modal_content p {
	margin-top: 20px;
	text-align: center;
	color: #006837;
	font-size: 2.6rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.7;
}
.sp {
	display: none;
}
.close-button {
	width: 125px;
	height: 136px;
}





/* -------------- Animation -------------- */

#animation {
	display: inline-block;
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
	width: 100%;
}



/* -------------- Frame -------------- */

#frame {
	width: 200px;
	height: 324px;
	background: url('../img/tomato_move.gif') no-repeat center center;
	animation: frame-animation 1.2s steps(10) infinite; 
	margin: 0 auto;
}

@keyframes frame-animation { 0% { background-position: 0px 0; } 100% { background-position: -2000px 0; } }



/* -------------- Roll -------------- */

.showRoll #roll {
  opacity: .2;
}

#roll {
  opacity: 0;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 2000px;
  height: 324px;
  border: 1px solid hsl(0,0%,70%);
  background: hsl(0,0%,100%) url('../img/tomato_move.gif') no-repeat left top;
  transition: opacity .3s linear;
  animation:  roll-animation 1.2s steps(10) infinite;
}

@keyframes roll-animation { 
  0% { transform: translateX(0); } 
  100% { transform:  translateX(-2000px); } 
}


/* Animation Duration ------------------------------------------------------ */

#duration {
	width: 100vw;
	display: inline-block;
	margin-top: 50px;
	list-style: none;
	text-align: center;
	font-size: 2.2rem;
	font-weight: 500;
	color: #1A1A1A;
	letter-spacing: 0.08em;
	line-height: 1;
}

/* Input */

#duration-input {
	-webkit-appearance: none;
	vertical-align: middle;
	width: 150px;
	border-radius: 40px;
	background: #FFFFFF;
	margin: 0 5px;
	outline: none;
}

#duration-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	border-radius: 40px;
	width: 30px;
	height: 40px;
	border: 20px solid #444444;
	background: #444444;
	-webkit-transition: border-width .2s cubic-bezier(.26, .08, .15, 1);
}





@media screen and (max-width:959px) {
	#logo {
		width: 180px;
		height: auto;
	}
	
	.Manual-open {
	position: absolute;
	right: 30px;
	display: inline-block;
	color: #006837;
	font-size: 2.4rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	padding: 7px 20px;
	border: solid 2px #006837;
	border-radius: 25px;
	background: #fff;
	text-decoration: none;
	transition: .1s;
}

	.modal_content{
		width: 90%;
	}
	
	#animation {
    left: 50%;
    top: 40%;
    transform: translate(-50%,-40%);
}


}



@media screen and (max-width:767px) {
/*iphone,mobile用のcssを記述*/
	
/*------------------------------------
 *
 * test
 *
 *----------------------------------*/	
	
	#containment-wrapper {
		padding: 15px;
	}
	
	#logo {
		width: 120px;
		height: auto;
	}
	.Manual-open {
		right: 15px;
		font-size: 1.8rem;
		padding: 7px 15px;
	}
	.modal_content{
		width: 120%;
	}
	.close-button {
		width: 90px;
		height: auto;
	}
	.modal_content p {
		font-size: 2.0rem;
	}
	.pc { display:none; }
	.sp { display:block; }
	
	#animation {
		left: 50%;
		top: 40%;
		transform: translate(-50%,-40%);
	}
	#duration {
		margin-top: 40px;
		font-size: 1.8rem;
	}
	
}





