@charset "utf-8";

/*　Form スタイル
*************************************************************/

/*** テキストボックス ***/

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="url"],
input[type="password"] {
	border: 1px solid #aaa;
	border-radius: 3px;
	outline: none;
	color: #333;
	line-height: 45px;
	height: 45px;
	width:100%;
	padding: 0 12px;
	/*vertical-align: middle;*/
	transition: all .3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
select:focus {
	border: 1px solid #6ecdff;
	background: rgba(255, 255, 220, .5);
	box-shadow:  0 0 7px #6ecdff;
}

/* 入力エラーのスタイル */

input[type="text"]:required,
input[type="tel"]:required,
input[type="email"]:invalid,
input[type="number"]:invalid,
input[type="date"]:invalid,
input[type="url"]:invalid,
input[type="password"]:invalid {
	color: #630015;
	border-color: #c20c33;
	background-color: #ffd9e1;
}

/* 入力値が正常な時のスタイル */

input[type="text"]:valid,
input[type="tel"]:valid,
input[type="email"]:valid,
input[type="number"]:valid,
input[type="date"]:valid,
input[type="url"]:valid,
input[type="password"]:valid {
	/*color: #333;*/	
	border-color: #ccc;
	
}

/*　テキストエリア　*/

textarea {
	border-width: 1px;
	border-style: solid;
	border-radius: 3px;
	box-shadow: none;
	color: #333;
	width:100%;
	padding: 0 12px;
	vertical-align: middle;
	transition: background-color .24s ease-in-out;
}


/*** DATE 各ブラウザ対応 ***/

input[type="date"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="date"]::-webkit-clear-button {
  -webkit-appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  height: 50px;
  width: 180px;
}

@-moz-document url-prefix() { /*Firefoxだけに適用させる*/
  input[type="time"] {
    clip-path: inset(0 25px 0 0);
    border: none;
    outline:none;
    outline:0;
  }
}


/*** ラジオボタン ***/

input[type="radio"] {
	display: none; 
}

.radio-check label {
	background:#FFF;
	display: flex;
	/*justify-content: space-between;*/
	width: 100%;
	padding: 10px 10px 10px 2em;
	transition: all 1s;
	cursor: pointer;
	position: relative;
	line-height: 20px;
}

/* 768x以上（タブレット・PC用）*/
@media (min-width: 768px) {
	.radio-check label {
	padding: 10px 10px 10px 1.8em;
	}
} 

input[type="radio"] + label::before {
	content: "";
	border: 1px solid #333;
	border-radius: 50%;
	display: block;
	text-align: center;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
}

/* 768x以上（PC用）*/
@media (min-width: 768px) {
	input[type="radio"] + label::before {
		left: 10px;
	}
}

input[type="radio"]:checked + label::after {
	content: "";
	background: #0099FF;
	border-radius: 50%;	
	display: block;
	text-align: center;
	width: 14px;
	height: 14px;
	position: absolute;
	top: 50%;
	left: 3px;
	transform: translateY(-50%);
}

/*** 性別ボタン ***/

.form-check {
	display: flex;
}

.form-check label {
	background:#EBEBEB;
	border: 1px solid #CCC;
	border-radius: 6px;	
	display: block;	
	width: 95%;
	text-align: center;
	padding: 10px;
	cursor: pointer;
}

.form-check li {
	width: 25%;
}

input[type="radio"]:checked.man + label {
	background: #6ecdff;
	color: #ffffff;
}

input[type="radio"]:checked.lady + label {
	background: #f29c9f;
	color: #ffffff;
}

/*** 来店時間ボタン ***/

.form-check.timediv label {
	display: flex;
    flex-direction : column;
    justify-content :space-between;
    height:100%;
}

.form-check.timediv label.noselect {
    opacity:0.5;
}

.form-check.timediv label span {
	display: block;	
}

.form-check.timediv li {
	width: 33.3333%;
    align-self:stretch;
}

.timediv input[type="radio"]:checked.select01 + label {
	background: #6ecdff;
	color: #ffffff;
}

.timediv input[type="radio"]:checked.select02 + label {
	background: #f29c9f;
	color: #ffffff;
}

.timediv input[type="radio"]:checked.select03 + label {
	background: #618a42;
	color: #ffffff;
}

/*** チェックボックス ***/

input[type="checkbox"] {
	display: none;
}

.check-mark label {
	line-height: 20px;
	display: block;
	cursor: pointer;
	padding-left: 30px;
	position: relative;
}

.check-mark label::before {
	content: '';
	background-color:	#fff;
	box-shadow:	 inset 0 0 2px 2px rgba(110,205,225,.5);
	border: 1px solid #333;
	border-radius: 4px;
	display: inline-block;
	width: 20px;
	height: 20px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);

}

/* チェックした時のスタイル */
.check-mark input[type="checkbox"]:checked ~ label::after {
	content: "\f00c"; /*check*/
	font-family: "Font Awesome 5 Free";
	font-size: 24px;
	font-weight: 900;
	color: #0099FF;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

/*** セレクトボックス ***/

@font-face {
	font-family:"IonIcons";
	src:url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.eot?v=2.0.1");
	src:url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.eot?v=2.0.1#iefix") 
	format("embedded-opentype"),url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.ttf?v=2.0.1") 
	format("truetype"),url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.woff?v=2.0.1") 
	format("woff"),url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.svg?v=2.0.1#Ionicons") 
	format("svg");
	font-weight:normal;
	font-style:normal;
}

select {
	background: none transparent;
	border:1px solid #ddd;
    border-radius:6px;
	color:#333;
	font-size: inherit;
    outline:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';    
    vertical-align: middle;    
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;    
    height: 45px;
    width:100%;
    padding: 8px 12px;
	cursor: pointer;
}

select option {
  background-color: #fff;
  color: #333;
}

select::-ms-expand {
  display: none;
}

select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #828c9a;
}


/*** ボタン ***/

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	background: #1e5799;
	background: -moz-linear-gradient(top,  #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
	background: -webkit-linear-gradient(top,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
	background: linear-gradient(to bottom,  #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #000042;
	color: #FFF;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: normal;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,1);
	-webkit-box-shadow:

		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,1);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
	display: inline-block;
	padding: 1em;
	margin: 10px;
	cursor: pointer;
	/* Old browsers */
}

/* 767px以下（スマホ用）*/
@media (max-width: 767px) {
	.button,
	button,
	input[type="submit"],
	input[type="reset"],
		input[type="button"] {
			/*white-space: pre-line;*/
			margin: 10px 5px;
		}
}

/* 768x以上（PC用）*/
@media (min-width: 768px) {
	.button,
	button,
	input[type="submit"],
	input[type="reset"],
	input[type="button"] {
		font-size: 1.8rem;
		padding: 1em 2em;
	}
} 


.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	background: #7db9e8;
	background: -moz-linear-gradient(top,  #7db9e8 0%, #207cca 49%, #2989d8 50%, #1e5799 100%);
	background: -webkit-linear-gradient(top,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
	background: linear-gradient(to bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#1e5799',GradientType=0 );
}

/*.button:active,
button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
	position: relative;
	top:1px;
}*/

input::-webkit-input-placeholder { 
    color:#d9d9d9;
}

input:-ms-input-placeholder {
   color:#d9d9d9;
}

input::-moz-placeholder { 
   opacity:0.3;
}


input:placeholder { /* Others */
 color:#d9d9d9;
}

.return {
	background: #CCC;
	padding: 1em 2em;
}

/* 767px以下（スマホ用）*/
@media (max-width: 767px) {
	.return {
		/*width: 30%;*/
		padding: 1em;
	}
}

.required-error {
	color: #E80003;
	font-size: .9em;
}


/****************************************

          sunfit 24　用

*****************************************/

#sunfit .button,
#sunfit button,
#sunfit input[type="submit"],
#sunfit input[type="reset"],
#sunfit input[type="button"] {
	background: #F5911E;
	border: none;
	font-size: 2rem;
	font-weight: bold;
	line-height: 40px;
}



/****************************************

          HYPER GOLF 用

*****************************************/

#hypergolf .button,
#hypergolf .submit button,
#hypergolf .submit input[type="submit"],
#hypergolf .submit input[type="reset"],
#hypergolf .submit input[type="button"] {
	background: #01A15E;
	border-radius: 60px;
	border: none;
	color: #FFF;
	font-weight: bold;
	padding: 10px 1em;
}

/* 768px以上（タブレット・PC共通） */
@media (min-width: 768px) {
	#hypergolf .button,
	#hypergolf .submit button,
	#hypergolf .submit input[type="submit"],
	#hypergolf .submit input[type="reset"],
	#hypergolf .submit input[type="button"] {
		padding: 1em 2em;
	}
}

#hypergolf input[type="radio"]:checked + label::after {
	background: #01A15E;
}

#hypergolf .check-mark input[type="checkbox"]:checked ~ label::after {
	color: #01A15E;
}
