section.img_select {
	width: 90px;
	height: 103px;
	float: left;
	font-size :80%;
	line-height: 100%;
}
@media screen and (max-width: 480px) {
	section.bg {
		width: 84px;
		height: 100px;
		float: left;
		font-size :80%;
		line-height: 100%;
	}
	section.bg img{
		width: 70px;
		height: 70px;
	}
}
label {
	white-space: nowrap;
}
label.wrap {
	white-space: normal;
}
#thumb img, #thumb2 img {
	width: 150px;
}
@media screen and (min-width: 480px) {
	span.picker {
  		display: none;
  	}
}
@media screen and (max-width: 480px) {
	span.picker {
  		display: inline;
  	}
}
@media screen and (max-width: 320px) {
	.ad {
  		display: none;
  	}
  	.smart {
  		display: inline;
   	}
}
@media screen and (min-width: 320px) {
  	.smart {
  		display: none;
   	}
}

html,h1,h2,input,textarea, select, option, button {
	font-size: 100%;
	font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	line-height: 1.3;
}
body {
	margin: 0;
	padding:0;
    -webkit-text-size-adjust: 100%;
}
footer {
	margin-top: 20px;
	text-align: center;
	font-size: 90%;
	border-top: solid 1px #ccc;
	padding: 0.3em;
	min-height: 150px;
}
footer .menu {
	margin: 1em 0;
	color: #666;
}
footer a, .menu a {
	color: #666;
	text-decoration: none;
}
footer a:hover {
	color:#FF99CC;
	text-decoration: underline;
}
address {
	font-style: normal;
	margin-bottom: 1em;
}
h1 {
	color:#fff;
	margin: 0;
	font-size: 120%;
	text-align: center;
	padding: 10px;
	font-weight: bold;
	/*	background-color:#6699FF; */
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b6e6f9+0,2ab0ed+100 */
	background: #2b5876; /* Old browsers */
	background: -moz-linear-gradient(top,  #4e4376 0%, #2b5876 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #4e4376 0%,#2b5876 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #4e4376 0%,#2b5876 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e4376', endColorstr='#2b5876',GradientType=0 ); /* IE6-9 */
	line-height: 1.5;
}
h1:before {
    content: url(meishi.png);
	display: inline-block;
    width:32px;
    height: 32px;
	vertical-align: bottom;
	margin-right: 10px;
}
form div.note,
.fm div.note {
	font-size:12px;
	line-height: 1.4;
	padding: 0.5em;
}
form section.block {
	margin-top: 1em;
}
h2 {
	font-size: 1rem;
}
form h2 span, h3 span, span.note {
	color: #333;
	font-size: 80%;
}
form h2 span.n {
	color: #CC0033;
}
div.fm {
	margin: 2px;
/*	border:solid 1px #ccc;*/
	padding: 10px;
}
div.wrapper {
	width: 100%;
	max-width: 780px;
	margin: auto;
}
.wrapper h2, form h2 {
	color: #2b5876;
	font-size: 100%;
	max-width: 100vw;
	padding: 2px;
	margin-top: 0.3em;
	margin-bottom: 0;
	font-weight: bold;
}
.wrapper h3, form h3 {
	color: #333;
	font-size: 100%;
	max-width: 100vw;
	padding: 2px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0;
}
h3:nth-child(n + 1) {
	margin-top: 1em;
}
fieldset {
	margin:0;
	margin-bottom: 20px;
	max-wisth: 99vw;
}
fieldset legend {
	font-weight: bold;
}
input[type=text] {
	width: 88%;
}

input[type=text], textarea {
	max-width: 88%;
	font-size: 1rem;
	line-height: 1.3;
	margin: auto;
	border : solid 1px #2b5876;
}
input[name=sig], input[name=site]{
	width: 80%;
}
input[type=submit], input[type=button], button.sb{
	border : solid 1px #2b5876;
	padding: 5px 10px;
	letter-spacing: 0.1em;
	color: #fff;
	background: #2b5876; /* Old browsers */
	background: -moz-linear-gradient(top,  #4e4376 0%, #2b5876 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #4e4376 0%,#2b5876 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #4e4376 0%,#2b5876 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e4376', endColorstr='#2b5876',GradientType=0 ); /* IE6-9 */
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
	margin-top: 0.5em;
	cursor: pointer;
}
input[type=reset], input.del{
	border : solid 1px #999;
	padding: 5px 10px;
	letter-spacing: 0;
	color: #333;
	background: #ccc; /* Old browsers */
	background: -moz-linear-gradient(top,  #eee 0%, #ccc 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #eee 0%,#ccc 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #eee 0%,#ccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eee', endColorstr='#ccc',GradientType=0 ); /* IE6-9 */
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
	margin-top: 0.5em;
	margin-left: 0.2em;
}

/* 押したとき*/
input[type=submit]:active,
input[type=button]:active,
input[type=reset]:active,
button.sb:active,
input.del:active{
	border : solid 1px #333;
	color: #fff;
	background: #333; /* Old browsers */
}

input.save{
	border : solid 1px #cf026c;
	padding: 5px 10px;
	letter-spacing: 0;
	color: #fff;
	background: #cf026c; /* Old browsers */
	background: -moz-linear-gradient(top,  #cf026c 0%, #8d1d55 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #cf026c 0%,#8d1d55 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #cf026c 0%,#8d1d55 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cf026c', endColorstr='#8d1d55',GradientType=0 ); /* IE6-9 */
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
	margin-top: 0.5em;
	margin-left: 0.2em;
}

input#random{
	border : solid 1px #00cdac;
	padding: 5px 10px;
	letter-spacing: 0;
	color: #fff;
	background: #00cdac; /* Old browsers */
	background: -moz-linear-gradient(top,  #00cdac 0%, #8ddad5 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #00cdac 0%,#8ddad5 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #00cdac 0%,#8ddad5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00cdac', endColorstr='#8ddad5',GradientType=0 ); /* IE6-9 */
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
	margin-top: 0.5em;
	margin-left: 0.2em;
}


#caution, #caution2 {
	display: none;
	border: solid 2px red;
	padding: 5px;
	font-size: 90%;
	max-width:90%;
}
@media screen and (max-width:480px) {
	.ad {
		display: none;
	}
	form textarea {
		height: 15em;
	}
}
div.share {
	margin: 1em 0;
}

.footer {
	width: 100%;
	text-align: center;
	background-color: #333;
	color: #fff;
	position: absolute;
	bottom: 0;
	padding: 2px 0;
	font-size: 80%;
	z-index:2;
}
.back {
	position: absolute;
	top: 5px;
	right: 5px;
	border: solid 1px #333;
	padding: 3px;
	font-weight: bold;
	text-decoration: none;
}
a:hover.back {
	background-color: yellow;
	color: #333;
	border-color: #333;	
}


/* 右上のボタン*/
#TR {
    position: fixed;
    top: 50px;
    width: 6rem;
    line-height: 50px;
}
@media screen and (min-width:780px) {
	#TR {
	    margin: auto;
	    margin-left: 680px;
	    text-align:right;
	    opacity:0.6;
	}
}
@media screen and (max-width:780px) {
	#TR {
		right:0;
	    max-width: 6rem;
	    margin: auto;
	    text-align:right;
	    opacity:0.6;
	}
}
#TR input {
	padding:20px 10px;
	letter-spacing: 0.3em;
	width:5em;
}
.fixed {
    position: fixed;
    width: 96%;
    max-width: 760px;
}
#page-top {
    position: fixed;
    bottom: 70px;
    right: 20px;
    font-size: 80%;
    line-height:30px;
}
 
#page-top a {
    display: block;
    background: #666;
    color: #fff;
    width: 60px;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
}
 
#page-top a:hover {
    background: #999;
    text-decoration: none;
}
#TR #menu {
	margin-top :10em;
    margin: auto;
    text-align:right;
}

#menu div {
  position: relative;
}
#TR div#menu span {
  cursor: pointer;
	border : solid 1px #999;
	padding:10px 18px;
	letter-spacing: 0.3em;
	width:5em;
	color: #333;
	background: #ccc; /* Old browsers */
	background: -moz-linear-gradient(top,  #eee 0%, #ccc 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #eee 0%,#ccc 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #eee 0%,#ccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eee', endColorstr='#ccc',GradientType=0 ); /* IE6-9 */
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#TR div#menu ul {
	top: 30px;
	margin-top: :0;
  display: none;
  position: absolute;
  right:0;
	list-style: none;
	line-height:1.3;
}
#TR div#menu ul li {
	position: relative;
  right:0;
	padding: 10px 5px;
	margin :3px 0;
	letter-spacing: 0.3em;
  width: 3.5rem;
  	font-size:80%;
	border : solid 1px #999;
	padding: 5px 10px;
	color: #333;
	background: #ccc; /* Old browsers */
	background: -moz-linear-gradient(top,  #eee 0%, #ccc 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #eee 0%,#ccc 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #eee 0%,#ccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eee', endColorstr='#ccc',GradientType=0 ); /* IE6-9 */
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
	list-style: none;
	text-align: center;
}
#TR div#menu ul li a {
	display: block;
	text-decoration: none;
	color: #333;
}
.twitter {
	position:absolute;
	right:0;
	top: 0;
}
.modal-content {
    position:fixed;
    display:none;
    z-index:2;
    width:680px;
    max-width: 100%;
    margin:0;
    padding:10px 20px;
    border:2px solid #aaa;
    background:#fff;
}
.modal-content img {
	max-width: 95%;
	height: auto;
}

.modal-content p {
    margin:0;
    padding:0;
}

.modal-overlay {
    z-index:1;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(0,0,0,0.75);
}

.modal-open {
    color:#00f;
    text-decoration:underline;
}

.modal-open:hover {
    cursor:pointer;
    color:#f00;
}

.modal-close {
    color:#00f;
    text-decoration:underline;
}

.modal-close:hover {
    cursor:pointer;
    color:#f00;
}
#ham-menu {
	color: #fff;
    background-color: #AC1B4E; /*メニュー背景色*/
    box-sizing: border-box;
    min-height: 100%;
    position: fixed;
    padding: 0 20px; /*メニュー内左右上下余白*/
    left: -270px; /*メニュー横幅 width と合わせる*/
    top: 0;
    transition: transform 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 270px; /*メニュー横幅*/
    z-index: 1000;
    line-height: 180%;
    font-size: 13px;
}
#ham-menu li {
    list-style-type: none;
    cursor: pointer;
    text-decoration: underline;
}
#ham-menu ul {
	margin-left: 0;
	padding-left: 0.5em;
}
#ham-menu li ul {
	margin-left: 5px;
	padding-left: 1em;
}
#ham-menu a {
	color: #fff;
}

#menu-background {
    background-color: #333; /*黒背景*/
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 100%;
    z-index: -1;
}

#menu-icon {
    background-color: #AC1B4E; /*アイコン部分背景色*/
    border-radius: 0 0 10px 0; /*左下角丸*/
    color: #fff; /*アイコン（フォント）色*/
    cursor: pointer;
    display: block;
    height: 75px; /*アイコン縦高さ*/
    padding:20px 0;
    position: absolute;
    left: 0;
    text-align: center;
    top: 0;
    width: 50px; /*アイコン横幅*/
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    z-index: 1000;
}

#menu-cb {
    display: none; /*チェックボックス本体は消しておく*/
}

#menu-cb:checked ~ #ham-menu,
#menu-cb:checked ~ #menu-icon {
    transform: translate(250px); /*メニュー本体横幅 width と合わせる*/
}

#menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
}
#favoriteForm {
	display: none;
}
#favoriteFormOrder {
	display: none;
}
/* 広告 */
div#news {
	background-color:#FFFF99;
	font-size:90%;
	padding:2px;
	text-align:center;
}
/* 画像セット */
.imgset_select{
	margin: 10px 0;
}
.imgset_select a{
	background-color:green;
	color:white;
	border-radius:5px;
	padding:8px;
	text-decoration:none;
	font-size:90%;
}
.imgset_select a:hover{
	background-color:#66CCCC;
	color: #000;
}