/*
Theme Name:ishikuraoffice
Theme URI: 
Version: 2.0
Author: wakizashi
Author URI: https://wakizashi.jp
License: wakizashi
*/


/*基本構成*/

:root{
	--shadow:0px 0px 10px #ddd;
	--eme:#25afaf;
	--page_accent:#7ad1d3;
}


*{font-family:"Sawarabi Mincho", serif,"Noto Sans JP", sans-serif,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}



body {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    letter-spacing: 2px;
    background: #edf3f9;
    overflow-x: clip;
}

* html body{  
    overflow: hidden;  
	height: 100%;
	font-size:90%
}

/*各種基本クラス初期設定*/

.fixed{
    position: fixed;
}

.clear
{
clear:both;
}

a {  
    transition: 0.3s ease-in-out;  
}  
a:hover {  
    opacity: 0.6;  
    filter: alpha(opacity=80);  
}


.fade {  
    transition: 0.3s ease-in-out;  
}  
.fade:hover {  
    opacity: 0.6;  
    filter: alpha(opacity=80);  
}

.hide{
	text-indent: 100%; 
    white-space: nowrap; 
    overflow: hidden; 
	display: block;
	height:0px!important;
	padding:0px!important;
	margin:0px!important;
}

h1,h2,h3,h4,h5,h6{
	margin:0;
	padding:0;
	font-size:100%;
	font-weight:normal;

}

ul{
margin:0;
padding:0;
list-style-type:none;
line-height:160%;
}

a{
	color:#333333;
	text-decoration:none;
}



p {
    font-size: 18px;
    margin: 0px;
    line-height: 150%;
    letter-spacing: 0px;
    text-align: justify;
}

p a{color:#00688C;}

ol{
}

ol li{
margin:10px 0px;
line-height:160%;
}

/*文字サイズ・基本装飾*/

.strong{font-weight:bold!important;}

.big{
font-size:125%!important;

}

.v_big{
font-size:150%!important;
}

.vv_big{
font-size:180%!important;
}

table .big{
color: #2968BE;
}

.blue{color:#0085B2;}

.bun{
    text-indent: 1em;
}

.mincho{
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.textright{
text-align:right!important;
}
.textcenter{
text-align:center!important;
}

.v_small{
font-size:70%!important;
}


hr{
border:none;
border-bottom:solid 1px #cccccc;
margin:50px 0px;
}


.link_box {
    border: #0070B3 2px solid;
    padding: 14px 25px;
    color: #0070B3;
	font-weight:bold;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    margin-bottom: 20px;
}
.link_box:after{
right: 10px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #0070B3;
    border-right: 1px solid #0070B3;
    transform: rotate(45deg);
    position: absolute;
    top: 40%;
    display: block;
    content: "";
}

/*YouTube Googlemap*/

.youtube{
    position:relative;
    width:100%;
    padding-top:56.25%;
}
.youtube iframe{
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:100%;
}

.gmap{
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
	
}

.gmap iframe, .gmap object, .gmap embed{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]{
    width: 100% !important;
}


/*テーブル設定*/

table{
clear: both;
table-layout: fixed;
border-collapse: collapse;
margin-left:0px;
margin-top:15px;
margin-bottom:55px;
width:100%;
}


th,td{
padding: 10px 5px 10px 7px;
vertical-align: top;
color: #111111;
line-height:160%;
letter-spacing:0px;
}

th span,td span{
    font-weight: bold;
    margin: 10px 0px;
}

th p,td p{
font-size:100%;
margin:10px 0!important;
}

/*ACCORDION*/
#panel {
    width: 100%;
    margin-bottom: 30px;
}
#panel > h3 {
    border-left:none!important;
    border-bottom: solid 1px white!important;
    background-color: #00779c!important;
    color: #fff!important;
    cursor: pointer;
    padding: 10px!important;
    position: relative;
    margin: 0px auto!important;
    max-width: 96%;
    font-size: 100%!important;
    letter-spacing: 2px;
}

#panel > h3:after{
    content: "▼";
    position: absolute;
    right: 10px;
}
#panel > .active:after{
    content: "▲";
    position: absolute;
    right: 10px;
}

#panel .ac {
    padding: 10px;
    box-sizing: border-box;
}
#panel .ac p{

}



/*イメージ*/
img{
    max-width:100%; 
    border:none;
	height:auto;
}

.center{
text-align:center!important;
display: block!important;
margin: 10px auto 0!important
}


/*サイトヘッダー*/
#header{ 
    z-index: 13;
    width: 100%;
    padding: 1rem 1%;
	    box-sizing: border-box;
    position: relative;
    top: 0;
    background-color: #fff;
    display:block;
    /*box-shadow: 0 0 5px #eee;*/
	 transition: 0.3s ease-in-out;  
}


/*サイトヘッダーをオン・オフしたいとき*/
/*
#home #header {
    opacity: 0;
	position: fixed;
}

#home #header.isActive{
    opacity: 1;
    transition: all 800ms;
}

*

/*ロゴ*/

#header h1{
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
	height: 78px;
    width: 144px;
    vertical-align: bottom;
}

#header h1 a {
    background-size: cover;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background: url(img/logo.svg) no-repeat;
    background-position: center;
    display: block;
    height: 78px;
    width: 144px;
    background-size: contain;
}

.logo{
	width: 60%;
}

/*ヘッダーメニュー*/
.header-wrap {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 1%;
    z-index: 10;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
}

.header-inner{
    width: 60%;
}

.header-wrap p {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    gap: .25rem;
    width: 17%;
}

.header_tel {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--eme);
	    letter-spacing: 2px;
}

.header_tel::before {
    content: "";
    background: url(img/icon_tel.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 1.75rem;
    height: 1.75rem;
}

.header-time {
    background: var(--page_accent);
    color: #fff;
    font-size: 90%;
    text-align: center;
    letter-spacing: normal;
}

.header-wrap .menu_list{
	width: 100%;
}




/*ローダー*/

#loader-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: #fff;
    z-index: 201;
    }


#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 150px;
    margin-top: -80px;
    margin-left: -100px;
    text-align: center;
    color: #fff;
    z-index: 200;
}

#loader img{

}

.bounce {
  -webkit-animation: bounce_4933 2.5s ease infinite;
          animation: bounce_4933 2.5s ease infinite;
  transform-origin: 50% 50%;
  height:74px;
}

@-webkit-keyframes bounce_4933 {
  0% { transform:translateY(0) }
  5.55556% { transform:translateY(0) }
  11.11111% { transform:translateY(0) }
  22.22222% { transform:translateY(-15px) }
  27.77778% { transform:translateY(0) }
  33.33333% { transform:translateY(-15px) }
  44.44444% { transform:translateY(0) }
  100% { transform:translateY(0) }
height:62px;
}

@keyframes bounce_4933 {
  0% { transform:translateY(0) }
  5.55556% { transform:translateY(0) }
  11.11111% { transform:translateY(0) }
  22.22222% { transform:translateY(-15px) }
  27.77778% { transform:translateY(0) }
  33.33333% { transform:translateY(-15px) }
  44.44444% { transform:translateY(0) }
  100% { transform:translateY(0) }
height:62px;
}

.no1,.no2,.no3{
    filter: alpha(opacity=0);
    -moz-opacity:0;
    opacity:0;
}

/*トップページレイアウト*/

h2{
    font-size: 1.5rem;
    line-height: 1;
    margin: 0 0 2%;
}

h2 span {
    display: block;
    font-size: 85%;
    color: initial;
    font-weight: initial;
    padding: 8px 5px;
}

h3{
    font-size: 1.25rem;
}

.more_link{
	
}

.more_link a {
    align-items: center;
    display: flex;
    justify-content: end;
}

.more_link a:after {
    content: "";
    background: url(img/icon_arrow-s.svg);
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

#wrap>section {
    margin: 7% auto;
}

.flex_box{
	display: flex;
}

.feature_area {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 1rem;
    align-items: end;
	position: relative;
}

.feature_area::before {
    content: "";
    background: url(img/top_img.webp);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    width: 110%;
    height: 230%;
    position: absolute;
    z-index: -1;
    top: -98%;
    right: -20%;
}

.feature_area .text_box{
	
}

.feature_area .text_box .copy {
    background: #7ad1d3;
    color: #fff;
    font-size: 2.25rem;
    line-height: 2;
    display: inline-block;
    margin: 1% 0;
    padding: 0 3%;
}

.feature_area .text_box .text {
    font-size: 1.5rem;
	font-weight: 500;
    padding: 0;
}

.sub_copy {
    margin: 3% 0 0;
}

.new_topic{
	
}

.new_topic h3 {
    font-size: 1rem;
}

.new_topic .home-post {
    width: 100%;
    display: block;
    padding: 5% 0 1%;
}

.new_topic .home-title{
	
}

.new_topic .home-list {
    width: 100%;
}

.new_topic .home-list a {
    width: 93%;
    background: #fff;
    border: unset;
    padding: 2% 3%;
    box-sizing: border-box;
    border-radius: 50px;
    border: solid 1px #7ad1d3;
}

.new_topic .date {
    color: #7ad1d3;
}

.feature_area figure {
    width: 25%;
    margin: 0;
}

.service_wrap {
    max-width: 1000px;
    width: 90%;
}

.service_wrap h2 {
    color: var(--eme);
    font-weight: 500;
    margin: 0 0 4%;
}

.service_list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2%;
    justify-content: space-between;
}

.service_box {
    width: 48.5%;
    box-sizing: border-box;
    background: #fff;
    padding: 1.5% 1%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 0 0 1%;
}

.service_img {
    width: 30%;
    margin: 0;
    line-height: 0;
}

.text_box{
    width: 65%;
}

.service_link{
    align-items: center;
    justify-content: space-between;
}

.service_box p{
    margin: 5% 0;
    font-size: 15px;
}

.service_link .text_box p::after {
    content: "";
    background: url(img/icon_arrow-s.svg);
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    margin-top: 8px;
    background-size: contain;
    background-repeat: no-repeat;
}

.service_link h3{
	border-bottom: solid 1px var(--eme);
}

.topic_wrap {
    background: #edf3f9;
    position: relative;
}

.column_wrap{
	    background: #d8efe7;
	    position: relative;
}

.column_wrap::before {
    content: "";
    background: url(img/column_illust.webp);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 10%;
    width: 15%;
    height: 70%;
    z-index: 0;
}

.home-post {
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    padding: 5% 0;
    width: 90%;
}

.home-post .column_thumb {
    width: 20%;
    margin: 0;
    line-height: 0;
}

.home-list{
    width: 70%;
}

.home-list a {
    padding: 3% 0;
    display: block;
    border-bottom: solid 1px;
}

.text {
display: flex;
    gap: 5%;
    padding: 0 3%;
    width: 100%;
    box-sizing: border-box;
}

.text article{
	width: 100%;
}

.text h3{

	display: block;
	
}

.text .clumn_h3{
	padding:5px 0 8px;
	border-bottom:1px solid #ccc;
	margin-bottom:10px;
}



.more_link {
    width: 100%;
    margin: 3% 0 0;
    text-align: end;
}

.home-title {
    width: 30%;
    color: var(--eme);
    font-weight: 500;
}

.column {
    z-index: 1;
    position: relative;
    flex-wrap: wrap;
    padding: 8% 0;
}

.column .home-list{
	
}

.column .home-list a {
    display: flex;
    border-bottom: none;
    background: #fff;
    margin: 0% 0 3%;
    padding: 2% 2%;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.column .thumb {
    width: 12%;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    display: flex;
    justify-content: center;
}

.column .thumb img {
    height: 100%;
    max-width: unset;
}



/* ボタン */
.more-link {
    color: #333;
    font-size: 27px;
    font-weight: 600;
    border-bottom: 3px solid #333;
    margin: 100px auto;
    display: table;
    position: relative;
    padding: 0 80px 9px 0;
    line-height: 55px;
}

.more-link.--s {
    line-height: 38px;
}

.more-link::before {
    content: "" ;
    background-image: url(img/arrow2.svg);
    position: absolute;
    width: 35px;
    height: 35px;
    right: 0;
    top: 12px;
}


/* 記事一覧・1つ目と2つ目が違うサイズ */


.text-block h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.tags {
    text-align: left;
}

.tag-item {
    background: #333;
    color: #fff;
    border-radius: 30px;
    padding: 0 20px;
    display: inline-block;    
}

.tag-item a{
	display:inline;
	color:#fff;
}



/*トピックススライダー*/
.swiper-button-next:after, .swiper-button-prev:after {
    color: #999;
}

/*新着情報*/
.topics_area {
    padding: 120px 205px;
}

.topics_area .flex-box {
    gap: 100px;
}

.topics {
    flex-grow: 1;
}

.topics h3 {
border-bottom: 1px solid #333;
}

.topics h3 a {
    display: flex;
}

.topics .more-link {
    margin: 60px 0 0 auto;
}

#list ul{
    width:100%;
    margin:0 auto;
    padding:0;
    max-width:100%;
    display: inline-block;
}

#list li h3{
    font-size: 1.15rem;
	font-weight:bold;
    margin: 5px 0px 3px;
    width: 100%;
    line-height: 130%;
    letter-spacing: 0;
    text-align: justify;
}

#list li h3 a{
font-size: 0.9rem;
}

#list li p{
    padding: 5px 0px;
    font-size: 80%;
    margin: 0px;
    color: #888;
}


#home .topics .date{
    text-align: center;
    display: block;
    padding: 3px 0px;
    font-size: 14px;
    color: #707070;
    margin: 15px 40px 20px 0px;
}


.readmore{
display:block;
float:right;
}

.date {
    font-weight: 500;
    text-align: right;
    font-size: 1rem;
    color: #555;
}

.cat {
    color: #ffffff;
    font-size: 90%;
    display: inline-block;
    border-radius: 5px;
    letter-spacing: normal;
    padding: 0 2%;
}

.cat.hudousan{
	background: #729d80;
}

.cat.kaisya{
    background: #72999d;
}

.cat.yuigon{
    background: #9d7272;
}

.cat.souzoku{
	background: #9c729d;
}


#cboxTitle,#cboxCurrent {
    display: none!important;
}




/*カテゴリー用記事リスト*/

#page #list ul {
text-align:left;
}

#page #list ul li{

margin:5px;
padding: 5px;
}

#sidebar #list ul{
padding:0!important;
}
#sidebar #list ul li{
margin:5px 0px!important;
padding:5px 0px !important;
}

#page #list .thumb{
max-width:100%;
height:auto;
}

#page #list .thumb img{
    left: 0%!important;
    position: relative;
    width: 100%;
    transform: translate(-0%,-0%); 
}

.seven_box .date{
    color: #00a5d9;
}

.seven_box .cat-name{

    background: #00a5d9;
    color: #fff;
    padding: 1px 4px;
    font-size: 90%;
}


/*コンテンツ・基本レイアウト*/


#wrap{
margin: 0px auto;
min-height: 100%;
max-width: 100%;
padding: 0px 0 0px 0;
z-index: 3;
}

.cont {
margin: 0px auto 0px;
width: 100%;
padding: 10px 0px 70px;
z-index: 1;
}

/*見出し*/

#page h2{

}



/*固定ページ用*/

#page .cont p{

}

#main_con{

}



/*単独ページの共通設定*/
#page #main p{
    text-align: justify;
    line-height: 1.8;
}

#page #main h2 {
    background: var(--page_accent);
    width: fit-content;
    color: #fff;
    padding: 1% 2%;
    white-space: nowrap;
    margin: 0 auto 5%;
}

#page #main h3{

}



#page #main .center_h3{

}

#page #main h3 span{

}


.page_title{
	    border-bottom: 1px solid;
    padding: 12px 0;
}

.hidsuke{
	display:block;
}

h4{

}

h4{
}


/*サイドバー */


/*フッター*/
#footer {
    overflow: hidden;
    min-width: 100%;
    position: relative;
    bottom: 0px;
    padding: 60px 0;
    background: #fff;
}

#footer .cont{
    
}

.footer_box {
    display: flex;
    max-width: 1280px;
    margin: 0 auto 10%;
    gap: 3%;
    align-items: flex-start;
    justify-content: space-between;
    width: 95%;
}

.menu_list {
    display: grid;
    flex-wrap: wrap;
    gap: 0 3%;
    width: 68%;
    justify-content: space-between;
}

.menu_item {
    font-size: 0.95rem;
    white-space: nowrap;
}

.menu_item:nth-of-type(1)  { grid-area: 1 / 1 / 2 / 2; }
.menu_item:nth-of-type(2)  { grid-area: 1 / 2 / 2 / 3; }
.menu_item:nth-of-type(3)  { grid-area: 1 / 3 / 2 / 4; }
.menu_item:nth-of-type(4)  { grid-area: 1 / 4 / 2 / 5; }
.menu_item:nth-of-type(5)  { grid-area: 2 / 1 / 3 / 2; }
.menu_item:nth-of-type(6)  { grid-area: 2 / 2 / 3 / 3; }
.menu_item:nth-of-type(7)  { grid-area: 2 / 3 / 3 / 4; }
.menu_item:nth-of-type(8)  { grid-area: 2 / 4 / 3 / 5; }


.menu_link::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    position: relative;
    top: 15%;
    margin: 0 2% 0 0;
}

.menu_item:nth-of-type(1) .menu_link::before {
	background :url(img/icon_hudosan.svg);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.menu_item:nth-of-type(2) .menu_link::before {
	background :url(img/icon_soudan.svg);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.menu_item:nth-of-type(3) .menu_link::before {
	background :url(img/icon_isyo.svg);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.menu_item:nth-of-type(4) .menu_link::before {
	background :url(img/sonota.svg);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.menu_item:nth-of-type(5) .menu_link::before {
	background :url(img/icon_kaisya.svg);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.menu_item:nth-of-type(6) .menu_link::before {
	background :url(img/icon_topic.svg);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.menu_item:nth-of-type(7) .menu_link::before {
	background :url(img/icon_column.svg);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.menu_item:nth-of-type(8) .menu_link::before {
	background :url(img/icon_about.svg);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.contact {
    background-color: #ffff;
    background-image: url(img/footer.webp);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 10% 0 35%;
    margin: 0% auto 0 !important;
}

.contact .flex_box {
    max-width: 1000px;
    margin: 0 auto;
}

.contact h2{
    margin: 0 0 10%;
}

.contact .flex_box {
    align-items: center;
}

.contact .tel {
    display: block;
    font-size: 2rem;
}

.contact .tel .small {
    margin: 0;
    font-size: 1rem;
}

.contact .text_box a {
    background: var(--eme);
    color: #fff;
    padding: 4% 6%;
    display: inline-block;
    border-radius: 7px;
    font-weight: 500;
    letter-spacing: 1px;
}

.contact .text_box span{
    margin: 4% 0;
    display: block;
}

.contact .address>span.small {
    margin: 4% 0 0%;
    font-size: 1rem;
}

.map {
    width: 90%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
}

iframe{
    width: 100%;
}

.ft_bottom {
    /* max-width: 1280px; */
    margin: 0 auto;
    border-top: solid 2px var(--eme);
    display: flex;
    justify-content: space-between;
    padding: 2% 0 0;
    align-items: center;
    width: 97%;
}

.contact_list{
    display: flex;
    gap: 8%;
}

small{
    color: var(--eme);
}

.foot_menu{
    text-align: left;
}

.foot_menu {
    display: flex;
    justify-content: space-between;
}

.foot_menu_list h3 {
    color: #796A56;
    font-size: 22px;
    padding-bottom: 20px;
}

.foot_menu ul li{
    padding: 7px 0;
}

.foot_menu .sns-link {
    display: flex;
    gap: 20px;
    height: fit-content;
}

.ft_bottom .footer_logo {
    width: 360px;
}

.ft_bottom .footer_info p {
    font-size: 18px;
}

.ft_bottom .footer_info address {
    font-style: normal;
}


/*固定ページメインタイトル*/

#pageheader {
    width: 100%;
    /* height: 120px; */
    padding: 150px 0 150px;
    position: relative;
    z-index: 8;
}

.pageheader_cont{
    max-width: 1260px;
    margin: auto;
    height: 100%;
    position: relative;
}

.pageheader_cont h2 {
background: var(--page_accent);
    width: fit-content;
    color: #fff;
    padding: 1% 2%;
    white-space: nowrap;
    margin: 0 auto 0;
}


.pageheader_cont .left {
}

.company_head,.sonota_head{
	background:url(img/head_1.webp) no-repeat center;
	background-size:cover;
}

.hudousan_head {
    background: url(img/head_3.png) no-repeat center;
	background-size:cover;
}

.kaisya_head{
		background:url(img/head_4.webp) no-repeat center;
	background-size:cover;
}

.yuigon_head{
		background:url(img/head_5.webp) no-repeat center;
	background-size:cover;
}

.souzoku_head{
		background:url(img/head_2.webp) no-repeat center;
	background-size:cover;
}

.column_head{
		background:url(img/head_6.webp) no-repeat center;
	background-size:cover;
}

.topics_head{
		background:url(img/head_6.webp) no-repeat center;
	background-size:cover;
}


/*メインコンテンツ*/
#main{
max-width: 100%;
margin:auto;
width:100%;
font-size: 100%;
z-index: 1;
vertical-align: top;
display: inline-block;
}


.post{
z-index:1;
}

.entrytext{
	margin: auto;
    max-width: 100%;
}



.postnav{
    padding: 20px 0;
    position: relative;
	display: flex;
    justify-content: space-between;
}

.postnav .prev{
text-align:left;
}

.postnav .prev a{
font-weight:bold;
}

.postnav .next{
text-align:right;
}

.postnav .next a{
font-weight:bold;
}



/*カテゴリー一覧設定*/
/*トピックス専用*/
.topics_h3 {
    background: none !important;
    font-size: 115% !important;
    margin: 10px 0 0 !important;
    padding: 5px 0px !important;
    border: none !important;
}

#imagetopics{
display : flex;
  flex-wrap : wrap;
  justify-content:start;
	
}

.cate_block figure{

}

.cate_block{
width: 33.3%;
    max-width: 90%;
    box-sizing: border-box;
    text-align: center;
    margin: 10px 0 20px;
    padding: 5px 10px 5px;
}
.cate_left{
display: inline-block;
    width: 100%;
    max-width: 100%;
    vertical-align: top;
    padding: 10px!important;
    height: 260px;
    overflow: hidden;
    box-sizing: border-box;
}

#topics {
    max-width: 1000px;
    margin: 0 auto;
    width: 95%;
}

.news_block .date {
    text-align: justify;
    color: var(--eme);
    font-size: 1.25rem;
    letter-spacing: normal;
    margin: 0 1rem 0 0;
}

.meta-block{
    display: flex;
    align-items: center;
}

.news_block {
    background: #fff;
    margin: 12px 0;
    border-radius: 10px;
    color: #111;
    padding: 2% 4%;
    box-sizing: border-box;
    box-shadow: var(--shadow);
}

.morelink{
	text-align:right;
}

.news_block h3 a{
color:#111!important;	
}

.morelink a{
    background: linear-gradient(to bottom, #333 0%, #000 100%);
    border: none !important;
	color:#fff!important;
}



/*各固定ページ設定 エディタ内で利用*/

.page_cont{
	max-width: 1080px;
    margin: auto;
    padding: 30px 0 80px;
}

.page_box {
    width:100%;
    text-align:center;
    margin:10px auto 15px;
    display:flex;
    gap: 25px;
}

.page_table th,.page_table td {
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.page_table th {
    background-color: #eee;
}

.page #main h2{
	
	
}
/********事業紹介*************/

/********採用情報*************/

/********問合わせ*************/
.contact_table th span{
background:#e6c550;
font-size:80%;
}

.contact_table tr{
border-bottom: 1px solid;
}

.contact_table .reb_bg{
background:#e6c550;
font-size:80%;
}
.contact_table {
  width: 100%;
max-width:850px;
margin:auto;
}

.contact_table td,
.contact_table th {
  padding: 15px 8px;
  font-size: 100%;
	font-weight:bold;
text-align:left;
}

.contact_table td input{
margin: 8px;
    font-size: 1rem;
    padding: 5px;
    box-sizing: border-box;
max-width:90%;
}

.contact_table td {
  padding: 15px 10px;
}

.contact_table th {
  min-width: 190px;
  text-align: left;
  letter-spacing: 0;
}



/*ワードプレス仕様補足スタイル*/
.edit a{
	font-size:12px;
	background:#007fff;
	color:#fff;
	padding:1px 3px;
	margin-left:20px;
	text-decoration:none;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}

.gallery{
	clear:both;
}

.gallery img {
    border: none!important;
    padding: 5px;
    box-sizing: border-box;
}

/* ここからがIE8以下透過PNG適用のためのCSS */  
    html>body .sampleBox {  
        background-image: url(img/bg.gif);  
    }  
    * html .sampleBox {  
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/bg.gif', sizingMethod='scale');  
    }



/* お問い合わせフォーム調整 */
.wpcf7-form {
    padding: 20px 0;
    margin-top: -50px;
    border-radius: 0;
    background: #eee;}    /*ボックスを角丸に指定*/
 
.wpcf7-form span.hissu  {
color: #aa0000; /*必須の文字色指定*/
font-size: smaller} /*文字サイズを一回り小さく*/
 
.wpcf7-form input   {width: }    /*入力フィールド幅*/
 
.wpcf7-form textarea    {width:80%; height:150px;}   /*テキストエリア幅*/
 
.wpcf7-form p.submit    {text-align: left}    /*送信ボタンの場所*/
 
.wpcf7-form .wpcf7-submit   {
width: 30%;
    background: #111;
    color: #fff;
    font-size: 1.3rem;
    border: none;
    display: block;
    margin: auto;
}/*送信ボタンの横幅指定*/

/*　ロールアップ　*/
#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size: 77%;
	z-index:100;
}
#page-top a {
background: url(img/up.png) no-repeat;;
text-decoration: none;
color: #fff;
width: 45px;
height: 45px;
text-indent: -99999px;
display: block;
}

#page-top a:hover {
width: 45x;
margin-bottom: 0px;
height: 45px;
}


/*　スマイルアイコン非表示　*/
img#wpstats{
    position:absolute;
    width:0px;
    height:0px;
    padding:0px;
    border:none;
    overflow:hidden;
}


/*タブ*/

.cp_tab *, .cp_tab *:before, .cp_tab *:after {
	box-sizing: border-box;
}
.cp_tab {
	margin: 1em auto;
}
.cp_tab > input[type='radio'] {
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	outline: none;
	background: none;
	-webkit-appearance: none;
	        -moz-appearance: none;
	     appearance: none;
	display: none;
}
.cp_tab .cp_tabpanel {
	display:none;
	width: 100%;
	opacity: 0;
	padding: 0.5em 1em;
	transform: translateY(-10px);
	transition: transform 1.5s, opacity 1.5s;
}
.cp_tab > input:first-child:checked ~ .cp_tabpanels > .cp_tabpanel:first-child,
.cp_tab > input:nth-child(3):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(2),
.cp_tab > input:nth-child(5):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(3),
.cp_tab > input:nth-child(7):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(4),
.cp_tab > input:nth-child(9):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(5),
.cp_tab > input:nth-child(11):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(6) {
display:block;
opacity: 1;
background: rgb(255,255,255,0.9);
color: #333;
    box-sizing: border-box;
    padding: 4%;
}
.cp_tab > label {
	position: relative;
	display: inline-block;
	padding: 15px 20px;
	cursor: pointer;
	border: 1px solid transparent;
	border-bottom: 0;
background: rgb(200,200,200,0.87);
    color: #fff;
}
.cp_tab > label:hover,
.cp_tab > input:focus + label {
	color: #0066cc;
}
.cp_tab > input:checked + label {
	margin-bottom: 6px;
font-weight:bold;
background:rgb(255,255,255,0.9);
color:#333;
}
.cp_tab .cp_tabpanel {
	padding: 20px 0px;
	border-top: 1px solid #cccccc;
}

div.wpcf7 {
margin: 0;
padding: 50px 0 0 0px!important;
}

/* ----- The Pretty Stuff ----- */

* {outline: 0; } 


/*ドロップダウンメニューCSS*/
.dropmenu{
  *zoom: 1;
  list-style-type: none;
  /*width: 780px;*/
  padding: 0;
}
.dropmenu:before, .dropmenu:after{
  content: "";
  display: table;
}
.dropmenu:after{
  clear: both;
}
.dropmenu li{
  position: relative;

}
.dropmenu li a{
  display: block;
}
.dropmenu li ul{
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  width: 240px!important;
  border-radius:5px;
}
.dropmenu li ul li{
    margin:0px!important;
    background: #fff!important;
    width: 240px!important;
    line-height: 150%;
    opacity: 0.8;
}
.dropmenu li ul li a{
  padding: 10px 5px!important;
  border-top: 1px solid #cccccc;
  text-align: center;
  font-size: 100%;
  letter-spacing:1px;
  font-weight: normal;
color:#513F2D;
width: 230px!important;
}

.dropmenu li:hover > a{
  background: #dddddd;
  color:#ffffff;
}
.dropmenu li a:hover{
  color:#ffffff;
  background:none;
}

.dropmenu li ul li a:hover{
background:#eeeeee;
color:#ffffff!important;
}


/*フェードイン*/
.fade-in2 li ul{
  opacity: 0;
  top: 50%;
  visibility: hidden;
  transition: .5s;
  width: 100%;
}
.fade-in2 li:hover ul{
  top: 100%;
  visibility: visible;
  opacity: 1;
}

.fade-in2 li ul li:hover{

}

.fade-in2 li ul li a:hover{

opacity: 1!important;
}


/*パンくずリスト*/
.breadcrumbs {
    font-size: 75%;
margin: 2% auto 2%;
    max-width: 1000px;
}

.breadcrumbs span{
padding: 0 7px;
	font-weight: normal;
	letter-spacing:normal;
	
}

.breadcrumbs a{
    font-weight: normal;
    background: cadetblue;
    color: #fff;
    border-radius: 10px;
}

/*レスポンシブ基本CSS*/

.pcheader{display:block; min-width:1260px;}
.mobileheader{display: none!important;}
.pc{display:block;}
.mobile{display: none!important;}
.mbr{display:none;}
#header,.catch_area,#pageheader,#wrap, #container,.slide00,#footer,.panel_bg{min-width:1260px;}
.drawer-hamburger{display:none!important;}

#page #main .now,.now{
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
	padding:80px 0;
}




@media screen and (max-width: 768px){
	
#page #main .now,.now{

    font-size: 1.2rem;


}	
	

.mbr{display:inline-block;}

.pcheader{display:none!important;}
.mobileheader{display: block!important;}
.pc{display:none!important;}
.mobile{display: block!important;}

#header,#pageheader,#wrap,#container, #footer,.slide00,.panel_bg,.flexslider,.catch_area{min-width:auto; max-width:100%; }
	
.two_box,.three_box,.four_box,.five_box,.seven_box,.six_box{
	max-width:100%;
	width:100%;	
	margin:0px;
	box-sizing:border-box;
}

#header{
	max-width:100%; min-width:100%;
}
	
#headercont{
    max-width: 100%;
    min-width: 100%;
    padding: 1rem 30px 1rem 30px;
    margin: 0px;
    height: auto;
    display: block;
    box-sizing: border-box;
}
	
#top_mainmenu{
	display:none;
	}
	
.mobileheader{
	display:block!important;
	width: 100%;
}

.longtable{
    overflow-x: scroll;
}




#pageheader {
    width: 100%;
    /* height: 120px; */
    padding: 60px 0 60px;
    position: relative;
    z-index: 8;
}

#list{
max-width:100%;
margin:auto;
}


#main_con{
padding:5px;
box-sizing:border-box;
}


#main_menu{display:none;}


#header h1{
    display: block;
    height: 35px;
    width: 180px;
    z-index: 10;
}	
	
#header h1 a{
    display: block;
    vertical-align: bottom;
	height: 35px;
    width: 180px;
    background-size: contain;
	background-position: bottom left;
}

.pageheader_cont h2 {

}

#page .cont{
padding:	0%;
box-sizing:border-box;
	}
	
#page #wrap {
    padding: 1% 0 0%;
}


/*トップページ*/
	
h2 span {
    font-size: 60%;
}
	
h2 {
    font-size: 1.25rem;
    line-height: 1;
    margin: 0 0 8%;
}
	
p {
    font-size: 13px;
}
	
#header {
    padding: 0; 

}

#wrap {
}

#wrap> * {
    width: 90%;
}

.feature_area::before {
    width: 120%;
    height: 110%;
    top: -35%;
    right: -50%;
}

.text_box {
    width: 100%;
}

.feature_area .text_box .copy {
    font-size: 1.25rem;
    letter-spacing: normal;
    padding: 0% 4%;
    line-height: 2.5;
}

.feature_area figure{
    width: unset;
    margin: 0;
    position: absolute;
    left: 67%;
    right: 0%;
    bottom: 15%;
}

.feature_area .text_box .text {
    font-size: 1rem;
    width: 53%;
    margin: 5% 0 8%;
}

.feature_area .home-post .text{
    width: 100%;
    margin: 0% 0;
}

.service_list {
    flex-direction: column;
	margin: 0 0 8%;
}

.service_box {
    width: 100%;
    margin: 0;
	padding: 2% 2%;
}

.service_link h3 {
    font-size: 1.125rem;
    letter-spacing: normal;
}
	
.service_wrap {
    width: 100%;
	padding: 10% 0;
}

.service_img {
    width: 50%;
}

.service_link {
    gap: 1rem;
}

.home-post > * {
    width: 100%;
}

.home-post > * {
    flex-direction: column;
}

.topic_wrap {
    width: 100%!important;
}

.service_link .text_box p::after {
    width: 1rem;
    height: 1rem;
}

.topic_wrap::after {
    width: 40%;
    height: 70%;
}

.home-post {
    padding: 10% 0;
    width: 85%;
}

.date {
    font-size: .75rem;
}

.home-list h3 {
    font-size: .75rem;
}

.more_link a {
    font-size: 0.75rem;
}

.more_link a:after {
    width: 1rem;
    height: 1rem;
}

.column {
    width: 100%;
	padding: 20% 0;
}

.column_wrap {
    width: 100% !important;
    padding: 0 5%;
    box-sizing: border-box;
}

.column_wrap::before {
    width: 25%;
}

.topic .home-title {
    margin: 0 0 5%;
}

.contact {
    width: 100% !important;
	margin: 0% auto 0 !important;
    background-image: url(img/footer-mobile.webp);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 10% 0 60%!Important;
	box-sizing: border-box;
}

.contact .flex_box {
    flex-direction: column;
}

.contact .text_box{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	gap: 0%;
	margin: 10% auto;
}

.contact .tel{
    font-size: 1.5rem!important;
}

.contact .address{
    width: 59%;
	line-height: 1;
}

.contact .text_box span{
    font-size: .75rem;
    letter-spacing: normal;
}

.contact .tel {
    font-size: 1.5rem;
}

.contact .tel .small {
    font-size: 0.75rem;
}

.contact h2 {
    margin: auto;
    font-size: 1.05rem;
    width: 30%;
}

.map {
    width: 97%;
}

.contact .text_box a {
    margin: 6% auto;
}

/* フッター */

.footer_box {
    flex-direction: column;
}

.footer_box>div{
    display: flex;
    justify-content: space-between;
    width: 100%;
	margin: 0% 0 10%;
}

.footer_box>div .logo{
    width: 30%;
}

.menu_list {
    gap: 0.5rem 10%;
    width: 68%;
}

.menu_item {
    font-size: 0.75rem;
}

.menu_link::before {
    width: 1rem;
    height: 1rem;
}

.menu_item:nth-of-type(3) {
    grid-area: 2 / 1 / 2 / 2;
}

.menu_item:nth-of-type(4) {
    grid-area: 2 / 2 / 2 / 3;
}

.menu_item:nth-of-type(5) {
    grid-area: 3 / 1 / 3 / 2;
}

.menu_item:nth-of-type(6) {
    grid-area: 3 / 2 / 4 / 3;
}

.menu_item:nth-of-type(7) {
    grid-area: 4 / 1 / 4 / 2;
}

.menu_list{
    gap: 0.5rem 5%;
    width: 100%;
    justify-content: left;
}

small {
    font-size: .5rem;
    letter-spacing: normal;
}

.contact_list {
    width: 25%;
}

.contact_item a{
	display: flex;
}

/* button */

.more-link {
font-size: 13px;
    line-height: 40px;
    padding-right: 50px;
	border-bottom: 2px solid #333;
}

.more-link::before {
    width: 40px;
    height: 40px;
    top: 0;
}

	
/*カテゴリー・投稿*/	

.cate_block {
    max-width: 90%;
    margin: 10px auto 20px;
    padding: 5px 5px 5px;
    display: block;
}
	.cat{

	}

#page .cate_right {
    vertical-align: top;
    display: inline-block;
    box-sizing: border-box;
	width:100%;
    font-size: 12px;
    padding: 10px 3px!important;
}


/* 固定ページ */




/*お問い合わせ*/
	.contact_table{
    table-layout: fixed;		
	}
	
#page #main .contact_table p{
		text-align:left;
	}
	
#page #main .contact_cont p {
    text-align: center;
    padding: 10px 0 20px;
    margin: 0;
    font-size: 0.80rem;
    letter-spacing: 0;
}
	
.page_cont article {
    padding: 0;
    text-align: left;
}	
	
	
/*その他基本設定*/	

#main{
box-sizing:border-box;
}


.long_table{
overflow-x:scroll;
}


	
.footmenu ul {
    padding: 10px 0px;
    font-size: 90%;
}
.contact_table td,.contact_table th,.service td,.service th{
display:block;
}

.product_area  .black_link{

}
	

	
}


/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	    display: flex;
    z-index: -1;
    opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
    top:0;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    background: rgba(0,0,0,.5);
    /*動き*/
    transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
  opacity: 1;
  z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav #g-nav-list{
position: fixed;
    background: #ffffff;
    z-index: 999;
    width: 50%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10% 0;
    right: 0;
}

@media screen and (max-width: 768px) {
    #g-nav #g-nav-list {
        width : 61%;
        padding: 10% 5%;
        box-sizing: border-box;
    }

.menu_bg {
    width: 40%;
    background: #ffffff;
    padding: 30% 2.5%;
    box-sizing: border-box;

}
	
.tel-info a {
    font-size: 20px;
    border-left: none;
    padding-left: 0;
    white-space: nowrap;
}		
	
#g-nav #g-nav-list{
    font-size: 1rem;
    margin: 0 0 0.5rem;
}
    
}



#g-nav #g-nav-list h2{
    color: #2d955d;
    text-align: center;
    margin: 0;
    font-weight: normal;
    font-size: 1.3rem!important;
}

#g-nav-list {
    padding: 40px;
}

#g-nav-list .title {
    font-size: 18px;
}

#g-nav-list .title::after {
    bottom: 1px;
    height: 6px;
    width: 25px;
    background-color: #bbb;
}

#g-nav-list .links-item {
    width: 45%;
}

#g-nav-list .link_area-links {
    gap: 20px;
}

#g-nav-list .links-item p {
    font-size: 16px;
    white-space: nowrap;
}

#g-nav-list .links-item a {
    gap: 15px;
}

.tel-info {
    gap: 20px;
    margin: 50px auto;
}

.tel-info p {
    font-size: 20px;
    white-space: nowrap;
}



#g-nav-list .link-box {
    padding: 15px;
    font-size: 16px;
    gap: 10px;
    letter-spacing: 0;
}

#g-nav-list .link-box img {
    width: 25px;
}


/*ナビゲーション*/
#g-nav ul {
    margin: 35% auto 30px;
    max-width: 92%;
    z-index: 999;
    top: 50%;
    left: 50%;
}

#g-nav .header_tel{
    display: block;
    font-size: 1.25rem;
}

.header-address {
    font-size: 0.9rem;
    text-align: end;
    margin: 0 0 -4%;
}

#g-nav .header-time {
    padding: 0 3%;
}

#g-nav .header_tel::before {
    width: 1rem;
    height: 1rem;
}

#g-nav ul {
    min-width: auto;
}

#g-nav .contact_menu{

}

#g-nav ul .tel_button{
	
}
#g-nav ul .tel_button a{
	border: none;
    padding: 8px 0;
}


#g-nav .contact_menu .contact_link{
    position: relative;
    text-align: center;
    background: #111;
    border-radius: 100px;
    display: block;
    padding: 12px 22px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    width: 60%;
    margin: auto;
}

#g-nav .contact_menu .contact_link:before{
content: "";
    display: inline-block;
    vertical-align: middle;
    width: 38px;
    height: 25px;
    background: url(img/mail_icon.png) no-repeat left;
    background-size: cover;
    margin-right: 12px;

}

/*リストのレイアウト設定*/

#g-nav .menu-title {
    font-size: 25px;
    padding: 0 0 10px 5%;
    font-weight: 700;
}

#g-nav .menu-title span {
    display: block;
    font-size: 10px;
    padding-top: 10px;
}

#g-nav .menu-items {
    gap: 15px;
}

#g-nav .menu-items li {
    list-style: none;
    text-align: left; 
    width: auto;
    padding: 10px 5px;
}

#g-nav .menu-items li a {
    color: #111;
    text-decoration: none;
    font-size: 20px;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: bold;
}

#g-nav .menu-items li a > img {
    max-width: 50px;
    height: 13vw;
}

#g-nav .menu-items li a > span {
    font-size: 10px;
    display: block;
}

#g-nav .menu_list{
    display: block; 
}

@media screen and (min-width: 768px) {
    #g-nav #g-nav-list {
        width: 60%;
    }

    #g-nav .menu-items li {
        width: 22%;
        max-width: 22%;
        height: 150px;
    }

    #g-nav .menu-items li a {
        font-size: 15px;
    }
    
    #g-nav .menu-items li a > span {
        line-height: 20px;
    }
	

	
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
    position: fixed;
    z-index: 9999;
    top: 0.8rem;
    right: 1%;
    cursor: pointer;
    width: 60px;
    height: 60px;
    background: var(--eme);
    border-radius: 50%;
}

.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 10px;
    height: 1px;
    border-radius: 10px;
    background-color: #fff;
    width: 50%;
}

.openbtn1 span:nth-of-type(1) {
  top:20px; 
}

.openbtn1 span:nth-of-type(2) {
  top:29px;
}

.openbtn1 span:nth-of-type(3) {
  top:38px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn1 p {
    position: absolute;
    bottom: -30px;
    right: 5px;
    font-size: 14px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .openbtn1 {
        width: 40px;
        height: 40px;
        }  
    .openbtn1 span {
        left: 9px;
        }
    .openbtn1 span:nth-of-type(1) {
        top:13px; 
        }
    .openbtn1 span:nth-of-type(2) {
        top:19px;
        }
    .openbtn1 span:nth-of-type(3) {
        top:25px;
        }
    .openbtn1.active span:nth-of-type(1) {
        top: 12px;
        left: 8px;
        width: 60%;
    }
    .openbtn1.active span:nth-of-type(3) {
        top: 24px;
        left: 8px;
        width: 60%;
    }
}