@charset "utf-8";
/* Reset  ----------------------------------*/
*,
::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;
}

/* ----------------------------------  */

body {
  font-size: 1.8rem;
  overflow-x: hidden;
  color: #3a3a3a;
}

a {
  color: #0166b7;
}

a:hover {
  opacity: 0.7;
}

/* margin ----------------------------------*/
.mb10 {
  margin-bottom: 10px;
}

.mt10 {
  margin-top: 10px;
}
.mt15 {
  margin-top: 15px;
}
.mt30 {
  margin-top: 30px;
}

/* text ----------------------------------*/
.bold {
  font-weight: bold;
}

/* color ----------------------------------*/
.text_red {
  color: #be0000;
}
.text_wel {
  color: #daa7b5;
}
/*  ----------------------------------  */

.bg {
  background-color: #ffffff;
  background-image:
    radial-gradient(circle, #ffedb3 1.5px, transparent 1.5px),
    radial-gradient(circle, #ffedb3 1.5px, transparent 1.5px);
  background-position:
    0 0,
    9px 18px;
  background-size: 18px 36px;
}

.wrapper {
  max-width: 1200px;
  padding: 15px;
  margin: 0 auto;
}

section {
  margin-bottom: 60px;
}

/* header ----------------------------------*/
header {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
}
/* ナビゲーション */
header nav {
  margin-right: 50px;
}
header nav ul {
  display: flex;
  justify-content: end;
}
.nav-link {
  display: block;
  color: #6b493d;
  font-size: 2rem;
  text-decoration: none;
}

/* h1----------------------------------*/
.mv .title {
  color: #6b493d;
  text-align: center;
  text-shadow: 4px 4px 10px #fafafa;
}

/* h1の横ライン */
.mv span {
  font-size: 3rem;
  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: #6b493d;
}
.mv span::before {
  margin-right: 0.6em;
}
.mv span::after {
  margin-left: 0.6em;
}
/* ----------------------------------*/

/* section title----------------------------------*/
h2 {
  font-size: 2.6rem;
  position: relative;
  padding: 15px 0;
  margin-bottom: 1em;
}
h2::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: #627962;
  z-index: 1;
}
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;
  margin-top: 20px;
}

#Kinds a {
  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 {
  margin-bottom: 15px;
}
#Info a {
  text-decoration: none;
  color: #3a3a3a;
}

#Info .info-row {
  display: flex;
  align-items: baseline;
}

#Info .info-label {
  flex: 0 0 5em;
  white-space: nowrap;
}

#Info .info-value {
  flex: 1 1 auto;
  min-width: 0;
}
.highlight {
  color: #d35400;
  font-weight: bold;
}

/* footer ----------------------------------*/
.footer-box {
  background: #fff2b8;
  padding: 30px 0 15px 0;
  color: #6b493d;
  border-top: 1px solid #6b493d;
}

#Footer .box_area {
  display: flex;
  gap: 65px;
  justify-content: center;
}
.footer-box a {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  color: #6b493d;
  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 #6b493d;
  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;
}

/* 下層：中小企業 */

.Compane .nav li {
  background: #9fc7d8;
}

.Compane h2::before {
  background: #9fc7d8;
}

.Compane h3 {
  border-left: 3px solid #9fc7d8;
  padding-left: 7px;
  margin-top: 45px;
  margin-bottom: 7px;
}

#Com_application li,
#Add_application li {
  margin: 15px 0;
}

#Paper .Note p {
  margin-bottom: 15px;
}

#Com_method ul {
  margin-bottom: 20px;
}

#Com_method h4 {
  margin-top: 15px;
}

/* 下層：福祉施設・医療機関等 */
.Welfare .nav li {
  background: #daa7b5;
}

.Welfare h2::before {
  background: #daa7b5;
}

.Welfare h3 {
  border-left: 3px solid #daa7b5;
  padding-left: 7px;
  margin-top: 45px;
  margin-bottom: 7px;
}

#Wel_application h3 {
  border-left: none;
}

#Wel_application li {
  margin-bottom: 15px;
}

#Flyer .box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.threeup {
  margin: 12px 0;
}
