@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');


/*共通
----------------------------*/
.page_subsidies{
  font-family: "Noto Sans JP", sans-serif;
}

.emphasis_munber{
  font-size: 40px;
}

p{
  color: #333;
  line-height: 1.8;
}

.emphasis_orange{
  color: #F27E4D;
}

.emphasis_underline{
  border-bottom: 3px solid #35D4FF;
}

.emphasis_underline.emphasis_orange{
   border-bottom: 3px solid #F27E4D;
}

section{
  padding: 60px 0;
}
@media (max-width: 768px){
  section{
    padding: 40px 0;
  }
}
@media (max-width: 500px){
  section{
    padding: 30px 0;
  }
}

.link_color{
  color: #014C92;
  transition: 0.3s ease;
  text-decoration: underline;
}

a.link_color:hover{
  opacity: 0.8;
  text-decoration: none;
}

/* 表示非表示 PC、SP出し分け */
.pc_only,
.pc_more_only{
	display: block !important;
}

.tb_only,
.sp_only{
  display: none !important;
}

@media screen and (min-width: 767px) and (max-width: 1200px){
  .pc_more_only{
    display: none !important;
  }
  .tb_only{
    display: block !important;
  }
}

@media (max-width: 768px){
	.pc_only,
  .pc_more_only,
  .tb_only{
		display: none !important;
	}
	.sp_only{
		display: block !important;
	}
  .sp_ta_l{
    text-align: left !important;
  }
}

/* 全幅用リセット */
.page_subsidies{
  padding: 0;
}

.page_subsidies #contents, 
.page_subsidies .inner{
  max-width: none;
  width: 100%;
  margin-bottom: 0;
}

.page_subsidies #contact{
  display: none;
}

.page_subsidies .subsidies_content-size,
.page_subsidies #locator_template_c2 .inner{
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3%;
  box-sizing: content-box;
}

.page_subsidies #locator_template_c2{
  padding: 0 3%;
  box-sizing: content-box;
  width: auto;
}

.page_subsidies #locator_template_c2{
  padding: 12px 3%;
}

.subsidies_content-size_large{
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3%;
  box-sizing: content-box;
}

@media (max-width: 768px){
  .page_subsidies .subsidies_content-size,
  .page_subsidies #locator_template_c2,
  .subsidies_content-size_large{ 
    padding: 0 5%;
  }
  .page_subsidies #locator_template_c2 .inner {
   padding: 8px 0;
  }
}

/* img装飾リセット */
.page_subsidies img{
  border-radius: 0px;
  box-shadow: none;
}


/* 見出し */
.title_typeA {
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 900;
  text-align: center;
  color: #014C92;
  position: relative;
  padding-bottom: 15px;
  margin-top: 0;
  margin-bottom: 40px;
  line-height: 1.4;
}

.title_typeA::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #014C92;
}

@media (max-width: 768px){
  .title_typeA{
    margin-bottom: 25px;
  }
}

.title_typeB {
  background: linear-gradient(90deg, #0AD4FF 0%, #014C92 100%);
  color: #fff;
  font-weight: 900;
  text-align: center;
  font-size: clamp(18px, 2.5vw, 24px);
  padding: 15px 20px;
  border-radius: 10px;
  margin: 40px auto;
  line-height: 1.5;
}

.title_typeC {
  font-size: clamp(24px, 5vw, 30px);
  color: #014C92;
  background-color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 900;
  border-radius: 10px;
  padding: 20px;
}

.title_typeC span {
  font-size: clamp(14px, 2vw, 18px);
  display: block;
}

/* ボタン */
.btn{
  display: table;
  margin: 0 auto;
  background: linear-gradient(90deg, #0AD4FF 0%, #014C92 100%);
  padding: 12px 40px;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  transition: 0.3s ease;
}

.btn:hover{
  text-decoration: none;
  color: #fff;
  opacity: 0.6;
}



/* カード型デザイン */
.card_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card_item {
  background: #fff;
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card_item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.card_item h3 {
  font-size: 16px;
  color: #014C92;
  text-align: center;
  padding: 15px 10px 5px;
  margin: 0;
  line-height: 1.4;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_item p {
  font-size: 13.5px;
  padding: 0 15px 20px;
  margin: 0;
  color: #333;
  text-align: left;
  text-align: justify;
}

@media (max-width: 768px) {
  .card_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .card_item::before {
    font-size: 40px;
  }
}
@media (max-width: 480px) {
  .card_list {
    grid-template-columns: 1fr;
  }
}




/*KV
----------------------------*/
.subsidies_kv img{
  margin-top: 0;
}


/*KV下
----------------------------*/
.kv_info {
  background-color: #014C92;
  display: flex;
  padding: 15px 20px;
  border-radius: 10px;
  gap: 20px;
  z-index: 1;
  position: relative;
  margin-top: -100px;
  margin-bottom: 60px;
}
/* エディタ内でのみ適用されるスタイル */
#tinymce.mce-content-body .kv_info {
  margin-top: 0 !important;
}
#tinymce.mce-content-body {
  padding-top: 50px;
}

.kv_info_item {
  background-color: #fff;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.kv_info_item p:first-of-type{
  color: #014C92;
  font-weight: bold;
}

.kv_info_item p:last-of-type span{
  font-weight: bold;
}

.br_kv_info_item{
  display: none;
}

@media (max-width: 1400px) and (min-width: 1009px){
  .br_kv_info_item{
    display: block;
  }
}

.kv_info_text p{
  color: #fff;
}

.kv_info_text p:first-of-type {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.06em;
  border-bottom: 4px solid #35D4F6;
  line-height: 0.6;
  padding-bottom: 13px;
  margin-bottom: 5px;
}

@media (max-width: 1008px){
  .kv_info {
    flex-direction: column;
    margin-top: -50px;
    gap: 15px;
  }
  .kv_info_text {
    order: 1;
    margin-bottom: 10px;
  }
  .kv_info_item:nth-of-type(1) {
    order: 2;
  }
  .kv_info_item:nth-of-type(2) {
    order: 3;
  }
  .kv_info_item:nth-of-type(3) {
    order: 4;
  }
  .kv_info_item {
    width: 100%;
    box-sizing: border-box;
  }
  .kv_info_text p{
    display: table;
    margin: 0 auto;
  }
  .kv_info_text p:last-of-type {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
  }
}


/*販売店・営業マンの課題
----------------------------*/
.subsidies_problem{
  background-color: #F0F8FF;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .subsidies_problem{
    padding-bottom: 40px;
  }
}

.problem_item {
  display: flex;
  align-items: stretch;
  gap: 15px;
  margin-bottom: 25px;
  padding-left: 30px; 
}

.problem_item:last-of-type{
  margin-bottom: 0;
}

.problem_header {
  flex: 0 0 260px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 20px 20px 20px 45px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: relative;
}

.problem_icon {
  background-color: #014C92;
  width: 66px; 
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -33px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 2;
}

.problem_icon img {
  width: 35px;
  height: auto;
}

.problem_title {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.problem_body {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 12px 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.problem_body span{
  color: #014C92;
  font-weight: bold;
}

@media (max-width: 768px) {
  .problem_item {
    flex-direction: column;
    padding-left: 0;
    margin-top: 50px;
    gap: 3px;
  }
  .problem_header {
    flex: none;
    width: 100%;
    padding: 45px 20px 20px 20px;
    justify-content: center;
    text-align: center;
    border-radius: 10px 10px 0 0;
    box-shadow: none;
  }
  .problem_icon {
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
  }
  .problem_body {
    width: 100%;
    padding: 20px;
    text-align: left;
    justify-content: center;
    border-radius: 0 0 10px 10px;
    margin-top: -30px;
  }
}


/*ヤナギサワの補助金支援の 5 つのポイント
----------------------------*/
.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 35px 65px 0 65px;
  border-color: #35D4FF transparent transparent transparent;
  margin: 30px auto;
  margin-top: 0;
}
@media (max-width: 768px) {
  .triangle {
    border-width: 20px 40px 0 40px;
    margin: 20px auto;
    margin-top: 0;
  }
}

.subsidies_point .emphasis_orange{
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 900;
  display: table;
  margin: 0 auto;
  margin-bottom: 60px;
}

.subsidies_point .title_typeB{
  line-height: 1;
  padding-top: 13px;
  padding-bottom: 20px;
}

.card_list.point_list{
  row-gap: 40px; 
}

.card_list.point_list {
  counter-reset: point-counter;
}

.card_list.point_list .card_item::before {
  counter-increment: point-counter;
  content: counter(point-counter);
  position: absolute;
  top: -30px;
  left: 15px; 
  font-size: 60px; 
  font-weight: 900;
  color: #014C92;
  z-index: 10;
  line-height: 1;
}


/*専門家チームが強力に後押しします！
----------------------------*/
.subsidies_figure{
  background-color: #F0F7FF;
}

.subsidies_figure .title_typeA span{
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  margin-bottom: 5px;
  display: inline-block;
}

.subsidies_figure img{
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
}



/*ヤナギサワが提供する「測定機 × 補助金」総合支援
----------------------------*/
.subsidies_service {
  background-color: #014C92;
}

.card_list.service_list {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service_card {
  height: 100%;
  flex-direction: row;
  align-items: center;
  padding: 45px 30px;
  overflow: visible;
}

.service_icon {
  flex: 0 0 100px;
  height: 100px;
  background-color: #014C92;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.service_icon img {
  width: 55px;
  height: auto;
  border-radius: 0;
}

.service_icon_small img {
  width: 45px;
}

.service_text {
  flex: 1;
}

.service_text h3 {
  text-align: left;
  padding: 0 0 5px 0;
  min-height: auto;
  justify-content: flex-start;
}

.service_text p {
  padding: 0;
  font-size: 13px;
}

@media (max-width: 768px) {
  .card_list.service_list {
    grid-template-columns: 1fr;
    gap: 10px; 
  }
  .service_card {
    flex-direction: column;
    align-items: center; 
    text-align: center;
    padding: 30px 20px;
    gap: 15px;
  }
  .service_icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .service_icon img {
    width: 45px;
  }
  .service_icon_small img {
    width: 35px;
  }
  .service_text h3 {
    text-align: center;
    justify-content: center;
  }
}


/*主要補助金の紹介
----------------------------*/
.major_subsidy_contents h3 {
  font-size: clamp(18px, 2.5vw, 20px);
  color: #014C92;
  border-bottom: 3px solid #014C92;
  padding-bottom: 2px;
  font-weight: 900;
  margin-bottom: 10px;
}

.major_subsidy_contents {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  margin-top: 50px;
  margin-bottom: 30px;
}

.major_subsidy_contents p{
  line-height: 1.8;
}

.accent-circle {
  position: absolute;
  top: -30px;
  left: -30px;
  background-color: #F27E4D;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.accent-circle p {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  margin: 0;
}
@media (max-width: 1200px) {
  .accent-circle{
    left: -10px;
    width: 110px;
    height: 110px;
  }
  .accent-circle p{
    font-size: 16px;
  }
}

.major_subsidy_contents img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-top: 0;
  margin-bottom: 0;
}

.major_subsidy_contents .major_subsidy_contents_list {
  background-color: #F5F8FB;
  padding: 25px;
  border-radius: 15px;
  margin-top: 18px;
}

.major_subsidy_contents .major_subsidy_contents_list h4 {
  color: #014C92;
  font-size: 18px;
  margin-bottom: 10px;
}

.major_subsidy_contents ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.major_subsidy_contents ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

.major_subsidy_contents ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #014C92;
  font-weight: bold;
}

@media (max-width: 768px) {
  .major_subsidy_contents {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    row-gap: 0px;
    margin-top: 70px;
  }
  .major_subsidy_contents_text {
    display: contents; 
  }
  .major_subsidy_contents_text h3 {
    order: 1;
    margin-bottom: 20px;
    padding-top: 35px;
  }
  .major_subsidy_contents_img {
    order: 2;
    margin-bottom: 12px;
  }
  .major_subsidy_contents_text > p {
    order: 3;
    margin-bottom: 12px;
  }
  .major_subsidy_contents .major_subsidy_contents_list {
    order: 4;
    margin-top: 0;
  }
  .accent-circle {
    width: 90px;
    height: 90px;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
  .accent-circle p {
    font-size: 14px;
  }
}

.other_subsidy_contents h3{
  text-align: center;
  background-color: #014C92;
  color: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 5px;
}

.other_subsidy_contents h4{
  text-align: center;
  color: #014C92;
  margin: 0;
}
.other_subsidy_contents .card_list{
  margin-bottom: 5px;
  align-items: stretch;
}

.other_subsidy_contents .card_list a {
  display: flex;
  text-decoration: none;
}

.other_subsidy_contents .card_item{
  padding: 20px;
  padding-bottom: 45px;
  justify-content: space-around;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.other_subsidy_contents .card_item p{
  padding: 0;
  padding-top: 5px;
}

.other_subsidy_contents .card_link_icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45px;
  height: 35px;
  background: linear-gradient(90deg, #0AD4FF 0%, #014C92 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  border-top-left-radius: 10px;
  transition: all 0.3s ease;
}

.other_subsidy_contents .card_list a:hover .card_link_icon {
  transform: scale(1.1);
}

.other_subsidy_contents .card_list a:hover .card_item{ 
  opacity: 0.8;
}




/*補助金で購入できる、対象の測定機械
----------------------------*/
.subsidies_example{
  background-color: #F0F7FF;
}

.subsidies_example .title_typeB{
  margin-bottom: 20px;
  background: #014C92;
  border-radius: 100px;
}

.subsidies_example .example_list:first-of-type{
  margin-bottom: 60px;
}

.subsidies_example .card_list{
  margin-bottom: 20px;
}

.subsidies_example .card_list .btn{
  margin-bottom: 50px;
}

.subsidies_example .example_list_item{
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.subsidies_example .example_list_item img{
  width: 220px;
}

.subsidies_example .example_list_item h4{
  color: #014C92;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

.subsidies_example .example_list_item p{
  text-align: center;
}

.subsidies_example .example_list_item p span{
  font-size: 12px;
  color: #727272;
}



/*カタログ注文型 申請の流れ
----------------------------*/
.flow_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 80px 0 20px;
}

.flow_item {
  background: #fff;
  border-radius: 10px;
  padding: 55px 20px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
}

.flow_item span:not(.step_num) {
  font-size: 12px;
}

.flow_item h3 {
  color: #014C92;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.step_num {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(90deg, #0AD4FF 0%, #014C92 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 5px solid #fff;
  z-index: 2;
  line-height: 1;
}

.step_num::before {
  content: "STEP";
  font-size: 13px;
  font-weight: 700;
}

.step_num {
  font-size: 30px;
  font-weight: 600;
}

.flow_item img {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
  object-fit: contain;
}

.flow_item p {
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.flow_item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 0 25px 18px;
  border-color: transparent transparent transparent #0AD4FF;
  z-index: 5;
}

@media (max-width: 768px) {
  .flow_list {
    grid-template-columns: 1fr;
    gap: 100px;
  }
  .flow_item:not(:last-child)::after {
    top: auto;
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    border-width: 18px 25px 0 25px;
    border-color: #0AD4FF transparent transparent transparent;
  }
}

.flow_footer a{
  color: #014C92;
  transition: 0.3s ease;
  font-weight: bold;
}

.flow_footer a:hover{
  opacity: 0.8;
  text-decoration: none;
}



/*お知らせ・補助金情報
----------------------------*/
.subsidies_news{
  background-color: #F0F7FF;
}

.subsidies_news h2{
  color: #014C92;
  font-weight: 900;
  font-size: clamp(24px, 5vw, 30px);
  margin-bottom: 20px;
  margin-top: 0;
}

.subsidies_news .rss_date{
  color: #727272;
}

.subsidies_news .dlb_rss{
  margin-bottom: 20px;
}

.subsidies_news .dlb_rss dl{
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid #ccc;
  border-top: none;
}

.subsidies_news .btn{
  margin: 0;
  margin-left: auto;
}

.subsidies_news .dlb_media_txt,
.subsidies_news .dlb_media_cate{
  display: none;
}

.subsidies_news .dlb_media_right{
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.subsidies_news .dlb_media_time {
  font-size: 16px;
  margin-bottom: 0px;
}

.subsidies_news .dlb_media_block:hover{
  text-decoration: none;
  opacity: 0.8;
}

.subsidies_news .dlb_media_title{
  margin: 0;
  font-weight: 500;
}

.subsidies_news .dlb_media_block:hover .dlb_media_title{
  color: #014C92;
}

@media (max-width: 768px) {
  .subsidies_news .btn{
    margin: 0 auto;
  }
  .subsidies_news h2{
    margin-bottom: 20px;
  }
  .subsidies_news .dlb_rss{
    margin-top: 0;
  }
  .subsidies_news .dlb_media_right{
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .subsidies_news .dlb_media_time{
    font-size: 14px;
  }
}


/*販促用チラシサンプルバナー
----------------------------*/
.subsidies_flyer_img {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  margin-bottom: 10px;
}

.subsidies_flyer_img img{
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.subsidies_flyer_img:hover {
  transform: translateY(-5px);
  border-radius: 10px;
}

.subsidies_flyer_img:hover img{
  opacity: 1;
}

.subsidies_flyer_img:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


/*CTA
----------------------------*/
.subsidies_cta h2,
.subsidies_cta p,
.subsidies_cta .cta_btn{
  color: #fff;
}

.subsidies_cta h2{
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 900;
  margin-bottom: 10px;
}

.subsidies_cta .cta_btn{
  display: table;
  margin: 0 auto;
  background-color: #0AD4FF;
  border-radius: 60px;
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 900;
  padding: 24px 80px;
}

.subsidies_cta .cta_btn:hover{
  text-decoration: none;
  transform: scale(1.08);
  color: #014C92;
  background: #fff;
}

@media (max-width: 450px){
  .subsidies_cta .cta_btn{
    padding: 24px 40px;
  }
}