/*
Theme Name: MS-company
Version: 0.1
Template: twentyseventeen
*/

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

基本設定

----------------------------------------------------------------*/
/*
#458ad6 rgb(69,238,214)
hoverの赤#ad3131
*/
/*@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&family=Noto+Sans+JP:wght@300;700;900&family=Shippori+Mincho:wght@400;700&display=swap');

html[lang="ja"] body, html[lang="ja"] button, html[lang="ja"] input, html[lang="ja"] select, html[lang="ja"] textarea {
  font-family: 'Shippori Mincho', serif;
}

body {
    animation: fadeIn 3s ease 0s 1 normal;
    font-feature-settings: "palt";
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

body {
  font-size: 1.25rem;
}
.site-content-contain {
  background-image: url("./images/technology-3216744.png");
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}
h1, h2, h3, h4, h5, h6 {
  color:#458ad6!important;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: normal!important;
}
.h2, h2 {/*本文用*/
    font-size: calc(1.325rem + .5vw);
}
.h3, h3 {/*本文用*/
    font-size: calc(1.3rem + .4vw);
}
.h4, h4 {/*本文用*/
    font-size: calc(1.25rem + .2vw);
}
p {
    margin-left: 1rem;
}
h2.wp-block-heading {
  background: repeating-linear-gradient(#f7f7f7, #f7f7f7 2px, #fff 2px, #fff 4px);
  padding-left: 0.5rem;
  padding-bottom: 0.5rem;
  padding-top: 1rem;
  border-bottom: solid 2px #458ad6;
}
.portfolio_page .wp-block-column p {
  /*margin-left: 0;
  border-left: 20px solid #ccc;
  padding-left: 0.5rem;
  display: inline-block;
  vertical-align: middle;*/
}
.portfolio_page .wp-block-column p, .portfolio_page .is-layout-flow p {
  padding: 40px 0px 40px 30px;
  position: relative;
  margin: 0;
  /*border-top: 1px #efefef solid;
  border-bottom: 1px #efefef solid;*/
  border-top: 1px #cbedfb solid;
  border-bottom: 1px #cbedfb solid;
  background-color: #fafdff;
}
.wp-block-column p::before {
  content: "";
  display: block;
  width: 20px;
  height: 100%;
  background-size: auto auto;
  background-color: rgba(255, 255, 255, 1);
  /*background-image: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(239, 239, 239, 1) 3px, rgba(239, 239, 239, 1) 5px );*/
  background-image: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(203,237,251, 1) 3px, rgba(203,237,251, 1) 5px );
}
.wp-block-column p::before{
  content: " ";
  display: block;
  position: absolute;
  /*width: 1em;
  height: 1em;*/
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  
}

a {
  text-decoration: none;
}
/*wordpressの標準配置*/
.aligncenter{
	display:block;
	margin-left: auto;
	margin-right:auto;
}

.alignleft{
	float:left;
	margin-right:10px;
	margin-bottom:10px;
}
			
.alignright{
	float: right;
	margin-left:10px;
	margin-bottom:10px;
}

/* reCAPTCHA v3　表示位置 */
.grecaptcha-badge{left:6px!important;width:70px!important;}
.grecaptcha-badge:hover{left:6px!important;width:256px!important;}

@media screen and (max-width: 48em) {
  .alignleft{
	   display:block;
	   margin-left: auto;
	   margin-right:auto;
  }
			
  .alignright{
	   display:block;
	   margin-left: auto;
	   margin-right:auto;
  }
}

/*アーカイブページのHOVER設定*/
.img_wrap{
  border: 1px solid #ddd;
  margin: 0 auto;
  transition-duration: 0.5s;
}
.img_wrap img{
  width: 100%;
  cursor: pointer;
}
.img_wrap:hover{
  box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
  transform: translateY(-10px);
  transition-duration: 0.5s;
}


/*リンク画像の白枠消去*/
.entry-content a img, .comment-content a img, .widget a img {
  box-shadow: none;
}

/*ヘッダー画像とタイトル*/
.custom-header-media:before {
    content: "";
    background: transparent;
}
body:not(.title-tagline-hidden) .site-branding-text {
    text-shadow: 1px 1px 0px rgb(0 0 0);
}
body.has-header-image .site-description, body.has-header-video .site-description {
    opacity: 1.0;
}
/*ハンバーガーメニューの大きさ*/
.menu-toggle .icon {
  height: 2em;
	width: 5em;
}
/*パンくずナビホームの文字色を黒*/
#breadcrumb .fa {
	color: #000;
}
@media screen and (min-width: 48em) {
  .main-navigation {
      width: auto;
      font-size: 1.0rem;
  }
}

/*グローバルナビの設定*/
.navigation-top {
  transition: .3s;
  /*box-shadow: 0px 10px 3px -8px rgba(0,0,0,0.3);*/
  box-shadow: 0px 4px 19px -9px rgba(0,0,0,0.6);
  background: rgba(255,255,255,0.9);
  /*background: rgb(240,249,255);
  background: linear-gradient(to bottom, rgba(240,249,255,0.9) 0%,rgba(224,243,255,0.9) 50%,rgba(191,231,255,0.9) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f9ff', endColorstr='#bfe7ff',GradientType=0 );*/
}
/*スマホ メニュー上部固定*/
/*https://058.jp/twentyseventeen/archives/473*/
/*解除するのはこのCSS削除とassets/js/global.jsを削除*/
.site-navigation-fixed.navigation-top{
	bottom: auto;
	position:fixed;
	left:0;
	right:0;
	top:0;
	width:100%;
	z-index:700;
}
/*ここまでスマホ メニュー上部固定*/

.single-featured-image-header {
	display:none;
}

.site-title span {
  font-size: 1.0rem;
}

.cta {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: normal!important;
  text-align: center;
  margin: 0;
  border-top: #ccc solid 0.25px;
  white-space: nowrap;
}
.linkInline {
  display: inline!important;
  font-weight: normal!important;
  padding: 0!important;
}


.page .panel-content .entry-title, body.page:not(.twentyseventeen-front-page) .entry-title {
	color: #222;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
  font-size: calc(1.375rem + 1.5vw);
  font-size: calc(1.325rem + .9vw);
}

.mw100{
	max-width: 100%;
}
.r-5{
	border-radius: 5px;
}
/*画像にキャプション表示*/
.wp-caption {
  margin: auto;
  text-align: left!important;
  max-width: 100%;
}

.wp-caption-text {
  display: inline-block;
  text-align: left!important;
  color: #8a8a8a;
  margin: 10px 0 0;
}
.wp-element-caption {
  text-align: left!important;
}
/*画像Zoom Up*/
.wp-block-image {
  /*cursor: pointer;
  max-width: 120%;
  overflow: hidden;
  width: 100%;
}
.wp-block-image img {
  height: auto;
  transition: transform .6s ease; /* ゆっくり変化させる */
}
.wp-block-image:hover img {
  /*transform: scale(1.1); /* 拡大 */
}
/*モバイルの時だけリンク表示電話番号*/
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color:#212529;
  }
}

@media screen and (min-width: 48em){
  .wrap {
      max-width: 1230px;
      FONT-WEIGHT: 100;
      /*padding-right: 0;*/
  }
}
/*コンテンツ幅を1000pxに*/
.single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary {
    max-width: 100%;/*コンテンツの幅を1000pxに拡張*/
}
@media screen and (min-width: 30em) {
  .page-one-column .panel-content .wrap {
      max-width: 1030px;/*トップページのコンテンツの幅を1030pxに拡張*/
      margin: 0 auto;
      padding: 3.5rem 0;
  }
  .page-one-column .panel-content .wrap_w {
	    max-width:1680px/*workとnewsコンテンツを1560pxにするため*/
  }
}

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

ウィジェット

----------------------------------------------------------------*/
/**/
.widget-area h2, .wp-block-archives__label {
    font-size: calc(0.8rem + .3vw);
    font-family: sunself;
    color: #494949!important;
}
.wp-block-search__label {
  display: none;
}
.widget-area input[type="search"] {
    width: 0;
    padding: 0;
}
.wp-block-latest-posts.wp-block-latest-posts__list {
    list-style: none;
    padding-left: 2rem;
}

.wp-block-latest-posts.wp-block-latest-posts__list > li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1rem;
}
.wp-block-latest-posts.wp-block-latest-posts__list > li::before {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.3em solid transparent;
    border-left: 0.4em solid #ad3131;
    content: "";
}
/*search.php*/
.search-form .search-submit {
    top: 3;
}
/*----------------------------------------------------------------

パンくずナビ

----------------------------------------------------------------*/
#p_list{
  padding: .5em;
  margin: 0 auto;
  max-width: 1200px;
}
.breadcrumbs-outer {
  background-color: #e6e5e5;
  margin: 0;
  padding: 0;
}
.breadcrumbs-inner{
  margin: 0 auto;
  padding: 0;
  max-width: 1230px;
}
#breadcrumb{
  justify-content: flex-start;
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
}
#breadcrumb ul{
  display: flex;
  list-style: none;
  margin: 0!important;
}
#breadcrumb ul li {
  list-style: none!important;
}

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

トップページ

----------------------------------------------------------------*/
.panel-content {/*トップページのパネルに影*/
  box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.5);
}
.frontpage-widecolor {/*トップページのworkの背景カラー*/
  /*background-color: #f4f4f4;*/
  background-color: rgba(244,244,244,0.5);
}
#post-9586 .panel-content {/*トップページの一部のパネルに影なし*/
  box-shadow: none;
}
#post-9586 .panel-content .wrap {
  position: relative;
}
#post-9586 .panel-content .wrap .top-tree {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
}
@media screen and (max-width: 974px) {
  #post-9586 .panel-content .wrap .top-tree {
    display: none;
  }
}
.panel-image::before {/*トップページのパネルのグラデ除去*/
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}
.vertically {
  /*writing-mode: vertical-rl;*/
  /*min-height: 150vh;*/
}
.vertically p {
  font-size: calc(0.65rem + 1.0vw);
  font-size: calc(16px + 4 * ((100vw - 320px) / 1120));
  margin-left: 2.0rem!important;
}
@media screen and (max-width: 480px) {
  .vertically p {
    margin-left: 0rem!important;
  }
}

.meta-s {
  max-width: 1000px;
  max-height: 500px;
  margin-bottom: 1rem;
}
@media screen and (min-width: 48em) {
  .site-content {
    padding: 0;
  }
  .panel-content .wrap {
    padding-top: 3.5rem;
  }
}

/*スライダー*/
.metaslider .flex-control-nav li a {
    margin: 0 3px!important;
}
.flex-control-paging li a {
    width: 30px!important;
    height: 5px!important;
    border-radius: 0!important;
}
.flex-control-paging li a.flex-active {
    background: rgba(129,0,30,.9)!important;
}
img.slider-1330 {
  border-radius: 0px;
  box-shadow: 0px 7px 10px -4px rgba(0,0,0,0.6);
}


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

トップページworksの設定

----------------------------------------------------------------*/
.top-works .works {
  margin: 0;
  padding: 0;
}
@media screen and (min-width: 425px) {
  .top-works .works {
    margin: 1.0rem;
    padding: 1.0rem;
    margin-top: 2rem;
  }
}
.top-works p {
  margin-top: 2rem;
  font-size: 1.25rem;
  line-height: 2.5rem;
}
.top-works .works-header {
	font-family: 'Noto Sans' , sans-serif;
  margin-bottom: 1.0rem;
}
.top-works h2.works-title {
  font-size: 1.75rem;
  border-bottom: 1px dotted #999;
  margin-bottom: 0;
}
.top-works .works-header span {
  color: #e3e3e3;
  font-size: calc(1.5rem + 1.8vw);
  font-weight: 700;
}
.top-works .works-content .con_align {
  display: flex;
  justify-content: center;
  align-items: center;
}
.top-works .works-content .con_align-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
}
.top-works .works-content span {
	font-family: 'Noto Sans' , sans-serif;
  font-weight: normal;
  font-size: 0.8rem;
  padding: 0.5rem;
  margin: 0.5rem auto;
  white-space: nowrap;
}
.shiny-btn2 {
    display: block;
    position: relative;
    width: 80%;/*ボタンの幅*/
    padding: 10px 0;
    margin: 30px auto;
    background-color: #ed4545;/*ボタンの色*/
    box-shadow: 0 3px 0 0 rgba(198, 39, 39, 1);/*影の色(rgbaの値を変更)*/
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}
.shiny-btn2 a {
  color: #FFF!important;
  text-decoration: none!important;
  display: block;
}
.shiny-btn2:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
}
.shiny-btn2::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    transition: 0.2s;
    animation: shiny-btn2 3s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn2 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
/*----------------------------------------------------------------

新着情報

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

.news_top-page {
  padding-left: 0;
  margin-bottom: 0.5rem;
}
.news-item {
  list-style: none;
  border-bottom: 1px dotted #000;
}
.news-item .news-item__inner {
  max-width: 529px;
  width: 100%;
  margin: 1rem auto;
  display: block;
  justify-content: space-between;
  align-items: center;
  border-bottom: none !important;
  padding-bottom: 0;
}
.news-item .news-item__media {
    max-width: 100%;
    /*text-align: center;*/
}
@media only screen and (min-width: 769px){
  .news-item .news-item__inner {
    max-width: 100%;/*634px;*/
    /*width: 100%;
    margin: 0 auto;*/
    display: flex;
    /*justify-content: space-between;
    align-items: center;
    border-bottom: none !important;
    padding-bottom: 0;*/
  }
}
.news-item .news-item__media {
  max-width: 125px;
  height: auto;
  border: 1px solid #CCC;
  border-radius: 0.5rem;
  margin: 1rem;
}

.news-item .news-item__body {
  max-width: 100%;/*413px;*/
  width: 100%;
}
.news-item .news_item__date {
  margin-top: 0.5rem;
}
h2.news-item__title span {
  display: inline;
}

/*@media only screen and (min-width: 1200px){*/
  h2.news-item__title {
    font-size: 1.25rem;
    line-height: 2.0rem;
    margin-top: 0;
    padding-top: 0;
  }
/*}*/
/*---新着アイコン設定---*/
.entry-icon-new {
  color: #fff;
  padding: 5px;
  font-size: 0.8em;
  background-color: #f00;
  border-radius: 3px;
  margin-left: 5px;
}

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

ページタイトル装飾

----------------------------------------------------------------*/
/*.entry-header h2.entry-title, .entry-header h1.entry-title {
	font-family: 'Shippori Mincho', serif;
  padding: 1rem;
  border-radius: 10px;
}
.entry-header h2.entry-title div, .entry-header h1.entry-title div {
  text-align: center;
  padding: 0.5rem;
  border-radius: 0;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(247,247,247,0.6) 15%,rgba(255,255,255,0.6) 85%,rgba(255,255,255,0) 100%);
}*/
.panel-content .entry-header h2.entry-title, .entry-header h1.entry-title {/*トップページのh2にのみ有効 固定ページタイトルに有効*/
	font-family: 'Noto Sans' , sans-serif;
  font-weight: normal;
  font-size: calc(1.5rem + 2.0vw);
  padding: 1rem;
  border-radius: 0;
  /*text-shadow: 7px 5px 1px rgba(227,227,227,1.0);*/
  margin-bottom: 0;
}
@media screen and (min-width: 90rem) {
  .panel-content .entry-header h2.entry-title {
    font-size: 3.875rem;
  }
}
.entry-header h1.entry-title {
  font-weight: 400!important;
  font-size: calc(1.325rem + .9vw);/*投稿用タイトルサイズ*/
  background: repeating-linear-gradient(#f7f7f7, #f7f7f7 2px, #fff 2px, #fff 4px);
}
.entry-meta {
  font-family: 'Noto Sans' , sans-serif;
  font-size: 0.8rem;
  font-weight: normal;
  border-top: 2px solid #f7f7f7;
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}
.attribute {
  text-align: right;
  font-family: 'Noto Sans' , sans-serif;
  font-size: 0.8rem;
  font-weight: normal;
  background-color: #f7f7f7;
  padding: 0.5rem;
  /*border-bottom: 1px solid #ededed;*/
  border-top: 3px solid #ededed; 
}
.attribute_tag {
  margin-right: 1rem;
}
.attribute_tag a {
  color: #000;
  cursor: default;
}
.attribute_cat {

}
@media screen and (min-width: 48em) {
  .page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
    margin-bottom: 0;
  }
}

/*お知らせ*/
.page-title {
  border-bottom: 1px dotted;
  padding: 0.25rem!important;
  border-top: 1px dotted;
}

.entry-title div a {
  border-bottom: 1px solid #ad3131;
}

/* 見出しh2 */
.entry-content h2 {
}

/* 見出しh3 */
.entry-content h3 {
	padding: 10px 0 10px 20px;
  line-height: 1.5;
  border-top: solid 2px #458ad6;
  border-bottom: solid 2px #458ad6;
  margin-bottom: 2rem;
}
/* 見出しh4 */
.entry-content h4 {
    position: relative;
	padding: 10px 0 10px 20px;
  line-height: 1.5;
  border-top: 1px solid #458ad6;
  border-bottom: 1px solid #458ad6;
}
.entry-content h4:before {
    content: '';
    position: absolute;
    top: 0.1rem;
    left: 0rem;
    right: 0rem;
    border-top: 1px solid;
}
.entry-content h4:after {
    content: '';
    position: absolute;
    bottom: 0.1rem;
    left: 0rem;
    right: 0rem;
    border-bottom: 1px solid;
}

/* 見出しh5 */
.entry-content h5 {
  line-height: 1.5;
    position: relative;
    margin-bottom: 0.2rem;
    padding: 10px 0 0 20px;
    border-bottom: 1px solid;
    color: #458ad6;
}
.entry-content h5:before {
    content: '';
    position: absolute;
    bottom: 0.1rem;
    left: 0rem;
    right: 0rem;
    border-bottom: 1px solid;
}
/* 見出しh6 */
.entry-content h6 {
  line-height: 1.5;
    margin-bottom: 0.2rem;
    padding: 10px 0 0 20px;
    border-bottom: 1px solid;
    color: #458ad6;
}


li.current-menu-item, li.current-menu-parent {
  border-bottom: 2px solid #ad3131!important;
}
.menu-item a:hover {
  color: #ad3131;
}
/*----------------------------------------------------------------

Hover effects

----------------------------------------------------------------*/
/*リンクとリンクホバーの黒い線を消す　親のL1187~*/
.entry-content a,
.entry-summary a,
.comment-content a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}

.entry-title a,
.entry-meta a,
.page-links a,
.page-links a .page-number,
.entry-footer a,
.entry-footer .cat-links a,
.entry-footer .tags-links a,
.edit-link a,
.post-navigation a,
.logged-in-as a,
.comment-navigation a,
.comment-metadata a,
.comment-metadata a.comment-edit-link,
.comment-reply-link,
a .nav-title,
.pagination a,
.comments-pagination a,
.site-info a,
.widget .widget-title a,
.widget ul li a,
.site-footer .widget-area ul li a,
.site-footer .widget-area ul li a {
	-webkit-box-shadow: none;
	box-shadow: none;
	text-decoration: none;
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}

.entry-content a:focus,
.entry-content a:hover,
.entry-summary a:focus,
.entry-summary a:hover,
.comment-content a:focus,
.comment-content a:hover,
.widget a:focus,
.widget a:hover,
.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.posts-navigation a:focus,
.posts-navigation a:hover,
.comment-metadata a:focus,
.comment-metadata a:hover,
.comment-metadata a.comment-edit-link:focus,
.comment-metadata a.comment-edit-link:hover,
.comment-reply-link:focus,
.comment-reply-link:hover,
.widget_authors a:focus strong,
.widget_authors a:hover strong,
.entry-title a:focus,
.entry-title a:hover,
.entry-meta a:focus,
.entry-meta a:hover,
.page-links a:focus .page-number,
.page-links a:hover .page-number,
.entry-footer a:focus,
.entry-footer a:hover,
.entry-footer .cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:focus,
.entry-footer .tags-links a:hover,
.post-navigation a:focus,
.post-navigation a:hover,
.pagination a:not(.prev):not(.next):focus,
.pagination a:not(.prev):not(.next):hover,
.comments-pagination a:not(.prev):not(.next):focus,
.comments-pagination a:not(.prev):not(.next):hover,
.logged-in-as a:focus,
.logged-in-as a:hover,
a:focus .nav-title,
a:hover .nav-title,
.edit-link a:focus,
.edit-link a:hover,
.site-info a:focus,
.site-info a:hover,
.widget .widget-title a:focus,
.widget .widget-title a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
	color: #ad3131;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/*hover float up image*/
.float_up-img{
  /*border: 1px solid #ddd;
  width: 300px;
  height: 226px;
  margin: 20px auto 0;*/
  transition-duration: 0.5s;
}
.float_up-img img{
  /*width: 100%;*/
  cursor: pointer;
}
.float_up-img img:hover{
  box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
  transform: translateY(-10px);
  transition-duration: 0.5s;
}

/*button hover efect*/
.btn-wrap {
  margin: 2rem auto;
  padding: 30px 10px;
  text-align: center;
  border-radius: 10px;
  /*background: #f8f8f8;*/
}

.example_top a.btn {
	font-family: 'Noto Sans' , sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  user-select: none;
  transition: all .3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: .1em;
  border-radius: 0.5rem;
}
.example_top a.btn_blue:hover {
  margin-top: 3px;
  color: #fff;
  background: #458ad6;/*#f56500;*/
  border-bottom: 2px solid #2a70be;/*#b84c00*/
}
.example_top a.btn_shadow {
  box-shadow: 0 3px 5px rgba(0,0,0,.3);
}
.btn_blue, a.btn_blue {
  color: #fff;
  background-color: #619cdc;/*#eb6100;*/
}
.btn_blue.btn_cubic, a.btn_blue.btn_cubic {
  border-bottom: 5px solid #2460a2;/*#b84c00;*/
}

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

　スマホのメニューの文字背景を透明に
 
----------------------------------------------------------------*/
.menu-toggle:hover,
.menu-toggle:focus {
background: transparent !important;
outline: none;
					}

/**/
.single-featured-image-header {
  background-color: transparent;
  border-bottom: 1px solid #eee;
  /*background-image: url(./images/base_silk.png);
  background-attachment: fixed;
    /*background-repeat: repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;*/
}


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

　お問合せ

----------------------------------------------------------------*/
.nes::before {
  content: " * ";
  color: #F00;
  font-size: 1.0rem;
}

.spec br {
  display: none;
}
.spec input {
  display: inline;
}

.part02 th {
  text-align: left!important;
}

.mw_wp_form_confirm span.exsample {
  display: none;
}
.mw_wp_form_confirm #renrakusaki {
  display: block!important;
}
/*table.tb01{
}
.tb01 th,
.tb01 td{
}
.tb01 th {  
}*/
.length12 {
    width: 100%;
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0px;
}

.cf-exp {
  font-size: 0.9rem;
}
#inputform input[type="submit"] {
  background-color: #458ad6;
}
#inputform input[type="submit"].back {
  background-color: #ad3131;
  padding: 1em 2em;
}

@media screen and (min-width: 640px) {
    .part02 {
      /*width: 620px;*/
      margin: auto;
    }
}

@media screen and (max-width: 640px) {
  .spec br {
    display: block;
  }
  
  .exsample {
    display: block;
  }

  #inputform th, #inputform td {
    padding: 5px 1px 1px 5px;
  }

  #input{
    width: 100%!important;
    margin: 0!important;
    padding: 0!important;
    text-align: left;
  }

  .length5 { width:90%; }
  .length6 { width:90%; }
  .length7 { width:90%; }
  .length8 { width:90%; }
  .length9 { width:90%; }
  .length10{ width:90%; }
  .length12{ width:90%; }
  .length14{ width:90%; }
  .length16{ width:90%; }
  .length18{ width:90%; }
  .length20{ width:90%; }


  table.tb01 {
    width: 100%;
  }
  table.tb01 th {
  text-align: left;
  }
  table.tb01 th,
  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  /*table.tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }*/
  .outside th {
    vertical-align: top;
  }
}



/*アコーディオン設定*/
.accordion {
  margin: 3em auto;
  max-width: 100vw;
}
.toggle {
  display: none;
}
.option {
  position: relative;
  margin-bottom: 1em;
}
.title_pp,
.content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}
.title_pp {
  border: solid 1px #ADADAD;
  background-color: #CCC;
  padding: 1em;
  display: block;
  color: #333;
  font-weight: bold;
  width: 100%;
  text-align: center;
  cursor: pointer;
}
.title_pp::after,
.title_pp::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #999;
  transition: all 0.3s;
}
.title_pp::after {
  transform: rotate(90deg);
}
.content {
  max-height: 0;
  overflow: hidden;
}
.content p {
  margin: 0;
  padding: 0.5em 1em 1em;
  font-size: 0.9em;
  line-height: 1.5;
}
.toggle:checked + .title_pp + .content {
  max-height: 2500px;
  transition: all 3.0s;
}
.toggle:checked + .title_pp::before {
  transform: rotate(90deg) !important;
}

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

　会社概要

----------------------------------------------------------------*/
/**/
.aboutus{
  margin: auto;
  text-align: left;
}
.aboutus table {
  border-collapse: separate;
  border-spacing: 10px 10px;
}
.aboutus th {
  background-color: rgba(236,243,251,0.8);/*#ecf3fb;*/
  white-space: nowrap;
  border-right: 2px #458ad6 dotted;
  padding: 0.5rem;
  padding-right: 1rem;
  color: #1b4778;
  }
.aboutus {
   background-image: url('/cms/wp-content/uploads/2023/05/companyinfo-img.jpg');
    max-width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
  }

@media screen and (max-width:640px){
  .last td:last-child {
    border-bottom: 2px #458ad6 dotted;
    width: 100%;
  }
  .aboutus {
    background-position: bottom;
    background:none !important;
  }
  .aboutus th {
    text-align: center;
    border-right: none;
    padding-right:0;
    border-bottom: 2px #458ad6 dotted;
    padding-bottom: 0.25rem;
  }
  .aboutus td {
    padding-top: 0.25rem;
  }

  .tbl-resp {
    width: 100%;
    
  }
  .tbl-resp th,
  .tbl-resp td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }
}
/*----------------------------------------------------------------

　グーグルマップをレスポンシブ対応
 
----------------------------------------------------------------*/


.gmap {
  /*height: 600px;*/
}
.gmap iframe {
  width: 100%;
  aspect-ratio: 16/9;
}


/*ページネーション*/
.page-numbers {
  border: 1px #CCC solid;
}
.dots {
  border: 0px;
}
.next.page-numbers {
  border: 0px;
  background-color: transparent;
}
.prev.page-numbers, .next.page-numbers {
    border: none;
    background-color: transparent;
    border-radius: 0;
}
.pagination {
  margin: auto;
  display: block;
}

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

　フッター設定
 
----------------------------------------------------------------*/
/**/
.site-info{
  margin-top: 0;
  display: block;
  clear: left;
}
/*お問い合わせ枠*/
.colphone-container {
  /*background-image: url(./images/mt_iwate.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 3rem 0;
  margin: 5rem 0;*/
}
.colphone-box {
	font-family: 'Noto Sans' , sans-serif;
  /*margin: 0 5rem;
  background-color: rgba(20,35,145,1.0);
  padding: 2rem;
  border: 1px solid;
  border-top-color: #999;
  border-left-color: #999;
  border-right-color: #000;
  border-bottom-color: #000;*/
  margin: auto;
  max-width: 500px;
      background-color: #190b56;
      border: 1px solid #210e75;
      box-shadow: 1px 1px 0 rgba(255, 255, 255, .4) inset,
                0 0 4px rgba(0, 0, 0, .8) inset,
                2px 2px 2px rgba(0, 0, 0, .4);
      color: #fff;
      /*margin: 2em 0;*/
      padding: 2em;
      background-image: url(./images/colphone-box_wave.png);
      background-attachment: fixed;
}
  .fuwafuwa {
    animation: fuwafuwa 3s infinite ease-in-out .8s alternate;
    /*display: inline-block;*/
    transition: 1.5s ease-in-out;
    margin-top: 15px;
    margin-bottom: 30px;
  }

  @keyframes fuwafuwa {
    0% {
      transform:translate(0, 0) rotate(-7deg);
    }
    50% {
      transform:translate(0, -7px) rotate(0deg);
    }
    100% {
      transform:translate(0, 0) rotate(7deg);
    }
  }

.colphone-box p {
  margin-left: 0;
}
.colphone-box-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  color: #fff;
}
.colphone-box h2.title{
  text-align: center;
  color: #fff!important;
  font-size: 1.0rem;
  font-weight: normal;
}
.colphone-box .tel{
  font-weight: 900;
  font-size: 3.0rem;
  color: #FF0!important;
  text-align: center;
  font-size: calc(20px + 28 * ((100vw - 320px) / 1120));
}
@media screen and (min-width: 90rem) {
  .colphone-box .tel{
    font-size: 3.0rem;
   }
 }
.colphone-box .tel a {
  color:#FF0!important;
}
.colphone-box .tel .fa-solid {
  font-size: 1.25rem;
  margin: 0.25rem;
  padding: 0.25rem;
}
.colphone-box .biz-time{
  text-align: center;
  /*font-size: 1.0rem;*/
  color: #fff;
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
  padding: 0.25rem 0;
}
.colphone-box .biz-time span{
  /*border: 1px solid #FFF;*/
  margin: 0.25rem;
  padding: 0.25rem;
}
.colphone-box .link{
  font-size: 1.25rem;
}
.colphone-box .link a{
  color: #fff!important;
}

@media screen and (min-width: 48em) {
  .site-info {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
	.footer-menu {
		/* メニューを横に */
		display: flex;
    justify-content: space-evenly;
		flex-direction: row;
		position: fixed;
		/*top: 4.25rem;/*PCでは社名挿入のためにナビを下ろす*/
		right: 0;
		width: 100%;
	}
}

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

　フッターメニュー
 
----------------------------------------------------------------*/
.menu-footer_nav-container{
  position: relative; 
  overflow: hidden; 
}
.footer-navigation {
}
.footer-navigation ul{
  list-style: none;
  position: static;
  padding: 0;
  margin-left: 0;
}
.footer-navigation ul li{
  margin-right: 0.5rem;
  position: relative;
  /*left: -60%;*/
  display: inline;
}
.footer-navigation ul li a{
  text-decoration: none;
}
.footer-navigation ul li a:hover{
  text-decoration: underline;
}

.link-txt {
  display: inline-block;
}
.link-txt.line {
  padding-bottom: 5px;/*テキストとラインの間隔*/
  position: relative;
}
.link-txt.line::before {
  background: #ad3131;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.link-txt.line:hover::before {
  transform: scale(1, 1);
}
.footer-navigation ul li a:hover {
  text-decoration: none;
}

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

　page top設定

---------------------------------------------------------*/
/*https://naokixtechnology.net/wordpress/1103改変*/
.page-top {
  margin: 0;
  padding: 0;
}
.page-top p {
  margin: 0;
  padding: 0;
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}
 
.move-page-top {
  display: block;
  background: #3C3C3C;
  color: #fff;
  line-height: 1.0rem;
  padding: 0.75rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
}
 
.move-page-top:hover {
  opacity: 0.85;
}

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

メニューナビゲーションサイズを全幅（Full-width）に設定する

----------------------------------------------------------------*/
/**/
@media screen and (min-width: 48em) {
	.navigation-top .wrap {
		max-width: 100%;
		/* padding: 0.75em 3.4166666666667em; */
		}

	.navigation-top .wrap {
		max-width: 100%;
		/* padding: 0; */
		}
	.js .main-navigation > div > ul {
		text-align: center;
		}
}



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

施工事例の設定

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

.thumb-image { /*施工事例用*/
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 300px;
}

.prettifydiv {
  font-size: 13px;
}
.target img {
  display: block;
  max-width: 100%;
  height: auto;
}
ol.targets {
  list-style: none;
}

input[type="radio"] {
  position: absolute;
  left: -9999px;
}
.filters {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}
.filters * {
  display: inline-block;
}
.filters label {
  text-align: center;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.25rem;
  min-width: 50px;
  line-height: normal;
  cursor: pointer;
  transition: all 0.2s;
  color: #999;
  border: 1px solid #ccc;
  margin: 0 0.25rem;
}
.filters label:hover {
  background: #ad3131;
  color: #fff;
}
.targets {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  font-family: 'Noto Sans JP', sans-serif;
}
.targets .target {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.targets .target-title {
  font-size: 1.2rem;
  padding: 0;
}
.targets .target-title:hover {
  text-decoration: underline;
}
.target .data {
position: relative;
}
.target .data figure {
  position: absolute;
  top: 1.7rem;
  left: -1.25rem;
  display: block;
  padding: 0.5rem;
}
.target .data figure {
  display: inline-block;
  /*position: relative;*/
  padding: 5px 20px 5px 10px;
  font-size: 18px;/*フォントサイズ*/
  color: #FFF;/*フォントカラー*/
  background: #ad3131;/*リボンの色*/
}

.target .data figure:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 20px rgb(149, 158, 155);/*折り返し部分*/
}
.target .data figure ol {
  margin: 0;
  padding: 0;
}
.target .data figure li {
  margin: 0;
  padding: 0;
}
.targets h2 {
  text-align: right;
  margin-right: 0.5rem;
  color: #999!important;
}
.target-header {/*archive用*/
  margin-top: 0.5rem;
}
.targets h2 a {
  color: #999!important;
}
.target p {
  font-size: 0.8rem;
  color: #999;
  margin: 0 0.5rem 1.0rem 0;
  padding: 0;
  text-align: right;
}
.target figure {
  margin: 0 0 0.5rem;
}
.targets figcaption {
  padding: 0.5rem;
  font-size: 0.75rem;
}
.targets .target-categories {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}
.targets .target-categories * {
  display: inline-block;
}
.targets .target-categories li {
  margin-bottom: 0.2rem;
}
.targets .target-categories a {
  padding: 0.2rem 0.5rem;
  transition: all 0.1s;
  color: #ad3131;
}
.targets .target-categories a:hover {
  background: #ad3131;
  color: #fff;
}

[value="All"]:checked ~ .filters [for="All"],
[value="works_reform"]:checked ~ .filters [for="works_reform"],
[value="works_facility"]:checked ~ .filters [for="works_facility"], 
[value="works_new"]:checked ~ .filters [for="works_new"] {
  background: #ad3131;
  color: #fff;
}
@media screen and (max-width: 460px) {
    .filters {
      display: grid;
    }
    .filters li {
      display: block;
    }
.filters label {
			display: block;
      width: 250px;
		}
}
@media screen and (max-width: 900px) {
    .targets {
      grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 650px) {
  html {
    font-size: 14px;
  }
  .targets {
    grid-template-columns: repeat(1, 1fr);
  }
}
.gallery {
  margin: 50px 0;
}

/*================MS商会用追記=========================*/
.menu-scroll-down {
  display: none !important;
}
.site-branding-text {
  display: none !important;
}
.custom-logo-link {
  background-color: rgba(255,255,255,0.7);
  background: linear-gradient(to right,  rgba(255,255,255,1) 70%,rgba(255,255,255,0.03) 99%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to right, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.8) 70%,rgba(255,255,255,0.03) 99%,rgba(255,255,255,0) 100%);

}
.site-branding a {
  font-size: 3rem;
}
#panel1,#panel2,#panel3,#panel4 {
  /*background-color: #ccc;*/
  margin: 5rem 0;
}
@media screen and (min-width: 48em) {/*パララックス*/
	.background-fixed .panel-image {
		height: 25vh/*500px;*/
	}
}

.fa-twitter:before {/*Twitter Xの代替*/
  content: '𝕏';
  font-family: unset;
  font-weight: bold;
}

/* トップページmore-link*/
.entry-content .more-link:before {
  content: "";
  display: block;
  margin-top: 0em;
}
a.more-link {
  border: 1px solid #ccc;
  background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
  -webkit-box-shadow: inset 1px 1px 1px #fff;
  box-shadow: inset 1px 1px 1px #fff;

  padding: 1rem;
  display: block;
  text-align: center;
}
a.more-link:hover {
  background: -webkit-linear-gradient(bottom, #fdfbfb 0%, #ebedee 100%);
  background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);

}
.more-link span, .screen-reader-text {
  display: none;
}
.panel-image{
  box-shadow: 0px 10px 15px -6px rgba(0,0,0,0.9) inset;
}
/*---Topへ戻るボタン---*/
.pagetop { 
  cursor: pointer;
  position: fixed;
  bottom: 2.0rem;
  right: 0.25rem;
  width: 70px;
  height: auto;
  font-size: 20px;
  line-height: 50px;
  text-align: center;
  z-index: 9000;
}
.pagetop:hover {
opacity: 0.5;
}
