﻿@charset "utf-8";

@media screen and (min-width: 481px) {
#main {
	padding-top: 75px;
	margin-bottom: 45px;
}

div#working {
	width: 460px;
	float: left;
	position: relative;
}
div#working strong {
	display: block;
	position: absolute;
	top: -100px;
}
div#working ul li {
	width: 130px;
	padding: 3px;
	float: left;
	position: relative;
	background: #fff;
	background: rgba(255,255,255,0.75);
	box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
}
div#working ul li:nth-child(2) {
	margin: 0 26px;
}
div#working ul li a {
	display: block;
}
div#working ul li span {
	display: block;
	padding: 3px;
	font-size: 11px;
	line-height: 15px;
	height: 30px;
	width: 124px;
	overflow: hidden;
	color: #000;
}

div#min {
	width: 428px;
	float: right;
	padding: 15px;
	padding-bottom: 0;
	border: solid 1px #bfbfbf;
	background: #333;
	background: rgba(0,0,0,0.6);
	color: #fff;
	margin-bottom: 30px;
	position: relative;
}

div#min strong {
	background: url(../img/fuki.png) no-repeat;
	display: block;
	text-align: center;
	font-size: 20px;
	position: absolute;
	width: 460px;
	height: 60px;
	line-height: 60px;
	padding-bottom: 30px;
	top: -80px;
	left: 0;
	color: #DE9814;
}
div#min div {
	width: 295px;
	float: right;
}
div#min p {
	font-size: 13px;
	line-height: 23px;
	margin: 5px 0 15px;
}
div#min a {
	display: block;
	width: 160px;
	text-align: center;
	color: #fff;
	font-size: 16px;
	margin: 0 auto;
	padding: 15px;
	border: solid 1px #999;
}
div#min a:hover {
	background: rgba(234,164,32,0.5);
	border: solid 1px #fff;
}

ul#news {
	width: 460px;
	height: 275px;
	float: left;
	background: #ddd;
	background: rgba(223,223,223,0.9);
}
ul#news li {
	padding-left: 12px;
	line-height: 32px;
	border-top: dotted 1px #777;
	font-size: 12px;
}
ul#news li a {
	color: #000;
}
ul#news li a:hover {
	color: #AA6C22;
}
ul#news li span {
	margin-right: 20px;
}
ul#news li:first-child {
	font-weight: bold;
	border-top: 0;
	border-left: solid 4px #D6850C;
	padding-left: 10px;
	line-height: 34px;
	margin: 3px 0;
	font-size: 16px;
	color: #311E02;
	letter-spacing: 0.1em;
}

ul#work {
	width: 460px;
	height: 275px;
	float: right;
	background: #ddd;
	background: rgba(223,223,223,0.9);
}
ul#work li {
	font-size: 12px;
	line-height: 19px;
	border-top: dotted 1px #777;
	width: 230px;
	height: 77px;
	float: left;
	overflow: hidden;
}
ul#work li:hover {
	background: #eee;
	background: rgba(255,255,255,0.4);
}
ul#work li:hover a {
	color: #AA6C22;
}
ul#work li a {
	display: block;
	height: 57px;
	padding: 10px;
}
ul#work li span {
	font-size: 11px;
	line-height: 20px;
	color: #CB0376;
}
ul#work li img {
	vertical-align: middle;
	margin-right: 6px;
	float: left;
}
ul#work li:nth-child(2n) {
	width: 229px;
	border-right: dotted 1px #777;
}
ul#work li:first-child {
	width: 100%;
	font-weight: bold;
	border-top: 0;
	border-left: solid 4px #1A88B3;
	height: auto;
	padding: 0;
	padding-left: 10px;
	line-height: 34px;
	margin: 3px 0;
	font-size: 16px;
	color: #04202F;
	letter-spacing: 0.1em;
}
ul#work li:first-child:hover {
	background: none;
}
}

@media screen and (min-width: 0px) and (max-width: 480px) {
div#working {
	width: 90%;
	margin: 0 auto;
	width: -webkit-calc(100% -30px);
	width: calc(100% - 30px);
	
}
div#working strong {
	display: block;
	text-align: center;
	margin-bottom: -20px;
}
div#working ul li {
	width: 240px;
	padding: 3px;
	position: relative;
	background: #fff;
	background: rgba(255,255,255,0.75);
	box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
	margin: 20px auto;
}
div#working ul li img {
	width: 240px;
	height: auto;
}
div#working ul li a {
	display: block;
}
div#working ul li span {
	display: block;
	padding: 3px;
	font-size: 13px;
	line-height: 18px;
	height: 30px;
	width: 234px;
	overflow: hidden;
	color: #000;
}

div#min {
	width: 100%;
	padding: 10px 0 20px;
	background: #333;
	background: rgba(0,0,0,0.6);
	color: #fff;
}
div#min img {
	width: 80px;
	height: auto;
	margin: 0 10px;
}
div#min strong {
	display: block;
	text-align: center;
	font-size: 18px;
	width: 90%;
	margin: 0 auto 15px;
	color: #DE9814;
	position: relative;
	background: #ffffff;
	padding: 10px;
    border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}
div#min strong:after, div#min strong:before {
	top: 100%;
	left: 15%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

div#min strong:after {
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #ffffff;
	border-width: 12px;
	margin-left: -12px;
}
div#min strong:before {
	border-color: rgba(201, 201, 201, 0);
	border-top-color: #999;
	border-width: 13px;
	margin-left: -13px;
}

div#min div {
	width: 68%;
	width: -webkit-calc(100% -100px);
	width: calc(100% - 100px);
	float: right;
}
div#min p {
	font-size: 13px;
	line-height: 23px;
	margin: 5px 0 15px;
}
div#min a {
	display: block;
	width: 160px;
	text-align: center;
	color: #fff;
	font-size: 16px;
	margin: 0 auto;
	padding: 15px;
	border: solid 1px #999;
}
div#min a:hover {
	background: rgba(234,164,32,0.5);
	border: solid 1px #fff;
}

ul#news {
	width: 100%;
	background: #ddd;
	background: rgba(223,223,223,0.9);
	border-bottom: solid 1px #bbb;
}
ul#news li {
	padding: 5px 0;
	padding-left: 12px;
	line-height: 26px;
	border-top: dotted 1px #777;
	font-size: 14px;
}
ul#news li a {
	color: #000;
}
ul#news li a:hover {
	color: #AA6C22;
}
ul#news li span {
	margin-right: 20px;
}
ul#news li:first-child {
	font-weight: bold;
	border-top: 0;
	border-left: solid 4px #D6850C;
	padding-left: 10px;
	line-height: 34px;
	margin: 1px 0 3px;
	font-size: 16px;
	color: #311E02;
	letter-spacing: 0.1em;
}

ul#work {
	width: 100%;
	background: #ddd;
	background: rgba(223,223,223,0.9);
	border-top: solid 1px #fff;
}
ul#work li {
	font-size: 14px;
	line-height: 19px;
	border-top: dotted 1px #777;
	width: 100%;
	height: 77px;
	overflow: hidden;
}
ul#work li:hover {
	background: #eee;
	background: rgba(255,255,255,0.4);
}
ul#work li:hover a {
	color: #AA6C22;
}
ul#work li a {
	display: block;
	height: 57px;
	padding: 10px;
}
ul#work li span {
	font-size: 13px;
	line-height: 20px;
	color: #CB0376;
}
ul#work li img {
	vertical-align: middle;
	margin-right: 6px;
	float: left;
}
ul#work li:first-child {
	width: 100%;
	font-weight: bold;
	border-top: 0;
	border-left: solid 4px #1A88B3;
	height: auto;
	padding: 0;
	padding-left: 10px;
	line-height: 44px;
	margin: 3px 0;
	font-size: 16px;
	color: #04202F;
	letter-spacing: 0.1em;
}
ul#work li:first-child:hover {
	background: none;
}
}