@charset "utf-8";

/*-------------------------------------
   下層ページ共通設定
-------------------------------------*/
/* 枠組み */
#second_main {
	background: url(../img/bg_second.jpg) center top / 523px repeat-x;
	padding: 40px 0;
}
#second_main .second_inner {
	background: rgba(255,255,255,0.8);
	box-shadow: 0 0 3px 0 #ccc;
	-webkit-box-shadow: 0 0 3px 0 #ccc;
	-moz-box-shadow: 0 0 3px 0 #ccc;
	padding: 30px 30px 80px 30px;

}
@media screen and (max-width: 768px) {
	#second_main {
		background: url(../img/bg_second.jpg) center 50px / 280px repeat-x;
		padding: 70px 0 40px 0;
	}
	#second_main .second_inner {
		padding: 30px 4% 50px 4%;
	}
}

/* タイトル */
.main_ttl {
	margin-bottom: 35px;
	text-align: center;
	background: url(../img/bg_main_ttl.png) center top / 55px no-repeat;
	border-bottom: 1px solid #b7e5dc;
}
.main_ttl h2 {
	padding: 20px 0 0 0;
	color: #808080;
	font-size: 26px;
	font-weight: bold;
	letter-spacing: 10px;
}
.main_ttl .sub_ttl {
	padding: 0 0 20px 0;
	font-size: 9px;
	font-weight: bold;
	color:  #00b09c;
	letter-spacing: 3px;
}
@media screen and (max-width: 768px) {
	.main_ttl {
		margin-bottom: 30px;
		background: url(../img/bg_main_ttl.png) center top / 38px no-repeat;
	}
	.main_ttl h2 {
		padding: 10px 0 0 0;
		font-size: 20px;
		letter-spacing: 5px;
	}
	.main_ttl .sub_ttl {
		font-size: 8px;
		padding: 0 0 10px 0;
		margin-top: -5px;
		letter-spacing: 2px;
	}
}
/* タイトル下テキスト */
.sup_txt {
	text-align: center;
	margin-top: -15px;
	margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
	.sup_txt {
		text-align: left;
	}
}
/* 緑背景エリア */
.second_green_area {
	padding: 30px 40px 50px 40px;
	margin-bottom: 80px;
	background-color: #edf9f7;
}
@media screen and (max-width: 768px) {
	.second_green_area {
		padding: 20px 5% 40px 5%;
		margin-bottom: 50px;
	}
}
/* ボタン小_緑 */
.second_g_btn_area {
	text-align: center;
}
.second_g_btn_area .w140 {
	width: 140px;
}
.second_g_btn_area .two_letter {
	letter-spacing: 15px;
	text-indent: 15px;
}
.g_btn {
	display: inline-block;
	position: relative;
	height: 40px;
	background-color: #4dc4b3;
	color: #fff;
	border-radius: 5px;
	font-size: 15px;
	font-weight: bold;
	line-height: 40px;
	text-align: center;
	letter-spacing: 2px;
	text-indent: 2px;
    border: none;
}

.g_btn a {
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
	text-decoration: none;
}
.g_btn a:hover {
	opacity: 0.5;
}
input.g_btn:hover {
	color: rgba( 255, 255, 255, 0.5);
	transition: all .3s;
}


@media screen and (min-width: 769px) {
	.second_g_btn_area_double {
		left: 50%;
		position: relative;
		float: left;
	}
	.second_g_btn_area_double .g_btn {
		left: -50%;
		float: left;
		width: 200px;
	}
	.second_g_btn_area_double .w200 {
		width: 200px;
	}
	.second_g_btn_area_double .g_btn:first-child {
		margin-right: 20px;
	}
	
}
@media screen and (max-width: 768px) {
	.second_g_btn_area .w140,
	.second_g_btn_area_double .w200 {
		width: 100%;
	}
	.second_g_btn_area_double {
		text-align: center;
	}
	.g_btn {
		width: 90%;
		height: 50px;
		line-height: 50px;
		font-size: 16px;
	}
	.second_g_btn_area_double .g_btn:first-child {
		margin: 0 0 20px 0;
	}

}



/* フォーム */
.second_form dl {
	display: flex;
	flex-wrap: wrap;
}
.second_form dt {
	width: 20%;
	padding: 0 0 40px 0;
	font-weight: bold;
	box-sizing: border-box;
}
.second_form dd {
	width: 80%;
	padding: 0 0 40px 0;
	margin: 0;
	box-sizing: border-box;
}
.second_form .form_sub {
	font-size: 12px;
	margin-bottom: -10px;
}
.second_form .text {
	width: 320px;
	height: 40px;
	padding: 10px;
	border: 1px solid #e5e5e5;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: none;
	font-size: 14px;
}
.second_form .text_short {
	width: 120px;
	height: 40px;
	padding: 10px;
	border: 1px solid #e5e5e5;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: none;
	font-size: 14px;
}
.second_form .text_long {
	width: 420px;
	height: 40px;
	padding: 10px;
	border: 1px solid #e5e5e5;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: none;
	font-size: 14px;
}
.second_form .textarea_long {
	width: 420px;
	height: 200px;
	padding: 10px;
	border: 1px solid #e5e5e5;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: none;
	font-size: 14px;
}
.second_form .birth_float {
	float: left;
	margin-right: 20px;
	line-height: 40px;
}
.second_form .select {
	width: 110px;
	margin-right: 10px;
	padding: 10px;
	border: 1px solid #e5e5e5;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: none;
	background: url(../img/bg_form_select.png) right 8px center / 8px no-repeat #fff;
	font-size: 14px;
}
/* ↓IE対策 */
.second_form .select::-ms-expand {
    display: none;
}

@media screen and (max-width: 768px) {
	.second_form dl {
		flex-flow: column nowrap;
	}
	.second_form dt,
	.second_form dd {
		width: 100%;
	}
	.second_form dt {
		padding: 0 0 5px 0;
	}
	.second_form dd {
		padding: 0 0 20px 0;
	}
	.second_form dd:last-child {
		padding: 0 0 40px 0;
	}
	.second_form .form_sub {
		margin-bottom: 0;
	}
	.second_form .text {
		width: 100%;
	}
	.second_form .text_long {
		width: 100%;
	}
	.second_form .textarea_long {
		width: 100%;
	}
	.second_form .birth_float {
		float: none;
		margin: 0 0 15px 0;
	}
	.second_form .select {
		width: 70%;
		margin-right: 5px;
	}
}

/* ボタン大 */
.second_btn_area {
	margin-bottom: 70px;
}
.second_btn_area.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.second_btn_area li {
	width:  49%;
	text-align: center;
	border-radius: 8px;
	background: linear-gradient(#fff, #edfffd);
	border: solid #4dc4b3;
	border-width: 1px 1px 5px 1px;
}
.second_btn_area.flex li {
	display: block;
	margin-bottom: 30px;
}
.second_btn_area li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 20px;
	text-decoration: none;
	color: #666666;
}
.second_btn_area li img {
	height: auto;
	max-width: 100%;
}
@media screen and (max-width: 768px) {
	.second_btn_area {
		margin-bottom: 50px;
	}
	.second_btn_area li {
		float: none;
		width: 100%;
		height: auto;
		margin-bottom: 15px;
	}
	.second_btn_area li.f_left {
		margin-bottom: 15px;
	}
	.second_btn_area li p {
		text-align: left;
	}
}

/* ボタン小 */
.second_s_btn_area {
	text-align: center;
}
.s_btn {
	display: inline-block;
	position: relative;
	width: 240px;
	height: 40px;
	background-color: #fff;
	color: #4dc4b3;
	border-radius: 5px;
	border: 1px solid #4dc4b3;
	font-size: 15px;
	font-weight: bold;
	line-height: 40px;
	text-align: center;
}

.s_btn a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}
.s_btn a:hover {
	background-color: #4dc4b3;
	color: #fff;
	opacity: 1.0;
}
.btn_return::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 10px;
	content: "<<";
}
.btn_return:hover::after {
	color: #fff;
}
.btn_next::after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 10px;
	content: ">>";
}
.btn_next:hover::after {
	color: #fff;
}
@media screen and (min-width: 769px) {
	.second_s_btn_area_double {
		left: 50%;
		position: relative;
		float: left;
	}
	.second_s_btn_area_double .s_btn {
		left: -50%;
		float: left;
	}
	.second_s_btn_area_double .s_btn:first-child {
		margin-right: 20px;
	}
	
}
@media screen and (max-width: 768px) {
	.second_s_btn_area_double {
		text-align: center;ß
	}
	.s_btn {
		width: 90%;
		height: 50px;
		line-height: 50px;
		font-size: 16px;
	}
	.second_s_btn_area_double .s_btn:first-child {
		margin: 0 0 20px 0;
	}

}

/*-------------------------------------
   セカンド_予約項目選択
-------------------------------------*/
.dermatology {
	width: 227px;
}
.laser {
	width: 210px;
}
.injection {
	width: 173px;
}
.ion {
	width: 207px;
}
.btn_text {
  display: flex;
  justify-content:center;
  align-items:center;
  margin-bottom:10px;
  color:#00B19C;
  font-weight:bold;
  font-size:16px;
  line-height:1;
}
.second_btn_area .f_left.center {
	float: left;
    margin: 35px 25% 0;
}
@media screen and (max-width: 768px) {
	.dermatology {
		width: 200px;
	}
	.laser {
		width: 184px;
	}
	.injection {
		width: 152px;
	}
	.btn_text {
		flex-direction: column;
	}
	.second_btn_area .f_left.center {
    	margin: 0 auto;
	}
}
/*-------------------------------------
   セカンド_予約項目選択_初診かどうか選択
-------------------------------------*/
.reexamination {
	width: 310px;
}
.firstvisit {
	width: 170px;
}
@media screen and (max-width: 768px) {
	.reexamination {
		width: 260px;
	}
	.firstvisit {
		width: 150px;
	}
}
/*-------------------------------------
   セカンド_予約カレンダー
-------------------------------------*/
.calendar_area {
	margin-bottom: 70px;
	text-align: center;
	position: relative;
}
.calendar_area .prev_month {
	position: absolute;
	left: 0;
	top: 0;
	font-size: 18px;
	font-weight: bold;
}
.calendar_area .next_month {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 18px;
	font-weight: bold;
}
.calendar_area table {
	width: 100%;
	margin-bottom: 10px;
	border-top: 1px solid #e5e5e5;
	border-left: 1px solid #e5e5e5;
	border-collapse: collapse;
}
.calendar_area table caption {
	font-size: 18px;
	font-weight: bold;
	color: #00b09c;
	letter-spacing: 5px;
	text-indent: 5px;
}
.calendar_area table th,
.calendar_area table td {
	width: 14.285%;
	border-right: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	vertical-align: top;
}
.calendar_area table th {
	padding: 0;
}
.calendar_area table td {
	padding: 0 0 10px 0;
	line-height: 180%;
}
.calendar_area.time table td {
	padding: 10px 0 10px 0;
}
.calendar_area table th {
	background-color: #f1f1f1;
}
.calendar_area table .sat {
	color: #4076cc;
}
.calendar_area table .hol {
	color: #e25a5a;
}
.calendar_area table .other_mon {
	color: #cbcbcb;
}
.calendar_area table .status {
	font-size: 16px;
}
.calendar_area table .sat .status a {
	color: #4076cc;
}
.calendar_area table .hol .status a {
	color: #e25a5a;
}
.calendar_area table .status a {
	color: #808080;
}
.calendar_area table .status a:hover {
	text-decoration: underline;
	opacity: 1.0;
}
.calendar_area .table_des {
	text-align: left;
	line-height: 180%;
}
.calendar_area .table_des li {
	float: left;
	margin-right: 20px;
}
@media screen and (max-width: 768px) {
	.calendar_area {
		margin-bottom: 40px;
	}
	.calendar_area table th {
		padding: 0;
	}
}

/*-------------------------------------
   セカンド_マイページトップ
-------------------------------------*/
.mypage_top .mypage_info {
	margin-bottom: 10px;
}
.mypage_top .num {
	float: left;
	font-weight: bold;
}
.mypage_top .logout {
	float: right;
	color: #00b09c;
	font-weight: bold;
}
.mypage_top h3 {
	padding: 5px 0;
	background-color: #4dc4b3;
	color: #fff;
	font-size: 16px;
	text-align: center;
}
.mypage_top .mypage_reserve {
	margin-bottom: 40px;
}
.mypage_top p.mypage_con {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}
@media screen and (max-width: 768px) {
	.mypage_top .mypage_info {
		margin-bottom: 20px;
	}
	.mypage_top p.mypage_con {
		text-align: left;
	}

}



.medicine_notice {
	color: #00b09c;
	border: 2px solid #00b09c;
	margin: 30px auto 40px;
	width: 80%;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	padding: 15px 0;
}
br.sp {
	display: none;
}
@media screen and (max-width: 768px) {
	.medicine_notice {
		width: 100%;
		padding: 10px 10px;
		font-size: 3.4vw;
		line-height: 1.5;
	}
	br.sp {
		display: block;
	}
}

.modal_all {
  position: fixed;
  top: 0;
  z-index: 300;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.3);
}
.modal_all .box {
	background: #FFFFFF;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 800px;
	height: 530px;
	padding: 50px;
	line-height: 1.5;
}
.modal_all .box h3 {
	text-align: center;
}
.modal_all .box p {
	margin-top: 30px;
}
.modal_all .box .check {
	margin-top: 30px;
}
.modal_all .box .check label {
	display: flex;
	justify-content: center;
	align-items: center;
}
@media screen and (max-width: 768px) {
.modal_all .box {
	width: 90vw;
	height: 90vh;
	padding: 5vw;
	overflow: scroll;
}
}