@charset "utf-8";

/* 共通 ここから
----------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

html body {
  font-size: 1.6rem;
  min-width: unset;
}

body {
  margin: 0;
  padding: 0;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif" !important;
  overflow-x: hidden;
  color: #474747;
  line-height: 1.2;
}

/* #mymainback p,
#mymainback a,
#mymainback li {
  font-size: 1.6rem !important;
  line-height: normal;
} */

ol,
ul {
  list-style: none;
  padding-left: 0;
  line-height: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: normal;
}

#main_a {
  margin: 0;
  padding: 0;
}

.links_box a:hover img {
  opacity: 0.7;
  transition: 0.5s all;
  box-shadow: none;
}

#mymainback #main_a,
#main {
  margin: 0 !important;
}

img {
  max-width: 100% !important;
  height: auto !important;
}

/* 共通 ここまで
----------------------------------------- */

/* ヘッダー ここから
----------------------------------------- */
.header_wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 5rem;
}

.header_box1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header_box1_left {
  margin: 0;
  width: 100%;
  max-width: 345px;
}

.header_box1_left a img {
  display: block;
}

.header_box1_right {
  display: flex;
  gap: 1rem 3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#header .acc_item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

#header .acc_item span {
  font-weight: 600;
}

#header .acc_item li {
  border: 1px solid #007328;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  transition: 0.5s all;
  background-color: #FFF;
}

#header .acc_item li:hover {
  background-color: #007328;
}

#header .acc_item li:hover a {
  color: #FFF;
}

#header .acc_item li a {
  color: #007328;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: 0.5s all;
}

#cse-search-box {
  display: flex;
}

form #gsc-i-id1,
form #gsc-i-id2 {
  width: 210px !important;
  height: 40px !important;
  border: none !important;
  background-color: #EEEEEE !important;
  border-radius: 5px 0 0 5px !important;
  padding: 1rem !important;
  margin-right: -5px !important;
  outline: none !important;
  background-position: left 10px center !important;
}

.menu form #gsc-i-id1,
.menu form #gsc-i-id2,
.menu form .gsc-search-button-v2 {
  background-color: #FFF !important;
}

.gsc-search-button-v2 svg {
  display: none !important;
}

form .gsc-search-button-v2 {
  width: 40px !important;
  height: 40px !important;
  border: none !important;
  border-radius: 0 5px 5px 0 !important;
  background: url(/img/minamiaidu-hp/search_icon.png) !important;
  background-repeat: no-repeat !important;
  background-size: 22px 22px !important;
  background-position: center !important;
  background-color: #EEEEEE !important;
  padding: 0 !important;
}

table.gsc-search-box td.gsc-input,
table.gsc-search-box td,
.gsc-control-cse,
.gsc-input-box {
  padding: 0 !important;
}

div#___gcse_1 {
  border-radius: 5px;
  overflow: hidden;
}

table.gsc-search-box,
form.gsc-search-box {
  margin: 0 !important;
}

.phonenumber {
  display: flex;
  gap: 1rem;
}

.phonenumber .border {
  border-left: 1px dashed #707070;
}

.daihyo,
.shinryo {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.daihyo span,
.shinryo span {
  display: inline-block;
}

.daihyo span:first-child,
.shinryo span:first-child {
  color: #007328;
}

.daihyo span:last-child,
.shinryo span:last-child {
  font-size: 2.2rem;
}

#header .contact {
  display: flex;
  gap: 0.5rem;
  border: 1px solid #007328;
  color: #007328;
  border-radius: 5px;
  padding: 0.9rem 1.9rem;
  font-weight: 600;
  text-decoration: none;
  align-items: center;
  transition: 0.5s all;
  background-color: #FFF;
}

#header .contact:hover {
  background-color: #007328;
  color: #FFF;
  text-decoration: none;
}

#header .contact img {
  transition: 0.5s all;
}

#header .contact:hover img {
  filter: brightness(0) invert(1);
}

.header_box2 ul {
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.header_box2 ul li {
  width: 25%;
  text-align: center;
  border-left: 1px solid #B7B7B7;
}

.header_box2 ul li:last-child {
  border-right: 1px solid #B7B7B7;
}

.header_box2 ul li a {
  display: inline-block;
  color: #474747;
  font-size: 2rem;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  transition: 0.5s all;
}

.header_box2 ul li a:hover {
  color: #007328;
  text-decoration: underline;
}

/* ヘッダーここまで
----------------------------------------- */

/* スライダー */
.minamiaidu-hp-slick {
  margin: 0;
}

.minamiaidu-hp-slick p {
  margin: 0;
}

.btn_box {
  position: absolute;
  right: 30px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.prevBtn,
.nextBtn {
  display: flex;
  width: 12px;
  height: 21px;
}

#tglBtn span {
  display: flex;
  width: 13px;
  height: 17px;
}

.prevBtn img,
.nextBtn img,
#tglBtn span img {
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}


/* ボタン */
.btn_wrap {
  max-width: 1350px;
  margin: 0 auto;
  padding: 6rem 1rem;
}

.btn_wrap ul {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  flex-wrap: wrap;
  gap: 2rem;
}

.btn_wrap ul li a {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 250px;
  height: 250px;
  align-items: center;
  justify-content: center;
  background-color: #FFF;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  color: #474747;
  font-weight: 600;
  font-size: 2.2rem;
  text-decoration: none;
  transition: 0.5s all;
  border: 3px solid #FFF;
}

.btn_wrap ul li:nth-child(1) a:hover {
  border: 3px solid #4E64AD;
  box-shadow: 0 0 20px rgba(78, 100, 173, 0.8);
}

.btn_wrap ul li:nth-child(2) a:hover {
  border: 3px solid #D39FE2;
  box-shadow: 0 0 20px rgba(211, 159, 226, 0.8);
}

.btn_wrap ul li:nth-child(3) a:hover {
  border: 3px solid #A1B968;
  box-shadow: 0 0 20px rgba(161, 185, 104, 0.8);
}

.btn_wrap ul li:nth-child(4) a:hover {
  border: 3px solid #EB8896;
  box-shadow: 0 0 20px rgba(235, 136, 150, 0.8);
}

.btn_wrap ul li:nth-child(5) a:hover {
  border: 3px solid #7E8AA6;
  box-shadow: 0 0 20px rgba(126, 138, 166, 0.8);
}



/* 診療案内 */

.information_wrap {
  position: relative;
  padding: 18rem 0 8rem;
  overflow: hidden;
}

.information_wrap .bg_text {
  top: -40px;
}


.information_wrap::before {
  content: "";
  background-color: #FCF9F4;
  width: 1750px;
  height: 1000px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.information_wrap::after {
  content: "";
  width: 1750px;
  height: 1000px;
  background-image: url(/img/minamiaidu-hp/dot.png);
  background-repeat: repeat;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.bg_text {
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
}

.w1366 {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 1rem;
}

.top h2 {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0 auto;
  color: #007328;
  font-size: 2.4rem;
  letter-spacing: 2px;
  gap: 3rem;
  margin-bottom: 6rem;
}

.top h2 span {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top h2 span small {
  font-family: "Manrope", serif;
  font-size: 5rem;
  color: #474747;
  font-weight: 800;
}

.top h2 span small::first-letter {
  color: #007328;
}

.information_wrap ul {
  display: flex;
  margin: 0;
  justify-content: center;
  margin-bottom: 4rem;
  gap: 4rem 6rem;
  flex-wrap: wrap;
}

.information_freearea {
  background-color: #FFF;
  padding: 5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.information_wrap ul li {
  width: 100%;
  text-align: center;
  max-width: 400px;
}

.information_wrap ul li a {
  background-color: #FFF;
  display: block;
  padding: 2rem 6rem 2rem 6rem;
  font-size: 2.4rem;
  color: #474747;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #007328;
  border-radius: 5px;
  position: relative;
  transition: 0.5s all;
}

.information_wrap ul li a:hover {
  background-color: #007328;
  color: #FFF;
}

.information_wrap ul li a:after {
  content: "";
  background-image: url(/img/minamiaidu-hp/btn_green_arrow.png);
  background-repeat: no-repeat;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 22px;
  transition: 0.5s all;
}

.information_wrap ul li a:hover:after {
  filter: brightness(0) invert(1);
}

:after .information_freearea {
  background-color: #FFF;
  padding: 5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

/* お知らせ */

.news_wrap {
  padding: 19rem 0 8rem;
  background-image: url(/img/minamiaidu-hp/news_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.news_wrap .bg_text {
  width: 594px;
  right: 0;
  left: auto;
}

.news_wrap .section_information_list ul {
  margin: 0;
  padding: 5rem;
  background-color: #FFF;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  margin-bottom: 6rem;
}

.news_wrap .section_information_list ul li {
  position: relative;
}

.news_wrap .section_information_list ul li::before {
  content: "";
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 50%;
  transition: 0.5s all;
  position: absolute;
  right: 38px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.news_wrap .section_information_list ul li:hover::before {
  background-color: #007328;
}

.news_wrap .section_information_list ul li::after {
  content: "";
  background-image: url(/img/minamiaidu-hp/green_arrow.png);
  background-size: 13px 22px;
  background-repeat: no-repeat;
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.5s all;
  width: 13px;
  height: 22px;
  pointer-events: none;
}

.news_wrap .section_information_list ul li:hover::after {
  filter: brightness(0) invert(1);
}

.news_wrap .section_information_list ul li:nth-child(odd) {
  background-color: #F2F8F4;
}

.nichiji {
  color: #007328;
  font-weight: 600;
  font-size: 1.8rem;
  margin-right: 3rem;
  float: left;
  padding: 3rem 0rem 3rem 3rem;
  pointer-events: none;
}

.linkTit a {
  color: #474747;
  font-size: 1.8rem;
  font-weight: 600;
  display: block;
  padding: 3rem 8rem 3rem 3rem;
}

.news_wrap .section_information_list ul li:hover a {
  text-decoration: none;
}


.button-wrapper a {
  background-color: #FFF;
  display: block;
  padding: 2rem 0;
  font-size: 2.4rem;
  color: #474747;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #007328;
  border-radius: 5px;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  transition: 0.5s all;
}

.button-wrapper a:hover {
  background-color: #007328;
  color: #FFF;
}

.button-wrapper a:after {
  content: "";
  background-image: url(/img/minamiaidu-hp/btn_green_arrow.png);
  background-repeat: no-repeat;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 22px;
  transition: 0.5s all;
}

.button-wrapper a:hover:after {
  filter: brightness(0) invert(1);
}

/* ピックアップ */
.pickup_link_wrap {
  padding: 22rem 0 12rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(252, 249, 244, 1) 50%, rgba(252, 249, 244, 1) 100%);
  position: relative;
}

.pickup_wrap .bg_text {
  top: -30px;
}

.pickup_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  gap: 5rem;
}

.pickup_box p {
  margin: 0;
}

.pickup_box p a {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  transition: 0.5s all;
  width: 295px;
  height: 246px;
  border: 2px solid transparent;
  font-size: 2rem;
  font-weight: 700;
  color: #474747;
}

.pickup_box p a:hover {
  border: 2px solid #007328;
  color: #007328;
}

.pickup_box p a img {
  transition: 0.5s all;
  margin-bottom: 1.7rem;
}

.pickup_box p a:hover img {
  transform: scale(1.05, 1.05);
}

.pickup_box p a span:nth-child(1) {
  width: 295px !important;
  height: 184px !important;
  overflow: hidden;
}

/* リンク */
.link_wrap {
  position: relative;
  padding-top: 20rem;
}

.link_wrap .bg_text {
  left: auto;
  right: 0;
}

.links_box {
  max-width: 1330px;
  width: 100%;
  display: flex;
  list-style: none;
  padding: 0 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 16px;
  margin: 0 auto;
}

.links_box::after {
  content: "";
  width: 30%;
  display: block;
}

.links_box p {
  flex: 0 0 30%;
  align-content: center;
  display: flex;
  margin: 0;
}

.links_box p a {
  display: flex;
  justify-content: center;
  border: solid 1px #007328;
  border-radius: 5px;
  width: 100%;
  background-color: #FFF;
  text-decoration: none;
  color: #222;
  padding: 17px 24px;
  align-items: center;
  flex-wrap: wrap;
  transition: 0.5s all;
  position: relative;
  font-size: 1.6rem;
  text-align: center;
}

.links_box p a::after {
  content: "";
  background-image: url(/img/minamiaidu-hp/green_arrow.png);
  background-size: 13px 22px;
  background-repeat: no-repeat;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.5s all;
  width: 13px;
  height: 22px;
}

.links_box p a:hover::after {
  filter: brightness(0) invert(1);
}

.links_box p a span {
  display: block;
}

.links_box p a:hover {
  background-color: #007328;
  color: #FFF;
}


/* マップ */
.map_wrap iframe {
  display: block;
  width: 100%;
}

/* フッター */
#footer {
  margin: 0;
  background-image: url(/img/minamiaidu-hp/footer_bg.png);
  background-repeat: no-repeat;
  padding: 5rem 1rem 8rem;
  position: relative;
  background-size: cover;
}

#footer .w1366 {
  border-radius: 10px;
  padding: 3rem 3rem 1rem;
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer_top,
.footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 1rem;
}

.footer_bottom {
  margin-bottom: 3rem;
}

.footer_top>div:last-child {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer_top>div>div {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.footer_top>div>div span {
  display: inline-block;
}

.footer_top>div>div span:first-child {
  font-size: 1.8rem;
  color: #007328;
}

.footer_top>div>div span:last-child {
  font-size: 2.6rem;
}

.footer_top .border {
  border-left: 1px dashed #707070;
}

.footer_top img {
  vertical-align: middle;
}

.address {
  font-size: 1.8rem;
  font-weight: 600;
}

.footer_bottom>div:last-child {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

#footer .footer_bottom>div:last-child a {
  display: flex;
  padding: 1.5rem 1rem;
  color: #474747;
  font-weight: 600;
  text-decoration: none;
  background-color: #FFF;
  border-radius: 5px;
  border: 2px solid #007328;
  gap: 2rem;
  align-items: center;
  font-size: 1.8rem;
  transition: 0.5s all;
}

#footer .footer_bottom>div:last-child a:hover {
  background-color: #007328;
  color: #FFF;
}

#footer .footer_bottom>div:last-child a:first-child:before {
  content: url(/img/minamiaidu-hp/tabako_icon.png);
  width: 30px;
  height: 29px;
}

#footer .footer_bottom>div:last-child a:last-child:before {
  content: url(/img/minamiaidu-hp/phone_icon.png);
  width: 36px;
  height: 28px;
}

#footer .footer_bottom>div:last-child a:after {
  content: url(/img/minamiaidu-hp/btn_green_arrow.png);
  width: 25px;
  height: 22px;
}

#footer .footer_bottom>div:last-child a:hover:before,
#footer .footer_bottom>div:last-child a:hover:after {
  filter: brightness(0) invert(1);
  transition: 0.5s all;
}

.footer_menu {
  display: flex;
  gap: 1rem 4rem;
  justify-content: center;
  margin: 0;
  flex-wrap: wrap;
}

.footer_menu a {
  color: #474747;
  font-weight: 600;
  font-size: 1.6rem;
}

.copyright {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 115, 40, 0.8);
  color: #FFF;
  padding: 0.5rem 0;
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  left: 0;
}

/* ページトップへ戻る */
#page_top {
  display: none;
  position: fixed;
  z-index: 999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: 0.5s all;
}

#page_top.upmove,
#page_top.downmove {
  display: block;
}

#page_top.upmove {
  animation: UpAnime 0.5s forwards;
}

#page_top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #007328;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: all 0.5s;
  border: 2px solid #FFFFFF;
}

#page_top:hover {
  bottom: 10px;
}

/* スマホメニュー */
.hamburger-menu {
  display: none;
}

/* 記事ページ */



#mymainback #main_header,
#mymainback #main_header .h1box,
#mymainback #main_header .h1box h1 {
  background: none;
  margin: 0;
  border: none;
}

#mymainback #main_header .h1box h1 {
  padding: 7.5rem 1rem;
  font-size: 4rem;
  text-align: center;
  background: url(/img/minamiaidu-hp/news_bg.png);
  background-position: center;
  text-shadow: none;
  background-size: cover;
}

.pankuzu {
  max-width: 1100px;
  margin: 0 auto;
  background: no-repeat;
  font-size: 1.6rem;
  padding: 1rem;
}

body:not(.top) #main {
  background-color: #F2F8F4;
  padding: 4rem 1rem;
  position: relative;
}

body:not(.top) #main::before {
  content: "";
  max-width: 750px;
  width: 100%;
  max-height: 500px;
  height: 100%;
  background-image: url(/img/minamiaidu-hp/dot.png);
  background-repeat: repeat;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

body:not(.top) #main::after {
  content: "";
  max-width: 750px;
  width: 100%;
  max-height: 500px;
  height: 100%;
  background-image: url(/img/minamiaidu-hp/dot.png);
  background-repeat: repeat;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

body:not(.top) #mymainback #main_a {
  background-color: #FFF;
  max-width: 1100px;
  margin: 0 auto !important;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 4rem 8rem 8rem;
  position: relative;
}

#detail_date {
  margin-bottom: 0.5rem;
}

.h2box {
  background: none;
  margin: 0 0 3rem 0;
}

body:not(.top) #main_body h2 {
  background: linear-gradient(0deg, rgba(17, 130, 58, 0.90) 0%, rgba(13, 117, 45, 0.95) 50%, rgba(13, 117, 45, 1) 100%);
  font-size: 2.6rem;
  color: #FFF;
  padding: 1.9rem 2rem;
  position: relative;
  border: none;
}

body:not(.top) #main_body h2::after {
  content: "";
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px #FFF solid;
}

body:not(.top) #main_body h3 {
  font-size: 2.1rem;
  background-color: #FFF7E9;
  background-image: none;
  padding: 1.5rem 2rem 1.5rem 5rem;
  position: relative;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  margin: 0 0 3rem 0;
}

body:not(.top) #main_body h3::after {
  content: "";
  width: 25px;
  height: 25px;
  background-color: #FFF;
  border-radius: 50%;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
}

body:not(.top) #main_body h4 {
  background: none;
  border-bottom: 2px dotted #007328;
  padding: 0.5rem 1rem 0.5rem 3rem;
  margin-bottom: 3rem;
  position: relative;
  font-size: 1.8rem;
}

body:not(.top) #main_body h4::before {
  content: "";
  width: 20px;
  height: 5px;
  background-color: #007328;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

body:not(.top) #main_body h4::after {
  content: "";
  width: 5px;
  height: 20px;
  background-color: #007328;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translate(-50%, -50%);
}

body:not(.top) #main_body h5 {
  border: none;
  padding: 0.3rem 1rem;
  position: relative;
  z-index: 1;
  margin-left: 0;
}

body:not(.top) #main_body h5::before {
  content: "";
  width: 100%;
  height: 10px;
  background-color: #F2F8F4;
  position: absolute;
  left: 0;
  bottom: 5px;
  z-index: -1;
}

body:not(.top) #main_body ul li {
  position: relative;
}

body:not(.top) #main_body ul li::before {
  content: "";
  position: relative;
  width: 6px;
  height: 6px;
  background-color: #007328;
  border-radius: 50%;
  position: absolute;
  left: -15px;
  top: 12px;
  transform: translateY(-50%);
}

body:not(.top) #main_body ol {
  list-style: auto;
}

body:not(.top) #main_body ol li::marker {
  font-weight: bold;
}

#main table {
  border-color: #D4D4D4 !important;
  border-width: 1px;
}

#main th {
  border-color: #D4D4D4 !important;
  background: #007328;
  padding: 2rem;
  color: #FFF;
}

#main td {
  border-color: #D4D4D4 !important;
  padding: 2rem;
}

.detail_free p,
.detail_free li,
.detail_free .no_data {
  font-size: 1.6rem !important;
}

/* 大メニュー */
body.list2 .list_ccc {
  background: none;
}

body.list2 .list_ccc .span_c {
  margin: 0;
  padding: 0;
  background: none;
}

body.list2 #main_body ul {
  padding: 0;
}

body.list2 #main_body ul li {
  margin: 0;
  padding: 0;
  border: none;
}

body.list2 #main_body ul li::before {
  content: none;
}

body.list2 #main_body ul li::after {
  content: "";
  background-image: url(/img/minamiaidu-hp/btn_green_arrow.png);
  background-repeat: no-repeat;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 22px;
  transition: 0.5s all;
  pointer-events: none;
}

body.list2 #main_body ul li:hover::after {
  filter: brightness(0) invert(1);
}

body.list2 #main_body ul li span a {
  font-size: 2.4rem;
  color: #474747;
  font-weight: 600;
  text-decoration: none;
  padding: 2rem 5rem 2rem 2rem;
  border: 2px solid #007328;
  border-radius: 5px;
  margin-bottom: 2rem;
  position: relative;
  transition: 0.5s all;
  background-color: #FFF;
  display: block;
}

body.list2 #main_body ul li:last-child span a {
  margin-bottom: 0;
}

body.list2 #main_body ul li span a:hover {
  background-color: #007328;
  color: #FFF;
}

body.list2 #main_body ul li span a:hover {
  color: #FFF;
}

/* 小メニュー */
body.list1 .list_ccc .span_a {
  background: none !important;
  margin: 0 2rem 0 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #007328;
  width: 210px;
  padding: 3rem 0rem 3rem 3rem;
  float: left;
  pointer-events: none;
}

body.list1 #main_body .list_c li::before {
  content: none;
}

body.list1 .list_ccc .span_b a {
  font-size: 1.8rem;
  font-weight: 600;
  color: #474747;
  padding: 3rem 5rem 3rem 3rem !important;
  display: block;
}

body.list1 .list_ccc .span_b a:hover {
  text-decoration: none;
}

body.list1 #main .list_c li {
  margin: 0;
  padding: 0rem !important;
  border: none !important;
  background-color: #FFFFFF;
  position: relative;
}

body.list1 #main .list_c li:nth-of-type(odd) {
  margin: 0;
  padding: 0;
  background-color: #F2F8F4;
}

body.list1 #main .list_c li::before {
  content: "";
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 50%;
  transition: 0.5s all;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  left: auto;
  pointer-events: none;
}

body.list1 #main .list_c li:hover::before {
  background-color: #007328;
}

body.list1 #main .list_c li::after {
  content: "";
  background-image: url(/img/minamiaidu-hp/green_arrow.png);
  background-size: 13px 22px;
  background-repeat: no-repeat;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.5s all;
  width: 13px;
  height: 22px;
  pointer-events: none;
}

body.list1 #main .list_c li:hover::after {
  filter: brightness(0) invert(1);
}

body:not(.top) .pankuzu {
  display: block;
}

#viewSwitch {
  display: none !important;
}

@media (min-width: 1000px) {
  #page_top {
    right: 15px;
    bottom: 0;
  }

  #page_top a {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 1000px) {
  .hamburger-menu {
    display: block;
  }

  .header_box1_right,
  .header_box2 {
    display: none;
  }

  .menu-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    display: flex;
    height: 59px;
    width: 59px;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    background-color: #E4F3E9;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    background-color: #007328;
    position: absolute;
    transition: 0.5s all;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
  }

  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
    transition: 0.5s all;
  }

  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
    transition: 0.5s all;
  }

  #menu-btn-check {
    display: none;
  }

  #menu-btn-check:checked~.menu-content {
    left: 0;
  }

  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 9999;
    background-color: #fff;
    transition: all 0.5s;
    overflow-y: scroll;
    background-color: #E4F3E9;
  }

  .menu-content .menu {
    width: 100%;
    margin: 0 auto;
    padding: 8rem 2rem 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

  }

  .menu-content .menu>ul {
    margin: 2rem 0 0;
    padding: 0;
    width: 100%;
  }

  .menu-content .menu>ul li {
    list-style: none;
    padding: 2rem;
    border-bottom: 2px solid #007328;
  }


  .menu-content .menu>ul li:first-child {
    border-top: 2px solid #007328;
  }

  .menu-content .menu>ul li a {
    color: #007328;
    text-decoration: none;
    position: relative;
  }

  .menu-content .menu>ul li a span.bl__text {
    display: block;
    position: relative;
    color: #007328;
    box-sizing: border-box;
    padding-right: 40px;
    font-size: 2.2rem;
    font-weight: 600;
  }

  .menu-content .menu>ul li a span.bl__text:before {
    content: '';
    width: 30px;
    height: 30px;
    background: #007328;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }

  .menu-content .menu>ul li a span.bl__text:after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    box-sizing: border-box;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 11px;
    bottom: 0;
    margin: auto;
    transition: 0.5s all;
  }

  .header_wrap {
    padding: 1rem;
    height: 60px;
  }

  #header {
    margin: 0 !important;
  }

  .header_box1_left a img {
    max-width: 250px !important;
  }


  /* ページトップ */
  #page_top a {
    width: 50px;
    height: 50px;
  }

  #page_top {
    right: 10px;
    bottom: 10px;
    margin: 0;
  }

  /* フッター */

  #footer {
    margin: 0;
    padding: 1rem 1rem 3.5rem;
  }

  .footer_top>div>div span:first-child {
    font-size: 1.6rem;
  }

  .footer_top>div>div span:last-child {
    font-size: 2.2rem;
  }

  .footer_top,
  .footer_bottom {
    justify-content: center;
  }

  .footer_bottom>div:last-child {
    gap: 1rem;
  }

  #footer .w1366 {
    padding: 1rem;
  }

  #footer .footer_bottom>div:last-child a {
    width: 100%;
    max-width: 323px;
  }

  .footer_bottom {
    margin-bottom: 1rem;
  }

  /* スライド */
  .btn_box {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    gap: 1.5rem;
  }

  .btn_box .slick-dots {
    gap: 1.5rem;
  }

  .information_wrap .bg_text {
    top: 0;
  }

  .information_freearea {
    padding: 2rem;
  }
}

@media (max-width: 740px) {
  .footer_top>div:last-child {
    gap: 0.5rem;
    justify-content: center;
  }

  .footer_top>div>div span:first-child,
  .footer_top>div>div span:last-child {
    text-align: center;
  }

  .footer_top .border {
    display: none;
  }

  .footer_top>div>div {
    width: 49%;
  }

  .address {
    font-size: 1.6rem;
  }

  /* 記事ページ */

  body:not(.top) #mymainback #main_a {
    padding: 2rem;
  }

  #mymainback #main_header .h1box h1 {
    padding: 2.5rem 1rem;
    font-size: 2.8rem;
  }

  /* 大メニュー */
  body.list2 #main_body ul li span a {
    font-size: 1.8rem;
    padding: 1.5rem;
    padding: 1.5rem 4.5rem 1.5rem 1.5rem;
  }

  body.list2 #main_body ul li::after {
    right: 15px;
  }

  /* 小メニュー */
  body.list1 #main .list_c li a {
    padding: 5rem 4rem 2rem 2rem !important;
  }

  body.list1 .list_ccc .span_a,
  body.list1 .list_ccc .span_b a {
    font-size: 1.6rem;
    display: block;
    float: none;
    padding: 0rem !important;
  }

  body.list1 #main .list_c li::before {
    right: 8px;
  }

  body.list1 #main .list_c li::after {
    right: 20px;
  }

  .links_box p {
    flex: 0 0 48%;
  }

  .links_box {
    justify-content: center;
    gap: 1rem;
  }

  body.list1 .list_ccc .span_a {
    position: absolute;
    top: 2rem;
    left: 2rem;
  }
}

@media (min-width: 641px) {

  .sp_button {
    display: none;
  }
}

@media (max-width: 640px) {

  /* テーブル切り替え */
  #main .sp_table_wrap {
    overflow: auto;
  }

  #main div.sp_large_table {
    width: 1000px;
    overflow: visible;
  }

  .sp_button {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background: -moz-linear-gradient(center top, #f9f9f9 5%, #e9e9e9 100%);
    background: -ms-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #f9f9f9), color-stop(100%, #e9e9e9));
    background-color: #f9f9f9;
    color: #000000;
    text-shadow: 1px 1px 0px #ffffff;
    -webkit-box-shadow: inset 1px 1px 0px 0px #ffffff;
    box-shadow: inset 1px 1px 0px 0px #ffffff;
    text-decoration: none;
    text-align: center;
  }

  .sp_button:hover {
    background: -moz-linear-gradient(center top, #e9e9e9 5%, #f9f9f9 100%);
    background: -ms-linear-gradient(top, #e9e9e9 5%, #f9f9f9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #e9e9e9), color-stop(100%, #f9f9f9));
    background-color: #e9e9e9;
  }

  .sp_button:active {
    position: relative;
    top: 1px;
  }

}

@media (max-width: 600px) {
  .btn_box .slick-dots li {
    width: 8px;
    height: 8px;
  }

  .btn_box .slick-dots li.slick-active {
    width: 40px;
  }

  .daihyo span:last-child,
  .shinryo span:last-child {
    font-size: 1.8rem;
  }

  .btn_box {
    bottom: 5px;
  }

  .btn_wrap ul li a {
    gap: 1rem;
    width: 150px;
    height: 150px;
    font-size: 1.8rem;
  }

  .btn_wrap img {
    width: auto;
    height: 50px !important;
  }

  .btn_wrap {
    padding: 3rem 1rem;
  }

  .bg_text {
    display: none;
  }

  .information_wrap {
    padding: 5rem 0;
  }

  .top h2 {
    font-size: 2rem;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .top h2 span small {
    font-size: 3rem;
  }

  .top h2 img {
    width: 50px;
  }

  .information_wrap ul {
    gap: 2rem;
  }

  .information_wrap ul li {
    max-width: 300px;
  }

  .information_wrap ul li a {
    padding: 2rem 6rem;
    font-size: 1.8rem;
  }

  .news_wrap,
  .pickup_link_wrap {
    padding: 5rem 0;
  }

  .news_wrap .section_information_list ul {
    padding: 2rem;
    margin-bottom: 3rem;
  }

  .news_wrap .section_information_list ul li a {
    padding: 4.5rem 4.5rem 1.5rem 1.5rem;
  }

  .nichiji {
    font-size: 1.6rem;
    display: block;
    padding: 0;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
  }

  .news_wrap .section_information_list ul li::before {
    right: 3px;
  }

  .news_wrap .section_information_list ul li::after {
    right: 15px;
  }

  .pickup_box {
    gap: 1rem;
  }

  .pickup_box p a {
    width: 200px;
    height: auto;
    font-size: 1.6rem;
    padding-bottom: 0.5rem;
  }

  .link_wrap {
    padding-top: 7rem;
  }

  .links_box p {
    flex: 0 0 100%;
  }

  .pickup_box p a img {
    margin-bottom: 1rem;
  }
}

@media (max-width: 430px) {
  #footer .w1366 {
    padding: 2rem;
  }

  .footer_top>div>div span:last-child {
    font-size: 1.8rem;
  }

  .pickup_box p a {
    width: 160px;
    height: 100%;
  }
}

@media (max-width: 350px) {
  .btn_wrap ul li a {
    gap: 1rem;
    width: 125px;
    height: 125px;
    font-size: 1.6rem;
  }

  .pickup_box p a {
    width: 140px;
  }
}