/* html {
  scroll-behavior: smooth;
} */

/* body {
  overflow-x: hidden;
} */

.u_img {
  display: block;
  line-height: 0;
  margin: 0;
}

.u_img * {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.l_flex {
  display: flex;
}

.l_align_C {
  align-items: center;
}

.no_wrap {
  white-space: nowrap;
}
.txt__indent {
  text-indent: -1em;
  padding-left: 1em;
}

.mt_2 {
  margin-top: 2px !important;
}
.mt_5 {
  margin-top: 5px !important;
}
.mt_6 {
  margin-top: 6px !important;
}
.mt_8 {
  margin-top: 8px !important;
}
.mt_10 {
  margin-top: 10px !important;
}
.mt_12 {
  margin-top: 12px !important;
}
.mt_15 {
  margin-top: 15px !important;
}
.mt_20 {
  margin-top: 20px !important;
}
.mt_25 {
  margin-top: 25px !important;
}

.mt_30 {
  margin-top: 30px !important;
}

.mt_40 {
  margin-top: 40px !important;
}

.mt_60 {
  margin-top: 60px !important;
}

.mr_8 {
  margin-right: 8px !important;
}

.mr_24 {
  margin-right: 24px !important;
}

.l_gap_5 {
  gap: 5px !important;
}
.l_gap_40 {
  gap: 40px !important;
}

.u_align_s {
  text-align: start !important;
}

/*-- PC --*/
.u_tbl {
  display: none !important;
}
.u_sp {
  display: none !important;
}
.u_pc {
  display: block !important;
}
@media (max-width: 768px) {
  .u_pc {
    display: none !important;
  }
  .u_sp {
    display: none !important;
  }
  .u_tbl {
    display: block !important;
  }
  .u_tbl.u_pc {
    display: block !important;
  }
}
/*-- SP --*/
@media (max-width: 480px) {
  .u_pc {
    display: none !important;
  }
  .u_tbl {
    display: none !important;
  }
  .u_sp {
    display: block !important;
  }
  .u_tbl.u_pc {
    display: none !important;
  }
  .u_sp.u_tbl {
    display: block !important;
  }
}

/* .mx_auto {
  margin-left: auto !important;
  margin-right: auto !important;
} */

/* .madrid_hull_img {
  width: 100%;
} */

.madrid_main {
  padding: 0;
  font-family: "Hiragino Kaku Gothic ProN";
}

#tmp_wrapper2 {
  background-image: none;
  background-color: #FFF;
}

.format_free .col_main {
    background-color: #FFF;
}

#tmp_contents .madrid_news_sec_list {
  list-style: none;
  margin: 0;
}

.madrid_sec {
  padding: 55px 0;
  width: 100%;
}
.madrid_news_sec,
.madrid_info_sec {
  gap: 50px;
  padding: 50px 0;
}
.madrid_news_sec_ttl {
  width: fit-content;
}

.madrid_news_sec_ttl_wrap {
  width: fit-content;
}

#tmp_contents h6 {
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 228.6%;
  font-style: normal;
  font-weight: 600;
  line-height: 153%; /* 48.96px */
  letter-spacing: 0.64px;
  margin: 0;
}

.madrid_news_sec_sub_ttl {
  color: #DF0505;
  font-family: Poppins;
  font-size: 114.3%;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.madrid_news_sec_list {
  flex: 1;
  height: 125px;
  display: flex;
  padding: 15px 16px 15px 30px;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  border-radius: 20px;
  background: #FFF;
  overflow-x: hidden;
}

#tmp_contents .madrid_news_sec_list ul {
  overflow-y: auto;
  width: 100%;
  margin: 0;
  padding-right: 7px;
  scrollbar-width: thin;
  gap: 10px;

  color: #0037FF;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 100%;
  font-style: normal;
  font-weight: 300;
  line-height: 165%; /* 23.1px */
  letter-spacing: 0.42px;
}

#tmp_contents .madrid_news_sec_list ul li {
  color: #0037FF;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 100%;
  font-style: normal;
  font-weight: 300;
  line-height: 165%; /* 23.1px */
  letter-spacing: 0.42px;
}

#tmp_contents .madrid_news_sec_list ul li + li {
  margin-top: 10px;
}

.madrid_main #tmp_contents  p {
  margin: 0;
}

.madrid_main #tmp_contents ul li, #tmp_contents ol li {
  margin: 0;
}



#tmp_contents .madrid_ttl_M {
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 171.4%;
  font-style: normal;
  font-weight: 600;
  line-height: 157%; /* 37.68px */
  letter-spacing: 0.6px;
}

#tmp_contents .madrid_txt {
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 114.3%;
  font-style: normal;
  font-weight: 300;
  line-height: 175%; /* 28px */
  letter-spacing: 0.48px;
}

#tmp_contents .madrid_link {
  position: relative;
  color: #0037FF;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 114.3%;
  font-style: normal;
  font-weight: 300;
  line-height: 175%; /* 28px */
  letter-spacing: 0.48px;
  /* display: inline-block; */
  text-decoration: none;
  width: fit-content;

  padding-left: 10px;
}

.madrid_link::before {
  content: "";
  position: absolute;
  display: inline-block;
  background-image: url(../images/icon/chevron_right.svg);
  width: 7px;
  height: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 15px;
  left: 0;
  transform: translateY(-50%);
}


/* アンカーリンク 
---------------------------------------------------------------------*/
.madrid_anchor_link_sec {
  background-color: #FFFFFF;
  /* width: 100dvw; */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.madrid_anchor_link_wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列均等 */
  gap: 10px;
  width: 960px;
  margin: 0 auto;
}

/* .madrid_anchor_link {

} */

.madrid_main #tmp_contents .madrid_anchor_link_ttl {
  color: #333;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 142.9%;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 32px */
  letter-spacing: 0.5px;
  padding: 26px 0 20px;
}

#tmp_contents .madrid_anchor_link_list {
  margin: 0;
  list-style: none;
}

.madrid_anchor_link_item {
  border-radius: 5px;
  border: 2px solid var(---, #E6E6E6);
  background: var(--gradation, linear-gradient(180deg, #FAFAFB 75%, #EEE 100%));
  position: relative;
}
.madrid_anchor_link_item a {
  display: flex;
  align-items: center;
  justify-content: start;
  height: 45px;
  padding: 10px 15px 10px 61px;
  color: #333;
  text-align: start;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 114.3%;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: 0.48px;
  text-decoration: none;

}
.madrid_anchor_link__system {
  position: relative;
}
.madrid_anchor_link__system::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  border-radius: 5px;
  border-top: 6px solid #0B5789;
}
.hague_anchor_link_item a span {
  letter-spacing: -2.4px;
}

.madrid_anchor_link__right {
  position: relative;
}
.madrid_anchor_link__right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  border-radius: 5px;
  border-top: 6px solid #A51900;
}

.madrid_anchor_link__info {
  position: relative;
}
.madrid_anchor_link__info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  border-radius: 5px;
  border-top: 6px solid #CDA114;
}

.madrid_anchor_link__support {
  position: relative;
}
.madrid_anchor_link__support::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  border-radius: 5px;
  border-top: 6px solid #285E50;
}

.madrid_main #tmp_contents .madrid_anchor_link_item + .madrid_anchor_link_item {
  margin-top: 10px;
}

.madrid_anchor_link_item::after {
  content: "";
  position: absolute;
  display: inline-block;
  background-image: url(../images/icon/chevron_down.svg);
  width: 10px;
  height: 5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

/* 共通の疑似要素スタイル */
.madrid_anchor_link_item_icon::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
}

/* 各アイコン指定 */
.program_overview__icon::before {
  background-image: url(../images/icon/madrid_program_overview_icon.svg);
}
.benefits__icon::before {
  background-image: url(../images/icon/madrid_benefits_icon.svg);
}
.application_flow__icon::before {
  background-image: url(../images/icon/madrid_application_flow_icon.svg);
}
.text__icon::before {
  background-image: url(../images/icon/madrid_text_icon.svg);
}
.video__icon::before {
  background-image: url(../images/icon/madrid_video_icon.svg);
}


.application_process__icon::before {
  background-image: url(../images/icon/madrid_japan_filing.svg);
}
.search__icon::before {
  background-image: url(../images/icon/madrid_search.svg);
}
.wipo_filing__icon::before {
  background-image: url(../images/icon/madrid_wipo_filing.svg);
}
.management__icon::before {
  background-image: url(../images/icon/madrid_management.svg);
}
.fee__icon::before {
  background-image: url(../images/icon/madrid_fee.svg);
}


.faq__icon::before {
  background-image: url(../images/icon/madrid_faq.svg);
}
.wipo_news__icon::before {
  background-image: url(../images/icon/madrid_wipo_news.svg);
}
.contracting_states__icon::before {
  background-image: url(../images/icon/madrid_contracting_states.svg);
}
.treaties_laws_regulations__icon::before {
  background-image: url(../images/icon/madrid_treaties_laws_regulations.svg);
}


.consultation__icon::before {
  background-image: url(../images/icon/madrid_consultation.svg);
}
.support__icon::before {
  background-image: url(../images/icon/madrid_support.svg);
}

/* ------------------------------------------------------ */


/* メイン
--------------------------------------------------------- */
.interview_main_sec + .interview_main_sec {
  margin-top: 40px;
}

.interview_main_sec__system {
  /* padding: 40px 0; */
  position: relative;
  /* margin-top: 60px; */
}

/* .madrid_main_sec__system::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 6px;
  border-radius: 5px;
  background: #0B5789;
} */
.interview_main_cont {
  background-color: #FFFFFF;
  padding-bottom: 30px;
}

.interview_main {
  padding: 0;
  font-family: "Hiragino Kaku Gothic ProN";
}

.interview_main_cont_inr:last-child {
  padding-bottom: 0px;
}

.interview_main_cont_inr {
  padding-top: 60px;
  padding-bottom: 60px;
}

.interview_main_cont_inr + .interview_main_cont_inr {
  position: relative;
  border-top: 2px solid #F6F6F5;
}

.interview_main_cont_inr + .interview_main_cont_inr::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 2px;
  background: #0B5789;
}

#tmp_contents .interview_top_wrap {
  display: flex;
}

#tmp_contents .interview_top_ttl {
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 157.1%;
  font-style: normal;
  font-weight: 600;
  line-height: 146%; /* 32.12px */
  letter-spacing: 0.33px;

  margin: 0px;
  padding: 0px;
  border-left: none;
  clear: none;
}

a:link.interview_text_link {
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 114.3%;
  font-style: normal;
  font-weight: 300;
  line-height: 175%;
  letter-spacing: 0.48px;
}

#tmp_contents .interview_top_logo_img {
  margin: 0px;
  padding: 32px 0px ;
}
#tmp_contents .interview_top_logo_img img {
  max-width: 240px;
}

#tmp_contents .interview_top_img {
  max-width: 48.958%;
}

#tmp_contents .interview_top_name {
display: inline-flex;
flex-direction: column;
}

#tmp_contents .interview_top_txt {
  color: #FFF;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 142.9%;
  height: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 32px */
  letter-spacing: 0.5px;
  display: flex;
  padding: 2px 6px;
  align-items: center;
  gap: 10px;
  background-color: #0B5689;
  display: inline;
  margin: 0px;
}

#tmp_contents .interview_top_txt__name {
  padding: 2px 12px;
  align-items: flex-start;
  color: var(---, #FFF);

  /* Hiragino Kaku Gothic ProN/body/W6/xl */
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 128.6%;
  font-style: normal;
  font-weight: 600;
  line-height: 168%; /* 30.24px */
  letter-spacing: 0.54px;
}

#tmp_contents .interview_top_sub_txt {
  color: #0B5689;
  /* Hiragino Kaku Gothic ProN/label/W6/sm */
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 100%;
  font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 14px */
  letter-spacing: 0.42px;
  display: flex;
  padding: 4px 4px 3px 4px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #0B5689;
  border-right: 1px solid #0B5689;
  border-left: 1px solid #0B5689;
  display: inline;
  margin: 0px;
  width: fit-content;
}

#tmp_contents .interview_ttl {
  color: var(---, #0B5789);

  /* Hiragino Kaku Gothic ProN/heading/xl */
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 200%;
  font-style: normal;
  font-weight: 600;
  line-height: 157%; /* 43.96px */
  letter-spacing: 0.56px;
}

.interview_media_wrap {
  display: grid;
  gap: 30px;
}

.interview_media_wrap__right_layout {
  grid-template-columns: auto 36.45%;
}

.interview_media_wrap__left_layout {
  grid-template-columns: 36.45% auto;
}

.L_shaped_layout figure {
  float: right;
  margin: 0 30px 30px 0px;
  width: 36.45%;
}

#tmp_contents .interview_media_txt {
  color: var(---, #333);

  /* Hiragino Kaku Gothic ProN/body/W3/lg */
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 114.3%;
  font-style: normal;
  font-weight: 300;
  line-height: 175%; /* 28px */
  letter-spacing: 0.48px;
  flex: 1;
}

#tmp_contents .interview_media_txt p {
  margin: 0;
}
#tmp_contents .interview_media_txt p + p {
  margin-top: 30px;
}
/* .interview_media_img_wrap {
  width: 36.45%;
} */

.interview_media_2img {
  display: flex;
  gap: 30px;
}
.interview_media_2img figure {
  width: 50%;
}

.interview_media_wrap__future {
  gap: 30px;
}

.interview_media_3img {
  display: grid;
  grid-template-columns: 440px 190px 290px;
  gap: 20px;
}

.interview_footer_wrap {
  display: grid;
  gap: 30px;
  align-items: center;
  grid-template-columns: auto 33%;
}

.interview_footer {
  border-radius: 8px;
  border: 1px solid var(--White-100, #FFF);
  background: #F2F7FA;

  padding: 16px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
}

#tmp_contents .interview_footer_list {
  list-style: none;
  margin: 8px 0 0 0;
}

#tmp_contents .interview_footer_list li {
  position: relative;
  margin: 0 0 0 16px;

  color: var(---, #53565A);
  /* Hiragino Kaku Gothic ProN/body/W3/lg */
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 114.3%;
  font-style: normal;
  font-weight: 300;
  line-height: 175%; /* 28px */
  letter-spacing: 0.48px;
}

#tmp_contents .interview_footer_list li::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 14px; 
  width: 3px;  /* ドットの大きさ */
  height: 3px; /* ドットの大きさ */
  background-color: #333; /* ドットの色 */
  border-radius: 50%;
}

.interview_footer_ttl {
  color: var #53565A;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 128.6%;
  font-style: normal;
  font-weight: 600;
  line-height: 168%; /* 30.24px */
  letter-spacing: 0.54px;
}

.interview_footer_txt {
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 100%;
  font-style: normal;
  font-weight: 300;
  line-height: 165%; /* 23.1px */
  letter-spacing: 0.42px;
}

#tmp_contents .interview_media_txt .interview_footer_list  p + p {
    margin-top: 0px;
}

/* .interview_footer_img_wrap {
  width: 33%;
} */

a:link.page_top_link_btn {
  position: fixed;
  bottom: 20px;
  right: 0px;
  z-index: 999;
  display: inline-flex;
  padding: 10px 8px 6px 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background-color: #0040B5;
  text-decoration: none; /* 下線消す */
}

.page_top_link {
  color: #FFF;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 100%;
  font-weight: 300;
  line-height: 165%;
  letter-spacing: 0.42px;
  padding-top: 15px;
}
.page_top_link::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 15px;
  height: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 17px;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(../images/icon/madrid_up_arrow.svg);
}



/* tbl 
---------------------------------------------------------*/

@media (max-width:768px) {

  .mt_0_md {
    margin-top: 0 !important;
  }
  .mt_30_md {
    margin-top: 30px !important;
  }

  
  #tmp_contents .interview_top_wrap {
    flex-direction: column;
  }

  #tmp_contents .interview_top_img {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .interview_media_3img {
    grid-template-columns: repeat(2, 1fr);
  }
  .interview_media_3img > :first-child {
    grid-column: 1 / -1;
  }
}


/* SP
----------------------------------------------------------- */
@media (max-width:480px) {
  .mt_0_sm {
    margin-top: 0px !important;
  }
  .mt_5_sm {
    margin-top: 5px !important;
  }
  .mt_10_sm {
    margin-top: 10px !important;
  }
  .mt_20_sm {
    margin-top: 20px !important;
  }
  .mt_30_sm {
    margin-top: 30px !important;
  }
  .mt_40_sm {
    margin-top: 40px !important;
  }
  .mt_60_sm {
    margin-top: 60px !important;
  }
  .l_align_S_sm {
    text-align: start !important;
  }

  .l_directionColumn_sm {
    flex-direction: column !important;
  }



  #tmp_wrapper3 {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
  }
  .interview_main_cont_inr {
    padding-top: 30px;
    padding-bottom: 60px;
  }

  .interview_main_cont_inr + .interview_main_cont_inr {
    position: relative;
    padding-top: 60px;
    border-top: 2px solid #F6F6F5;
  }

  #tmp_contents .interview_top_img {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .interview_media_wrap {
    grid-template-columns: 1fr;  /* 1列に */
  }

  /* 画像は常に上へ */
  .interview_media_img_wrap {
    order: -1;
  }

  .interview_media_2img {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .interview_media_txt {
    order: 2;
  }

  .interview_media_2img {
    order: 1;
  }

  .interview_footer_wrap {
    grid-template-columns: 1fr;  /* 1列に */
  }

  .interview_media_2img figure {
    width: 100%;
  }
  .L_shaped_layout figure {
    float: none;
    margin: 0;
    width: 100%;
  }
}
