@charset "utf-8";

/*
Theme Name: saka-d.com Template child
Theme URI: 
Author: saka-d.com テンプレート 子テーマ
Author URI: 
Description: saka-d.com テンプレート 子テーマ
Version: 0.1
Template: saka-d.com
*/



/*------------------------------------------------------------------------

◆目次

------------------------------------------------------------------------*/



/*------------------------------------------------------------------------
◆要素
------------------------------------------------------------------------*/



/*------------------------------------------------------------------------
◆共通
------------------------------------------------------------------------*/
.page-template-page-no-sidebar #main_wrap,
.page-template-page-no-sidebar-bottom #main_wrap,
.page-template-page-file-download #main_wrap{
	width: 100%;
}

#main_wrap ul.catch > li:before {
    top: 0.4em;
}

.mod_box .wp-block-group__inner-container > *:last-of-type{
	margin-bottom: 0 !important;
}

/* ファイルダウンロードページ　テンプレート
------------------------------------------------------------------------*/
.page-template-page-file-download #main_wrap{
	max-width: 816px;
	float: none;
	font-size: 100%;
}

.wp-block-file + h2.wp-block-heading{
	margin-top: 1em;
}

body.page-template-page-file-download .wp-block-file:not(.wp-element-button) {
    font-size: 1em;
}

body.page-template-page-file-download .wp-block-file *+.wp-block-file__button{
	display: none;
}

body.page-template-page-file-download .wp-block-file {
    margin-bottom: 0;
}

body.page-template-page-file-download .wp-block-file + h3.wp-block-heading{

}

body.page-template-page-file-download h3.wp-block-heading{
    margin-top: 1.618em;
}

body.page-template-page-file-download #main_wrap p{
	margin-bottom: 0 !important;
}

body.page-template-page-file-download #main_wrap p.show + h2.wp-block-heading{
	margin-top: 1.618em !important;
}


body.page-template-page-file-download #main_wrap p a{
	padding-left: 20px;
	position: relative;
}

body.page-template-page-file-download #main_wrap p a:before {
	font-family: "fontello";
    content: '\e828';
    font-size: 72%;
    width: auto;
    position: absolute;
    top: 0.25em;
    left: 0.5em;
}

a.file-icon-xls:before,
a.file-icon-xlsx:before{
	content: url(/wp-content/themes/saka-d.com-child/images/excel.png) !important;
}


a.file-icon-doc:before,
a.file-icon-docx:before{
	content: url(/wp-content/themes/saka-d.com-child/images/word.png) !important;
}

a.file-icon-pdf:before{
	content: url(/wp-content/themes/saka-d.com-child/images/pdf.png) !important;
}

a.file-icon-pptx:before,
a.file-icon-ppt:before{
	content: url(/wp-content/themes/saka-d.com-child/images/ppt.png) !important;
}

a.file-icon-xls:before,
a.file-icon-xlsx:before,
a.file-icon-doc:before,
a.file-icon-docx:before,
a.file-icon-pdf:before,
a.file-icon-pptx:before,
a.file-icon-ppt:before{
    top: 4px !important;
    left: 0em !important;
}



/* 目次 */
#toc_wrap {
	display: block;
    background: #f4f4f4;
    padding: 40px;
	margin-bottom: 24px;
}

#toc_title{
    margin-bottom: 0.4em;
    font-weight: bold;
}

#toc_wrap ul{
	margin-bottom: 0 !important;
}



/* 表示・非表示 */
.page-template-page-file-download #content h2 {
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #ccc;
    padding: 8px 16px;
	position: relative;
}

.page-template-page-file-download #content h2:hover{
	background: #f4f4f4;
}

.page-template-page-file-download #content h2::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
	border: none;
    border-top: 2px solid #333;
    transform: translateX(-50%);
    position: absolute;
	top: 16px;
	right: 28px;
    transform: rotate(90deg);
    transition: all 300ms;
}

.page-template-page-file-download #content h2::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
	border: none;
    border-top: 2px solid #333;
    transform: translateX(-50%);
    position: absolute;
	top: 22px;
	right: 16px;
    transition: all 150ms;
    opacity: 1;
}

.page-template-page-file-download #content h2.show::before {
    transform: rotate(180deg);
	top: 10px;
	right: 22px;
}

.page-template-page-file-download #content h2.show::after {
    top: 22px;
    right: 33px;
    transform: rotate(90deg);
    opacity: 0;
}

.page-template-page-file-download #content h3,
.page-template-page-file-download #content p,
.page-template-page-file-download #content > div.wp-block-file{
	display: none;
}

.page-template-page-file-download #content h3.show,
.page-template-page-file-download #content p.show,
.page-template-page-file-download #content > div.wp-block-file.show{
	display: block;
}

.page-template-page-file-download #content > div.wp-block-file > a{
    position: relative;
    padding-left: 20px;
}

.page-template-page-file-download #content > div.wp-block-file > a:before{
    position: absolute;
    top: 0px !important;
}



/*------------------------------------------------------------------------
◆顧問先様専用ページ
------------------------------------------------------------------------*/
body.page-client #main_wrap h1{
	display: none;
}

body.page-client #main_wrap {
    max-width: 1200px;
}

/* お知らせ */
body.page-client h2.news{
    margin-bottom: 0px !important;
}

body.page-client .wrap {
	display: flex;
    gap: 16px;
}

body.page-client .news-client a{
	display: block;
	padding: 12px 0;
	text-decoration: none;
	color: #333;
    border-bottom: 1px dotted #ccc;
}

body.page-client .news-client a:hover{
	background: #f4f4f4;
}

body.page-client span.time {
    display: inline-block;
    width: 6em;
}

body.page-client ul.categories,
body.page-client span.excerpt{
	display: none;
}

body.page-client .pagination {
	display: none;
}


/* 各種書式ダウンロード */
.wp-block-media-text{
    background: #fff2cc;
    padding: 24px;
	background-size: 132px;
    background-position: 92% center;
}

.wp-block-media-text .banner_button{
    margin-bottom: 0 !important;
}

.wp-block-media-text .banner_button a {
    display: inline-block;
    border-radius: 24px;
    box-shadow: none;
    min-width: 256px;
    max-width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    font-size: 100%;
    line-height: 140%;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background: #f39800;
	cursor: pointer;
}

.wp-block-media-text .banner_button a:hover{
	opacity: 0.8;
}

.wp-block-media-text figure{
    margin-right: 24px !important;
    text-align: right;
}

.wp-block-media-text.academy figure {
    margin-right: 16px !important;
    text-align: right;
}

.wp-block-media-text figure img{
    min-width: 0px;
    width: 200px !important;
}



/* 事務所通信 */
body.page-client #office_commu_list{
/*
	display: flex;
    flex-wrap: wrap;
    gap: 24px 12px;
*/
    text-align: center;
}

body.page-client #office_commu_list li{
    float: left;
    margin-left: 16px;
    margin-bottom: 16px;
}

body.page-client #office_commu_list li:first-child{
    margin-left: 0;
}

body.page-client #office_commu_list a,
body.page-client #office_commu_list span.noimage{
    display: flex;
    flex-direction: column;
}

body.page-client #office_commu_list img:not(.noimage img){
	width: 160px;
	aspect-ratio: 595/842;
    border: 1px solid #ccc
}

body.page-client #office_commu_list li:first-child img{
	width: 320px;
}

/* リンクアカデミー */
body.page-client ul#academy_movie {
    display: flex;
}

body.page-client ul#academy_movie li{
	width: calc(100% / 3);
	margin-left: 4%;
}

body.page-client ul#academy_movie li:first-child{
	margin-left: 0;
}



/* ブログ */
body.page-client .wrap {
	display: flex;
    gap: 16px;
}

body.page-client h2.blog + p{
    margin-bottom: 16px !important;
}

body.page-client .blog a{
	display: flex;
    gap: 16px;
    align-items: center;
	padding: 12px 0;
	text-decoration: none;
	color: #333;
    border-bottom: 1px dotted #ccc;
}

body.page-client .blog li:first-child a{
    border-top: 1px dotted #ccc;
}

body.page-client .blog .thumb{
    width: 120px !important;
    height: 80px !important;
    object-fit: cover;
    border: 1px solid #ccc;
    overflow: hidden;
}

body.page-client .blog .thumb img{
    object-fit: contain;
}

body.page-client .blog a:hover{
	background: #f4f4f4;
}

body.page-client .blog span.time {
    display: inline-block;
}

body.page-client .blog ul.categories,
body.page-client .blog span.excerpt{
	display: none;
}




/*------------------------------------------------------------------------
◆リンクアカデミー
------------------------------------------------------------------------*/
body.page-link-academy iframe{
	width: 100%;
}


/*------------------------------------------------------------------------
◆各種書式ダウンロード
------------------------------------------------------------------------*/



/*------------------------------------------------------------------------
◆リンク郎ブログ　カテゴリー
------------------------------------------------------------------------*/
body.category-blog{
	background: #ede4db url(/wp-content/themes/saka-d.com-child/images/blog_background.png) no-repeat !important;
	background-position: center 120px !important;
}

body.category-blog #header_container{
    background: #fff;
}

body.category-blog #contents_container,
body.category-blog #mainimage{
	background: none;
}

body.category-blog #mainimage{
    display: flex;
    height: 342px;
}

body.category-blog #mainimage .section_wrap {
    justify-content: space-between;
    padding: 0 4%;
}

body.category-blog #mainimage h1 {
    font-size: 200%;
	font-family: 'IBM Plex Sans JP', sans-serif;
}

body.category-blog #mainimage h1 p{
	color: #0c2d26;
}

#charactor_fukidasi_wrap {
    display: flex;
    gap: 16px;
}

#fukidasi{
    display: grid;
    align-items: center;
    justify-content: center;
	width: 503px;
	height: 276px;
    padding: 56px;
	background: url(/wp-content/themes/saka-d.com-child/images/fukidasi.png) no-repeat !important;
    font-size: 112%;
	font-family: 'IBM Plex Sans JP', sans-serif;
}

#fukidasi > *{
	position: relative;
    left: 6px;
}

#fukidasi strong{
	display: inline-block;
    margin-left: 4px;
	color: #fbc93b;
    font-size: 120%;
	text-shadow:
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f
	;
}

#charactor_fukidasi_wrap img{
    object-fit: contain;
}

#charactor_wrap{
    display: flex;
	position: relative;
}

#charactor_wrap:after{
    content: "リンク郎";
    display: block;
    text-align: right;
    font-size: 80%;
    position: absolute;
    bottom: 6px;
    right: 28px;
}

body.category-blog #contents_wrap {
	padding: 40px;
	background: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

body.category-blog #contents_wrap .breadcrumbs {
    padding: 0;
    margin-bottom: 32px !important;
}

body.category.archive.category-blog #main_wrap h2 {
    padding: 8px !important;
    margin-bottom: 0 !important;
    border-radius: 8px;
    background: #0c2d26 !important;
    color: #fff;
    font-size: 112%;
	border: none;
}

body.category-blog #main_wrap h2:after{
    display: none;
}



body.category-blog #sub_wrap{
    margin-top: 54px;
}

body.category-blog #sub_wrap h2{
    padding: 8px !important;
    margin-bottom: 0 !important;
    border-radius: 8px;
    background: #0c2d26 !important;
    color: #fff;
    font-size: 112%;
	border: none;
}



body.category.archive.category-blog #main_wrap .section_wrap > ul {
    margin-top: 16px;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}

body.category.archive.category-blog #main_wrap li:first-child a.box {
    border-top: none;
}


body.category.archive.category-blog #main_wrap .category_description{
	padding: 32px 0 0;
}

body.category.archive.category-blog #main_wrap .category_description *:last-child{
	margin-bottom: 0;
}

body.category.archive.category-blog #main_wrap a{
	text-decoration:none;
}

body.category.archive.category-blog #main_wrap .section_wrap > ul{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

body.category.archive.category-blog #main_wrap .section_wrap > ul li {
    width: calc((100% / 3) - ((16px * 2) / 3))
}

body.category.archive.category-blog #main_wrap .section_wrap > ul li:nth-child(1),
body.category.archive.category-blog #main_wrap .section_wrap > ul li:nth-child(2){
    width: calc(50% - 8px);
}

body.category.archive.category-blog #main_wrap a.box{
	display: block;
	clear: both;
	overflow: hidden;
	color: #333;
	background: #FFFFFF;
	border: none;
}

body.category.archive.category-blog #main_wrap li:first-child a.box{
}

body.category.archive.category-blog #main_wrap a.box h1 {
	clear: none !important;
	padding: 0 !important;
	margin-bottom: 0.4em !important;
    font-size: 104% !important;
	font-weight: bold !important;
}

body.category.archive.category-blog #main_wrap .section_wrap > ul li:nth-child(1) a.box h1,
body.category.archive.category-blog #main_wrap .section_wrap > ul li:nth-child(2) a.box h1{
	font-size: 128% !important;
}

body.category.archive.category-blog #main_wrap a:hover.box{
	opacity: 0.8;
}

body.category.archive.category-blog #main_wrap a.box .img_wrap {
    float: none;
    margin: 16px 0;
    padding: 0;
    line-height: 0;
    width: 100%;
    background: #f4f4f4;
}

body.category.archive.category-blog #main_wrap a.box .img_wrap img{
	width: 100% !important;
    /* height: 295px; */
	margin: 0 !important;
    aspect-ratio: 80/59;
    object-fit: cover;
}

body.category.archive.category-blog #main_wrap a.box .img_wrap.icon img{
	padding: 40px;
	background: #f4f4f4;
	box-sizing: border-box;
}

body.category.archive.category-blog #main_wrap a.box .info_wrap {
	padding: 0;
}

body.category.archive.category-blog #main_wrap a.box *{
	overflow: hidden;
}

body.category.archive.category-blog #main_wrap a.box p{
	margin-bottom: 0 !important;
}

body.category.archive.category-blog #main_wrap a.box .status{
	margin-bottom: 0.8em !important;
	font-size: 88%;
}

body.category.archive.category-blog #main_wrap .status .tag {
	display: none;
}

body.category.archive.category-blog #main_wrap .status .newmark {
	margin-left: 8px;
}

body.category.archive.category-blog #main_wrap a.box .excerpt{
	display: none;
	font-size: 88%;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

body.category.archive.category-blog #main_wrap a.box li.place{
	margin-top: 0.4em;
}

body.category.archive.category-blog #main_wrap h2{

}

body.category.archive.category-blog #main_wrap .noevent{
	padding: 1em !important;
	background: #FFFFFF;
	-moz-box-shadow: 0px 0px 2px 0 #aaabac;
	-webkit-box-shadow: 0px 0px 2px 0 #aaabac;
	box-shadow: 0px 0px 2px 0 #aaabac;
}

body.category.archive.category-blog #main_wrap .noevent p{
	margin-bottom:0 !important;
}




/*------------------------------------------------------------------------
◆ブログ記事
------------------------------------------------------------------------*/
body.single-blog{
	background: #ede4db url(/wp-content/themes/saka-d.com-child/images/blog_background.png) no-repeat !important;
	background-position: center 120px !important;
}

body.single-blog #header_container{
    background: #fff;
}

body.single-blog #contents_container,
body.single-blog #mainimage{
	background: none;
}

body.single-blog #mainimage{
    display: flex;
    height: 342px;
}

body.single-blog #mainimage .section_wrap {
    justify-content: space-between;
    padding: 0 4%;
}

body.single-blog #mainimage h1 {
    font-size: 200%;
	font-family: 'IBM Plex Sans JP', sans-serif;
}

body.single-blog #mainimage h1 p{
	color: #0c2d26;
}

#charactor_fukidasi_wrap {
    display: flex;
    gap: 16px;
}

#fukidasi{
    display: grid;
    align-items: center;
    justify-content: center;
	width: 503px;
	height: 276px;
    padding: 56px;
	background: url(/wp-content/themes/saka-d.com-child/images/fukidasi.png) no-repeat !important;
    font-size: 112%;
	font-family: 'IBM Plex Sans JP', sans-serif;
}

#fukidasi > *{
	position: relative;
    left: 6px;
}

#fukidasi strong{
	display: inline-block;
    margin-left: 4px;
	color: #fbc93b;
    font-size: 120%;
	text-shadow:
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f,
		0 0 3px #40210f
	;
}

#charactor_fukidasi_wrap img{
    object-fit: contain;
}

#charactor_wrap{
    display: flex;
	position: relative;
}

#charactor_wrap:after{
    content: "リンク郎";
    display: block;
    text-align: right;
    font-size: 80%;
    position: absolute;
    bottom: 6px;
    right: 28px;
}

body.single-blog #contents_wrap {
	padding: 40px;
	background: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

body.single-blog #contents_wrap .breadcrumbs {
    padding: 0;
    margin-bottom: 32px !important;
}

body.category.archive.category-blog #main_wrap h2 {
    padding: 8px !important;
    margin-bottom: 0 !important;
    border-radius: 8px;
    background: #0c2d26 !important;
    color: #fff;
    font-size: 112%;
	border: none;
}

body.single-blog #main_wrap h2:after{
    display: none;
}



body.single-blog #sub_wrap{
    margin-top: 54px;
}

body.single-blog #sub_wrap h2{
    padding: 8px !important;
    margin-bottom: 0 !important;
    border-radius: 8px;
    background: #0c2d26 !important;
    color: #fff;
    font-size: 112%;
	border: none;
}


/*------------------------------------------------------------------------
◆ヘッダー
------------------------------------------------------------------------*/
#header_right .tel .tel_desc_top {
    display: block;
    font-size: 76%;
    line-height: 1;
    color: #333;
    margin-bottom: 4px;
}

#header_right .tel_num {
    margin: 8px 0;
    position: relative;
}

#header_right .tel_num.icon-phone:before {
    display: block;
    left: -24px;
    top: 1px;
    transform: rotate(16deg);
}

#header_right .tel + .contact{
    border-left: none;
}

#header_right .contact{
    padding-left: 0;
}

#header_right .contact a{
    display: block;
    padding: 16px 24px;
    line-height: 1;
    background: #2e5293;
}

#header_container #header_right .contact .contact_text,
#header_container #header_right .contact .contact_desc_bottom{
	color: #fff;
}

#header_container #header_right .contact .contact_text{
    font-size: 100%;
    margin-bottom: 8px;
    line-height: 1;
}

.icon-mail-alt:before {
	color: #fff;
}




/*------------------------------------------------------------------------
◆gnav
------------------------------------------------------------------------*/
#nav_wrap {
    margin-bottom: 8px;
}

#nav_wrap ul li a span {
    font-weight: bold;
}

#nav_wrap ul li.current-menu-item > a,
#nav_wrap ul li.current-menu-ancestor > a,
#nav_wrap ul li.current-post-ancestor > a,
#nav_wrap ul li.current-page-ancestor > a,
#nav_wrap ul li a:hover{
	background: none;
	color: #000000;
}

/* 現在の場所 */
#nav_wrap ul li.current-menu-item > a,
#nav_wrap ul li.current-menu-ancestor > a,
#nav_wrap ul li.current-post-ancestor > a,
#nav_wrap ul li.current-page-ancestor > a{
	background: none;
	color: #000000;
}

#nav_wrap ul#gnav > li.current-menu-item > a:after,
#nav_wrap ul#gnav > li.current-menu-ancestor > a:after,
#nav_wrap ul#gnav > li.current-post-ancestor > a:after,
#nav_wrap ul#gnav > li.current-page-ancestor > a:after,
#nav_wrap ul#gnav > li > a:hover:after{
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #2e5293;
    position: absolute;
    bottom: 0;
    left: 0;
}

#nav_wrap ul#gnav > li.current-menu-item > a span,
#nav_wrap ul#gnav > li.current-menu-ancestor > a span,
#nav_wrap ul#gnav > li.current-post-ancestor > a span,
#nav_wrap ul#gnav > li.current-page-ancestor > a span,
#nav_wrap ul#gnav > li.current-page-ancestor > a span{
	color: #2e5293;
}

#nav_wrap ul li a:hover span {
	color: #2e5293;
}

#nav_wrap ul#gnav {
    border-left: none;
}

#nav_wrap ul li a {
    padding-top: 12px;
    padding-bottom: 12px;
}

#nav_wrap ul li a {
    border-right: none;
}

#nav_wrap ul#gnav > li {
    position: relative;
}

#nav_wrap ul#gnav > li:first-child:before {
    content: "";
    display: block;
    width: 1px;
    height: 28px;
    background: #ccc;
    position: absolute;
    bottom: calc(50% - 12px);
    left: 0;
    z-index: 1;
}


#nav_wrap ul#gnav > li:after {
    content: "";
    display: block;
    width: 1px;
    height: 28px;
    background: #ccc;
    position: absolute;
    bottom: calc(50% - 12px);
    right: 0;
	z-index: 1;
}


/*------------------------------------------------------------------------
◆keyvisual_wrap
------------------------------------------------------------------------*/
.keyvisual_wrap.text .maincopy {
    text-shadow: 0 0 4px #000;
}

.keyvisual_wrap.text .subcopy {
    margin-top: 32px;
    line-height: 1.8;
    text-shadow: 0 0 8px #000;
}

ul#feature_item{
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

ul#feature_item li{
    width: 286px;
    position: relative;
}

ul#feature_item li a{
    display: block;
    width: 100%;
    padding: 8px;
    font-size: 64%;
    position: relative;
	color: #fff;
    text-decoration: none;
}

ul#feature_item li a:before{
	content: "";
    display: block;
	height: calc(100% - 10px);
    width: calc(100% - 10px);
    border: 1px solid rgb(255 255 255 / 40%);
    position: absolute;
    left: 4px;
    top: 4px;
}

ul#feature_item li:nth-child(1) a{
	background: #345694;
}

ul#feature_item li:nth-child(2) a{
	background: #286c9c;
}

#keyvisual_container{
    visibility: hidden;
	opacity: 0;
    transition: all 0.8s ease;
}

#keyvisual_container.in{
    visibility: visible;
	opacity: 1;
}

#keyvisual_container .keyvisual_wrap.text .button {
    margin-top: 32px;
}

#keyvisual_container .keyvisual_wrap.text .button a{
    box-shadow: none;
    position: relative;
}

#keyvisual_container .keyvisual_wrap.text .button a:after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #345694;
    border-right: solid 2px #345694;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 4px);
    right: 24px;
    margin-top: 0px;
}

#keyvisual_container .video_wrap{
	width: 100%;
	opacity: 1;
	position: absolute;
	z-index: 1111;
    transition: all 0.8s ease;
}

#keyvisual_container .video_wrap video{
	max-width: 100%;
	width: 100%;
	object-fit: cover;
	height: 760px;
}

#keyvisual_container .video_wrap.out{
	opacity: 0;
}

#keyvisual_container .video_wrap.out.hide{
	display: none;
}



/*------------------------------------------------------------------------
◆slick
------------------------------------------------------------------------*/
#keyvisual_container .slick-dots {
    bottom: 26px;
	z-index: 1001;
}

#keyvisual_container .slick-dots li button:before {
    color: #fff;
	opacity: 0.8;
}

#keyvisual_container .slick-dots li.slick-active button:before {
    color: #345694;
}

/*------------------------------------------------------------------------
◆home
------------------------------------------------------------------------*/
.home #contents_wrap {
    padding: 0;
}

.home #main_wrap section {
    position: relative;
}

.home #main_wrap h2{
    font-size: 200%;
}

.home #main_wrap header{
    margin-bottom: 56px;
}

.home #main_wrap header h2{
    padding-bottom: 0px;
    margin-bottom: 16px;
}

.home #main_wrap header h2 span {
    font-weight: bold;
    color: #345694;
}

.home #main_wrap header .desc{
    text-align: center;
}

#restoration_wrap,
#one_stop_service_wrap{
    display: flex;
    justify-content: space-between;
}

#restoration_wrap {
    margin-bottom: 160px;
}

#one_stop_service_wrap {
    margin-bottom: 120px;
}

div#one_stop_service_wrap {
    flex-direction: row-reverse;
}

#restoration_wrap .h_wrap{
    width: 375px;
}

#restoration_wrap h3,
#one_stop_service_wrap h3{
    padding: 32px 40px;
    font-size: 176%;
}

#restoration_wrap h3{
	border-left: 1px solid #345694;
    color: #345694;
}

#one_stop_service_wrap h3{
	border-right: 1px solid #226ca2;
    color: #226ca2;
    text-align: right;
}

#restoration_wrap h3 a,
#one_stop_service_wrap h3 a{
    text-decoration: none;
}

#restoration_wrap h3 a:hover,
#one_stop_service_wrap h3 a:hover,
#restoration_wrap a:hover *,
#one_stop_service_wrap a:hover *{
	opacity: 0.8;
}

#restoration_wrap a:hover img ,
#one_stop_service_wrap a:hover img{
	opacity: 1;
}

#restoration_wrap h3 span,
#one_stop_service_wrap h3 span{
    display: block;
    font-size: 64%;
    color: #a5a5a5;
    font-weight: normal;
}

#restoration_wrap .img_wrap img,
#one_stop_service_wrap .img_wrap img{
	position: relative;
    z-index: 1;
}

#restoration_wrap .img_wrap:after,
#one_stop_service_wrap .img_wrap:after{
	content: "";
    width: calc(50% + (600px - (1200px - 825px)) - 40px);
    height: 272px;
    position: absolute;
    margin-top: 40px;
    transition: all 0.8s ease;
}

#restoration_wrap .img_wrap:after{
    background: #345694;
    right: -1200px;
}

#one_stop_service_wrap .img_wrap:after{
    background: #226ca2;
    left: -1200px;
}



/* animation active */
#restoration_wrap .h_wrap,
#restoration_wrap .img_wrap img{
	opacity: 0;
    transition: all 1.3s ease;
}

#restoration_wrap.active .h_wrap,
#restoration_wrap.active .img_wrap img{
	opacity: 1;
}

#restoration_wrap.active .img_wrap:after{
    right: 0;
}

#one_stop_service_wrap .h_wrap,
#one_stop_service_wrap .img_wrap img{
	opacity: 0;
    transition: all 1.3s ease;
}

#one_stop_service_wrap.active .h_wrap,
#one_stop_service_wrap.active .img_wrap img{
	opacity: 1;
}

#one_stop_service_wrap.active .img_wrap:after{
    left: 0;
}



#service .detail_btn{
	margin: 0 auto;
	text-align: center;
}

#service .detail_btn a{
    display: inline-block;
    padding: 12px;
    width: 344px;
    max-width: 92%;
    border: 1px solid #ccc;
    text-align: center;
    text-decoration: none;
    color: #333333;
    font-size: 88%;
    font-weight: bold;
    position: relative;
}

#service .detail_btn a:after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #345694;
    border-right: solid 2px #345694;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 4px);
    right: 24px;
    margin-top: 0px;
}


.home #contents_wrap section#work {
    background: #e8eff9;
}

.home #contents_wrap section#work > #work_carousel{
    max-width: 100%;
}

#work .detail_btn{
	margin: 0 auto;
	text-align: center;
}

#work .detail_btn a{
    display: inline-block;
    padding: 12px;
    width: 344px;
    max-width: 92%;
    margin-top: 72px;
    border: 1px solid #ccc;
    background: #fff;
    text-align: center;
    text-decoration: none;
    color: #333333;
    font-size: 88%;
    font-weight: bold;
    position: relative;
}

#work .detail_btn a:after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #345694;
    border-right: solid 2px #345694;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 4px);
    right: 24px;
    margin-top: 0px;
}


.home #contents_wrap section#news > *{
    max-width: 800px;
}

.home #main_wrap h2 span{
    font-weight: bold;
    color: #345694;
}

#news .detail_btn{
	margin: 0 auto;
	text-align: center;
}

#news .detail_btn a{
    display: inline-block;
    padding: 12px;
    width: 344px;
    max-width: 92%;
    margin-top: 72px;
    border: 1px solid #ccc;
    background: #fff;
    text-align: center;
    text-decoration: none;
    color: #333333;
    font-size: 88%;
    font-weight: bold;
    position: relative;
}

#news .detail_btn a:after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #345694;
    border-right: solid 2px #345694;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 4px);
    right: 24px;
    margin-top: 0px;
}


.home #contents_wrap section#banner{
	background: url(/wp-content/uploads/2022/11/banner_back.jpg) no-repeat;
	background-size: cover;
}

.home #contents_wrap section#banner ul {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.home #contents_wrap section#banner ul li{
    width: 400px;
    height: 160px;
}

.home #contents_wrap section#banner ul li a{
	display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 144%;
	text-decoration: none;
}

.home #contents_wrap section#banner ul li a:hover{
	opacity: 0.8;
}

.home #contents_wrap section#banner ul li.recruit{
	background: url(/wp-content/uploads/2022/11/banner_recruit.jpg) no-repeat center center;
	background-size: cover;
}

.home #contents_wrap section#banner ul li.partner{
	background: url(/wp-content/uploads/2022/11/banner_partner.jpg) no-repeat center center;
	background-size: cover;
}





/*------------------------------------------------------------------------
◆サービス
------------------------------------------------------------------------*/
body.page-service ul.service_list {
	display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-between;
}

body.page-service ul.service_list li {
    border: 2px solid #286c9c;
    padding: 24px;
    width: calc(25% - 4px);
    text-align: center;
    font-weight: bold;
}

body.page-service .solution {
    background: #286c9c;
    padding: 24px;
    margin-top: 40px;
    text-align: center;
    position: relative;
}

body.page-service .solution:before {
    content: "";
    position: absolute;
    display: block;
    text-align: left;
    top: -28px;
    left: -webkit-calc(50% - 40px);
    left: calc(50% - 40px);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 40px 0 40px;
    border-color: #2e5293;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

body.page-service .solution strong{
    color: #fff !important;
}

body.page-service h3.point{
    margin-top: 40px;
}

body.page-service h3.point:before{
	content: "選ばれるポイント";
    padding: 8px 16px;
    margin-right: 16px;
    background: #2e5293;
    color: #fff;
    font-weight: bold;
    font-size: 80%;
}

body.page-service h3.point1:before{
	content: "選ばれるポイント１";
}

body.page-service h3.point2:before{
	content: "選ばれるポイント２";
}

body.page-service h3.point3:before{
	content: "選ばれるポイント３";
}


body.page-service ul.restoration_list{
	display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-between;
}

body.page-service ul.restoration_list li {
    border: 2px solid #286c9c;
    padding: 24px;
    min-width: calc(50% - 3px);
    text-align: center;
    font-weight: bold;
}

.flow{
    margin-bottom: 40px;
}

.flow .is-layout-constrained.wp-block-group{
    padding: 24px;
    margin-top: 40px;
    text-align: center;
    border: 2px solid #ccc;
    position: relative;
}

.flow .is-layout-constrained.wp-block-group:first-child{
    margin-top: 0px;
}

.flow .is-layout-constrained.wp-block-group:not(:first-child):before{
    content: "";
    position: absolute;
    display: block;
    text-align: left;
    top: -28px;
    left: -webkit-calc(50% - 40px);
    left: calc(50% - 40px);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 40px 0 40px;
    border-color: #2e5293;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

.flow .is-layout-constrained.wp-block-group p{
	margin-bottom: 0 !important;
}


/* 施工事例 */
body.page-work.page-template-page-no-sidebar #main_wrap,
body.page-work.page-template-page-no-sidebar-bottom #main_wrap{
    max-width: 1200px;
}

body.page-work #main_wrap {
    width: 100%;
}

body.page-work #main_wrap h2 {
    font-size: 132%;
    font-weight: bold;
    line-height: 140%;
    margin-bottom: 40px;
}

body.page-work .is-layout-flex {
    gap: 104px;
}

body.page-work .is-layout-flow.wp-block-column:nth-child(2){
    position: relative;
}

body.page-work .is-layout-flow.wp-block-column:nth-child(2):before {
    content: "";
    position: absolute;
    display: block;
    text-align: left;
	top: calc(50% - 40px);
    left: -64px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 40px 0 40px 32px;
	border-color: transparent transparent transparent #2e5293;
}

.wp-block-table td, .wp-block-table th {
    border: 1px solid #E6E6E6;
    padding: 16px;
}

#footer_container .company_name{
    font-weight: bold;
    font-size: 112%;
}

/*------------------------------------------------------------------------
◆コンテンツ下問い合わせ
------------------------------------------------------------------------*/
#main_wrap #widget_contact a.tel_wrap .tel{
    display: inline-block;
    font-size: 136%;
    position: relative;
}

#main_wrap #widget_contact a.tel_wrap .tel_desc_top {
    margin-bottom: 4px;
}

#main_wrap #widget_contact a.tel_wrap .tel:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 0.2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: 0.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    content: '\e805';
    display: block;
    width: 10%;
    font-size: 88%;
    position: absolute;
    top: 1px;
    left: -24px;
    bottom: 6px;
    transform: rotate(16deg);

}

#main_wrap #widget_contact a.tel_wrap .tel_desc_bottom {
    margin-top: 0px;
}

#main_wrap #widget_contact a.mail_wrap .contact {
    padding: 0;
    min-height: 0;
    line-height: 1;
}

#main_wrap #widget_contact a.mail_wrap .contact_desc_top {
    margin-bottom: 4px;
}

#main_wrap #widget_contact a.mail_wrap .icon-mail-alt:before {
    content: '\e807';
    color: #2e5293;
}


/*------------------------------------------------------------------------
◆サイド
------------------------------------------------------------------------*/
#sub_wrap .sidebar_bottom_widget li:first-child {
    margin-top: 8px;
    border-top: none;
}

#sub_wrap .sidebar_bottom_widget li {
    padding: 0;
    margin-bottom: 8px;
    border-bottom: none;
    overflow: visible !important;
    line-height: 140%;
}


/*------------------------------------------------------------------------
◆WordPress polular post
------------------------------------------------------------------------*/
.wpp-list li {
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    line-height: 140%;
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
}

.wpp-list li:first-child{
    border-top: none;
}

.wpp-thumbnail {
    display: inline;
    float: left;
    margin: 0;
    border: none;
}

/*------------------------------------------------------------------------
◆WordPress login
------------------------------------------------------------------------*/
#main_wrap form#loginform input[type="text"],
#main_wrap form#loginform input[type="password"]{
    display: block;
}

#main_wrap form#loginform p.login-username,
#main_wrap form#loginform p.login-password{
    margin-bottom: 12px;
}

#main_wrap form#loginform p.login-submit{
    display: inline-block;
}

#main_wrap form#loginform p.login-submit input#wp-submit {
    display: inline-block;
}

/*------------------------------------------------------------------------
◆ログイン
------------------------------------------------------------------------*/
body.page-client_login #main_wrap form#loginform p.login-username {
    display: none;
}


/*------------------------------------------------------------------------
◆レスポンシブ
------------------------------------------------------------------------*/
@media screen and (min-width: 961px) and (max-width: 1296px){

	/* ホーム */
	#restoration_wrap h3, #one_stop_service_wrap h3 {
	    font-size: 176%;
	}

	#restoration_wrap .h_wrap {
	    width: 488px;
	}

	#one_stop_service_wrap.active .h_wrap{
	    width: 488px;
	}

	#restoration_wrap .img_wrap,
	#one_stop_service_wrap .img_wrap{
    	position: relative;
	}

	#restoration_wrap .img_wrap:after,
	#one_stop_service_wrap .img_wrap:after {
	    width: 100%;
	    height: 100%;
    	margin-top: 16px;
	}

	#restoration_wrap.active .img_wrap:after {
	    right: -8%;
	}

	#one_stop_service_wrap.active .img_wrap:after {
	    left: -8%;
	}


	.home #main_wrap > section#work > #work_carousel{
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}

}

@media screen and (min-width: 961px) and (max-width: 1072px){

	#restoration_wrap h3, #one_stop_service_wrap h3 {
	    font-size: 164%;
	}

}

@media screen and (max-width: 1023px){ /*レスポンシブナビ*/

	#nav_wrap ul#gnav > li:first-child:before {
		display: none;
	}

	#nav_wrap ul#gnav > li:after {
		display: none;
	}

	#nav_wrap ul#gnav > li.current-menu-item > a:after,
	#nav_wrap ul#gnav > li.current-menu-ancestor > a:after,
	#nav_wrap ul#gnav > li.current-post-ancestor > a:after,
	#nav_wrap ul#gnav > li.current-page-ancestor > a:after,
	#nav_wrap ul#gnav > li > a:hover:after {
		display: none;
	}


}

@media screen and (min-width: 1024px) and (max-width: 1088px){

}

@media screen and (min-width: 769px) and (max-width: 1023px){


}

@media screen and (min-width: 961px) and (max-width: 1024px){

	/* 共通 */
	#footer_container_middle{
	    padding-top: 16px;
	}

	#footer_middle_menu {
	    padding: 0 4%;
	}

	/* 施工事例 */
	body.page-work .is-layout-flow.wp-block-column:nth-child(2):before {
	    border-width: 32px 0 32px 16px;
    	left: -46px;
	}

	body.page-work .is-layout-flex {
	    gap: 80px;
	}

}

@media screen and (min-width: 817px) and (max-width: 881.27px){

	body.page-template-page-no-sidebar #main_wrap,
	body.page-template-page-no-sidebar-bottom #main_wrap{
	    max-width: 100%;
	    width: 100%;
	}

}

@media screen and (min-width: 782px) and (max-width: 960px){

	/* 施工事例 */
	body.page-work .is-layout-flow.wp-block-column:nth-child(2):before {
	    border-width: 32px 0 32px 16px;
    	left: -46px;
	}

	body.page-work .is-layout-flex {
	    gap: 80px;
	}
}

@media screen and (min-width: 721px) and (max-width: 960px){

	#restoration_wrap h3, #one_stop_service_wrap h3 {
	    padding: 24px 32px;
	    font-size: 176%;
	}

	#restoration_wrap .h_wrap {
	    width: 488px;
	}

	#one_stop_service_wrap.active .h_wrap{
	    width: 488px;
	}

	#restoration_wrap .img_wrap,
	#one_stop_service_wrap .img_wrap{
    	position: relative;
	}

	#restoration_wrap .img_wrap:after,
	#one_stop_service_wrap .img_wrap:after {
	    width: 100%;
	    height: 100%;
    	margin-top: 16px;
	}

	#restoration_wrap.active .img_wrap:after {
	    right: -4%;
	}

	#one_stop_service_wrap.active .img_wrap:after {
	    left: -4%;
	}

}


@media screen and (min-width: 521px) and (max-width: 960px){

	/* 共通 */
	#footer_container_middle{
	    padding-top: 16px;
	}

	#footer_middle_menu {
	    padding: 0 4%;
	}




	/* ホーム */
	ul#feature_item {
	    gap: 8px 24px;
	}

	#keyvisual_container .keyvisual_wrap.text .button {
		max-width: 286px;
    	margin-top: 16px;
	}

	#keyvisual_container .tb .keyvisual_wrap.text .button a {
	    max-width: 286px;
	}

	#keyvisual_container .video_wrap video{
    	height: 560px;
	}

	.home #main_wrap > section#work > #work_carousel{
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}



	/* サービス */
	body.page-service ul.service_list li {
		padding: 16px 8px;
	    min-width: 0;
	    width: calc(50% - 4px);
	    line-height: 1.4;
	}

	body.page-service #main_wrap h3.point{
	    font-size: 116%;
	    display: flex;
	    flex-direction: column;
	}

	body.page-service h3.point:before {
	    margin-right: 0;
    	width: 9em;
	    margin-bottom: 16px;
	}

	body.page-service ul.restoration_list li {
	    padding: 16px 8px;
	    min-width: 0;
	    width: 100%;
	}

	body.page-service #main_wrap .flow p{
		line-height: 1.6;
	}

	body.page-service #main_wrap .flow strong{
		font-size: 108%;
	    margin-bottom: 4px;
	    display: block;
	}

	/* 会社案内 */
	body.page-company iframe {
	    height: 300px;
		width: 100%;
	}
}





@media screen and (min-width: 521px) and (max-width: 781px){

	/* 施工事例 */
	body.page-work #main_wrap h2 {
	    margin-bottom: 16px;
	}

	body.page-work .is-layout-flow.wp-block-column:nth-child(2):before {
	    top: -32px;
	    left: calc(50% - 32px);
	    border-width: 16px 32px 0 32px;
		border-color: #2e5293 transparent transparent transparent;
	}

	body.page-work .is-layout-flex {
	    gap: 40px;
	}
}

@media screen and (min-width: 521px) and (max-width: 720px){

	#restoration_wrap,
	#one_stop_service_wrap {
	    flex-wrap: wrap-reverse;
		gap: 32px;
	}

	#restoration_wrap,
	#one_stop_service_wrap{
	    margin-bottom: 32px;
	}

	#main_wrap #restoration_wrap h3,
	#main_wrap #one_stop_service_wrap h3 {
	    padding: 16px 24px;
    	font-size: 144%;
	}

	#restoration_wrap .img_wrap,
	#one_stop_service_wrap .img_wrap{
    	position: relative;
	}

	#restoration_wrap .img_wrap:after,
	#one_stop_service_wrap .img_wrap:after {
	    width: 100%;
	    height: 100%;
    	margin-top: 16px;
	}

	#restoration_wrap.active .img_wrap:after {
	    right: -4%;
	}

	#one_stop_service_wrap.active .img_wrap:after {
	    left: -4%;
	}


}

@media screen and (max-width: 520px) {



	/* 共通 */
	#contents_wrap{
	    font-size: 88%;
	    padding: 16px 0;
	}

	#footer_container_middle{
	    padding-top: 16px;
	}

	#footer_middle_menu {
	    padding: 0 4%;
	}

	#main_wrap ul.catch > li:not(:first-child){
	    margin-top: 8px;
	}

	/* ページ */
	#mainimage .section_wrap {
	    height: 80px;
	    font-size: 80%;
	    min-height: 0;
	}


	/* ホーム */
	body.home #keyvisual_container .sp .keyvisual_wrap.text {
	    padding: 56px 4%;
	}

	#keyvisual_container .video_wrap video{
    	height: 480px;
	}

	ul#feature_item {
	    gap: 8px 24px;
	}


	.keyvisual_wrap.text .button a{
	    max-width: 100%;
	}

	#keyvisual_container .keyvisual_wrap.text .button {
		max-width: 286px;
    	margin-top: 16px;
	}


	#restoration_wrap,
	#one_stop_service_wrap {
	    flex-wrap: wrap-reverse;
		gap: 32px;
	}

	#restoration_wrap,
	#one_stop_service_wrap{
	    margin-bottom: 32px;
	}

	#restoration_wrap h3,
	#one_stop_service_wrap h3 {
	    padding: 16px 24px;
	}

	#restoration_wrap .img_wrap,
	#one_stop_service_wrap .img_wrap{
    	position: relative;
	}

	#restoration_wrap .img_wrap:after,
	#one_stop_service_wrap .img_wrap:after {
	    width: 100%;
	    height: 100%;
    	margin-top: 16px;
	}

	#restoration_wrap.active .img_wrap:after {
	    right: -4%;
	}

	#one_stop_service_wrap.active .img_wrap:after {
	    left: -4%;
	}

	.home #main_wrap header {
	    margin-bottom: 24px;
	}

	.home #contents_wrap section#work > #work_carousel {
	    padding: 0 !important;
	}

	#work .detail_btn a {
	    margin-top: 32px;
	}


	#news .detail_btn a {
	    margin-top: 32px;
	}


	.home #contents_wrap section#banner ul {
	    gap: 16px;
		flex-wrap: wrap;
	}

	.home #contents_wrap section#banner ul li {
	    width: 100%;
	    height: 128px;
	    font-size: 80%;
	}




	/* サービス */
	body.page-service ul.service_list li {
		padding: 16px 8px;
	    font-size: 96%;
	    min-width: 0;
	    width: calc(50% - 4px);
	    line-height: 1.4;
	}

	body.page-service #main_wrap h3.point{
	    font-size: 116%;
	    display: flex;
	    flex-direction: column;
	}

	body.page-service h3.point:before {
	    margin-right: 0;
    	width: 9em;
	    margin-bottom: 16px;
	}

	body.page-service ul.restoration_list li {
	    padding: 16px 8px;
	    min-width: 0;
	    width: 100%;
	}

	body.page-service #main_wrap .flow p{
		line-height: 1.6;
	}

	body.page-service #main_wrap .flow strong{
		font-size: 108%;
	    margin-bottom: 4px;
	    display: block;
	}



	/* 施工事例 */
	body.page-work #main_wrap h2 {
	    margin-bottom: 16px;
	}

	body.page-work .is-layout-flow.wp-block-column:nth-child(2):before {
	    top: -32px;
	    left: calc(50% - 32px);
	    border-width: 16px 32px 0 32px;
		border-color: #2e5293 transparent transparent transparent;
	}

	body.page-work .is-layout-flex {
	    gap: 40px;
	}



	/* 会社案内 */
	body.page-company .wp-block-table td,
	body.page-company .wp-block-table th {
	    padding: 12px;
	}

	body.page-company iframe {
	    height: 300px;
		width: 100%;
	}
}


