﻿@charset "UTF-8";


/**************************************************
　記事／ボード ブロック
***************************************************/

.areaboard-article-block {
	position: relative;
}
.place-event-contents::after,
.areaboard-article-contents::after {
	clear: both;
	content: "";
	display: block;
}

/* 各記事／ボード */
.each-article,
.each-event,
.each-board {
	background-color: #FFF;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-sizing: border-box;
	float: left;
	position: relative;
}
.article-box,
.board-box {
	position: relative;
}

/* 見出し画像 */
.article-thumbnail,
.event-thumbnail,
.board-thumbnail {
	background-position: center center;
	background-size: cover;
	left: 0;
	position: absolute;
	text-align: center;
	top: 0;
	width: 100%;
}
/* 下書きラベル */
.draftLabel {
	background-color: rgba( 168,134,102, 0.93 );
	bottom: 0;
	color: #FFF;
	font-size: 12px;
	padding: 5px 8px;
	position: absolute;
	right: 0;
}

/* エリア名・イベント終了タグ */
.each-board .place-label,
.each-article .place-label,
.each-event .place-label,
.each-event .done-label {
	background-color: rgba( 168,134,102, 0.9 );
	color: #FFF;
	filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#E6000000,EndColorStr=#E6000000); /*IE9用*/
	left: 0;
	padding: 4px 8px;
	position: absolute;
	top: 25px;
	vertical-align: bottom;
}
.each-board .place-label a,
.each-article .place-label a,
.each-event .place-label a {
	color: #FFF;
	font-size: 95%;
}
.each-board .place-label-pref,
.each-article .place-label-pref,
.each-event .place-label-pref {
	font-size: 75%;
}

/* 記事日付 */
.each-article .article-date,
.each-event .event-date {
	color: #7A7A7A;
	font-size: 90%;
	padding: 12px 0 0 10px;
	position: relative;
}

/* 記事見出し／ボード名 */
.article-title {
	font: 16px normal;
	padding: 10px;
	position: relative;
}
.article-title a {
	color: #000;
}
.board-title {
	font: 16px normal;
	text-align: center;
}
.board-title a {
	color: #000;
}
.article-more {
	padding-left: 15px;
}
.article-more a {
	color: #999;
	font-size: 80%;
}

/**************************************************
　関連マップ
***************************************************/

.pinMapBlock {
	margin: 0 auto;
	position: relative;
}
.pinMapBlock .contents {
	margin: 0 auto;
	position: relative;
}
.pinMapBlock .contents .back {
	cursor: pointer;
	display: none;
	font-size: .85em;
	margin: 40px auto;
	text-align: center;
	width: 150px;
}

/* マップ */
.pinMapBlock .map {
    background: #d3d3d3;
	border: 1px solid transparent;
    margin: 0 auto;
	position: relative;
}
.pinMapBlock .map.landscape {
    height: 675px;
    width: 1200px;
}
.pinMapBlock .map.vertical {
    height: 800px;
    width: 600px;
}
.pinMapBlock .map.square {
    height: 800px;
    width: 800px;
}
.pinMapBlock .eachMap h4 {
	color: #222;
	font-size: 1.8em;
	font-weight: bold;
	margin-bottom: 60px;
	text-align: center;
}

/* PIN */
.pinMapBlock .pin {
	background-color: #073A66;
	border-radius: 50%;
	cursor: pointer;
	height: 50px;
	position: absolute;
	width: 50px;
	z-index: 1;
}
.pinMapBlock .pinmap-disp.add .pin {
	cursor: move;
}
.pinMapBlock .pin span.body {
	background-size: 50px 50px;
	left: 50%;
	line-height: 1.2;
	height: 50px;
	position: absolute;
	top: 50%;
	transform: translate( -50%,-50% );
	width: 50px;
	z-index: 1;
}
.pinMapBlock .pin span.body .icon {
	display: none;
}
.pinMapBlock .pin span.bubble {
	border: 8px solid transparent;
	border-top: 8px solid #073A66;
	bottom: -14px;
	left: calc( 50% - 8px );
	position: absolute;
	z-index: 2;
}
.pinMapBlock .pin.board span.body {
	background-image: url( 'https://hubplace.jp/image/contents/pinmap/pin/board.png' );
}
.pinMapBlock .pin.article span.body {
	background-image: url( 'https://hubplace.jp/image/contents/pinmap/pin/article.png' );
}
.pinMapBlock .pin.custompage span.body {
	background-image: url( 'https://hubplace.jp/image/contents/pinmap/pin/custompage.png' );
}
.pinMapBlock .pin.user span.body {
	background-image: url( 'https://hubplace.jp/image/contents/pinmap/pin/user.png' );
}
.pinMapBlock .pin.others span.body {
	background-image: url( 'https://hubplace.jp/image/contents/pinmap/pin/others.png' );
}
.pinMapBlock .pin.map {
	background-color: #fff;
	border: 4px solid #073A66;
}
.pinMapBlock .pin.map span.bubble {
	bottom: -18px;
}
.pinMapBlock .pin.map span.body .icon {
    background-color: #fff;
    border: 3px solid #073A66;
    border-radius: 50%;
	display: block;
    height: 18px;
	left: 12px;
    position: relative;
	top: 12px;
    width: 19px;
}
.pinMapBlock .pin.map span.body .icon span {
    color: #073A66;
    position: absolute;
}
.pinMapBlock .pin.map span.body .icon span.plus {
    font-weight: bold;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    text-shadow: 0 1px 0px #073A66;
    width: 19px;
}
.pinMapBlock .pin.map span.body .icon span.line {
    background-color: #073A66;
    bottom: -4px;
    height: 3px;
    right: 0;
    transform: rotate( 60deg );
    width: 7px;
}
.pinMapBlock .pin.map::after {
	border: 4px solid transparent;
	border-top: 5px solid #fff;
	bottom: -8px;
	content: '';
	left: calc( 50% - 4px );
	position: absolute;
	z-index: 3;
}

/* PIN type: user */
.pinUser .uName a,
.pinPopup .uName a {
	color: #073A66;
}
.pinUser {
	cursor: pointer;
	position: absolute;
}
.pinUser .uPhoto {
	background: center center no-repeat;
	border: 6px solid #073A66;
	border-radius: 50%;
	height: 60px;
	width: 60px;
}
.pinUser .uName {
/*
	background-color: rgba( 255, 255, 255, .9 );
*/
	display: inline-block;
	font-size: .85em;
	font-weight: bold;
/*
	height: 30px;
	line-height: 32px;
*/
	margin-top: 5px;
	text-align: center;
	width: 60px;
	width: 72px;
}

/* 関連マップ disp */
.pinMapBlock .pinmap-disp {
	position: relative;
}
.pinMapBlock .operationBox {
	display: none;
}
.pinMapBlock .operationBox p {
	text-align: center;
}
.pinMapBlock .pinmap-disp .pinmapImage {
	background: #999 no-repeat center;
	background-size: 1200px 675px;
	display: block;
	height: 675px;
	margin: 0 auto;
	position: relative;
	touch-action: manipulation;
	width: 1200px;
}
.pinMapBlock .map.insert {
	animation: visible-obj .3s ease 0s 1 normal forwards;
	-webkit-animation: visible-obj .3s ease 0s 1 normal forwards;
	animation: visible-obj;
}
@-webkit-keyframes visible-obj {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes visible-obj {
	0% { opacity: 0; }
	100% { opacity: 1; }
}



/**************************************************
　デバイス振り分け設定
***************************************************/


/* ■■ SP ■■ */
@media (max-width: 767px) {

	/* 各記事／ボード */
	.each-article,
	.each-event {
		border-bottom-left-radius: initial;
		border-bottom-right-radius: initial;
		height: 290px;
		width: 50%;
	}
	.each-board {
		margin-bottom: 30px;
		min-height: 240px;
		width: 50%;
	}
	.contributor-block .each-board {
		border-bottom-left-radius: initial;
		border-bottom-right-radius: initial;
		min-height: 225px;
	}
	.each-board:nth-of-type( odd ) {
		clear: both;
	}
	
	.each-group-block .each-article,
	.each-group-block .each-event {
		min-height: 240px;
	}
	.clip-article .del-mode .each-article {
		min-height: 320px;
	}
	.clip-article-in .del-mode .each-article {
		min-height: 340px;
	}
	.gallery-contents .each-board {
		min-height: 300px;
	}
	
	.delete-favorite {
		min-height: 280px;
	}

	.areaboard-article-contents > div:first-of-type,
	.areaboard-article-contents > div:nth-of-type(2n - 1) {
		margin-left: 0;
	}

	/* 記事見出し／ボード名 */
	.article-title,
	.board-title {
		margin-bottom: 10px;
	}
	.each-group-block h5 {
		margin-top: 0;
	}

	/* 見出し画像 */
	.article-thumbnail,
	.event-thumbnail,
	.board-thumbnail {
		max-width: 100%;
	}
	/* 記事／ボード名 */
	.board-title {
		padding: 10px 10px 0 10px;
	}

	/* 関連マップ */
	.pinMapBlock .eachMap {
		margin: 0 auto;
		overflow-x: hidden;
		width: calc( 100dvw - 40px );
	}
		/* 追加まわり */
	.pinMapBlock .add-pinmap-gallery-block dl {
		margin-top: 40px;
	}
	.pinMapBlock .add-pinmap-gallery-block dt {
		margin: 0 0 10px 10px;
	}
	.pinMapBlock .add-pinmap-gallery-block dd {
		margin-bottom: 20px;
	}
	.pinMapBlock dt.pin-mode-box {
		margin-top: 20px;
	}
		/* switch */
	.manage-pinmap-popup .pin-type-box label {
		padding: initial;
		height: 50px;
		line-height: 50px;
	}
	.pinMapBlock .pin-mode-box .switch label {
		background: #fff;
		border: 1px solid #9B9B9B;
		border-radius: 50px;
		color: #9B9B9B;
		cursor: pointer;
		display: inline-block;
		height: 50px;
		line-height: 50px;
		margin: 0 0 15px 10px;
		padding: 0 20px 0 45px;
		position: relative;
	}
	.pinMapBlock .pin-mode-box .switch input[type="radio"] + label::before {
		background: #fff;
		border: 1px solid #9B9B9B;
		border-radius: 50%;
		content: '';
		display: block;
		height: 15px;
		left: 25px;
		position: absolute;
		top: 16px;
		width: 15px;
	}
	.pinMapBlock .pin-mode-box .switch input[type="radio"]:checked + label::before {
		border: 1px solid #fff;
		color: #fff;
	}
	.pinMapBlock .pin-mode-box .switch input[type="radio"] + label::after {
		background: #073A66;
		border-radius: 50%;
		content: '';
		display: block;
		height: 9px;
		left: 29px;
		opacity: 0;
		position: absolute;
		top: 20px;
		transition: .3s;
		width: 9px;
	}
	.pinMapBlock .pin-mode-box .switch input[type="radio"]:checked + label::after {
		opacity: 1;
	}
	.pinMapBlock .pin-mode-box .modeReset {
		text-align: center;
		display: block;
		width: 80px;
		margin: 15px auto 0;
	}
	.pinMapBlock .operationBox p {
		margin-bottom: 60px;
	}
	.operationBox .add-object-btn {
		top: 50px;
	}
		/* 関連マップ disp */
	.pinMapBlock .pinmap-disp {
		position: relative;
		overflow-x: hidden;
		width: calc( 100dvw - 40px );
	}
	.pinMapBlock .pinmap-disp .pinmapImage {
		position: absolute;
	}
		/* 初期センター値 設定(for SP) */
	.init-center-box {
		margin-top: 40px;
	}
	.init-center-box .initCenterBtn {
		background-color: #fff;
		border: 3px solid #C4C4C4;
		border-radius: 30px;
		clear: both;
		color: #AAAAAA;
		cursor: pointer;
		display: block;
		font-size: 95%;
		font-weight: bold;
		height: 35px;
		line-height: 36px;
		margin: 0 auto;
		padding: 0;
		transition: 0.3s;
		width: 200px;
	}

}


/* ■■ タブレット＆ブラウザ ■■ */
@media screen and (min-width: 768px) {

	/* 活動・取り組み */
	.hubplace-block .contents {
		margin: 0 auto;
	}

	/* 各記事／ボード */
	.each-board {
		margin: 0 0 0px 20px;
	}
	.each-article,
	.each-event,
	.myboard-block .each-board,
	.contributor-block .each-board,
	.gallery-block .each-board {
		border-radius: 10px;
		margin: 0 0 50px 20px;
	}
	.each-article:first-of-type,
	.each-event:first-of-type,
	.myboard-block .each-board:first-of-type,
	.contributor-block .each-board:first-of-type,
	.gallery-block .each-board:first-of-type {
		margin-left: 0 !important;
	}
	.deleting .each-article,
	.deleting .each-event {
		margin: 0 0 60px 20px;
	}

	/* 見出し画像 */
	.article-thumbnail,
	.event-thumbnail,
	.board-thumbnail {
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
		height: 220px;
	}

	/* 記事／ボード名 */
	.board-title {
		padding: 20px;
	}
	.delete-favorite .board-title {
		padding: 20px 20px 0 20px;
	}
	.article-title {
		min-height: 45px;
	}

}


/* ■■ (狭いブラウザとタブレット向け) ■■ */
@media (max-width: 1200px) and (min-width: 768px) {

	/* 活動・取り組み */
	.hubplace-block .contents {
		width: 700px;
	}

	/* 各記事／ボード */
	.each-article:nth-of-type( 3n + 1 ),
	.each-event:nth-of-type( 3n + 1 ),
	.myboard-block .each-board:nth-of-type( 3n + 1 ),
	.contributor-block .each-board:nth-of-type( 3n + 1 ),
	.gallery-block .each-board:nth-of-type( 3n + 1 ) {
		margin-left: 0 !important;
	}
	.each-board {
		min-height: 310px;
		width: 200px;
	}
	.contributor-block .each-board {
		min-height: 260px;
	}
	.each-board {
		margin-top: 30px;
	}
	.each-article,
	.each-event,
	.gallery-block .each-board {
		min-height: 325px;
		width: 200px;
	}
	.each-board:nth-of-type( 3n + 1 ),
	.gallery-block .each-board:nth-of-type( 3n + 1 ) {
		clear: both;
	}
	.article-box,
	.board-box {
		min-height: 200px;
	}
	/* 見出し画像 */
	.article-thumbnail,
	.event-thumbnail,
	.board-thumbnail {
		height: 200px !important;
		max-width: 200px;
		width: 200px;
	}

	/* 関連マップ */
	.pinMapBlock .eachMap {
		margin: 0 auto;
		overflow-x: hidden;
		width: 700px;
	}

}


/* ■■ PC ■■ */
@media screen and (min-width: 1201px) {

	/* 活動・取り組み */
	.hubplace-block .contents {
		width: 948px;
	}

	/* 各記事／ボード */
	.hubplace-block .contents > div:first-of-type,
	.hubplace-block .contents > div:nth-of-type( 4n - 3 ) {
		margin-left: 0;
	}
	.each-board {
		min-height: 300px;
		width: 220px;
	}
	.all-board .each-board {
		margin-top: 30px;
	}
	.each-article,
	.each-event {
		min-height: 340px;
		width: 220px;
	}
	.myboard-block .each-board,
	.contributor-block .each-board,
	.gallery-block .each-board {
		min-height: 300px;
		width: 220px;
	}
	.contributor-block .each-board {
		min-height: 280px;
	}
	.board-window .each-board {
		min-height: 400px;
	}
	.myboard-block .each-board:nth-of-type( 4n + 1 ),
	.contributor-block .each-board:nth-of-type( 4n + 1 ),
	.gallery-block .each-board:nth-of-type( 4n + 1 ) {
		clear: both;
	}
	.board-box,
	.article-box {
		background: #111;
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
		overflow: hidden;
	}
	.board-thumbnail,
	.event-thumbnail,
	.article-thumbnail {
		transition: all .3s ease-out;
	}
	.board-thumbnail:hover,
	.event-thumbnail:hover,
	.article-thumbnail:hover {
		opacity: 0.5;
		transform: scale( 1.1 );
		transition-duration: .3s;
	}

	.article-box,
	.board-box {
		min-height: 220px;
	}
	/* 見出し画像 */
	.article-thumbnail,
	.event-thumbnail,
	.board-thumbnail {
		height: 220px !important;
		max-width: 220px;
		width: 220px;
	}

	/* 関連マップ */
	.pinMapBlock .contents {
		width: 1200px;
	}

}
