@charset "utf-8";

body {
	margin: 0;
	padding: 0;
	background: #eee;
	color: #222;
	font-size: 10pt;
	text-align: center;
}
#wrap {
	position: relative;
	width: 1000px;
	border: 1px solid #ccc;
	margin: 0 auto;
	text-align: left;
	background: #fff;
	-webkit-box-shadow: 0 15px 20px #aaa;
	-moz-box-shadow: 0 15px 20px #aaa;
	box-shadow: 0 15px 20px #aaa;
}
#header .picture {
	float: left;
	width: 340px;
}
#header .right {
	float: right;
	width: calc( 580px + 40px + 15px );
	height: 280px;
}

#contents .cmargin {
	width: calc( 100% - 80px );
	margin: 0 40px;
	padding: 1px 0;
}
#contents .content {
	margin-top: 1em;
	margin-bottom: 2em;
}
#contents .cmargin:not(.content) {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
#contents .cmargin .cflex {
	flex: 0 0 440px;
}
#contents .cmargin .cflex.left {
	flex: 0 0 300px;
}
#contents .cmargin .cflex.right {
	flex: 0 0 580px;
	order: 2;
}

a {
	text-decoration: underline;
	color: #b52d33;
}
a:hover {
	text-decoration: none;
}
img {
	vertical-align: bottom;
}
ul {
	margin: 0 0 0 2em;
	padding: 0;
}
ul.nostyle {
	list-style: none;
}
ul.lightbox {
	margin: 0;
	padding: 0;
}
dl { margin: 0; }
dt { margin: 0; font-weight: bolder;}
dt { margin: 1em 0 0.5em; }
dt:first-child { margin-top: 0; }
dd { margin: 0; }

.exlink {
	display: inline-block;
	margin: -0.1em 0 0 0.25em;
	vertical-align: middle;
	width: 16px;
	height: 16px;
	background: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgMTYgMTYiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPjxwYXRoIGQ9Ik0gOSAyIEwgOSAzIEwgMTIuMjkyOTY5IDMgTCA2LjAyMzQzOCA5LjI3MzQzOCBMIDYuNzI2NTYzIDkuOTc2NTYzIEwgMTMgMy43MDcwMzEgTCAxMyA3IEwgMTQgNyBMIDE0IDIgWiBNIDQgNCBDIDIuODk0NTMxIDQgMiA0Ljg5NDUzMSAyIDYgTCAyIDEyIEMgMiAxMy4xMDU0NjkgMi44OTQ1MzEgMTQgNCAxNCBMIDEwIDE0IEMgMTEuMTA1NDY5IDE0IDEyIDEzLjEwNTQ2OSAxMiAxMiBMIDEyIDcgTCAxMSA4IEwgMTEgMTIgQyAxMSAxMi41NTA3ODEgMTAuNTUwNzgxIDEzIDEwIDEzIEwgNCAxMyBDIDMuNDQ5MjE5IDEzIDMgMTIuNTUwNzgxIDMgMTIgTCAzIDYgQyAzIDUuNDQ5MjE5IDMuNDQ5MjE5IDUgNCA1IEwgOCA1IEwgOSA0IFoiLz48L3N2Zz4=) no-repeat center;
}

.content .h2 {
	margin-top: 0;
	margin-left: -15px;
	padding: 0;
	background: #636060;
	color: #fff;
	font-size: 1.46em;
	border-radius: 3px;
}
.content .h3 {
	margin-top: 0;
	margin-left: -15px;
	padding: 0 0 0 15px;
	background: #d6d6d6;
	color: #fff;
	font-family: serif;
	font-size: 1.46em;
	border-radius: 3px;
}
#news h2 {
	margin-left: -15px;
    padding: 0.25em 15px;
	border: 2px solid #636060;
	border-width: 2px 0;
	background: #f2f2f2;
    font-family: serif;
	font-size: 1.46em;
	font-weight: normal;
}
.content dt ,
.content .h2 ,
.content .h3  {
    font-family: serif;
}
.content .h2 ,
.content .h3 {
	padding: 0.25em 15px;
	font-weight: normal;
}
.content dt {
	font-weight: bolder;
	font-size: 1.1em;
}
.content dl dl dt {
	font-size: 1em;
}

/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
header
*/

#header h1 {
	margin: 0;
	background: #636060;
	color: #fff;
	font-size: 2em;
    font-family: serif;
}
#header h1 .style {
	display: block;
	padding: 0.25em 15px;
}
#header h1 .style img {
	height: 2em;
}

#case h2 .style {
	font-size: 1.2em;
    font-family: serif;
}

#header .slogan {
	margin: 50px 50px 0;
	line-height: 1.3;
	font-size: 2em;
    font-family: serif;
    font-weight: bolder;
}

.mincho {
    font-family: serif;
}

#case {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0 48px 0 50px;
	line-height: 1.4;
}

#case h2 {
	margin: 0.2em 0;
	font-size: 1em;
}
#case dd {
	margin: 0 0 0 0.1em;
}

#header .picture {
	height: 280px;
	background: #eee;
}

/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
content
*/

#news dl::after {
    clear: both;
    display: block;
    content: "";
    height: 0;
    overflow: hidden;
}
#news dl p {
    margin: 0;
}
#news dt {
	clear: left;
	float: left;
	margin: 0 0 0.5em;
	padding: 0 0 0.5em;
	font-weight: normal;
}
#news dt + dd {
	margin: 0 0 0.5em 0;
		border-bottom: 1px solid #ddd;
	padding: 0 0 0.5em 6em;
}
#news dt + dd .readmore::before {
	display: inline-block;
	content: "...";
	margin: 0 0.15em 0 0;
}

#message {
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1.6;
	font-size: 1.4em;
    font-family: serif;
}

#biography .left {
	float: left;
	width: 21em;
}
#biography .right {
	float: left;
	width: calc( 100% - 21em - 30px );
	margin: 0 0 0 30px;
}
#biography dt {
	border-bottom: 3px solid #ddd;
	margin: 2em 0 0.5em;
}
#biography dt:first-child {
	margin-top: 1em;
}
#biography dl dl dt {
	margin: 0.5em 0 0;
	border: none;
}
#biography dl dl dl dt {
	border: none;
	margin: 0;
	padding: 0;
}
#biography dl dl dl dt:first-child {
	margin: 0;
}
#biography .directormember > dl::after {
	clear: both;
	content: "";
	display: block;
	overflow: hidden;
}
#biography .directormember > dl > dd ,
#biography .directormember > dl > dt  {
	margin: 0.3em 0 0;
}
#biography .directormember > dl > dt  {
	clear: both;
	float: left;
	font-size: 0.92em;
}
#biography .directormember dl dl {
	margin: 0 0 0 4em;
}

#map h3 {
	display: none;
}
#map .mapWrap {
	margin: 0 5em 2em;
}
#map .mapWrap img {
	width: 100%;
	height: auto;
}
#map iframe {
	width: 100%;
	height: 320px;
	border: 0;
}

#recruit dt {
	float: left;
	width: calc( 50% - 2em );
	margin: 2em 1em;
	border-bottom: 2px solid #636060;
	padding: 0 0;
	text-align: center;
	box-sizing: border-box;
}
#recruit dd {
	clear: left;
	margin: 0.5em 0 0em;
	text-align: center;
}
#recruit .contact {
	margin: 1em 0 0;
	text-align: center;
}
.code-yellow#recruit {
    box-sizing: border-box;
	text-align: center;
}
.code-yellow#recruit > .inner {
	border-radius: 6px;
	padding: 1px 1em;
	background: #fff9e0;
}
.code-yellow#recruit h2 {
	font-family: serif;
}
.code-yellow#recruit dl {
	margin: 0 0;
}
.code-yellow#recruit dl dt {
	float: none;
	width: auto;
	margin: 0;
	border: 0;
}
.code-yellow#recruit .contact {
	margin: 1em 0;
}
.code-yellow#recruit .contact a {
	text-decoration: none;
}
.code-yellow#recruit .contact a:hover {
	text-decoration: underline;
}

#history h2 {
	margin-bottom: 1.6em;
}
#history dt .style {
    font-family: serif;
}
#history dd:last-child {
	margin-top: 1em;
}

#example h2 {
	margin-bottom: 1em;
}
#example ul {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin: 0;
	list-style: none;
}
#example .lightbox li.post {
    display: block;
    width: 142px;
    height: 142px;
    transition: all 0.3s ease;
}
#example .lightbox li.post a {
    display: flex !important;
    justify-content: center;
    align-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
    position: relative;
}
#example .lightbox li.post a video {
	width: auto;
	height: 100%;
}
#example .lightbox li.post a img {
    width: 100%;
    height: auto;
   /*画像のセンタリング（中央寄せ）*/
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	transition: all 0.3s ease;
}
#example nav {
	display: none;
}

#member h2 {
	position: relative;
	margin-top: 1.7em;
	padding-top: 0.6em;
	padding-bottom: 0.35em;
    font-size: 1.3em;
}
#member h2 .post {
	display: block;
	position: absolute;
	top: -1.7em;
	left: 15px;
	padding: 0;
	color: #222;
    font-family: serif;
	font-size: 0.96em;
}
#member h2 rt {
	margin: 0.05em 0;
}
#member .picture {
    float: right;
    width: 140px;
    margin: 1em 3px 0;
	background: #eee;
	overflow: hidden;
}
#member .picture img {
	width: 100%;
	height: auto;
}
#member .biography {
    margin: 2em 0;
}
#member .comment {
	margin: 50px auto;
}
#member .biography dt {
    font-family: serif;
	font-size: 1.1em;
}
#member .comment {
	font-size: 1.1em;
	line-height: 1.6;
}

/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
footer
*/

#footer {
    font-family: serif;
}
#footer {
	margin: 80px 20px 50px;
	border-top: 3px solid #636060;
	padding-top: 1.2em;
	text-align: center;
}
#footer #copyright {
	font-weight: bolder;
}


/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/

@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {
	html {
		background: #fff;
	}
	#wrap {
		width: 100%;
		border: 0;
		box-shadow: none;
	}

	#header {
		width: auto;
	}
	#header .right {
		width: 60%;
		height: auto;
	}
	#header h1 .style img {
		width: 40%;
		height: auto;
	}
	#header .picture {
		width: calc( 40% - 25px );
		height: auto;
	}
	#header .picture img {
		width: 100%;
	}

	#contents .cmargin {
		width: calc( 100% - 50px );
		margin-right: 20px;
		margin-left: 30px;
	}
	#contents .cmargin:not(.content):not(#member) {
		display: block;
	}
	#contents #member .content {
		flex: 0 0 calc( ( 100% - 50px ) / 2 );
	}
	#contents #biography .body > div ,
	#contents #history {
		width: calc( ( 100% - 50px ) / 2 );
	}

	.code-yellow#recruit > .inner {
		display: inline-block;
		padding: 1px 2.5em;
	}
	#history h2 {
		margin: 2em 0 0.5em;
		padding: 0;
		border-bottom: 3px solid #ddd;
		background: unset;
		color: unset;
		font-size: 1.1em;
		font-weight: bolder;
		font-family: serif;
	}

	#example .lightbox li.post {
        width: calc( 100% / 6 - 13px * 5 / 6 );
        height: calc( 100vw / 6 - 13px * 5 / 6 );
	}
}

@media (max-width: 767.98px) {
	#header .picture {
		width: calc( 40% - 20px );
	}
	#contents #biography .body > div ,
	#contents #history {
		width: 100%;
		margin-left: 0;
	}
	#map h3 {
		display: block;
	}
	#map .mapWrap {
		margin: 0 0 2em;
	}
	#example .lightbox {
		gap: 10px;
	}
	#example .lightbox li.post {
        width: calc( 100% / 4 - 10px * 3 / 4 );
        height: calc( 100vw / 4 - 10px * 3 / 4 );
	}
	#contents .cmargin#member {
		display: block;
	}
	#contents .cmargin#member .content {
		flex: 0 0 calc( 100% - 50px );
	}
	#member .picture {
		width: 40%;
	}
}

@media (max-width: 575.98px) {
	#header .picture {
		width: calc( 40% - 15px );
	}
	#example .lightbox {
		gap: 5px;
	}
	#example .lightbox li.post {
        width: calc( 100% / 3 - 5px * 2 / 3 );
        height: calc( 100vw / 3 - 5px * 2 / 3 );
	}
}

@media (max-width: 380px) {

	#header .picture {
		float: none;
		width: auto;
		height: auto;
	}
	#header .picture img {
		width: 100% !important;
	}
	#header .right {
		float: none;
		width: auto;
		height: auto;
	}
	#example .lightbox li.post {
        width: calc( 100% / 2 - 5px * 1 / 2 );
        height: calc( 100vw / 2 - 5px * 1 / 2 );
	}
	#member .picture {
		float: none;
		width: 80%;
		margin: 0 0 0 20%;
	}
}

/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/

.cf::after {
	content:"";
	clear:both;
	display:block;
	height:0;
}

