@charset "UTF-8";

/* =========================================================
　　Fix Layout New Top Column
========================================================= */
/* smartMenu
----------------------------------------------- */
#container {
  overflow-x: hidden;
}

#smartMenu {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 3px solid #ffd000;
  box-shadow: 0 -3px 6px 0 rgba(210, 220, 220, 0.8);
  z-index: 10000;
}

@media screen and (min-width:481px) and (max-width:960px) {
  #smartMenu {
    z-index: 10001;
  }
}

#smartMenu ul {
  display: flex;
}

#smartMenu li {
  flex: 1;
}

#smartMenu li button,
#smartMenu li a {
  display: block;
  width: 100%;
  height: 70px;
  padding: 40px 0 0;
  border: 0;
  background-color: #fff8d9;
  background-repeat: no-repeat;
  background-position: center 10px;
  color: #333;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

#smartMenu li:not(:first-child) button,
#smartMenu li:not(:first-child) a {
  border-left: 1px solid #d9d3b8;
}

#smartMenu li button.globalNavi {
  background-image: url("../../images/top/sp/ic-menu.svg");
  background-position: center 15px;
}

#smartMenu li button.search {
  background-image: url("../../images/top/sp/ic-search.svg");
}

#smartMenu li button.accessibilityTool {
  background-image: url("../../images/top/sp/ic-accessibility.svg");
}

#smartMenu li a.event {
  padding-top: 43px;
  background-image: url("../../images/top/sp/ic-event.svg");
}

#smartMenu li button.active {
  background-color: #0172c0;
  background-image: url("../../images/top/sp/ic-menu_close.svg");
  color: #fff;
}

@media screen and (max-width: 960px) {
  #container {
    overflow-y: hidden;
  }

  #smartMenu {
    display: block;
  }

  #accessibilityTool h2,
  #globalNavi h2 {
    display: none;
  }
}

/* accessibilityTool
----------------------------------------------- */
#accessibilityTool {
  max-width: 1200px;
  margin-bottom: -50px;
}

#accessibilityTool .close a {
  display: none;
}

@media screen and (max-width: 960px) {
  #accessibilityTool .pieceBody {
    display: none;
    position: fixed;
    left: 0;
    bottom: 73px;
    width: 100vw;
    height: calc(100dvh - 73px);
    padding: 20px 15px;
    background-color: #0172c0;
    z-index: 10000;
  }

  #accessibilityTool .pieceBody a,
  #accessibilityTool span {
    color: #fff;
    text-decoration: none;
  }

  #google_translate_element span {
    color: #333;
  }

  #accessibilityTool .pieceBody>ul,
  #accessibilityTool .pieceBody>ul>li {
    border-color: #fff;
  }

  #accessibilityTool .pieceBody>ul>li.translate {
    display: none;
  }

  #accessibilityTool .pieceBody>ul>li.translate+li {
    border: 0;
  }

  #accessibilityTool .fontSize a,
  #accessibilityTool #themeWhite {
    border-color: #fff;
    background-color: transparent;
  }

  #accessibilityTool .close {
    display: block;
  }

  #accessibilityTool .close a {
    display: block;
    width: 130px;
    height: 35px;
    line-height: 35px;
    margin: 20px auto 0;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
  }

  #accessibilityTool #navigationTalkPlayer {
    margin: 0;
    text-align: center;
  }

  #navigationTalkCreatingFileNotice {
    padding: 10px 0;
  }
}

/* commonHeader
----------------------------------------------- */
#commonHeader {
  position: relative;
  flex-basis: auto;
  z-index: 9999;
}

#commonHeader .translate {
  display: none;
}

@media screen and (max-width: 960px) {
  #pageHeader {
    margin: 0;
  }

  #commonHeader {
    border: 0;
  }

  #commonHeader .pieceBody {
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 15px;
  }

  #commonHeader h1 {
    margin: 0;
  }

  #commonHeader h1 a img {
    width: 100px;
  }

  #commonHeader .translate {
    display: block;
  }
}

/* headerGroup
----------------------------------------------- */
#search-container .close a,
#headerGroup #lifescene,
#headerGroup #keyword-list {
  display: none;
}

#search-container .close a {
  width: 130px;
  height: 35px;
  line-height: 35px;
  margin: 20px auto 0;
  border: 1px solid #fff;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

/* keyword-list
----------------------------------------------- */
#headerGroup #keyword-list {
  margin-bottom: 35px;
}

#headerGroup #keyword-list h2 {
  line-height: 1;
  margin-bottom: 16px;
  padding-left: 35px;
  background: url("../../images/top/sp/ic-keyword.svg") no-repeat left center;
  color: #fff;
}

#headerGroup #keyword-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#headerGroup #keyword-list li a {
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  border-radius: 16px;
  background-color: #cae6fa;
  color: #333;
  font-size: 90%;
  text-decoration: none;
}

/* lifescene
----------------------------------------------- */
#headerGroup #lifescene h2 {
  line-height: 1;
  margin-bottom: 16px;
  color: #fff;
}

#headerGroup #lifescene ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#headerGroup #lifescene li {
  flex-basis: calc(50% - 5px);
}

#headerGroup #lifescene li a {
  display: block;
  padding: 16px 0;
  border: 1px solid #fff;
  border-radius: 8px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 25px auto;
  color: #fff;
  text-decoration: none;
}

#headerGroup #lifescene li:nth-child(odd) a {
  padding-left: 60px;
}

#headerGroup #lifescene li:nth-child(even) a {
  padding-left: 45px;
}

#headerGroup #lifescene li.ninshin_shussan a {
  background-image: url("../../images/top/sp/life-ic_ninshin.svg");
  background-position: 10px center;
  background-size: 35px auto;
}

#headerGroup #lifescene li.kosodate_shugaku a {
  background-image: url("../../images/top/sp/life-ic_kosodate.svg");
}

#headerGroup #lifescene li.shushoku_taishoku a {
  background-position: 20px center;
  background-image: url("../../images/top/sp/life-ic_shushoku.svg");
  background-size: 20px auto;
}

#headerGroup #lifescene li.hikkoshi_sumai a {
  background-image: url("../../images/top/sp/life-ic_sumai.svg");
}

#headerGroup #lifescene li.kekkon_rikon a {
  background-image: url("../../images/top/sp/life-ic_marriage.svg");
  background-size: 45px auto;
}

#headerGroup #lifescene li.koreisha_kaigo a {
  background-image: url("../../images/top/sp/life-ic_kaigo.svg");
}

#headerGroup #lifescene li.shogaisha a {
  background-position: 20px center;
  background-image: url("../../images/top/sp/life-ic_fukushi.svg");
}

#headerGroup #lifescene li.okuyami a {
  background-image: url("../../images/top/sp/life-ic_okuyami.svg");
}

#headerGroup #lifescene li.event a {
  background-position: 20px center;
  background-image: url("../../images/top/sp/life-ic_event.svg");
}

#headerGroup #lifescene li.kyujitsushinryo a {
  background-image: url("../../images/top/sp/life-ic_toubani.svg");
}

@media screen and (max-width: 960px) {
  #search-container {
    display: none;
    position: fixed;
    left: 0;
    bottom: 73px;
    width: 100vw;
    height: calc(100dvh - 73px);
    padding: 20px 15px;
    background-color: #0172c0;
    z-index: 10000;
  }

  #search-container .close a,
  #headerGroup #lifescene,
  #headerGroup #keyword-list,
  #headerGroup #joruri-search-box {
    display: block;
  }

  #search-container>div:not(:last-child) {
    margin-bottom: 20px;
  }

  #headerGroup #joruri-search-box .criteriaBox {
    padding: 0;
  }

  #headerGroup #joruri-search-box .commitButton {
    background-color: #424242;
  }
}

/* mainSlider
----------------------------------------------- */
#mainSlider .pieceBody {
  position: relative;
  visibility: hidden;
}

.slick-prev {
  background-image: url("../../images/top/ic-slider_prev.svg");
}

.slick-next {
  background-image: url("../../images/top/ic-slider_next.svg");
}

.top .slick-slide img {
  width: auto;
  height: auto;
}

#mainSlider .slick-dots {
  right: 0;
  bottom: -23px;
  padding-right: 84px;
  gap: 10px;
}

.slick-dots li {
  margin: 0;
}

.slick-dots li button {
  border-radius: 50%;
  background: #b3b3b3;
}

#mainSlider .slick-dots li button {
  width: 10px;
  height: 10px;
}

.slick-dots li.slick-active button {
  background: #0172c0;
}

.slick-control {
  right: 0;
  bottom: -30px;
}

.slick-control button {
  width: 4em;
  height: 20px;
  padding: 0 0 0 1em;
  border-radius: 10px;
  background: #424242 url("../../images/top/ic-slider_start.svg") no-repeat 2px center / auto calc(100% - 4px);
  color: #fff;
  text-align: center;
}

.slick-control button.active {
  background-image: url("../../images/top/ic-slider_stop.svg");
}

@media screen and (min-width: 961px) {
  #mainSlider {
    max-width: 1200px;
    margin: 0 auto 38px;
  }

  .slick-prev,
  .slick-next {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }

  .slick-prev {
    left: -73px;
  }

  .slick-next {
    right: -73px;
  }
}

@media screen and (max-width: 960px) {
  #mainSlider {
    max-width: 100%;
    margin: 0 0 60px;
  }

  .slick-prev,
  .slick-next {
    width: 24px;
    height: 24px;
    margin-top: -12px;
  }

  .slick-prev {
    left: 5px;
  }

  .slick-next {
    right: 5px;
  }

  .slick-control {
    right: 10px;
  }

  #mainSlider .slick-dots {
    padding-right: 94px;
  }
}

/* globalNavi
----------------------------------------------- */
@media screen and (min-width: 961px),
print {
  #globalNavi {
    border-top: 1px solid #0172c0;
    border-bottom: 3px solid #ffd000;
    background-color: #0172c0;
    box-shadow: 0 6px 6px 0 rgba(220, 220, 220, 0.8);
  }

  .top #globalNavi {
    margin-bottom: 64px;
  }

  #globalNavi .pieceContainer {
    border: 0;
    background: none;
  }

  #globalNavi .pieceBody {
    max-width: 1200px;
    margin: 0 auto;
  }

  #globalNavi .pieceBody>ul {
    display: flex;
  }

  #globalNavi .pieceBody>ul>li {
    position: relative;
    flex: 1;
  }

  #globalNavi .pieceBody>ul>li:first-child::before,
  #globalNavi .pieceBody>ul>li::after {
    content: "";
    position: absolute;
    top: calc(50% - 7px);
    width: 1px;
    height: 20px;
    background-color: #fff;
  }

  #globalNavi .pieceBody>ul>li>a {
    position: relative;
    padding: 19px 0 17px;
    color: #fff;
  }

  #globalNavi li:first-child a::before,
  #globalNavi li a::after {
    content: none;
  }

  #globalNavi .pieceBody>ul>li:hover>a,
  #globalNavi .pieceBody>ul>li:focus>a {
    background-color: #fff;
    color: #333;
  }

  #globalNavi .pieceBody>ul>li:hover>a::after,
  #globalNavi .pieceBody>ul>li:focus>a::after {
    content: "";
    position: absolute;
    top: auto;
    right: auto;
    left: calc(50% - 9px);
    bottom: -17px;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
    border-top: 14px solid #ffd000;
    border-bottom: 0;
    background: none;
  }

  #globalNavi li li a {
    padding: 0;
    font-weight: normal;
    text-decoration: underline;
  }

  #globalNavi li li a:hover,
  #globalNavi li li a:focus {
    text-decoration: none;
  }

  #globalNavi ul ul::before {
    content: "";
    position: absolute;
    left: 0;
    top: -14px;
    width: 100%;
    height: 14px;
    background-color: transparent;
  }

  #globalNavi ul ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 25px 0;
    position: absolute;
    top: 78px;
    left: 0;
    width: 1200px;
    padding: 45px 120px;
    border-radius: 16px;
    background-color: #fff9d9;
    box-shadow: 0 0 3px 2px rgba(220, 220, 220, 0.8);
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: all .2s ease;
    z-index: 200;
  }

  #globalNavi ul li:nth-child(2) ul {
    margin-left: -200px;
  }

  #globalNavi ul li:nth-child(3) ul {
    margin-left: -400px;
  }

  #globalNavi ul li:nth-child(4) ul {
    margin-left: -600px;
  }

  #globalNavi ul li:nth-child(5) ul {
    margin-left: -800px;
  }

  #globalNavi ul li:nth-child(6) ul {
    margin-left: -1000px;
  }

  #globalNavi li li {
    position: relative;
    flex-grow: 0;
    flex-basis: 25%;
    padding-left: 15px;
  }

  #globalNavi li li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 3px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0172c0;
  }

  #globalNavi li li a {
    display: inline-block;
    text-align: left;
  }

  #globalNavi li li a:hover,
  #globalNavi li li a:focus {
    color: #333;
    background-color: transparent;
    text-decoration: none;
  }

  #globalNavi .pieceBody>ul>li:hover>a,
  #globalNavi .pieceBody>ul>li:focus>a {
    transition: all .2s;
  }

  #globalNavi .pieceBody>ul>li:hover>ul,
  #globalNavi .pieceBody>ul>li:focus>ul {
    visibility: visible;
    opacity: 1;
  }

  #globalNavi .close a {
    display: none;
  }
}

@media screen and (max-width: 960px) {
  #globalNavi .pieceBody {
    position: fixed;
    left: 0;
    bottom: 73px;
    width: 100vw;
    height: calc(100dvh - 73px);
    background-color: #0172c0;
    z-index: 10000;
  }

  #globalNavi ul {
    padding: 20px 15px 30px;
    border: 0;
  }

  #globalNavi li {
    flex-basis: 100%;
    border-bottom: 1px solid #fff;
  }

  #globalNavi li a {
    padding: 16px;
    background: url("../../images/top/sp/arrow-yellow.svg") no-repeat left center;
    color: #fff;
    text-align: left;
  }

  #globalNavi .close a {
    display: block;
    width: 130px;
    height: 35px;
    line-height: 35px;
    margin: 0 auto;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
  }

  #globalNavi ul ul {
    display: none;
  }
}

/* content
----------------------------------------------- */
#content {
  width: 100%;
}

#content .container {
  position: relative;
}

#content .container:nth-child(even) {
  padding: 114px 0;
  background-color: #f8f8f1;
  background-image: url("../../images/top/background_top.svg"), url("../../images/top/background_bottom.svg");
  background-position: left top, left bottom;
  background-size: 100% auto, 100% auto;
  background-repeat: no-repeat;
}

#content .container:nth-child(even):last-child {
  padding-bottom: 1px;
  background-image: url("../../images/top/background_top.svg");
}

#content .container:nth-child(2)::before {
  content: "";
  position: absolute;
  left: -11px;
  top: -10px;
  width: 184px;
  height: 110px;
  background: url("../../images/top/background_image01.svg") no-repeat left top;
}

#content .container:nth-child(2)::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 185px;
  width: 182px;
  height: 94px;
  background: url("../../images/top/background_image02.svg") no-repeat left top;
}

#content .container:nth-child(3)::before {
  content: "";
  position: absolute;
  left: -20px;
  top: -44px;
  width: 161px;
  height: 57px;
  background: url("../../images/top/background_image03.svg") no-repeat left top;
}

#content .container:nth-child(3)::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -70px;
  width: 161px;
  height: 57px;
  background: url("../../images/top/background_image03.svg") no-repeat left top;
  z-index: 1;
}

#content .container:nth-child(4)::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 95px;
  width: 167px;
  height: 132px;
  background: url("../../images/top/background_image04.svg") no-repeat left top;
}

#content .container:nth-child(4)::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 10px;
  width: 167px;
  height: 132px;
  background: url("../../images/top/background_image05.svg") no-repeat left top;
}

#pageFooter {
  position: relative;
  margin-top: 0;
  padding: 114px 0 50px;
  background: #0172c0 url("../../images/top/background_top.svg") no-repeat left top / 100% auto;
}

#content:has(.container:nth-child(even):last-child)+#pageFooter {
  background-image: url("../../images/top/background_top_beige.svg");
}

#pageFooter::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 70px;
  width: 208px;
  height: 111px;
  background: url("../../images/top/background_image06.svg") no-repeat left top;
}

#pageFooter::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: 3px;
  width: 155px;
  height: 103px;
  background: url("../../images/top/background_image07.svg") no-repeat left top;
}

#content .piece:not(#pageTitle):not(#backLink):not(#faqSearch) {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 961px) {
  #content .piece:not(#pageTitle):not(#backLink):not(#faqSearch) {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
  }
}

#content .piece:not(#pageTitle):not(#backLink):not(#faqSearch) .pieceHeader {
  text-align: center;
}

#content .piece:not(#pageTitle):not(#backLink):not(#faqSearch) .pieceHeader h2 {
  position: relative;
  line-height: 1;
  margin-bottom: 48px;
  padding-bottom: 20px;
  font-size: 1.5rem;
}

#content .piece:not(#pageTitle):not(#backLink):not(#faqSearch) .pieceHeader h2::after {
  content: "";
  position: absolute;
  left: calc(50% - 50px);
  bottom: 0;
  width: 100px;
  height: 6px;
  border-radius: 2.5px;
  background-color: #33b3b3;
}

.top #content .piece:not(#recentDocsTabs) .more {
  margin: 24px 0 26px;
  padding: 0;
}

.top #content .more a {
  display: block;
  width: 240px;
  height: 48px;
  line-height: 48px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid #0172c0;
  border-radius: 16px;
  background: none;
  color: #333;
  text-align: center;
  text-decoration: none;
}

@media screen and (max-width: 960px) {
  #content .container:nth-child(even) {
    padding: 40px 0 20px;
  }

  #content .container:nth-child(even) {
    padding: 40px 0 20px;
  }

  #content .container:nth-child(2)::before {
    top: -85px;
  }

  #content .container:nth-child(2)::after {
    bottom: 18px;
  }

  #content .container:nth-child(3) {
    padding-top: 65px;
  }

  #content .container:nth-child(3)::before {
    top: -10px;
  }

  #content .container:nth-child(3)::after {
    right: -80px;
    bottom: -57px;
  }

  #content .container:nth-child(4)::before {
    top: -10px;
    left: -75px;
  }

  #content .container:nth-child(4)::after {
    right: -55px;
    bottom: -50px;
  }

  #content .container:nth-child(5) {
    padding-top: 45px;
  }

  #content .piece:not(#pageTitle):not(#backLink):not(#faqSearch) .pieceHeader h2 {
    margin-bottom: 30px;
  }

  #backLink {
    margin-bottom: 0;
  }

  #menu {
    margin-bottom: 50px;
  }

  #pageFooter::before {
    top: -40px;
    left: -78px;
  }

  #pageFooter::after {
    bottom: -70px;
    right: -55px;
  }
}

/* safeDocs
----------------------------------------------- */
#safeDocs .pieceHeader h2::after {
  background-color: #cc0000;
}

#safeDocs .pieceBody {
  padding: 17px 32px 0;
  border: 1px solid #de8383;
  border-radius: 16px;
}

.docs li {
  padding: 17px 0;
  border-bottom: 1px solid #e6e6e6;
}

#safeDocs .more a {
  border-color: #de8383;
}

#safeDocs .more a:hover,
#safeDocs .more a:focus {
  background-color: #de8383;
}

@media screen and (max-width: 960px) {
  #safeDocs.piece {
    margin: 0 15px 30px;
  }
}

/* keywordSearch
----------------------------------------------- */
#keywordSearch.piece {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

#keyword-search-box,
#keywordSearch #joruri-search-box {
  flex-basis: 600px;
}

#keyword-search-box .criteriaBox .criteriaBasic,
#keywordSearch #joruri-search-box .criteriaBox .criteriaBasic {
  width: 100%;
}

#keyword-search-box .criteriaBox .criteriaKeyword .keywordField,
#keywordSearch #joruri-search-box .criteriaBox .criteriaKeyword .keywordField {
  border: 0;
}

#keyword-search-box .keyword,
#keywordSearch #joruri-search-box .keyword {
  height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 28px 0 0 28px;
  background-color: #f2f2f2;
}

#keyword-search-box .commitButton,
#keywordSearch #joruri-search-box .commitButton {
  flex-basis: 100px;
  height: 56px;
  border-radius: 0 28px 28px 0;
  background: #424242 url("../../images/top/ic-search.svg") no-repeat center center;
}

#keywordSearch .keyword-list {
  flex-basis: calc(100% - 645px);
}

#keywordSearch .keyword-list h2 {
  line-height: 1;
  margin-bottom: 16px;
  padding-left: 35px;
  background: url("../../images/top/ic-keyword.svg") no-repeat left center;
}

#keywordSearch .keyword-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#keywordSearch .keyword-list li a {
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  border-radius: 16px;
  background-color: #cae6fa;
  color: #333;
  font-size: 90%;
  text-decoration: none;
}

#keywordSearch .keyword-list li a:hover,
#keywordSearch .keyword-list li a:focus {
  background-color: #0172c0;
  color: #fff;
}

@media screen and (max-width: 960px) {
  #keywordSearch.piece {
    flex-wrap: wrap;
    margin: 0 15px 30px;
  }

  #keyword-search-box,
  #keywordSearch #joruri-search-box,
  #keywordSearch .keyword-list {
    flex-basis: 100%;
  }

  #keywordSearch #joruri-search-box,
  #keyword-search-box {
    margin: 0 0 30px;
  }

  #keywordSearch #joruri-search-box .criteriaBox,
  #keyword-search-box .criteriaBox {
    padding: 0;
  }

  #keywordSearch #joruri-search-box .commitButton,
  #keyword-search-box .commitButton {
    flex-basis: 70px;
  }

  #keywordSearch .keyword-list ul {
    gap: 15px;
  }
}

/* topicsTop
----------------------------------------------- */
#topicsTop.piece {
  margin-bottom: 130px;
}

#topicsTop .pieceBody {
  visibility: hidden;
}

#topicsTop .slick-slide {
  margin: 0 12px;
}

#topicsTop .slick-slide .banner {
  display: block;
  background-color: #fff;
}

#topicsTop .slick-slide img {
  height: 210px;
  object-fit: contain;
}

#topicsTop .slick-dots {
  right: auto;
  left: 0;
  bottom: -30px;
  width: 100%;
  justify-content: center;
  gap: 14px;
}

#topicsTop .slick-dots li button {
  width: 14px;
  height: 14px;
}

@media screen and (max-width: 960px) {
  #topicsTop.piece {
    margin-bottom: 75px;
  }

  .slick-prev {
    left: 15px;
  }

  .slick-next {
    right: 15px;
  }

  #topicsTop .slick-slide {
    margin: 0 45px;
  }

  #topicsTop .slick-slide .banner {
    background-color: transparent;
  }

  #topicsTop .slick-dots {
    bottom: -20px;
  }
}

/* recentDocsTabs
----------------------------------------------- */
#recentDocsTabs .tabs ul {
  gap: 0 4px;
  margin-bottom: 0;
  padding: 0 32px;
}

#recentDocsTabs .tabs li:not(:last-child) {
  margin-right: 0;
}

#recentDocsTabs .tabs a {
  padding: 23px 0;
  border: 1px solid #e6e6cd;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #e6e6cd;
}

#recentDocsTabs .tabs .current a,
#recentDocsTabs .tabs a:hover,
#recentDocsTabs .tabs a:focus {
  position: relative;
  border-color: #0172c0;
  background: #fff;
  color: #333;
  z-index: 1;
}

#recentDocsTabs .wrapper {
  position: relative;
  margin-top: -1px;
  padding: 12px 32px 0;
  border-top: 1px solid #0172c0;
  border-radius: 0 0 16px 16px;
  background-color: #fff;
  z-index: 0;
}

#recentDocsTabs .content li {
  padding: 17px 0;
  border-bottom: 1px solid #e6e6e6;
}

#recentDocsTabs .content li:first-child {
  border-top: 0;
}

#recentDocsTabs .links>div {
  display: flex;
  align-items: center;
  padding: 24px 0 26px;
}

#recentDocsTabs .feed {
  float: none;
  order: 2;
  margin-left: auto;
}

.feed li {
  margin: 0;
  padding: 0;
  background: none;
}

.feed li:first-child {
  margin-right: 0.5rem;
  padding-left: 22px;
  background: url("../../images/top/ic-rss.svg") no-repeat left center;
}

#recentDocsTabs .more {
  float: none;
  order: 1;
  margin: 0 0 0 calc(50% - 120px);
}

#recentDocsTabs .more a:hover,
#recentDocsTabs .more a:focus {
  background-color: #0172c0;
  color: #fff;
}

@media screen and (max-width: 960px) {
  #recentDocsTabs .tabs ul {
    padding: 0 4px;
  }

  #recentDocsTabs .tabs li {
    flex: 1;
  }

  #recentDocsTabs .tabs a {
    padding: 19px 0;
  }

  #recentDocsTabs .wrapper {
    padding: 15px 0 40px;
    border-radius: 0;
  }

  #recentDocsTabs .content li {
    padding: 20px 10px;
  }

  #recentDocsTabs .feed {
    display: none;
  }

  #recentDocsTabs .more {
    margin: 0 auto;
  }
}

/* lifescene
----------------------------------------------- */
#lifescene ul {
  display: flex;
  flex-wrap: wrap;
}

#lifescene li a {
  display: flex;
  align-items: center;
  height: 100%;
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  background-repeat: no-repeat;
  color: #333;
  text-decoration: none;
}

#lifescene li.ninshin_shussan a {
  background-image: url("../../images/top/life-ic_ninshin.svg");
}

#lifescene li.kosodate_shugaku a {
  background-image: url("../../images/top/life-ic_kosodate.svg");
}

#lifescene li.shushoku_taishoku a {
  background-image: url("../../images/top/life-ic_shushoku.svg");
}

#lifescene li.hikkoshi_sumai a {
  background-image: url("../../images/top/life-ic_sumai.svg");
}

#lifescene li.kekkon_rikon a {
  background-image: url("../../images/top/life-ic_marriage.svg");
}

#lifescene li.koreisha_kaigo a {
  background-image: url("../../images/top/life-ic_kaigo.svg");
}

#lifescene li.shogaisha a {
  background-image: url("../../images/top/life-ic_fukushi.svg");
}

#lifescene li.okuyami a {
  background-image: url("../../images/top/life-ic_okuyami.svg");
}

#lifescene li.event a {
  background-image: url("../../images/top/life-ic_event.svg");
}

#lifescene li.kyujitsushinryo a {
  background-image: url("../../images/top/life-ic_toubani.svg");
}

@media screen and (min-width: 961px) {
  #lifescene ul {
    gap: 25px;
  }

  #lifescene li {
    flex-basis: calc(20% - 20px);
  }

  #lifescene li a {
    padding: 27px 0;
    background-position: 20px center;
  }

  #lifescene li:nth-child(5n+1) a {
    padding-left: 94px;
  }

  #lifescene li:nth-child(5n+2) a,
  #lifescene li:nth-child(5n+3) a,
  #lifescene li:nth-child(5n+5) a {
    padding-left: 100px;
  }

  #lifescene li:nth-child(5n+4) a {
    padding-left: 84px;
  }

  #lifescene li.shushoku_taishoku a {
    background-position: 40px center;
  }

  #lifescene li.koreisha_kaigo a {
    background-position: 26px center;
  }

  #lifescene li.shogaisha a {
    background-position: 30px center;
  }

  #lifescene li.okuyami a {
    background-position: 24px center;
  }

  #lifescene li.event a {
    background-position: 30px center;
  }

  #lifescene li.kyujitsushinryo a {
    background-position: 40px center;
  }

  #lifescene li a:hover,
  #lifescene li a:focus {
    border-color: #0172c0;
  }
}

@media screen and (max-width: 960px) {
  #lifescene ul {
    gap: 10px;
    padding: 0 15px;
  }

  #lifescene li {
    flex-basis: calc(33.33% - 6.66px);
  }

  #lifescene li a {
    padding: 25px 0;
    background-position: 10px center;
  }

  #lifescene li:nth-child(odd) a {
    padding-left: 75px;
  }

  #lifescene li:nth-child(even) a {
    padding-left: 65px;
  }

  #lifescene li.shushoku_taishoku a {
    background-position: 25px center;
  }

  #lifescene li.koreisha_kaigo a {
    background-position: 15px center;
  }

  #lifescene li.shogaisha a {
    background-position: 20px center;
  }

  #lifescene li.event a {
    background-position: 20px center;
  }

  #lifescene li.kyujitsushinryo a {
    background-position: 15px center;
  }
}

@media screen and (max-width: 480px) {
  #lifescene li {
    flex-basis: calc(50% - 5px);
  }
}

/* administration
----------------------------------------------- */
#administration ul {
  display: flex;
  flex-wrap: wrap;
}

#administration li a {
  display: block;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  overflow: hidden;
}

#administration li a span {
  display: block;
  padding: 22px;
  background: #e6e6cd url("../../images/top/arrow-beige.svg") no-repeat right 10px center;
}

#administration li a img+span {
  background-image: none;
}

@media screen and (min-width: 961px) {
  #administration.piece {
    margin-bottom: 20px;
  }

  #administration ul {
    gap: 24px;
  }

  #administration li {
    flex-basis: calc(25% - 18px);
  }

  #administration li a:hover span,
  #administration li a:focus span {
    background-color: #d1d14b;
  }
}

@media screen and (max-width: 960px) {
  #administration.piece {
    margin-bottom: 40px;
  }

  #administration ul {
    gap: 24px;
    padding: 0 15px;
  }

  #administration li {
    flex-basis: calc(50% - 12px);
  }

  #administration li img {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  #administration ul {
    justify-content: center;
    gap: 0;
  }

  #administration li {
    flex-basis: 282px;
  }

  #administration li:nth-child(-n+4) {
    margin-bottom: 25px;
  }

  #administration li:nth-child(n+5):not(:last-child) {
    margin-bottom: 15px;
  }

  #administration li img {
    width: auto;
  }
}

/* relatedLinkTop
----------------------------------------------- */
#relatedLinkTop ul {
  display: flex;
  align-items: center;
}

@media screen and (min-width: 961px) {
  #relatedLinkTop.piece {
    margin-bottom: 50px;
  }

  #relatedLinkTop ul {
    justify-content: center;
    gap: 25px;
  }

  #relatedLinkTop li img {
    width: auto;
    max-height: 60px;
    object-fit: contain;
  }
}

@media screen and (max-width: 960px) {
  #relatedLinkTop.piece {
    margin-bottom: 40px;
  }

  #relatedLinkTop ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px 25px;
    padding: 0 25px;
  }

  #relatedLinkTop li {
    flex-basis: calc(33.33% - 16.66px);
  }

  #relatedLinkTop li img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  #relatedLinkTop li {
    flex-basis: calc(50% - 12.5px);
  }

  #relatedLinkTop li img {
    max-height: 60px;
  }
}


/* adBanner
----------------------------------------------- */
#adBanner .pieceBody {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#adBanner ul {
  display: flex;
  align-items: center;
  flex-basis: 100%;
  gap: 25px;
  margin-bottom: 30px;
  order: 1;
}

#adBanner .upper_text {
  order: 2;
}

@media screen and (min-width: 961px) {
  #adBanner.piece {
    margin-bottom: 40px;
  }

  #adBanner ul {
    justify-content: center;
  }
}

@media screen and (max-width: 960px) {
  #adBanner.piece {
    margin-bottom: 130px;
  }

  #adBanner ul {
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 25px;
  }
}

@media screen and (max-width: 480px) {
  #adBanner li {
    flex-basis: calc(50% - 12.5px);
  }

  #adBanner li img {
    width: 100%;
    height: auto;
  }
}

/* commonFooter
----------------------------------------------- */
#pageFooterContainer {
  display: block;
  padding: 0;
  text-align: center;
}

#commonFooter h2 {
  position: relative;
  z-index: 1;
}

#commonFooter li {
  margin-right: 0;
}

#commonFooter li a {
  display: block;
  width: 220px;
  height: 50px;
  line-height: 50px;
  padding: 0;
  border-radius: 8px;
  background: #e6e6cd url("../../images/top/arrow-beige.svg") no-repeat right 10px center;
}

#commonFooter li a:hover,
#commonFooter li a:focus {
  background: #d1d14b url("../../images/top/arrow-beige.svg") no-repeat right 10px center;
}

@media screen and (min-width: 961px) {
  #commonFooter {
    margin-bottom: 50px;
  }

  #commonFooter h2 {
    margin: -85px 0 10px;
  }

  #commonFooter address {
    margin: 30px 0;
  }

  #commonFooter ul {
    justify-content: center;
    gap: 25px;
  }

  #commonFooter li a {
    text-align: center;
  }
}

@media screen and (max-width: 960px) {
  #commonFooter {
    margin-bottom: 30px;
  }

  #commonFooter h2 {
    margin: -143px 0 10px;
  }

  #commonFooter address {
    margin: 30px 0 20px;
  }

  #commonFooter ul {
    justify-content: center;
    gap: 15px;
  }

  #commonFooter li,
  #commonFooter li:first-child {
    flex-basis: 220px;
  }

  #commonFooter li a {
    padding-left: 25px;
    text-align: left;
  }
}

@media screen and (max-width: 480px) {
  #commonFooter ul {
    gap: 15px 0;
  }
}

/* footerNavi
----------------------------------------------- */
#footerNavi {
  margin-bottom: 30px;
}

#footerNavi ul {
  display: flex;
  justify-content: center;
}

#footerNavi li a {
  padding: 0;
  background: none;
}

@media screen and (min-width: 961px) {
  #footerNavi ul {
    gap: 20px;
  }

  #footerNavi li {
    flex-basis: auto;
  }
}

@media screen and (max-width: 960px) {
  #footerNavi ul {
    flex-wrap: wrap;
    gap: 15px 25px;
  }

  #footerNavi li {
    flex-basis: auto;
  }

}

/* copyright
----------------------------------------------- */
#copyright {
  text-align: center;
}

/* pageTop
----------------------------------------------- */
#pageTop {
  right: 50px;
  bottom: 50px;
}

#pageTop a {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
}

@media only screen and (min-width: 960px),
print {

  #pageTop a:hover,
  #pageTop a:focus {
    background-color: transparent;
  }
}

@media screen and (max-width: 960px) {
  #pageTop {
    display: block;
    bottom: 75px;
  }
}