/*
Theme Name:iijima
Template:nano_tcd065
Version:1.4.3
*/

.c-logo img {
    vertical-align: middle;
    max-height: 100px;
    width: auto;
}
.p-index-content02 {display:none!important;}
.p-index-content04 {display: none!important;}
.p-footer-nav {display: none!important;}
.p-article06__content {
    border-left: 4px solid #04448b!important;
}

/* 会社概要 */

.c_tbl {
    width: 100%;
    margin: 0 auto;
}

.c_tbl th {
    text-align: left;
    background: #fff;
}

.c_tbl td {
    line-height: 2.4;
}

.c_tbl tr > * {
    border-top-style: none;
    border-right-style: none;
    border-bottom: solid 1px #dcdcdc;
    border-left-style: none;
    font-size: 1rem;
    padding: 1.4em 0 1.4em 2em;
}


@media (max-width: 480px) {
.c_tbl th {
    width: 100% !important;
    background: #eee;
}
}

@media (max-width: 480px) {
.c_tbl tr > * {
    border-bottom: none;
    padding: 0.8em 2em;
    float: left;
    width: 100%;
    margin: 0 -0.5em;
}
}

/* PCだけ　スマホだけ */
@media screen and (min-width: 480px){	
  .pconly { display:block; }
  .sponly { display:none; }
}
@media screen and (max-width: 480px){	
  .pconly { display:none; }
  .sponly { display:block; }
}

/* 吹き出し */

.balloon4 {
color:#333;
font-size: 16px;
  position: relative;
  margin: 2em 0 2em 40px;
  padding: 15px;
  background: #feffeb;
  border-radius: 30px;
}

.balloon4:before {
  content: "";
  position: absolute;
  left: -38px;
  width: 13px;
  height: 12px;
  bottom: 0;
  background: #feffeb;
  border-radius: 50%;
}

.balloon4:after {
  content: "";
  position: absolute;
  left: -24px;
  width: 20px;
  height: 18px;
  bottom: 3px;
  background: #feffeb;
  border-radius: 50%;
}
.balloon4 p {
  margin: 0; 
  padding: 0;
}

/* 5列4列3列2列の並び */

*, *:before, *:after {
	box-sizing: border-box;
}
.col_6{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_6 > div{
	width: 16.6%;
	padding: 1%;
}
.col_6 > div > div{
	position: relative;
	overflow: hidden
}
@media screen and (max-width: 960px) {
	.col_6 > div{
		width: 33%;
	}
}
@media screen and (max-width: 480px) {
	.col_6 > div{
		width: 50%;
	}
}




*, *:before, *:after {
	box-sizing: border-box;
}
.col_5{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_5 > div{
	width: 20%;
	padding: 10px;
}
.col_5 > div > div{
	position: relative;
	overflow: hidden
}
@media screen and (max-width: 960px) {
	.col_5 > div{
		width: 25%;
	}
}
@media screen and (max-width: 480px) {
	.col_5 > div{
		width: 33.33333%;
	}
}



*, *:before, *:after {
	box-sizing: border-box;
}
.col_4{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_4 > div{
	width: 25%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_4 > div{
		width: 33.33333%;
	}
}
@media screen and (max-width: 480px) {
	.col_4 > div{
		width: 50%;
	}
}



*, *:before, *:after {
	box-sizing: border-box;
}
.col_3{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_3 > div{
	width: 27%;
	padding: 30px;
}
@media screen and (max-width: 960px) {
	.col_3 > div{
		width: 50%;
	}
}
@media screen and (max-width: 480px) {
	.col_3 > div{
		width: 100%;
	}
}



*, *:before, *:after {
	box-sizing: border-box;
}
.col_2{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_2 > div{
	width: 50%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_2 > div{
		width: 100%;
	}
}

/* お問い合わせページのフォント */

.contact_font {font-size:3.0rem;}

@media(max-width:500px){
.contact_font {font-size:1.5rem;}
}

.contact_font1 {font-size:2.0rem;}

@media(max-width:500px){
.contact_font1 {font-size:1.5rem;}
}


/* お問い合わせページのフォント */

.p-article12 a:hover .p-article12__title, .p-article12 a:hover .p-article12__sub {
    color: #ed7d31;
}

/* 見出し */



/* 施工事例ワンカラムに変更 */

.p-works-entry__img {display: none;}
.l-page-header {display: none;}
.l-secondary {display: none;}
.l-contents--grid .l-contents__inner {display: block;}
.tcd-pb-row.row2 {margin-bottom: 0px!important;}


/* 施工事例一覧ページデザイン変更 */
.l-contents--no-border .l-contents__inner {margin-top: 0px;}
.p-archive-header {display: none;}
.p-works-list {margin-top: 50px;}
.p-article06__content {padding: 10px;}
.p-article06__title {min-height: 0px;margin: 0;}


/* ヘッダー上部画像の幅調整 */
.p-cover {height: 240px;}

/* お知らせサムネイル画像の非表示 */
.p-entry__img {display:none;}

/* トップ新着情報 */
.p-news-tab-list__tabs-item.is-active a, .p-news-tab-list__tabs-item a:hover { background: #1f4298; border-color: #1f4298;}
.p-news-tab-list__tabs-item.is-active + .p-news-tab-list__tabs-item a { border-left: 1px solid #fff;}
.p-cat { background: #7DD2F2; border-radius: unset;}
.p-cat--22 {color: #fff!important;border: 1px solid #7DD2F2!important;}
.p-cat--12 {color: #fff!important;border: 1px solid #7DD2F2!important;}
.p-cat--27 {color: #fff!important;border: 1px solid #7DD2F2!important;}
.p-index-content01 {box-shadow: unset;}



/* 不動産情報　売買 */

.inner {
    margin: 0 auto;
    max-width: 1150px;
	width:100%;
}

/* work list */
.list-items {background: #fff;padding: 60px 0px;}
.list-item {background: #000;margin: 0 35px 35px 0;width: calc((100% - 70px) / 3);box-shadow: 1px 1px 2px #aaa;}
.list-item:nth-of-type(3n) {margin-right: 0;}
.list-item > a {display: block;background: #F5F9FE;height: 100%;opacity: 1.0;position: relative;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition-property: opacity;
-webkit-transition: .5s;
-moz-transition-property: opacity;
-moz-transition: .5s;
-ms-transition-property: opacity;
-ms-transition: .5s;
-o-transition-property: opacity;
-o-transition: .5s;
transition-property: opacity;
transition: .5s;
}
.list-item > a:hover {opacity: 0.5;} 
.list-item-thumbnail {background: transparent;width: 100%;padding: 0;}
.list-item-thumbnail img {width: 100%;height: 270px;object-fit: cover;display: block;margin: 0 auto;}
.list-item h3 {margin: 15px auto 0; text-align: center;}
.list-item-content {box-sizing: border-box;padding: 15px;margin-bottom: 0%;}
.list-item-title {color: #505050;font-size: 18px;line-height: 1.2em;}
.list-item-title::after {content: none;padding-left: 15px;}
.list-cat-item {position: relative;right: 0;bottom: 0px;display: inline-block;}
.list-cat-item span {background-color: #04448b;color: #fff; padding: 8px; margin: 3px; font-size: 12px; display: inline-grid;}


/* work detail */
/* reform detail */
/* land detail */
/* voice detail */
section.custom {margin-bottom: 60px;}
.single-rental .gallery-img {width: 1150px;object-fit: contain; height:auto!important;}
.gallery-items {margin: 45px 0 70px;}
.gallery-items a {display: block;margin: 0 25px 25px 0;width: calc((100% - 100px) / 5);float: left;}
.gallery-items a:nth-of-type(5n) {margin-right: 0px;}
.gallery-items a>img {width: 200px;height: 200px;object-fit: cover;display: block;margin: 0 auto;}
.fancybox-button.fancybox-button--arrow_left  {background-image: url(/files/arrow_l.png);background-repeat: no-repeat;background-position: 32% 50%;background-size: 17px 28px;}
.fancybox-button.fancybox-button--arrow_left svg  {display: none;}
.fancybox-button.fancybox-button--arrow_right {background-image: url(/files/arrow_r.png);background-repeat: no-repeat;background-position: 68% 50%;background-size: 17px 28px;}
.fancybox-button.fancybox-button--arrow_right svg {display: none;}
.ttl.headline-bar {background: none;color: #000;font-size: 32px;font-weight: bold;padding: 24px 0;}
.ttl.headline-bar span {color: #666; font-size: 16px;font-weight: normal;}
.cont {color: #505050;font-size: 16px;line-height: 1.5;margin-bottom: 46px;}
.data-items dl {font-size: 16px;display: block;height:auto;width: calc( (100% - 24px) / 2 );margin-right: 24px;padding: 10px 0 30px;border-bottom: 1px solid #ddd;box-sizing: border-box;}
.data-items dl:nth-of-type(2n) {margin-right: 0;}
.data-items dl dt {float: left;padding-left: 5px;box-sizing: border-box;line-height: 1.5;font-weight: normal;}
.data-items dl dd {padding-left: 100px;margin-bottom: 0;line-height: 1.5;}
.cat-item {margin-bottom: 32px;}
.cat-item span {background-color: #04448b;color: #fff;padding: 12px;font-size: 14px;margin: 0 2px;}
.head-address {font-size: 18px;color: #666;margin-top: 17px;}
.reform-to-toi {text-align: center;color: #666666;margin-bottom: 40px;}
.reform-to-toi img {box-shadow: 3px 3px 3px 0px #d4d4d4;}
.youtube,.youtube-list,.movie-cont {text-align: center;}
.data-items dl:last-child {height: auto;padding: 10px 0 24px;}
.voice-to-work,.voice-to-reform {text-align: center;color: #666666;margin-bottom: 40px;max-width: 380px; margin: 30px auto;}
.voice-to-work img,.voice-to-reform img {box-shadow: 3px 3px 3px 0px #d4d4d4;}
.qattl {font-size: 16px;font-weight: bold;color: #111;background: none;margin:0 0 24px 0!important;}
.qattl span {font-size: 30px;}

.recommend {margin-bottom: 90px;}
.recommend-item {line-height: 1.8;margin: 0 1.74% 30px 0;width: 18.61%;}
.recommend-item:nth-of-type(5n) {margin-right: 0;}
.recommend-thumbnail {display: block;margin-bottom: 5px;overflow: hidden;}
.recommend-thumbnail img {width: 100%;height: auto;}
.recommend-title a {font-size: 12px;font-weight: normal;}
.recommend .headline-bar {background: none;color: #000;font-size: 32px;font-weight: bold;padding: 20px 0;}
.recommend .headline-bar::before {content: url(/files/t_recommend.png);padding-right: 15px;}
.recommend .headline-bar span {color: #666; font-size: 16px;font-weight: normal;}
.recommend .headline-bar br {display: none;}

/* staff */
.staff-list-top-ttl {text-align: center;margin-top: 0!important;margin-bottom: 6px!important;}
.staff-list-top {width: 100%;overflow: hidden;margin-bottom: 70px;}
.staff-list-top a {width: 50%;box-sizing: border-box;display: block;float: left;}
.staff-list-top a>img {display: block;margin: 0 auto;box-shadow: 3px 3px 3px 0px #d4d4d4;max-width: 100%;}

.staff-item,
.carpenter-item {background: #fff;margin: 0 30px 30px 0;width: calc((100% - 90px) / 4);box-shadow: 3px 3px 3px 0px #d4d4d4;}
.staff-item:nth-of-type(4n),
.carpenter-item:nth-of-type(4n) {margin-right: 0;}
.staff-item .article03-thumbnail,
.carpenter-item .article03-thumbnail {width: 100%; padding: 24px 12px 10px;}
.staff-item img,
.carpenter-item img {width: 100%;height: auto;}
.staff-item .article03-content,
.carpenter-item .article03-content {padding: 10px 12px 20px;box-sizing: border-box;}
.staff-item .position,
.carpenter-item .position {font-size: 14px;color: #666;margin-bottom: 10px;}
.staff-item h2,
.carpenter-item h2 {font-weight: normal;font-size: 18px;color: #505050;margin-bottom: 5px;}
.staff-item .kana,
.carpenter-item .kana {font-weight: normal;font-size: 12px;color: #505050;margin-bottom: 12px;}
.staff-item .qualify,
.carpenter-item .qualify {border-top: 1px dashed #888;line-height: 1.5;padding-top: 12px;font-weight: normal;font-size: 12px;color: #888;}
.staff-item .more,
.carpenter-item .more {text-align: right;margin-top: 30px;font-weight: normal;font-size: 16px;color: #666;}

.recommend-staff {margin-bottom: 120px;}
.recommend-staff .headline-bar {background: none;color: #000;font-size: 32px;font-weight: bold;padding: 20px 0;}
.recommend-staff .headline-bar::before {content: url(/files/t_recommend.png);padding-right: 15px;}
.recommend-staff .headline-bar span {color: #666; font-size: 16px;font-weight: normal;}
.recommend-staff .headline-bar br {display: none;}
.recommend-staff .recommend-item {margin: 0 10px 10px 0;width: calc((100% - 60px) / 6);}
.recommend-staff .recommend-item:nth-of-type(6n) {margin-right: 0;}
.recommend-staff .recommend-thumbnail {margin-bottom: 0;}
.recommend-staff .recommend-title {line-height: 1.5;margin-top: 5px;font-weight: normal;}
.recommend-staff .recommend-title span {font-size: 12px;color: #505050;font-weight: normal;}
.recommend-staff .recommend-title a {font-size: 16px;color: #505050;}
.staff-detail h2.ttl {font-weight: bold;font-size: 32px;color: #111;}
.staff-detail .kana {font-weight: normal;font-size: 16px;color: #505050;margin-bottom: 15px;display: inline-block;}
.staff-detail .position {font-weight: bold;font-size: 16px;color: #111;margin-bottom: 40px;display: inline-block;}
.staff-detail .qualify {font-weight: normal;font-size: 16px;color: #505050;line-height: 1;}

/* post */
.single-post h1.post-title {color: #111;font-size: 36px;background-color: #fafbd8;padding: 15px 20px;margin-bottom: 50px;font-weight: normal;}
.post-category a {color: #fff!important; background-color: #cfde28;font-size: 16px;font-weight: bold;padding: 15px 40px;}
.post-back {overflow: hidden; border:4px dashed #F3F8B6;background-color: #FDFEF9;padding:25px;margin-bottom: 25px;}
.post-back .article01-title a {color:#4f4f4f!important;font-weight: normal;font-size: 14px;}
.post-about {border:4px dashed #E3F8FD;background-color: #FCFDFF;padding: 40px 24px;margin-bottom: 60px;}
.post-about p {font-size: 16px;line-height: 1.5;margin-bottom: 15px;}
.post-about h2 {margin: 0;padding: 0;}
.post-about figure, .post-participation figure {width: fit-content;}
.post-about figure.banner img, .post-participation figure.banner img {box-shadow: 1px 1px 2px #aaa;}
.wp-block-image img {height: auto;}

/* event */
.event-category a {color: #fff!important; background-color: #0A1A31;font-size: 16px;font-weight: bold;padding: 15px 40px;}
.single-event h1.post-title {font-weight: normal;margin-bottom: 20px;}
.single-event h2.ttl,
.single-event .post-thumbnail {margin: 0;}
.feature {padding: 30px 24px;margin-bottom: 50px;background-color: #f4fabb;}
.feature p {font-size: 16px!important;}
ul.event-pdf-inner {display: flex;flex-wrap: wrap;justify-content: center;}
ul.event-pdf-inner li {margin: 0 10px 10px 0;width: calc((100% - 30px) / 4);}
ul.event-pdf-inner li>a>img {max-width: 100%;}
ul.event-tag {display: flex;flex-wrap: wrap;margin-bottom: 10px;}
ul.event-tag li {color:#fff;padding: 10px 15px;background-color: #a2a2a2;border-radius: 8px;margin:0 10px 10px 0;}
.fin {position: relative;min-height: 200px;}
.fin_message {top: 0;left: 0;position: absolute;background-color: red;margin: auto;bottom: 0;right: 0;width: fit-content;height: fit-content;padding: 10px 20px;}
.fin_message p {color: #fff;font-weight: bold;font-size: xx-large;text-align: center;}

/* side */
.banner-top, 
.latest-list, 
.banner-bottom {padding: 0 40px;margin: 0 0 15px;}
.banner-top.side_widget img ,
.banner-bottom.side_widget img {margin: 0 auto;display: block;}
.banner-top .list-group ,
.latest-list .list-group ,
.banner-bottom .list-group {border: none;}
.banner-top .list-group li ,
.latest-list .list-group li ,
.banner-bottom .list-group li {border-bottom: none;}
.banner-top .list-group a ,
.latest-list .list-group a ,
.banner-bottom .list-group a {padding: 0px 0px 20px;}
.banner-top .list-group a:hover ,
.latest-list .list-group a:hover ,
.banner-bottom .list-group a:hover {background: none;}
.latest-list .headline-bar {font-size: 16px;font-weight: bold; color: #000;margin: 0;background-color: #f4fabb;}
.latest-list .list-group {background-color: #fafde2;padding: 30px 10px 15px;margin-bottom: 15px;}
.latest-list .list-group a {color: #333;}
.latest-list .list-group li {background-color: #fafde2;}

@media only screen and (max-width: 1200px){
  .hbg span {display: block;}
  .global-nav-button {background-color: #062E6C!important;}
  .global-nav-button:before {color: #fff!important;}
  .top-blog-area-inner,.content05-inner,.content06-inner,.content07-inner {box-sizing: border-box;padding: 0 6.11111%;width: 100%;}
  .list-item-thumbnail img {width: 100%;height: auto;}
  .list-item {margin: 0 10px 35px 10px;width: calc((100% - 66px) / 3);}
  .c-logo img {max-width: 200px;}
}
@media only screen and (max-width: 991px) {
  .article13:nth-of-type(3n) {margin-right: 0;}
  .article13 {width: calc((100% - 20px) / 3);}
  .top-model-house .column-layout03-item:first-child {margin-right: 0;}
  .top-model-house h2 {top: 0;left: 0;display: block;text-align: center;padding: 40px;}
  .recommend-item {line-height: 1.8;margin: 0 1.74% 30px 0;width: 32.174%;}
  .recommend-item:nth-of-type(3n) {margin-right: 0;}
  .data-items {display: block;}
  .data-items dl {width: 100%;margin-right: 0px;}
  .recommend-staff .recommend-item {width: calc((100% - 30px) / 4);}
  .recommend-staff .recommend-item:nth-of-type(3n) {margin-right: 10px;}
  .recommend-staff .recommend-item:nth-of-type(4n) {margin-right: 0px;}

  .staff-item,
  .carpenter-item {width: calc((100% - 60px) / 3);}
  .staff-item:nth-of-type(4n),
  .carpenter-item:nth-of-type(4n) {margin-right: 30px;}
  .staff-item:nth-of-type(3n),
  .carpenter-item:nth-of-type(3n) {margin-right: 0;}

  .article03f {width: calc((100% - 20px) / 3);}
  .article03f:nth-of-type(4n) {margin-right: 10px;}
  .article03f:nth-of-type(3n) {margin-right: 0;}
}
@media only screen and (max-width: 767px) {
  .s_logo {width: 62vw;max-width: 330px;}
  .top-slider-wrapper {padding-bottom: 60px;}
  .top-slider-content {top: auto;bottom: 0vh;left: 50%;right: auto;margin-right: -50%;transform: translate(-50%, 0);}
  .fnav ul>li {display: none;}
  .footer-bar01 {background: #062E6C !important;}
  .article03 {background: #fff!important;}
  .article13 {background: transparent;margin-bottom: 20px;width: calc((100% - 15px) / 2);margin-right: 0;margin-bottom: 30px;}
  .article13:nth-of-type(odd) {margin-right: 15px;}
  .article13:nth-of-type(4n) {margin-right: 0;}
  .top-blog-title,.top-voice-title {margin-top: 0;padding-top: 30px;}
  .top-blog-title,.top-movies-title {margin-top: 0;padding-top: 30px;}
  .top-blog-area .top-blog.flex {display: block;}
  .article23 {background: transparent;width: 100%;margin: 0 auto 2vh;max-width: 300px;}
  .article23:nth-of-type(3n) {margin: 0 auto;}
  .article23-content {margin-top: -58px;}
  .top-model-house .column-layout03-item:nth-of-type(2n) {width: 100%;}
  .top-model-house p {margin: 0 5%;font-size: 14px;}
  .top-staff-content p {margin: 0 5%;font-size: 14px;}
  .top-model-house .column-layout03-content {display: none;}
  .top-staff .column-layout03-content {display: none;}
  .top-event-title,.top-model-title,.top-work-title,.top-voice-title,.top-movies-title,.top-begin-title,.top-staff-title,.top-blog-title,.top-about-title {font-size: 26px;}
  .top-event-title span,.top-model-title span,.top-work-title span,.top-voice-title span,.top-movies-title span,.top-begin-title span,.top-staff-title span,.top-blog-title span,.top-about-title span {font-size: 14px!important;}
  .top-event-title::before,.top-model-title::before,.top-work-title::before,.top-staff-title::before,.top-blog-title::before {top: 4px;left: -8px;}
  .top-voice-title::before,.top-movies-title::before,.top-begin-title::before,.top-about-title::before {top: 6px;left: -8px;}
  .top-work {padding: 0 2%;}
  .top-blog-area-inner, .content05-inner, .content06-inner, .content07-inner {padding-bottom: 80px;}
  .top-voice .top-blog.flex {display: block;}
  .top-voice .top-blog.flex .article03 {display: block;margin: 0 auto 2vh;width: 100%;max-width: 300px;}
  .top-voice .top-blog.flex .article03:nth-of-type(odd) {margin: 0 auto 2vh;}
  .top-movies .top-blog.flex {display: block;}
  .top-movies .top-blog.flex .article03 {display: block;margin: 0 auto 2vh;width: 100%;max-width: 300px;}
  .top-movies .top-blog.flex .article03:nth-of-type(odd) {margin: 0 auto 2vh;}
  .top-company-info .flex {display: block;}
  .top-company-info .flex .article33 {padding-left: 10px;width: 100%;box-sizing: border-box;}
  .top-company-info .flex .article33:nth-of-type(2n), .article33:nth-of-type(3n) {padding-left: 10px;}
  .top-begin {padding: 0 3%!important;}
  .top-model-house h2 {padding: 0px 20px 10px;position: absolute;top: 15px;left: 50%;margin-right: -50%;transform: translate(-50%, 0);}
  .top-begin>.content05>.flex {display: block;}
  .top-begin-item {margin: 0;width: 100%;}
  .top-begin-content {height: auto;}
  .top-begin-item > a {height: 100%;flex-direction: row;}
  .top-begin-item:nth-of-type(odd)>a>.top-begin-content {margin-bottom: 0px;font-size: 18px;}
  .top-begin-item:nth-of-type(even)>a>.top-begin-content {margin-top: 0px;font-size: 18px;}
  .top-sns {margin-bottom: 0px;}
  .top-sns .article-sns-item {width: calc(100% / 3);}
  .social-nav {display: none;}
  .top-sns section {padding: 0px 15vw 80px;}
  .footer {margin-top: 0px!important;}
  footer {background-color: #fff;}
  footer .fnav-sp {display: flex;padding: 10px 15px 0;background-color: #0A1A31;}
  footer .fnav-sp .fnav-item {margin: 0 0 10px 0;width: calc(100% / 3);border-right: 1px solid #fff;box-sizing: border-box;text-align: center;}
  footer .fnav-sp .fnav-item:nth-of-type(3n) {border-right:none;}
  footer .fnav-sp .fnav-item a {color: #fff;font-size: 13px;text-decoration: none;}
  .footer-bar01 {background-color: #0A1A31;}

  .list-item {width: calc((100% - 35px) / 2);}
  .list-item:nth-of-type(3n) {margin-right: 35px;}
  .list-item:nth-of-type(2n) {margin-right: 0;}
  .recommend-item {margin-right: 0;margin-bottom: 15px;width: 100%;}
  .gallery-img {width: auto; max-width: 100%;}
  .ttl.headline-bar {margin-bottom: 0px}
  .gallery-items a {margin: 0 10px 10px 0;width: calc((100% - 30px) / 3);}
  .gallery-items a:nth-of-type(5n) {margin-right: 10px;}
  .gallery-items a:nth-of-type(3n) {margin-right: 0px;}
  .data-items dl {height: auto;}
  .youtube {position: relative;width: 100%;padding-top: 56.25%;}
  .youtube iframe {position: absolute;top: 0;right: 0;width: 100%;height: 100%;}

  .staff-list-top {margin-bottom: 0px;}
  .staff-list-top a {width: 100%;float: none;margin-bottom: 20px;}
  .recommend-staff .recommend-item {width: calc((100% - 20px) / 3);}
  .recommend-staff .recommend-item:nth-of-type(4n) {margin-right: 10px;}
  .recommend-staff .recommend-item:nth-of-type(3n) {margin-right: 0px;}

  .single-event h2.ttl {margin: 0 0 38px 0;}
  .post-about {margin-bottom: 0;}

  .staff-item,
  .carpenter-item {margin-bottom: 20px;width: calc((100% - 10px) / 2);margin-right: 0;}
  .staff-item:nth-of-type(odd),
  .carpenter-item:nth-of-type(odd) {margin-right: 10px;}
  .staff-item:nth-of-type(4n),
  .carpenter-item:nth-of-type(4n) {margin-right: 0;}

  .article03f {background: transparent;margin-bottom: 20px;width: calc((100% - 15px) / 2);margin-right: 0;margin-bottom: 30px;}
  .article03f:nth-of-type(odd) {margin-right: 15px;}
  .article03f:nth-of-type(4n) {margin-right: 0;}
}
@media only screen and (max-width: 480px) {
  .list-items {padding: 30px 0px;margin-bottom: 30px;}
  .list-item {width: 100%;}
  .list-item {margin: 0 auto 15px;}
  .list-item:nth-of-type(3n) {margin-right: auto;}
  .list-item-thumbnail img {width: 100%;height: 270px;}
  .data-items dl dt {float: left;}
  .data-items dl dd {padding-left: 90px;}
  .recommend .headline-bar {line-height: 1;margin-bottom: 60px;}
  .recommend .headline-bar br {display: block;}
  .cat-item span {padding: 8px;font-size: 12px;}
  .head-address {font-size: 14px;}
  .brd-ttl {display: none;}
  .reform-to-toi img,.voice-to-reform img {width: 100%;}
  .recommend-staff .recommend-item {width: calc((100% - 10px) / 2);}
  .recommend-staff .recommend-item:nth-of-type(3n) {margin-right: 10px;}
  .recommend-staff .recommend-item:nth-of-type(2n) {margin-right: 0px;}
  .ttl.headline-bar {font-size: 24px;line-height: 1;text-align:center;}
}



.flex-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}

.flex {display: flex;}
.flex-auto {-webkit-box-flex: 1;}
.flex-wrap {flex-wrap: wrap;}

.post-header {
    margin: 90px auto 60px;
    text-align: center;
}

@media only screen and (max-width: 480px) {
.inner {width: 100%;}
.gallery-items a > img {width: 90%;height: 90px;}
.gallery-items {margin: 45px 0 20px;}
}




.p-index-content03 {
    margin-bottom: 120px;
}

@media only screen and (max-width: 480px) {
.p-header-slider__item--1 .p-header-content__title {
    font-size: 24px!important;
}
.inner {
    width: 90%;
}
}

/* 交差線 */
.box17{
    position: relative;
    padding: 4em;
    border-top: solid 2px #ccc;
    border-bottom: solid 2px #ccc;
}
.box17:before, .box17:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #ccc;
}
.box17:before {left: 10px;}
.box17:after {right: 10px;}
.box17 p {
    margin: 0; 
    padding: 0;
}

@media screen and (max-width: 767px) { 
	.box17 {padding: 2em;}
}


.wpcf7 form {
  margin: 0;
}

.wpcf7-spinner {display: block;}

.wpcf7 textarea {height: auto!important;}
.wpcf7 p {margin: 10px 0!important;}

@media screen and (min-width: 788px) {
	.p-header-slider__item {height: 720px;}
}

.rental_main {
    padding: 120px 0 10px;
    background: #f7f7f7;
    margin-bottom: 60px;
}

.l-contents {margin-bottom: 30px;}


/* ヘッダー社名 */
.l-header__shamei {font-size: 39px; display: inline-block; font-weight: bold;}
.l-header__desc {margin: 21px 0 0 15px; font-size: 16px !important;}

/* メインビジュアル内テキスト */
.p-header-content__title {
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",Meiryo,sans-serif;
}

.ttl_background1 {
  font-weight: bold;
  background-color: #4c9ac0;
  color: #fff;
  padding: 0.9em 1em calc(1.2em - 6px);
  position: relative;
}
.ttl_background1::after {
  content: '';
  background-color: #3c5eb1;
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: -6px;
  left: 0;
}

html {
  scroll-behavior: smooth;
}

/********** リンクボタン *********/
.s-button {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    margin-left: 10px;
    margin-top: 30px;
    color: #fff !important;
    background-color: #1f4298;
    border: solid 0px #333;
    border-radius: 10px;
    text-decoration: none;
    padding: 14px 10px 14px 26px;
    transition: 0.4s;
    position: relative;
    line-height: 1.4;
    font-size: 18px!important;
    @include sp {
      margin-top: 50px;
    }
  }

  .s-button::after {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    right: 25px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    transition: 0.4s;
  }

  .s-button:hover {
    opacity: 0.8;
  }

  .s-button:hover:after {
    right: 10px;
  }

  .s-button a {
    color: #fff !important;
  }

@media screen and (max-width: 780px) {
    .s-button {
        display: inline-block;
        width: 96%;
        padding: 10px 5px 10px 12px;
    }

    .s-button::after {
        right: 15px;
      }
}

.box_showroom{
    padding: 0.5em 1em;
    margin: 7em 0 2em;
    color: #111;
    background: white;
    border: double 4px #c0c0c0;
}
.box_showroom p {
    margin: 0; 
    padding: 0;
}


.p-index-content01__desc {
    font-size: 18px;
}

.p-entry__body {font-size: 18px!important;}
.p-entry__body p {line-height: 1.8;}
.p-entry__body li, .p-entry__body dt, .p-entry__body dd {line-height: 1.8;}

.post-type-archive-rental .p-cover__title {font-size: 40px; color: #fff;}
.single-rental .post-content article {margin-bottom: 60px;}

@media screen and (max-width: 787px) { 
    .post-type-archive-rental .p-cover__title {font-size: 18px;}
}

.fancybox-button.fancybox-button--arrow_left svg {
    display: inline-block;
}

.fancybox-button.fancybox-button--arrow_right svg {
    display: inline-block;
}

.list-item .list-item-content .list-item-title {width: 40%; line-height: 1.5;}
.list-item .list-item-content .list-item-title02 {width: 60%; line-height: 1.5;}

@media screen and (max-width: 787px) { 
.list-item .list-item-content .list-item-title {width: 40%;}
.list-item .list-item-content .list-item-title02 {width: 60%;}
}


.p-header-content__inner .p-header-content__title span {
  text-shadow: 0px 0px 10px #000000;
}

@media screen and (max-width: 787px) { 
.p-header-content__inner .p-header-content__title span {
  font-size: 30px;
  writing-mode: vertical-rl;
  text-align: left;
}
}
