@charset "utf-8";
/* CSS Document */
/*
Template:xeory_extension
Theme Name:xeory_mediaarts-ishigaki-jima
Description:xeory_baseの子テーマ
Author:Yusuke Saitoh
Version:0.1
*/
@import url('../xeory_extension/style.css');

/* ----------------------------------------
* フォント設定
---------------------------------------- */
/* ----------------------------------------
* all
---------------------------------------- */
html {
	font-size: 14px;
}
body {
/*   color: #005DAD; */
  color: #1f1f1f;
  background: #fff;
/*   font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif; */
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 1rem;
}

a {
/*   color: #2f86d2; */
  color: #4391d6;
  text-decoration: none;
}

a:hover {
/*   color: #66a5dc; */
  color: #76afe0;
  text-decoration: none;
}

a img {
  -webkit-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

a:hover img {
	opacity: 0.75;
}

h1, h2, h3, h4, h5 {
  color: #005DAD;
  margin: 0;
}

/* ----------------------------------------
* common
---------------------------------------- */
.inline-block {
	display: inline-block;
	letter-spacing: normal;
}

/* ----------------------------------------
* breadcrumb
---------------------------------------- */
.breadcrumb li:after {
  content: '›';
  margin-left: 10px;
}

.breadcrumb li:last-of-type:after {
  content: none;
}

.breadcrumb li a:hover {
  text-decoration: none;
}

/* ----------------------------------------
* header
---------------------------------------- */
#header {
  background-color: #005DAD;
  -webkit-transition: background-color .3s ease-in-out;
  transition: background-color .3s ease-in-out;
}
#header #logo {
  padding: 18px 0;
}
#header #logo a {
  display: inline-block;
  background: url("img/logo-header.svg") no-repeat;
  background-size: contain;
  float: left;
  font-size: 24px;
  width: 336px;
  height: 24px;
  overflow: hidden;
  text-indent: 101%;
  padding: 0;
}

#header a {
  color: #fff;
}

/* ----------------------------------------
* breadcrumb
---------------------------------------- */
.breadcrumb-area {
  background: #fff;
  color: #005DAD;
}

/* ----------------------------------------
* gloval nav & primary nav
---------------------------------------- */
#gnav {
  background: transparent;
}
#gnav ul li:hover a {
  background: rgba(255, 255, 255, 0.1);
}
#gnav ul li.current-menu-item a {
  background: #005DAD;
  color: #ead66f;
}
#gnav ul li a {
  padding: 18px 12px;
  line-height: 24px;
  background: transparent;
}

/* header */
#header-right {
  height: 60px;
  float: right;
}

#gnav ul li .sub-menu li {
	border: none;
}

#gnav ul li .sub-menu li a {
  color: #005DAD;
  background: #fff;
  padding: 10px 15px;
}
#gnav ul li .sub-menu li a:hover {
	background: #e8f1f8;
  color: #005DAD;
}



/* ----------------------------------------
* content
---------------------------------------- */
#content {
  padding: 48px 0;
	-webkit-transform:translate3d(0,0,0);
}

article.post:first-of-type, article.page:first-of-type, article.exhibition:first-of-type, article.event:first-of-type {
	border: none;
	padding-top: 0;
}

article.post, article.page, article.exhibition, article.event {
	margin-bottom: 32px;
	background: #fff;
  border: none;
	border-top: 5px #e8f1f8 solid;
	padding-top: 32px;
}

article.post .post-header, article.exhibition .post-header, article.page .post-header, article.event .post-header{
	padding: 0  0 16px;
	border: none;
}

.post-content {
	padding: 0;
}

article.page .post-content {
	padding: 0;
}

.post-content p:last-child {
	margin-bottom: 0;
}

.post-loop-wrap .post-thumbnail {
	width: 25%;
	float: left;
	padding-right: 16px;
}

.thumbnail-caption {
	font-size: 0.8em;
}

.post-loop-wrap .post-text {
	width: 100%;
	float: left;
}

.post-loop-wrap .has-post-thumbnail .post-text {
	width: 75%;
}


.post-loop-wrap .post-text > *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.post-header .cat-name {
  margin-bottom: 16px;
  display: inline-block;
}

.post-title a {
  color: #4391d6;
}

.post-title a:hover {
  color: #76afe0;
}


.post-header .date {
  margin: 0 0 0 16px;
	color: #005DAD;
  display: inline-block;
  font-size: 1.2em;
  line-height: 26px;
}

  /* exhibition */
.post-loop-wrap article p.exhibitor-name {
	color: #005DAD;
  font-size: 18px;
  margin: 16px 0 0;
}

article p.place {
  margin-bottom: 16px;
  padding: 8px;
  display: inline-block;
  background: #f6efdd;
}


/* event */
article p.event-schedule {
  margin-bottom: 16px;
  padding: 8px;
  background: #f6efdd;
}

/* single */
body.single .main-inner article p.exhibitor-name {
	color: #005DAD;
  font-size: 24px;
  margin: 16px 0 8px;
}

body.single .main-inner .post-text {
	width: 100%;
	float: left;
}

body.single .main-inner .post-thumbnail {
	width: 33%;
	float: left;
	padding-right: 16px;
}

body.single .main-inner .has-post-thumbnail .post-text {
	width: 67%;
}

body.single h1.post-title {
	margin-bottom: 0;
}


/* ----------------------------------------
* frontpage
---------------------------------------- */
body.home #content {
  position: relative;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
body.home #main {
  width: 100%;
  margin: 0;
  float: none;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
body.home .main-inner {
  margin: 0;
}

body.home .front-loop:nth-child(odd) {
	background: rgba(0, 93, 174, 1);
}

body.home .front-loop .header-wrap {
	margin-top: 32px;
  padding: 16px 0;
	border-bottom: 5px #e8f1f8 solid;
}

body.home .front-loop .header-wrap a.read-more {
  display: block;
  float: right;
/*   margin-top: 4px; */
  line-height: 24px;
}

body.home .front-loop .header-wrap a.read-more i {
	margin-left: 5px;
}

body.home .front-loop h2 {
  text-align: left;
	padding: 0;
	border: none;
  font-size: 24px;
  font-weight: bold;
  display: block;
  line-height: 24px;
  float: left;
}

body.home .front-loop {
  border: none;
  margin-bottom: 0;
}

body.home .front-loop.front-loop-link {
	  border-top: 1px solid #e8f1f8;
}

body.home .front-loop article.recent h3 {
	font-size: 15px;
	font-weight: bold;
	margin: 0;
}

body.home .front-loop article.recent .post-header {
	padding: 0;
}

body.home .front-loop .front-loop-cont {
  padding: 40px 0;
  overflow: hidden;
}

body.home .front-loop article.post.recent:last-of-type  {
	border-bottom: none;
}
body.home .front-loop article.post.recent {
	border-bottom: 5px #e8f1f8 solid;
  margin-bottom: 0;
  padding: 20px 0;
  background: transparent;
}

body.home #recent_post_content.front-loop .front-loop-cont  {
	padding-top: 0;
}

body.home .front-loop article.post {
  border: none;
  padding-top: 0;
}


body.home .front-loop .picked_post_box {
  width: 31%;
  margin-left: 1%;
  margin-right: 1%;
  float: left;
  display: inline-block;
  position: relative;
  background: #fff;
}

body.home .front-loop .picked_post_box{
  -webkit-transition: opacity ease-in-out .3s;
          transition: opacity ease-in-out .3s;
}

body.home .front-loop .picked_post_box:hover{
	opacity: 0.75;
}

body.home .front-loop .picked_post_box .post-header .cat-name {
  margin-bottom: 8px;
}
body.home .front-loop .picked_post_box img,
body.home .front-loop .picked_post_box h3,
body.home .front-loop .picked_post_box .p_category,
body.home .front-loop .picked_post_box ul {
  margin-bottom: 12px;
  margin-top: 0;
}

body.home .front-loop .picked_post_box .post-header {
  padding: 12px;
	border: none;
}

body.home .front-loop .picked_post_box .post-thumbnail {
	width: 100%;
	height: 0;
	overflow: hidden;
	padding-bottom: 66.7%;
	margin: 0;
	float: none;
	background-position: center top;
	background-size: cover;
}

body.home .front-loop .picked_post_box .thumbnail-caption {
	padding: 0 12px;
	color: #1f1f1f;
}

body.home .front-loop .picked_post_box p.exhibitor-name {
	color: #005DAD;
  margin: 4px 0 0;
}


.home .post-loop-wrap article.post .post-thumbnail img {
  max-width: 100%;
  width: 100%;
  height: auto;
}


body.home .front-loop .picked_post_box h3 {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 0;
}
body.home .front-loop .picked_post_box img {
  max-width: 100%;
  height: auto;
}

body.home .front-main-cont .front-cont-header {
  position: relative;
  padding: 16px 0 24px;
  background: #005DAD;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

body.home #front-contents h2
body.home .front-main-cont .front-cont-header h2 {
	color: #fff;
}

body.home .front-main-cont .front-cont-header .cont-icon {
  font-size: 28px;
}
body.home .front-main-cont .front-cont-header .cont-title {
  font-size: 28px;
  color: #fff;
  margin: 0;
  font-weight: bold;
}
body.home .front-main-cont .front-cont-header .cont-ruby {
  font-size: 15px;
  margin: 0;
}
body.home #front-contents .c_box {
  position: relative;
  border-bottom: none;
}

body.home #front-contents .c_box:last-child {
  border-bottom: none;
}

body.home #front-contents .c_box_inner {
/*   width: 54%; */
  width: 60%;
  padding: 40px 0;
}
body.home #front-contents .c_img_box {
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
}
body.home #front-contents .c_box.c_box_left {
  background-color: #fff;
}
body.home #front-contents .c_box.c_box_left .c_box_inner {
  float: left;
  z-index: 10;
}
body.home #front-contents .c_box.c_box_left .c_img_box {
  right: 0;
  background-position: center top;
}
body.home #front-contents .c_box.c_box_right {
/*   background-color: #e8f1f8; */
  background-color: #f6efdd;
}
body.home #front-contents .c_box.c_box_right .c_box_inner {
  float: right;
}
body.home #front-contents .c_box.c_box_right .c_img_box {
  left: 0;
  background-position: center top;
}
body.home #front-contents .c_number {
  background: #47B39D;
  color: #fff;
  display: inline-block;
  padding: 40px 12px 8px;
  margin-bottom: 32px;
  margin-top: 0;
}
body.home #front-contents h3 {
  color: #005DAD;
  font-size: 21px;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: bold;
}
body.home #front-contents .c_english {
  color: #005DAD;
  font-size: 13px;
  margin-bottom: 32px;
  margin-top: 0;
}
body.home #front-contents h4 {
  font-size: 24px;
  margin-bottom: 28px;
  margin-top: 0;
  font-weight: normal;
}
body.home #front-contents .c_text p {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  margin-bottom: 0;
  margin-top: 16px;
}
body.home #front-contents .c_text .c_btn a {
  border-radius: 4px;
  background: transparent;
  color: #005DAD;
  border: 1px solid #005DAD;
  text-shadow: none;
  width: 30%;
  font-size: 14px;
  padding: 12px;
}
body.home #front-contents .c_text .c_btn a:hover {
  opacity: 1;
  background: #005DAD;
  color: #fff;
}
body.home #front-service {
  background: #fff;
  padding-bottom: 0;
  border-bottom: none;
}
body.home #front-service .front-service-inner {
  margin-left: 0;
  overflow: hidden;
}
body.home #front-service .front-service-inner .c_box {
  width: 50%;
  padding: 64px 0;
  margin-left: 0;
  margin-bottom: 0;
  float: left;
}

body.home #front-service .front-service-inner .c_box:nth-child(odd) {
  border-right: 1px solid #e8f1f8;
}


body.home #front-service .front-service-inner .c_title {
  text-align: center;
}

body.home #front-service .front-service-inner h2, body.home #front-service .front-service-inner h3 {
  color: #005DAD;
  font-size: 28px;
  margin-bottom: 4px;
  line-height: 1em;
  font-weight: bold;
}
body.home #front-service .front-service-inner .c_english {
  color: #005DAD;
  font-size: 15px;
  margin-bottom: 32px;
}
body.home #front-service .front-service-inner h4 {
  font-size: 24px;
  margin-bottom: 28px;
  text-align: center;
}
body.home #front-service .front-service-inner .c_text p {
  margin-bottom: 0;
  text-align: center;
}
body.home #front-service .front-service-inner .c_text .c_btn a {
  border-radius: 4px;
  background: transparent;
  color: #005DAD;
  border: 1px solid #005DAD;
  text-shadow: none;
  -webkit-transition: all ease-in-out .3s;
          transition: all ease-in-out .3s;
  width: auto;
  display: inline-block;
  padding: 8px 24px;
}
body.home #front-service .front-service-inner .c_text .c_btn a:hover {
  opacity: 1;
  background: #005DAD;
  color: #fff;
}
body.home #front-company {
  background: #fff;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, Verdana, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
body.home #front-company .c_box {
  position: relative;
  border-bottom: 1px solid #e5e5e5;
  min-height: 450px;
}
body.home #front-company .c_box_inner {
  width: 684px;
  padding: 96px 0;
}
body.home #front-company .c_img_box {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  z-index: 0;
}
body.home #front-company .c_img_box iframe {
  width: 100% !important;
  height: 100% !important;
}
body.home #front-company .no-company-map .c_img_box {
  display: none;
}
body.home #front-company .no-company-map .c_box_inner {
  margin-left: auto;
  margin-right: auto;
}
body.home #front-company dl {
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
  margin: 0;
}
body.home #front-company dl dt span,
body.home #front-company dl dd span {
  padding: 20px 32px;
  display: block;
}
body.home #front-company dl dt {
  float: left;
  width: 20%;
  margin: 0;
}
body.home #front-company dl dd {
  float: left;
  width: 80%;
  margin: 0;
}
body.home #front-company dl#front-company-1 dt {
  border-top: 2px solid #47B39D;
}
body.home #front-company dl#front-company-1 dt span {
  padding-top: 19px;
}
body.home #front-company dl#front-company-1 dd {
  border-top: 1px solid #e5e5e5;
}
body.home #front-contact {
  background: #47B39D;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, Verdana, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
body.home #front-contact .c_box_inner {
  padding: 60px 0;
  width: 100%;
  max-width: 632px;
  margin: 0 auto;
}
body.home #front-contact .c_box_inner input[type=text],
body.home #front-contact .c_box_inner input[type=tel],
body.home #front-contact .c_box_inner input[type=email],
body.home #front-contact .c_box_inner input[type=url],
body.home #front-contact .c_box_inner textarea {
  width: 95%;
}
body.home #front-contact .c_box_inner input[type=submit],
body.home #front-contact .c_box_inner button {
  width: 30%;
  display: block;
  background: #131D2A;
  border-radius: 3px;
  margin: 0 auto;
}
body.home #front-contact .c_box_inner p {
  margin-bottom: 1.4em;
  color: #fff;
}


/* ----------------------------------------
* main
---------------------------------------- */
.post-header .cat-name span {
  color: #fff;
  background: #005DAD;
  border: none;
  border-radius: 4px;
	padding: 3px 8px;
  -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.post-header .cat-name a:hover span {
  color: #fff;
}

h1.post-title {
	font-size: 32px;
}

.archive h1.post-title, .page-template-template-news h1.post-title {
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 5px #e8f1f8 solid;
}

.post-title {
  font-size: 24px;
  margin-bottom: 32px;
}

.post-footer {
  padding: 54px 0 20px;
}
.post-footer .bzb-sns-btn {
  padding: 0 0;
}




/* loop
---------------------------------------- */



/* ----------------------------------------
* footer
---------------------------------------- */
#footer {
/*   color: #005DAD; */
/*   border-top: 1px solid #f6f6f6; */
  border-top: none;
  
}

.footer-01 {
  background: #005DAD;
}
.footer-01 h4 {
	color: #fff;
}


.footer-02 {
  background: #fff;
  color: #005DAD;
}

#footer-brand-area {
	border-bottom: 1px solid #fff;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content dl,
.post-content blockquote,
.post-content pre,
.post-content table {
  margin-bottom: 1em;
}


#footer-cont-content {
	margin-bottom: 32px;
}

#footer-sns li {
	float: left;
	margin-top: 16px;
	margin-right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	overflow: hidden;
}

#footer-content-area #footer-cont-sns #footer-sns li a {
	display: inline-block;
	background: #fff;
  color: #005DAD;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  width: 40px;
  padding: 0;
  -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;

}
#footer-content-area #footer-cont-sns #footer-sns li a:hover {
	background: #e8f1f8;
	color: rgba(0, 93, 174, 0.8);
}

#footer-content-area i.fa {
  margin-right: 0;
}


.footer__link {
	text-align: center;
	padding: 32px 0;
}
.footer-link__item {
	margin-right: 20px;
	display: inline-block;
}
.footer-link__item img {
	transition: opacity 0.3s ease;
}
.footer-link__item:hover img {
	opacity: 0.7;
}
.footer-link__item:last-of-type {
	margin-right: 0;
}
.footer-link__item--bunka {
	width: 160px;
}
.footer-link__item--ishigaki {
	width: 120px;
}
.footer__copyright {
	text-align: center;
	font-size: 0.85rem;
	margin: 0 0 1rem;
}


/* ----------------------------------------
* home
---------------------------------------- */
body.home {
  position: relative;
}

body.home #header {
	position: absolute;
	z-index: 9999;
	background: none;
	width: 100%;
}

body.home #header #logo {
	visibility: hidden;
}

/* ---- bg-slider */
.mi-bg-slider {
	position: absolute;
	height: 100vh;
	width: 100%;
/* 	z-index: 0; */
	top: 0;
	left: 0;
	background: #020725;
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
}
.mi-bg-slider:before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
	opacity: 0.25;
	background: #020725;
  z-index: 1;
}
.mi-bg-slider__image {
	position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
	opacity: 0;
	transition: all 1s ease-in-out;
	background-color: #020725;
	background-position: center center;
	background-size: cover;
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
	visibility: hidden;
}
.mi-bg-slider__image.visible {
	opacity: 1;
	visibility: visible;
}

/* body.home .wrap */
body.home #header.nav-opened {
  background-color: #005DAD;
}

body.home #header.nav-opened #logo {
	visibility: visible;
}

#header.nav-opened #header-nav-btn a:before {
  content: "\f00d";
  font-size: 24px;
}

body.home #main_visual {
	overflow: hidden;
	height: 100vh;
	background: transparent;
}

body.home #main_visual .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: left;
}
body.home #main_visual .wrap p.mv_description {
  font-size: 1.67rem;
	font-weight: 700;
	margin: 0 0 30px;
  text-align: left;
  width: 100%;
  line-height: 1.3em;
}
body.home #main_visual .wrap h1 {
	margin: 30px 0 0;
}
body.home #main_visual .wrap img {
  width: 100%;
}
body.home #main_visual .wrap img.img-schedule {
	margin: 40px 0 0;
	max-width: 75%;
}

.post-loop-wrap .more-link {
  border: 1px solid #005DAD;
  padding: 4px 10px;
  margin: 10px 0 0;
  color: #005DAD;
  border-radius: 4px;
  display: inline-block ;
}
.post-loop-wrap .more-link:hover {
  opacity: 1;
  background: #005DAD;
  color: #fff;
  text-decoration: none;
}

/* ----------------------------------------
* info-table
---------------------------------------- */
.post-content .mi-info-table {
  padding: 0;
  margin: 32px 0 0;
	border-top: 5px #e8f1f8 solid;
	border-bottom: 5px #e8f1f8 solid;

}
.post-content .mi-info-table:last-child {
	margin-bottom: 0;
}

.post-content .mi-info-table dt {
	padding-top: 15px;
	font-size: 1.125rem;
	border-top: 5px #e8f1f8 solid;
	color: #005DAD;
}

.post-content .mi-info-table dt:first-of-type {
	border-top-width: 0;
}

.post-content .mi-info-table dd {
	padding-left: 0;
  padding-top: 7px;
  padding-bottom: 15px;
	margin: 0;
}
.post-content .mi-info-table ul:last-child {
	margin-bottom: 0;
}
@media (min-width: 768px) {
	.post-content .mi-info-table dt {
		clear: both;
		float: left;
		padding: 14px 0 13px;
		width: 140px;
  }
	.post-content .mi-info-table dd {
		padding: 15px 0 15px 155px;
		border-top: 5px #e8f1f8 solid;
	}
	.post-content .mi-info-table dd:first-of-type {
		border-top-width: 0;
	}
}

/* ----------------------------------------
* ggmap
---------------------------------------- */

.ggmap {
position: relative;
padding-bottom: 75%;
padding-top: 30px;
height: 0;
overflow: hidden;
margin-top: 64px;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/* ----------------------------------------
* pagetop
---------------------------------------- */
.pagetop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
}

.pagetop:hover {
  opacity: 0.75;
  color: #fff;
}

.pagetop span {
  display: block;
  border-radius: 20px;
  background: #004f93;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 33px;
  font-size: 32px;
  opacity: 0.9;
}


/* ----------------------------------------
* レスポンシブ
---------------------------------------- */

@media screen and (max-width: 991px) {
  /* tablet */
  body.home .wrap,
  .wrap {
    width: auto;
    margin: 0 24px;
  }

  body.home #front-service {
    background-image: none;
  }

  /* header */
  #header {
    padding: 0;
  }
  
  #header .wrap {
    width: auto;
    margin: 0 24px;
  }

  #header-nav-btn {
    display: block;
    width: 60px;
    line-height: 60px;
    float: right;
  }
  
  #header-nav-btn a:before {
    content: "\f0c9";
    font-family: FontAwesome;
    text-align: center;
    display: block;
    font-size: 24px;
	}
  
  #header-nav-btn a {
    text-align: center;
    display: block;
    font-size: 24px;
    background: transparent;
  }

  #header-fnav-area {
    display: none;
  }

  /* gnav */
  #gnav {
    display: none;
  }

  .dummy {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 10;
  }

  #gnav-sp {
    background: #fff;
    display: block;
    color: #1f1f1f;
    z-index: 100;
    position: absolute;
    right: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #005DAD;
  }
  #gnav-sp .wrap {
    width: 94%;
    margin: 0 3%;
    padding: 16px 0 16px;
  }
  #gnav-sp .wrap a {
    color: #4391d6;
  }
  #gnav-sp #header-cont-content h4,
  #gnav-sp #header-cont-about h4,
  #gnav-sp #header-cont-sns h4 {
    font-weight: bold;
    margin-bottom: 16px;
  }
  #gnav-sp #header-cont-content li,
  #gnav-sp #header-cont-about li,
  #gnav-sp #header-cont-sns li {
    font-size: 14px;
  }
  #gnav-sp #header-cont-content li a,
  #gnav-sp #header-cont-about li a,
  #gnav-sp #header-cont-sns li a {
    padding: 10px 12px;
  }
  #gnav-sp #header-cont-content ul {
    margin-left: -2%;
    display: block !important;
  }
  #gnav-sp #header-cont-content li {
    margin-left: 2%;
    float: left;
    width: 48%;
  }
  #gnav-sp #header-cont-content li a {
    display: block;
    position: relative;
  }
  #gnav-sp #header-cont-content li a:before {
    font-family: 'FontAwesome';
    content: '\f105';
    position: absolute;
    left: 0;
    top: 8px;
  }
  #gnav-sp #header-cont-content .children {
    display: none;
  }
  #gnav-sp #footer-nav li a {
    display: block;
    padding: 8px 12px;
    position: relative;
  }
  #gnav-sp #footer-nav li a:before {
    font-family: 'FontAwesome';
    content: '\f105';
    position: absolute;
    left: 0;
    top: 8px;
  }
  #gnav-sp #footer-nav .children {
    display: none;
  }
  #gnav-sp #header-cont-sns li a {
    display: block;
    padding: 8px 12px 8px 0;
  }
  
  
  body.home .front-loop .picked_post_box {
    width: 30%;
    margin: 0 1.6%;
  }
  body.home .front-loop .picked_post_box .wrap-a {
    display: block;
    border: none;
  }
  body.home .front-loop .picked_post_box .wrap-a:hover {
	  opacity: 0.75;
    text-decoration: none;
  }
  body.home .front-loop .picked_post_box img {
    width: 100%;
    height: auto;
  }
  
  body.home #front-contents .c_box.c_box_left .c_img_box,
  body.home #front-contents .c_box.c_box_right .c_img_box {
    position: relative;
    height: 0;
    padding-bottom: 50%;
    margin-top: 16px;
    margin-bottom: 16px;
}


  /* tablet end */
}
@media screen and (max-width: 767px) {
  /* phone */
  
  .post-title {
    font-size: 21px;
    margin-bottom: 20px;
  }

  /* header */
  #header {
    padding: 0;
  }
  #header .wrap {
    padding: 0;
    margin: 0 12px;
  }
  #header #logo {
    float: left;
  }
  #header #logo img {
    vertical-align: top;
  }
  #header #header-right {
    height: auto;
  }
  #header #header-primary-nav {
    display: none;
  }

  #header-nav-btn {
    display: block;
    width: 60px;
    line-height: 60px;
    float: right;
  }
  #header-nav-btn a {
    display: block;
    text-align: center;
    font-size: 24px;
    padding: 0;
    background: transparent;
    line-height: 60px;
  }
  .single-lp #lp-header {
    padding: 20px;
  }
  .single-lp .lp-thumbnail {
    float: none;
    margin: 0 0 13px;
  }
  .single-lp .lp-thumbnail img {
    width: 100%;
    height: auto;
  }
  .single-lp #content {
    padding: 20px;
  }

  #gnav-sp {
    display: none;
    top: 112px;
  }
  #gnav-sp ul {
    margin-bottom: 0px;
  }
  #gnav-sp #header-cont-content ul {
    margin-left: 0;
  }
  #gnav-sp #header-cont-content li {
    margin-left: 0;
    float: left;
    width: 100%;
  }


	.post-loop-wrap .post-thumbnail {
		width: 33%;
	}

	.post-loop-wrap .has-post-thumbnail .post-text {
		width: 67%;
	}
	
	body.single .main-inner .post-thumbnail {
		width: 100%;
		float: none;
		padding-right: 0;
		margin-bottom: 24px;
	}

	body.single .main-inner .post-thumbnail img {
		max-height: 480px;
		max-width: 100%;
		width: auto;
		margin-auto: 24px;
	}

	body.single .main-inner .has-post-thumbnail .post-text {
		width: 100%;
		float: none;
	}


  body.home .front-loop .picked_post_box:nth-child(odd) {
	  clear: both;
  }
  body.home .front-loop .picked_post_box {
    width: 46%;
	  margin: 0 2% 4%;
  }

  /* phone end */
}

@media screen and (max-width: 479px) {
  /* header */
  #header #logo {
    float: left;
    padding: 20px 0;
  }
  #header #logo a {
    width: 280px;
    height: 20px;
  }
  
    /* body.home .wrap */
	body.home #main_visual .wrap {
	  padding: 0 20px;
	}
	
	body.home #main_visual .wrap p.mv_description {
	  font-size: 1.4rem;
		margin: 0 0 20px;
	}
	body.home #main_visual .wrap h1 {
		margin: 20px 0 0;
	}
	

	
	
	.post-loop-wrap .post-thumbnail {
		width: 100%;
		float: none;
		padding-right: 0;
		margin-bottom: 20px;
	}

	.post-loop-wrap .has-post-thumbnail .post-text {
		width: 100%;
		float: none;
	}
	
	body.home #front-service .front-service-inner .c_english {
	  margin-bottom: 16px;
	}
	body.home #front-service .front-service-inner .c_box {
	  padding: 32px 0;
	}
	
  body.home .front-loop .picked_post_box {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 32px;

  }

}

@media screen and (max-width: 359px) {
  /* header */
  #header #logo {
    float: left;
    padding: 21px 0;
  }
  #header #logo a {
    width: 235px;
    height: 17px;
  }
  
    /* body.home .wrap */
	body.home #main_visual .wrap p.mv_description {
	  font-size: 1.15rem;
	}

}
