@charset "utf-8";
/* ==================================================
佐世保市子育てポータルサイト トップ
Figma 7336:3525 準拠
================================================== */

/* --------------------------------------------------
  共通：土台・あしらい・見出し・コンテナ
-------------------------------------------------- */
.format_top #tmp_wrapper {
  position: relative;
  overflow: hidden;
  background-color: #eaf5fc;
}

.format_top #tmp_readcontents {
  position: relative;
  isolation: isolate;
  padding: 0 0 20px;
  background-color: #eaf5fc;
}

/* コンテンツあしらい（Figma 7557:2749） */
.kosodate-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background-image: url(/shared/rn/site_kosodate/images/top/deco_pattern_tile.svg);
  background-repeat: repeat;
  background-position: 0 -860px;
  background-size: contain;
}

.format_top #tmp_main,
.format_top #section_purpose,
.format_top #section_target,
.format_top #section_info,
.format_top #section_pickup,
.format_top #section_publish,
.format_top #section_links {
  position: relative;
  z-index: auto;
}

.format_top #tmp_main > .container,
.format_top [id^="section_"] > .container {
  position: relative;
  z-index: 2;
}

.format_top #tmp_readcontents #tmp_main .container,
.format_top #tmp_readcontents [id^="section_"] > .container {
  display: block;
  max-width: 1200px;
  margin: 0 auto 80px;
  box-sizing: border-box;
}

#section_purpose,
#section_target,
#section_info,
#section_pickup,
#section_publish,
#section_links {
  margin: 80px 0 0;
}

/* セクション見出し共通 */
.kosodate-topics-ttl,
.purpose_ttl,
.target_ttl,
.info_ttl,
.pickup_ttl,
.publish_ttl,
.links_ttl {
  margin: 0 0 40px;
}

.kosodate-topics-ttl {
  margin: 0 0 32px;
}

.kosodate-topics-ttl h2,
.purpose_ttl h2,
.target_ttl h2,
.info_ttl h2,
.pickup_ttl h2,
.publish_ttl h2,
.links_ttl h2,
.format_top .section_news .new_ttl h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 184.8%;
  font-weight: bold;
  line-height: 28px;
  letter-spacing: 0.1em;
  color: #734820;
}

.kosodate-topics-ttl .img,
.purpose_ttl .img,
.target_ttl .img,
.info_ttl .img,
.pickup_ttl .img,
.publish_ttl .img,
.links_ttl .img,
.format_top .section_news .new_ttl .img {
  display: block;
  width: 25px;
  height: 23px;
  flex-shrink: 0;
}

.kosodate-topics-ttl .img img,
.purpose_ttl .img img,
.target_ttl .img img,
.info_ttl .img img,
.pickup_ttl .img img,
.publish_ttl .img img,
.links_ttl .img img,
.format_top .section_news .new_ttl .img img {
  display: block;
  width: 25px;
  height: 23px;
}

/* 丸ボタン共通（お知らせ一覧 / くわしくみる） */
.format_top .section_news .notice,
.format_top .part_link .btn_menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 338px;
  height: 80px;
  padding: 0 40px 0 14px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #4b4a4a;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 145.2%;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
}

.format_top .section_news .notice::after,
.format_top .part_link .btn_menu::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 14px;
  margin-top: -7px;
  background: url(/shared/rn/site_kosodate/images/icon/ico_arrow_news.svg)
    no-repeat center / contain;
}

/* 横型カード共通（市の取組 / 情報コンテンツ） */
.info_list,
.publish_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 380px);
  justify-content: space-between;
}

.info_list {
  gap: 30px;
}

.publish_list {
  gap: 32px 30px;
}

.info_list li,
.publish_list li {
  margin: 0;
}

.info_list a,
.publish_list a {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 380px;
  min-height: 137px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #595959;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
}

.info_list__txt,
.publish_list__txt {
  display: flex;
  flex-direction: column;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 132%;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

/* ピンク帯の波（::before 上 / ::after 下） */
.format_top #tmp_main.kosodate-pink-band:after,
#section_pickup.kosodate-pink-band:before,
#section_pickup.kosodate-pink-band:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0;
  padding-top: 8.3%;
  background: url(/shared/rn/site_kosodate/images/top/bg_wave_pink.svg)
    no-repeat;
  background-size: cover;
}

.format_top #tmp_main.kosodate-pink-band:after,
#section_pickup.kosodate-pink-band:after {
  top: 100%;
  transform: scale(-1);
}

#section_pickup.kosodate-pink-band:before {
  bottom: 100%;
}

/* --------------------------------------------------
  トピックス / お知らせ（#tmp_main）
-------------------------------------------------- */
.format_top #tmp_main.kosodate-pink-band {
  position: relative;
  margin-bottom: 200px;
  padding: 80px 0 0;
  background-color: #fff4f9;
  overflow: visible;
}

.kosodate-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  min-height: 544px;
}

.kosodate-hero__main {
  display: flex;
  flex-direction: column;
  width: 575px;
  flex-shrink: 0;
  padding-top: 4px;
  box-sizing: border-box;
}

/* トピックススライダー */
.format_top #tmp_slider {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 575px;
  min-height: 540px;
  margin: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
}

.format_top #tmp_slider .slider_ttl.kosodate-topics-ttl {
  margin: 0 0 32px;
  flex-shrink: 0;
}

.format_top #tmp_slider .slider_ttl.kosodate-topics-ttl h2 {
  justify-content: flex-start;
}

.format_top #tmp_slider .slick_slides {
  position: relative;
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: visible;
  flex-shrink: 0;
}

.format_top #tmp_slider .slick_slides .slick-list {
  border-radius: 16px;
  overflow: hidden;
}

.format_top #tmp_slider .slick_slides a {
  display: block;
  line-height: 0;
}

.format_top #tmp_slider .slick_slides img {
  display: block;
  width: 575px;
  height: 323px;
  object-fit: cover;
}

.format_top #tmp_slider .slick_slides > .slick-prev,
.format_top #tmp_slider .slick_slides > .slick-next {
  top: calc(100% + 12px);
  bottom: auto;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffc9e2;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  transform: none;
}

.format_top #tmp_slider .slick_slides > .slick-prev {
  left: auto;
  right: 58px;
}

.format_top #tmp_slider .slick_slides > .slick-next {
  right: 0;
}

.format_top #tmp_slider .slick_slides > .slick-prev:before,
.format_top #tmp_slider .slick_slides > .slick-next:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: 0;
  opacity: 1;
  background: url(/shared/rn/site_kosodate/images/icon/ico_slider_arrow.svg)
    no-repeat center / contain;
  transform: translate(-50%, -50%);
}

.format_top #tmp_slider .slick_slides > .slick-prev:before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.format_top #tmp_slider .slick_slides > .slick-prev:hover,
.format_top #tmp_slider .slick_slides > .slick-next:hover,
.format_top #tmp_slider .slick_slides > .slick-prev:focus,
.format_top #tmp_slider .slick_slides > .slick-next:focus {
  background: #ffb3d6;
}

.format_top #tmp_slider .slick_nav.is-static {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

.format_top #tmp_slider .slick_nav.is-static > div {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.format_top #tmp_slider .slick_nav.is-static > div a {
  display: block;
  line-height: 0;
  pointer-events: none;
}

.format_top #tmp_slider .slick_nav.is-static > div img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}

.format_top #tmp_slider .slick_nav.is-static > div.slick-current:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  z-index: 1;
  width: 0;
  height: 0;
  margin-bottom: 10px;
  border-bottom: 16px solid #fff;
  border-left: 19px solid transparent;
  border-right: 19px solid transparent;
  transform: translateX(-50%);
  filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.06));
  pointer-events: none;
}

/* お知らせ */
.format_top .section_news {
  display: flex;
  flex-direction: column;
  width: 577px;
  min-height: 544px;
  max-width: none;
  flex-shrink: 0;
  padding: 48px;
  background: #fff;
  border: 1px solid #a3a3a3;
  border-radius: 16px;
  color: #000;
  box-sizing: border-box;
}

.format_top .section_news .new_ttl {
  margin: 0 0 50px;
  flex-shrink: 0;
}

.format_top .section_news .new_list {
  margin: 0;
  background: transparent;
  flex-shrink: 0;
}

.format_top .section_news .new_list_cnt {
  list-style: none;
  margin: 0;
  padding: 0;
}

.format_top .section_news .new_list_cnt li {
  display: table;
  width: 100%;
  margin: 0;
  padding: 0 0 21px;
  border-bottom: 1px solid #d9d9d9;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 105.6%;
  line-height: 16px;
  letter-spacing: 0.1em;
  box-sizing: border-box;
}

.format_top .section_news .new_list_cnt li + li {
  margin-top: 20px;
}

.format_top .section_news .date_cnt {
  display: table-cell;
  width: 140px;
  margin: 0;
  padding: 0 8px 0 0;
  color: #000;
  text-align: left;
  white-space: nowrap;
}

.format_top .section_news .new_list_child {
  display: table-cell;
  color: #000;
  line-height: 1.5;
  text-decoration: underline;
}

.format_top .section_news .new_list_child:hover,
.format_top .section_news .new_list_child:focus {
  text-decoration: underline;
}

.format_top .section_news .notice_list {
  margin-top: auto;
  padding-top: 0;
  text-align: center;
  flex-shrink: 0;
}

.format_top .section_news .notice_list ul {
  display: block;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.format_top .section_news .notice_list ul li {
  display: block;
  width: auto;
  padding: 0;
  border: none;
}

.format_top .section_news .notice {
  background: #ffc9e2;
  transition: opacity 0.3s;
}

.format_top .section_news .notice:hover,
.format_top .section_news .notice:focus {
  opacity: 0.85;
  text-decoration: none;
}

.format_top .section_news .notice::after {
  right: 29px;
}

/* --------------------------------------------------
  内容からさがす / 対象からさがす
-------------------------------------------------- */
.purpose_list,
.target_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 277.5px);
  gap: 18px 30px;
  justify-content: space-between;
}

.kosodate-card {
  margin: 0;
  position: relative;
}

.kosodate-card > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
  width: 277.5px;
  height: 160px;
  padding: 30px 0 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #4b4a4a;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 158.4%;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
}

.kosodate-card .img {
  display: block;
  position: absolute;
  left: 50%;
  top: 26px;
  width: 60px;
  height: 60px;
  margin: 0 0 0 -30px;
}

.kosodate-card .img img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.kosodate-card__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 55px;
  font-size: 96%;
  letter-spacing: 0.05em;
  line-height: 28px;
  color: #4b4a4a;
}

.format_top .part_link {
  margin-top: 40px;
  text-align: right;
}

.format_top .part_link .btn_menu {
  background: #abd9ff;
}

.format_top .part_link .btn_menu::after {
  right: 24px;
  width: 7px;
}

/* --------------------------------------------------
  市の取組・支援者向け
-------------------------------------------------- */
.info_list__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 103px;
  height: 137px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 20px 0 0 20px;
}

.info_list__media img {
  display: block;
  max-width: 61px;
  max-height: 61px;
  width: auto;
  height: auto;
}

/* --------------------------------------------------
  ピックアップ
-------------------------------------------------- */
#section_pickup.kosodate-pink-band {
  position: relative;
  margin: 240px auto;
  padding: 0;
  background-color: #fff4f9;
  overflow: visible;
}

#section_pickup .container {
  max-width: 1200px;
  overflow: visible;
}

#section_pickup .pickup_ttl {
  margin: 0;
}

#section_pickup .pickup_ttl > h2 {
  margin: 0 0 40px;
}

#section_pickup .slick_slides_link {
  margin: 0 -15px 44px;
}

#section_pickup .slick_slides_link .slick-list {
  overflow: visible;
}

#section_pickup .slick_slides_link .slick-slide {
  padding: 0 15px;
  box-sizing: border-box;
}

#section_pickup .slick_slides_link a {
  display: flex;
  flex-direction: column;
  gap: 33px;
  width: 100%;
  height: 296px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #595959;
  text-decoration: none;
  box-sizing: border-box;
}

#section_pickup .slick_slides_link figure {
  margin: 0;
  width: 100%;
  height: 178px;
  border-radius: 8px;
  overflow: hidden;
  background: #ede8e8;
}

#section_pickup .slick_slides_link figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#section_pickup .slick_slides_link p {
  margin: 0;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 105.6%;
  font-weight: bold;
  line-height: 16px;
  letter-spacing: 0.1em;
}

#section_pickup .arrow_wrap {
  display: flex;
  justify-content: center;
  margin: 0;
}

#section_pickup .arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  width: 207px;
  height: 50px;
}

#section_pickup .arrows .slick-prev,
#section_pickup .arrows .slick-next {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 2;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #ffc9e2;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  transform: none;
}

#section_pickup .arrows .slick-prev {
  order: -1;
}

#section_pickup .arrows .slick-next {
  order: 1;
}

#section_pickup .arrows .slick-prev:before,
#section_pickup .arrows .slick-next:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: 0;
  opacity: 1;
  font-size: 0;
  color: transparent;
  background: url(/shared/rn/site_kosodate/images/icon/ico_slider_arrow.svg)
    no-repeat center / contain;
  transform: translate(-50%, -50%);
}

#section_pickup .arrows .slick-prev:before {
  transform: translate(-50%, -50%) rotate(180deg);
}

#section_pickup .arrows .slick-prev:hover,
#section_pickup .arrows .slick-next:hover,
#section_pickup .arrows .slick-prev:focus,
#section_pickup .arrows .slick-next:focus {
  background: #ffb3d6;
}

#section_pickup .dots {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 0;
  width: auto;
  margin: 0;
  padding: 0;
  position: relative;
  flex: 0 0 auto;
}

#section_pickup .slick-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 270%;
  font-weight: 400;
  line-height: 1;
  color: #271515;
  white-space: nowrap;
}

#section_pickup .slick-num .now-count {
  font-size: 122%;
  line-height: 50px;
}

#section_pickup .slick-num .all-count {
  font-size: 70%;
  line-height: 26px;
}

#section_pickup .slick-dots {
  display: none !important;
}

/* --------------------------------------------------
  子育て情報コンテンツ
-------------------------------------------------- */
/* Figma 7391:10469 — アイコン枠 61×61 / left 32px / top 38px */
.publish_list__media {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 103px;
  height: 137px;
  flex-shrink: 0;
  padding: 38px 10px 38px 32px;
  box-sizing: border-box;
}

.publish_list__media img {
  display: block;
  width: 61px;
  height: 61px;
  object-fit: contain;
}


/* --------------------------------------------------
  関連リンク
-------------------------------------------------- */
.related_list {
  list-style: none;
  margin: 0;
  padding: 0 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 30px;
  justify-content: space-between;
}

.related_list li {
  margin: 0;
}

.related_list a {
  display: flex;
  align-items: center;
  position: relative;
  width: 380px;
  height: 100%;
  min-height: 100px;
  padding: 30px 40px 30px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #595959;
  font-family: "メイリオ", Meiryo, sans-serif;
  font-size: 132%;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-decoration: none;
  box-sizing: border-box;
}

.related_list a::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 7px;
  height: 14px;
  margin-top: -7px;
  background: url(/shared/rn/site_kosodate/images/icon/ico_related_arrow.svg)
    no-repeat center / contain;
}

/* --------------------------------------------------
  フッター
-------------------------------------------------- */
.format_top #tmp_footer {
  position: relative;
  z-index: 2;
  margin-top:0;
}





