/*----------------------------------------
           共通
   ---------------------------------------- */
@media print,screen{
.privacy_p{
	font-size: 1.2rem;
	line-height:2.4rem;
}
/*通常テーブル*/	
    .wp-block-table.is-style-regular {
     width: 95%;
     max-width:1000px;
     text-align: center;
     border-collapse: collapse;
     border-spacing: 0;
    }
    .wp-block-table.is-style-regular th {
     padding: 10px;
     background-color: #0099D9;
     border: solid 1px #A1D8E6;
     color: #ffffff;
    }
    .wp-block-table.is-style-regular td {
     padding: 10px;
     border: solid 1px #A1D8E6;
    }
/*ストライプテーブル*/	
    .wp-block-table.is-style-stripes {
     width: 95%;
     max-width:1000px;
     text-align: center;
     border-collapse: collapse;
     border-spacing: 0;
    }
    .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
     background-color: #A1D8E6 !important;
    }
    .wp-block-table.is-style-stripes tbody tr:nth-child(even) {
     border-bottom: 1px solid #A1D8E6 !important;
    }
    .wp-block-table.is-style-stripes th {
     padding: 10px;
     background-color: #0099D9;
     color: #ffffff;
    }
    .wp-block-table.is-style-stripes td {
     padding: 10px;
    }
    .wp-block-table.aligncenter{
        margin:auto;
    }
    .wp-block-table.alignright{
        margin-right:auto;
    }
    .alignleft + *,
    * + .alignleft,
    .alignright + *,
    * + .alignright,
    .aligncenter + *,
    * + .aligncenter
    {
    clear:both;	
    }
      div:has(figure.alignleft) + *,
    * + div:has(figure.alignleft),
   div:has(figure.alignright) + *,
    * + div:has(figure.alignright),
    div:has(figure.aligncenter) + *,
    * + div:has(figure.aligncenter)
    {
    clear:both;	
    }

    .wp-block-file__button{
     background-color: #0099D9 !important;
     color: #ffffff !important;
    }
    .hidden-view.is-layout-flex{
        display: none;
        opacity: 0; 
        transition: opacity 0.3s ease-in-out;
    }
    .hidden-view.open.is-layout-flex{
        display: flex;
        opacity: 1;
    }
    .more_button::before{
        content: "もっと見る";
    }
    .hidden-view.open + .more_button::before{
        content: "閉じる";
    }
    .service_btn_wrap{
        display:flex;
    }
    .more_button {
        background: #fff;
        border-radius: 9999px;
        display: block;
        padding: 10px 25px;
        margin: 0.5em auto;
        font-family: "Noto Sans Japanese", sans-serif;
        color: #0074C9;
        line-height: 1.8;
        text-decoration: none;
        transition: 0.3s ease-in-out;
        font-weight: 500;
        font-size:1.3rem;
        border: 1px solid #0074C9;
    }
    .service_btn a {
        background: #fff;
        border-radius: 9999px;
        display: block;
        padding: 10px 25px;
        margin: 0.5em;
        font-family: "Noto Sans Japanese", sans-serif;
        color: #0074C9;
        line-height: 1.8;
        text-decoration: none;
        transition: 0.3s ease-in-out;
        font-weight: 500;
        font-size:1.3rem;
        border: 1px solid #0074C9;
        text-align:center;
    }
    .more_button:hover,
    .service_btn a:hover {
        background: #0063AC;
        color: #FFF;
        border-color:#0063AC;
    }
    :root :where(.wp-block-separator.is-style-dots):before{
        font-weight:bold;
    }
}



/* ----------------------------------------
           スマートフォン
   ---------------------------------------- */
@media screen and (max-width: 781px) {
table{
/* 		font-size: 2rem; */
}
    /******************************************************
          オリジナルテーブル
    ******************************************************/
	.wp-block-table.is-style-com_table table,
	.com_table table{
		width: 95%; 
		margin:0 auto;
		margin-bottom:45px;
	}
	.wp-block-table.is-style-com_table th  , 
	.wp-block-table.is-style-com_table td  , 
	.com_table td  { 
		width: 100%;
	    display: block;
		vertical-align:middle;
		text-align:center;
	}
	.wp-block-table.is-style-com_table table tr:nth-child(1)  td:nth-of-type(1),
	.com_table table tr:nth-child(1)  td:nth-of-type(1){
		border-top:1px solid #CDD6DD;
	}
	.wp-block-table.is-style-com_table table tr th:nth-of-type(1),
	.wp-block-table.is-style-com_table table tr td:nth-of-type(1),
	.com_table table tr td:nth-of-type(1){
		padding:5px 0;
		color:#3B4043;
		background:#CDD6DD;
	}
	.wp-block-table.is-style-com_table table tr td:nth-of-type(1).top,
	.com_table table tr td:nth-of-type(1).top{
		vertical-align:top;
	}
	.wp-block-table.is-style-com_table .s_font,
	.com_table .s_font{
		font-size:10px;
		-moz-text-align-last: center;
		text-align-last: center;
		margin-bottom:0;
	}
	.wp-block-table.is-style-com_table th,
	.wp-block-table.is-style-com_table td,
	.com_table td{
		padding:10px 0;
		border:1px solid #CDD6DD;
		vertical-align:middle;
		color:#3B4043;
	}
	.wp-block-table.is-style-com_table li,
	.com_table li{
		padding-left: 1em;
		text-indent: -1em;
	}
	.noline_table td{
		border-color:none;	
	}
/*ラインなしテーブル*/	
	.wp-block-table.is-style-noline_table th,
	.wp-block-table.is-style-noline_table td{
		font-size:1.2rem;
		border-color:transparent;	
	}
	.wp-block-table.is-style-noline_table table tr th:nth-of-type(1),
	.wp-block-table.is-style-noline_table table tr td:nth-of-type(1){
		width: 120px;
		text-align: left;
		font-weight:bold;
	}
	.wp-block-media-text.media_text_paddings .wp-block-media-text__content {
	    padding: 0 2%;
	}

}

/*----------------------------------------
            PC、タブレット
   ---------------------------------------- */
@media print,screen and (min-width: 782px) {
    /******************************************************
            テーブル
    ******************************************************/
table{
/* 		font-size: 2rem; */
}
/*オリジナルテーブル*/
	.wp-block-table.is-style-com_table table,
	.com_table table{
		width: 100%; 
		max-width:1000px;
		margin:0 auto 45px;
	}
	.wp-block-table.is-style-com_table th , 
	.wp-block-table.is-style-com_table td , 
	.com_table td  { 
		padding: 15px 0;
		border-left:none;
		border-right:none;
		vertical-align:middle;
		font-weight: normal;
	}
	.wp-block-table.is-style-com_table table tr th:nth-of-type(1),
	.wp-block-table.is-style-com_table table tr td:nth-of-type(1),
	.com_table table tr td:nth-of-type(1){
		border-bottom:0.5px solid #0074C9;
		width: 150px;
		text-align: left;
		color: #000;
        border-top: none;
	}
	.wp-block-table.is-style-com_table table tr:nth-child(1)  th:nth-of-type(1),
	.wp-block-table.is-style-com_table table tr:nth-child(1)  td:nth-of-type(1),
	.com_table table tr:nth-child(1)  td:nth-of-type(1){
		border-top:none;
	}
	.wp-block-table.is-style-com_table table tr th:nth-of-type(1).long,
	.wp-block-table.is-style-com_table table tr td:nth-of-type(1).long,
	.com_table table tr td:nth-of-type(1).long{
		vertical-align:top;
	}
	.wp-block-table.is-style-com_table .s_font,
	.com_table .s_font{
		font-size:10px;
		-moz-text-align-last: center;
		text-align-last: center;
	}
	.wp-block-table.is-style-com_table th,
	.wp-block-table.is-style-com_table td,
	.com_table td{
		border-bottom: 0.5px solid #0074C9;
		vertical-align:middle;
		color:#000;
        border-top: none;
	}
	.wp-block-table.is-style-com_table th,
	.wp-block-table.is-style-com_table td,
	.com_table td{
		border-bottom: 0.5px solid #0074C9;
		vertical-align:middle;
		color:#000;
        border-top: none;
	}
	.wp-block-table.is-style-com_table table tr:nth-child(1)  th,
	.wp-block-table.is-style-com_table table tr:nth-child(1)  td,
	.com_table table tr:nth-child(1)  td{
		border-top:none;
	}
	.wp-block-table.is-style-com_table table tr:last-child  th,
	.wp-block-table.is-style-com_table table tr:last-child  td,
	.com_table table tr:last-child  td{
		border-bottom:none;
	}
	.wp-block-table.is-style-com_table li,
	.com_table li{
		padding-left: 1em;
		text-indent: -1em;
	}
	
/*ラインなしテーブル*/	
	.wp-block-table.is-style-noline_table th,
	.wp-block-table.is-style-noline_table td{
		font-size:1.2rem;
		border-color:transparent;	
	}
	.wp-block-table.is-style-noline_table table tr th:nth-of-type(1),
	.wp-block-table.is-style-noline_table table tr td:nth-of-type(1){
		width: 120px;
		text-align: left;
	}
	.wp-block-media-text.media_text_paddings .wp-block-media-text__content {
	    padding: 0 2%;
	}
}
/****************/
/*わたしたちについて*/
/****************/

@media screen and (max-width: 781px) {   
    .aboutus_title{
        padding-left:0 !important;
        width:95%;
        margin:0 auto;
    }
    .philosophy{
        font-size:2rem;
        line-height;2.5rem;
          text-align: justify;
          text-justify: inter-ideograph;
    }
    .line_head_table{
        margin-left:35px !important;
        line-height:3rem;
        border-collapse: collapse;
    }
    .line_head_table td{
        font-size:1.8rem !important;
        padding:0 !important;
        width:100% !important;
        display: block;
    }
    .office_image_wrapper{
        display:block;
        width:95%;
        margin:0 auto;
    }
    .office_image_inner{
        display:flex;
        flex-wrap:wrap;
        justify-content:space-around;
    }
    .office_image{
        width:100%;
        margin-bottom:2rem;
    }
    .office_image img{
    }
    .office_image span{
        font-size:1.8rem;
    }
    .office_addr h3{
        margin-top:0 !important;
    }
}
@media  print, screen and (min-width: 782px) {   
    .aboutus_title{
        padding-left:0 !important;
    }
    .philosophy{
        font-size:2.5rem;
        text-align: justify;
        text-justify: inter-ideograph;
    }
    .line_head_table{
        margin-left:35px !important;
        line-height:3rem;
        display: inline-block;
    }
    .line_head_table td{
        font-size:1.8rem !important;
        padding:0 2rem 0 0 !important;
        width:auto !important;
        table-layout:auto;
    }
    .office_image_wrapper{
        display:block;
        width:100%;
        max-width:1000px;
        margin:0 auto;
    }
    .office_image_inner{
        display:flex;
        flex-wrap:wrap;
        justify-content:space-between;
        margin-bottom:4rem;
    }
    .office_image{
        width:48%;
    }
    .office_image img{
    }
    .office_image span{
        font-size:1.8rem;
    }
}
.president_name{
font-size:2rem;
}
.line_head_p{
margin-left:35px !important;
line-height:3rem;
margin-bottom:0;
}

/*沿革*/
.stepbar {
  margin: 0 auto;
  width: 100%;
}

.stepbar .stepbarwrap {
  margin-bottom: 6rem;
  position: relative;
}

.stepbar .stepbarwrap .steptitle {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

.stepbar .stepbarwrap .steptitle .stepcircle {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  content: "";
  border-radius: 50%;
  background-color: #0063AC;
  border: 1px solid #0063AC;
}
@media screen and (max-width: 781px) {   
    .stepbar .stepbarwrap .steptitle .stepnum {
      padding-left: 1em;
      font-size: 2em;
      color: #000;
      width:80%;
      margin-right:3rem;
    }
.stepbar .stepbarwrap .steptxt-txt {
      padding-left:3rem;
    }
}
@media  print, screen and (min-width: 782px) {   
    .stepbar .stepbarwrap .steptitle .stepnum {
      padding-left: 1em;
      font-size: 2em;
      color: #000;
      width:200px;
      margin-right:3rem;
    }
}

.stepbar .stepbarwrap .steptxt-txt {
  padding-left: 2em;
  font-size: 2em;
}

.stepbar .stepbarwrap .stepline {
  width: 1px;
  height: calc(100% + 6em);
  background-color: #0063AC;
  position: absolute;
  top: 1em;
  left: 0.75em;
  z-index: -1;
}

.stepbarwrap:last-of-type .stepline:last-of-type {
  display: none;
}

@media screen and (max-width: 960px) {
  .stepbar {
    width: 90%;
  }
}
  

/****************/
/*サービス*/
/****************/
@media  print, screen and (min-width: 782px) {   
    .contsAreaL,.contsAreaR {
    	position: relative;
    	width: 1000px;
    	margin: 0 auto;
    }
    .textAreaR {
    	position: absolute;
    	bottom: 100px;
    	right: 60px;
    	z-index:3;
    }
    
    .textArea_inner {
    	 padding: 60px;
    	 -moz-box-sizing: border-box;
    	 -webkit-box-sizing: border-box;
    	 -o-box-sizing: border-box;
    	 -ms-box-sizing:border-box;
    	 box-sizing: border-box;
    	 background-color: #fff;
    	 width:550px;
    }
    .textArea_inner.another_c {
    	 background-color: #f5f5f5;
    }
    
    .contsAreaR img {
    	width: 520px;
    }
    .textAreaR p{
    color:#000;
    line-height:2.6rem;
    font-size:1.5rem;
    }
    .service_spacer{
     height:8rem !important;   
    }
}
@media screen and (max-width: 781px) {   
    .contsAreaR {
    	width: 95%;
    	margin: 0 auto;
    	text-align:center;
    }
    
    .textAreaR {
    	text-align:left;
    }
    
    .textArea_inner {
    	 padding: 5px 10px;
    	 -moz-box-sizing: border-box;
    	 -webkit-box-sizing: border-box;
    	 -o-box-sizing: border-box;
    	 -ms-box-sizing:border-box;
    	 box-sizing: border-box;
    	 background-color: #fff;
    	 width:100%;
    	 margin-bottom:2rem;
    }    
    .contsAreaR img {
    	width: 60%;
    }
    .textAreaR p{
    color:#000;
    line-height:1.5rem;
    font-size:1.5rem;
    }
    .textAreaR p:first-of-type{
        margin-top:3rem;
    }
    .service_img{
    	width: 90%;
    	margin: 0 auto;
    }
    .service_spacer{
     height:5rem !important;  
         }
}