@charset "utf-8";
/* CSS Document */
/* 青の色コード
#1565C0 濃い
#00B8D4　薄い
*/
:root {
  --theme_main: #ac4846;
  --theme_sub: #ff8a8a;
}

html {
  scroll-behavior: smooth;
}
/* ユーザーがアニメーションを減らす設定にしている場合は、一瞬で移動させる */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body { height: auto; }

body, body p {
  font-family: "Noto Sans JP", YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
}

a {
  text-decoration: none;
}

.contents {
  color: #333;
  margin: 0 auto;
  width: 750px;
}

.l_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  &:has(div:not([class])) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }

  > div:not([class]) {
    display: flex;
  }
}

.l_trend_word_lineup_flex {
  display: flex;
  gap: 20px;
  /* justify-content: center; */
}

.m_heading_ttl {
  margin-bottom: 27px;

  img {
    height: auto;
    max-width: 100%;
  }
}
.m_heading_ttl_img {}

.m_heading_copy_wrap {
  background-color: #f8eeee; /* #EEF5F8 */
  border-radius: 20px;
  font-size: 16px;
  margin-bottom: 40px;
  padding: 25px 45px;
}
.m_heading_copy_img {}

.m_heading_copy_ttlMain {
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0;
  padding-right: 3px;
}

.m_heading_copy_msg {
  line-height: 1.6;
  margin-top: 10px;
}

.m_trend_word_lineup {
  margin-bottom: 30px;
  text-align: center;
}

.m_trend_word_lineupTtl {
  color: var(--theme_main);
  font-size: 18px;
  font-weight: 900;
}

.u_mr18 {
  margin-left: 18px;
}

.m_trend_word_lineup_wrap { flex: 1 0 50%; }

.m_trend_word_lineup_item_wrap {
  list-style: none;
  /* margin: 0 50px; */
}

.m_trend_word_lineup_item {
  --txt_indent: 32px;

  margin-bottom: 10px;
  min-width: 185px;
  padding-left: var(--txt_indent);
  text-indent: calc(-1 * var(--txt_indent));
}

.m_trend_word_lineup_item::before {
  background-color: var(--theme_main);
  content: "";
  display: inline-block;
  height: 17px;
  margin-right: 10px;
  mask-image: url("/resource/img/dougahyakkaten/douga_legal_reform/icon_loupe.svg");
  /* mask-image: url("/resource/img/icons/icon_health.svg"); */
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  vertical-align: middle;
  width: 17px;
}

.m_trend_word_lineup_link {
  border-bottom: 1px solid var(--theme_main);
  color: var(--theme_main);
  font-size: 19px;
  font-weight: bold;
  line-height: 1.6;

  + span {
    display: block;
    font-size: 0.8em;
    margin-left: var(--txt_indent);
  }
}

.m_trend_word_lineup_link:hover {
  /* color: #EC6D5A;
  border-bottom: 1px solid #EC6D5A; */
  opacity: 0.6;
  transition: .3s;
}

.l_trend_word_wrap {
  border-bottom: 6px solid;
  border-image: linear-gradient(to right, var(--theme_main) 0%, var(--theme_sub) 100%);
  border-image-slice: 1;
  padding-bottom: 40px;
}

.l_section {
  padding-bottom: 40px;
}

.l_section_detail_wrap {
  flex-basis: auto;
  width: 100%;
}

.m_border_gradient {
  border-bottom: 6px solid;
  border-image: linear-gradient(to right, var(--theme_main) 0%, var(--theme_sub) 100%);
  border-image-slice: 1;
  font-size: 16px;
}

.l_trend_word_ttl_grid {
  display: flex;
  justify-content: left;
}

.m_trend_word_ttl_wrap {
  align-items: center;
  margin-bottom: 20px;
  margin-left: 55px;
  margin-top: 25px;
}

.m_trend_word_ttl_img_wrap {
  line-height: 2.2;
  position: relative;
}

.m_trend_word_ttl_img_wrap::before {
  background-color: var(--theme_main);
  background-image: linear-gradient(to right, var(--theme_main) 0%, var(--theme_sub) 100%);
  /* background-image: url("/resource/img/dougahyakkaten/douga_legal_reform/icon_keywords.png"); */
  content: "";
  height: 38px;
  left: -55px;
  mask-image: url("/resource/img/dougahyakkaten/douga_legal_reform/icon_keywords.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  position: absolute;
  top: 0;
  width: 38px;
}

.m_trend_word_ttl_main {
  color: var(--theme_main);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.m_trend_word_slash {
  background-color: var(--theme_main);
  background-repeat: no-repeat;
  display: inline-block;
  margin: 0 15px 0 30px;
  mask-image: url("/resource/img/dougahyakkaten/douga_legal_reform/legal_slash.png");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 18px;
}

.m_trend_word_ttl {
  align-self: center;
  color: var(--theme_main);
  font-size: 18px;
  font-weight: bold;
  padding: 0 15px;
}

.m_trend_word_overview {
  border: 4px double var(--theme_main);
  line-height: 1.6;
  margin-bottom: 25px;
  padding: 25px;
}

.m_trend_word_overview_tag {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;

  > span {
    background-color: var(--theme_main);
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    font-weight: bold;
    margin-right: 10px;
    padding: 0.2em 0.5em;
  }
}

.m_trend_word_overview_point {
  border: 2px dashed var(--theme_main);
  margin-block: 20px;
  padding: 10px 20px;
  
  > p {
    color: var(--theme_main);
    font-weight: bold;
  }

  > ul {
    > li {
      display: flex;

      &::before {
        content: "\30FB"; /* ・ */
        display: block;
      }
    }
  }
}


.m_trend_word_overview_link {
  margin-top: 10px;
}

.m_trend_word_overview_linkMain::before {
  background-color: var(--theme_main);
  content: "";
  display: inline-block;
  height: 18px;
  mask-image: url("/resource/img/dougahyakkaten/douga_legal_reform/icon_arrow.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  padding-right: 10px;
  vertical-align: -2px;
  width: 10px;
}

.m_trend_word_overview_linkMain {
  color: var(--theme_main);
  display: inline-block;
  text-decoration: underline;
}

.m_trend_word_overview_linkMain:hover {
  opacity: 0.6;
  transition: .3s;
}

.l_section_item {
  /* background-color: #EEEFF2;
  border-radius: 5px;
  padding: 30px; */
}

.l_section_item + .l_section_item {
  margin-top: 25px;
}

.l_item_header_wrap {
  justify-content: left;
  margin-bottom: 20px;
}

.l_item_header_strings_wrap {
  display: flex;
  flex-wrap: wrap;
}

.m_item_header_img_wrap {
  height: 68px;
  min-width: 115px;
}

.m_item_header_ttl {
  align-self: center;
  display: flex;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-left: 15px;
}

.m_item_header_footnote {
  align-self: center;
  color: #808080;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-left: auto;
  padding-left: 10px;
  text-align: right;
}

.m_card_wrap {
  background-color: #fff;
  border: 1px solid #B3B3B3;
  box-shadow: 4px 4px 8px #ccc;
  box-sizing: border-box;
  color: #1A1A1A;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
  transition: .3s opacity;
  /* width: 232px; */
  width: 100%;

  .m_card__tabs { margin-top: auto; }
}


.m_card_wrap:hover {
  opacity: 0.7;
}

.m_card_img {
  height: 76px;
  margin-bottom: 20px;
  width: 190px;
}

.m_card_styleType_and_time {
  display: flex;
  justify-content: space-between;
}

.m_card_styleType {
  background-color: #D66363;
  color: #fff;
  font-size: 0.78rem;
  padding: 5px 10px;
  text-align: center;
}

.m_card_time {
  font-size: 0.6rem;
}

.m_card_time::before {
  content: url("https://www.insource.co.jp/resource/img/trend_word/e-learning_time.png");
  height: 15px;
  line-height: 0;
  margin-right: 2px;
  vertical-align: -3px;
  width: 15px;
}

.m_card_ttl {
  font-weight: bold;
  letter-spacing: 0;
  line-height: 1.6;
  margin: 8px 0 16px;
}

.m_card_buyType {
  border: 1px solid;
  border-radius: 40px;
  font-size: 0.68rem;
  line-height: 1;
  margin: 2px;
  padding: 4px 8px;
}

.l_card_buyType_wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: -2px;
}

.m_detail_info_wrap {
  align-items: center;
  display: flex;
  justify-content: left;
  margin-bottom: 10px;
}

.m_detail_info_ttl {
  background-color: #fff;
  margin: 0 30px;
  min-width: 120px;
  padding: 5px 10px;
  text-align: center;
}

.m_detail_ttl {
  font-weight: normal;
  margin: 20px 0 10px 30px;
}

.m_detail_ttl::before {
  content: url("https://www.insource.co.jp/resource/img/dougahyakkaten/douga_legal_reform/icon_movie.png");
  height: 36px;
  line-height: 0;
  margin-right: 10px;
  vertical-align: -12px;
  width: 37px;
}

.m_detail_contents {
  line-height: 1.6;
  margin-left: 30px;
}

.m_btn_link_wrap {
  background-color: var(--theme_main);
  border-radius: 7px;
  box-shadow: 5px 5px #fff;
  font-size: 0.875rem;
  margin: 40px auto;
  margin-bottom: 0;
  text-align: center;
  width: 400px;
}

.m_btn_link_wrap:hover {
  box-shadow: none;
  text-decoration: none;
  transform: translate(2px, 2px);
  transition: .3s
}

.m_btn_link_target {
  color: #fff;
  display: block;
  padding: 15px;
}

.m_recomend_link_wrap {
  background-color: #fff;
  border-radius: 7px;
  line-height: 1.6;
  margin-top: 40px;
  padding: 15px 35px;
}

.m_recomend_link_ttl {
  color: var(--theme_main);
  font-weight: bold;
}

.m_recomend_link_item_wrap {
  list-style: none;
  margin-left: 5px;
}

.m_recomend_link_item {
  margin-bottom: 10px;
  margin-top: 10px;
  padding-left: 18px;
  text-indent: -18px;
}

.m_recomened_link_item_target {
  color: #000;
}

.m_recomened_link_item_target:hover {
  opacity: 0.6;
  transition: .3s;
}

.m_recomened_link_item_target::before {
  content: url("/resource/img/dougahyakkaten/douga_legal_reform/icon_arrow.svg");
  height: 18px;
  padding-right: 10px;
  vertical-align: -2px;
}

/* 2026/09/01 関連サービス */
.m_trend_word_serviceLink {
  margin-top: 10px;
}

.m_trend_word_serviceLink__item {
  & + & { margin-top: 3px; }
}

.m_trend_word_serviceLink__link::before {
  background-color: var(--theme_main);
  content: "";
  display: block;
  height: 18px;
  margin-top: calc((1lh - 1em) / 2);
  mask-image: url("/resource/img/dougahyakkaten/douga_legal_reform/icon_arrow.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  padding-right: 10px;
  width: 10px;
}

.m_trend_word_serviceLink__link {
  color: var(--theme_main);
  display: flex;
  text-decoration: underline;
}

.m_trend_word_serviceLink__link:hover {
  opacity: 0.6;
  transition: .3s;
}


@media screen and (width <= 768px) {
  .contents {
    margin: 0 10px;
    width: auto;
  }

  .m_heading_ttl_img {
    height: auto;
    width: 100%;
  }

  .m_trend_word_lineup_item_wrap{
    /* margin: 0 30px;
    width: 220px; */
  }
  .m_trend_word_lineup_item {}

  .m_detail_info_ttl {
    margin: 0 15px;
  }

  .m_detail_ttl {
    margin: 20px 0 10px 15px;
  }

  .m_detail_contents {
    margin-left: 15px;
  }
}

@media screen and (width <= 599px) {
  .contents {
    margin: 0;
    width: auto;
  }

  .l_flex {
    display: block;
  }

  .m_heading_copy_wrap {
    padding: 20px;
  }

  .m_heading_copy_img {
    width: 248px;
  }

  .l_trend_word_lineup_flex{
     display: block;
  }

  .m_trend_word_lineup_wrap {
    /* display: flex;
    justify-content: center;
    margin-left: 0; */
  }

  .m_trend_word_lineup_item {
    --txt_indent: 27px;

    min-width: 185px;
    /* padding-left: 27px;
    text-indent: -27px; */
  }

  .m_trend_word_lineup_item::before {
    margin-right: 5px;
  }

  .m_trend_word_lineup_link{
    font-size: 18px;
  }

  .l_trend_word_ttl_grid {
    display: block;
    margin-left: 0;
  }

  .l_trend_word_ttl_grid > .l_flex {
    display: flex;
    justify-content: flex-start;
  }

  .m_trend_word_ttl_img_wrap{
     padding-left: 60px;
  }

  .m_trend_word_ttl_img_wrap::before {
    left: 10px;
  }

  .m_trend_word_ttl_img {
    padding-left: 55px;
    width: 147px;
  }

  .m_trend_word_ttl {
    font-size: 1.25rem;
    padding: 10px;

    > br { display: none; }
  }

  .m_trend_word_overview {
    /* padding-left: 0; */
  }

  .l_section_item {
    padding: 10px;
    padding-bottom: 20px;
    padding-top:20px;
  }

  .l_item_header_wrap {
    margin-bottom: 20px;
  }

  .m_item_header_img_wrap {
    text-align: center;
  }

  .m_item_header_img {
    height: 92px;
    width: 160px;
  }

  .m_item_header_ttl {
    margin-left: 0;
    padding: 10px 0 0;
  }

  .m_card_wrap {
    margin-bottom: 16px;
    width: 100%;
  }

  .m_card_img {
    height: auto;
    width: 100%;
  }

  .m_detail_info_ttl {
    margin: 0 10px 0 0;
  }

  .m_detail_ttl {
    margin: 20px 0 10px;
  }

  .m_detail_contents {
    line-height: 1.6;
    margin-left: 0;
  }

  .m_btn_link_wrap {
    width: 90%;
  }

  .m_recomend_link_wrap {
    line-height: 1.6;
    padding: 10px;
  }
}