@charset "utf-8";

/* 共通 ここから
----------------------------------------- */

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

html body {
  font-size: 1.6rem;
}

body {
  min-width: unset !important;
  background-size: cover !important;
  background-position: center !important;
  margin: 0;
  padding: 0;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif" !important;
  background: url(/img/somanabi/bg_hp.jpg);
  background-repeat: repeat-y;
  background-size: contain !important;
  background-position: center !important;
  overflow-x: hidden;
}

p,
a {
  font-size: 1.6rem;
  line-height: normal;
  letter-spacing: 0.2rem;
}

ol,
ul {
  list-style: none;
  padding-left: 0;
  line-height: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: normal;
}

.hide {
  position: absolute;
  left: -100em;
  top: -100em;
}

.external_link_text {
  display: none;
}

#viewSwitch {
  display: none !important;
}

#main_a {
  margin: 0;
  padding: 0;
}

/* 共通 ここまで
----------------------------------------- */

/* ヘッダー ここから
----------------------------------------- */
.main_top {
  position: relative;
  margin-bottom: 440px;
}

#header {
  background: url(/img/somanabi/bg_header.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  position: absolute;
  top: 0;
  z-index: 999;
}

#header #logo {
  width: 330px;
  position: absolute;
  top: 18px;
  left: 40px;
}

#header #logo a img {
  width: 100%;
}

#header .nav-ue {
  display: flex;
  justify-content: end;
  margin-bottom: 12px;
  margin-right: 40px;
}

.pl {
  margin-right: 40px;
}

.pl a {
  display: block;
  color: #fff !important;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none !important;
  background: #253665;
  padding: 22px 8px 24px 8px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, .16);
}

.gs {
  display: flex;
  align-items: center;
}

.gs form#cse-search-box {
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, .16);
}

.gs form #tmp_query {
  border: none;
  width: 300px;
  height: 60px;
  border-radius: 10px 0 0 10px;
}

.gs form #submit {
  width: 60px;
  height: 60px;
  color: #253665;
  border: none;
  border-radius: 0 10px 10px 0;
  background: url(/img/somanabi/icon_search.png);
  background-repeat: no-repeat;
  background-size: 33px 33px;
  background-position: center;
  background-color: #253665;
}

#header .nav-sita {
  padding-bottom: 100px;
}

#header .nav-sita ul {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
}

#header .nav-sita ul li {
  /* width: calc(100% / 5);
  max-width: 160px; */
}

#header .nav-sita ul li a {
  display: grid;
  text-align: center;
  color: #232323;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  margin: 0;
}

#header .nav-sita ul li a img {
  width: 90px;
  height: 90px;
  margin: 0 auto;
}

/*ハンバーガーメニュー（スタイル + 非表示）*/
.span-container,
.checkbox {
  width: 45px;
  height: 45px;
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  background: #253665;
  cursor: pointer;
  position: fixed;
  right: 10px;
  top: 10px;
}

.checkbox {
  opacity: 0;
  z-index: 100;
  width: 65px;
  height: 65px;
}

.span-container {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  z-index: 90;
}

.span-container span {
  width: 100%;
  height: 3px;
  background: white;
  transition: all 250ms ease-out;
  transform-origin: 0 0;
}

.checkbox:checked~.span-container span:nth-last-child(1) {
  transform: rotate(-45deg) translate(2px, 4px);
}

.checkbox:checked~.span-container span:nth-last-child(2) {
  transform: rotate(0deg) scale(0.2, 0.2);
  opacity: 0;
}

.checkbox:checked~.span-container span:nth-last-child(3) {
  transform: rotate(45deg) translate(5px, -5px);
}

.nav-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  z-index: 50;
  background: url(/img/somanabi/hm_bg.png);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: right bottom;
  background-color: #f9f3e6;
  transition: all 250ms ease-out;
  transform: translateX(100%);
}

.nav-container a {
  text-decoration: none;
  color: white;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  margin: 1rem auto;
}

.nav-container a:hover {
  color: salmon;
}

.checkbox:checked~.nav-container {
  transform: translateX(0%);
}

/* ヘッダー ここまで
----------------------------------------- */


/* スライダー ここから
----------------------------------------- */
.swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  width: 100% !important;
  height: 100vh !important;
  object-fit: cover !important;
}

.swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden p {
  margin: 0 !important;
}

.swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden p img {
  width: 100% !important;
  height: 100vh !important;
  object-fit: cover !important;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  width: 100%;
  text-align: left;
  margin-left: 10px;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin-left: 10px;
  margin-right: 10px;
}

.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: #A47135;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #A47135;
  position: relative;
}

.swiper-pagination-bullet-active::before {
  content: "";
  width: 31px;
  height: 28px;
  background: url(/img/somanabi/dot_active.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
}

/* スライダー ここまで
----------------------------------------- */


/* トップのメインボタン ここから
----------------------------------------- */
.top-btn {
  width: 100%;
  max-width: 890px;
  margin: 0 auto;
  position: absolute;
  top: 88vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}

.top-btn ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}

.top-btn ul li {
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
}

.top-btn ul li.top-btn-item1 {
  width: calc(70% / 2);
}

.top-btn ul li.top-btn-item2 {
  width: calc(70% / 2);
}

.top-btn ul li a {
  display: inline-block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #1C796E;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  text-decoration: none;
  transition: all .3s ease-in-out;
  position: relative;
}

.top-btn ul li a:hover {
  scale: 1.1;
}

.top-btn ul li a span {
  display: inline-block;
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50% -50%);
}

.top-btn ul li.top-btn-item1 a::after {
  content: "";
  width: 193px;
  height: 155px;
  background: url(/img/somanabi/btn_1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -90px;
  left: -70px;
}

.top-btn ul li.top-btn-item2 a::after {
  content: "";
  width: 193px;
  height: 155px;
  background: url(/img/somanabi/btn_2.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -40px;
  right: -110px;
}

.top-btn ul li.top-btn-item3 a::after {
  content: "";
  width: 193px;
  height: 155px;
  background: url(/img/somanabi/btn_3.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -40px;
  left: -120px;
}

.top-btn ul li.top-btn-item4 a::after {
  content: "";
  width: 193px;
  height: 155px;
  background: url(/img/somanabi/btn_4.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -90px;
  left: 30px;
}

.top-btn ul li.top-btn-item5 a::after {
  content: "";
  width: 193px;
  height: 155px;
  background: url(/img/somanabi/btn_5.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  bottom: -20px;
  right: -70px;
}

/* トップのメインボタン ここまで
----------------------------------------- */


/* 「杣人（そまびと）」って？ ここから
----------------------------------------- */
#top-about {
  background: url(/img/somanabi/bg_about.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  padding-bottom: 260px;
  margin-bottom: 86px;
  position: relative;
}

#top-about::before {
  content: "";
  width: 369px;
  height: 276px;
  background: url(/img/somanabi/item_about01.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 60px;
  left: 0;
}

#top-about::after {
  content: "";
  width: 373px;
  height: 289px;
  background: url(/img/somanabi/item_about02.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  bottom: 48px;
  right: 0;
}

#top-about-content .h2box {
  background: none;
  text-align: center;
  margin: 0;
}

#top-about-content .h2box h2 {
  background: none;
  border: none;
  font-size: 4.5rem;
  padding: 0;
  display: inline-block;
  margin-bottom: 60px;
}

#top-about-content p {
  margin: 0;
  margin-bottom: 100px;
  text-align: center;
  text-shadow: 0px 0px 1px;
}

.more-btn {
  text-align: center;
}

.more-btn a {
  display: inline-block;
  padding: 24px 79px 24px 115px;
  border: solid 3px #1C796E;
  background: #1C796E;
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 2rem;
  font-weight: bold;
  transition: all .3s ease-in-out;
  position: relative;
}

.more-btn a::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  left: 72px;
  top: 50%;
  transform: translateY(-50%);
  transition: all .3s ease-in-out;
}

.more-btn a:hover {
  background: rgba(255, 255, 255, .6);
  color: #1C796E !important;
}

.more-btn a:hover::before {
  border-color: transparent transparent transparent #1C796E;
}

/* 「杣人（そまびと）」って？ ここまで
----------------------------------------- */



/* お知らせ ここから
----------------------------------------- */
#top-news {
  width: 100%;
  background: url(/img/somanabi/bg_news.png);
  background-repeat: repeat;
  background-size: 503px 333px;
  background-position: center top;
  padding-top: 140px;
  padding-bottom: 80px;
  margin-bottom: 160px;
}

#top-news .list_type_a_list {
  width: 90%;
  max-width: 1300px;
  background: none;
  margin: 0;
  margin: 0 auto;
  padding: 83px 220px 40px 220px;
  background: #fff;
  border-radius: 20px;
  box-sizing: border-box;
  position: relative;
}

#top-news .list_type_a_list::before {
  content: "";
  width: 422px;
  height: 178px;
  background: url(/img/somanabi/item_news01.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}

#top-news .list_type_a_list::after {
  content: "";
  width: 86px;
  height: 158px;
  background: url(/img/somanabi/item_news02.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  bottom: 40px;
  left: 40px;
}

#top-news .list_type_a_title {
  background: none;
  float: unset;
}

#top-news .h2box {
  margin: 0;
  background: none;
  text-align: center;
}

#top-news .h2box h2 {
  display: inline-block;
  background: none;
  border: none;
  font-size: 4.5rem;
  padding: 0;
  margin-bottom: 60px;
  float: none;
}

#top-news .list_ccc {
  margin-bottom: 60px;
}

#top-news .list_ccc ul {
  padding: 0;
}

#top-news .list_ccc ul li {
  margin: 0;
  margin-bottom: 30px;
  padding-bottom: 30px;
  background-image: linear-gradient(to right, #586E57, #586E57 2px, transparent 2px, transparent 8px);
  background-size: 6px 2px;
  background-position: left bottom;
  background-repeat: repeat-x;
}

#top-news .text_d2 {
  padding: 0;
}

#top-news .list_ccc ul li span.span_a {
  padding: 0;
  background: none;
  width: 12em;
}

#top-news .list_ccc ul li span.span_b a {
  color: #232323;
  text-decoration: none;
}

#top-news .list_ccc ul li span.span_b a:hover {
  text-decoration: underline;
}

/* お知らせ ここまで
----------------------------------------- */


/* 関連リンク ここから
----------------------------------------- */
#top-link {
  margin-bottom: 30px;
}

#top-link .h2box {
  margin: 0;
  background: none;
  text-align: center;
  margin-bottom: 50px;
}

#top-link .h2box h2 {
  display: inline-block;
  padding: 0;
  background: 0;
  border: none;
  font-size: 3.8rem;
  padding-top: 42px;
  padding-right: 105px;
  position: relative;
}

#top-link .h2box h2::after {
  content: "";
  width: 76px;
  height: 85px;
  background: url(/img/somanabi/item_link.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  bottom: 0;
  right: 0;
}

#top-link .top-link-content {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}

#top-link .top-link-content .free_box2 {
  width: calc(100% / 4);
  margin-bottom: 35px;
}

#top-link .free_box2 p {
  margin: 0;
  margin-left: 20px;
  margin-right: 20px;
}

#top-link .free_box2 a img {
  width: 100% !important;
  height: auto !important;
  border-radius: 10px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, .16);
  transition: all .3s ease-in-out;
}

#top-link .free_box2 a:hover img {
  transform: scale(1.1);
}

/* 関連リンク ここまで
----------------------------------------- */


/* フッター ここから
----------------------------------------- */
#footer {
  margin: 0;
  background: url(/img/somanabi/bg_footer.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

#footer .footer-content {
  padding-top: 340px;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer .author_title p {
  font-size: 3rem;
  font-weight: bold;
}

#footer .author_address ul li {
  font-size: 1.8rem;
}

#footer .author_address ul li:first-of-type {
  font-weight: bold;
}

#footer .more-btn a {
  border: solid 3px #253665;
  background: #253665;
}

#footer .more-btn a:hover {
  color: #253665 !important;
  background: rgba(255, 255, 255, .6);
}

#footer .more-btn a:hover::before {
  border-color: transparent transparent transparent #253665
}

#footer .cr {
  text-align: center;
}

#footer .cr p {
  font-size: 1.4rem;
  margin: 0;
  padding-bottom: 20px;
}

/* フッター ここまで
----------------------------------------- */


/* トップへ戻る ここから
----------------------------------------- */
p#page_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  margin: 0;
  z-index: 99;
  opacity: 0;
}

p#page_top a img {
  width: 152px;
  height: 130px;
}

#page_top {
  position: fixed;
}

#page_top a {
  transition: all 0.3s;
}

#page_top a:hover {
  opacity: 0.8;
}

#page_top.upmove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(150px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#page_top.downmove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(150px);
  }
}

@media (min-width: 1000px) {
  #page_top {
    right: 15px;
    bottom: 0;
  }

  #page_top a {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 999px) {
  #page_top {
    right: 0px;
    bottom: 0;
  }

  #page_top a {
    width: 60px;
    height: 60px;
    font-size: 0.6rem;
  }
}

/* トップへ戻る ここまで
----------------------------------------- */


/* リストページ ヘッダー ここから
----------------------------------------- */
#header.kaso_page {
  background: url(/img/somanabi/bg_header_kaso.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  position: relative;
  margin-bottom: 40px;
}

#header.kaso_page .nav-sita {
  padding-bottom: 30px;
}

/* リストページ ヘッダー ここまで
----------------------------------------- */


/* パンくず ここから
----------------------------------------- */
.pankuzu {
  width: 96%;
  max-width: 1200px;
  margin: 0;
  margin: 0 auto;
  margin-bottom: 60px;
  padding: 0;
  background: none;
}

/* パンくず ここまで
----------------------------------------- */


/* 大メニュー ここから
----------------------------------------- */
ul.dai_list {
  margin: 0;
}

ul.dai_list li {
  margin-bottom: 28px;
}

span.b_menu_btn a {
  display: inline-block;
  width: 100%;
  color: #232323;
  font-size: 3rem;
  font-weight: bold;
  text-decoration: none;
  padding: 17px 60px;
  box-sizing: border-box;
  border-top: 3px solid #554C42;
  border-bottom: 3px solid #554C42;
  position: relative;
}

span.b_menu_btn a::before {
  content: "";
  width: 74px;
  height: 50px;
  background: url(/img/somanabi/item_dai.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -30px;
}

span.b_menu_btn a::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #554C42;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

span.b_menu_btn a:hover {
  background: #554C42;
  color: #fff;
}

span.b_menu_btn a:hover::after {
  border-color: transparent transparent transparent #fff;
}

/* 大メニュー ここまで
----------------------------------------- */


/* 小メニュー ここから
----------------------------------------- */
ul.sho_list {
  margin: 0;
}

li.t_menu_btn {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 2px dotted #554C42;
}

.sho_list_item {
  display: grid;
  padding: 18px 50px;
  position: relative;
}

.sho_list_item::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #554C42;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.sho_list_item span.newsDate {
  font-size: 1.8rem;
}

.sho_list_item span.newsTitle a {
  display: inline-block;
  width: 100%;
  font-size: 2rem;
  font-weight: bold;
  color: #232323;
}

.sho_list_item:has(span.newsTitle a:hover) {
  background: #F5EFE8;
}

/* 小メニュー ここまで
----------------------------------------- */


/* 記事ページ ここから
----------------------------------------- */
#main {
  float: none;
  margin: 0;
}

.pankuzu.pankuzu_kiji {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.t_menu,
.b_menu {
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 60px 50px;
  box-sizing: border-box;
}

#main img {
  max-width: 100%;
  height: auto !important;
}

#main h1 {
  background: none;
  padding: 0;
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
  padding: 46px 60px;
  background: #1C796E;
  border-radius: 20px;
  font-size: 3.6rem;
  color: #fff;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 1330px) {
  #main h1 {
    overflow: hidden;
  }
}

#main h1::before {
  content: "";
  width: 78px;
  height: 102px;
  background: url(/img/somanabi/item_h1_01.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -20px;
  left: -30px;
}

#main h1::after {
  content: "";
  width: 126px;
  height: 119px;
  background: url(/img/somanabi/item_h1_02.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 20px;
  right: -60px;
}

#detail_date {
  float: none;
  width: 100%;
  max-width: 1200px;
  padding: 0;
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: right;
}

.kiji_area {
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 60px 50px;
  box-sizing: border-box;
}

/*h2*/
#main h2 {
  padding: 20px 44px;
  border-radius: 10px;
  border: 3px solid #fff;
  background: url(/img/somanabi/item_h2.png);
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center;
  color: #fff;
  font-size: 3rem !important;
  font-weight: bold;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
}

/*h3*/
#main h3 {
  padding: 20px 44px;
  border: 2px solid #3F3F45;
  border-radius: 10px;
  background: #fff;
  font-size: 2.7rem !important;
  font-weight: bold;
  position: relative;
}

#main h3::before {
  content: "";
  width: 68px;
  height: 97px;
  background: url(/img/somanabi/item_h3.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -20px;
  left: -30px;
}

/*h4*/
#main h4 {
  padding: 14px 50px;
  border-radius: 6px;
  background: #F0ECE0;
  font-size: 2.4rem !important;
  font-weight: bold;
  position: relative;
}

#main h4::before {
  content: "";
  width: 68px;
  height: 52px;
  background: url(/img/somanabi/item_h4.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  bottom: -10px;
  left: -20px;
}

/*h5*/
#main h5 {
  padding: 11px 50px;
  border-top: 2px dotted #554C42;
  border-bottom: 2px dotted #554C42;
  font-size: 2rem !important;
  font-weight: bold;
}

/*ul*/
#main .kiji_area ul {
  padding-left: 16px;
}

.kiji_area ul li {
  padding-left: 20px;
  position: relative;
}

.kiji_area ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #325030;
  border-radius: 4px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

/*ol*/
.kiji_area ol {
  list-style-type: decimal;
  padding-left: 30px;
}

.kiji_area ol li {
  padding-left: 0.5rem;
}

/*table*/
#main table {
  border-color: #325030 !important;
  overflow-x: auto;
}

#main th {
  border-color: #325030 !important;
  background: #D8ECEA;
  border-width: 2px;
  padding: 8px;
}

#main td {
  border-color: #325030 !important;
  border-width: 2px;
  padding: 8px;
}

/* 記事ページ ここまで
----------------------------------------- */


/* 記事ページ「どこで働いているの？」 ここから
----------------------------------------- */
/*カスタムボタン【.kiji_area .custom-btn2】のクラスがついたボタン*/
.kiji_area .custom-btn2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
  padding: 0 !important;
  margin: 2em 0 3em !important;
}

.kiji_area .custom-btn2 li {
  position: relative;
  width: 48%;
  padding-left: 0;
  list-style-type: none;
  background: #F8F8F8;
  border: solid 1px #000;
  transition: all .3s;
}

.kiji_area .custom-btn2 li::before {
  content: none;
}

.kiji_area .custom-btn2 li:hover {
  background: #f0ece0;
}

.kiji_area .custom-btn2 li a {
  display: block;
  padding: 1em 2.5em 1em 1.5em;
  color: #000;
  font-weight: bold;
  font-size: 1.8rem;
  text-decoration: none;
}

.kiji_area .custom-btn2 li a::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 20px;
  height: 20px;
  margin: auto;
  border-radius: 20px;
  background-color: #1C796E;
}

.kiji_area .custom-btn2 li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 27px;
  width: 8px;
  height: 8px;
  border: 0;
  top: 50%;
  margin-top: -4px;
  transform: rotate(45deg);
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  box-sizing: border-box;
}

@media all and (max-width:768px) {
  .kiji_area .custom-btn2 {
    flex-flow: column;
  }

  .kiji_area .custom-btn2 li {
    width: 100%;
  }
}

/* 記事ページ「どこで働いているの？」 ここまで
----------------------------------------- */

/* レスポンシブ ここから
----------------------------------------- */
/*ナビゲーションメニュー*/
@media (max-width: 1500px) {
  #header #logo {
    width: 270px;
  }
}

@media (max-width: 1120px) {
  #header .nav-sita ul li a {
    font-size: 1.8rem;
  }
}

@media (max-width: 1000px) {
  #header .nav-ue {
    margin-bottom: 80px;
    margin-right: 90px;
  }

  #header.kaso_page .nav-ue {
    height: 130px;
    margin-bottom: 0;
  }

  .nav-ue .gs {
    display: none;
  }

  .pl {
    margin-right: 0;
  }

  .nav-sita .gs {
    margin-bottom: 30px;
  }

  #header .nav-sita {
    padding: 0;
  }

  #header .nav-sita ul {
    flex-wrap: wrap;
    max-width: 94%;
    max-width: 360px;
  }

  #header .nav-sita ul li {
    width: 100%;
    max-width: unset;
    border-bottom: 1px dashed #ecaa43;
  }

  #header .nav-sita ul li a {
    display: flex;
    align-items: center;
  }

  #header .nav-sita ul li a img {
    margin: 0;
    margin-right: 20px;
    width: 70px;
    height: 70px;
  }
}

@media screen and (min-width: 1000px) {

  .checkbox,
  .span-container {
    display: none;
  }

  .nav-container {
    position: relative;
    left: none;
    top: none;
    width: auto;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    z-index: 50;
    background: transparent;
    transition: none;
    transform: none;
  }

  .nav-container a {
    margin-right: 1.5rem;
  }

  .nav-sita .gs {
    display: none;
  }
}

@media (max-width: 600px) {
  #header {
    height: 130px;
  }

  #header.kaso_page {
    height: 110px;
  }

  .span-container,
  .checkbox {
    right: 60px;
  }

  .pl a {
    position: fixed;
    right: 0;
    top: 0;
    font-size: 1.6rem;
    padding: 14px 16px 16px 10px;
    border-radius: 0 0 0 20px;
    writing-mode: tb;
    z-index: 90;
  }

  #header #logo {
    width: 220px;
    left: 10px;
  }

  .span-container,
  .checkbox {
    width: 35px;
    height: 35px;
  }

  .checkbox {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 400px) {
  .gs form #tmp_query {
    width: 220px;
  }
}

/*スライダー*/
@media (max-width: 600px) {
  .swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    height: 80vh;
  }

  .swiper-slide {
    height: 80vh !important;
  }

  .swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden p img {
    height: 80vh !important;
  }
}

/*トップボタン*/
@media (max-width: 1200px) {
  .main_top {
    margin-bottom: 100px;
  }

  .top-btn {
    position: unset;
    transform: translateX(0);
    max-width: unset;
    margin-top: 30px;
  }

  .top-btn ul {
    display: block;
  }

  .top-btn ul li {
    width: 96% !important;
    text-align: left;
    margin: 0 auto;
  }

  .top-btn ul li a {
    width: 100%;
    height: 100px;
    border-radius: 20px;
    margin-bottom: 10px
  }

  .top-btn ul li a span {
    position: relative;
    margin-left: 150px;
  }

  .top-btn ul li a span br {
    display: none;
  }

  .top-btn ul li.top-btn-item1 a::after {
    width: 116px;
    height: 93px;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
  }

  .top-btn ul li.top-btn-item2 a::after {
    width: 116px;
    height: 93px;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
  }

  .top-btn ul li.top-btn-item3 a::after {
    width: 116px;
    height: 93px;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
  }

  .top-btn ul li.top-btn-item4 a::after {
    width: 116px;
    height: 93px;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
  }

  .top-btn ul li.top-btn-item5 a::after {
    width: 116px;
    height: 93px;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
  }
}

@media (max-width: 700px) {
  .top-btn ul li a {
    font-size: 2rem;
    height: 70px;
    border-radius: 10px;
  }

  .top-btn ul li a span {
    margin-left: 100px;
  }

  .top-btn ul li.top-btn-item1 a::after {
    width: 77px;
    height: 62px;
  }

  .top-btn ul li.top-btn-item2 a::after {
    width: 77px;
    height: 62px;
  }

  .top-btn ul li.top-btn-item3 a::after {
    width: 77px;
    height: 62px;
  }

  .top-btn ul li.top-btn-item4 a::after {
    width: 77px;
    height: 62px;
  }

  .top-btn ul li.top-btn-item5 a::after {
    width: 77px;
    height: 62px;
  }
}

@media (max-width: 500px) {
  .top-btn ul li a {
    font-size: 1.6rem;
    height: 60px;
  }

  .top-btn ul li a span {
    margin-left: 74px;
  }

  .top-btn ul li.top-btn-item1 a::after {
    width: 60px;
    height: 48px;
    left: 4px;
  }

  .top-btn ul li.top-btn-item2 a::after {
    width: 60px;
    height: 48px;
    left: 4px;
  }

  .top-btn ul li.top-btn-item3 a::after {
    width: 60px;
    height: 48px;
    left: 4px;
  }

  .top-btn ul li.top-btn-item4 a::after {
    width: 60px;
    height: 48px;
    left: 4px;
  }

  .top-btn ul li.top-btn-item5 a::after {
    width: 60px;
    height: 48px;
    left: 4px;
  }
}

/*more-btn*/
@media (max-width: 800px) {
  .more-btn a {
    font-size: 1.6rem;
    padding: 14px 39px 14px 75px;
  }

  .more-btn a::before {
    border-width: 8px 0 8px 12px;
    left: 32px;
  }
}

/*「杣人（そまびと）」って？*/
@media (max-width: 1400px) {
  #top-about {
    padding-bottom: 220px;
  }

  #top-about::before {
    width: 295px;
    height: 221px;
  }

  #top-about::after {
    width: 298px;
    height: 231px;
  }
}

@media (max-width: 1210px) {
  #top-about {
    padding-bottom: 120px;
  }

  #top-about::before {
    width: 221px;
    height: 166px;
    top: -80px;
  }

  #top-about::after {
    width: 224px;
    height: 173px;
  }
}

@media (max-width: 800px) {
  #top-about {
    margin-bottom: 130px;
  }

  #top-about-content .h2box h2 {
    font-size: 3.6rem;
    margin-bottom: 30px;
  }

  #top-about::after {
    bottom: -80px;
  }

  #top-about-content p {
    margin-bottom: 60px;
  }
}

@media (max-width: 600px) {
  #top-about-content {
    width: 96%;
    margin: 0 auto;
  }

  #top-about {
    background-position: right -350px top;
  }
}

@media (max-width: 500px) {
  #top-about {
    margin-bottom: 60px;
  }

  #top-about-content .h2box h2 {
    font-size: 2.7rem;
  }

  #top-about::before {
    width: 148px;
    height: 110px;
    top: -30px;
    opacity: 0.8;
  }

  #top-about::after {
    width: 119px;
    height: 92px;
    bottom: 10px;
    opacity: 0.8;
  }
}

@media (max-width: 400px) {
  #top-about-content .h2box h2 {
    font-size: 2.2rem;
  }

  #top-about-content p {
    font-size: 1.4rem;
  }
}

/*お知らせ*/
@media (max-width: 1210px) {
  #top-news .list_type_a_list {
    padding: 83px 80px 40px 80px;
  }

  #top-news .list_type_a_list::after {
    width: 69px;
    height: 126px;
    bottom: 20px;
    left: 20px;
  }
}

@media (max-width: 800px) {
  #top-news .h2box h2 {
    font-size: 3.6rem;
    margin-bottom: 30px;
  }

  #top-news .list_type_a_list {
    padding: 30px 60px 40px 60px;
  }

  #top-news .list_type_a_list::before {
    width: 338px;
    height: 142px;
  }

  #top-news .list_ccc ul li span.span_a,
  #top-news .list_ccc ul li span.span_b {
    width: 100%;
  }

  #top-news .list_type_a_list::after {
    width: 52px;
    height: 95px;
  }
}

@media (max-width: 600px) {
  #top-news {
    margin-bottom: 120px;
  }

  #top-news .list_type_a_list::before {
    width: 253px;
    height: 107px;
    top: -80px;
  }

  #top-news .list_type_a_list {
    padding: 30px 40px 40px 40px;
  }
}

@media (max-width: 500px) {
  #top-news .h2box h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 400px) {
  #top-news {
    padding-top: 100px;
    padding-bottom: 50px;
    margin-bottom: 80px;
  }

  #top-news .h2box h2 {
    font-size: 2.2rem;
  }

  #top-news .list_type_a_list::before {
    width: 169px;
    height: 71px;
    top: -50px;
  }

  #top-news .list_type_a_list::after {
    bottom: -20px;
    left: 0;
    transform: rotate(-15deg);
  }

  #top-news .list_type_a_list {
    width: 94%;
    padding: 20px 20px 30px 20px;
  }
}

/*関連リンク*/
@media (max-width: 1210px) {
  #top-link .top-link-content .free_box2 {
    width: calc(100% / 3);
  }
}

@media (max-width: 800px) {
  #top-link .h2box h2 {
    font-size: 3.4rem;
  }

  #top-link .top-link-content {
    width: 98%;
  }

  #top-link .top-link-content .free_box2 {
    width: calc(100% / 2);
  }
}

@media (max-width: 600px) {
  #top-link .top-link-content .free_box2 {
    margin-bottom: 20px;
  }

  #top-link .free_box2 p {
    margin-left: 10px;
    margin-right: 10px;
  }

  #top-link .h2box h2::after {
    width: 60px;
    height: 68px;
  }
}

@media (max-width: 500px) {
  #top-link .h2box h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 400px) {
  #top-link .h2box h2 {
    font-size: 2.2rem;
    padding-right: 60px;
  }

  #top-link .top-link-content .free_box2 {
    margin-bottom: 10px;
  }

  #top-link .free_box2 p {
    margin-left: 5px;
    margin-right: 5px;
  }

  #top-link .free_box2 a img {
    border-radius: 4px;
  }
}

/*フッター*/
@media (max-width: 1210px) {
  #footer {
    background-position: left -260px top;
  }

  #footer .footer-content {
    display: block;
  }
}

@media (max-width: 800px) {
  #footer {
    background: url(/img/somanabi/bg_footer_sp.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left -300px top;
  }

  #footer .footer-content {
    padding-top: 230px;
    width: 94%;
  }

  #footer .author_title p {
    font-size: 2.4rem;
  }

  #footer .author_address ul li {
    font-size: 1.6rem;
  }

  #footer .author_title p {
    margin-top: 70px;
  }

  #footer .cr p {
    width: 96%;
    margin: 0 auto;
  }
}

/*トップへ戻る*/
@media (max-width: 800px) {
  p#page_top {
    bottom: 50px;
    right: 0;
  }

  p#page_top a img {
    width: 91px;
    height: 78px;
  }
}

/*見出し*/
@media (max-width: 800px) {
  #main h1 {
    font-size: 2.7rem;
    padding: 25px 15px 36px;
    line-height: 1.4;
  }

  #main h1::before {
    display: none;
  }

  #main h1::after {
    background: url(/img/somanabi/item_h1_03.png);
    right: 0;
    bottom: -11px;
    top: auto;
    width: 100%;
    height: 36px;
    background-size: contain;
    background-repeat: repeat-x;
  }

  .kiji_area {
    padding: 30px 20px;
  }

  #main h2 {
    font-size: 2.4rem !important;
    padding: 16px 24px;
  }

  #main h3 {
    font-size: 2rem !important;
    padding: 16px 24px;
  }

  #main h3::before {
    width: 50px;
    height: 71px;
    left: -20px;
  }

  #main h4 {
    font-size: 1.8rem !important;
    padding: 12px 30px;
  }

  #main h4::before {
    width: 50px;
    height: 38px;
  }

  #main h5 {
    font-size: 1.6rem !important;
    padding: 10px 30px;
  }

  #main p,
  #main a {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {

  .pankuzu.pankuzu_kiji,
  .pankuzu.pankuzu_kiji a {
    font-size: 1.4rem;
  }
}

@media (max-width: 500px) {
  #print_mode_link {
    display: none;
  }

  #detail_date {
    font-size: 1.4rem;
  }
}

@media (max-width: 400px) {
  /* #main h1 {
    padding: 30px;
  }

  #main h1::before {
    width: 62px;
    height: 81px;
    top: -40px;
    left: 0;
  }

  #main h1::after {
    width: 100px;
    height: 94px;
    top: unset;
    bottom: -60px;
    right: -10px;
  } */

  .kiji_area {
    padding: 30px 10px;
  }
}

/*下層ページ*/
@media (min-width: 768px) {
  span.b_menu_btn a::before {
    width: 59px;
    height: 40px;
  }

  span.b_menu_btn a::after {
    border-width: 6px 0 6px 12px;
    right: 10px;
  }

  span.b_menu_btn a {
    padding: 15px 30px;
  }

  .sho_list_item {
    padding: 15px 30px 15px 0;
  }

  .sho_list_item::after {
    border-width: 6px 0 6px 12px;
  }
}

/* レスポンシブ ここまで
----------------------------------------- */

/******************************
検索窓のカスタマイズ
******************************/
.gsc-control-cse {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.gsc-search-button-v2 {
  padding: 0 !important;
}

.gsc-search-button.gsc-search-button-v2:hover,
.gsc-search-button.gsc-search-button-v2 {
  padding: 0px 13px !important;
  background-color: #253665;
  height: 49px !important;
}

.gsc-input-box {
  border-radius: 40px 5px 5px 40px !important;
  padding: 0 10px;
}

.gsc-input-box input.gsc-input {
  font-size: 18px !important;
}

.gsc-search-button-v2,
.gsc-search-button-v2:hover,
.gsc-search-button-v2:focus {
  padding: 20px !important;
  border-radius: 5px 40px 40px 5px !important;
}

table.gsc-search-box td.gsc-input {
  padding-right: 5px !important;
}

.gsc-search-button-v2 svg {
  width: 18px !important;
  height: 18px !important;
  margin-right: 3px !important;
}

.gsc-search-button-v2:hover {
  opacity: 0.7 !important;
}

#gsc-i-id1 {
  height: 40px !important;
}

#gsc-i-id2 {
  height: 40px !important;
}


@media all and (max-width:768px) {
  .gsc-results-wrapper-overlay {
    top: 0px !important;
    height: 100dvh !important;
    left: 0 !important;
    width: 100% !important;
  }

  .top-btn ul {
    display: flex;
    row-gap: 12px;
  }

  .top-btn ul li a span {
    display: flex;
    position: relative;
    height: 100%;
    align-items: center;
    left: unset;
    top: unset;
    width: auto;
    -webkit-transform: none;
  }

  .gsc-modal-background-image {
    height: 100dvh !important;
  }

  body.gsc-overflow-hidden .span-container {
    z-index: 0;
  }

  body.gsc-overflow-hidden .pl {
    z-index: 0;
  }
}

@media (max-width: 1000px) {
  h1#logo {
    margin: 0;
  }

  .nav-sita .gs {
    margin-bottom: 0;
  }
}

@media (max-width: 320px) {
  #header .nav-sita {
    flex-direction: row;
    overflow: scroll;
  }

  .nav-sita .gs {
    margin-top: 80px;
  }

  #header .nav-sita ul {
    gap: 4px;
  }
}