body {
  padding-top: 131px;
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #003399;
}
h2{
  font-size: 38px;
  font-weight: bold;
  line-height: 1.3em;
  border-bottom: 1px solid #1D2088;
  margin-bottom: 1em;
}
h3{
  font-size: 24px;
  font-weight: bold;
  line-height: 2.5em;
}
h4{
  font-size: 20px;
  font-weight: bold;
  line-height: 2.5em;
}
p{
  font-size: 20px;
  line-height: 2.5em;
}

#about-5 p{
  font-size: 20px;
  line-height: 1.8em;
}

#about-6 p{
  font-size: 20px;
  line-height: 2.1em;
}
#about-6 h3{
    line-height: 1.6em;
    margin-top: 28px;
}
#continuing-education p{
  font-size: 20px;
  line-height: 1.8em;
}


.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: black;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 10px solid #3d81df;
  z-index: 999;
  background: white;
}

.logo {
  height: 83px;
  width: 283px;
  margin-left: 20px;
}

.nav {
  margin-right: 20px;
}

.nav-top {
  text-align: right;
  margin-top: 10px;
  margin-bottom: 3px;
}
.nav-top img {
  height: 20px;
}

.member-button {
  display: inline-flex;
  align-items: center;
  height: 40px;
  background-color: #005bac;
  color: white;
  padding: 0 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s;
  line-height: 1;
  margin-right: 20px;
}

.member-button:hover {
  background-color: #004080;
}

.member-icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  display: inline-block;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  justify-content: center;
}


.menu li {
  position: relative;
}

.menu > li {
  margin: 0 10px;
}

.menu a {
  color: black;
  text-decoration: none;
  padding: 10px;
  display: block;
}

/* 通常メニューへのかっこいいアンダーライン効果 */
.menu a {
  position: relative;
  color: black;
  text-decoration: none;
  padding: 10px;
  display: block;
  transition: color 0.3s;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  background-color: #007acc;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.menu a:hover {
  color: #007acc;
}

.menu a:hover::after {
  transform: scaleX(1);
}

/* ドロップダウンメニュー（submenu）にはアンダーライン効果を除外 */
.submenu a {
  position: static; /* 擬似要素によるアンダーラインが出ないように */
}

.submenu a::after {
  display: none;
}


.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  list-style: none;
  padding: 10px;
  margin: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.submenu li {
  margin: 0;
}

.submenu a {
  padding: 10px;
  display: block;
  color: black;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown:hover .submenu {
  display: block;
}

.main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px;
  min-height: 500px;
}

.icon-grid {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.icon-item img {
  width: 100px;
  height: 100px;
}

.news-section {
  background-color: #F0F5FB;
  padding: 20px 0;
}

.news-list {
  list-style: none;
  padding: 0;
}

#newsList > li:nth-child(1){
    border-top: none;
    padding: 0 0 0 0;
}


.news-list li {
    display: flex;
    gap: 12px;
    margin: 10px 0;
    align-items: flex-start;
    border-top: 1px dotted;
    padding: 20px 0 0 0;
}

.news-list li {
    display: flex;
    gap: 12px;
    margin: 10px 0;
    align-items: flex-start;
    border-top: 1px dotted;
    padding: 20px 0 0 0;
}

.news-date {
  line-height: 2em;
  flex-shrink: 0;
  width: auto;
  color: #666;
  font-size: 14px;
}

.news-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-text:hover{
  text-decoration: underline;
}

.toggle-button {
    margin-top: 5px;
    margin-left: 450px;
    padding: 11px 50px;
    font-size: 16px;
    background-color: #4f89e0;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 2em;
}

.link-grid img {
  width: 100%;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 10px;
}

.link-grid img:first-child {
  margin-left: 0;
}

.link-grid img:nth-child(4n) {
  margin-right: 0;
}


/* フッター部分CSS */
.footer {
  background-color: #f2f2f2;
  text-align: center;
}
.footer .container {
  min-height: 400px;
}
.footer p {
  margin: 2px 0; 
  text-align: left;
  line-height: 1.6;
}

.footer p:first-child {
  font-weight: bold;
}
.footer-nav {
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.footer-menu {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: left;
}

.footer-menu > li {
  flex: 1;
}

.footer-menu > li > a {
  font-weight: bold;
  color: #003399;
  text-decoration: none;
  display: inline;
  margin-bottom: 2px;
  border-bottom: 1px solid #003399;
}

.footer-submenu {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-submenu li {
}

.footer-submenu li a {
  color: #003399;
  text-decoration: none;
  font-weight: normal;
  font-size: 14px;
}

.footer-submenu li a:hover {
  color: #007acc;
  text-decoration: underline;
}

/* 検索部分CSS */
h2.kensaku_h2{
  text-align: center;
  font-size: 35px;
  font-weight: bold;
  margin: 0;
}

h2.kensaku_h2_chizu {
  text-align: center;
  font-size: 35px;
  font-weight: bold;
  margin: 30px 0 0 0;
  line-height: 2;
}

.kensaku_bottum{
  text-align: center;
  overflow: hidden;
  background-color: cornflowerblue; 
  margin: 3px 0 10px 0;
}
.kensaku_bottum span{    text-align: center;
    font-size: 18px;
    margin: 5px 2px 5px 3px;
    /* background-color: #97b9e4; */
    color: white;
    font-weight: bold;
    vertical-align: middle;
    border-radius: 10px;
    display: inline-block;
}
.kensaku_bottum a{
    padding: 5px 20px;
    border-radius: 10px;
}
.kensaku_bottum a.on{
    background-color: aliceblue;
    padding: 5px 20px;
    color:#3362FF;
}
.kensaku_bottum a:hover{
    background-color: aliceblue;
    padding: 5px 20px;
    color:#3362FF;
    text-decoration: underline;
}



#jigyou_page > p {
  line-height: 2;
  font-size: 1.3em;
}

.kakko_hidarie{
  margin-left: -0.5em;
}

.newswhite{
  line-height: 2.3;
  font-size: 18px;
}
.newswhite a{
  text-decoration: underline;
  /*text-decoration-style: dotted;  点線 */
  text-underline-offset: 3px;
}
.newswhite a:hover{
  color: #007acc;
}

.newswhite dd{/* リストラベル */
  display: list-item; margin-left: 1.2em; 
}

.newswhite a:hover{
  text-decoration: underline;
}

/*continuing-educationページ*/
#continuing-education > section > div > section.continuing-education-box > p{
  line-height: 2.2;  
}

.continuing-education-box{
  border: 2px dashed;
  padding: 15px 25px;
  margin-bottom: 40px
}
.slide-link{
  display: table;
}
  
  
.slide-link h4{
  border: 1px solid #003399;
  border-radius: 30px;
  padding: 5px 30px 5px 30px;
  background-color: rgba(243, 243, 243, 0.36);
}

.slide-link h4 a{
}

.slide-link h4:hover{
  background-color:rgba(179,219,255,0.50);
}

 .slidelink_h3{
  border: 1px solid #003399;
  border-radius: 35px;
  padding: 1px 30px 0px 30px;
  display: inline-block;
  background-color: rgba(243, 243, 243, 0.36);
  margin-top: 3em;
  line-height: 2.3;
}

/*memberページ*/
#member > section > div > section > p{
  line-height: 2.1;
}

ul.member-list{
  display: flex;
  flex-wrap: wrap;
  flex-flow: flex-start;
  margin-bottom: 55px;
}

ul.member-list li{
  width: 250px;
  height: 100px;
  font-size: 20px;
  font-weight: bold;
	padding:15px 20px 15px 0px;
  text-align: center;
	list-style-position:inside;
	list-style-type:none;
  line-height: 1.3;
  background-color: rgba(243,243,243,0.36);
	margin-right:30px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #003399;;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.member-list li:hover {
  background-color:rgba(179,219,255,0.50);
  text-decoration: underline;
}

h3.member_h3{
  margin-top: 40px;
  margin-bottom: 10px;
  font-weight: bold;
	padding:0px 20px;
  border-radius: 10px;
  border: 1px solid #003399;
  display: inline-block;
  background-color: rgba(243, 243, 243, 0.36);
}


#top-button {
  display: flex;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #0F55AD;    /* 中心の青はそのまま */
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 28px;
  z-index: 1000;

  /* 立体感を消すための設定 */
  border: none;                /* 枠線なし */
  box-shadow: none;            /* 影なし */
  outline: none;               /* フォーカス時の枠もなし */
  background-image: none;      /* グラデーションがついている場合にも備える */

  /* アニメーション初期状態 */
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

#top-button.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#top-button:hover {
  background-color: #005bac;
  cursor: pointer;
}


/* サイトマップ部分CSS */

.sitemap-nav {
  font-size: 20px;
  margin-top: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.sitemap-menu {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: left;
}

.sitemap-menu > li {
  flex: 1;
}

.sitemap-menu > li > a {
  font-size: 18px;
  font-weight: bold;
  color: #003399;
  text-decoration: none;
  display: inline;
  margin-bottom: 2px;
  border-bottom: 1px solid #003399;
  line-height: 2.5;
}

.sitemap-submenu {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sitemap-submenu li {
}

.sitemap-submenu li a {
  color: #003399;
  text-decoration: none;
  font-weight: normal;
  font-size: 18px;
  line-height: 2.5;
}

.sitemap-submenu li a:hover {
  color: #007acc;
  text-decoration: underline;
}

/* 所在地・アクセス */
#about-5 iframe{
  border: 1px solid #333;
}
.map_img{
  border: 1px solid #333;
  margin-bottom: 20px;
}
#about-5 h3{
  line-height: 1.8;
}

/* メンバーページ */
#member h4{
  font-size: 22px;
  line-height: 1.6;
  font-weight: bold;
  margin-top: 5px;
}

#member .member_contents a{
  color: #003399;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
}
#member .member_contents a:hover{
  color: #007acc;
}


#about-6 .container a,
#continuing-education .container a{
  color: #003399;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
}
#about-6 .container a:hover,
#continuing-education .container a:hover{
  color: #007acc;
}

.underline{
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
}

/* モバイルで肥料時部分CSS */
@media screen and (max-width: 900px) {
  .hide-on-mobile {
    display: none;
  }
}
