/*トップページ*/
/*ファーストビュー*/
.top-image {
  background-position: center top;
  background-size: contain;
  position: relative;
background-repeat: no-repeat;
}
.topimg-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #ffffff, rgba(255, 255, 255, 0));
}
.top-view {
  position: relative;
  margin-top: 15vh;
  margin-bottom: 0;
  z-index: 100;
}
.top-catchcopy {
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.top-title img {
  height: 176px;
}
.gooddesign img {
  height: 73px;
}

@media (min-width: 922px) {
.top-image {
  background-size: cover;
}
.top-view {
  margin-top: 15vh;
margin-bottom: 5rem;
}

.top-catchcopy {
	font-size: 3.2rem;
    line-height: 1.3;
}
}
/*背景*/
.top-background {
  background-position: top center;
  background-size: cover;
}

/* 共通ページテンプレート*/

.site-content {
  margin-top: 60px;
}

@media (min-width: 768px) {
  .site-content {
    margin-top: 80px;
  }
}

/* ログインページ */
#wp-submit {
  -webkit-appearance: initial;
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: white;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.3rem;
  border-radius: 0.25rem !important;
  margin: 0 auto;
  display: block;
}

#wp-submit:hover {
  background-color: var(--primary2) !important;
  border-bottom-color: var(--primary2) !important;
}

.login-extra {
  text-align: center;
}

/*ツグナラ企業情報*/

.swiper-button-next, .swiper-button-prev {
  top: calc((( 100vw - 40px ) * 0.33 ) + 11px )
}  

@media(min-width: 576px){
    .swiper-button-next, .swiper-button-prev {
    top: calc( 50% - 22px );
  }
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
  left: 7px;
  right: auto;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
  right: 7px;
  left: auto;
}

#swiper-hot_cmp .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 100%;
  background: var(--primary);
  opacity: 0.2;
  margin-left: 0.5em;
  margin-right: 0.5em;
}
#swiper-hot_cmp .swiper-pagination-bullet-active {
  opacity: 1;
}
#swiper-hot_cmp .swiper-button-prev::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f053";
  font-weight: 100;
  background-color: rgba(235, 205, 207, 0.8);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
	transition: all .5s;
	font-size: 2rem;
}

#swiper-hot_cmp .swiper-button-next::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f054";
  font-weight: 100;
  background-color: rgba(235, 205, 207, 0.8);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
	transition: all .5s;
	font-size: 2rem;
}
#swiper-hot_cmp .hover::after {
  background-color: rgba(163, 18, 25, 0.8);
	transition: all .5s;
}

.tgnr-company-title {
  position: relative;
  z-index: 100;
}
.tgnr-cmp-card {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.16);
  position: relative;
  top: 0;
}
@media (min-width: 992px) {
  .tgnr-cmp-card {
    position: absolute;
    top: 5vw;
  }
}

/* ツグナラ専門家コラム　トップページ　ここから */
.column-cnslt-img {
  right: 0;
  bottom: 0;
  margin-bottom: -2rem;
}
/* ツグナラ専門家コラム　トップページ　ここまで */

/*経営資源引き継ぎ　カテゴリタブ*/
/* タブ切り替えスタイル */
.resource-tabs {
  margin-top: 50px !important;
  /* background-color: pink; */
  width: 100%;
  margin: 0 auto;
}
/*タブのスタイル*/
.resource-tab_item {
  font-style: normal;
  line-height: 1.5;
  color: var(--white-gray);
  width: calc(100% / 3); /*項目あるので、均等に分割*/
  height: 80px;
  text-align: center;
  float: left;
  transition: all 0.2s ease;
  align-items: center; /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
}

/* ここで各タブの色変えれます */
.resource-tab_item:nth-of-type(1) {
  background-color: #a31219;
}
.resource-tab_item:nth-of-type(2) {
  background-color: #7a93a8;
}
.resource-tab_item:nth-of-type(3) {
  background-color: #a58e7a;
}

/*ラジオボタンを全て消す*/
input[name="resource-tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.resource-tab_content {
  display: none;
  clear: both;
  overflow: hidden;
  border-top: none;
  background-color: #f5f5f5;
}

/*選択されているタブのコンテンツのみを表示*/
#tabs-resource_hito:checked ~ #tabs-resource_hito_content,
#tabs-resource_mono:checked ~ #tabs-resource_mono_content,
#tabs-resource_ma:checked ~ #tabs-resource_ma_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.resource-tabs input:checked + .resource-tab_item {
  /*background-color: #f5f5f5;*/
  /*color: initial;*/
  border-bottom: none !important;
  position: relative;
}
.resource-tabs input:checked + .resource-tab_item:nth-of-type(1)::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #a31219;
}
.resource-tabs input:checked + .resource-tab_item:nth-of-type(2)::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #7a93a8;
}
.resource-tabs input:checked + .resource-tab_item:nth-of-type(3)::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #a58e7a;
}
@media(min-width:992px){
.resource-tab_item:hover {
  opacity: 0.75;
}
}

/* ツグナラコラム・ニュースのtabsここから */

/* タブ切り替えスタイル */
.colum-news-tabs {
  margin-top: 50px !important;
  /* background-color: pink; */
  width: 100%;
  margin: 0 auto;
}
/*タブのスタイル*/
.colum-news-tab_item {
  font-style: normal;
  line-height: 1.5;
  color: var(--white-gray);
  font-size: 15px;
  width: calc(100% / 2); /*9項目あるので、均等に分割*/
  height: 60px;
  /* border: 1px solid #707070; */
  text-align: center;
  float: left;
  transition: all 0.2s ease;
  display: flex;
  align-items: center; /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
  white-space: nowrap;
}
@media screen and (min-width: 992px) {
  .colum-news-tab_item {
    width: calc(100% / 4); /*9項目あるので、均等に分割*/
  }
}

/* ここで各タブの色変えれます */
.colum-news-tab_item:nth-of-type(1) {
  background-color: #a31219;
}
.colum-news-tab_item:nth-of-type(2) {
  background-color: #877aa5;
}
/*.colum-news-tab_item:nth-of-type(4) {
  background-color: #7d9da5;
}*/
.colum-news-tab_item:nth-of-type(3) {
  background-color: #7da591;
}
/*.colum-news-tab_item:nth-of-type(6) {
  background-color: #5ba312;
}*/
.colum-news-tab_item:nth-of-type(4) {
  background-color: #b8af7c;
}
/*.colum-news-tab_item:nth-of-type(8) {
  background-color: #b88e7c;
}*/

label {
  margin-bottom: 0 !important;
}

.colum-news-tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="colum-news-tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.colum-news-tab_content {
  display: none;
  padding: 40px 40px;
  clear: both;
  overflow: hidden;
  /* border: 1px solid #707070; */
  border-top: none;
  background-color: #f5f5f5;
}

/*選択されているタブのコンテンツのみを表示*/
#tabs-ma:checked ~ #tabs-ma_content,
#tabs-business_succession:checked ~ #tabs-business_succession_content,
#tabs-organization:checked ~ #tabs-organization_content,
#tabs-product:checked ~ #tabs-product_content,
#tabs-dx:checked ~ #tabs-dx_content,
#tabs-political:checked ~ #tabs-political_content,
#tabs-area_news:checked ~ #tabs-area_news_content,
#tabs-public_support:checked ~ #tabs-public_support_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.colum-news-tabs input:checked + .colum-news-tab_item {
  background-color: #f5f5f5;
  color: initial;
  border-bottom: none !important;
}
/* ツグナラコラム・ニュースのtabsここまで */

/*トップページ　ツグナラとは*/
.aboutTGNR-list-title::before {
  content: url("../img/aboutTGNR-ListIcon.svg");
  padding-right: 0.5em;
}
.aboutTGNR-list li {
  position: relative;
  padding-left: 1.5rem;
}
.aboutTGNR-list li::before {
  content: "";
  height: 15px;
  width: 15px;
  background: var(--primary);
  position: absolute;
  margin-top: 0.4rem;
  margin-left: -1.5rem;
}

/*ツグナラとは個別ページ*/
.main-contents {
  margin-top: -2.5rem;
  padding-top: 2.5rem;
}
.company-index-list {
  list-style: none;
  padding-left: 0px;
}
.company-index-list li {
  position: relative;
    padding-left: 1.8em;
    letter-spacing: 0.1rem;
    margin-bottom: 0.5rem;
}
.company-index-list li:before {
  font-family: "Font Awesome 6 Pro";
  content: "\f86c";
  margin-right: 0.5em;
  position: absolute;
  left: 0em;
}
.company-index-list a {
  color: var(--font-base) !important;
}

/*コラムトップページ*/
/* ツグナラコラムのtabsここから */
/* タブ切り替えスタイル */
.colum-tabs {
  width: 100%;
  margin: 0 auto;
}
/*タブのスタイル*/
.colum-tab_item {
  font-style: normal;
  line-height: 1.5;
  color: var(--white-gray);
  font-size: 12px;
  width: calc(100% / 5); /*5項目あるので、均等に分割*/
  height: 60px;
  /* border: 1px solid #707070; */
  text-align: center;
  float: left;
  transition: all 0.2s ease;
  display: flex;
  align-items: center; /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
  white-space: nowrap;
}

/* ここで各タブの色変えれます */
.colum-tab_item:nth-of-type(1) {
  background-color: #a31219;
}
.colum-tab_item:nth-of-type(2) {
  background-color: #a87aa5;
}
.colum-tab_item:nth-of-type(3) {
  background-color: #877aa5;
}
.colum-tab_item:nth-of-type(4) {
  background-color: #7d9da5;
}
.colum-tab_item:nth-of-type(5) {
  background-color: #7da591;
}

label {
  margin-bottom: 0 !important;
}

.colum-tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="colum-tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.colum-tab_content {
  display: none;
  padding: 40px 40px;
  clear: both;
  overflow: hidden;
  /* border: 1px solid #707070; */
  border-top: none;
  background-color: #f5f5f5;
}

/*選択されているタブのコンテンツのみを表示*/
#tabs-ma:checked ~ #tabs-ma_content,
#tabs-business_succession:checked ~ #tabs-business_succession_content,
#tabs-organization:checked ~ #tabs-organization_content,
#tabs-product:checked ~ #tabs-product_content,
#tabs-dx:checked ~ #tabs-dx_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.colum-tabs input:checked + .colum-tab_item {
  background-color: #f5f5f5;
  color: initial;
  border-bottom: none !important;
}

/* ニュースのtabsここから */
/* タブ切り替えスタイル */
.news-tabs {
  width: 100%;
  margin: 0 auto;
}
/*タブのスタイル*/
.news-tab_item {
  font-style: normal;
  line-height: 1.5;
  color: var(--white-gray);
  font-size: 12px;
  width: calc(100% / 3); /*9項目あるので、均等に分割*/
  height: 60px;
  /* border: 1px solid #707070; */
  text-align: center;
  float: left;
  transition: all 0.2s ease;
  display: flex;
  align-items: center; /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
  white-space: nowrap;
}

/* ここで各タブの色変えれます */
.news-tab_item:nth-of-type(1) {
  background-color: #5ba312;
}
.news-tab_item:nth-of-type(2) {
  background-color: #b8af7c;
}
.news-tab_item:nth-of-type(3) {
  background-color: #b88e7c;
}

.news-tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="news-tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.news-tab_content {
  display: none;
  padding: 40px 40px;
  clear: both;
  overflow: hidden;
  /* border: 1px solid #707070; */
  border-top: none;
  background-color: #f5f5f5;
}

/*選択されているタブのコンテンツのみを表示*/
#tabs-political:checked ~ #tabs-political_content,
#tabs-area_news:checked ~ #tabs-area_news_content,
#tabs-public_support:checked ~ #tabs-public_support_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.news-tabs input:checked + .news-tab_item {
  background-color: #f5f5f5;
  color: initial;
  border-bottom: none !important;
}
/* ツグナラコラム・ニュースのtabsここまで */

.pms-subscription-plan-description {
  font-style: normal;
  font-size: 1rem;
}

.pms-subscription-plan-description li {
  list-style: initial;
}

/* トップページ経営資源引き継ぎのスマホでのボーダー削除 */

.border-business-succession {
  border: 0;
}
@media (min-width: 922px) {
  .border-business-succession {
    border-left: 1px solid #dee2e6;
  }
}
