/*
	Theme Name: 医療法人協会 鳥取県支部
	Description: 
	Author: 有限会社 福井事務機  秋鹿 彰太
	Version: 1.0.0
*/

body {
	display: flex;
	flex-direction: column;
	
	width: 100%;
	min-height: 100vh;
	
	overflow-x: hidden;
	
	margin: 0;
}

a {
	color: #65a30d;
	text-decoration: underline;
}
a:hover {
	color: #a3e635;
}

header {
	position: fixed;
	top: 0;
	
	display: flex;
	align-items: center;
	justify-content: center;
	
	width: 100%;
	height: 80px;
	
	background: #15803d;
	border-bottom: solid 1px #f0fdf4;
	
	z-index: 10;
}

.header {
	width: calc(1280px - 2rem);
	height: 100%;
	
	padding: 0 1rem;
	
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.head-contacts {
	display: flex;
	flex-direction: column;
}

.head-contact {
	display: grid;
	grid-template-columns: 64px 1fr;
	
	color: white;
	text-decoration: none;
	margin: 2px 0;
}
.head-contact:hover { color: white; }

.head-title {
	font-size: 1.25rem;
	font-weight: bold;
	font-family: 'Times New Roman', Times, serif;
	
	color: white;
	text-decoration: none;
}
.head-title:hover {
	color: white;
}

.head-title-name1 { margin: 0; margin-bottom: 1px; }
.head-title-name2 { margin: 0; margin-top: 1px; }

.head-menu { height: 100%; }

.head-menu ol {
	display: flex;
	margin: 0;
	padding: 0;
	
	height: 100%;
}

.head-menu li {
	display: flex;
	align-items: center;
	justify-content: center;
	
	width: 8rem;
	height: 100%;
	
	list-style: none;
	color: white;
	font-weight: bold;
	
	transition: all 0.25s;
}
.head-menu li:hover {
	background: #22c55e;
}

.header-margin {
	width: 100%;
	height: 80px;
	
	background: linear-gradient(to right, #4d7c0f, #65a30d, #65a30d, #65a30d, #4d7c0f);
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	
	width: 100%;
	flex-grow: 1;
	
	background: linear-gradient(to right, #4d7c0f, #65a30d, #65a30d, #65a30d, #4d7c0f);
}

.main-title {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	flex-shrink: 0;
	
	/*width: 1024px;*/
	width: 100%;
	height: 256px;
	
	margin-top: 24px;
	margin-bottom: 24px;
	
	text-shadow: 2px 2px 4px #14532d;
}

.main-title span {
	margin: 0.5rem 1rem;
	
	color: white;
	text-wrap: wrap;
}

.contents {
	display: flex;
	justify-content: center;
	
	width: 100%;
	flex-grow: 1;
	
	padding-top: 16px;
	padding-bottom: 16px;
	
	background: #f7fee7;
}

.contents-inner {
	display: flex;
	width: 1280px;
}

.contents-left {
	flex-grow: 1;
	
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 48px;
}

.contents-left h3 {
	width: calc(100% - 8px);
	border-bottom: solid 4px #16a34a;
	
	font-size: 1.5rem;
	font-weight: bold;
	
	margin: 24px 0;
	padding-left: 8px;
}

.fileuploader_list_file {
	border-bottom: solid 2px #16a34a;
	
	margin-top: -4px;
	margin-bottom: 12px;
		
	color: #000000;
}
.fileuploader_list_file:hover {
	color: #000000;
}

.contents-right {
	width: 480px;
	
	padding-left: 16px;
	padding-right: 16px;
}

.notice {
	display: flex;
	align-items: start;
	flex-direction: column;
}

.links {
	display: flex;
	align-items: start;
	flex-direction: column;
}

.links a {
	margin: .5rem;
}

div[class="label-box"] {
	position: relative;
	
	margin-top: calc(0.5rem + 24px);
	margin-bottom: calc(1.5rem + 24px);
	
	padding-top: 1rem;
	padding-bottom: 0.5rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	
	border: solid 4px #16a34a;
	border-radius: 0.5rem;
}

h3[class="label-box"] {
	position: absolute;
	top: -1rem;
	left: 0;
	right: 0;
	
	width: fit-content;
	
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	
	font-size: 1.25rem;
	font-weight: bold;
	
	background: #f7fee7;
}

.contents-postnav {
	width: 100%;

	display: grid;
	grid-template-columns: 1fr auto 1fr;
}

.contents-single {
	flex-grow: 1;
	
	padding-left: 16px;
	padding-right: 16px;
}

.contents-single h3 {
	width: calc(100% - 8px);
	border-bottom: solid 4px #16a34a;
	
	font-size: 1.5rem;
	font-weight: bold;
	
	margin: 24px 0;
	padding-left: 8px;
}

footer {
	display: flex;
	justify-content: center;
	flex-shrink: 0;
	
	width: 100%;
	height: 160px;
	
	color: white;
	background: #15803d;
}

.footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	
	width: calc(1280px - 2rem);
	height: calc(100% - 16px);
	
	padding: 8px 1rem;
}

.foot-company {
	height: fit-content;
}

.foot-company-name {
	display: flex;
	flex-direction: column;
	padding-bottom: 8px;
}

.foot-company-address {
	padding-top: 8px;
}

.foot-contacts {
	display: flex;
	flex-direction: column;
}

.foot-contact {
	display: grid;
	grid-template-columns: 64px 1fr;
	
	color: white;
	text-decoration: none;
	margin: 4px 0;
}
.foot-contact:hover { color: white; }

@media (max-width: 1280px) {
	.header {
		width: calc(100% - 2rem);
		padding: 0 1rem;
	}
}
@media (max-width: 1024px) {
	.contents-inner { flex-direction: column; }
	.contents-right {
		width: calc(100% - 32px);
		
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.contents-right div[class="label-box"] {
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}
}
@media (max-width: 768px) {
	footer {
		height: 192px;
	}
	.footer {
		flex-direction: column;
	}
	
	.foot-company {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.foot-company-name {
		display: flex;
		align-items: center;
		justify-content: center;
		
		flex-grow: 1;
	}
	
	.foot-contacts {
		margin-bottom: 8px;
	}
}
@media (max-width: 640px) {
	header {
		height: 128px;
	}
	.header {
		display: flex;
		flex-direction: column;
		
		padding-bottom: 8px;
	}
	.head-title {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		flex-grow: 1;
		
		margin-top: 1rem;
		margin-bottom: 0.25rem;
	}
	.header-margin {
		height: 128px;
	}
	
	.contents-right {
		display: flex;
		flex-direction: column;
		
		width: calc(100% - 32px);
	}
	.contents-right div[class="label-box"] {
		margin-top: 0.5rem;
		margin-bottom: 1.5rem;
		margin-left: 0rem;
		margin-right: 0rem;
	}
	
	footer {
		height: 224px;
	}
	.foot-company-name {
		display: flex;
		flex-direction: column;
	}
}