/*
Theme Name: Astra
Template: astra
*/

/*スマホ時非表示*/
.sp_none_dis{
}
@media screen and (max-width:600px) { 
.sp_none_dis{
display:none;
}
}

/*見出し*/
.entry-content h1{
font-size: 1.9rem !important;
}
.entry-content h2{
font-size: 1.4rem !important;
}
.entry-content h3{
font-size: 1.0rem !important;
    padding: 0 0 10px;
    font-weight:normal !important;
margin-bottom:0 !important;

}
.entry-content h4{
font-size: 0.8rem !important;
}
@media screen and (max-width:600px) { 
.entry-content h1{
font-size: 1.5rem !important;
}
.entry-content h2{
font-size: 1.25rem !important;
}
}


/*h1背景画像スマホ高さ調整*/
@media screen and (max-width:600px) { 
.wp-block-cover{
min-height:150px !important;
}
}

/*ぱんくず*/
.pankuz{
max-width: 1200px;
margin: 0 auto;
font-size: .8125em;
padding: 2% 0;
}
@media screen and (max-width:600px) { 
.pankuz{
    max-width: 100%;
    padding: 2% 0 0 2%;
}
}

/*コンテンツレイアウト*/
div.wp-block-group{
    padding-top: 0 !important;
    padding-bottom: 2em;
}
.wp-block-column:not(:first-child){
margin-left: 0em;
}


/*FAQ用アコーディオン*/
.acd-check{
    display: none;
}
.acd-label{
    background: #0068b7;
    color: #fff;
    display: block;
    margin-bottom: 1px;
    padding: 10px;
    position: relative;
}
.acd-label:after{
    background: #00479d;
    box-sizing: border-box;
    content: '＼f067';
    font-weight: 900;
    display: block;
    font-family: "Font Awesome 5 Free";
    height: 52px;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    top: 0px;
}
.acd-content{
    border: 1px solid #333;
    display: block;
    height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
}
.acd-check:checked + .acd-label:after{
    content: '＼f068'; /
}
.acd-check:checked + .acd-label + .acd-content{
    height: auto;
    opacity: 1;
    padding: 10px;
    visibility: visible;
}

.xl66,.xl67,.xl68,.xl69,.xl70,.xl71{
padding:15px;
}

/*ここからカスタムCSSのコピー*/
@media (max-width:1024px){		
.wrap_3box{		
  display: flex;		
  flex-direction: column;		
}		
.box_3box {		
   width: 100%;		
}		
}		
		
#index_3box {		
    width: 100%;		
    max-width: 1150px;		
    margin: 0 auto 0px;		
}		
		
.wrap_3box{		
 display:flex;		
}		
		
.box_3box{		
 width: 100%;		
 margin: 0%;		
 padding: 10px 20px 30px;		
	/* padding: 40px 40px 50px を変更20181127*/	
 		
    position: relative;		
    -moz-box-sizing: border-box;		
    -webkit-box-sizing: border-box;		
    -o-box-sizing: border-box;		
    -ms-box-sizing: border-box;		
    box-sizing: border-box;		
}		
		
.box_3box h4{		
  font-weight:bold;		
	text-align:center;	
}		
		
.img_center{		
text-align:center;		
}		
		
		
.wrap_3box {		
  display: -webkit-box; /*Android4.3*/		
  display: -moz-box;    /*Firefox21*/		
  display: -ms-flexbox; /*IE10*/		
  display: -webkit-flex; /*PC-Safari,iOS8.4*/		
  display: flex		
}		
		
.wrap_3box .link {		
    position: absolute;		
    right: 0px;		
    bottom: 0px;		
}		
		
.wrap_3box .link a {		
    background: rgba(0,0,0,0.2);		
    display: inline-block;		
    height: 50px;		
    line-height: 50px;		
    color: #fff;		
    padding: 0 50px;		
    text-decoration: none;		
}

/* clearfix */
.clearfix:after { content: "."; display:block; clear:both; height:0; font-size:0.1em; line-height:0; visibility:hidden; overflow:hidden; }
.clearfix { display:inline-block; }
/* exlude MacIE5 ＼*/
* html .clearfix { height:1% }
.clearfix { display:block;}
/* end MacIE5 */

/* アニメーション */
.use_animation #index_3box_header.animation_element .headline { opacity:0; }
.use_animation #index_3box_header.animation_element .desc { opacity:0; }
.use_animation #index_3box_header.animation_element.animated .headline {
  -webkit-animation: opacityAnimation 1.0s ease forwards 0.5s;
  animation: opacityAnimation 1.0s ease forwards 0.5s;
}
.use_animation #index_3box_header.animation_element.animated .desc {
  -webkit-animation: opacityAnimation 1.0s ease forwards 1.0s;
  animation: opacityAnimation 1.0s ease forwards 1.0s;
}
.use_animation #index_3box_list.animation_element .box { opacity:0; }
.use_animation #index_3box_list.animation_element .box.active {
  -webkit-transform: translateY(120px); transform: translateY(120px);
  -webkit-animation: moveUp 0.65s ease forwards 1.5s;
  animation: moveUp 0.65s ease forwards 1.5s;
}
.waku1 {
  padding: 1em; /*段落余白*/
  border: 3px solid #f582ae; /*枠線*/
}
/*テーブルの横スクロール*/
 table{ 
    width:100%;
}
.scroll{
    overflow: auto;
    white-space:nowrap;
}
.scroll::-webkit-scrollbar{
    height: 15px;
}
.scroll::-webkit-scrollbar-track{
    background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb{
    background: #bbb;
}
 /*テーブルの横スクロール*/

 /*サービスアイコン*/
.snr-pi {
    position: relative;
    background: #ff739b;
    width: 50px;
    font-size: 13px;
    text-align: center;
    margin: 2% 0;
}
.snr-pi::before {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 51px;
    height: 20px;
    content: '';
    border: 1px solid #000;
}
.gyo-gr {
    position: relative;
    background: #55c67d;
    width: 50px;
    font-size: 13px;
    text-align: center;
    margin: 2% 0;
}
.gyo-gr::before {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 51px;
    height: 20px;
    content: '';
    border: 1px solid #000;
}

.jis-bl {
    position: relative;
    background: #2eb9d2;
    width: 50px;
    font-size: 13px;
    text-align: center;
    margin: 2% 0;
}
.jis-bl::before {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 51px;
    height: 20px;
    content: '';
    border: 1px solid #000;
}

.jin-pu {
    position: relative;
    background: #bb8fbf;
    width: 50px;
    font-size: 13px;
    text-align: center;
    margin: 2% 0;
}
.jin-pu::before {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 51px;
    height: 20px;
    content: '';
    border: 1px solid #000;
}

.prj-ye {
    position: relative;
    background: #fff35c;
    width: 50px;
    font-size: 13px;
    text-align: center;
    margin: 2% 0;
}
.prj-ye::before {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 51px;
    height: 20px;
    content: '';
    border: 1px solid #000;
}

.case-area {
  position: relative;
  width: 60px;
#  height: 20px;
  font-size: 11px;
  text-align: center;
  #padding: 1rem 2rem;
 border: 1px solid #000;
 margin: 2% 0;

}
.case-area::before {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 61px;
    height: 20px;
    content: '';
    border: 1px solid #000;
}

 
 .flex_sm-box {
padding:  1px;             /* 余白指定 */
display: flex;              /* フレックスボックスにする */
justify-content:left;
}
 .flex_sm-box div{
margin:0 5px;
}
     
.flex_sm-item {
        padding: 10px;
        color:  #fff;               /* 文字色 */
        margin:  10px;              /* 外側の余白 */
        border-radius:  5px;        /* 角丸指定 */
        width: 15%;                 /* 幅指定 */
}
     
.flex_sm-item:nth-child(1) {
        background-color:  #ff739b; /* 背景色指定 */
}
     
.flex_sm-item:nth-child(2) {
        background-color:  #55c67d; /* 背景色指定 */
}
     
.flex_test-item:nth-child(3) {
        background-color: #2eb9d2; /* 背景色指定 */
}

.flex_sm-item:nth-child(4) {
        background-color:  #bb8fbf; /* 背景色指定 */
}

.flex_sm-item:nth-child(5) {
        background-color:  #fff35c; /* 背景色指定 */
}


@media screen and (max-width:600px) { 
.service_comit img{
width:50% !important;
}
.service_comit h4{
text-align: center;
margin: 20px 0;
}
.service_comit .wp-block-media-text__media{
text-align:center !important;
}
.service_comit .wp-block-column{
margin:0 !important;
}
}
/*サービス 表の下線調整 */
#fee .wp-block-columns{
padding-bottom: 20px;
}
#fee .uline{
border-bottom: 1px solid #C0C0C0;
}

@media screen and (max-width:600px) { 
#fee .wp-block-columns {
    padding-bottom: 10px;
    flex-wrap: nowrap;
    font-size: 0.8rem;
}
#fee .wp-block-group{
padding:0 !important;
}
#fee p.has-text-align-center{
    font-size: 0.8rem !important;
}
}

/*サービス 当社の強みボタン位置調整 */
.service_comit .service_tuyomi_bk{
position: relative;
min-height: 380px;
}
.service_comit .service_tuyomi_bt{
position: absolute;
bottom: 10px;
right: 15px;
}

@media screen and (max-width: 1024px) {
.service_comit .service_tuyomi_bk{
min-height: 350px;
padding:15px;
}
.service_comit .wp-block-column:not(:only-child) {
    flex-basis: calc(100%) !important;
}
.service_comit .wp-block-column {
    margin:0;
}
}
@media screen and (max-width:600px) { 
.service_comit .service_tuyomi_bk{
min-height: 560px;
padding:5px;
}
}

/* 上部サービス ４ﾌﾞﾛｯｸボタン位置調整*/
#service_4 .service_bk{
position: relative;
padding: 20px 20px 70px !important;
}
#service_4 .service_bt{
    position: absolute;
    bottom: 5%;
    left: 25%;
}
@media screen and (max-width: 1024px) {
#service_4 .service_bk{
margin: 0 !important;
}
}
@media screen and (max-width:600px) { 
#service_4 {
padding:0 !important;
}
}



/* 会社概要調整 */
.text-center{
text-align:center;
}
.mxauto{
margin:0 auto;
}
#about_us h2{
margin-top:10px;
}

#about_us p{
padding-left:0 !important;
}
#about_us .wp-block-columns,
#about_us table{
width: 75%;
margin: 0 auto;
}
#about_us ul{
margin: 0 0 1.5em 1em !important;
}

#about_us #prof .wp-block-columns{
justify-content: space-between;
}
#about_us #prof .leftprof{
flex-basis: 66.66% !important;
}
#about_us #prof .leftprof ul{
margin: 0 0 1.5em 1em !important;
}
#about_us #prof .rightprof{
text-align:right;
}


@media screen and (max-width:600px) {
#about_us .wp-block-columns,
#about_us table{
width: 100%;
}
#about_us table td, 
#about_us table th{
display: block;
width: 100%;
}

#about_us #prof .leftprof{
flex-basis: 100% !important;
}
#about_us #prof .rightprof{
text-align:center;
}
}
/* TOP 調整 */
#top_check .wp-block-column{
text-align:center;
}

#top_blocks .img_wrap{
  cursor: pointer;
  filter:grayscale(100%);
  transition-duration: 0.5s;
}
#top_blocks .img_wrap:hover{
  filter: grayscale(0);
  transition-duration: 0.5s;
}
#top_blocks .img_wrap img{
  filter:brightness(70%);

}
#top_blocks .img_wrap img:hover{
  filter:brightness(100%);
  pointer-events: none;
}
#top_blocks .wp-block-cover__inner-container{
pointer-events: auto;
}

/* TOPスマホ用調整 */
@media screen and (max-width:600px) {
#top_mainimg h1{
font-size: 17px !important;
margin-top: 80px;
text-align: center;
}
#top_check .wp-block-column{
margin:0 !important;
}
#top_check p{
font-size:17px !important;
margin-top: 15px;
text-align: center;
}
#top_txtarea .wp-block-group{
padding:0 !important;
}
#top_blocks .wp-block-column{
 margin:0 !important;
}
#top_blocks .ast-no-sidebar .entry-content .alignfull{
    margin-left: 0;
    margin-right: 0;
    width: auto;
}
}
/* TOPipad用調整 */
@media screen and (max-width: 1024px) {
#top_blocks .wp-block-column{
margin:0 !important;
}
#top_blocks .wp-block-column:not(:only-child){
flex-basis: calc(100%) !important;
}
#top_blocks .wp-block-cover{
min-height: 250px !important;

}
}
/* フッター調整 */
.widget {
    margin: 0 0 0.7em 0 !important;
}
/* 画像上下スペース調整 */
.wp-block-image {
margin: 0rem 0 !important;
}
@media screen and (max-width:921px) {
.wp-block-image {
margin: 1rem 0 !important;
}
}

/* ページ下メニューボタン */
#foot_btns a{
width: calc(100% /3);
}
#foot_btns .wp-block-column{
  cursor: pointer;
  filter:grayscale(100%);
  transition-duration: 0.5s;
}
#foot_btns .wp-block-column:hover{
  filter: grayscale(0);
  transition-duration: 0.5s;
}
#foot_btns .wp-block-cover__inner-container{
pointer-events: auto;
}
@media screen and (max-width:600px) {
#foot_btns a{
width: calc(100%);
}
}


