@charset "UTF-8";

.message_ttl {
	margin: 0 auto 30px;
	text-align: center;
}

.message_ttl h2 {
	font-size: 50px;
	color: #084a95;
	line-height: 1.2;
	letter-spacing:0.08em;
}

.message_ttl h2 span {
	background: url(../images/message/fukidashi.png) no-repeat right center;
	padding-top: 54px;
	padding-right: 86px;
	background-size: 80px 80px;
}

.message_ttl h2 em {
	font-size: 76px;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-style: italic;
	letter-spacing:0.08em;
	text-shadow: 0 0 0 #084a95;
}

.message_category {
	padding: 20px;
	text-align: center;
}

.message_category ul {
	position: relative;
	width: 742px;
	margin: 0 auto;
	height:34px;
	-webkit-box-sizing: border-box;
   box-sizing: border-box;
}

.message_category ul::before,
.message_category ul::after {
  position: absolute;
  top: 0;
  content: '';
  width: 10px;
  height: 100%;
  border-top: 2px solid #084a95;
  border-bottom: 2px solid #084a95;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.message_category ul::before {
  left: 0;
  border-left: 2px solid #084a95;
}
.message_category ul::after {
  right: 0;
  border-right: 2px solid #084a95;
}

.message_category ul li {
	font-size: 13px;
	font-weight: bold;
	display: inline;
	line-height: 34px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 30px;
	text-align: center;
	margin: 0 4px;
}

.message_category ul li:nth-child(1) {
	background: url(../images/message/fukidashi_blue.png) no-repeat left center;
	background-size: auto 18px;
}
.message_category ul li:nth-child(2) {
	background: url(../images/message/fukidashi_red.png) no-repeat left center;
	background-size: auto 18px;
}
.message_category ul li:nth-child(3) {
	background: url(../images/message/fukidashi_yellow.png) no-repeat left center;
	background-size: auto 18px;
}

.message_individual {
	width: 100%;
	margin: 100px auto 100px;
	overflow: hidden;
}

.message_group {
	width: 100%;
	margin: 100px auto 40px;
	overflow: hidden;
}

body#message .sortBlock { width:1000px; margin:0 auto 20px; overflow: hidden;}
body#message .filter { width:70%; float: left;}
body#message .filter li {
	display: inline-block;
	font-size: 16px;
}
body#message .filter li:first-child {
	color: #084a95;
	font-family: 'Lato', sans-serif !important;
	font-weight:400;
	text-shadow: 0 0 0 #084a95;
	letter-spacing:0.08em;
	font-size: 24px;
	padding-top:3px;
}

body#message .filter li:first-child span {
	font-style: italic;
}

body#message .filter a { padding-bottom: 5px; margin-left: 30px; }
body#message .filter a.active { border-bottom: 2px solid #30a4de; }
body#message .filter a:hover { border-bottom: 2px solid #30a4de; }

body#message .filter li:last-child a {
	width:126px;
	text-align: center;
	display: block;
	border: 2px solid #084a95;
	border-radius: 20px 20px 20px 20px;
	line-height: 20px;
	padding-top:3px;
	color: #084a95;
	font-family: 'Lato', sans-serif !important;
	font-weight:400;
	text-shadow: 0 0 0 #084a95;
	font-style: italic;
	letter-spacing:0.08em;
}

body#message .filter li:last-child a:hover {
	background: #084a95;
	color: #fff;
}

body#message .page_btn  { width:30%; float: right; text-align: right;}
body#message .page_btn a { 
	width:202px;
	float: right;
	text-align: center;
	display: block;
	border: 2px solid #084a95;
	border-radius: 20px 20px 20px 20px;
	line-height: 32px;
	color: #084a95;
	font-family: 'Lato', sans-serif !important;
	font-weight:400;
	text-shadow: 0 0 0 #084a95;
	font-style: italic;
	letter-spacing:0.08em;
}

body#message .phboxes {
    width:100%;
    text-align:center;
    clear:both;
    display:block;
    position:relative;
    padding:0; margin:0;
    overflow:hidden;
}

body#message .phboxes .item {
    float:left;
    display: block;
    width: 20%;
    margin: 0;
}


body#message .phboxes.group .item {
    float:left;
    display: inline-block;
    width: 50%;
    margin: 0;
}

body#message .is-animated {
  animation: .6s zoom-in;
}

@keyframes zoom-in {
  0% {
   transform: scale(.1);
  } 
  100% {
    transform: none;
  }
}
body#message .item img {line-height:0; width:100%; max-width:100%; height:auto;}

body#message .readMoreBtn {
	width: 500px;
	margin: 40px auto 0;
	text-align: center;
}

body#message .readMoreBtn a {
	position: relative;
	display: block;
	line-height: 54px;
	background: #d1dbe1;
	color: #084a95;
	border: 2px solid #d1dbe1;
	font-size: 20px;
	border-radius: 30px;
}

body#message .readMoreBtn a:after {
	content: '';
	position: absolute;
	top: 38%;
	right: 1.6em;
	border: solid #084a95;
	border-width: 3px 0px 0px 3px;
	width: 0.42em;
	height: 0.42em;
	transform: rotate(-135deg);
}

/* hover */
.hover-parent {
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: 10px 8px 10px 16px;
	position: relative;
}
.hover-parent .hover-mask1, .hover-parent .hover-mask2,
.hover-parent .hover-mask3, .hover-parent .hover-mask4{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0,0,0,0.4);
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	-webkit-transition: all 0.6s ease;
	transition: all 0.6s ease;
}
.hover-parent .caption {
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 20px;
	line-height: 1.6;
	font-weight: bold;
	text-align: center;
}
	
.hover-parent .hover-mask1 {
	background-color: rgba(240,233,0,0.8);
}
	
.hover-parent .hover-mask2 {
	background-color: rgba(234,93,93,0.8);
}

.hover-parent .hover-mask3 {
	background-color: rgba(48,164,222,0.8);
}
.hover-parent .hover-mask4 {
	background-color: rgba(30,169,83,0.9);
}

.hover-parent:hover .hover-mask1, .hover-parent:hover .hover-mask2,
.hover-parent:hover .hover-mask3, .hover-parent:hover .hover-mask4{
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
	opacity: 1;
}

.hover-parent .hover-maskwh {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0,0,0,0.4);
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	-webkit-transition: all 0.6s ease;
	transition: all 0.6s ease;
}

.hover-parent:hover .hover-maskwh {
	background-color: rgba(209,219,225,0.8) !important;
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
	opacity: 1;
}


/* mordal */
.mfp-content { background:#fff; padding: 40px 30px; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #084a95 !important;
}

.mfp-close {
  width: 34px;
  height: 34px;
  line-height: 34px;
  opacity: 1;
  color: #084a95 !important;
  font-size: 40px;
  right: 14px !important;
  top: 14px;
}

.mfp-image-holder .mfp-close,
.mfp-inline-holder .mfp-close{
	width: 38px;
	height: 38px;
	border: 2px solid #084a95 !important;
}

.mfp-figure:after {
	box-shadow: 0 0 8px rgba(0, 0, 0, 0);
	background: none;
}

.mfp-close:active {
    top: 14px; }

img.mfp-img {padding: 20px 0 0;}

.mfp-inline-holder .mfp-content {
  width: 100%;
  max-width: 880px;
  cursor: auto; }


/* 背景の色変更 */
.mfp-bg.mask1 {
	background: #f0e900 !important;
}
.mfp-bg.mask2 {
	background: #ea5d5d !important;
}
.mfp-bg.mask3 {
	background: #30a4de !important;
}

.inlineWrap {
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
}

.inlineWrap img {
	width: 100%;
	height: auto;
}

.inlineWrap h3 {
	font-size:20px;
	padding-left: 46px;
	margin-bottom: 0.8em;
	font-weight: bold;
}

.inlineWrap h3.h3bg4 {
	padding-left: 0 !important;
}

.inlineWrap h3.h3bg1 {
	background: url(../images/message/fukidashi_yellow.png) no-repeat left center;
	background-size: auto 28px;
}
.inlineWrap h3.h3bg2 {
	background: url(../images/message/fukidashi_red.png) no-repeat left center;
	background-size: auto 28px;
}
.inlineWrap h3.h3bg3 {
	background: url(../images/message/fukidashi_blue.png) no-repeat left center;
	background-size: auto 28px;
}

.inlineWrap p {
	margin-top: 10px;
	font-size: 14px;
}

.btmMsg { text-align:center; font-size: 14px; }

@media screen and (min-width:769px), print {
	body#message .phboxes.group .item {
		width: 33.3333%;
	}
	body#message .page_btn a:hover {
		background: #084a95;
		color: #fff;
	}
	
	body#message .readMoreBtn a:hover {
		background: #fff;
		border: 2px solid #084a95;
	}
}


@media screen and (max-width:1000px) {
	body#message .phboxes .item {width:25%;}
	body#message .sortBlock { width:90%; margin:0 5% 20px;}
	body#message .filter { width:100%; float: none; padding-bottom: 14px;}
	body#message .page_btn  { width:100%; float: none;}
}

@media screen and (max-width: 736px) and (orientation: landscape) {

	.message_ttl {
		width:468px;
		height: 88px;
	}

	.message_ttl h2 {
		background-size: 70px 70px;
		padding-top: 44px;
		font-size: 4.862vw;
	}
	
	.message_individual {
		margin: 20px auto 60px;
	}
	
	.message_ttl h2 span {
		font-size: 8.687vw;
	}
	
	.message_individual {
		margin: 40px auto 40px;
	}

	.message_group {
		margin: 40px auto 40px;
	}
	.mfp-content { background:#fff; padding: 10px 20px; width:70%; margin: 0 auto; }
	
}

@media screen and (max-width:768px) {
	body#message .phboxes .item {width:33.3333%;}

	.hover-mask1,.hover-mask2,.hover-mask3,.hover-mask4,.hover-maskwh { display: none; }
	
	.message_ttl h2 span {
		font-size: 5.487vw;
		background-size: 70px 70px;
		padding-right: 76px;
		padding-top: 44px;
	}
	
	.message_ttl h2 em {
		font-size: 7.487vw;
	}
	
	.message_category ul {
		width: 98%;
		margin: 0 1%;
		height:34px;
	}
	.message_category ul li {
		font-size: 1.6vw;
	}
	.message_category ul li:nth-child(1),.message_category ul li:nth-child(2),.message_category ul li:nth-child(3) {
		background-size: auto 16px;
	}

	.message_individual {
		margin: 60px auto 60px;
	}

	.message_group {
		margin: 60px auto 60px;
	}
	
	.hover-parent .hover-mask {
		display: none;
	}
	
	.mfp-content { padding: 40px 20px; }
	
	body#message .filter { text-align:center; }
	body#message .filter li:first-child {
		display: block;
		text-align: center;
		margin-bottom: 40px;
	}
	body#message .filter li:nth-child(2) a {  margin-left: 0px; }
	
	body#message .filter li:last-child a {
	width:126px;
	text-align: center;
	display: block;
	border: 2px solid #084a95;
	border-radius: 20px 20px 20px 20px;
	line-height: 20px;
	padding-top:3px;
	color: #084a95;
	font-family: 'Lato', sans-serif !important;
	font-weight:400;
	text-shadow: 0 0 0 #084a95;
	font-style: italic;
	letter-spacing:0.08em;
	}

	body#message .filter li:last-child a:hover {
		background: #fff;
		color: #084a95;
	}
}


@media screen and (max-width:700px) {
	body#message .filter li:first-child {
		display: block;
		text-align: center;
		margin-bottom: 40px;
	}
	body#message .filter { text-align: center; }
}

@media screen and (max-width:640px) {
	
	.message_ttl { margin-top: 120px; }
	.message_ttl h2 span {
		font-size: 4.887vw;
		background-size: 60px 60px;
		padding-right: 66px;
		padding-top: 44px;
	}
	
	.message_ttl h2 em {
		font-size: 6.887vw;
	}
	
	.message_category ul {
		width: 80%;
		margin: 0 10%;
		height:6em;
	}
	.message_category ul li {
		font-size: 2.4vw;
		display: block;
		line-height: 24px;
		padding-top: 5px;
		padding-bottom: 0;
		padding-left: 30px;
		text-align: left;
		margin: 0 30px;
	}
	
	
	.message_individual {
		margin: 40px auto 40px;
	}

	.message_group {
		margin: 40px auto 40px;
	}
	
	body#message .page_btn { width:70%; float: none; margin: 0 auto; }
	body#message .page_btn a { float: none; width: 100%; }
	
	body#message .phboxes .item {width:50%;}
	
	body#message .readMoreBtn {
		width: 80%;
	}
	body#message .readMoreBtn a {
		line-height: 40px;
	}
	body#message .readMoreBtn a:after {
		top: 30%;
	}
	
	.mfp-content { background:#fff; padding: 10px 20px; width:70%; margin: 0 auto; }
	
}

@media screen and (max-width:540px) {
	body#message .filter li { font-size: 2.665vw; margin-bottom: 10px;}
	body#message .filter a { margin-left: 20px; }
}


@media screen and (max-width:480px) {
	
	.message_ttl { margin: 0; }
	.message_ttl h2 span {
		font-size: 6.887vw;
		background-size: 50px 50px;
		padding-right: 56px;
		padding-top: 44px;
	}
	
	.message_ttl h2 em {
		font-size: 8.287vw;
	}
	
	.message_category ul {
		width: 90%;
		margin: 0 5%;
		height:6em;
	}
	.message_category ul li {
		font-size: 3vw;
		display: block;
		line-height: 28px;
		padding-top: 0px;
		padding-bottom: 0;
		padding-left: 30px;
		text-align: left;
		margin: 5px 10px 0 30px;
	}
	
	.message_individual {
		margin: 40px auto 40px;
	}

	.message_group {
		margin: 40px auto 40px;
	}
	
	body#message .readMoreBtn a {
		font-size: 16px;
	}
	
	.mfp-content { padding: 50px 5% 5%; width:96%; margin: 40px auto 0; }
	
	.mfp-close {
	  width: 28px !important;
	  height: 28px !important;
	  line-height: 20px !important;
	  font-size: 23px !important;
	  right:20px !important;
	  top: 12px;
	}

	.mfp-image-holder .mfp-close,
	.mfp-inline-holder .mfp-close{
		width: 32px;
		height: 32px;
		border: 2px solid #084a95 !important;
	}
	
	.inlineWrap h3 {
		font-size:3.2888vw;
		padding-left: 30px;
		margin-bottom: 1em;
	}

	.inlineWrap h3.h3bg1,.inlineWrap h3.h3bg2,.inlineWrap h3.h3bg3 {
		background-size: auto 14px;
	}
	
	
	body#message .sortBlock { width:90%; margin:0 5% 0;}
	body#message .filter li { font-size: 3.265vw; margin-bottom: 10px;}
	body#message .filter a { margin-left: 14px; }
	body#message .filter li:first-child {
		font-size: 6.265vw;
		margin-bottom: 30px;
	}
	body#message .filter li:last-child a {
		width:96px;
		line-height: 16px;
	}
	
}

@media screen and (max-width:340px) {
	.message_ttl h2 span {
		font-size: 6.187vw;
		background-size: 40px 40px;
		padding-right: 42px;
		padding-top: 34px;
	}
	
	.message_ttl h2 em {
		font-size: 9.287vw;
	}
	
	.message_category ul {
		width: 96%;
		margin: 0 2%;
		height:6em;
	}
	
	.message_category ul li {
		font-size: 2.4vw;
		display: block;
		line-height: 28px;
		padding-top: 0px;
		padding-bottom: 0;
		padding-left: 30px;
		text-align: left;
		margin: 5px 6px 0 20px;
	}

	.mfp-close {
	  width: 26px !important;
	  height: 26px !important;
	  line-height: 18px !important;
	  font-size: 21px !important;
	  right: 16px !important;
	  top: 12px;
	}
	
	body#message .filter a { margin-left: 10px; }
	body#message .filter li:last-child a {
		width:86px;
		margin-bottom: 20px;
	}
}

