@charset "UTF-8";

/* ==========================================================

title : 老人ホーム・サ高住・グループホームの基本情報・知識 共通css

memo

last modify : 2023/10/03 tanaka 新規作成

========================================================== */
img {
  max-width: 100%;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td, th { padding: 0; }

/* 文字サイズ変更ボタンはルート(html)の文字サイズを変更しているためremでサイズ指定すること
   文字サイズを変更したくない場合は固定値（px）で指定する */

/* ------------------------------------------------------------------------ */
/* ▼ SP 見出し 共通LO */
/* ------------------------------------------------------------------------ */
@media only screen and (max-width:767px) {
  body .main_article_ttl {
    background: #589108;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 2.295rem;
    font-weight: 600;
    letter-spacing: .07em;
    line-height: 1.2;
    margin-bottom: 2rem;
    padding: .4em .8em;
    text-align: center;
  }
  body .main_article_ttl::before {
    content: none;
  }

  article > *:not(.main_article_ttl) {
    padding-right: 4%;
    padding-left: 4%;
  }

  body .sp_ttl_h2 {
    background: none;
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #589108;
    box-shadow: none;
    color: #000;
    display: block;
    font-size: 2.07rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 auto 16px;
    padding: 0 0 8px 0;
    text-align: left;
  }
  body .sp_ttl_h2>.ttl_inner {
    background: none;
    display: inline;
    padding: 0;
    min-width: auto;
    position: initial;
  }
  body .sp_ttl_h2::after,
  body .sp_ttl_h2::before,
  body .sp_ttl_h2>.ttl_inner::after,
  body .sp_ttl_h2>.ttl_inner::before {
    content: none;
  }
  body .sp_ttl_h3 {
    background: none;
    border: none;
    border-radius: 0;
    border-left: 5px solid #589108;
    color: #000;
    display: block;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 auto 16px;
    padding-left: 12px;
    padding-top: 1px;
    text-align: left;
  }
  body .sp_ttl_h3::after,
  body .sp_ttl_h3::before,
  body .sp_ttl_h3>.ttl_inner::after,
  body .sp_ttl_h3>.ttl_inner::before {
    content: none;
  }
}

/* ------------------------------------------------------------------------ */
/* ▼ PC 見出し */
/* ------------------------------------------------------------------------ */
@media (min-width:768px) {

  .main_article_ttl {
    border-bottom: 3px solid #44773a;
    color: #004edf;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.25;
    min-height: 70px;
    padding: 0px 10px 5px 78px;
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-right: 13px;
  }
  .main_article_ttl::before {
    background: url(../image/tips/bg-main_article_ttl.png) no-repeat center/100%;
    content: "";
    display: block;
    position: absolute;
    left: 0; 
    bottom: -3px;
    height: 70px;
    width: 71px;
  }

  .sec_cont_ttl_h2 {
    border-left: 9px solid #91b52f;
    border-bottom: 1px solid #91b52f;
    color: #36925f;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 4px 10px 4px 17px;
    position: relative;
    margin-right: 12px;
  }
  
  .sec_cont_ttl_h3 {
    background-color: #dee773;
    border: 1px solid #4a3b32;
    border-radius: 100vh;
    display: inline-block;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.4736;
    padding: 0 calc(.5em * 1.8736);
  }

  .sec_cont_ttl_h4 {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.4736;
    padding: 0 0 0 1em;
    position: relative;
  }
  .sec_cont_ttl_h4::before {
    background-color: #84b341;
    border-radius: 4px;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: calc(.4736em / 2);
    height: 1em;
    width: 8px;
  }
}

/* ------------------------------------------------------------------------ */
/* ▼ 記事ページ */
/* ------------------------------------------------------------------------ */
/* リード文 */
.desc_wrap {
  font-size: 1.7rem;
  letter-spacing: .08em;
  line-height: 1.6471;
  margin: 22px auto;
  max-width: 690px;
  padding: 0 35px 0 15px;
  text-align: left;
  width: 100%;
}

@media (max-width:767px) {
  .desc_wrap {
    max-width: 100%;
  }
}

/* main */
main article {
  font-feature-settings: "palt";
}

@media (max-width:1000px) {
  main {
    padding: 0 10px;
  }
}

@media (min-width: 768px) {
  .main_pc_2col {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
  }
  .main_pc_2col article {/* サイズ可変; */
    max-width: 700px;
    /* width: 70%; */
    flex: 1;
  }
  .main_pc_2col .article_side {/* サイズ固定; */
    margin-left: 10px;
    width: 275px;
  }
}

@media (max-width: 767px) {
  main {
    padding: 0;
  }
}

.sec_cont {
  padding-left: 12px;
}
.sec_cont + .sec_cont {
  margin-top: 50px;
}

.sec_cont > .sec_cont_txtarea,
.sec_cont > section {
  margin-top: 20px;
}

.sec_cont_txtarea {
  margin: 15px auto 0;
  letter-spacing: .075em;
  line-height: 1.6471;
}

.sec_cont_txtarea section + section,
.sec_cont_txtarea_txt {
  margin-top: 15px;
}

.sec_cont > section > .sec_cont_txtarea > section,
.sec_cont > section > section {
  margin: 20px 0 15px 0;
  padding-left: 18px;
}

.sec_cont_txtarea_txt p {
  padding-right: 10px;
}

.sec_cont_txtarea .sec_cont_txtarea_img img {
  border: 1px solid #bbbbbb;
}

@media (min-width: 768px) {
  .sec_cont > .sec_cont_txtarea,
  .sec_cont > section {
    padding: 0 12px 0;
  }
  .sec_cont_txtarea section,
  .sec_cont_txtarea::after {
    content: "";
    display: block;
    clear: both;
  }

  .sec_cont_txtarea .sec_cont_txtarea_img {
    max-width: 280px;
  }
  .sec_cont_txtarea .sec_cont_txtarea_img.alignright {
    float: right;
    margin: 6px 0 10px 15px;
  }
  
  .sec_cont_txtarea .sec_cont_txtarea_img.alignleft {
    float: left;
    margin: 6px 15px 10px 0;
  }

}

@media (max-width:767px) {
  .sec_cont_txtarea .sec_cont_txtarea_img.alignright,
  .sec_cont_txtarea .sec_cont_txtarea_img.alignleft {
    float: none;
    margin: 0 auto;
    text-align: center;
  }

}

/* テーブル */
.sec_cont table {
  width: 100%;
  max-width: 660px;
}

.sec_cont table td,
.sec_cont table th {
  padding: 6px 13px;
  vertical-align: middle;
}
.sec_cont table tbody th {
  font-weight: normal;
  line-height: 1.1765;
  text-align: left;
}
.sec_cont table tbody td {
  line-height: 1.2941;
}

.tbl_col1 {
  width: 21.2121%;
}
.sec_cont table .valign_top {
  vertical-align: top;
}

.sec_cont table {
  border: 2px solid #4a3b32;
}
.sec_cont table td,
.sec_cont table th {
  border: 1px solid #bbbbbb;
}
.sec_cont table th {
  background: #e6f4ef;
}
.sec_cont table th:last-of-type {
  border-color: #888888;
  border-bottom-color: #bbbbbb;
}
.sec_cont table thead th {
  background: #53aa91;
  color: #FFF;
  padding: 0px 13px;
}
.sec_cont table.color02 th {
  background: #e6f1f4;
}
.sec_cont table.color02 thead th {
  background: #5282b9;
}


/* num_list */
.num_list_ttl {
  display: flex;
  align-items: baseline;
  font-weight: 600;
  margin-bottom: 5px;
}
.num_list_cont + .num_list_ttl {
  margin-top: 23px;
}
.num_list_ttl .num_circle {
  color: #FFF;
  display: inline-block;
  flex-shrink: 0;
  text-align: center;
  padding-right: 4px;
  position: relative;
  width: 30px;
  white-space: nowrap;
  letter-spacing: 0;
}
.num_list_ttl .num_circle::before {
  background-color: #53aa91;
  border-radius: 50%;
  content: "";
  display: block;
  position: absolute;
  height: calc(1em * 1.4706);
  width: calc(1em * 1.4706);
  z-index: -1;
  top: calc(.5em * 1.4706);
  transform: translateY(-50%);
}
.num_list_cont {
  padding-left: 30px;
  padding-right: 20px;
}

/* disc_list_01 */
.disc_list_01 {
  margin-left: 1.5em;
  list-style-type: disc;
}

/* ------------------------------------------------------------------------ */
/* 広告バナー*/
/* ------------------------------------------------------------------------ */
.article_side .ad_box {
  margin-bottom: 20px;
}
.ad_box.max275 {
  position: relative;
  width: 100%;
  padding: calc(250 / 300 * 100%) 0 0;
}
.ad_box.max275 iframe {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100%;
  height: 100%; */
  transform: scale(.91666);
    transform-origin: 0 0;
}
.ad_box.js_banner_random:not(:first-of-type) {
  display: none;
}
@media screen and (max-width:767px) {
  .article_side .ad_box {
    display: none !important;/* ランダム表示のjsで上書きされてしまうため!important追加 */
  }
}

/* ------------------------------------------------------------------------ */
/* ▼ サイドメニュー */
/* ------------------------------------------------------------------------ */
/* 01 */
/* すべてのカテゴリの注目記事 カテゴリから探す */
.article_side .side_menu {
  margin-bottom: 22px;
}
.ad_box + .side_menu {
  margin-top: 26px;
}
.side_menu_ttl {
  background-color: #c7d9a3;
  border: 2px solid #74B07B;
  border-bottom: 1px solid #74B07B;
  border-radius: 10px 10px 0 0;
  color: #36925f;
  font-size: 1.8rem;
  text-align: center;
  padding: 6px 10px 6px;
}
.side_menu_list {
  font-size: 1.5rem;
  line-height: 1.4285;
}
.side_menu_list>li {
  border: 1px solid #74B07B;
  border-top: none;
  border-right-width: 2px;
  border-left-width: 2px;
}
.side_menu_list>li:last-child {
  border-bottom-width: 2px;
}
.side_menu_list>li>a {
  display: block;
  padding: 10px 22px 10px 10px;
  position: relative;
}
.side_menu_list>li>a::after {
  background: url(../image/tips/ico-arrow.png) no-repeat center center;
  background-size: cover;
  content: "";
  display: block;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 6px;
}
.side_menu_list>li>a[href^='#']::after {
  transform: translateY(-50%) rotate(90deg);
}
@media screen and (max-width:767px) {
  .article_side .side_menu {
    display: none;
  }
}

/* 02 */
/* 基本情報・知識 */
.article_side .side_menu02 {
  margin-bottom: 22px;
}
.side_menu_ttl02 {
  position: relative;
  color: #fff;
  background-color: #36925F;
  border: 1px solid #36925F;
  font-size: 1.6rem;
  font-weight: 400;
  padding: 10px 10px;
}
.side_menu_ttl02 a{
  color: #fff;
  display: block;
}
.side_menu_ttl02::after {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 8px;
  margin: auto;
}
.side_menu_list02 {
  font-size: 1.45rem;
  line-height: 1.3;
  border: 1px solid #36925F;
}
.side_menu_list02 li {
  color: #000;
  position: relative;
  border-bottom: 1px solid #36925F;
  padding: 12px 23px 8px 10px;
}
.side_menu_list02 > li:last-of-type {
  border-bottom: none;
}
.side_menu_list02 li::after {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: solid 2px #36925F;
  border-right: solid 2px #36925F;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 8px;
  margin: auto;
}
.side_menu_list02 li a {
  color: #000;
  display: block;
}
.side_menu_list02 li.cat01 {
  background-color:#9bda7f;
}
.side_menu_list02 li.cat02 {
  background-color:#cdefa5;
}
.side_menu_list02 li.cat03 {
  background-color:#ebfae1;
}
.side_menu_list02 li.current span {
  color:#D74B76;
}
.side_menu_list02 li.current::after {
  border: none;
}
.medium_cat,
.small_cat,
.single_cat{
  display: none;
}
.medium_cat.current_block,
.small_cat.current_block,
.single_cat.current_block{
  display: block;
}


/* ------------------------------------------------------------------------ */
/* サイトマップ */
/* ------------------------------------------------------------------------ */
.grounding_sitemap {
  background-color: #fff9e6;
  margin: 30px auto 22px;
  padding-bottom: 30px;
}

.grounding_sitemap_ttl_wrap {
  background: 
  url(../image/bg-grounding-sitemap-ttl-wrap-l.png) no-repeat bottom 0 left 10.9% / 106px auto,
  url(../image/bg-grounding-sitemap-ttl-wrap-r.png) no-repeat bottom 0 right 8.8% / 132px auto;
  padding: 30px 0 0;
  min-height: 172px;
  margin-bottom: 35px;
}

.grounding_sitemap_ttl {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
}
.grounding_sitemap_ttl .ttl_inner {
  background-color: #fff;
  border: 1px solid #4a3b32;
  border-bottom-width: 3px;
  border-radius: 5px;
  display: inline-block;
  padding: .3em 1.5em;
}

.grounding_sitemap_desc {
  line-height: 1.765;
  margin: 1em 19.9% 0;
  padding: 0 30px;
}

@media (max-width:767px) {
  .grounding_sitemap_ttl_wrap {
    background: none;
    min-height: auto;
  }

  .grounding_sitemap_desc {
    margin: 1em 4% 0;
  }
}

.sitemap_list_wrap {
  margin-top: 35px;
  padding: 0 10px;
}

.sitemap_list_ttl {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.6471;
  /* overflow: hidden; */
  position: relative;
  padding-right: 15px;
}
.sitemap_list_ttl::before {
  border-radius: 100vh;
  border: 1px solid #4a3b32;
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 4px);/* ttl_innerの角丸にはみ出さないようにする */
}
.sitemap_list_ttl .ttl_inner {
  background-color: #d4de65;
  border: 1px solid #4a3b32;
  border-right: none;
  border-radius: 4px 0 0 4px;
  display: inline-block;
  padding: 0 54px 0 24px;
  min-width: 175px;
  position: relative;
  /* z-index: 1; */
}
.sitemap_list_ttl .ttl_inner::after {
  background: url(../image/bg-sitemap-list-ttl-inner.png) no-repeat left top / 100% 100%;
  content: "";
  display: block;
  height: calc(100% + 1px);
  position: absolute;
  left: 100%;
  bottom: 0;
  width: 15px;
}

.sitemap_list {
  margin-top: 15px;
  padding: 0 5px;
  position: relative;/* 罫線の基準 */
}
.sitemap_list > .list_item {
  font-size: 1.4rem;
  letter-spacing: .002em;
  width: 100%;
}

.sitemap_list > .list_item > .list_item_inner span,
.sitemap_list > .list_item > .list_item_inner a,
.sitemap_list > .list_item > a {
  display: inline-block;
  padding-left: 25px;
  font-weight: 600;
  position: relative;
}
.sitemap_list > .list_item > .list_item_inner span::before,
.sitemap_list > .list_item > .list_item_inner a::before,
.sitemap_list > .list_item > a::before {
  background: url(../image/ico-gr.png) no-repeat center center / 100% auto;
  content: "";
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
  height: 15px;
  width: 15px;
}
.sitemap_list > .list_item > .list_item_inner span::before {
  background: url(../image/ico-gy.png) no-repeat center center / 100% auto;
}

.sitemap_list .sitemap_list.list_child {/* 2階層 */
  padding-left: 10px;
}
.sitemap_list .sitemap_list.list_child > .list_item {
  padding-bottom: 9px;
}
.sitemap_list .sitemap_list.list_child > .list_item[class*="grid_col"]:first-of-type,
.sitemap_list .sitemap_list.list_child > .list_item + .list_item {
  padding-top: 10px;
}

.sitemap_list .sitemap_list.list_child > .list_item.border_top::before {
  background: #a1967e;
  content: "";
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;/* .sitemap_list の幅にする */
  top: auto;
  left: 0;
  transform: translateY(-10px);
}

.sitemap_list.list_child .list_child {/* 3階層 */
  margin-top: 8px;
}
.sitemap_list.list_child .list_child > .list_item {
  font-size: 1.3rem;
  letter-spacing: .002em;
  padding-left: 20px;
}
.sitemap_list.list_child .list_child > .list_item > a {
  display: inline-block;
  padding-left: 15px;
  position: relative;
  height: 100%;
  width: 100%;
}
.sitemap_list.list_child .list_child > .list_item > a::before {
  background: url(../image/ico-arrow-gy.png) no-repeat center center / 100% auto;
  content: "";
  display: block;
  position: absolute;
  top: calc(.5em * 1.15);
  left: 0;
  transform: translateY(-50%);
  height: 10px;
  width: 6px;
}

@media (min-width: 768px) {

  .sitemap_list_wrap {/* PC表示余白調整 */
    padding: 0 60px;
  }

  .sitemap_list .sitemap_list.list_child {/* 2階層 */
    display: flex;
    flex-wrap: wrap;
    column-gap: 29px;
  }
  .sitemap_list.list_child > .list_item.grid_col1_two {
    width: calc((100% - 29px * 1) / 2);
  }
  .sitemap_list.list_child > .list_item.grid_col1_three {
    width: calc((100% - 29px * 2) / 3);
  }
  .sitemap_list.list_child > .list_item.grid_col2_three {
    width: calc((100% - 29px * 2) / 3 * 2 + 29px);
  }
  .sitemap_list.list_child > .list_item.grid_col1_quarter {
    width: calc((100% - 29px * 3) / 4);
  }

  .sitemap_list.list_child .list_child {/* 3階層 */
    display: flex;
    flex-wrap: wrap;
    column-gap: 29px;
    row-gap: 10px;
  }
  .sitemap_list.list_child .list_child.col1 > .list_item {
    width: 100%;
  }
  .sitemap_list.list_child .list_item_inner.col2 > span,
  .sitemap_list.list_child .list_item_inner.col2 > a,
  .sitemap_list.list_child .list_child.col2 > .list_item {
    width: calc((100% - 29px) / 2);
    display: block; /* span対応 */
  }
  .sitemap_list.list_child .list_item_inner.col3 > span,
  .sitemap_list.list_child .list_item_inner.col3 > a,
  .sitemap_list.list_child .list_child.col3 > .list_item {
    width: calc((100% - 29px * 2) / 3);
    display: block; /* span対応 */
  }
  .sitemap_list.list_child > .list_item:not([class*="grid_col"]) .list_item_inner.col4 > span,
  .sitemap_list.list_child > .list_item:not([class*="grid_col"]) .list_item_inner.col4 > a,
  .sitemap_list.list_child > .list_item:not([class*="grid_col"]) .list_child.col4 > .list_item {
    width: calc((100% - 29px * 3) / 4);
    display: block; /* span対応 */
  }
}

@media (max-width:767px) {
  /* 2階層 */
  .sitemap_list .sitemap_list.list_child > .list_item[class*="grid_col"]:first-of-type {
    padding-top: 0;
  }
  /* 3階層 */
  .sitemap_list.list_child .list_child > .list_item + .list_item {
    margin-top: 10px;
  }
  .grid_spacer {
    display: none;
  }
}

/* 介護・福祉にかかわる仕事 ボタン追加 WEB2TCI-46506 */
.btn_category_wrap{
  text-align: center;
  margin: 50px auto 0;
}
.btn_category_wrap p {
  font-family: "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 10px;
  font-weight: 600;
}
.btn_category_wrap .category_search > a {
  align-items: center;
  background: #fef6cc;
  border: 2px solid #fa8d3d;
  border-radius: 5px;
  box-shadow: 0 3px 0 0 rgba(165, 161, 142, .5);
  color: #000;
  display: flex;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  height: 100%;
  padding: 5px 28px 5px 42px;
  position: relative;
  text-shadow: none;
  margin: 0 auto;
  max-width: max-content;
  min-width: 250px;
  width: 100%;
}
.btn_category_wrap .category_search a::before {
  background: url('../image/ico-point-or.png') no-repeat center center / contain;
  border: none;
  bottom: auto;
  content: '';
  display: inline-block;
  height: 24px;
  left: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: auto;
  width: 24px;
}
.btn_category_wrap .category_search > a::after {
  background: none;
  border-color: transparent transparent transparent #fa8d3d;
  border-style: solid;
  border-width: 7px 0 7px 10px;
  bottom: auto;
  content: '';
  display: inline-block;
  height: 0;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
}
@media (max-width:767px) {
  .btn_category_wrap p {
    font-size: 16px;
  }
}