@charset "utf-8";

/*
	コードギアスポータル用CSS
	modified: 2021/9/10
*/

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* ===================================
	common
=================================== */
body {
	line-height: 1.4;
	font-family: arial,sans-serif;
	font-size: 10px;
	color: #fff;
	background: #00020f url(../img2/bg02.jpg) repeat-y center top;
}

a {
	outline:none;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

a:link, a:visited {
	text-decoration:underline;
	color:#c1c1c6;
}

a:hover {
	text-decoration:underline;
	opacity: 0.75;
}

img {
	max-width: 100%;
}

li {
	list-style-type: none;
}

.sp {
	display: none;
}

#toTop {
	width: 4vw;
	height: auto;
	position: fixed;
	bottom: 1vw;
	right: 1vw;
	cursor: pointer;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	z-index: 500;
	box-shadow: 0px 0px 20px 0 rgba(0,56,255,0.85);
	-moz-box-shadow: 0px 0px 20px 0 rgba(0,56,255,0.85);
	-webkit-box-shadow: 0px 0px 20px 0 rgba(0,56,255,0.85);
	border-radius: 100%;
	background: rgba(0,0,0,0.25);
}

#toTop:hover {
	box-shadow: 0px 0px 20px 0 rgba(204,48,48,1);
	-moz-box-shadow: 0px 0px 20px 0 rgba(204,48,48,1);
	-webkit-box-shadow: 0px 0px 20px 0 rgba(204,48,48,1);
}

#toTop img {
	width: 100%;
	height: auto;
}

/* ===================================
	top
=================================== */
h1, #logo, #logoSp {
	text-align: center;
	display: flex;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	align-items: flex-start;
}

h1 a, #logo a, #logoSp a {
	display: block;
	width: 32.33%;
}

h1 .img01, #logo .img01 {
	width: 67.67%;
}

#bannerArea {
	text-align: center;
	max-width: 95%;
	margin: 0 auto;
}

#bannerArea a {
	display: block;
	width: 950px;
	max-width: 100%;
	margin: 0 auto;
}

#bannerArea img {
}

#container {
	width: 1200px;
	max-width: 95%;
	margin: 0 auto;
	position: relative;
	display: flex;
	justify-content: space-between;
	padding: 3em 0 0;
}

#main {
    background: rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px 0 rgba(0,56,255,0.25);
    -moz-box-shadow: 0px 0px 20px 0 rgba(0,56,255,0.25);
    -webkit-box-shadow: 0px 0px 20px 0 rgba(0,56,255,0.25);
    width: 67%;
    padding: 2.5em 1.5%;
}

#news .title01 {
	position: relative;
}

#news .title01 .light01 {
	position: absolute;
	top: -8em;
	left: 28%;
	width: 20em;
	z-index: -1;
}

#news h2 {
	margin: 0 auto;
	text-align: center;
	font-size: 500%;
	letter-spacing: 0.15em;
	padding: 0.25em 0 0.5em;
}

#news h2 .line01 {
	display: inline-block;
	background: url("../img2/line_bg_01.png") repeat-x 0 0;
	width: 2em;
	height: 5px;
	vertical-align: middle;
	opacity: 0.5;
	background-size: auto 100%;
	margin: -0.25em -0.5em 0 0;
}

#news h2 .line02 {
	display: inline-block;
	background: url("../img2/line_bg_01.png") repeat-x 0 0;
	width: 2em;
	height: 5px;
	vertical-align: middle;
	opacity: 0.5;
	background-size: auto 100%;
	margin: -0.25em 0 0 -0.5em;
}

#news h2 img {
	width: auto;
	height: 1em;
}

#news #newsList {
	display: flex;
	flex-wrap: wrap;
}

#news #newsList li.each {
	width: 31.33%;
	font-size: 160%;
	min-height: 20em;
	margin: 0 1% 3.5em;
}

#news #newsList li.each a {
    display: block;
    color: #464646;
    font-size: 14px;
    text-decoration: none;
	position: relative;
	height: 100%;
	background: #fff;
	padding-bottom: 2.25em;
}

#news #newsList li.each a .thumbnail {
	overflow: hidden;
	height: 10em;
	display: flex;
	justify-content: center;
	align-items: center;
}

#news #newsList li.each a .thumbnail img {
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	width: 100%;
	height: auto!important;
}

#news #newsList li.each a:hover .thumbnail img {
	transform: scale(1.1,1.1);
}

#news #newsList li.each a .detail {
	padding: 1.25em 5% 0;
}

#news #newsList li.each a .series {
	color: #fff;
	background: #999;
	padding: 0.4em 1em;
	font-size: 90%;
}

#news #newsList li.each a .series.type01 {
	background: #3F84E5;
}

#news #newsList li.each a .series.type02 {
	background: #306B34;
}

#news #newsList li.each a .series.type03 {
	background: #7D387D;
}

#news #newsList li.each a .series.type04 {
	background: #a48739;
}

#news #newsList li.each a .series.type05 {
	background: #000;
}

#news #newsList li.each a .title {
	margin-top: 1em;
	line-height: 1.6;
	font-size: 105%;
}

#news #newsList li.each a .detailBox01 {
	font-size: 85%;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-bottom: 1px solid #BEB7A4;
	position: absolute;
	bottom: 0.5em;
	width: 90%;
}

#news #newsList li.each a .detailBox01 .category {
}

#news #newsList li.each a .detailBox01 .category li {
	background: #BEB7A4;
	color: #fff;
	padding: 0.25em;
	display: inline-block;
	vertical-align: bottom;
	margin: 1px 1px 0 0;
}

#news #newsList li.each a .detailBox01 .date {
	color: #BEB7A4;
	text-align: right;
}

#news .btn01 {
	margin: 1.5em 0 0;
}

#news .btn01 a {
	font-size: 16px;
	color: #fff;
	text-decoration: none;
	padding: 0.75em 0;
	width: 20em;
	display: block;
	text-align: center;
	border: 1px solid #666;
	box-shadow: 0 0 5px 5px rgba(255,255,255,0.15);
	margin: 0 auto;
}

#news .btn01 a:hover {
	background: rgba(204,48,48,0.85);
	opacity: 1;
}

#sns {
    display: flex;
    justify-content: space-between;
	margin-top: 4rem;
}

#twitter {
    width: 49%;
}

#youtube {
    width: 49%;
    background: rgba(0, 0, 0, 0.85);
    box-sizing: border-box;
    padding: 1.5em 1%;
    border-radius: 12px;
    border: 1px solid;
    border-color: rgb(51, 54, 57);
}

#youtube h3 {
    width: 15em;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 0.5em;
}

#youtube h3 a {
    display: block;
}

#youtube iframe {
    width: 100%;
    height: 21em;
    display: block;
}

#youtube .link {
    margin-top: 1em;
    text-align: center;
}

#youtube .link a {
    display: block;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
}

#youtube .link span {
    display: block;
    font-size: 81.25%;
}

#youtube .link strong {
    display: block;
    font-size: 125%;
}

#youtube .link img {
    display: block;
    margin: 0.25em auto 0;
    width: 2.75em;
}

#side {
	width: 24.16%;
}

#side .bnr01 {
	margin-bottom: 4.5em;
}

#side .bnr01 li {
	margin-bottom: 1.5em;
}

#side .bnr01 li a {
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	display: block;
    position: relative;
    overflow: hidden;
}

#side .bnr01 li a img:first-child {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#side .bnr01 li a:hover img:first-child {
    opacity: 1;
}

#footer{
	text-align: center;
	margin: 2em 0 5em;
	letter-spacing: 0.25em;
}

/*******************************
Tablet
*******************************/
@media screen and (max-width:1024px) {
	#toTop {
		width: 8vw;
	}
	#news h2 {
		font-size: 400%;
	}
	#side .bnr01 li a img:nth-child(1) {
		display: none;
	}
	#news #newsList li.each a .detailBox01 {
		font-size: 85%;
	}
	#news #newsList li.each a .detailBox01 .category li {
	    padding: 0.25em;
	}
}

/*******************************
Sp
*******************************/
@media screen and (max-width:767px) {
    body {
        font-size: 3.75vw;
    }
    .sp {
        display: block;
    }
	.pc {
		display: none;
	}
	#toTop {
		width: 15vw;
	}
	h1 a, #logoSp a {
		width: 55.428%;
	}
	h1 .img01, #logoSp .img01 {
		width: 44.572%;
	}
	#bannerArea {
		margin: 1em auto 0;
	}
	#container {
		display: block;
	}
	#main {
		width: auto;
		padding: 1.5em 2.5%;
	}
	#news h2 {
		font-size: 250%;
	}
	#news .title01 .light01 {
		top: -4em;
		left: 28%;
		width: 10em;
	}
	#news #newsList li.each {
		width: auto;
		min-height: 0;
	    margin: 0 0 1.25em;
	}
	#news #newsList li.each a {
		padding-bottom: 0;
	}
	#news #newsList li.each a .thumbnail {
		height: 12em;
	}
	#news #newsList li.each a .detail {
		padding: 0.75em 2.5% 0.5em;
	}
	#news #newsList li.each a .series {
		padding: 0.4em 0.25em;
		font-size: 80%;
		display: inline-block;
	}
	#news #newsList li.each a .title {
		font-size: 100%;
		margin-top: 0.5em;
	}
	#news #newsList li.each a .detailBox01 {
		margin-top: 0.5em;
		position: static;
		width: auto;
	}
	#news .btn01 {
		margin: 0;
	}
    #sns {
        display: block;
    }
    #twitter {
        width: 100%;
        margin-bottom: 2.5em;
    }
    #youtube {
        width: 100%;
        padding: 1.5em 5%;
    }
    #youtube h3 {
        width: 40%;
    }
    #youtube iframe {
        height: 46vw;
    }
	#side {
		width: auto;
		padding-top: 2.5em;
	}
	#side .bnr01 {
		margin-bottom: 4em;
		text-align: center;
	}
	#side .bnr01 li {
		margin-bottom: 1em;
	}
	#side .bnr01 li a {
		margin: 0 auto;
	}
	#footer {
		font-size: 75%;
	}
}
