@media screen and (max-width: 640px) {

img {
	max-width: 100%;
	height: auto;
	width /***/:auto;
}

#container {
	width:100%;
}

/* スマホ用CSS ↓*/


/* -------------- サイト共通基本プロパティ -------------- */
.contents {
	width: auto;
	margin: 15px 10px;
}

h2 {
	font-size: 18px;
}

#coment-box h2,
#movie2-box h2 {
	background-size: 80px;
	line-height: 1.2;
	padding: 0 0 0 85px;
	margin-bottom: 1em;
}

#coment-box h2 br,
#movie2-box h2 br {
	display: inline;
}

#contact-box h2 span,
#coment-box h2 span,
#movie2-box h2 span {
	margin-top: 5px;
	font-size: 12px;
}

#contact-box h2.nml span {
	font-size: 12px;
}

a.btn {
	width: auto;
	display: block;
	padding:8px;
	font-size: 16px;
}

/* -------------- movie -------------- */
.movie-scd h3 {
	line-height: 1.4;
}


#movie-box ul {
	width: auto;
	margin: 0 0 2em;
}

.movie-scd {
	display: block;
}

.movie-scd span,
.movie-scd p {
	display: block;

}

.movie-scd span {
	width: 150px;
	padding: 5px;
	text-align:center;
	margin-bottom: 0.75em;
}

.movie-scd h3 {
	font-size: 18px;
	margin: 0.5em 0 ;
}

#movie-box ul,
.movie-scd dl,
.movie-thd dl {
	width: auto;
	margin: 0.5em 0 2em;
}


.movie-scd dl {
	display: flex;
	flex-direction: column-reverse;
}

/* ------ recommend ------*/
#recommend-box div {
	padding: 1em;
}
#recommend-box dl {
	display: block;
}
#recommend-box dt,
#recommend-box dd {
	width: auto;
	margin-left: 0;
}
#recommend-box dt {
	text-align: center;
}

#recommend-box dd {
	margin-top: 1em;
}

#recommend-box dd p {
	margin-bottom: 0;
}


/* -------------- Lineup -------------- */


#coment-box div {
	padding: 20px;
}

#coment-box div p {
	padding-bottom: 20px;
	line-height: 1.4;
	margin-bottom: 20px;
}



.lineup-sun .lineup-month,
.lineup-star .lineup-month {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100px;
}
.head-sun,
.head-star,
.lineup-sun,
.lineup-star {
	width: auto;
}
.head-img-smf .head-star,
.head-star,
.lineup-star {
	margin-left: 0;
}

#lineup-box dt,
.isbn {
	margin-left: 80px;
}

.actor {
	margin-left: 70px;
	line-height: 1.4;
}

.image {
	position: relative;
}

.image p:first-child {
	margin: 0 auto;
	text-align: center;
}

.image p:last-child {
	position: absolute;
	right: 0;
	bottom: -80px;
}

.image p:first-child {
	width: 100%;

}
.image p:last-child {
	width: 40%;
}
.keyword p {
	display: block;
}

.keyword p:last-child {
	margin-left: 0;
	margin-top: 5px;
	padding-bottom: 20px;
}

.keyword p:nth-of-type(1) img {
	height: 24px;

}

.keyword p:nth-of-type(2) img {
	height: 16px;
}

.keyword {
	padding-bottom: 0;
}

/* 個別設定 */

.lineup-sun dl,
.lineup-star dl {
	position: relative;
	max-height: 100%;
}


/*
div.lineup-sun dl:nth-of-type(3) .image p:first-child img {
	width: 90%;
}

div.lineup-sun dl:nth-of-type(3) .image p:last-child {
	bottom: -60px;
}

div.lineup-sun dl:nth-of-type(5) .image p:last-child,
div.lineup-star dl:nth-of-type(5) .image p:last-child,
div.lineup-star dl:nth-of-type(6) .image p:last-child {
	bottom: -85px;
}

div.lineup-sun dl:nth-of-type(7) .image p:last-child,
div.lineup-sun dl:nth-of-type(8) .image p:last-child,
div.lineup-sun dl:nth-of-type(9) .image p:last-child,
div.lineup-sun dl:nth-of-type(12) .image p:last-child,
div.lineup-star dl:nth-of-type(7) .image p:last-child,
div.lineup-star dl:nth-of-type(8) .image p:last-child,
div.lineup-star dl:nth-of-type(9) .image p:last-child,
div.lineup-star dl:nth-of-type(12) .image p:last-child  {
	width: 35%;
	bottom: -90px;
}

*/

/* -------------- smf menu -------------- */

.smfhen {
	width:auto;
	display: flex;
	justify-content: space-between;
	margin:15px auto 0;
}

.smfhen li {
	border:2px solid #e84388;
	padding: 5px;
	border-radius: 5px;
}

.smfhen li:last-child {
	border:2px solid #00a0e2;
	margin-left: 10px;
}

/* -------------- smf title -------------- */
.head-img dl.head-star {
	display: none;
}
.head-img-smf {
	display: block;
	border-top: 2px solid #00b8ee;
}

#lineup-box .head-img-smf dl {
	background: none;
	padding: 1em 0 0 0;
	border-radius: none;
	margin-bottom: 2em; 
}

#lineup-box .head-img-smf dt {
	min-height: auto;
	width: 100%;
	display: block;
	margin: 0;
}

#box-sun,
#box-star {
	padding-top: 1em;
}

p.head-read a:link {
	margin-left: 0;
}

/* スマホ用CSS ↑*/

}
