


/* 
--------------------------------------------- */
.size_l {
  font-size: 1.75rem;
  font-size: clamp(1.75rem, 1.65rem + 0.4vw, 2rem);
  margin-bottom: 1.3em;
  font-weight: 600;
}
.size_m {
  font-size: 1.5rem;
  font-size: clamp(1.5rem, 1.4rem + 0.4vw, 1.75rem);
  margin-bottom: 1em;
}
.size_s {
  font-size: 1.125rem;
  font-size: clamp(1.125rem, 1.025rem + 0.4vw, 1.375rem);
  margin-bottom: 1.2em;
  font-weight: 500;
}
.deco_txt_l {
  font-size: 3.125rem;
  font-size: clamp(3.125rem, 1.6rem + 6.1vw, 6.9375rem);
  color: #e6e6e6;
}
.cl_pink {
  color: #d8677e;
}
.cl_white {
  color: #fff;
}
.txtbox_lh {
  line-height: 1.9;
}
.txtbox p {
  font-size: 0.9375rem;
  font-size: clamp(0.9375rem, 0.8875rem + 0.2vw, 1.0625rem);
  margin-bottom: 1.5em;
}
picture {
  display: block;
}
figcaption {
  font-size: 0.875rem;
}
.kado {
  border-radius: 20px;
  overflow: hidden;
}
.kado img {
  vertical-align: bottom;
  min-width: 100%;
  object-fit: cover;
}
.ttlbg_w {
  background-color: #fff;
  padding: 5px 5px;
}
@media screen and (max-width:800px) {
  .ttlbg_w {
    background-color: inherit;
    padding: 0;
  }
}
@media screen and (max-width:640px) {
  .size_m {
    margin-bottom: 1.5em;
  }
  .kado {
    border-radius: 10px;
    overflow: hidden;
  }
}

.bg,.sec_ima,.sec_pagetop {
  background-image: url(../img/cmn/bg.gif);
}

/* 乗算背景 */
.bg_round_support {
  height: 100px;
  width: 100%;
  display: block;
}
.bg_round_support::before {
  content: '';
  -webkit-mask-image: url(../img/cmn/mask_cmn_bg_round.png);
  mask-image: url(../img/cmn/mask_cmn_bg_round.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  height: 100%;
  width: 100%;
  background-color: #f2eeea;
  display: block;
}
.bg_repeat_support::before{ 
  content: '';
  background-color: #f2eeea;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 98px);
}
.bg_support {
  mix-blend-mode: multiply;
}
.deco_txt_white {
  line-height: 1.2;
  color: #fff;
  opacity: 0.5;
}
@media screen and (max-width:640px){
  .bg_round_support {
    height: 50px;
  }
  .bg_repeat_support::before{ 
    height: calc(100% - 48px);
  }
}


/* 移住・定住者情報紹介
--------------------------------------------- */
.sec_about {
  color: #fff;
  background-image: url(../img/iju-teiju/bg_iju_school.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  height: 100vh;
  width: 100%;
}
.sec_about::before {
  content: '';
  background-color: #000;
  opacity: 0.7;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.wrap_about {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 85%;
  padding-bottom: 2em;
  z-index: 2;
}
.ttl_fkds_about {
  background-color: #169b6b;
  border-radius: 50px;
  padding: 10px;
  max-width: 340px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  position: relative;
} 
.ttl_fkds_about::after{
  content: '';
  background-color: #169b6b;
  clip-path: polygon(100% 0, 29% 0, 0 100%);
  position: absolute;
  right: 50px;
  bottom: -15px;
  width: 23px;
  height: 17px;
}



.deco_street {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 2000px;
  width: 100%;
  aspect-ratio: 2000/219;
  max-height: 219px;
  height: 100%;
  background-image: url(../img/iju-teiju/bg_iju_tatemono.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center 14px;
  z-index: 1;
}
@media screen and (max-width:2000px){
  .deco_street {
    background-position: bottom;
    background-size: auto;
  }
}
@media screen and (max-width:640px){
  .deco_street {
    background-size: cover;
  }
}

/* 動画
--------------------------------------------- */
.sec_video {
  width: 100%;
  min-width: 100%;
  min-height: 100vh;
  pointer-events: none;
  position: relative;
}
.sec_video::before {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(to bottom, #169b6b 0%, rgba(22, 155, 107, 0) 100%);
  position: absolute;
  left: 0;
  top: 0;
}
.sec_video video {
  min-width: 100%;
  min-height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
     object-position: center center;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     margin: 0cap;
     z-index: -1;
}

/* ひえづで暮らす人のはなし
--------------------------------------------- */
.sec_life {
  background-color: #169b6b;
  color: #fff;
}
.txtbox_life {
  margin-bottom: 50px
}
.deco_txt_life {
  color: rgba(255, 255, 255, 0.2);
}
.blk_jiman_ttl {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}
/* スライダー */
.blk_jiman_list {
  position: relative;
  padding-top: 30px;
  width: calc(97% - 140px);
  margin-bottom: 30px;
}
.jiman-arrow {
  position: absolute;
  top: 54px;
  top: 30%;
  width: 60px;
  height: 60px;
  border: 1px solid #333;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: 0.25s;
}
.jiman-arrow-prev {
  left: -70px;
}
.jiman-arrow-next {
  right: -70px;
}
.jiman-arrow-prev::before,.jiman-arrow-next::before {
  content: "";
  background-image: url(../img/cmn/ico_cmn_arrow_black.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  width: 50%;
  height: 50%;
  display: block;
}
.jiman-arrow:hover {
  border-color:#333;
  transition: 0.25s;
  transform: scale(1.1);
}
/* 逆向き矢印（←） */
.jiman-arrow-prev::before {
  transform: rotate(-180deg); /* ←反時計回りに傾ける */
}
.jiman-arrow-prev::after {
  transform: rotate(180deg); /* ←時計回りに傾ける */
}
.jiman-slider {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  margin-left: auto;
  margin-bottom: 40px;
}
.jiman-item {
  padding: 0 12px;
}
.thum_ima{
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.thum_ima img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  width: 100%;
  height: 100%;
  transition: 0.5s;
}
.jiman-item a:hover .thum_ima img {
  transform: scale(1.1);
  transition: 0.5s;
}
.jiman-title {
  margin: 8px 0 6px;
  font-size: 1.1em;
  font-weight: bold;
  font-weight: 600;
  color: #fff;
}
.jiman-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #fff;
  opacity: 0.8;
}
/* 3件以下のとき矢印非表示 */
.jiman-slider.is-few ~ .jiman-arrow {
  display: none !important;
}
@media screen and (max-width:640px){
  .jiman-item  {
    padding: 0;
  }
  .jiman-arrow {
    width: 50px;
    height: 50px;
  }
  .jiman-arrow-prev {
    left: -60px;
  }
  .jiman-arrow-next {
    right: -60px;
  }
  .blk_jiman_list {
    width: calc(97% - 120px);
  }
  /* 3件以下のとき矢印非表示 */
  .jiman-slider.is-few ~ .jiman-arrow {
    display: flex !important;
  }
}



/* 日吉津で暮らす5つの魅力
--------------------------------------------- */
.sec_living {
  padding-bottom: 50px;
  padding-top: 100px;
}
.list_living {
  margin-bottom: 50px;
  counter-reset: interview-counter;
  padding-top: 50px;
}
.li_living {
  display: flex;
  flex-wrap: wrap;
  gap: 7%;
  position: relative;
  margin-bottom: 120px;
}
.li_living:nth-child(even) {
  flex-flow: row-reverse;
}
.li_living::before {
  counter-increment: interview-counter;
  content: counter(interview-counter, decimal-leading-zero);
  position: absolute;
  right: 54.5%;
  top: -60px;
  font-size: 6.875rem;
  z-index: 1;
  font-family: "JosefinSans", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "YuGothic", "Arial", "Yu Gothic", "Meiryo";
}
.li_living:nth-child(even)::before {
  right: auto;
  left: 54.5%;
}
.blk_img_living {
  width: 40.8%;
  position: relative;
  margin-bottom: 30px;
  height: fit-content;
}
.blk_img_living figcaption{
  position: absolute;
  bottom: 0.5em;
  right: 1em;
}
.blk_txt_living {
  flex:1;
  max-width: 520px;
  width: 100%;
  margin-right: 7.5%;
  display: flex;
  align-self: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: left;
}
.li_living:nth-child(even) .blk_txt_living {
  margin-right:0;
  margin-left: 7.5%;
}
.txtbox_living {
  width: 100%;
  margin-bottom: 10px;
}
.ttl_list_living {
  width: 100%;;
}
.fig_s_living {
  width: 49%;
  text-align: center;
}

@media screen and (max-width:640px) {
  .sec_living {
    padding-top: 80px;
  }
  .wrap_living {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
  .li_living {
    display: block;
  }
  .blk_img_living {
    width: 100%;
  }
  .blk_txt_living {
    margin-right:0%;
    max-width: 100%;
  }
  .li_living:nth-child(even) .blk_txt_living {
    margin-left: 0%;
  }
  .li_living::before,.li_living:nth-child(even)::before {
    right: auto;
    left: 0;
  }
  
}


/* よくある質問
--------------------------------------------- */
.sec_faq {
  position: relative;
  padding-bottom: 100px;
}
.wrap_faq {
  position: relative;
  width: 85%;
  text-align: left;
}
.ttlbox_faq {
  text-align: center;
}
.sec_faq_list {
  padding-top: 30px;
}
.box_faq{
  background-color: #fff;
  position: relative;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: clamp(0.9375rem, 0.8875rem + 0.2vw, 1.0625rem);
}
.ttl_s_faq {
  font-weight: bold;
}
.list_faq a {
  text-decoration: underline;
}
.list_faq a:hover {
  text-decoration: none;
}
.list_faq dt{
  display: flex;
  align-items: center;
  transition: 0.25s;
  font-weight: 500;
}
.ico_q,.list_faq dd::before{
  margin-right: 20px;
}
.accordion-box{
  display: flex;
  position: relative;
  opacity: 0;
  padding-left: 2.8em;
  padding-right: 5%;
  transition: 0.5s;
}
.accordion-check {
  display: none;
}
.accordion-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
  min-height: 70px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 1.5em;
  padding-right: 8%;
}
.ico_plus {
  width: 52px;
  height: 52px;
  position: absolute;
  right: 0;
  top: calc(50% - 26px);
}
.ico_plus::after,
.ico_plus:before {
  content: "";
  position: absolute;
  background-color: #534741;
  right: calc(50% - 5.5px);
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 20px;
  height: 1.5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.ico_plus::after {
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(90deg);
          transform: translateY(-50%) rotate(90deg);
}
.accordion-txt {
  line-height: 1.9;
}
.accordion-txt p{
  margin-bottom: 1em;
}
.accordion-box {
  height: 0;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
/* 開いた時 */
.accordion-check:checked ~ .accordion-box {
  height: auto;
  opacity: 1;

  padding-bottom: 10px;
}
.accordion-check:checked + dt .ico_plus:after {
  -webkit-transform: translateY(-1.5px) rotate(0);
          transform: translateY(-1.5px) rotate(0);
}
.accordion-check:hover + dt {
  color: #169b6b;
  transition: 0.25s;
}
.accordion-check:checked + dt {
  color: #169b6b;
}
@media screen and (max-width:640px){
  .accordion-label::after,.accordion-label:before {
    width: 18px;
  }
  .accordion-label {
    padding: 15px 12% 12px 3%;
  }
  .accordion-box { 
    padding-left: 5%;
  }
}

/* まずは、訪れてみるところから
--------------------------------------------- */
.sec_visit {
  padding-top: 100px;
  padding-bottom: 100px;
}
.wrap_visit {
  width: 85%;
}
.txtbox_visit {
  margin-bottom: 40px;
}
.list_visit {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.li_visit {
  width: 30%;
  text-align: left;
  margin-bottom: 20px;
}
.img_map {
  margin-bottom: 40px;
}
.ttlbox_li_visit {
  background-color: #000;
  border-radius: 50px;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-right: 15px;
}
.ico_ttl_visit {
  background-color: #fff;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  height: 49px;
  width: 49px;
  margin-right: 10px;
  border: 1px solid #000;
  border-radius: 50%;
  align-self: flex-start;
}
.ttl_list_visit {
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
}
@media screen and (max-width:640px) {
  .li_visit {
    width: 100%;
  }
  .txtbox_visit {
    text-align: left;
  }
}


/* この村を、もう少し知ってみる
--------------------------------------------- */
.sec_first {
  padding-top: 60px;
  padding-bottom: 100px;
}
.wrap_first {
  width: 85%;
}
.ttl_first {
  margin-bottom: 70px;
}
.deco_txt_first {
  line-height: 0.9;
}
.blk_link_first {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.link_first {
  width: 48%;
  display: block;
  background-color: #fff;
  margin-bottom: 40px;
}
.link_first:hover {
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.link_first:hover img{
   transform: scale(1.1);
   transition: 0.3s;
}
.txtbox_link_first {
  min-height: 100px;
  display: flex;
  align-items: center;
  padding: 15px 25px;
  justify-content: space-between;
  font-size: 1.125rem;
  font-size: clamp(1.125rem, 1.025rem + 0.4vw, 1.375rem);
  text-align: left;
  gap: 10px;
}
.fig_first {
  position: relative;
}
.pic_first {
  overflow: hidden;
  aspect-ratio: 432/513;
}
.pic_first img {
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.fig_first figcaption{
  position: absolute;
  top: 10px;
  right: 20px;
}
.ico_arrow_first {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  border-radius: 50%;
  transition: 0.3s;
}
.txt_link_first {
  flex: 1;
}
.ico_arrow_first::after {
  content: '';
  background-image: url(../img/cmn/ico_cmn_arrow_white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  width: 25px;
  height: 17px;
}
.link_first:hover .ico_arrow_first {
  transform: translateX(5px);
  transition: 0.3s;
}

@media screen and (max-width:640px){
  .link_first {
    width: 100%;
  }
  .blk_link_first {
    display: block;
  }
}

/* 移住・定住のサポートについて
--------------------------------------------- */
.sec_support{
  padding-bottom: 130px;
  position: relative;
}
.wrap_support {
  width: 85%;
  position: relative;
  padding-top: 30px;
}
.txtbox_support {
  margin-bottom: 45px;
}

@media screen and (max-width:640px){
  .sec_support{
    padding-bottom: 80px;
  }
}
