@import url("/ssi/css/style-iju.css");

/******************* 全サイズここから *******************/

/***** ヘッダーここから *****/

/* ロゴここから */

.main_logo {
	margin-left: 2em;
	padding: 0.8em 0.4em 0 0.4em;
	max-width: 140px;
}

/* ロゴここまで */

/* キャッチフレーズここから */

.main_catchphrase {
  width: 100%;
  height: auto;
  white-space: nowrap;
  position: relative;
}

.main_catchphrase p {
  display: inline-block;
  position: absolute;
  top: 750%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.2em;
  margin: 0;
  padding: 3em 0;
  /**
  text-indent: -1em;
  **/
  line-height: 2.4;
  z-index: 2;
  letter-spacing: 0.2em;
}

@media all and (min-width:1600px) {

  .main_catchphrase p {
      font-size: 2.5em;
      padding: 5em 0 3em 0;
  }
	
}

/* キャッチフレーズここまで */

/* スライドショーここから */

.header_wrap .slider_wrap p {
  margin: 0;
  padding: 0;
}

.header_wrap .slider_wrap .slick-dots li button::before {
  width: 15px;
  height: 15px;
  background-color: #000;
  border-radius: 100vh;
}

.header_wrap .slider_wrap .slick-prev,
.header_wrap .slider_wrap .slick-next {
  width: 50px;
  height: 50px;
  font-size: 100%;
}

.header_wrap .slider_wrap .slick-prev {
  left: 1em;
  color: #fff;
  background-color: #000;
  z-index: 1;
  text-indent: -9999px;
}

.header_wrap .slider_wrap .slick-prev::before {
  content: '';
  position: absolute;
  top: calc(50% - 16px / 2);
  left: calc(50% - 16px / 4);
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  width: 16px;
  height: 16px;
  display: block;
  transform: rotate(-45deg);
}

.header_wrap .slider_wrap .slick-next {
  right: 1em;
  color: #fff;
  background-color: #000;
  z-index: 1;
  text-indent: -9999px;
}

.header_wrap .slider_wrap .slick-next::before {
  content: '';
  position: absolute;
  top: calc(50% - 16px / 2);
  right: calc(50% - 16px / 2);
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  display: block;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
}

.header_wrap .slick-slide img {
  width: 100% !important;
  height: calc((100vw - (2/12)*100vw)*0.5625) !important;
  max-height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.header_wrap .slider_wrap .slick-dots li button {
  font-size: 100%;
}

.slick-dotted .slick-dots {
  bottom: -35px;
}

.grid_system_flex > div.header_bottom_right_area {
	padding: 0;
}

/* スライドショーここまで */

/***** ヘッダーここまで *****/

/***** タイトルここから *****/

.list_type_a_title {
	text-align: center;
	margin: 0 auto 6rem;
}

.list_type_a_title h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 4rem;
}

.list_type_a_title p {
  display: inline-block;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  margin-top: 0.5em;
}

/***** タイトルここまで *****/

/***** トピックスここから *****/

.list_ccc_top ul li:nth-child(n+4) {
	display: none;
}

/***** トピックスここまで *****/

/***** 特別メニューエリアここから *****/

.introduction_area {
    margin: 6rem auto;
}

.introduction_area_flex {
	display: flex;
	justify-content: space-between;
}

.introduction_area_flex:nth-child(even) {

	flex-direction: row-reverse;
}

.introduction_image {
	width: 48%;
	aspect-ratio: 1.5 / 1;	
}

.introduction_image_about {
	background-image: url(/img/iju/bg_special_menu_item_about.jpg);
	background-size: auto 130%;
}

.introduction_image_stay {
	background-image: url(/img/iju/bg_special_menu_item_stay.jpg);
	background-size: auto 130%;
}

.introduction_image_child {
	background-image: url(/img/iju/bg_special_menu_item_child_2024.jpg);
	background-size: cover;
}

.introduction_image_work {
	background-image: url(/img/iju/bg_special_menu_item_work.jpg);
	background-size: auto 130%;
}

.introduction_image_people {
	background-image: url(/img/iju/bg_special_menu_item_people.jpg);
	background-size: auto 130%;
}

.introduction_item {
	width: 50%;
	padding: 4rem 0 0;
}

.introduction_item h3 {
	font-size: 2.4rem;
	position: relative;
	font-weight: 400;
}

.introduction_item .grid_system_flex {
	padding-left: 4rem;
}

.introduction_item .grid_system_flex p {
	width: 50%;
}

.introduction_item_about h3::before {
    content: "";
    display: block;
    width: 115%;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: -0.8rem;
    left: -10rem;
}

.introduction_item_stay h3::before {
    content: "";
    display: block;
    width: 115%;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: -0.8rem;
    left: 0rem;
}

.introduction_item_child h3::before {
    content: "";
    display: block;
    width: 115%;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: -0.8rem;
    left: -10rem;
}

.introduction_item_work h3::before {
    content: "";
    display: block;
    width: 115%;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: -0.8rem;
    left: 0rem;
}

.introduction_item_people h3::before {
    content: "";
    display: block;
    width: 115%;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: -0.8rem;
    left: -10rem;
}

.introduction_item h3::after {
    position: absolute;
    top: -3.8rem;
    left: 0;
    font-size: 1.6rem;
}

.introduction_item_about h3::after {
    content: 'About';
}

.introduction_item_stay h3::after {
    content: 'Live';
}

.introduction_item_child h3::after {
    content: 'Child';
}

.introduction_item_work h3::after {
    content: 'Work';
}

.introduction_item_people h3::after {
    content: 'People';
}

/***** 特別メニューエリアここまで *****/

/***** 移住に関する補助制度ここから *****/

.subsidy_system_area_inner {
	padding: 0;
	font-family: "Noto Serif JP", "Yu Mincho", "游明朝", "ヒラギノ明朝 Pro", "メイリオ", sans-serif;
}

.btn_subsidy_system {
  position: relative;
  width: 1200px;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 5px;
  background-color: #000;
}

.btn_subsidy_system::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.45;
  z-index: 1;
}

.btn_subsidy_system::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-position: 50% 30%;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: scale(1.2);
  transition: all 5s ease-out;
  background-image: url(/img/iju/bg_subsidy_system_area.jpg);
  background-size: cover;
}

.btn_subsidy_system:hover::after {
  transform: scale(1.5);
}

.btn_subsidy_system a {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 250px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0.25em;
  box-sizing: border-box;
  border: 1px solid #fff;
  color: #fff;
}

.btn_subsidy_system a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: calc(100% - 0.5em);
  height: calc(100% - 0.5em);
  border: 1px solid #fff;
  border-radius: 5px;
}

.btn_subsidy_system a>span.btn_subsidy_system_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  display: inline-block;
  text-align: center;
  font-size: 3.6rem;
  letter-spacing: 0.2em;
}

.btn_subsidy_system a>span.btn_subsidy_system_inner>span:nth-child(1) {
  display: block;
  font-size: 1.5rem;
}

.btn_subsidy_system a>span.btn_subsidy_system_inner>span {
  white-space: nowrap;
}


/***** 移住に関する補助制度ここまで *****/

/***** お知らせエリアここから *****/

.rss_item_wrap {
	border: solid 1px #cfcfcf;
	padding: 2rem 6rem 4rem;
}

.rss_item_wrap .c-blue-button {
	text-align: center;
}

.list_ccc {
  padding: initial;
}

.list_ccc ul {
	list-style-type: none;
	padding: 0;
}

.list_ccc ul li {
	padding: 2.4rem 0.5em 2.4rem;
	border-bottom: 1px solid #000;
}

.list_ccc ul li:last-child {
	margin-bottom: 4rem;
}

.list_ccc li>span {
    display: table-cell;
}

.span_a.article_date {
    width: 9em;
}

.span_b.article_title a {
	text-decoration: none;
}

/***** お知らせエリアここまで *****/

/***** リンクバナーエリアここから *****/

.link_bnr_item .external_link_text {
  display: none;
}

.link_bnr_area_inner {
  display: flex;
  width: 1600px;
  max-width: 100%;
  margin: 5em auto;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
}

.link_bnr_item {
  margin: 0.2em 0.5em;
}

/***** リンクバナーエリアここまで *****/

/******************* 全サイズここまで *******************/

/******************* 1199以下ここから *******************/

@media all and (max-width:1199px) {
	
  /* ヘッダーここから */
	
  .main_catchphrase p {
      font-size: 2em
  }
	
  /* ヘッダーここまで */
	
	/* トピックスここから */
	
	.list_ccc_top ul {
		justify-content: space-evenly;
	}
	/* トピックスここまで */
	
  /* 紹介エリアここから */
	
	.introduction_area {
      margin: 6em auto 0;
  }
	
	.introduction_right_area{
		padding: 11em 0 5em 3em;
	}
	
  .introduction_left_area {
      padding: 0 0.5em 0 0;
  }

	.poetry_area{
		padding: 7em 0 6em 3em;
	}
	
  .poetry_area .title {
		font-size: 2em;
		padding: 0 0 0 1.5vw;
  }
	
  .poetry_area .text {
		font-size: 1.2em;
		line-height: 2.2;
		padding: 0 0 0 1.5vw;
  }
	
  .poetry_area .sub_catchphrase {
		font-size: 1.5em;
		line-height: 1.5;
		padding: 0 0 0 1.5vw;
  }
	
  /* 紹介エリアここまで */
	
}

/******************* 1199以下ここまで *******************/

/******************* 991以下ここから *******************/

@media all and (max-width:991px) {
	
	/* ヘッダーここから */

		.main_catchphrase p {
			padding: 1.5em 0.5em;
			font-size: 1.75em;
		}
	
	/* ヘッダーここまで */
	
	/* タイトルここから */
	
		.list_type_a_title {
			margin: 0 auto 1em;
		}
	
		.list_type_a_title h2 {
			font-size: 2.4rem;
			font-weight: 400;
			margin-bottom: 1rem;
		}
	
		.list_type_a_title p {
			font-size: 1.6rem;
			text-align: start;
		}
	
	/* タイトルここまで */
	
	/* リンクボタンここから */
	
		.introduction_item .btn_bottom_page {
			margin: 0 auto;
		}
	
	/* リンクボタンここまで */
	
	/* トピックスここから */
	
	.list_ccc_top {
		margin-bottom: 4rem;
	}
	
	.list_ccc_top ul li {
		width: 100%;
	}
		
	/* トピックスここまで */
	
		
	/* 特別メニューエリアここから */
	
		.introduction_area_flex {
			flex-direction: column;
		}
	
		.introduction_area_flex:nth-child(even) {
			flex-direction: column;
		}
	
		.introduction_image {
			width: 100%;
			aspect-ratio: 1.7 / 1;
		}
	
		.introduction_item_about h3::before {
			width: 100%;
			left: 0rem;
		}
	
		.introduction_item_stay h3::before {
			width: 100%;
		}
	
		.introduction_item_child h3::before {
			width: 100%;
			left: 0rem;
		}
	
		.introduction_item_work h3::before {
			width: 100%;
		}
	
		.introduction_item_people h3::before {
			width: 100%;
			left: 0rem;
		}
	
		.introduction_item {
			width: 100%;
			padding: 6rem 0 0;
		}
	
		.introduction_item h3 {
			font-size: 2rem;
		}
	
	/* 特別メニューエリアここまで */
	
	/* 町のお仕事図鑑エリア、暮らし体験会エリアここから */
	
		.image_area {
			margin-bottom: 6rem;
		}
	
		.image_area ul {
			flex-direction: column;
			gap: 2em;
		}
	
		.image_area ul li {
			width: 100%;
			aspect-ratio: 1.7 / 1;
		}
	
		.sp-none-img {
  	  display: none;
		}
	
	/* 町のお仕事図鑑エリア、暮らし体験会エリアここまで */
	
	/* お知らせエリアここから */
	
		.rss_item_wrap {
			padding: 2rem 5% 4rem;
		}
	
		.list_ccc {
			padding: 0.5em;
			font-size: 1.6rem;
		}
	
		.list_ccc li>span {
			display: block;
		}
	
		.list_ccc ul li {
			padding: 5% 0.5em;
		}
	
		.list_ccc ul li:last-child {
			margin-bottom: 2rem;
		}
	
	/** お知らせエリアここまで **/
	
}

/******************* 991以下ここまで *******************/

/******************* 768以上ここから *******************/

@media all and (min-width:768px) {
	
	/* ヘッダーここから */
	
		.header_top {
			position: sticky;
			top: 0;
			z-index: 999;
			background: rgba(255, 255, 255, 0.9);
		}
	
	/* ヘッダーここまで */
	
}

/******************* 768以上ここまで *******************/

/******************* 991以下768以上ここから *******************/

@media all and (max-width:991px) and (min-width:768px) {
	

	
}

/******************* 991以下768以上ここまで *******************/

/******************* 767以下ここから *******************/

@media all and (max-width:767px) {
	
	.grid_system_flex>div {
		width: 100%;
  }
	
	.grid_system_flex .footer_left {
		text-align: center;
	}
	
	/* ヘッダーここから */

	.header_inner .header_left_area,
  .header_inner .header_right_area {
		width: 100%;
  }
	
  .header_wrap .slick-slide img {
		width: 100% !important;
		height: 45vh !important;
		object-fit: cover;
  }
	
  .header_wrap .slider_wrap .slick-prev,
  .header_wrap .slider_wrap .slick-next {
		display: none!important;
  }
	
	.header_wrap {
		position: relative;
		margin-bottom: 15%;
	}

	.menu-container {
		padding: 0;
	}

	.main_logo {
		padding: 1em 1em;
	}

	.main_catchphrase_sp {
		position: absolute;
		white-space: nowrap;
		left: 0;
		bottom: 3rem;
	}
	
	.main_catchphrase_sp p {
		font-size: 1.5em;
		text-indent: 0;
  }
  .main_catchphrase_sp p span {
		background-color: #fff;
		padding: 0.3em;
		line-height: 2;
  }
	
  .header_right_area .slick-dotted.slick-slider {
		margin-bottom: 0;
  }
		
	/* ヘッダーここまで */
	
	/* 移住に関する補助制度ここから */
	
  .btn_subsidy_system a {
		min-height: 150px;
  }
	
  .btn_subsidy_system a>span.btn_subsidy_system_inner>span:nth-child(1) {
		font-size: 0.8rem;
  }
	
  .btn_subsidy_system a>span.btn_subsidy_system_inner {
		font-size: 1.4em;
  }
	
  /* 移住に関する補助制度ここまで */
	
	/* 町のお仕事図鑑エリア、暮らし体験会エリアここから */
	
	.image_area {
			margin-bottom: 4rem;
		}
	
	/* 町のお仕事図鑑エリア、暮らし体験会エリアここまで */
	
	/* お知らせエリアここから */
	
  .news_area_inner {
		padding: 0 0 2.5em;
  }
	
  .news_area_inner_left {
		padding: 0.5em;

  }
		
  /** お知らせエリアここまで **/
	
}
/******************* 767以下ここまで *******************/


/******************* 479以下ここから *******************/

@media all and (max-width:479px) {
	 /* お知らせエリアここから */
	
  .rss_title {
		position: relative;
  }
	
  .news_title_inner>span>span {
		top: 0.3em;
		right: -0.5em;
		font-size: 1rem;
  }
	
	.btn_news_all a,
	.btn_rss_all a,
	.btn_bottom_page a {
		font-size: 0.8em;
	}
	
	.btn_news_all a,
  .btn_rss_all a {
		font-size: 0.8em;
  }
	
  .btn_rss_all a {
		margin: 0.2em 0 0.2em 0.6em;
  }
	
  .list_ccc ul li {
		padding: 0.8em 0.5em 0.6em;
  }
	
  .list_ccc li>span {
		display: block;
  }
	
  .span_a.article_date {
		font-size: 0.9em;
  }
	
	/* お知らせエリアここまで */
	
}
/******************* 479以下ここまで *******************/

/******************* IE個別対応ここから *******************/

@media all and (-ms-high-contrast: none) {
	
  .main_catchphrase {
		padding: 0 5%;
  }
	
  .main_catchphrase p {
		position: static !important;
		transform: none !important;
  }
	
  .special_menu_item a {
		height: 100% !important;
		max-height: 700px;
  }
	
  .special_menu_item a span {
		left: calc(50% - 1em) !important;
		transform: none !important;
  }
	
  .special_menu_item a span::before {
		top: -21em !important;
		left: 0.3em !important;
  }
	
  .special_menu_item a span::after {
		writing-mode: lr-tb !important;
		top: -2rem;
		left: 25%;
  }
	
}

/*** IE個別対応ここまで ***/