@charset "UTF-8";

/*************************************************************
パーパスジャパン　旅行記
[css/page.css]
18.06.05
**************************************************************/

/* 目次
-------------------------------------------------------------
1) header
2) article
3) form
4) ul.glid
5) ul.vertical
5) ol.pagenate
6) footer
-------------------------------------------------------------*/



/* 1) header
-------------------------------------------------------------*/
header {
	position: relative;
	left: 0;
	top: 0;
	width: 100%;
	height: 400px;
	background: #0033c7 url(/images/kv1.jpg) repeat-x center bottom;
	z-index: 1;
}
header.ryokokilist {
	background-image: url(/images/kv2.jpg);
}
header h1 {
	position: absolute;
	top: 30px;
	left: 50px;
}
header h1 a:hover {
	opacity: 1;
}
header h1 .sp {
	display: none;
}
/* バナー */
.bn {
	position: absolute;
	top: 30px;
	right: 50px;
	z-index: 3;
}
.bn img {
	border-radius: 8px;
	box-shadow: 0 0 4px rgba(0,0,0,0.5);
	width: 280px;
}
.bn a:hover {
	opacity: 1;
}

@media screen and (min-width:1400px) {
	header h1 {
		left: 100px;
	}
	/* バナー */
	.bn {
		right: 100px;
	}
}

@media screen and (max-width:999px) {
	header h1 {
		left: 25px;
	}
	header h1 img {
		width: 450px;
	}
	/* バナー */
	.bn {
		right: 30px;
	}
	.bn img {
		width: 210px;
		border-radius: 5px;
	}
}

@media screen and (max-width:729px) {
	header {
		height: 330px;
		background-size: auto 200px;
	}
	header h1 {
		position: relative;
		top: auto;
		left: auto;
		text-align: center;
		padding: 25px 20px;
	}
	header h1 .pc {
		display: none;
	}
	header h1 .sp {
		display: inline;
		width: 100%;
		max-width: 300px; 
	}
	/* バナー */
	.bn {
		position: relative;
		top: auto;
		right: auto;
		text-align: center;
		margin-top: -20px;
		margin-bottom: 20px;
	}
	.bn img {
		width: 240px;
	}
}

/* 2) article
-------------------------------------------------------------*/
/* トップページ　ピックアップ */
article.toppage .pickup {
	padding: 35px 0;
}
article.toppage .pickup h2 {
	text-align: center;
	margin-bottom: 15px;
}
/* トップページ　一覧、下層ページ */
article.toppage .all,
article.ryokokilist {
	background-color: #eff7f9;
	padding: 50px 0;
}

@media screen and (max-width:599px) {
	/* トップページ　ピックアップ */
	article.toppage .pickup {
		padding: 20px 0;
	}
	article.toppage .pickup h2 {
		margin-bottom: 0;
	}
	article.toppage .pickup h2 img {
		width: 250px;
	}
	/* トップページ　一覧、下層ページ */
	article.toppage .all,
	article.ryokokilist {
		padding: 35px 0;
	}
}

/* 3) form
-------------------------------------------------------------*/
form { 
	text-align: center;
	padding: 0 20px 24px;
}
.ryokokilist form {
	padding-bottom: 38px;
}
fieldset {
	display: inline-block;
	vertical-align: top;
}
input[type="search"],
select {
	height: 48px;
	font-size: 18px;
	padding: 0 14px;
	border: #ccc solid 1px;
	border-radius: 4px;
	box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
	margin-right: 25px;
	vertical-align: top;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
input[type="search"] {
	width: 22em;
}
input::placeholder {
	color: #aaa;
}
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #fff url(/images/arrow_select.png) no-repeat right center;
	background-size: 18px auto;
}
select.goneArea { width: 14.5em; }
select.goneMonth { width: 6em; }
input.btn {
	width: 64px;
	margin-top: -8px;
	cursor: pointer;
}

@media screen and (max-width:999px) {
	.ryokokilist form {
		padding-bottom: 34px;
	}
	input[type="search"],
	select {
		height: 42px;
		font-size: 16px;
		margin-right: 10px;
	}
	input.btn {
		margin-top: -11px;
	}
}

@media screen and (max-width:849px) {
	form {
		padding-bottom: 40px;
	}
	.ryokokilist form {
		padding-bottom: 50px;
	}
	fieldset {
		width: 77%;
		margin-right: 20px;
	}
	input[type="search"] {
		width: 100%;
		margin-top: 10px;
	}
	select.goneArea {
		float: left;
		width: 71%;
		margin-right: 0;
	}
	select.goneMonth {
		float: right;
		width: 26%;
		margin-right: 0
	}
	input.btn {
		margin-top: 13px;
	}
}
@media screen and (max-width:599px) {
	form {
		padding-bottom: 30px;
	}
	.ryokokilist form {
		padding-bottom: 35px;
	}
}
@media screen and (max-width:499px) {
	form { 
		padding: 0 20px 15px;
	}
	.ryokokilist form {
		padding-bottom: 15px;
	}
	fieldset {
		display: block;
		width: 100%;
		margin-right: 0;
	}
}
@media screen and (max-width:374px) {
	input[type="search"],
	select {
		font-size: 14px;
		padding: 0 8px;
	}
}

/* 4) ul.glid
-------------------------------------------------------------*/
/* トップページ　旅行記リスト */
ul.glid {
	-webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
ul.glid li {
	width: 25%;
	padding: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
ul.glid li img {
	border-radius: 8px;
}
ul.glid li h3 {
	font-size: 16px;
	padding: 8px 0;
}
ul.glid li h3 br {
	display: none;
}

@media screen and (max-width:1279px) {
	ul.glid {
		padding: 0 10px;
	}
	ul.glid li {
		padding: 10px;
	}
	ul.glid li img {
		border-radius: 5px;
	}
	ul.glid li h3 {
		font-size: 15px;
	}
	ul.glid li p {
		font-size: 13px;
	}
}

@media screen and (max-width:899px) and (min-width:600px) {
	ul.glid li {
		width: 33.333%;
	}
	.pickup ul.glid li:last-child {
		display: none;
	}
}

@media screen and (max-width:599px) {
	ul.glid li {
		width: 50%;
	}
}

/* 5) ul.vertical
-------------------------------------------------------------*/
ul.vertical li {
	padding: 20px 0;
}
ul.vertical li:nth-child(odd) {
	background-color: #fff;
}
ul.vertical li a {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
ul.vertical li a img {
	width: 140px;
	height: 105px;
	margin-right: 20px;
	border-radius: 4px;
	flex-shrink: 0;
}
ul.vertical li a .txtset {
	overflow: hidden;
}
ul.vertical li a h3 {
	font-size: 17px;
	white-space: nowrap;
}
ul.vertical li a > h3 {
	display: none;
}
ul.vertical li a h3 br {
	display: none;
}
ul.vertical li a dl {
	white-space: nowrap;
	padding: 5px 0 6px;
}
ul.vertical li a dt,
ul.vertical li a dd {
	display: inline;
	vertical-align: middle;
	line-height: 20px;
}
ul.vertical li a dt {
	font-size: 13px;
	color: #fff;
	background-color: #5395b1;
	padding: 0 10px;
	border-radius: 10px;
	margin-right: 8px;
}
ul.vertical li a dd {
	font-size: 14px;
}
ul.vertical li a dt.area {
	margin-left: 18px;
}

@media screen and (max-width:999px) {
	ul.vertical li a h3 {
		font-size: 16px;
		white-space: normal;
	}
	ul.vertical li a dl {
		white-space: normal;
	}
	ul.vertical li a .date:after {
		display: block;
		margin-bottom: -16px;
	}
	/* IEハック */
	_:-ms-lang(x), ul.vertical li a .date:after {
		margin-bottom: 3px;
	}
	ul.vertical li a dd.date::after {
		content: "\A" ;
		white-space: pre ;
	}
	ul.vertical li a dt.area {
		margin-left: 0;
	}
}

@media screen and (max-width:599px) {
	ul.vertical li a {
		display: block;
	}
	ul.vertical li a img {
		float: right;
		margin-right: 0;
		margin-left: 10px;
	}
	ul.vertical li a .txtset {
		padding-top: 5px;
		width: 100%;
	}
	ul.vertical li a .txtset h3 {
		display: none;
	}
	ul.vertical li a > h3 {
		display: block;
	}
}

@media screen and (max-width:374px) {
	ul.vertical li a dt {
		font-size: 11px;
	}
	ul.vertical li a dd {
		font-size: 12px;
	}
	ul.vertical li a .date:after {
		margin-bottom: -20px;
	}
}

/* 6) ol.pagenate
-------------------------------------------------------------*/
/* ページネーション */
ol.pagenate {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
	padding: 20px 20px 0;
}
ol.pagenate li {
	font-size: 18px;
	margin: 0 4px;
}
ol.pagenate li a {
	display: inline-block;
	width: 50px;
	line-height: 50px;
	text-align: center;
	color: #5395b1;
	background-color: #fff;
	border-radius: 25px;
	box-shadow: 0 0 4px #98c0d0;
	white-space: nowrap;
	overflow: hidden;
}
ol.pagenate li a.current {
	color: #fff;
	background-color: #5395b1;
}
ol.pagenate li a span {
	display: inline-block;
	transform: scale(0.7,1.2);
}
ol.pagenate li a:hover {
	color: #fff;
	background-color: #5395b1;
	opacity: 1;
}

@media screen and (max-width:374px) {
	ol.pagenate {
		padding-top: 10px;
	}
	ol.pagenate li {
		font-size: 16px;
		margin: 0 3px;
	}
	ol.pagenate li a {
		width: 42px;
		line-height: 42px;
		border-radius: 21px;
	}
}

/* 7) footer
-------------------------------------------------------------*/
footer {
	background-color: #98c0d0;
	padding: 50px 0 20px;
}
footer ul,
footer p {
	margin-bottom: 20px;
}

/* パーパスジャパンのツアー、お問い合わせ */
footer ul.ppj li {
	display: inline-block;
}
footer ul.ppj li:first-child {
	margin-right: 16px;
}
footer ul.ppj li a {
	display: block;
	font-size: 18px;
	font-weight: bold;
	line-height: 54px;
	padding: 0 30px 0 75px;
	color: #5395b1;
	background: #fff url(/images/icon_tour.png) no-repeat 12px center;
	background-size: 54px auto;
	border-radius: 27px;	
	box-shadow: 0 0 4px #5395b1;
}
footer ul.ppj li:nth-child(2) a {
	background-image: url(/images/icon_contact.png);
}
/* SNS */
footer ul.sns li {
	display: inline-block;
	margin-left: 16px;
}
footer ul.sns li:first-child {
	margin-left: 0;
}
footer ul.sns li a {
	display: block;
	width: 54px;
	border-radius: 27px;	
	box-shadow: 0 0 4px #5395b1;
}
/* ロゴ */
footer p.logo img  {
	width: 221px;
}
/* 電話 */
footer p.tel {
	font-size: 12px;
	margin-top: 12px;
}
footer p.tel span {
	font-size: 18px;
	font-weight: bold;
}
footer p.tel span.osaka {
	padding-left: 1em
}
footer p.tel br.sp {
	display: none;
}
/* フッタメニュー */
footer ul.asideMenu {
	text-align: center;
}
footer ul.asideMenu li {
	display: inline-block;
	font-size: 13px;
	line-height: 1;
	border-left: #666 solid 1px;
}
footer ul.asideMenu li:first-child {
	border-left: 0;
}
footer ul.asideMenu li a {
	padding: 0 12px;
}
/* コピーライト */
p.copy {
	font-size: 11px;
	text-align: center;
}

@media screen and (max-width:999px) {
	footer ul.ppj,
	footer ul.sns,
	footer p.logo,
	footer p.tel {
		float: none;
		text-align: center;
	}
	/* 電話 */
	footer ul.sns {
		margin-bottom: 30px;
	}
	footer p.logo {
		margin-bottom: 8px;
	}
	footer p.tel {
		margin-top: 0;
	}
}

@media screen and (max-width:759px) {
	footer ul.ppj li {
		display: block;
	}
	footer ul.ppj li:first-child {
		margin-right: 0;
		margin-bottom: 12px;
	}
	footer ul.ppj li a {
		width: 100%;
		line-height: 50px;
		border-radius: 25px;
		padding: 0 0 0 45px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	footer p.tel span.osaka {
		padding-left: 0;
	}
	footer p.tel br.sp {
		display: inline;
	}
}

@media screen and (max-width:399px) {
	footer {
		padding: 40px 0 10px;
	}
	footer ul.ppj li a {
		font-size: 16px;
		line-height: 44px;
		border-radius: 22px;	
		background-size: 44px auto;
		background-position: 10px center;
	}
	footer p.tel span {
		display: block;
		margin-top: 5px;
	}
	footer ul.asideMenu li {
		font-size: 12px;
	}
	p.copy {
		font-size: 10px;
	}
}