@charset "utf-8";

/* =============================================================================
   Base
   ========================================================================== */

body {
	margin: 0;
	padding:0;
	position:relative;
}

h1, h2, h3, h4, h5, p {
	margin-top:0;
}

h1, h2, h3, h4, h5 {
	width:100%;
	flex-basis: 100%;
}

hr {
	border-top: 2px solid #CCCCCC;
	border-bottom:none;
	border-left:none;
	border-right:none;
}

.mincho {
	font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.text_red {
	color: #F00;
}
.text_blue {
	color: #06C;
}
.text_white {
	color: #FFF;
}
.text_green {
	color: green;
}

.underline1 {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}
.underline1_pm {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	margin-bottom:5px;
	padding-bottom:5px;
}

.underline2  {
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #CCC;
}

.mgn_btm10 {
	margin-bottom: 10px;
}

/* =============================================================================
   Images
   ========================================================================== */

img, object, embed, video {
	max-width: 100%;
}
img {
	border: 0;
	vertical-align: middle;
	height:auto !important;
}

a:hover img {
	-moz-opacity: 0.7;
	opacity: 0.7;
	filter: alpha(opacity=70);
}


/* =============================================================================
   Links
   ========================================================================== */

a:hover {
	text-decoration:none;
}

.link1 {
	display:block;
	font-size: 20px;
	line-height: 24px;
	background-image: url(images/menu_arrow.png);
	background-repeat: no-repeat;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-bottom: 5px;
	padding-left: 36px;
	text-decoration:none;
	color:#000;
}

.link2 {
	display:block;
	width:60%;
	margin-left:auto;
	margin-right:auto;
	border: 1px solid #006837;
	font-size: 16px;
	color: #006837;
	text-align:center;
	text-decoration: none;
	margin-bottom: 10px;
	padding: 10px;
}



/* =============================================================================
   Lists
   ========================================================================== */

ul, ol {
	margin-bottom: 15px;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
	padding-right: 0px;
	padding-top: 0px;
}


/* =============================================================================
   Menu
   ========================================================================== */

/* Main Contents */
#bg {
  z-index: 20;
}

#menu_btn {
	cursor:pointer;
}



/* =============================================================================
   Forms
   ========================================================================== */

form {
	margin: 0px;
	padding: 0px;
}

.button_red {
     display:block;
     width: 250px;
     height:70px;
     line-height: 70px;
	font-size: 18px;
	font-weight: bold;
     color: #FFF;
     text-decoration: none;
     text-align: center;
     background-color:#E53131;
	border: none;
     border-radius: 5px;
     -webkit-transition: all 0.5s;
     transition: all 0.5s;
}
.button_red:hover{
     background-color: #EC4949;
}
.button_gray{
     display:block;
     width: 250px;
     height:70px;
     line-height: 70px;
	font-size: 18px;
	font-weight: bold;
     color: #FFF;
     text-decoration: none;
     text-align: center;
     background-color: #999999;
	border: none;
     border-radius: 5px;
     -webkit-transition: all 0.5s;
     transition: all 0.5s;
}
.button_gray:hover{
     background-color: #ABABAB;
}

.errormsg {
	font-weight: bold;
	color: #FFF;
	background-color: #F00;
	padding: 2px;
	margin: 0px;
}

label.error {
	display: none;
	font-weight: bold;
	color: #FFF;
	background-color: #F00;
	padding: 2px;
	margin: 0px 0px 0px 10px;
}
.checkbox_block {
	display: block;
	padding: 2px;
	float: left;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 5px;
}
dt {
	font-weight: bold;
	margin-bottom: 15px;
	padding-left: 3px;
	border-left-width: 4px;
	border-left-style: solid;
	border-left-color: #CCC;
}
dd {
	margin-bottom: 20px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

.submit_button {
    padding: 15px 40px;
    font-size: 18px;
}
textarea, input[type="text"], input[type="tel"], input[type="time"], select {
	font-family: "Meiryo UI","メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #AAA;
	border-right-color: #999;
	border-bottom-color: #999;
	border-left-color: #AAA;
	font-size: 16px;
	line-height: 1.2;
	padding: 4px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 3px;
	max-width:98%;
}

input[type="checkbox"], input[type="radio"] {
	height: 16px;
	width: 16px;
	margin-right: 5px;
	margin-bottom: 8px;
}


.form_a input[type="text"] , .form_a textarea {
	width:65%;
}
.w30 {
	width: 30%;
}

.w40 {
	width: 60%;
}
.w60 {
	width: 80%;
}
.w80 {
	width: 90%;
}


/* =============================================================================
   Tables
   ========================================================================== */
   
.table_green {
	color:#FFF;
}
.table_green th, .table_green td {
	background-color:#006837;
}

.table_gray {
	border-collapse: collapse;
	border: 1px solid #999;
}
.table_gray th {
	background-color: #eeeeee;
	background-image: none;
	border: 1px solid #999;
}
.table_gray td {
	border: 1px solid #999;
}

/* =============================================================================
   Layout
   ========================================================================== */
.parts {
}
.container {
  -js-display: flex;
  display: flex;
  width:97%;
  max-width:1000px;
  margin-left:auto;
  margin-right:auto;
  flex-wrap: wrap;
  justify-content:space-between;
}

.container .com {
	flex-basis: 100%;
}

.item {
}

.justify_left {
	justify-content:flex-start;
}
.justify_left .item {
	margin-left:2%;
}

.justify_center {
	justify-content:center !important;
}
.justify_center .item {
	margin-right:1%;
	margin-left:1%;
}

.justify_right {
	justify-content:flex-end;
}
.justify_right .item {
	margin-left:2%;
}

.space_around {
	justify-content:space-around !important;
}
.space_around .item {
	margin-right:1%;
	margin-left:1%;
}

.space_between {
	justify-content:space-between;
}
.space_between .item {
	margin-right:1%;
	margin-left:1%;
}
  
.edit_box {
	clear:both;
  -js-display: flex;
  display: flex;
  width:calc(97% - 20px);
  max-width:calc(1000px - 20px);
  margin-left:auto;
  margin-right:auto;
  margin-bottom:10px;
  flex-wrap: wrap;
  padding:10px;
  color:#FFF;
  background-color:#999999;
  justify-content:space-between;
  z-index:21;
}
.edit_box .item {
	text-align:center;
	margin-bottom:0;
}


/* for Smart Phone */
@media print, screen and (max-width:767px) {

h2 {
	font-size: 18px;
	line-height: 20px;
}
h3 {
	font-size: 16px;
	line-height: 18px;
}
h4 {
	font-size:14px;
	line-height:16px;
}

.box42 .item {
	flex-basis: 48.5%;
}
.box44 .item {
	flex-basis: 23.5%;
}

.box31 .item {
	flex-basis: 100%;
}
.box33 .item {
	flex-basis: 31%;
}

.box21 .item {
	flex-basis: 100%;
}
.box22 .item {
	flex-basis: 48%;
}

.box11 .item {
	flex-basis: 100%;
}

.photo_left .left {
	flex-basis: 100%;
}
.photo_left .right {
	flex-basis: 100%;
}

.photo_right .left {
	flex-basis: 100%;
}
.photo_right .right {
	flex-basis: 100%;
}

.card21 .left {
	flex-basis: 30%;
}
.card21 .right {
	flex-basis: 65%;
	padding-right:2%;
}

.card11 .left {
	flex-basis: 30%;
}
.card11 .right {
	flex-basis: 65%;
	padding-right:2%;
}

.mailform .form_q {
	flex-basis: 98%;
	padding-top: 5px;
	padding-right: 1%;
	padding-bottom: 5px;
	padding-left: 1%;
	margin-bottom: 10px;
	background-color: #F0F0F0;
}
.mailform .form_a {
	flex-basis: 98%;
	padding-top: 5px;
	padding-right: 1%;
	padding-bottom: 5px;
	padding-left: 1%;
	margin-bottom: 10px;
}

#admin_panel {
	display: none;
}
#pagetop {
	display:none;
	height: 35px;
	width: 35px;
	right: 10px;
	position:fixed;
	bottom: 110px;
	z-index: 29;
}
#menu_foot {
	display:none;
}

.hide_sp {
	display:none;
}


.table_responsive table {
	display:block;
	width:100%;
}
.table_responsive tr {
	display:block;
	width:100%;
}
.table_responsive th {
	display:block;
	width:96%;
	padding:2%;
	vertical-align:top;
	text-align:left;
	background-color:#EAE8DF;
}
.table_responsive td {
	display:block;
	width:96%;
	padding:2%;
	vertical-align:top;
}

.fltbox3 {
	float: left;
	width: 46%;
	margin-right: 3%;
	margin-bottom: 10px;
}
.fltbox4 {
	float: left;
	width: 46%;
	margin-right: 3%;
	margin-bottom: 10px;
}

}

/* for Tablet & PC */
@media print, screen and (min-width:768px) {

.box42 .item {
	flex-basis: 23.5%;
}
.box44 .item {
	flex-basis: 23.5%;
}

.box31 .item {
	flex-basis: 31%;
}
.box33 .item {
	flex-basis: 31%;
}

.box21 .item {
	flex-basis: 48%;
}
.box22 .item {
	flex-basis: 48%;
}

.box11 .item {
	flex-basis: 100%;
}

.photo_left .left {
	flex-basis: 29%;
}
.photo_left .right {
	flex-basis: 69%;
}

.photo_right .left {
	flex-basis: 69%;
}
.photo_right .right {
	flex-basis: 29%;
}

.card21 .left {
	flex-basis: 15%;
}
.card21 .right {
	flex-basis: 30%;
	padding-right:2%;
}
.card11 .left {
	flex-basis: 30%;
}
.card11 .right {
	flex-basis: 65%;
	padding-right:2%;
}

.mailform .form_q {
	flex-basis: 30%;
	padding-top: 5px;
	padding-right: 1%;
	padding-bottom: 5px;
	padding-left: 1%;
	margin-bottom: 10px;
	background-color: #F0F0F0;
}
.mailform .form_a {
	flex-basis: 64%;
	padding-top: 5px;
	padding-right: 1%;
	padding-bottom: 5px;
	padding-left: 1%;
	margin-bottom: 10px;
}

.hide_pc {
	display:none;
}



#pagetop {
	display:none;
	height: 50px;
	width: 50px;
	right: 15px;
	position:fixed;
	bottom: 60px;
	z-index: 29;
}
#menu_foot {
	display:none;
}

#admin_panel {
	display: block;
	width: 100%;
	height: 50px;
	z-index: 99999;
	position: fixed;
	background-color: #666600;
	color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	line-height: 14px;
}
#admin_panel .menu_on a {
	background-color: #999999;
	border: 1px solid #999;
	color: #FFF;
	text-decoration: none;
	display: block;
	padding: 5px;
	margin: 0px;
}
#admin_panel .menu_off a {
	border: 1px solid #FFF;
	color: #FFF;
	text-decoration: none;
	display: block;
	padding: 5px;
	margin: 0px;
}
#admin_panel .menu_off a:hover {
	background-color: #669933;
	border: 1px solid #FFF;
	color: #FFF;
}


.table_responsive table {
	display:table;
	width:100%;
	border-collapse:collapse;
}
.table_responsive tr {
	display:table-row;
	width:100%;
}
.table_responsive th {
	display: table-cell;
	padding: 9px;
	width: 15%;
	vertical-align: top;
	text-align: left;
	background-color: #EAE8DF;
	border: 1px solid #CCCCCC;
}
.table_responsive td {
	display:table-cell;
	padding:9px;
	vertical-align:top;
	border: 1px solid #CCCCCC;
}

.fltbox3 {
	float: left;
	width: 30%;
	margin-right: 3%;
	margin-bottom: 10px;
}
.fltbox4 {
	float: left;
	width: 22%;
	margin-right: 2%;
	margin-bottom: 10px;
}


}
