@charset "UTF-8";

/*==================================
  1. General - トップ共通
==================================*/
body {
  background-color: #f2f9f9;
}

/* mountain */
.l-footer {
  position: relative;
  margin-top: calc(160px + 20vw);
}

.l-footer::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100vw;
  height: calc(100vw / 96 * 23);
  /* aspect-ratio: 96 / 23; */
  background: url(/assets/images/index/bg_footer.png) no-repeat center/contain;
}

@media only screen and (max-width: 767px) {
  .l-footer {
    margin-top: calc(80px + 20vw);
  }
}

/*
 	1.1 Title - タイトル
====================================*/
.p-gyoseiTtl {
  text-align: center;
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.p-gyoseiTtl > span {
  display: block;
  position: relative;
  padding-bottom: 10px;
}
.p-gyoseiTtl > span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 20px);
  width: 40px;
  height: 4px;
  background: #70e5e5;
}
.p-gyoseiTtl > span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 20px);
  width: 20px;
  height: 4px;
  background: #1067a2;
}

@media only screen and (max-width: 767px) {
  .p-gyoseiTtl {
    font-size: 3rem;
  }
}

.p-gyoseiTtl02 {
  font-size: 3.2rem;
  font-weight: 700;
}

@media only screen and (max-width: 767px) {
  .p-gyoseiTtl02 {
    font-size: 2.8rem;
  }
}

.p-ttlHeading {
  display: flex;
  align-items: center;
}

/*
 	1.2 Link - リンク系
====================================*/
.c-bnrList {
  display: grid;
  gap: 40px;
}

.c-bnrList:not(:first-of-type) {
  margin-top: 40px;
}

.c-bnrList a {
  display: block;
  width: 100%;

  text-decoration: none;
  color: inherit;
}

.c-bnrList figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* 角丸 */
  border-radius: 1rem;
}

.c-bnrList.c-bnrList__col2 {
  grid-template-columns: repeat(2, 1fr);
}

.c-bnrList.c-bnrList__col3 {
  grid-template-columns: repeat(3, 1fr);
}

.c-bnrList.c-bnrList__col4 {
  grid-template-columns: repeat(4, 1fr);
}

.c-bnrList.c-bnrList__col5 {
  grid-template-columns: repeat(5, 1fr);
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .c-bnrList.c-bnrList__col3.type-l {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .c-bnrList.c-bnrList__col5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .c-bnrList {
    gap: 20px;
  }
  .c-bnrList:not(:first-of-type) {
    margin-top: 20px;
  }
  .c-bnrList.c-bnrList__col2,
  .c-bnrList.c-bnrList__col3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .c-bnrList.c-bnrList__col4,
  .c-bnrList.c-bnrList__col5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* figcaption */
.c-bnrList figcaption {
  margin-bottom: 20px;

  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media only screen and (max-width: 767px) {
  .c-bnrList figcaption {
    margin-bottom: 10px;
  }
}

/*==================================
  2. Mainvis - メインビジュアル
==================================*/
.p-mainVisual_zoom {
  width: 100%;
  height: 74vh;
  position: relative;
}

.p-mainVisual_zoom picture {
  display: block;
  overflow: hidden;
}

.p-mainVisual_zoom picture img {
  width: 100%;
  height: 74vh;
  aspect-ratio: 12 / 5;
  object-fit: cover;

  animation: zoom 10s 1;
  animation-fill-mode: forwards;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
/* CatchCopy */
.p-mainVisual_zoom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 1000px;
  height: calc(1000px / 10 * 3);
  /* aspect-ratio: 10 / 3; */
  background: url(/assets/images/index/catch.svg) no-repeat;
  filter: drop-shadow(0px 2px 3px rgba(61, 61, 61, 0.7));
}

@media only screen and (max-width: 1199px) {
  .p-mainVisual_zoom::after {
    height: calc(80vw / 10 * 3);
  }
}

/*==================================
  3. Pickup News - 新着ピックアップ
==================================*/
.p-topPickup_card {
  margin: 0 20px;
}

.p-topPickup_card img {
  border-radius: 1rem;
}

.p-topPickup_slider a {
  text-decoration: none;
}

/* adjustment */
.info > time {
  color: #212121;
}

/* slick-adjustment */
.slick-prev {
  left: -40px;
}
.slick-next {
  right: -40px;
}

@media only screen and (max-width: 1199px) {
  .slick-prev {
    left: -16px;
  }
  .slick-next {
    right: -16px;
  }
}

/*==================================
  4. Easy Search - かんたん検索
==================================*/
.p-topSearch_inr {
  padding: 60px;
  background: linear-gradient(90deg, rgba(226, 247, 238, 1), rgba(209, 240, 246, 1));
  border-radius: 1rem;
}

@media only screen and (min-width: 1200px) {
  .c-searchList__top {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .c-searchList__top li > a {
    padding: 20px 10px;
    text-align: center;
  }
  .c-searchList__top li > a span {
    padding-bottom: calc(80px + 20px);
    letter-spacing: 0.1em;
  }
  .c-searchList__top li > a span::after {
    top: calc(2em + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    aspect-ratio: 1 / 1;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .c-searchList__top li > a span {
    line-height: 80px;
    padding-left: 80px;
  }
  .c-searchList__top li > a span::after {
    top: 10px;
    left: 10px;
    width: 60px;
    aspect-ratio: 1 / 1;
  }
}

@media only screen and (max-width: 767px) {
  .p-topSearch_inr {
    padding: 30px;
  }
  /* Sideと共通 */
  .c-searchList__top li > a span {
    display: block;
    line-height: 60px;
    padding: 0 60px 0 20px;
  }
  .c-searchList__top li > a span::after {
    top: 10px;
    right: 10px;
    width: 40px;
    aspect-ratio: 1 / 1;
  }
}

/*==================================
  5. Spot - 神の子池
==================================*/
.p-topSpot_inr {
  background: #fff;
  border-radius: 1rem;
  padding: 60px;
}

.p-topSpot_wrap {
  display: flex;
  gap: 40px;
}

.p-topSpot_data {
  width: calc(100% - 460px - 40px);
  position: relative;
  padding-left: calc(100px + 40px);
}
.p-topSpot_data::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: calc(100px / 25 * 67);
  /* aspect-ratio: 25 / 67; */
  background: url(/assets/images/index/kaminoko_ttl.png) no-repeat center/cover;
}

.p-topSpot_def dd > p:not(:first-of-type) {
  margin-top: 5px;
}

.p-topSpot_photo {
  width: 100%;
  max-width: 460px;
}
.p-topSpot_photo img {
  border-radius: 1rem;
}

.p-topSpot_link {
  display: grid;
  gap: 20px;
}

.p-topSpot_ttl {
  font-size: 2.4rem;
  font-weight: 700;

  display: inline-block;
  position: relative;
  padding-left: calc(1.4em + 12px);
}

.p-topSpot_ttl::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.4em;
  aspect-ratio: 1 / 1;
  background: url(/assets/images/index/ai_caution.svg) no-repeat center/cover;
}

.p-topSpot_date {
  display: inline-block;
  margin-left: 1em;
}

.p-topSpot_info {
  padding: 40px;
  background: linear-gradient(90deg, rgba(226, 247, 238, 1), rgba(209, 240, 246, 1));
  border-radius: 1rem;
}

.p-topSpot_det dt {
  font-size: 110%;
}
.p-topSpot_det dd {
  margin-top: 10px;
}

@media only screen and (max-width: 1199px) {
  .p-topSpot_wrap {
    flex-direction: column;
    align-items: flex-end;
  }
  .p-topSpot_data {
    order: 2;

    width: 100%;
  }
  .p-topSpot_photo {
    order: 1;
  }
  .p-topSpot_data {
    padding-left: 0;
  }
  .p-topSpot_data::before {
    top: auto;
    bottom: calc(100% + 40px);
  }
}

@media only screen and (max-width: 767px) {
  .p-topSpot_wrap {
    gap: 20px;
  }
  .p-topSpot_inr {
    padding: 20px;
  }
  .p-topSpot_photo {
    padding-left: calc(50px + 20px);
  }
  .p-topSpot_data::before {
    bottom: calc(100% + 20px);
    width: 50px;
    height: 134px;
    /* height: calc(268px / 2); */
  }
  .p-topSpot_ttl {
    font-size: 2rem;
  }
  .p-topSpot_info {
    padding: 20px;
  }
}

/*==================================
  6. Information - 新着情報
==================================*/
.p-topNews_rss {
  display: inline-block;
  margin-left: 40px;
}

.p-topNews_rss img {
  width: 40px;
}

@media only screen and (max-width: 1199px) {
  .p-topNews_rss {
    margin-left: 20px;
  }
  .p-topNews_rss img {
    width: 32px;
  }
}

.p-unitFrame {
  padding: 40px;
  background: #fff;
  border-radius: 1rem;
}

/* topNews - 高さ固定 */
.c-newsList--hFix {
  height: 370px;
  overflow-y: auto;
  margin-bottom: 0;
}
.c-newsList--hFix2 {
  height: 100%;
  overflow-y: auto;
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .p-unitFrame {
    padding: 20px;
  }
}

/*==================================
  7. About - 町について
==================================*/

/*
 	7.1 Link - コンテンツリンク
====================================*/
.p-topAbout_link li > a {
  font-weight: 700;
  text-decoration: none;
  background: #1067a2;
  border-radius: 9999px;
  color: #fff;
  padding: 20px;
}

.p-topAbout_link li > a span {
  padding-left: calc(20px + 12px);
  position: relative;
}

.p-topAbout_link li > a span::before,
.p-topAbout_link li > a span::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.p-topAbout_link li > a span::before {
  top: calc(6px / 2);
  left: 0;
  width: 20px;
  height: 20px;
  background: #fff;
}
.p-topAbout_link li > a span::after {
  top: calc(20px / 2);
  left: calc(20px / 2 - 3px);
  width: 6px;
  height: 6px;
  background: #1067a2;
}

/*
 	7.2 Background - 背景
====================================*/
.p-topAbout_bg {
  padding-top: 120px;
  background: url(/assets/images/index/bg_about.png) no-repeat top center/cover;
}

.p-topAbout_head > span {
  display: block;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
.p-topAbout_main {
  font-size: 14rem;
}
.p-topAbout_sub {
  font-size: 4rem;
}

@media only screen and (max-width: 1199px) {
  .p-topAbout_main {
    font-size: 7rem;
  }
  .p-topAbout_sub {
    font-size: 2.2rem;
  }
}

@media only screen and (max-width: 767px) {
  .p-topAbout_bg {
    padding-top: 60px;
  }
  .p-topAbout_main {
    font-size: 4.4rem;
  }
  .p-topAbout_sub {
    font-size: 1.8rem;
  }
}

/*
 	7.2.1 Position - 町の位置
====================================*/
.p-topAbout_image {
  position: relative;
  padding-left: calc(100% - 700px);
}

.p-topAbout_image::before,
.p-topAbout_image::after {
  content: "";
  position: absolute;
}
.p-topAbout_image::before {
  top: 0;
  left: -240px;
  width: 100%;
  aspect-ratio: 54 / 55;
  background: url(/assets/images/index/hokkaido.png) no-repeat center/cover;
}

@media only screen and (min-width: 1200px) {
  /* PCのみ */
  .p-topAbout_image::before {
    width: 700px;
  }
  .p-topAbout_image::after {
    top: 0;
    left: 100%;
    width: 380px;
    aspect-ratio: 38 / 77;
    background: url(/assets/images/index/photo-img.png) no-repeat center/cover;
  }
}

@media only screen and (max-width: 1199px) {
  .p-topAbout_image {
    padding-left: 0;
    padding-bottom: 100vw;
  }
  .p-topAbout_image::before {
    top: auto;
    bottom: 0;
    left: 0;
  }
}

/*
 	7.2.2 Data - 人口統計
====================================*/
.p-topAbout_frame {
  background: #fff;
  border-radius: 1rem;
  width: 100%;
  padding: 40px;
}

.p-topAbout_det > p:not(:first-of-type) {
  margin-top: 5px;
}

.p-topAbout_flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media only screen and (max-width: 767px) {
  .p-topAbout_frame {
    padding: 30px;
  }
  .p-topAbout_frame:not(:first-of-type) {
    margin-top: 20px;
  }
  .p-topAbout_flex {
    display: block;
  }
}

.p-topAbout_ttl > span {
  display: inline-block;
  background: #eaf58b;
  border-radius: 1rem;
  font-weight: 700;
  padding: 0.2em 1.2em;
}

.p-topAbout_num {
  font-weight: 700;
  font-size: 2.4rem;
}

.p-topAbout_num > span {
  font-size: 6rem;
  line-height: 1.6;
  margin-right: 0.1em;
}

.p-topAbout_data {
  display: flex;
  gap: 20px;
  font-weight: 700;
}

.p-topAbout_data_ttl {
  position: relative;
}

.p-topAbout_data_ttl::after {
  content: "\ff1a";
}

.p-topAbout_data_ppl {
  font-size: 3.4rem;
}

@media only screen and (max-width: 767px) {
  .p-topAbout_data_ttl {
    display: block;
  }
  .p-topAbout_num > span {
    font-size: 5rem;
  }
  .p-topAbout_data_ppl {
    font-size: 2.6rem;
  }
}

.p-topAbout_col2 {
  display: flex;
  gap: 60px;
}

@media only screen and (max-width: 1199px) {
  .p-topAbout_col2 {
    flex-direction: column;
  }
}

@media only screen and (max-width: 767px) {
  .p-topAbout_col2 {
    gap: 20px;
  }
}

/*
 	7.2.3 Contents - コンテンツ
====================================*/
.p-topAbout_mail {
  position: relative;
  padding-top: calc(70px + 20px);
}
.p-topAbout_mail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 168px;
  height: calc(168px / 12 * 5);
  /* height: 70px;
  aspect-ratio: 12 / 5; */
  background: url(/assets/images/index/ai_oshirase.svg) no-repeat center/cover;
}

.p-topAbout_sns {
  display: grid;
  gap: 20px;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .p-topAbout_sns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-topAbout_sns li > a {
  display: block;
  background: #f2f9f9;
  border-radius: 1rem;
  padding: 20px;
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-topAbout_sns li > a span {
  display: inline-block;
  position: relative;
  padding-left: calc(5rem + 12px);
  line-height: 5rem;
}

.p-topAbout_sns li > a span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  width: 5rem;
  aspect-ratio: 1 / 1;
}

.sns_facebook::before {
  background: url(/assets/images/index/sns_facebook.svg) no-repeat center/cover;
}

.sns_instagram::before {
  background: url(/assets/images/index/sns_instagram.svg) no-repeat center/cover;
}

.sns_twitter::before {
  background: url(/assets/images/index/sns_twitter.svg) no-repeat center/cover;
}

@media only screen and (max-width: 767px) {
  .p-topAbout_sns li > a span {
    padding-left: calc(3rem + 12px);
    line-height: 3rem;
  }
  .p-topAbout_sns li > a span::before {
    width: 3rem;
  }
}

/*==================================
  8. Links - 関連リンク
==================================*/
.p-topLinks_list li > a {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #c8c8c8;
}


/*==================================
  240424追加 TOPバナー
==================================*/
.p-topbn img{
  border-radius: 1rem;
}