@import url("/img/iju/bootstrap.min.css");
@import url("/ssi/css/style-iju.css");

/******************** アニメーションここから ********************/

@keyframes fadeIn {
    /*animation-nameで設定した値を書く*/
    0% {
        opacity: 0
    }
    /*アニメーション開始時は不透明度0%*/
    100% {
        opacity: 1
    }
    /*アニメーション終了時は不透明度100%*/
}

/******************** アニメーションここまで ********************/

/******************** ボディここから ********************/

body {
    opacity: 0;
}

body.active {
    animation: fadeIn 2s 0s both;
}

/******************** ボディここまで ********************/

/******************** 見出し1ここから ********************/

.col-md-8.page_title_image_area {
  min-height: calc(100vw * (8 / 12) * (575 / 1359));
}

.col-md-9.page_title_image_area {
  min-height: calc(100vw * (9 / 12) * (575 / 1359));
}

.col-md-10.page_title_image_area {
  min-height: calc(100vw * (10 / 12) * (575 / 1359));
  width: 80%;
}

.page_title_area.other .page_title_image_area, .page_title_area.other2 .page_title_image_area {
  background-image: url(/img/iju/bg_h1_other.jpg);
  background-size: cover;
}

.page_title_area.about .page_title_image_area, .page_title_area.about2 .page_title_image_area {
  background-image: url(/img/iju/bg_h1_about.jpg);
  background-size: cover;
}

.page_title_area.stay .page_title_image_area, .page_title_area.stay2 .page_title_image_area {
  background-image: url(/img/iju/bg_h1_stay.jpg);
  background-size: cover;
}

.page_title_area.child .page_title_image_area, .page_title_area.child2 .page_title_image_area {
  background-image: url(/img/iju/bg_h1_child202403.jpg);
  background-size: cover;
}

.page_title_area.work .page_title_image_area, .page_title_area.work2 .page_title_image_area {
  background-image: url(/img/iju/bg_h1_work.jpg);
  background-size: cover;
}

.page_title_area.people .page_title_image_area, .page_title_area.people2 .page_title_image_area {
  background-image: url(/img/iju/bg_h1_people.jpg);
  background-size: cover;
}

.page_title_area.subsidy .page_title_image_area, .page_title_area.subsidy2 .page_title_image_area {
  background-image: url(/img/iju/bg_h1_subsidy.jpg);
  background-size: cover;
}

.page_title_area .h1_wrap {
  position: relative;
  width: 20%;
}

.page_title_area h1 {
  *height: calc(100% - 3.2rem);
  max-height: 100%;
  font-size: 4.2rem;
  display: block;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.page_title_area.other h1, .page_title_area.other2 h1 {
  font-size: 4.2rem;
}

.page_title_area.special h1::before {
  font-size: 1.8rem;
  display: block;
  letter-spacing: 0.3rem;
  line-height: 2;
}

.page_title_area.special h1::after {
  font-size: 4rem;
  display: block;
  letter-spacing: 0.4rem;
}

.page_title_area.special h1 {
  font-size: 0;
  white-space: nowrap;
}

.page_title_area.special h1 span {
  font-size: 1rem;
  text-indent: -9999px;
  display: none;
}

.page_title_area.about h1::before, .page_title_area.about2 h1::before {
  content: 'About\A';
}

.page_title_area.about h1::after, .page_title_area.about2 h1::after {
  content: '大熊を知る';
}

.page_title_area.stay h1::before, .page_title_area.stay2 h1::before {
  content: 'Live\A';
}

.page_title_area.stay h1::after, .page_title_area.stay2 h1::after {
  content: '大熊に住む';
}

.page_title_area.child h1::before, .page_title_area.child2 h1::before {
  content: 'Child\A';
}

.page_title_area.child h1::after, .page_title_area.child2 h1::after {
  content: '大熊で育てる';
}

.page_title_area.work h1::before, .page_title_area.work2 h1::before {
  content: 'Work\A';
}

.page_title_area.work h1::after, .page_title_area.work2 h1::after {
  content: '大熊で働く';
}

.page_title_area.people h1::before, .page_title_area.people2 h1::before {
  content: 'People\A';
}

.page_title_area.people h1::after, .page_title_area.people2 h1::after {
  content: '大熊の人';
}

.page_title_area.subsidy h1::before, .page_title_area.subsidy2 h1::before {
  content: 'Subsidy system in okuma\A';
}

.page_title_area.subsidy h1::after, .page_title_area.subsidy2 h1::after {
  content: '移住に関する\A補助制度';
  white-space: pre;
}

@media all and (max-width:1110px) {
	
  .page_title_area.special h1::before {
    font-size: 1.6rem;
  }
	
  .page_title_area.special h1::after {
    font-size: 3.2rem;
  }
	
}

@media all and (max-width:767px) {
	
  .page_title_area {
    position: relative;
  }
	
  .page_title_area.special {
    position: static;
  }
	
  .page_title_area .h1_wrap {
    position: static;
  }
	
  .page_title_area.special .h1_wrap {
    position: relative;
  }
	
  .page_title_area.special .h1_wrap h1 {
    width: 100%;
    height: auto;
    writing-mode: horizontal-tb;
    padding: 0;
    font-size: 0;
  }
	
  .page_title_area .h1_wrap h1 {
    width: auto;
    writing-mode: horizontal-tb;
    display: inline-block;
    background-color: #fff;
    padding: 0.3rem 1.6rem;
    left: 0;
    transform: translateY(-50%);
  }
	
  .page_title_area .h1_wrap h1::before {
    font-size: 1.6rem;
    display: table;
    letter-spacing: 0.3rem;
    padding: 0.16rem 1em 0.3rem;
    background-color: #fff;
  }
	
  .page_title_area .h1_wrap h1::after {
    font-size: 3rem;
    display: table;
    margin: 0.3rem 0;
    padding: 0.16rem 1.6rem 0.3rem;
    background-color: #fff;
  }
	
  .col-md-10.page_title_image_area {
    min-height: calc(100vw * (575 / 1359));
    width: 100%;
  }
	
}

@media all and (max-width:479px) {
	
  .page_title_area .h1_wrap h1::before {
    font-size: 0.9rem;
  }
	
  .page_title_area .h1_wrap h1::after {
    font-size: 1.8rem;
  }
	
  .page_title_area.other h1, .page_title_area.other2 h1 {
    font-size: 3.2rem;
    padding: 0 0.8rem;
  }
	
}

/******************** 見出し1ここまで ********************/

/******************** 下層共通ここから ********************/

/***** フォントここから *****/

.p-sub {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  overflow-x: hidden;
}

.p-sub ul {
  padding-left: 0;
}

.p-sub ul li ul {
  padding-left: 0;
}

.p-sub ul li {
  list-style-type: none;
}

.p-sub p, dd {
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

@media all and (max-width: 540px) {
	
  .p-sub p, dd {
    font-size: 1.6rem;
  }
	
}

.p-sub .small-text {
  font-size: 1.4rem;
}

@media all and (max-width: 767px) {
	
  .p-sub .small-text {
    font-size: 1.4rem;
  }
	
}

.p-text {
  position: relative;
  width: 80%;
  padding: 5% 0 5%;
  margin: 0 auto;
  max-width: 1337px;
}

.p-text p {
  font-size: 1.8rem;
}

@media all and (max-width: 991px) {
	
  .p-text p {
    font-size: 1.6rem;
  }
	
}

/***** フォントここまで *****/

/***** border-contentsのクラス要素の下に下線を引くここから *****/

.border-contents {
  position: relative;
	margin-top: 10rem;
}

.border-contents::after {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 92vw;
  height: 1px;
  background-color: #333333;
}

@media all and (max-width: 767px) {
	
  .border-contents::after {
    width: 90vw;
  }
	
}

@media all and (max-width: 767px) {
	
  .border-contents::after {
    width: 84vw;
  }
	
}

/***** border-contentsのクラス要素の下に下線を引くここまで *****/

/***** 共通見出しスタイルここから *****/

/* セクションタイトル */

.c-sub-title {
  text-align: center;
  margin: 0 auto 3%;
  font-size: 3.6rem;
  font-weight: 400;
}

.c-sub-title h2 {
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: 0.3rem;
  text-align: center;
  margin-bottom: 5rem;
}

.c-sub-title p {
  display: inline-block;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  margin-top: 0.5em;
}

/* 横ライン付き */

.c-sub-title-2 {
  font-size: 2.4rem;
  font-weight: 400;
  position: relative;
  padding-left: 3.2rem;
  padding-right: 6%;
  letter-spacing: 0.16rem;
	margin-bottom: 3%;
}

.c-sub-title-2::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 2.4rem;
  height: 1px;
  background-color: #333333;
}

/* 写真下タイトル */

.c-sub-title-3 {
	font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "ヒラギノ明朝 Pro", "メイリオ", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.16rem;
	margin-bottom: 3%;
}

/* その他タイトル中央寄せ */

.c-sub-title-4 {
	font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "ヒラギノ明朝 Pro", "メイリオ", sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.16rem;
	margin-bottom: 3%;
	text-align: center;
}

.c-sub-text {
	padding-left: 3%;
	margin: auto;
}


@media all and (max-width: 991px) {
	
  .c-sub-title {
    font-size: 2.8rem;
    font-weight: 400;
    margin: 0 auto 3.2rem;
  }
	
  .c-sub-title h2 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
  }
	
  .c-sub-title p {
    font-size: 1.6rem;
    text-align: start;
  }
	
  .c-sub-title-2 {
    font-size: 2rem;
    font-weight: 400;
  }
	
  .c-sub-title-2::before {
    top: 1.2rem;
  }
	
	.c-sub-text {
		padding-left: 0;
	}
	
}

/***** 共通見出しスタイルここまで *****/

/***** ヘッダーここから *****/

.header_inner {
  max-height: 140px;
}

.main_logo {
	margin-left: 2em;
	padding: 0.8em 0.4em 0 0.4em;
	max-width: 140px;
}

@media all and (min-width:768px) {
	
  .header_top {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9);
  }
	
}

@media all and (max-width:767px) {
	
  .header_wrap {
    position: relative;
    margin-bottom: 20%;
  }
	
  .menu-container {
    padding: 0;
  }
	
  .main_logo {
    padding: 1.5rem 2rem;
  }
	
  .main_logo img {
    width: 110px;
  }
	
  .main_catchphrase_sp {
    bottom: 3rem;
  }
	
}

/***** ヘッダーここまで *****/

/***** リンクボタンここから *****/

.btn_news_all, .btn_bottom_page {
  position: relative;
  width: 18rem;
  height: 5rem;
  margin: 0 auto;
}

.btn_news_all {
  margin: 0 auto 2.4rem;
}

.btn_news_all a, .btn_bottom_page a {
  box-sizing: border-box;
  height: 100%;
  padding: 0.8rem 3.2rem 0.8rem 2rem;
  background-color: #fff;
  border: 1px solid #cfcfcf;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn_news_all a:hover, .btn_bottom_page a:hover {
  color: #000;
  background-color: rgba(000, 000, 000, 0.2);
}

.btn_news_all a::before {
  content: '';
  position: absolute;
  top: calc(50% - 6px * 1.41421356 / 2);
  right: 3.2rem;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(45deg);
  transition: 0.3s;
}

.btn_bottom_page a::before {
  content: '';
  position: absolute;
  top: calc(50% - 6px * 1.41421356 / 2);
  right: 1.6rem;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(45deg);
  transition: 0.3s;
}

.btn_news_all a:hover::before, .btn_bottom_page a:hover::before {
  border-color: #000;
}

/***** リンクボタンここまで *****/

/***** フッターここから *****/

.footer_low_area_title h3 {
  font-size: 1.8rem;
  font-weight: bold;
}

/* リンクバナーエリアここから */

.link_bnr_item .external_link_text {
  display: none;
}

.link_bnr_area_inner {
  display: flex;
  width: 1600px;
  max-width: 100%;
  margin: 8rem auto;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
}

.link_bnr_item {
  margin: 0.3rem 0.8rem;
}

@media all and (max-width:767px) {
	
  .link_bnr_area_inner {
    margin: 4.8rem auto;
  }
	
  .link_bnr_item {
    margin: 1.6rem 0.8rem;
  }
	
}

/* リンクバナーエリアここまで */

/***** フッターここまで *****/

/***** リストエリアここから *****/

.list_area_sub {
  margin-bottom: 6rem;
}

@media all and (max-width:991px) {
	
	.list_area_sub {
		margin-bottom: 4rem;
	}
	
}

/***** リストエリアここまで *****/

/***** コンテンツ幅ここから *****/

.p-sub-box {
	padding: 8% 1rem;
}

.p-sub-inner {
	max-width: 100rem;
}

@media all and (min-width: 576px) {
	
	.p-sub-inner {
		max-width: 544px;
	}
	
}

@media all and (min-width: 768px) {
	
	.p-sub-inner {
		max-width: 720px;
	}
	
}

@media all and (min-width: 992px) {
	
	.p-sub-inner {
		max-width: 960px;
	}
	
}

@media all and (min-width: 1500px) {
	
	.p-sub-inner {
		max-width: 120rem;
	}
	
}

@media all and (max-width: 767px) {
	
	.p-sub-box {
		padding: 15% 1rem;
	}
	
}

/***** コンテンツ幅ここまで *****/

/***** 画像+imgここから *****/

.iju-img {
	width: 50%;
}

.iju-img img {
	width: 100%;
}

.iju-text {
	width: 50%;
}

@media all and (max-width: 991px) {
	
	.iju-img {
		width: 100%;
	}
	
	.iju-text {
		width: 100%;
	}
	
}

/***** 画像+imgここから *****/

/***** sp imgここから *****/

@media all and (max-width: 991px) {
	
  .sp-img {
    margin-bottom: 3%;
  }
	
}

/***** sp imgここまで *****/

/***** 外部リンク表示ここから *****/

.c-sub-content.p-sub .external_link_text {
	display: none;
}

/***** 外部リンク表示ここまで *****/

/***** リストエリア（3つ並び）ここから *****/

.list_area_sub ul li {
  width: 30%;
}

@media all and (max-width: 991px) {
	
  .list_area_sub ul {
    flex-direction: column;
    gap: 3.2rem;
  }
	
  .list_area_sub ul li {
    width: 100%;
  }
	
}
	
/***** リストエリア（3つ並び）ここまで *****/

/***** ボタン直前の余白ここから *****/

.blank_space {
	margin-bottom: 6rem;
}

@media all and (max-width: 991px) {
	
	.blank_space {
		margin-bottom: 4rem;
	}
	
}

/***** ボタン直前の余白ここまで *****/

/***** 中央配置 *****/

.banner-box {
	text-align: center;
}

/******************** 下層共通ここまで ********************/

/******************** 知るページここから ********************/

/*交通エリア*/

.transit-area .list_pack {
	gap: 0;
}

/*YouTubeエリア*/

.yt-area .list_pack {
	gap: 0;
}

/*暮らしマップ*/

.p-map-pic {
	width: 70%
}

.p-map-list-box .p-map-list li {
  position: relative;
  padding: 4%;
}

.p-map-list-box .p-map-list li:nth-child(odd):after {
  display: inline-block;
  content: '';
  position: absolute;
  top: 5%;
  right: 0;
  width: 1px;
  height: 90%;
  background-color: #778794;
}

.p-map-list-box .p-map-list li:before {
  display: inline-block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background-color: #778794;
}

.p-map-list-box .p-map-list li:nth-child(9):before, .p-map-list-box .p-map-list li:nth-child(10):before {
  display: none;
}

.p-map-list-box .p-map-list li .p-map-content {
  margin-bottom: 6%;
}

.p-map-list-box .p-map-list li .p-map-content dl dt {
  padding: 0 !important;
}

.p-map-list-box .p-map-list li .p-map-content dl dt:before {
  display: none;
}

.p-map-list-box .p-map-list .grid_system_flex {
  justify-content: space-between;
}

.p-map-list-box .p-map-list .p-map-img-a {
  background-size: cover;
  aspect-ratio: 1.4/1;
  width: 48%;
  position: relative;
}

.p-map-list-box .p-map-list .p-map-img-b {
  background-size: cover;
  aspect-ratio: 1.4/1;
  width: 48%;
}

.p-map-list-box .p-map-list .map01 .p-map-img-a {
  background-image: url(/img/iju/okuma-map01-a_2024.jpg);
}

.p-map-list-box .p-map-list .map01 .p-map-img-b {
  background-image: url(/img/iju/okuma-map01-b_2024.jpg);
  background-position: 45%;
}

.p-map-list-box .p-map-list .map02 .p-map-img-a {
  background-image: url(/img/iju/okuma-map02-a_2024.jpg);
}

.p-map-list-box .p-map-list .map02 .p-map-img-b {
  background-image: url(/img/iju/okuma-map02-b_2024.jpg);
  background-position: 80%;
}

.p-map-list-box .p-map-list .map03 .p-map-img-a {
  background-image: url(/img/iju/okuma-map03-a_2024.jpg);
  background-position: 70%;
}

.p-map-list-box .p-map-list .map03 .p-map-img-b {
  background-image: url(/img/iju/okuma-map03-b_2024.jpg);
  background-position: 70%;
}

.p-map-list-box .p-map-list .map04 .p-map-img-a {
  background-image: url(/img/iju/okuma-map04-a_2024.jpg);
  background-position: 20%;
}

.p-map-list-box .p-map-list .map04 .p-map-img-b {
  background-image: url(/img/iju/okuma-map04-b_2024.jpg);
  background-position: 80%;
}

.p-map-list-box .p-map-list .map05 .p-map-img-a {
  background-image: url(/img/iju/okuma-map05-a_2024.jpg);
}

.p-map-list-box .p-map-list .map05 .p-map-img-b {
  background-image: url(/img/iju/okuma-map05-b_2024.jpg);
}

.p-map-list-box .p-map-list .map06 .p-map-img-a {
  background-image: url(/img/iju/okuma-map06-a_2024.jpg);
}

.p-map-list-box .p-map-list .map06 .p-map-img-b {
  background-image: url(/img/iju/okuma-map06-b_2024.jpg);
}

/*ポップアップ*/

.lb-nav a.lb-prev {
  display: none !important;
}

.lb-nav a.lb-next {
  display: none !important;
}

.lb-data .lb-number {
  display: none !important;
}

.lb-data .lb-close {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
}

@media all and (max-width: 991px) {
	
	/*交通エリア*/

	.transit-area > div:last-child {
		margin-top: 6rem;
	}

	/*YouTubeエリア*/

	.yt-area > div:last-child {
		margin-top: 6rem;
	}
	
	.p-map-list-box .p-map-list li:nth-child(odd):after {
    display: none;
  }
	
	.p-map-list-box .p-map-list li:nth-child(5):before {
    display: block;
  }
	
	.p-map-list-box .p-map-list li .p-map-content .p-map-content-inner img {
    margin-bottom: 1%;
  }
	
	.p-map-list-box .p-map-list li dl dd {
		margin-bottom: 0;
	}
	
	.p-map-pic {
		width: 100%
	}
	
}
	
	/* 四季 */
	#about03 ul {
		row-gap: 1.4rem;
	}
	
	#about03 ul li {
		width: 50%;
	}
		
@media all and (max-width: 540px) {
	
  .sp-none-img {
    display: none;
  }
	
  .p-map-content.row {
    margin-bottom: 0 !important;
  }
	
  .p-map-list-box .p-map-list li {
    padding: 10% 0 3%;
  }
	
	.p-map-list-box .p-map-list .p-map-img-a {
    width: 100%;
  }
	
}

@media all and (max-width: 479px) {
	
	#about03 ul li {
		width: 100%;
	}
	
}

/* イベント */

#about05 .c-mono-button a {
	width: 250px;
}


/******************** 知るページここまで ********************/

/******************** 住むページここから ********************/

/* 民間集合住宅 */

#stay03 .c-mono-button a {
	width: 250px;
}

/* 不動産情報 */

#stay04 .c-mono-button a {
	width: 230px;
}

/******************** 住むページここまで ********************/

/******************** 育てるページここから ********************/

#rss li a {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.p-child .banner-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.p-child .img-fluid {
	max-width: 65rem;
}

.p-child .list_area_sub ul li:hover {
	opacity: 0.6;
}

.p-child .list_area_sub ul li:nth-child(n+4) {
	display: none;
}

@media all and (max-width: 991px) {
	
	#rss li a span img {
		width: 100%;
	}
	
	.p-child .img-fluid {
		max-width: 100%;
	}
	
}

/******************** 育てるページここまで ********************/

/******************** 働くページここから ********************/

.p-work:last-child li {
	padding: 1.5%;
}

.p-work .img-fluid {
	object-fit: cover;
	aspect-ratio: 1.6 / 1;
}

@media all and (max-width: 991px) {
	
	.p-work .list_pack {
		gap: 0;
	}
	
	.bnr-link {
		justify-content: center;
	}
	
}

/******************** 働くページここまで ********************/

/******************** 人ページここから ********************/

.p-people .grid_system_flex::after {
	content: "";
	display: block;
	width: 30%;
}

.p-people .img-fluid {
	max-width: 65rem;
}

/* インタビュー記事遷移ボタン */

.img_filt {
	position: relative;
	background: #000;
	display: flex;
	justify-content: center;
	align-items: center;
}

.img_filt::before {
	position: absolute;
	content: "詳細を見る";
	font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "ヒラギノ明朝 Pro", "メイリオ", sans-serif;
	color: #fff;
	font-size: 3.6rem;
	transition-duration: 0.3s;
	pointer-events: none;
	z-index:2;
	opacity: 0;
}

.img_filt:hover::before {
	opacity: 1;
	transition-duration: 0.3s;
}

.img_filt a img:hover {
	opacity: 0.6;	
	transition-duration: 0.3s;
}

@media all and (max-width: 991px) {
	
	.p-people .grid_system_flex::after {
		content: none;
	}
	
	.p-people .img-fluid {
		max-width: 100%;
	}
	
	.img_filt {
		aspect-ratio: 3/1;
	}
	
	.img_filt a {
		height: 100%;
	}
	
	.img_filt a img {
		height: 100%!important;
		object-fit: cover;
		opacity: 0.6;	
		transition-duration: 0.3s;
	}
	
	.img_filt::before {
		opacity: 1;
		font-size: 2.8rem;
	}
	
}

/******************** 人ページここまで ********************/

/******************** 補助金ページここから ********************/

.p-subsidy a {
	text-decoration: none;
}

/* 英字付きタイトル */

.okuma_subsidy_title span {
	position: relative;
	font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "ヒラギノ明朝 Pro", "メイリオ", sans-serif;
	font-size: 1.6rem;
	letter-spacing: 0.2em;
}

.okuma_subsidy_title span::before {
	position: absolute;
	content: "";
	display: block;
	width: 110%;
	height: 1px;
	background: #000;
	top: 3.2rem;
	left: -5%;
}

.okuma_subsidy_title h2 {
	margin-top: 2rem;
}

/*画像リンク部*/

.subsidy-list {
	align-items: flex-end;
}

.p-subsidy .caution {
	display: flex;
	justify-content: flex-end;
	margin-top: 2rem;
}

/*支援一覧*/

.support_list {
	justify-content: space-between;
}

.support_list li {
	width: 31%;
	align-items: stretch;
}

.support_list li dl {
	border: solid 1px #ccc;
	padding: 10% 6% 6%;
	height: 100%;
}

@media all and (max-width: 991px) {
	
	.subsidy-list li {
		width: 100%;
	}
	
	.subsidy-list li img {
		width: 100%;
	}
	
	.support_list {
		row-gap: 2rem;
	}
	
	.support_list li {
		width: 100%;
	}
	
	.support_list li a {
		width: 100%;
	}
	
	.support_list li a dl dd {
		text-align: center;
	}
	
}

/******************** 補助金ページここまで ********************/

/******************** 小メニューページここから ********************/

.okuma-list-1 .other2 + .main_contents .main_contents_inner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem 0;
  margin: 1.2rem 0;
}

.okuma-list-1 .other2 + .main_contents .main_contents_inner ul:after {
  display: block;
  content: "";
  width: 30%;
}

.okuma-list-1 .other2 + .main_contents .main_contents_inner ul li {
  width: 30%;
  list-style: none;
}

.okuma-list-1 .other2 + .main_contents .main_contents_inner .list_pack {
  display: flex;
  flex-direction: column;
  gap: 2rem 0;
  position: relative;
}

.okuma-list-1 .other2 + .main_contents .main_contents_inner .list_pack img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
	object-position: top;
}

.okuma-list-1 .other2 + .main_contents .main_contents_inner .list_pack .span_d {
  display: block;
  background-image: url(/img/iju/notimg.png);
  background-size: 100% 100%;
  width: 100%;
  aspect-ratio: 1.6 / 1;
  border: 1px solid #e6e6e6;
}

.okuma-list-1 .other2 + .main_contents .main_contents_inner ul li .article_title {
  display: block;
  margin-top: 0.6rem;
}

.okuma-list-1 .other2 + .main_contents .main_contents_inner .list_pack .span_e a:before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
}

@media all and (max-width:991px) and (min-width:768px) {
	
  .okuma-list-1 .other2 + .main_contents .main_contents_inner ul:after {
    width: 48%;
  }
	
  .okuma-list-1 .other2 + .main_contents .main_contents_inner ul li {
    width: 45%;
  }
	
}

@media all and (max-width:767px) {
	
  .okuma-list-1 .other2 + .main_contents .main_contents_inner ul {
    gap: 0;
  }
	
  .okuma-list-1 .other2 + .main_contents .main_contents_inner ul li {
    width: 100%;
    padding: 3rem 1rem;
    background-image: linear-gradient(to right, #000, #000 1px, transparent 1px, transparent 4px);
    background-size: 5px 1px;
    background-repeat: repeat-x;
    background-position: left bottom;
  }
	
  .okuma-list-1 .other2 + .main_contents .main_contents_inner ul li:first-child {
    padding: 0 1rem 3rem;
  }
	
  .okuma-list-1 .other2 + .main_contents .main_contents_inner ul li:last-child {}
  .okuma-list-1 .other2 + .main_contents .main_contents_inner ul li:nth-child(n+4) .span_d {
    display: none;
  }
	
}

@media all and (max-width:479px) {
	
  .okuma-list-1 .other2 + .main_contents .main_contents_inner {
    width: 100%;
  }
	
}

/******************** 小メニューお知らせページここまで ********************/

/******************** お知らせページここから ********************/

.other2 .col-md-10.page_title_image_area {
  display: none;
}

.other2.page_title_area .h1_wrap {
  width: 100%;
  text-align: center;
  background-image: url(/img/iju/bg_h1_other.jpg);
  background-size: cover;
  padding: 0;
}

.other2.page_title_area h1 {
  position: static;
  top: 0;
  left: 0;
  transform: none;
  writing-mode: horizontal-tb;
  width: 100%;
  margin: 12rem auto 8rem;
  padding: 0 0.8rem;
  max-width: 1100px;
  line-height: 1.5;
}

.other2.page_title_area h1 span {
  padding: 3px 0.8rem 10px;
  background: #fff;
  display: flex;
  justify-content: center;
  text-align: left;
  position: relative;
}

.other2 + .main_contents .main_contents_inner {
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 8rem 0.8rem;
}

.other2 + .main_contents .main_contents_inner h2 {
  position: relative;
  margin: 6rem 0 4rem;
  padding: 1.4rem 0 1.4rem 4rem;
  font-size: 3.6rem;
  background: #f3f3f3;
}

.other2 + .main_contents .main_contents_inner h2:before {
  position: absolute;
  top: 0.7em;
  left: 0;
  display: inline-block;
  content: '';
  width: 2rem;
  height: 2rem;
  background-color: #3c9dc1;
}

.other2 + .main_contents .main_contents_inner h3 {
  position: relative;
  margin: 6rem 0 4rem;
  padding: 0 0 1rem 2rem;
  font-size: 2.8rem;
  border-bottom: solid 1px #000;
}

.other2 + .main_contents .main_contents_inner h3:before {
  position: absolute;
  margin-top: -1.6rem;
  top: 50%;
  left: 0;
  display: inline-block;
  content: '';
  width: 0.6rem;
  height: 2.8rem;
  background-color: #8996a0;
}

.other2 + .main_contents .main_contents_inner h4 {
  position: relative;
  margin: 4rem 0 2.4rem;
  padding-left: 4.6rem;
  font-size: 2.2rem;
}

.other2 + .main_contents .main_contents_inner h4::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 3.3rem;
  height: 1px;
  background-color: #000;
}

.other2 + .main_contents .main_contents_inner h5 {
  position: relative;
  margin: 4rem 0 2.4rem;
  font-size: 2rem;
	font-weight: bold;
}

.other2 + .main_contents .main_contents_inner p {
  margin: 2rem 0;
}

.other2 + .main_contents .main_contents_inner ul,
.other2 + .main_contents .main_contents_inner ol {
  margin: 1.2rem 0 1.2rem 2rem;
}

.other2 + .main_contents .main_contents_inner table {
  caption-side: top;
  margin: 1.6rem 0;
}

.other2 + .main_contents .main_contents_inner caption {
  padding-top: .32rem;
  padding-bottom: .32rem;
  color: #212121;
  text-align: center;
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "ヒラギノ明朝 Pro", "メイリオ", sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
}

.other2 + .main_contents .main_contents_inner th, .other2 + .main_contents .main_contents_inner td {
  border: 1px solid #212112;
  padding: 1.2rem 2rem;
}

.other2 + .main_contents .main_contents_inner th {
  text-align: center;
  background-color: #eee;
}

@media all and (max-width:479px) {
	
  .other2 + .main_contents .main_contents_inner {
    width: 95%;
  }
	
  .other2 + .main_contents .main_contents_inner h2 {
    font-size: 2.8rem;
  }
	
  .other2 + .main_contents .main_contents_inner h3 {
    font-size: 2.4rem;
  }
	
  .other2 + .main_contents .main_contents_inner h4 {
    margin: 3.2rem 0 3.2rem;
    font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "ヒラギノ明朝 Pro", "メイリオ", sans-serif;
    font-weight: 400;
  }
	
	.other2 + .main_contents .main_contents_inner h5 {
  	margin: 3.2rem 0 3.2rem;
}
	
  .other2 + .main_contents .main_contents_inner caption {
    font-size: 2rem;
  }
	
}

.offer {
  float: left;
  width: 300px;
  margin: 0 20px 0 0 !important;
}

.offer:nth-child(n+4) {
	margin: 20px 20px 0 0 !important;
}

.job-offer::after {
  content: "";
  clear: both;
  display: block;
}

/******************** お知らせページここまで ********************/

/* 20250127 住むページ修正 */

#stay04 .miraiwork {
    margin-top: 60px;
    text-align: center;
}

#stay04 .miraiwork a img {
    border: solid 1px #727272;
}

@media all and (max-width: 991px) {

    #stay04 .miraiwork {
        margin-top: 3.2rem;
    }

}