@charset "utf-8";
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid red; */
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

li {
  list-style-type: none;
}

a {
  /* text-decoration: none; */
  color: #0166b7;
}

a:hover {
  opacity: 0.7;
}

body {
  background: #f8f4e6;
  font-size: 1.8rem;
  overflow-x: hidden;
}
.bg {
  background: linear-gradient(
    135deg,
    rgba(228, 255, 253, 0.6),
    rgba(143, 255, 248, 0.6)
  );
}
.mb10{
  margin-bottom: 10px;
}
.mt10{
  margin-top: 10px;
}
/* 候補 */
.bg-1 {
  background: #d9eff9;
}
.bg-2 {
  background: linear-gradient(135deg, #e4fffd, #2bb9b0);
}
.bg-3 {
  background: #f0f7f2;
}

/* ヘッダー */
header {
  width: 100%;
  padding: 15px;
}
/* ナビゲーション */
header nav {
  margin-right: 50px;
}
header nav ul {
  display: flex;
  justify-content: end;
}
.nav-link {
  display: block;
  color: #627962;
  text-align: center;
  padding: 0 7px;
  font-size: 2rem;
  border-right: 1px solid #627962;
  text-decoration: none;
}
.nav-link-1 {
  color: #142474;
}

/* MV */
/* 背景 */
.mv {
  position: relative;
  padding: 100px 3px;
  text-align: center;
  overflow-x: hidden;
}

.mv::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130px;
  width: 400px;
  height: 230px;
  background: rgba(43, 185, 176, 0.3);
  border-radius: 50% / 50%;
  z-index: -1;
}

.mv::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -150px;
  width: 440px;
  height: 260px;
  background: rgba(43, 185, 176, 0.3);
  border-radius: 50% / 50%;
  z-index: -1;
}

/* 候補 */
.mv-bg-1::after,
.mv-bg-1::before {
  background: rgba(20, 36, 116, 0.8);
}
.mv-bg-2::after,
.mv-bg-2::before {
  background: rgba(43, 185, 176, 0.3);
}
.mv-bg-3::after,
.mv-bg-3::before {
  background: rgba(43, 185, 176, 0.3);
}

/* ここまで背景 */

/* h1の横ライン */
.mv span {
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  margin-top: 20px;
}
.mv span::before,
.mv span::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #627962;
}
.mv span::before {
  margin-right: 0.6em;
}
.mv span::after {
  margin-left: 0.6em;
}
/* /横ライン */
.title-font {
  font-size: 4rem;
  text-align: center;
}

/* h1デザイン案 */
.title-font-1 {
  font-family: "Rampart One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 5rem;
}
.title-font-2 {
  font-family: "Mochiy Pop One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 5rem;
}
.title-font {
  position: relative;
  padding: 0.3em 0 0.2em 1em;
  width: fit-content;
  margin: 0 auto;
  font-size: 5rem;
  text-shadow: 4px 4px 10px #fafafa;
  color: #627962;
}

.title-font::before {
  position: absolute;
  top: 0;
  left: 0.5em;
  transform: rotate(55deg);
  height: 11px;
  width: 12px;
  background: #627962;
  content: "";
}

.title-font::after {
  position: absolute;
  transform: rotate(15deg);
  top: 0.6em;
  left: 0.2em;
  height: 8px;
  width: 8px;
  background: #627962;
  content: "";
}

.title-font span {
  font-size: 3rem;
}

@media screen and (max-width: 768px) {
  .title-font-2,
  .title-font {
    font-size: 3rem;
  }
}

.wrapper {
  max-width: 1024px;
  padding: 15px;
  margin: 0 auto;
}

section {
  margin-bottom: 60px;
}

h2 {
  font-size: 2.6rem;
  position: relative;
  padding: 15px;
  margin-bottom: 1em;
}

h2::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: #627962;
  z-index: 1;
}
.h2-top-1::before {
  background: #142474;
}

h2::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #fafafa;
}

/* ニュース */

.news {
  margin-top: 50px;
}

.news .news-container {
  width: 100%;
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  box-sizing: border-box;
  font-family: sans-serif;
  background-color: #f9f9f9;
}

.news .news-item {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ccc;
  display: flex;
}

.news .news-date {
  font-weight: bold;
  color: #333;
  margin-right: 10px;
}

.news .news-category {
  background: #be0000;
  color: #fafafa;
  margin-right: 10px;
  width: 12%;
  padding: 0 10px;
  white-space: nowrap;
  height: 35px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news .news-text {
  display: inline;
  width: 80%;
  color: #333;
}

#Topnews a:hover {
  opacity: 0.7;
}

#Topnews .category_1 {
  background: #9fc7d8;
}

#Topnews .category_2 {
  background: #849d80;
}

#Topnews .category_3 {
  background: #daa7b5;
}

/* 申請にあたってbtn */
#Important .btn {
  padding: 15px 30px;
  background: #be0000;
  text-align: center;
  display: flex;
  justify-content: center;
}

#Important a {
  color: #fafafa;
  text-decoration: none;
}

#Important .btn a:hover {
  opacity: 0.7;
}

#Important .btn:hover {
  opacity: 0.7;
}

/* 受付期間 */
#Receptionperiod span {
  font-size: 3rem;
  font-weight: bold;
  padding: 0 3px;
}

/* 概要 */
#Kinds .box_area {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}

#Kinds a {
  height: 170px;
  align-items: center;
  display: flex;
  justify-content: center;
  border-radius: 15px;
  font-size: 2.4rem;
  color: #fafafa;
  box-shadow: 0 5px 0 #6b6b6b;
  transition: 0.1s ease;
  text-decoration: none;
  user-select: none;
  transform: translateY(0);
  padding: 3px;
}

#Kinds a:hover {
  box-shadow: 0 1px 0 #6b6b6b;
  transform: translateY(2px);
}

#Kinds a:active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(5px);
}

.btn_company {
  background: #9fc7d8;
}

.btn_agriculture {
  background: #849d80;
}

.btn_welfare {
  background: #daa7b5;
}

/* 交付要綱 */
#Outline a {
  text-decoration: underline;
}

#Outline a:hover {
  opacity: 0.7;
}

/* 問い合わせ */
#Info h3 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

#Info h3 {
  border-left: none;
  padding-left: none;
}

#Info .small_text {
  font-size: 1.8rem;
  margin-left: 7px;
}

.highlight {
  color: #d35400;
  font-weight: bold;
  font-size: 2.6rem;
}

/* フッター */
.footer-box {
  background: #cef7f4;
  padding: 30px 0 15px 0;
  color: #000;
  border-top: 1px solid #3a3a3a;
}
.footer-bg-1 {
  background: #142474;
  padding: 30px 0 15px 0;
  color: #fafafa;
}
.footer-bg-2 {
  background: #cef7f4;
  padding: 30px 0 15px 0;
  color: #000;
}
.footer-bg-3 {
  background: #06827e;
  padding: 30px 0 15px 0;
  color: #fafafa;
}

#Footer .box_area {
  display: flex;
  gap: 65px;
  justify-content: center;
}
.footer-box a {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  color: #000;
  text-decoration: none;
}
.footer-bg-1 a {
  color: #fafafa;
}
.footer-bg-2 a {
  color: #000;
  text-decoration: none;
}
.footer-bg-3 a {
  color: #fafafa;
  text-decoration: none;
}

#Footer a:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #3a3a3a;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

#Footer a:hover {
  opacity: 0.7;
}

.copyright {
  text-align: center;
  margin-top: 35px;
}

/* ここから下層 */
.wrapper .nav ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  margin: 30px 0;
}

.wrapper .nav li {
  padding: 15px 5px;
  border-radius: 5px;
}

.wrapper .nav a {
  color: #fafafa;
  text-decoration: none;
}

.text_red {
  color: #be0000;
}

#Movie .youtube {
  display: block;
  margin: 30px auto 0 auto;
  width: 55%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

/* 下層：中小企業 */

.Compane .nav li {
  background: #9fc7d8;
}

.Compane h2::before {
  background: #9fc7d8;
}

.Compane h3 {
  border-left: 3px solid #9fc7d8;
  padding-left: 7px;
}

#Com_overview h3 {
  margin-top: 30px;
  margin-bottom: 7px;
}

#Com_application h3 {
  margin-top: 30px;
  margin-bottom: 7px;
}

#Com_application li {
  margin: 15px 0;
}

#Com_application li a {
  text-decoration: underline;
}

#Paper .Note p {
  margin-bottom: 15px;
}

#Com_method ul {
  margin-bottom: 20px;
}

#Com_method h4 {
  margin-top: 15px;
}

/* 下層：農業 */
.Agriculture .nav li {
  background: #849d80;
}

.Agriculture h3 {
  border-left: 3px solid #849d80;
  padding-left: 7px;
}

#Agr_overview h3 {
  margin-top: 30px;
  margin-bottom: 7px;
}

#Agr_application h3 {
  margin-top: 30px;
  margin-bottom: 7px;
}

#Agr_overview table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  letter-spacing: 1px;
  margin: 7px 0;
  width: 90%;
}

#Agr_overview th,
#Agr_overview td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
  text-align: center;
}

#Agr_application li {
  margin: 15px 0;
}

#Agr_application li a {
  text-decoration: underline;
}

#Agr_overview .box {
  display: flex;
}

#Agr_overview .box p:nth-child(1) {
  width: 15%;
}

/* 下層：福祉施設・医療機関等 */
.Welfare .nav li {
  background: #daa7b5;
}

.Welfare h2::before {
  background: #daa7b5;
}

.Welfare h3 {
  border-left: 3px solid #daa7b5;
  padding-left: 7px;
}

#Wel_overview h3 {
  margin-top: 30px;
  margin-bottom: 7px;
}

#Wel_application h3 {
  margin-top: 30px;
  margin-bottom: 7px;
}

#Wel_application h4 {
  margin-top: 30px;
}

#Wel_application li {
  margin-bottom: 15px;
}

#Wel_application li a {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  /* sp */
  header {
    padding: 15px 0;
  }
  .mv::after {
    top: 0;
    left: -90px;
    width: 280px;
    height: 160px;
  }

  .mv::before {
    bottom: 0;
    right: -120px;
    width: 300px;
    height: 180px;
  }

  .mv span::before,
  .mv span::after {
    width: 32px;
  }

  .mv span::before {
    margin-right: 0.07em;
  }
  .mv span::after {
    margin-left: 0.07em;
  }

  /* ハンバーガーメニュー */
  header nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: #fff6ec;
    padding-top: 100px;
    transition: 0.5s;
  }

  .menu-open nav {
    left: 0;
    z-index: 50;
  }

  header nav ul {
    display: block;
  }

  header nav ul {
    height: 100%;
    padding-bottom: 50px;
  }

  header nav a {
    font-size: 30px;
    margin: 30px 0;
  }

  header .nav-button {
    width: 70px;
    height: 50px;
    margin-left: auto;
    position: relative;
  }

  header .nav-button span {
    width: 30px;
    height: 2px;
    background: #627962;
    position: absolute;
    left: 20px;
    transition: 0.5s;
  }

  header .nav-button span:nth-child(1) {
    top: 12px;
  }
  header .nav-button span:nth-child(2) {
    top: 23px;
  }
  header .nav-button span:nth-child(3) {
    top: 34px;
  }

  .menu-open .nav-button span:nth-child(1) {
    top: 23px;
    transform: rotate(315deg);
  }
  .menu-open .nav-button span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .menu-open .nav-button span:nth-child(3) {
    top: 23px;
    transform: rotate(-315deg);
  }
  header span {
    z-index: 100;
  }

  /* お知らせ */
  .news .news-item {
    display: block;
  }

  .news .news-category {
    width: 25%;
  }

  /* 給付金の種類 */
  #Kinds .box_area {
    grid-template-columns: repeat(1, 1fr);
  }

  #Kinds a {
    height: 100px;
  }

  /* お問い合わせ */
  #Info h3 {
    font-size: 2rem;
  }

  .highlight {
    font-size: 2rem;
  }

  /* footer */
  #Footer .box_area {
    flex-direction: column;
    gap: 15px;
  }

  #Footer p {
    text-align: center;
  }

  #Footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
  }

  /* 下層 */
  .wrapper .nav ul {
    gap: 7px;
  }

  #Movie .youtube {
    width: 75%;
  }
}

@media screen and (max-width: 468px) {
  .wrapper .nav ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

#Flyer .box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.threeup {
  margin: 12px 0;
}
