@charset "UTF-8";

@media screen and (min-width:769px) {
header {
	width: 100%;
	height: 50px;
	min-width: 1280px;

	/*position: fixed;*/
}}

@media screen and (max-width:768px) {
/*スマホ用のcssを記述*/
header {
	width: 100%;
	height: 50px;
	min-width: auto;

	/*position: fixed;*/
	}
}

@media screen and (min-width:769px) {
header .header-inn .h-info p {
	min-width: 180px;
	height: 12px;
	font-size: 9px;
	line-height: 1em;
	white-space: nowrap;
	padding: 8px 15px 3px;
	margin: 0 5px;
	border: #837c00 2px solid;
	border-radius: 15px;
}
}

@media screen and (max-width:768px) {
/*スマホ用のcssを記述*/
header .header-inn .h-info p {
	min-width: 180px;
	height: 12px;
	font-size: 9px;
	line-height: 1em;
	white-space: nowrap;
	padding: 8px 15px 3px;
	margin: 0 5px;
	border: #837c00 2px solid;
	border-radius: 15px;
	display:none
}
}

@media screen and (min-width:769px) {
	.contents {
	width: 100%;
	min-height: calc(100vh - 52px - 20px);
	min-width: 1280px;
	}
}

@media screen and (max-width:768px) {
/*スマホ用のcssを記述*/
.contents {
	width: 100%;
	min-height: calc(100vh - 52px - 20px);
	min-width: auto;
	}
}
@media screen and (min-width:769px) {
.contents .main-area-inn {
	margin: 0 auto;
	padding: 115px 0 60px;
	text-align: center;
	width: 1000px;
	}
}
@media screen and (max-width:768px) {
/*スマホ用のcssを記述*/
.contents .main-area-inn {
	margin: 0 auto;
	padding: 115px 0 60px;
	text-align: center;
	width: auto;
	}
}

@media screen and (min-width:769px) {
/*pc用のcssを記述*/
.contents .main-area.page .main-area-inn {
	width: 1000px;
	height: calc(100% - 165px);
	min-height: 515px;
	margin: 0 auto;
	padding: 30px 20px 60px;
	background: url(../img/contents_bg.png) no-repeat;
	background-size: 100%;
	background-color: #e2e4d4;
	background-position: left bottom;
}
}

@media only screen and (max-width:768px) {
/*スマホ用のcssを記述*/
.contents .main-area.page .main-area-inn {
	width: auto;
	height: calc(100% - 165px);
	min-height: 515px;
	margin: 0 auto;
	padding: 30px 0px 60px;
	background: url(../img/contents_bg.png) no-repeat;
	background-size: 100%;
	background-color: #e2e4d4;
	background-position: left bottom;
	}
}

@media screen and (max-width:425px) {
#diary .cont-box {
	width: 100%;
	max-width: 375px;
	margin: 20px auto;
	padding: 10px 5px;
	display: block;
	box-sizing: border-box;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
	text-align: left;
	}
.tab-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	background: #f5f5f5;
	border-radius: 8px;
	margin-bottom: 12px;
	box-shadow: 0 2px 4px #eee;
	padding: 0 0 4px 0;
  }
#diary-tab {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1.5px solid #d1d5db;
	background: none;
}
#diary-tab li {
	flex: 1 0 80px;
	min-width: 80px;
	text-align: center;
	padding: 12px 2px 8px 2px;
	font-size: 15px;
	background: transparent;
	border: none;
	color: #666;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	transition: color 0.18s, border-bottom 0.18s, background 0.18s;
	font-weight: 500;
	margin: 0;
}
#diary-tab li.selected, #diary-tab li.active {
	color: #349f43;
	border-bottom: 2.5px solid #349f43;
	background: #fff;
	font-weight: bold;
	z-index: 1;
}
}

@media screen and (min-width:426px) {
#diary .cont-box {
	margin: 30px auto 30px;
	padding: 10px;
	display: block;
	box-sizing: border-box;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
	text-align: left;
	}
}

@media screen and (min-width:769px) {
footer {
	width: 100%;
	min-width: 1280px;
	height: 20px;
	padding: 0;
	background: #4d4d4d
	}
}
@media screen and (max-width:768px) {
/*スマホ用のcssを記述*/
footer {
	width: 100%;
	min-width: auto;
	height: 20px;
	padding: 0;
	background: #4d4d4d
	}
}

@media screen and (max-width:639px) {
/*スマホ用のcssを記述*/
body{width: 100% ;}
.link-area-sub{display:none}
}

@media only screen and (min-width:640px) and (max-width:768px) {
/*tablet用のcssを記述*/
body{width: 100% ;}
.link-area-sub{display:none}
.cont-box{display:none}
}

@media screen and (max-width:639px) {
/*スマホ用のcssを記述*/
body{width: 100% ;}
.R{display:none}
}

@media only screen and (min-width:640px) and (max-width:768px) {
/*tablet用のcssを記述*/
body{width: 100% ;}
.R{display:none}
.cont-box{display:none}
}

@media screen and (max-width:639px) {
/*スマホ用のcssを記述*/
body{width: 100% ;}
.L{display:none}
}

@media only screen and (min-width:640px) and (max-width:768px) {
/*tablet用のcssを記述*/
body{width: 100% ;}
.L{display:none}
.cont-box{display:none}
}

@media screen and (max-width:639px) {
/*スマホ用のcssを記述*/
body{width: 100% ;}
.C{margin-right: auto;}
}

@media only screen and (min-width:640px) and (max-width:768px) {
/*tablet用のcssを記述*/
body{width: 100% ;}
.C{margin-right: auto;}
.cont-box{display:none}
}

@media screen and (min-width:769px) {
/*pc用のcssを記述*/
}

@media screen and (min-width:769px) {
ul.farmaer-menu {
	margin-left: 100px;
	margin-right: 100px;
	}
}

@media screen and (max-width:768px) {
/*スマホ用のcssを記述*/
ul.farmaer-menu {
	margin-left: auto;
	margin-right: auto;
	}
}

@media screen and (max-width:769px) {
	/*スマホ用,タブレット用画面幅のcssを記述*/
.contents .link-area-inn {
    margin: 0 auto;
    padding: 30px 0 0;
    width: auto;
    display: flex;
    justify-content: center;
}
}