@charset "UTF-8";

/* ============================================================================ */

/* 1.共通

/* ============================================================================ */

#wrapper {
	width: 950px;
  margin: 0 auto; 
  padding: 40px 35px 0 35px;
}

*{
	box-sizing: border-box;
}

.cf {
	overflow: hidden;	
}

.flex{
	display: flex;
}

.logo{
	font-size: 30px;
	text-align: center;
	line-height: 150%;
}

.logo b{
	font-weight: bold;
}

a.linkbtn {
	display: inline-block;
	border: 1px solid #4f8fcc;
    padding: 10px 40px;
    margin-top: 1rem;
    transition: all .3s;
}

a.linkbtn:hover {
	background-color: #4f8fcc;
	color: #fff;
}

.tc{
	text-align: center !important;
}

.mb20{
	margin-bottom: 20px;
}
.mt50{
	margin-top: 50px;
}
.mt20{
	margin-top: 20px;
}

/* 共通レイアウト
----------------------------------------------------*/
/*注釈*/
.attention {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;	
	text-align: center;
}
.attention2 {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;	
	text-align: center;
}

/* 下層ページヘッダー
----------------------------------------------------*/
h1.logo_s {
	width:336px;
	margin: 0 auto;
	margin-top: 5px;
	margin-bottom: 35px;
}


/* フッター
----------------------------------------------------*/
footer {
    padding: 50px 0;
    text-align: center;
    font-size: 12px;
    color: #888;
}

.copyright {
	font-size: 10px;
	text-align:center;
}
.copyright img {
	width:104px;
	margin-right: 5px;
}


/* ============================================================================ */

/* 2.トップページ

/* ============================================================================ */

/* トップページヘッダー
----------------------------------------------------*/
#flameform p{
	text-align: center;
}


/* 写真を読み込むボタン
----------------------------------------------------*/

.flameform_btn {
	margin-top:30px;
}
.flameform_btn label {
	position: relative;
	display: block;
	width: 220px;
	height: 54px;
	margin: 0 auto;
	background-color: #4f8fcc;
	color: #fff;
	font-size: 20px;
	text-align: right;
	cursor: pointer;
	line-height: 54px;
	text-align: center;
}
.flameform_btn label:before {
	content: '';
	position: absolute;
	width: 50px;
	height: 38px;
	top: 8px;
	left: 20px;
	background-size: 50px 38px;
}

.guide_btn {
	margin-top:15px;
}
.guide_btn  a {
	position: relative;
	display: block;
	width: 220px;
	height: 54px;
	margin: 0 auto;
	padding: 15px 0 0 0;
	background-color: #a3d5fb;
	color: #fff;
	font-size: 20px;
	text-align: center;
}

#howto h3{
	margin-top: 1rem;
	border-bottom: 1px solid #000;
	margin-bottom: 0.5rem;
}

#howto p{
	text-align: left;
}

#howto .text{
	padding-left: 30px;
}

#howto ol{
	padding-left: 25px;
}

#howto ul{
	padding-left: 25px;
}

#howto ul li{
	list-style: disc;
}

#howto .att{
	color: #c00;
}

#makecard{
	margin-bottom: 30px;
}

b.big{
	color: #f00;
	font-size: 18px;
}


.alert-error{
	border: 2px solid #a00;
	padding: 20px;
	margin: 20px 0 0;
	color: #a00;
	font-weight: bold;
}

.formErrorContent{
	font-size: 14px;
	color: #a00;
}

/* ============================================================================ */

/* 3.画像編集画面

/* ============================================================================ */


#help{
	border: 1px solid #4f8fcc;
	padding: 10px 10px 10px 30px;
	margin-bottom: 20px;
}

#help li{
	list-style: disc;
}

/* サンプルテキスト
----------------------------------------------------*/
#kakou {
	float:left;
	width:540px;
}
#kakou p{
	text-align: center;
}
#photo {
	overflow: hidden;
	position: relative;
	width:317px;
	margin: 0 auto;
	font-family: 'Josefin Sans', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;/*Google Fonts*/
}

#photo img{
	max-width: 100%;
}

#photowrap{
	position: relative;
}

#photoinner{
	position: relative;
}

#photoimg{
	position: absolute;
	/*
    top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	*/
	top: 50%;
	left: 50%;
	max-width: none !important;
}

#photo .area{
	position: absolute;
	z-index: 10;
	background-color: rgba(0,0,0,0.5);
}

#photo #photo-overwrap{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1200;
	background: #fff url('ajax-loader.gif') no-repeat center center;
}

#photo #photo-drag{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: move;
	z-index: 1000;
}

#photo #photo-frame{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	z-index: 100;
}

#photo #photo-frame > img{
	width: 100%;
}

#photo #photo-frame #mark{
	position: absolute;
    top: 26px;
    right: 25px;
    z-index: 1;
    width: 38px;
}


#photo #area-left{
	left: 0;
	top: 0;
	border-right: 1px solid #fff;
}

#photo #area-right{
	right: 0;
	top: 0;
	border-left: 1px solid #fff;
}


/* 回転、拡大縮小
----------------------------------------------------*/
#imgkakou {
	padding: 10px 5% 0 5%;
}
#rotation {
	float: left;
	width:30%;
	text-align: center;
}
#rotation p img {
	width:30px;
}
#size {
	width:70%;
}
#size p {
}
#size p img {
	width:30px;
}

/*拡大縮小*/
.icon_small,
.icon_big {
	width:15%;
}
.icon_small img,
.icon_big img{
	cursor: pointer;
}
.range {
	width: 65%;
	padding: 12px 0 12px 0;
}
input[type="range"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
  display: block;
  background-color: #9cd2fa;
  width: 100%;
	height:4px;
  margin: 0 auto;
  outline: 0;
  border: none;
	padding:0;
	box-shadow:none !important;
}
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #4f8fcc;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}​

input[type="range"]::-webkit-slider-thumb:hover {
}
input[type="range"]::-webkit-slider-thumb:active {

}


/*Edgeのみ*/
@supports (-ms-accelerator:true) {
	input[type="range"] {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		display: block;
		background-color: #9cd2fa;
		width: 100%;
		height:7px;
		margin: 0 auto;
		outline: 0;
		border: none;
		padding:0;
		box-shadow:none !important;
		cursor: pointer !important;
	}
	
	input[type="range"]::-webkit-slider-thumb {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		background-color: #4f8fcc;
		width: 20px;
		height: 20px;
		border-radius: 0;
		cursor: pointer !important;
		border: none;
	}​
}
/*IE11のみ*/
@media all and (-ms-high-contrast:none){
	*::-ms-backdrop, input[type="range"] {
		height:10px;
	}
}




/* フレーム選択
----------------------------------------------------*/
.slick-slider {
	margin-top:30px;
}
.slick-prev {
	background: #a4d6fc!important;
	border-radius: 100%!important;
	width: 36px!important;
	height: 36px!important;
	left:0 !important;
	opacity: 0.8!important;
	z-index: 100!important;
}
.slick-prev:before {
	content: "＜"!important;
	font-size: 15px !important;
	font-weight: bold;	
}
.slick-next {
	background: #a4d6fc!important;
	border-radius: 100%!important;
	width: 36px!important;
	height: 36px!important;
	right: 0 !important;
	opacity: 0.8!important;
	z-index: 100!important;
}
.slick-next:before {
	content: "＞"!important;
	font-size: 15px !important;
	font-weight: bold;	
}

/*フレーム*/
.slick-list {
	width: 864px !important;
	margin-left: 44px !important;
}
.slider li p {
	margin-right: 5px!important;
	margin-bottom:5px!important;
	border: 1px solid #ddd;
}
.slider li p img {
	max-width: 100%!important;
	height: auto!important;
	margin: auto;
}

/*
.slick-track {
	width: 1305px !important;
}
.slick-track li {
	width:137px !important;
	margin-right: 8px!important;
}
.slick-track li img {
	max-width: 100%!important;
	height: auto!important;
}
*/


.preview {
	margin-top:45px;
}

/* プレビューボタン
----------------------------------------------------*/
.preview_btn a {
	position: relative;
	display: block;
	width: 240px;
	height: 54px;
	margin: 0 auto;
	background-color: #4f8fcc;
	color: #fff;
	font-size: 20px;
	text-align: right;
	text-align: center;
}

/*アイコン*/
.preview_btn  a:before {
	content: '';
	position: absolute;
	width: 12px;
	height: 19px;
	top: 17px;
	right: 10px;
	background-size: 12px 19px;
}
.preview_btn span {
	display: block;
  padding-top: 15px;
	margin-left: 10px;
}

#opencheck{
	text-align: center;
	border: 2px solid #900;
	padding: 15px;
	width: 700px;
	margin: 30px auto;
}

#opencheck p{
	margin-bottom: 10px;
}


/* ============================================================================ */

/* 4.入力画面

/* ============================================================================ */

section#form {
	float: right;
	width: 420px;
}
form {
}
label {
	font-size: 16px;
}
input[type="text"],
input[type="password"],
textarea,
select {
  outline:none;
	border-radius: 0;
}
select::-ms-expand {
  display: none;
}
section#form input:focus {
	background: #e8f8ff;
}
input[type=text], textarea {
	width: 98%;
	padding: 6px 8px;
	box-shadow: none;
	border: 1px solid #777;
}
table,
tr,
th,
td {
	width:100%;
	text-align:left;
	font-weight: normal;
}
th {
	padding-top:12px;
}
th.top {
	padding-top:0px;
}


/*注釈*/
table span {
	font-size: 12px;
	color: #333;
}

/*生年月日*/
td.year {
	width: 30%;
}
td.month,
td.day
 {
	width: 25%;
	padding-left: 5%;
}
select {
	width: 98%;
	padding: 6px 8px;
	box-shadow: none;
	border: 1px solid #777;
}

/*身長体重*/
th.cm,
td.cm {
	width: 25%;
}
td.cm input {
	width: 62%;
}
th.gram,
td.gram {
	width: 30%;
	padding-left: 5%;
}
td.gram input {
	width: 42%;
}

/*一言メッセージ*/
#countUp {
	display: inline-block;
	float: right;
}
		
/*文字色を選ぶ*/		
.txtcolor input{
	display: none;
}
.txtcolor label{
	display: block;
	float: left;
	cursor: pointer;
	width: 14.2857%;
	margin: 0;
	padding: 2% 0;
	transition: .2s;
	overflow: hidden;
	text-indent: 10%;
	white-space: nowrap;
	box-sizing: border-box;
}
.txtcolor label:first-of-type{
}
.txtcolor label:last-of-type{
	border-right: 0px;
}
.txtcolor input[type="radio"]:checked + label {
	border: 2px solid #3af8ff;
	/*opacity: 0.7;*/
}		
		
label.color1 {
	background: #000;
	border: 2px solid #000;
	color: #000;
}
label.color2 {
	background: #fff;
	border: 2px solid #fff;
	color: #fff;
}
label.color3 {
	background: #a3d5fb;
	border: 2px solid #a3d5fb;
	color: #a3d5fb;
}
label.color4 {
	background: #3f81bf;
	border: 2px solid #3f81bf;
	color: #3f81bf;
}
label.color5 {
	background: #14538e;
	border: 2px solid #14538e;
	color: #14538e;
}
label.color6 {
	background: #00a578;
	border: 2px solid #00a578;
	color: #00a578;
}
label.color7 {
	background: #fde64c;
	border: 2px solid #fde64c;
	color: #fde64c;
}
label.color8 {
	background: #f8a210;
	border: 2px solid #f8a210;
	color: #f8a210;
}
label.color9 {
	background: #fd678a;
	border: 2px solid #fd678a;
	color: #fd678a;
}
label.color10 {
	background: #be2942;
	border: 2px solid #be2942;
	color: #be2942;
}

.error{
	color: #a00;
	font-weight: bold;
}
#error{
	color: #a00;
	font-weight: bold;
	padding: 10px;
	text-align: center;
}

.hi{
	display: inline-block;
	margin-left: 8px;
	color: #fff;
	line-height: 11px;
	font-size: 11px;
	background-color: #b00;
	padding: 4px 10px;
	font-weight: bold;
}

/* ============================================================================ */

/* 5.プレビュー画面

/* ============================================================================ */

.preview_img {
	width:566px;
	margin: 0 auto;
	text-align: center;
}

.save {
	margin-top:45px;
}

/* 保存するボタン
----------------------------------------------------*/
.save_btn a {
	position: relative;
	display:block;
	width: 240px;
	height: 54px;
	margin:0 auto;
	background-color:#4f8fcc;
	color: #fff;
	font-size: 20px;
	text-align:right;
}

.save_btn span {
	display: block;
  padding-top: 15px;
  text-align: center;
}


/* もどるボタン
----------------------------------------------------*/
.back_btn a {
	position: relative;
	display:block;
	width: 240px;
	height: 54px;
	margin:0 auto;
	margin-top: 18px;
	background-color:#a3d5fb;
	color: #fff;
	font-size: 20px;
	text-align:right;
	text-align: center;
}

.back_btn span {
	display: block;
  padding-top: 15px;
	margin-left: 10px;
}


/* 完了画面
----------------------------------------------------*/
#finish h2{
	text-align: center;
	padding: 30px 0 ;
}



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

#wrapper{
	width: 100%;
	padding: 20px;
}

#flameform p{
	text-align: left !important;
}

.flex{
	display: block;
}

#howto .text{
	padding: 0;
}


.logo{
	font-size: 20px;
}

.flameform_btn label {
	width: 90%;
	height: auto;
}

.preview_img{
	width: 100%;
}

#opencheck{
	width: 100%;
}

#orderform img{
	max-width: 100%;
}


}
