/* CSS Document */
html, body {
  margin: 0;
  padding: 0;
}

.sp-menu-toggle {
  display: none;
}

body {
  background-image: url("img/bg.png");
  background-repeat: repeat;     /* パターンなので全面タイル */
  background-position: top left;
  background-size: auto;          /* 等倍（拡大なし） */
  overflow-x: hidden;
}

#wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

#container {
	text-align: center;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	height: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 30px;
	padding-left: 0px;
    overflow-x: hidden;
    overflow-y: visible;
}
#header {
	width: 100%;
	margin-bottom: 20px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	background-repeat: no-repeat;
	background-position: right bottom;
}


#header h1 {
	margin: 0px 0px 0px;
	float: left;
	padding: 0px;
}
#header-right {
	float: right;
	width: 400px;
	height: 18px;
	margin-bottom: 15px;
}
#header-right ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
#header-right li {
	list-style-type: none;
	float: left;
}
#navi {
	height: 35px;
	text-align: center;
	width: 947px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 13px;
	padding-left: 0px;
}

#navi ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
#navi li {
	margin: 0px;
	padding: 0px;
	float: left;
}
#tt {
	text-align: center;
	width: 947px;
	margin-bottom: 13px;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#indextop1 {
	width: 70%;
	float: left;
          background-color:#ffffff;
	margin-bottom: 10px;
	margin-left: 0px;
	text-align: left;
	margin-top: 10px;
	border: 5px solid;
          border-image: linear-gradient(150deg, #8ac897, #7eceef);
          border-image-slice: 1;
}
#indextop2 {
	width: 27%;
	float: left;
          background-color:#ffffff;
	margin-left: 1%;
	padding-top: 25px;
          padding-bottom: 26px;
	text-align: left;
	margin-top: 10px;
	border: 4px solid;
          border-image: linear-gradient(150deg, #8ac897, #7eceef);
          border-image-slice: 1;
}
#indextop3 {
	width: 100%;
	float: left;
          background-color:#ffffff;
	margin-bottom: 10px;
	margin-left: 0px;
	text-align: left;
        overflow: hidden;
	margin-top: 10px;
	border: 5px solid;
          border-color: #ff0000;
}
#indexleft1 {
	width: 70%;
    height: auto;
	float: left;
    overflow: hidden;
    background-color:#ffffff;
	margin-bottom: auto;
	margin-left: 0px;
	text-align: left;
	margin-top: 5px;
	margin-right: 5px;
}
#indexleft2 {
	width: 70%;
    height: auto;
	float: left;
    overflow: hidden;
    background-color:#ffffff;
	margin-bottom: 35px;
	margin-left: 0px;
	text-align: left;
	margin-top: 15px;
	margin-right: 25px;
}
#wleft {
	width: 60%;
	float: left;
	margin-bottom: 20px;
	margin-left: 20%;
	text-align: left;
	margin-top: 15px;
	margin-right: 25px;
}
#main::after {
  content: "";
  display: block;
  clear: both;
}
#pan {
	width: 80%;
	height: 20px;
	text-align: left;
	margin: 0px;
	padding-top: 8px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	clear: both;
          margin-left:0%;
}
#indexright {
	float: right;
	width: 30%;
	text-align: left;
	margin-top: 15px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
}

#indexright ul {
  margin: 0;
  padding: 0;
}

#indexright li {
	margin-bottom: 0px;
	list-style-type:none
}
#indexmain {
	text-align: center;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#sidenavi {
	float: left;
	width: 240px;
	height: auto;
	min-height: 100%;
	margin-top: 20px;
}
#sidenavi img {
	margin: 0px;
	padding: 0px;
	vertical-align: top;
}
.s-navi, .s-navi * {
	font-size: 0.95em;
	font-style: normal;
	height: 15px;
}
ul.s-navi {
	list-style:none;
	text-align:left;
	margin:0em;
	padding:0px;
	height: auto;
}
ul.s-navi li {
	font-size: 0.95em;
	line-height: 1.3;
	padding:0;
	width:240px;
	margin: 0px;
	border-bottom: 1px dotted #999999;
	height: 40px;
	list-style-type: none;
}
ul.s-navi li a {
	margin:0;
	display:block;
	color:#333333;
	padding-top: 11px;
	padding-right: 5px;
	padding-bottom: 6px;
	padding-left: 20px;
	text-decoration: none;
}
ul.s-navi li a:hover,
ul.s-navi li a#current {
	color:#333333;
	text-decoration: none;
}
.sitemap {
	width: 300px;
	float: left;
	margin-bottom: 30px;
	margin-left: 0px;
	text-align: left;
	margin-top: 0px;
	margin-right: 25px;
}
#mainright {
	float: right;
	width: 680px;
	text-align: left;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
}
#mainright h4 {
	line-height: 30px;
	font-weight: bold;
	color: #009900;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	font-size: 1.2em;
        text-align:center;
}

#mainright img {
	margin-bottom: 5px;
}
.colorbox1 {
	padding: 10px;
	border: thin solid #FFDF7D;
	background-color: #FFFFCC;
	margin-top: 30px;
}


#footer2 {
	height: auto;
	text-align: center;
	width: 100%;
	padding-top: 20px;
	font-size: 85%;
}
#footer {
	width: 960px;
	text-align: left;
	line-height: 1.75em;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
}

/* img*/
.img-r {
	float: right;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
	
}
.img-l {
	float: left;
	margin: 0px;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 0px;	
}
.img-banner {
	margin: 0px;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 0px;	
}
a:hover img{
	opacity:0.7;
}

/* list*/
ul.subnavi {
	list-style: none;
	margin: 10px 0px 0px;
	padding: 0px;
	text-align: left;
}
ul.subnavi li{
	float: left;
	width: 200px;
	overflow: auto;
	background: url(img/square.gif) no-repeat;
	height: 40px;
	padding-top: 14px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 25px;
}

/* text*/

.p1 {
	line-height: 180%;
	margin: 0px;
	text-align: left;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 15px;
	padding-left: 0px;
}
.p1-red {
	line-height: 180%;
	margin: 0px;
	text-align: left;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 15px;
	padding-left: 0px;
	color: #FF0000;
}
.p1-right {
	line-height: 80%;
	margin: 0px;
	text-align: right;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
}
.p1-left {
	line-height: 80%;
	margin: 0px;
	text-align: left;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
}
.p-list1 {
	line-height: 24px;
	margin: 0px;
	text-align: left;
	list-style-image: url(img/arrow.gif);
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.st1 {
	text-align: left;
	font-weight: bold;
	color: #FF9900;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
	margin-top: 25px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
	clear: both;
	font-size: 16px;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #FF9900;
	line-height: 30px;
}
.st2 {
	line-height: 30px;
	font-size: 24px;
	text-align: left;
	font-weight: bold;
	color: #60C3B5;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	height: 30px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
	clear: both;
}
.st3 {
	text-align: left;
	font-weight: bold;
	color: #996600;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	margin-top: 10px;
	margin-bottom: 5px;
	line-height: 30px;
}
.st4 {
	line-height: 30px;
         	font-size: 17px;
	text-align: left;
	font-weight: bold;
	color: #60C3B5;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
	height: 30px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
	clear: both;
}

h2 {
	line-height: 30px;
	font-weight: bold;
	color: #60C3B5;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 00px;
	margin-left: 0px;
	font-size: 1.2em;
}
h3 {
	font-size: 16px;
	line-height: 24px;
	font-weight: bold;
	padding-top: 15px;
	padding-bottom: 5px;
	margin: 0px;
	color: #009900;
}
h5 {
	font-size: 16px;
	line-height: 24px;
	font-weight: bold;
	padding-top: 10px;
	padding-bottom: 0px;
	margin: 0px;
	color: #009900;
}

/* テーブル*/
dl	{
	line-height: 1.7em;
	margin-right: 0px;
	overflow: scroll;
	margin-top: 5px;
        max-height: 400px;
	}
dt	{
	width: 90px;
	font-weight: bold;
	padding-left:0px;
	text-align: left;
}
dd	{
	margin-top: -1.7em;
	padding-left: 70px;
	text-align: left;
}
.tbl table {
    width: 100% !important;
	border: 1px solid #cccccc;
	border-collapse: collapse;
	padding: 0px;
	margin: 0px 0px 5px;
}

.tbl td {
	border: 1px #cccccc solid;
	background-color: #FCFCFC;
	padding: 2px 5px;
	line-height: 24px;
}
.tbl th {
	border: 1px #cccccc solid;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 5px;
	background: #81D1C5;
	font-weight: bold;
	line-height: 24px;
	text-align: center;
}
.tbl2 table {
	border: none;
	border-collapse: collapse;
	padding: 0px;
	margin: 0px 0px 5px;
}

.tbl2 td {
	background-color: #60C3B5;
	line-height: 24px;
	border-bottom-width: thin;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-color: #009900;
	vertical-align: top;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 5px;
}
.tbl2 th {
	border: none;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 5px;
	background: #60C3B5;
	font-weight: bold;
	line-height: 24px;
	text-align: center;
}

.box {
    width: 100%;
	max-width: 600px;
	height: 300px;
	border: 1px solid #f7f7f7;
	overflow-y: scroll;
    line-height: 180%;
	margin: 0px;
	text-align: left;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 15px;
	padding-left: 0px;

}

.breadcrumb {
  font-size: 12px;
  text-align: left;
  color: #666;
  margin: 10px 0;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 補助*/
.clear {
	clear: both;
	line-height: 30px;
}

/* ===== 202601追加 ===== */
/* ===== スマホ対応 ===== */
@media (max-width: 768px) {

  body {
    background-image: none;
  }

  .hero-slider {
    width: 90%;
  }

  #sidenavi {
    float: none !important;
    width: 100% !important;
  }

  #mainright {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 10px;
  }

  .tbl table {
    width: 100% !important;
  }

  table {
    width: 100% !important;
  }
  .image-text .text {
    padding: 20px;
    font-size: 14px;
  }
  /* スライドの外に出す */
  .hero-icons {
    position: static !important;
    transform: none !important;
    pointer-events: auto;
    margin: 20px auto;
    margin-top: 15px;
    padding: 0 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    z-index: 10;
  }

  /* 1行あたり3個想定 */
  .hero-icons .icon {
    width: 30%;
  }

  .hero-icons .icon img {
    width: 72px;
    height: 72px;
  }

  .hero-icons .icon span {
    font-size: 11px;
    color: #333;
    text-shadow: none;
  }
  #container,
  #main,
  #header,
  #footer {
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }
  #sidenavi {
    display: none;
    width: 100%;
    margin-top: 0;
  }

  .subnavi {
    display:none;
  }

  .sp-menu-toggle {
    display: block;
    background: #60C3B5;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    margin: 10px 0;
  }
}

@media screen and (max-width: 768px) {
  body {
    background-repeat: repeat;
    background-image: none;
    background-size: auto; /* そのままでもOK */
    /* もしくは background-size: 50%; なども検討可 */
  }

  .sp-menu-toggle {
  display:block !important;
    background: #60C3B5;
  color:#fff;
  padding:20px;
  clear: both;
  width:100%;
}

  /* ヘッダー */
  #header h1,
  #header-right {
    float: none;
    width: 100%;
    text-align: center;
  }

  /* ナビ */
  #navi ul {
    display: block;
  }

  #navi li {
    float: none;
    width: 100%;
  }

  /* メニュー全体を中央寄せ */
  #sidenavi {
    float: none !important;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  ul.s-navi {
    width: fit-content;   /* 中身の幅だけにする */
    margin: 0 auto;       /* それを中央へ */
    padding: 0;
    list-style: none;  }

  ul.s-navi li {
    text-align: center;
  }

  /* 画像を中央に */
  #sidenavi img {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
    height: auto;
  }

  /* メイン2カラム → 1カラム */
  #indextop1,
  #indexright,
  #indexleft1,
  #indexleft2 {
    float: none;
    width: 100%;
    margin: 10px 0;
  }

  /* 画像 */
  img {
    max-width: 100%;
    height: auto;
  }

  /* dl（更新情報） */
  dl {
    max-height: none;
    overflow: visible;
  }

}
.hero {
  position: relative;
  height: auto;
  overflow: hidden;
}

/* 背景画像 */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("") center / cover no-repeat;
  z-index: 1;
  pointer-events: none;
}

/* スライドショー */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1000 / 120;
}

/* 全画像を重ねる */
.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideFade 15s infinite;
  pointer-events: none;
}

/* 1枚目 */
.hero-slider img:nth-child(1) {
  animation-delay: 0s;
}

/* 2枚目 */
.hero-slider img:nth-child(2) {
  animation-delay: 5s;
}

/* 3枚目 */
.hero-slider img:nth-child(3) {
  animation-delay: 10s;
}
/* チラツキ防止 */
.hero-slider img:first-child {
  opacity: 1;
}
/* アニメーション定義 */
@keyframes slideFade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  30%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}
/* アイコン全体 */
.hero-icons {
  position: absolute;
  bottom: 1px;                 /* スライドの下寄り */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;

  display: flex;
  gap: 16px;
}
/* 個々のアイコン */
.hero-icons .icon {
  width: 85px;
  text-decoration: none;
  color: #fff;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 画像 */
.hero-icons .icon img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 10px rgba(0,0,0,.6);
}
/* 画像対策文字縁取り */
.hero-icons .icon span {
  color: #000;
}

/* テキスト（PCでは画像の下） */
.hero-icons .icon span {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
}
* {
  box-sizing: border-box;
}
