﻿/*==================================================================================*/
/*	やまなし食のグリーンゾーン応援キャンペーン プレミアム食事券 店舗検索コード生成	*/
/*==================================================================================*/
@charset "utf-8"

*,*:before,*:after {
  box-sizing: inherit;
}
html {
  box-sizing: border-box;
}
body {
	padding: 0;
	margin: 0;
	color: #333;
	font-size: 1rem;
	font-weight: normal;
}
header,main,aside,footer,article,section,h1,h2,h3,h4,h5,h6,div,p,ul,ol,li,span,form,input {
	padding: 0;
	margin: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: normal;
	box-sizing: border-box;
}
ul,ol {
	margin-left: 30px;
}
table,tr,th,td {
	box-sizing: border-box;
}
body {
	background: whitesmoke;
}
header, footer {
	background: steelblue;
}
.wrapper {
	max-width: 1024px;
	width: 100%;
	margin: 0 auto;
	padding: 20px;
}
.pa {
	margin-left: 20px;
}
.lf {
	margin-bottom: 20px;
}
@media screen and (max-width: 1064px) {
	.wrapper {
		width: calc(100% - 20px);
	}
}
.header {
	margin-bottom: 20px;
}
.header h1 {
	font-size: 2rem;
	color: white;
	text-align: center;
}
header p {
	color: white;
	text-align: right;
}
.wrapper h2 {
	font-size: 1.4rem;
	border-bottom: #666 1px solid;
	padding-bottom:  0px;
	padding-left: 20px;
	margin-bottom: 20px;
	position: relative;
}
.wrapper h2:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 3px;
	background: #666;
}
.wrapper h3 {
	display: inline-block;
	font-size: 1.4rem;
	border-bottom: #666 1px solid;
	padding-bottom:  0px;
	padding: 0 20px;
	margin-bottom: 20px;
	position: relative;
}
.wrapper h3:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 3px;
	background: #666;
}
.article {
	margin-bottom: 20px;
	background: lightcyan;
	border: 1px #333 solid;
}
.section {
	margin-bottom: 20px;
	background: white;
	border: 1px #333 solid;
}
.current {
	font-size: 1.4rem;
	color: steelblue;
	font-weight: bold;
}
.error {
	color: red;
}
.upload_input {
	display: none;
}
.upload_button {
	display: block;
	width: 240px;
    padding: 10px 5px;
    margin: 10px 0;
    text-align: center;
    background: #eee;
    border: 1px #666 solid;
    border-radius: 5px;
}
.upload_button:hover {
	cursor: pointer;
	opacity: 0.6;
}
.upload_file {
	display: inline;
}
.upload_name {
	width: calc(100% - 270px);
	border: none;
}
.upload_link {
	width: 100%;
	text-align: left;
	background: transparent;
	border: none;
	border-radius: 0px;
    color: rgb(0,0,238);
    text-decoration: underline rgba(0,0,238);
}
.upload_link:hover {
	opacity: 0.6;
}
.password-block {
	display: flex;
	align-items: center;
}
.upload_passcode {
	width: 200px;
	height: 30px;
	padding: 10px;
	margin: 0 20px 0 0;
	font-size: 1rem;
}
.button-block {
	display: flex;
	justify-content: flex-end;
	padding: 0 20px 0 0;
}
@media screen and (max-width: 760px) {
	.button-block {
		display: block;
	}
}
.file_button {
	display: block;
	width: 120px;
    padding: 5px 5px;
    margin: 0 0 10px 10px;
    text-align: center;
    background: #eee;
    border: 1px #666 solid;
    border-radius: 5px;
}
@media screen and (max-width: 760px) {
	.file_button {
	    margin: 0 0 10px auto;
	}
}
.file_button:hover {
	opacity: 0.6;
	cursor: pointer;
}
.file-list {
	width: calc(100% - 20px);
	border-collapse: collapse;
}
.file-list tr th, .file-list tr td {
	padding: 5px 10px;
	border: 1px #333 solid;
}
.file-list tr th:nth-child(1) {
	width: 40px;
}
.file-list tr th:nth-child(2) {
	width: 60px;
}
.file-list tr th:nth-child(3) {
	width: calc(100% - 390px);
}
.file-list tr th:nth-child(4) {
	width: 170px;
}
.file-list tr th:nth-child(5) {
	width: 120px;
}
@media screen and (max-width: 760px) {
	.file-list tr th:nth-child(1) {
		width: auto;
	}
	.file-list tr th:nth-child(2) {
		width: auto;
	}
	.file-list tr th:nth-child(3) {
		width: auto;
	}
	.file-list tr th:nth-child(4) {
		width: auto;
	}
	.file-list tr th:nth-child(5) {
		width: auto;
	}
}
.file-list tr td {
	word-break: break-word;
}
.file-list tr td:nth-child(1) {
	text-align: center;
}
.file-list tr td:nth-child(2) {
	text-align: right;
}
.file-list tr td:nth-child(3) {
}
.file-list tr td:nth-child(4) {
	text-align: center;
}
.file-list tr td:nth-child(5) {
	text-align: right;
}
.footer {
	color: white;
	text-align: center;
}

