/**
	Theme Name: 上下のIPPIN
	Theme URI: 
	Description: 上下のIPPIN
	Author URI: 
	Template: ippin
	Version: 1.0.1
*/

@charset "utf-8";



/*--------------------------------------
	common
--------------------------------------*/
* {
	-webkit-text-size-adjust: 100%;
}
body {
	line-height: 1.6em;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
	font-size: 18px;
	font-feature-settings : "palt";
	color: #333;
}
@media screen and (max-width: 767px) {
	body {
		line-height: 1.4em;
		font-size: 14px;
	}
}
li {
	list-style: none;
}
img {
	max-width: 100%;
	height: auto;
	border: none;
	vertical-align: bottom;
}

a {
	color: #333;
	text-decoration: none;
	-webkit-transition: 280ms ease-in-out;
	    transition: 280ms ease-in-out;
}
a:hover {
	opacity: .8;
}

@media screen and (max-width: 767px) {
	.sp-none {
		display: none !important;
	}
	.pc-none {
		display: block !important;
	}
}
@media screen and (min-width: 767px) {
	.sp-none {
		display: block !important;
	}
	.pc-none {
		display: none !important;
	}
}


/*--------------------------------------
	layout
--------------------------------------*/
#wrapper {
	overflow: hidden;
	position: relative;
}
header#header .inner {
	position: relative;
	padding: 10px 10px 0;
}
header#header h1 {
	font-size:16px;
	font-weight: normal;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
}
header#header .logo {
	margin: 20px 0 0 10px;
}
header#header #gnavi {
	position: absolute;
	right: 10px;
	bottom: 0;
}
header#header #gnavi ul li {
	display: inline-block;
	margin-left: 20px;
	line-height: 1;
}
header#header #gnavi ul li a {
	display: block;
	padding: 7px;
	width: 150px;
	text-align: center;
	border-radius: 20px;
	border: 1px solid #dfdede;
	font-size: 16px;
}
header#header #gnavi ul li:nth-child(1).current a,
header#header #gnavi ul li:nth-child(1) a:hover {
	background-color: #e14737;
	color: #fff;
	opacity: 1;
	border: none;
}
header#header #gnavi ul li:nth-child(2).current a,
header#header #gnavi ul li:nth-child(2) a:hover {
	background-color: #2875d9;
	color: #fff;
	opacity: 1;
	border: none;
}
@media screen and (max-width: 767px) {
	header#header h1 {
		line-height: 1.3;
		font-size: 10px;
		text-align:center;
	}
	header#header .logo {
		margin: 10px auto 0;
		width: 50%;
		text-align: center;
	}
	header#header #gnavi {
		position: static;
		margin-top: 15px;
		text-align: center;
	}
	header#header #gnavi ul li {
		margin-left: 2%;
		width: 48%;
	}
	header#header #gnavi ul li:first-child {
		margin-left: 0;
	}
	header#header #gnavi ul li a {
		display: block;
		padding: 7px;
		width: 100%;
		text-align: center;
		border-radius: 20px;
		border: 1px solid #dfdede;
		font-size: 14px;
	}
}



footer#footer {
	margin-top: 100px;
	background-color: #eee;
}
footer#footer .inner {
	position: relative;
	padding: 60px 10px;
}
footer#footer .text {
	position: absolute;
	left: 260px;
	top: 85px;
	line-height: 1.4;
	font-size: 12px;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
}

footer#footer .text a {
	text-decoration:underline;
	}
footer#footer .flink {
	margin-top: 20px;
}
footer#footer .pagetop {
	position: absolute;
	right: 10px;
	top: -80px;
}
footer#footer #copyright {
	padding: 10px 0;
	text-align: center;
	line-height: 1;
	letter-spacing: 1px;
	background-color: #333;
	font-size: 10px;
	color: #fff;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
}

@media screen and (max-width: 767px) {
	footer#footer {
		margin-top: 60px;
	}
	footer#footer .inner {
		position: relative;
		padding: 30px 10px 10px;
		text-align: center;
	}
	footer#footer .logo {
		margin: 0 auto;
		width: 40%;
	}
	footer#footer .text {
		position: static;
		margin-top: 20px;
		line-height: 1.6;
		font-size: 10px;
	}
	footer#footer .flink {
		margin-top: 20px;
	}
	footer#footer .pagetop {
		position: absolute;
		right: 10px;
		top: -40px;
	}
	footer#footer .pagetop img {
		width: 30px;
		height: auto;
	}
	footer#footer #copyright {
		padding: 8px 0;
		text-align: center;
		line-height: 1;
		letter-spacing: 1px;
		background-color: #333;
		font-size: 9px;
		color: #fff;
	}
}


.inner {
	margin: 0 auto;
	max-width: 1040px;
}
@media screen and (max-width: 1040px) {
	.inner {
		padding:0 15px;
		max-width: 100%;
		width: 100%;
	}
}


#topban {
	position: relative;
	margin-top: 20px;
	width: 100%;
	/*box-shadow: 2px 2px 2px rgba(0,0,0,0.2);*/
}
#topban img {
	width: 100%;
	height: auto;
}
#topban .info_blk {
	position: absolute;
	right: 20%;
	top: 50%;
	margin-top: -100px;
	padding: 40px 30px;
	width: 500px;
	height: 200px;
	background-color: #fff;
	border-radius: 7px;
	opacity: .7;
}
#topban .info_blk .layer {
	opacity: 1;
}
#topban .info_blk .title {
	line-height: 1.8;
	font-size: 24px;
}
#topban .info_blk .name {
	margin-top: 20px;
	text-align: right;
}
@media screen and (max-width: 768px){
	#topban .info_blk {
		position: absolute;
		right: 10%;
		top: 50%;
		margin-top: -80px;
		padding: 20px 10px;
		width: 360px;
		height: 140px;
		background-color: #fff;
		border-radius: 7px;
		opacity: .7;
	}
	#topban .info_blk .title {
		line-height: 1.6;
		font-size: 16px;
	}
	#topban .info_blk .name {
		margin-top: 20px;
		font-size: 14px;
	}
}
/*@media screen and (max-width: 1040px) {
	#topban .info_blk {
		position: absolute;
		right: 10%;
		top: 50%;
		margin-top: -80px;
		padding: 30px 20px;
		width: 500px;
		height: 160px;
		background-color: #fff;
		border-radius: 7px;
		opacity: .7;
	}
	#topban .info_blk .title {
		line-height: 1.6;
		font-size: 20px;
	}
}*/



/*--------------------------------------
	ページ共通
--------------------------------------*/



/*--------------------------------------
	トップページ
--------------------------------------*/
#news_blk:after {
	content: "";
	clear: both;
	display: block;
}
#news_blk #nb_fl {
	float: left;
	width: 100%;
}
#news_blk #nb_fl:after {
	content: "";
	clear: both;
	display: block;
}
#news_blk #nb_fl .list {
	float: left;
	margin-left: 2%;
	margin-top: 30px;
	width: 31%;
}

/*
#news_blk #nb_fl .list:nth-child(2n+1) {
	margin-left: 0;
}
*/

#news_blk #nb_fr {
	float: left;
	width: 100%;
}


#news_blk #nb_fr:after {
	content: "";
	clear: both;
	display: block;
}
#news_blk #nb_fr .list {
	float: left;
	margin-left: 2%;
	margin-top: 30px;
	width: 31%;
}
#news_blk .list a {
	display: block;
}
#news_blk .list .img {
	position: relative;
}
#news_blk .list .img img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}
#news_blk .list .img .icon {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 8px;
	width: 90px;
	text-align: center;
	line-height: 1;
	letter-spacing: 1px;
	border-radius: 12px;
	font-family: "Orator";
	font-style: italic;
	font-size: 12px;
	color: #fff;
}
#news_blk .list .img .icon.news {
	background-color: #e14737;
}
#news_blk .list .img .icon.company {
	background-color: #2875d9;
}
#news_blk .list .info {
	margin-top: 10px;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
	font-size: 14px;
	font-feature-settings : "palt";
}
#news_blk .list .title {
	margin-top: 5px;
	line-height: 1.7;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
	font-size:16px;
}
@media screen and (max-width: 1040px) {
	#news_blk .list .img .icon {
		padding: 6px;
		font-size: 10px;
	}
	#news_blk .list .title {
		margin-top: 5px;
		line-height: 1.4;
		font-size: 14px;
	}
}
@media screen and (max-width: 767px) {
	#news_blk #nb_fl,
	#news_blk #nb_fr {
		float: none;
		width: 100%;
	}
	#news_blk #nb_fl .list,
	#news_blk #nb_fr .list  {
		float: none;
		margin-left: 0;
		margin-top: 5%;
		width: 100%;
	}


	#news_blk .list {
		float: none;
		margin-left: 0;
		margin-top: 5%;
		width: 100%;
	}
	#news_blk .list:nth-child(3n+1) {
		margin-left: 0;
	}
	#news_blk .list .img .icon {
		padding: 6px;
		font-size: 10px;
	}
	#news_blk .list .info {
		margin-top: 10px;
		font-size: 12px;
	}
	#news_blk .list .title {
		margin-top: 5px;
		line-height: 1.4;
		font-size: 12px;
	}
}
.OTHER {
	margin-top: 10px;
	border-top: 1px solid #dfdede;
}
#title_blk {
	padding: 50px 0 0;
}
#title_blk h2 {
	font-weight: normal;
	font-size: 36px;
	line-height:48px;
}
#title_blk .name {
	margin-top: 30px;
	line-height: 1.5;
	font-size: 18px;
}
#title_blk .body {
	margin-top: 20px;
	line-height: 1.6;
	font-size: 16px;
}

#title_blk .lede {
	margin-top: 20px;
	line-height: 1.6;
	font-size: 16px;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
}

#title_blk .img {
	margin-top: 20px;
}
@media screen and (max-width: 767px) {
	.OTHER {
		margin-top: 0;
		border-top: none;
	}
	#title_blk {
		padding: 35px 0 0;
	}
	#title_blk h2 {
		line-height: 1.4;
		font-weight: normal;
		font-size: 24px;
	}
	#title_blk .name {
		margin-top: 15px;
		line-height: 1.4;
		font-size: 14px;
	}
	#title_blk .body {
		margin-top: 20px;
		line-height: 1.5;
		font-size: 14px;
	}
	#title_blk .img {
		margin-top: 20px;
	}
}
#main {
	margin-top: 50px;
}
#main .inner:after {
	content: "";
	clear: both;
	display: block;
}
#main_contents {
	float: left;
	width: 70%;
}
#main_contents .blk {
	margin-top: 30px;
}
#main_contents .blk:first-child {
	margin-top: 0;
}
#main_contents .date {
	font-size: 13px;
}
#main_contents .title {
	line-height: 1.6;
	font-size: 24px;
}
#main_contents .caption {
	margin-top: 15px;
	font-size: 14px;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
}
#main_contents .body {
	margin-top: 30px;
	line-height: 2.2;
}



#main_contents .body p {
	font-size: 16px;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
}

#main_contents .body a {
	text-decoration:underline;
}


#main_contents .midashi {
	font-size:24px;
	margin-bottom: 30px;
	padding: 15px 0;
	font-weight: normal;
	border-top: 1px solid #dfdede;
	border-bottom: 1px solid #dfdede;
}

@media screen and (max-width: 767px) {
	#NEWS #main {
		margin-top: 30px;
	}
	#main_contents {
		float: none;
		width: 100%;
	}
	#main_contents .date {
		font-size: 12px;
	}
	#main_contents .caption {
		margin-top: 10px;
		font-size: 13px;
	}
	#main_contents .title {
		line-height: 1.6;
		font-size: 18px;
	}

	#main_contents .midashi {
	line-height:1.2em;
	}

	#main_contents .body {
		margin-top: 30px;
		line-height: 1.8;
	}
	#main_contents .body p {
		font-size: 16px;
	}
}
#sidebar {
	float: right;
	width: 25%;
}
#sidebar .blk {
	margin-top: 50px;
}
#sidebar .blk:first-child {
	margin-top: 0;
}
#sidebar .blk .midashi {
	padding: 12px 0;
	text-align: center;
	border-top: 1px solid #dfdede;
	font-size: 18px;
}
#sidebar .blk .data_midashi{
	padding: 12px 0;
	text-align: center;
	border-top: 1px solid #dfdede;
	border-bottom: 1px solid #dfdede;
	font-size: 18px;
}
#sidebar .blk .logo {
    margin: 10px auto;
    max-width: 259px;
}
#sidebar .blk .list {
	padding: 25px 0;
	border-top: 1px solid #dfdede;
}
#sidebar .blk .list a {
	display: block;
	word-break: break-all;
}
#sidebar .blk .list a:after {
	content: "";
	clear: both;
	display: block;
}
#sidebar .blk .list .img {
	float: left;
	width: 38%;
}
#sidebar .blk .list .info {
	float: right;
	width: 56%;
}
#sidebar .blk .list .info .date {
	line-height: 1;
	font-size: 11px;
}
#sidebar .blk .list .info .title {
	margin-top: 10px;
	line-height: 1.4;
	font-size: 14px;
}
#sidebar .blk .list dl:after {
	content: "";
	clear: both;
	display: block;
}
#sidebar .blk .list dt {
	clear: both;
	float: left;
	margin: 5px 0;
	width: 30%;
	line-height: 1.6;
	font-size: 13px;
}
#sidebar .blk .list dd {
	float: right;
	margin: 5px 0;
	width: 70%;
	line-height: 1.6;
	font-size: 13px;
}
#sidebar .blk .list .map {
	margin-top: 15px;
	padding: 3px;
	widows: 100%;
	border: 1px solid #dfdede;
}
#sidebar .blk .list .map iframe {
	width: 100%;
}
@media screen and (max-width: 767px) {
	#sidebar {
		float: none;
		margin-top: 50px;
		width: 100%;
	}
	#sidebar .blk .list .map iframe {
		width: 100%;
		height: 250px;
	}
}

#COMPANY #sec1 {
	margin-top: 30px;
}
#COMPANY #sec1 .row {
	padding: 20px 0;
	border-top: 1px solid #dfdede;
}
#COMPANY #sec1 .row:first-child {
	border-top: none;
}
#COMPANY #sec1 .row:after {
	content: "";
	clear: both;
	display: block;
}
#COMPANY #sec1 .row .rl {
	float: left;
	width: 30%;
}
#COMPANY #sec1 .row .rl img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}
#COMPANY #sec1 .row .rr {
	float: right;
	width: 66%;
}
#COMPANY #sec1 .row .rr .title {
	line-height: 1.6;
	font-size: 24px;

}
#COMPANY #sec1 .row .rr .name {
	margin-top: 10px;
	font-size: 14px;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
}
#COMPANY #sec1 .row .rr .body {
	margin-top: 15px;
	line-height: 1.8;
	font-size: 15px;
	font-family: "游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN",メイリオ,Meiryo;
}
#COMPANY #sec1 .row .rr .btn {
	margin-top: 10px;
	text-align: right;
}
#COMPANY #sec1 .row .rr .btn a {
	display: inline-block;
	padding: 8px 20px 8px 25px;
	text-align: center;
	line-height: 1;
	border-radius: 20px;
	background-color: #333;
	font-size: 12px;
	color: #fff;
}
@media screen and (max-width: 767px) {
	#COMPANY #sec1 {
		margin-top: 0;
	}
	#COMPANY #sec1 .row {
		padding: 20px 0;
	}
	#COMPANY #sec1 .row .rl {
		float: none;
		width: 100%;
	}
	#COMPANY #sec1 .row .rl img {
		width: 100%;
		height: auto;
		border-radius: 10px;
	}
	#COMPANY #sec1 .row .rr {
		float: none;
		margin-top: 10px;
		width: 100%;
	}
	#COMPANY #sec1 .row .rr .title {
		line-height: 1.6;
		font-size: 16px;
	}
	#COMPANY #sec1 .row .rr .name {
		margin-top: 10px;
		font-size: 13px;
	}
	#COMPANY #sec1 .row .rr .body {
		margin-top: 10px;
		line-height: 1.8;
		font-size: 14px;
	}
	#COMPANY #sec1 .row .rr .btn {
		margin-top: 20px;
		text-align: center;
	}
	#COMPANY #sec1 .row .rr .btn a {
		display: inline-block;
		padding: 8px 25px 8px 30px;
		text-align: center;
		line-height: 1;
		border-radius: 20px;
		background-color: #333;
		font-size: 16px;
		color: #fff;
	}
}

#NEWS #news_blk .list {
	float: left;
	margin-left: 2%;
	margin-top: 5%;
	width: 32%;
}
#NEWS #news_blk .list:nth-child(3n+1) {
	margin-left: 0;
}
@media screen and (max-width: 767px) {
	#NEWS #news_blk .list {
		float: none;
		margin-left: 0;
		margin-top: 5%;
		width: 100%;
	}
}













