@charset "UTF-8";
@font-face {
    font-family: "Source Sans Pro";
    font-weight: 400;
    font-style: normal;
    src: url("fonts/source-sans-pro-400.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Open Sans Condensed";
    font-weight: 300;
    font-style: normal;
    src: url("fonts/open-sans-condensed-300.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Open Sans Condensed";
    font-weight: 700;
    font-style: normal;
    src: url("fonts/open-sans-condensed-700.woff2") format("woff2");
    font-display: swap;
}
/*------------------------------------------------------------
	リセット
------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, figure { margin: 0; padding: 0; background: transparent; border: 0; outline: 0; font-size: 14px; font-weight:normal; letter-spacing:1px; font-family: "Source Sans Pro", Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;}
body, table, input, textarea, select, option { font-family: "Source Sans Pro", Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 14px; } article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } ol, ul { list-style: none; padding:0; margin:0; } blockquote, q { quotes: none; } :focus { outline: 0; } ins { text-decoration: none; } del { text-decoration: line-through; }

/*------------------------------------------------------------
	リンク
------------------------------------------------------------*/
a {
	color: #333;
	text-decoration: none;
}
a:link { }
a:visited { }
a:hover { }
a:active { }

/*------------------------------------------------------------
	レイアウト
------------------------------------------------------------*/
body {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:#FFF;
}

div#container {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
main {
	position:relative;
	top:0;
	left:0;
	width:100%;
	height:calc(100% - 30px);
	padding-bottom:30px;
}
footer {
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	height:30px;
	line-height:30px;
	text-align:center;
	font-size:8px !important;
	color:#002040;
	z-index:20;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
footer { pointer-events: none; }

section.portfolio {
	position:relative;
	top:0;
	left:0;
	margin:0 0 45px 0;
	padding:0;
	width:100%;
	height:100%;
	color:#FFF;
	text-align:center;
	border-top:1px solid #313140;
	background-color:#FFF;
}
section.portfolio > ul {
	list-style:none;
	position:absolute;
	margin:0 auto;
	padding:0;
	width:100%;
	height:100%;
	background-color:#FFF;
}
section.portfolio > ul > li {
	float:left;
	position:relative;
	margin:0;
	padding:0;
	width:25%;
	height:40%;
	text-align:center;
	overflow:hidden;
}
section.portfolio > ul > li div.bg1 {
	position:absolute;
	top: 0;
	left: 0;
	width:100%;
	height:66%;
	overflow:hidden;
	background-size:100% 400%;
	background-position: center top;
	z-index: 1;
}
section.portfolio > ul > li div.bg2 {
	position:absolute;
	bottom: 0;
	left: 0;
	width:100%;
	height:66%;
	overflow:hidden;
	background-size:100% 400%;
	background-position: center bottom;
	z-index: 1;
}
section.portfolio > ul > li div.img {
	display:block;
	position:absolute;
	margin:0 auto;
	padding:0;
	width:auto;
	height:100%;
	text-align:center;
	overflow:hidden;
	z-index: 2;
}
section.portfolio > ul > li div.img img {
	display:block;
	position:absolute;
	margin:0 auto;
	padding:0;
	width:100%;
	height:100%;
}
@media screen and (min-width:1800px) {
	section.portfolio > ul > li div.bg1 {
		height:100%;
		background-size:100% 100%;
	}
	section.portfolio > ul > li div.bg2 {
		display: none;
	}
}
@media screen and (max-width:900px) {
	section.portfolio > ul > li {
		width:33.3%;
	}
}
@media screen and (max-width:600px) {
	section.portfolio > ul > li {
		width:50%;
	}
}
@media screen and (max-width:300px) {
	section.portfolio > ul > li {
		width:100%;
	}
}
@media screen and (max-height:600px) {
	section.portfolio > ul > li {
		height:80%;
	}
	section.portfolio > ul > li div.bg1 {
		height:100%;
		background-size:100% 100%;
	}
	section.portfolio > ul > li div.bg2 {
		display: none;
	}
}


.tile-link {
    position: absolute;
    inset: 0;
    display: block;
}
section.portfolio > ul > li div.img {
    inset: 0;
    width: 100%;
    height: 100%;
}
section.portfolio > ul > li div.img img {
    inset: 0;
    object-fit: contain;
}
.tile-link:focus-visible::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 3px;
    border: 2px solid white;
    outline: 2px solid #002040;
    pointer-events: none;
}
.work-panel, section.logo_index {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    container-type: size;
    z-index: 30;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, .4);
}
.work-panel[hidden] { display: none; }
@media (orientation: landscape) and (min-width: 1152px) {
    .work-panel, section.logo_index { width: 960px; }
}
@media (orientation: landscape) and (min-height: 576px) {
    .work-panel, section.logo_index { height: 480px; }
}
@media (orientation: portrait) and (min-width: 576px) {
    .work-panel, section.logo_index { width: 480px; }
}
@media (orientation: portrait) and (min-height: 1152px) {
    .work-panel, section.logo_index { height: 960px; }
}
.detail-card {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    grid-template-columns: min(58%, 80vh, 480px) minmax(0, 1fr);
    grid-template-columns: min(58cqw, 100cqh) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
}
.work-image { align-self: center; }
.work-image img { display: block; width: 100%; height: auto; }
.work-copy {
    box-sizing: border-box;
    min-height: 0;
    padding: min(10cqh, 48px) 5cqw 50px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.work-name, .work-concept, .work-year {
    font-family: "Open Sans Condensed", sans-serif;
    line-height: 1.2;
    letter-spacing: 1px;
    overflow-wrap: break-word;
}
.work-name { font-size: 30px; font-weight: 700; }
.work-concept { font-size: 20px; font-weight: 300; line-height: 1.35; }
.work-name:not(:empty) + .work-concept:not(:empty) { margin-top: min(7cqh, 34px); }
.work-year {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 20px;
    font-weight: 300;
    background: var(--paper);
}
.close-work {
    position: absolute;
    top: 5px;
    right: 6px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--ink);
    border-radius: 50%;
}
.close-work span {
    font: 24px/1 Arial, sans-serif;
    color: inherit;
    letter-spacing: 0;
}
.close-work:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
@media (orientation: portrait) {
    .detail-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: min(100%, 48vh, 480px) minmax(0, 1fr);
        grid-template-rows: min(100cqw, 60cqh) minmax(0, 1fr);
    }
    .work-image { width: 100%; height: 100%; }
    .work-image img { width: 100%; height: 100%; object-fit: contain; }
    .work-copy { padding: 15px 5% 52px; }
    .work-name:not(:empty) + .work-concept:not(:empty) { margin-top: 8px; }
}
