@charset "utf-8";

* {
	margin:0;
	padding:0;
}

html {
	font-family: 'M PLUS 1p', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	font-weight:200;
	font-size:16px;
	line-height:24px;
	background-color:#d5cb44;
}

body {
	-webkit-text-size-adjust:100%;
	position:relative;
	width:100vw;
	height:100vh;
}

::selection {
	background-color: #aaa;
	color: #fff;
}


a {
	text-decoration:none;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all  0.4s ease;
	-webkit-tap-highlight-color: transparent;
}


.clear {
	clear:both;
}

h2 {
	margin:10px 0 20px 0;
	color:#000;
}

p {
	color:#000;
	margin:5px 0 0 0;
	padding:0;
}

p a {
	color:#000;
}

p a:hover {
	color:#666;
}

.right {
	text-align:right;
}



/* ヘッダ */

#header {
	height:100%;
	display:block;
	text-align:center;
	background-color:#001600;
}

.logo_section {
	padding-top:calc( 50vh - 130px );
}

.logo_wrapper {
	position:relative;
	width:50vw;
	max-width:400px;
	min-width:280px;
	margin:0 auto;
}

.logo_body,
.logo_cursor {
	user-select: none;
	-moz-user-select: none; /* Firefox */
	-webkit-user-select: none; /* Safari、Chrome */
	-ms-user-select: none; /* IE10 */
	pointer-events: none;
}

.logo_cursor {
	position: absolute;
	top: 0;
	left: 0;
	animation-name: anime;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-timing-function: ease;
}

@keyframes anime {
	0% { opacity: 1; }
	50% { opacity: 1; }
	55% { opacity: 0.3; }
	100% { opacity: 0.05; }
}

.imac {
	width:96px;
	height:84px;
	background-image:url('./img/img-imac.png');
	background-size:100%;
	background-position:top left;
	margin: 0 auto;
	margin-top: 28px;	/* calc非対応のブラウザ対策 (0 autoを先に宣言) */
	margin-top: max( calc( 50vh - 205px ), 28px );
	position:relative;
}


#header div.imac:hover {
	background-position:bottom left;
}

#header div:nth-child(2) {
	border-bottom:2px solid #fff;
}



/* メニュー */

#menu {
	margin:0 auto;
	padding:8px 0;
	text-align:center;
	width:100vw;
	background-color:#d5cb44;
}

.menu_list li {
	list-style-type:none;
	margin:0 15px;
	font-size:16px;
	line-height:16px;
	display:inline-block;
	font-weight:500;
}

.menu_list li img {
	width:22px;
	height:15px;
	vertical-align:-1px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all  0.4s ease;
	-webkit-tap-highlight-color: transparent;
}

.menu_list li a {
	color:#fff;
}

.menu_list li a:hover {
	color:#ebe7a8;
}

.menu_list li a:hover img {
	opacity:0.6;
}

.menu_list li:last-child {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all  0.4s ease;
	border-top:solid 2px #fff;
	vertical-align:-2px;
}

.menu_list li:last-child:hover {
	border-top:solid 2px #e4e2c6;
}


@media screen and ((max-width:599px) or (max-height:399px)) {
	.menu_list {
		width:calc(100vw - 10px);
	}
	.menu_list li {
		margin:0 0 0 10px;
	}
}

#menu.is-fixed {
	position:fixed;
	top:0;
	z-index:2;
}

main > div {
	padding:60px 0 0 0;
}

main > div:nth-child(odd) {
	background-color:#f9f9f9;
	color:000;
}

main > div:nth-child(even) {
	background-color:#001c00;
	color:#fff;
}


/* ブロック */

.block {
	height:calc( 100vh - 60px );
	width:100%;
	display:flex;
	align-items:center;
}

.block:last-child {
	height:calc( 100vh - 84px );
}

.block > div {
	width:400px;
	margin:-70px auto 0 auto;
	padding:20px 25px 20px 25px;
	background-color:#ccc;
	border-radius:3px;
}


@media screen and ((max-width:599px) or (max-height:399px)) {
	.block > div {
		margin:-10px auto 0 auto;
		width:100vw;
		height:100%;
		padding:0 20px 0 20px;
		background:none;
	}
	main > div:nth-child(even) div h2,
	main > div:nth-child(even) div li,
	main > div:nth-child(even) div p,
	main > div:nth-child(even) div p a {
		color:#fff !important;
	}
	main > div:nth-child(even) div p a:hover {
		opacity:0.8;
	}
}

.note {
	margin:2px 0 0 0;
	font-size:0.9em;
	line-height:1.3em;
}


/* ソリューション */

#solution ul {
	margin:5px 0 0 2em;
	padding:0;
	font-size:0.9em;
	line-height:1.5em;
	color:#000;
}

/* 連絡先　*/

.atimg {
	height:15px;
	margin:0 3px;
	vertical-align:-2px;
}



/* フッタ */

#footer {
	text-align:right;
	width:100%;
	height:24px;
}

#footer:after {
	padding:0 10px 0 0;
	content:'© 2019 KIJITORA DIGITAL, Sapporo.';
	font-size:14px;
	line-height:14px;
	color:#001c00;
}


