@charset "UTF-8";
/*====================================

  YAHIKO VILLAGE

  ----------------------------------
  Color
  ----------------------------------

    primary     : #E85369
    secondary   : #D7BC66
    tertiary    : #F0B9BC
    quaternary  : #C8141D

    gradation   : linear-gradient(180deg, rgba(255,249,238,1) 0%, rgba(242,230,206,1) 100%);

    border      : #D8D8D8
    text        : #1F1F1F

  ----------------------------------
  font
  ----------------------------------

    JP  : Noto Sans JP
    EN  : None

====================================*/
/* 置換済 */
:root {
  --primary: #e85369;
  --secondary: #d7bc66;
  --tertiary: #f0b9bc;
  --quaternary: #c8141d;
  --gradation: linear-gradient(180deg, rgba(255, 249, 238, 1) 0%, rgba(242, 230, 206, 1) 100%);
  --border: #d8d8d8;
  --text: #1f1f1f;
}

/*==================================
  General - サイト共通
==================================*/
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #fff;
  color: #1f1f1f;
  letter-spacing: 0.25em;
}

#skiptocontent a {
  color: #1f1f1f;
  background: #f0b9bc;
}

/* header-up*/
.l-header_info {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 990;
  width: 100%;
  background: #de0000;
  color: #fff;
  padding: 10px 30px;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: left;
}
.l-header_info.hide {
  transform: translateY(-100%);
  transition: 0.8s;
}
.l-header_info.show {
  transform: translateY(0%);
  transition: 0.8s;
}

/*==================================
  Print - プリント
==================================*/
@media print {
  body {
    padding-top: 0 !important;
  }
  header {
    display: none !important;
  }
  footer {
    display: none !important;
  }
  .l-header_info {
    display: none !important;
  }
  .l-2col_side {
    display: none !important;
  }
  .l-2col_main {
    width: 100% !important;
  }
  .l-wrapper {
    -webkit-print-color-adjust: exact;
  }
  #page_top {
    display: none !important;
  }

  /* adjustment */
  .p-subVisual {
    display: none !important;
  }
}

/*==================================
  Parts - 共通パーツ
==================================*/
/*
  Button - ボタン
====================================*/
.c-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  width: 100%;
  max-width: 320px;
  padding: 0.8em 1em;
  background: #fff;
  border: 2px solid #e85369;
  position: relative;
}
.c-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  height: 0.4em;
  border: 0.4em solid transparent;
  border-left: 0.5em solid #e85369;
}
.c-btn:hover,
.c-btn:focus {
  opacity: 0.8;
}

/*
  Texture - 背景テクスチャ
====================================*/
.c-texture {
  position: relative;
  background: linear-gradient(180deg, rgb(255, 249, 238) 0%, rgb(242, 230, 206) 100%);
}
.c-texture::after {
  content: "";
  background: url(/assets/images/common/texture.png) repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.c-texture > * {
  position: relative;
  z-index: 1;
}

/*
  Checkerboard - 市松模様
====================================*/
.c-checker {
  position: relative;
  padding-top: 2em;
}
.c-checker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2em;
  background-image: linear-gradient(135deg, #f0b9bc 25%, transparent 25%, transparent 75%, #f0b9bc 75%), linear-gradient(135deg, #f0b9bc 25%, transparent 25%, transparent 75%, #f0b9bc 75%);
  background-position: 0 0, 1em 1em;
  background-size: 2em 2em;
  background-color: #fff;
}

/*==================================
  Municipality - 緊急情報
==================================*/
.l-header_info_txt {
  width: 1170px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.l-header_info_date {
  padding-right: 0.5em;
  margin-right: 0.5em;
  border-right: 1px solid #fff;
}

.l-header_info a {
  display: inline-block;
  color: #fff;
  flex: 1;
}
.l-header_info.hide {
  transform: translateY(-100%);
  transition: 0.8s;
}
.l-header_info.show {
  transform: translateY(0%);
  transition: 0.8s;
}

@media only screen and (max-width: 767px) {
  .l-header_info {
    font-size: 1.2rem;
    padding: 10px 15px;
  }
  .l-header_info_txt {
    width: 100%;
    padding-left: 0;
    padding-right: 55px;
    flex-direction: column;
  }
  .l-header_info_date {
    display: block;
    padding-right: 0;
    margin-right: 0;
    border: none;
  }
}
/*==================================
  Header - ヘッダー
==================================*/
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9990;
  background: rgb(255, 255, 255);
  box-shadow: 0 0 10px #d0d0d0;
}
.l-header_inr {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.l-header_logo > a {
  display: inline-block;
}
.l-header_logo > a img {
  width: 220px;
  aspect-ratio: 16/5;
}
.l-header_utility {
  flex-shrink: 0;
}
.l-header_utility_inr {
  display: flex;
  flex-direction: column;
}
.l-header_utility_sub {
  display: flex;
  justify-content: flex-end;
  gap: 0 2em;
  font-size: 1.6rem;
}
.l-header_utility_sub_inr {
  display: flex;
  gap: 0 20px;
  padding: 8px 0;
}
.l-header_utility_sub_inr > * {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-header_utility_sub_form form {
  width: 100%;
  height: 100%;
  position: relative;
  border: 1px solid #e85369;
}
.l-header_utility_sub_form form input {
  width: calc(100% - 4em);
  height: 100%;
  padding: 0 1em;
  text-align: left;
  background: #fff;
  margin-right: 4em;
  border: 1px solid transparent;
}
.l-header_utility_sub_form form button {
  width: 4em;
  height: 100%;
  text-align: center;
  font-weight: 700;
  position: absolute;
  top: 0;
  right: 0;
  background: #f0b9bc;
  border-left: 1px solid #e85369;
}
.l-header_utility_sub_translate > a {
  display: block;
  height: 100%;
  padding: 3px 10px;
  color: #fff;
  letter-spacing: 0.1em;
}
.l-header_utility_sub_link > a {
  color: inherit;
}
.l-header_nav {
  display: flex;
  justify-content: flex-end;
  gap: 0 1em;
  padding: 12px 0 5px;
}
.l-header_nav_item {
  padding-left: 1em;
  border-left: 1px solid #d8d8d8;
}
.l-header_nav_item:first-child {
  border-left: none;
}
.l-header_nav_item:hover .l-header_nav_item_label,
.l-header_nav_item_label.is-active {
  color: #c8141d;
}
.l-header_nav_item > a.l-header_nav_item_label {
  text-decoration: none;
  color: inherit;
  display: block;
  font-weight: 700;
  font-size: 1.7rem;
  text-align: center;
  opacity: 1;
  position: relative;
  z-index: 2;
}
.l-header_nav_item > a.l-header_nav_item_label:hover {
  color: #c8141d;
}
.l-header_nav_item_child {
  visibility: hidden;
  transform: translateY(-10px);
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 40px 10vw;
  transition: 0.2s;
  background: #fff;
  box-shadow: 0 5px 5px rgba(102, 102, 102, 0.1);
  z-index: 2;
}
.l-header_nav_item_child_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 40px;
}
.l-header_nav_item_child_list li > a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  padding-left: 1.2em;
  position: relative;
}
.l-header_nav_item_child_list li > a:hover,
.l-header_nav_item_child_list li > a:focus {
  text-decoration: underline;
}
.l-header_nav_item_child_list li > a:hover::before,
.l-header_nav_item_child_list li > a:focus::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 0.4em;
  height: 0.4em;
  border: 0.4em solid transparent;
  border-left: 0.5em solid #e85369;
}

@media only screen and (min-width: 1200px) {
  .l-header_utility_inr nav {
    order: 2;
  }
  .l-header_utility_inr .l-header_utility_sub {
    order: 1;
  }
  #nav-toggle {
    display: none;
  }
  #nav-toggle .on,
  #nav-toggle .off {
    display: none;
  }
  .l-header_nav_item:hover > .l-header_nav_item_child,
  .l-header_nav_item .l-header_nav_item_child.focused {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}
@media only screen and (max-width: 1199px) {
  .l-header_inr {
    padding: 10px 20px;
  }
  .l-header_logo > a img {
    width: auto;
    height: 46px;
  }
}
/*
 	SmartPhone
====================================*/
@media only screen and (max-width: 1199px) {
  .l-header_utility {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #f5f5f5;
    overflow: scroll;
    padding: 60px 40px 40px;
  }
  .l-header_utility_inr {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .l-header_utility_sub {
    position: relative;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
  }
  .l-header_utility_sub_inr {
    flex-direction: column;
    align-items: center;
    gap: 20px 0;
    padding: 0;
    border-radius: 0.4em;
    width: 100%;
  }
  .l-header_nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
  }
  .l-header_nav_item {
    width: 100%;
    border: none;
    padding-left: 0;
  }
  .l-header_nav_item > a.l-header_nav_item_label {
    padding: 8px;
    background: #fff;
  }
  .l-header_nav_item_child {
    display: none;
  }
}
/*
 	Hamburger
====================================*/
@media only screen and (max-width: 1199px) {
  #nav-toggle .hamburger {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 999;
  }
  #nav-toggle .on,
  #nav-toggle .off {
    display: inline-block;
    text-align: center;
    padding-top: 24px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0;
  }
  #nav-toggle span.line {
    display: block;
    height: 5px;
    width: 40px;
    background: #c8141d;
    /* box-shadow: 0 0 1px #f0f0f0; */
    position: absolute;
    top: 0;
    left: 4px;
    transition: 0.35s ease-in-out;
  }
  #nav-toggle span.line:nth-child(1) {
    top: 2px;
  }
  #nav-toggle span.line:nth-child(2) {
    top: 14px;
  }
  #nav-toggle .off {
    display: none;
  }
  .open #nav-toggle .on {
    display: none;
  }
  .open #nav-toggle .off {
    display: block;
    font-weight: 400;
  }
  .open #nav-toggle span.line {
    top: 11px;
  }
  .open #nav-toggle span.line:nth-child(1) {
    transform: rotate(210deg);
  }
  .open #nav-toggle span.line:nth-child(2) {
    transform: rotate(-210deg);
  }
  #global-nav {
    z-index: 998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  .open {
    overflow: hidden;
  }
  .open #global-nav {
    visibility: visible;
    opacity: 1;
  }
  .open #global-nav li {
    opacity: 1;
    transform: translateX(0);
    transition: transform 1s ease, opacity 0.9s ease;
  }
}
/*==================================
  Footer - フッター
==================================*/
.l-footer {
  margin-top: 160px;
}
.l-footer_unit {
  display: flex;
  gap: 40px 80px;
  margin-top: 40px;
}
.l-footer_data {
  width: 100%;
}
.l-footer_logo > a {
  display: inline-block;
}
.l-footer_logo > a img {
  width: 220px;
  aspect-ratio: 16/5;
}
.l-footer_info {
  margin-top: 20px;
}
.l-footer_info dd {
  margin-top: 0.2em;
}
.l-footer_form {
  flex-shrink: 0;
  width: 320px;
}
.l-footer_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.l-footer_copy {
  background: #e85369;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 0;
}

@media only screen and (max-width: 1199px) {
  .l-footer_unit {
    flex-direction: column;
    text-align: center;
  }
  .l-footer_form {
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .l-footer {
    margin-top: 80px;
  }
  .l-footer_info {
    margin-top: 40px;
  }
  .l-footer_nav {
    display: block;
    text-align: center;
  }
  .l-footer address a {
    color: #1558d6;
    text-decoration: underline;
  }
}
/*
  Pagetop - ページトップ
====================================*/
.p-pagetop {
  text-align: center;
}
.p-pagetop > a {
  display: inline-block;
  position: relative;
  padding-top: 1.8em;
  color: inherit;
  text-decoration: none;
  font-size: 90%;
}
.p-pagetop > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1em;
  height: 1em;
  border: 0.6em solid transparent;
  border-bottom: 0.6em solid #000;
}

/*==================================
  Purpose - かんたん検索
==================================*/
.p-purpose-list {
  display: grid;
  gap: 10px;
}
.p-purpose-list li > a {
  text-decoration: none;
  display: block;
  width: 100%;
  background: #fff;
  color: inherit;
  font-weight: 700;
  box-shadow: 0 0px 6px #d8d8d8;
  padding: 20px;
}
.p-purpose-list li > a:hover {
  box-shadow: 0 0px 6px #6a6a6a;
}
.p-purpose-list span[class^="purpose"] {
  position: relative;
  display: inline-block;
}
.p-purpose-list span[class^="purpose"]::before {
  content: "";
  position: absolute;
}
.p-purpose-list .purpose01::before {
  background: url(/assets/images/common/purpose01.svg) no-repeat center/cover;
}
.p-purpose-list .purpose02::before {
  background: url(/assets/images/common/purpose02.svg) no-repeat center/cover;
}
.p-purpose-list .purpose03::before {
  background: url(/assets/images/common/purpose03.svg) no-repeat center/cover;
}
.p-purpose-list .purpose04::before {
  background: url(/assets/images/common/purpose04.svg) no-repeat center/cover;
}
.p-purpose-list .purpose05::before {
  background: url(/assets/images/common/purpose05.svg) no-repeat center/cover;
}
.p-purpose-list .purpose06::before {
  background: url(/assets/images/common/purpose06.svg) no-repeat center/cover;
}
.p-purpose-list .purpose07::before {
  background: url(/assets/images/common/purpose07.svg) no-repeat center/cover;
}
.p-purpose-list .purpose08::before {
  background: url(/assets/images/common/purpose08.svg) no-repeat center/cover;
}
.p-purpose-list .purpose09::before {
  background: url(/assets/images/common/purpose09.svg) no-repeat center/cover;
}
.p-purpose-list .purpose10::before {
  background: url(/assets/images/common/purpose10.svg) no-repeat center/cover;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .p-purpose-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 1199px) {
  .p-purpose-list span[class^="purpose"] {
    padding-left: calc(2.6em + 20px);
  }
  .p-purpose-list span[class^="purpose"]::before {
    top: -0.4em;
    left: 0;
    width: 2.6em;
    aspect-ratio: 1/1;
  }
}
/*==================================
  News - 新着情報
==================================*/
/* tab */
.c-tablist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.c-tablist_item {
  display: inline-block;
  overflow: hidden;
  padding: 0.5em 1em;
  text-align: center;
  font-weight: 700;
  background: #d8d8d8;
}
.c-tablist_item[aria-selected="true"] {
  background: #d7bc66;
  color: inherit;
}

@media only screen and (max-width: 767px) {
  .c-tablist {
    gap: 4px;
  }
  .c-tablist_item {
    padding: 0.5em;
  }
  .c-tablist_item:focus,
  .c-tablist_item:hover {
    padding: 0.5em;
  }
}
[role="tabpanel"].is-hidden {
  display: none;
}

/* body */
.p-news_head {
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  gap: 0 1em;
}
.p-news_body {
  display: flex;
  gap: 0.5em 1em;
}

.p-news-list {
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}
.p-news-list_item {
  padding: 20px 0;
  display: grid;
  gap: 0.5em 0;
}
.p-news-list_item:not(:first-of-type) {
  border-top: 1px solid #d8d8d8;
}
.p-news-content_label {
  flex-shrink: 0;
  display: grid;
  place-content: center start;
}
.p-news-content_label > span {
  display: inline-block;
  background: #f0b9bc;
  font-size: 1.6rem;
  width: 10em;
  text-align: center;
}
.p-news-content_title {
  width: 100%;
}
.p-news-content_new {
  font-weight: 700;
  color: #c8141d;
  position: relative;
  line-height: 1;
  margin-left: 1em;
  letter-spacing: 0.1em;
}

@media only screen and (min-width: 768px) {
  .p-news-list__type1 .p-news-content_title {
    width: 100%;
  }
  .p-news-list__type2 .p-news-content_title {
    width: calc(100% - 10em + 1em);
  }
  .p-news-list__type2 .p-news-content_title > a {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
  }
}
@media only screen and (max-width: 767px) {
  .p-news_head {
    font-size: 1.4rem;
  }
  .p-news_body {
    flex-direction: column;
  }
  .p-news-content_label > span {
    font-size: 1.4rem;
  }
}
/*==================================
  Calendar - イベント本体
==================================*/
.p-eventList {
  display: grid;
  gap: 10px 0;
}
.p-eventList > li {
  display: flex;
  gap: 0 40px;
}
.p-eventList_label {
  display: grid;
}
.p-eventList_label > span {
  text-align: center;
  width: 10em;
  font-size: 1.6rem;
  background: #f5f5f5;
}
.p-eventList_title {
  flex: 1;
}
.p-eventList_title a {
  text-decoration: underline;
}
.p-eventList_title a:hover,
.p-eventList_title a:focus {
  text-decoration: none;
}

@media only screen and (min-width: 768px) {
  .p-eventList_label {
    place-content: center;
  }
}
@media only screen and (max-width: 767px) {
  .p-eventList {
    gap: 20px 0;
  }
  .p-eventList > li {
    flex-direction: column;
    gap: 10px 0;
  }
  .p-eventList_label > span {
    font-size: 1.4rem;
  }
}
