html,body,div,span,iframe,h1,h2,h3,h4,p,pre,del,em,img,b,i,dl,dt,dd,ol,ul,li,form,table,tbody,tr,th,td,article,aside,footer,header,nav,section{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;box-sizing:border-box}
article,aside,footer,header,nav,section{display:block}
body{line-height:1;overflow-wrap:break-word;word-wrap:break-word}
input,textarea,select{font-family:inherit;font-size:inherit;color:inherit;vertical-align:middle;box-sizing:border-box}
a{margin:0;padding:0;text-decoration:none;outline:none;font-size:100%;vertical-align:baseline;background:transparent}
a img{border-style:none}
ul,li{list-style-type:none}
.cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both}

/* ===================================
背景,文字,リンク設定
=================================== */

html{
font-size:62.5%
}
body{
background:#000;/* 背景色 */
color:#fff;/* 文字色 */
font-size:1.3em;/* 文字の大きさ */
font-family:'Segoe UI','游ゴシック Medium','Yu Gothic Medium','游ゴシック体',YuGothic,'Hiragino Kaku Gothic ProN','メイリオ',Meiryo,sans-serif;
letter-spacing:.1em;
line-height:1.5;
padding:15px;
text-align:center
}
/*  リンク
------------------------------ */
a{
color:inherit
}
#contents a,footer a{
/* color:#ce0000 */
color:#ccc
}
a:not(.bg-none):hover{
border-bottom:1px solid #9CB400;
color:#fff
}

/* ===================================
基本
=================================== */

#wrapper{
background:#000;
border:1px dotted #fff;
margin:10px auto;
padding:20px;
text-align:left;
width:600px /* For changing width of page */
}
footer{
border-top:1px dotted;
padding:15px 0 0 80px;
position:relative;
text-align:right
}

/* ===================================
メニュー
=================================== */

#menu{
border-bottom:1px dotted #fff;
border-top:1px dotted #fff;
margin:10px 0;
padding:3px;
text-align:center;
width:100%
}
nav li{
display:inline-block
}
nav li a{
color:#fff;
line-height:2em;
padding:0 5px
}
nav li a:hover{
color:#9CB400
}
#open{display:none}

/* ===================================
ページ上部へのリンク
=================================== */

#pagetop{
background:rgba(77, 124, 0, 0.8);/* 背景 */
color:#fff;/* 色 */
display:inline-block;
padding:5px;
position:absolute;
text-align:center;
top:10px;left:0;
z-index:10
}
#pagetop:hover{
background:rgba(77, 124, 0, 0.8)
}

/* ===================================
見出し、枠、線
=================================== */

h1{
background:url(image/icongreen01.png) no-repeat  0 50%;
font-size:1.4em;
padding:.3em
}
h2{
border-bottom:3px solid #ccc;
font-size:1.4em;
margin:15px 0
}
h2:first-letter{
color:#9CB400;
font-size:1.5em
}
h3{
background:url(image/icongreen02.png) no-repeat 0 50%;
border-bottom:1px dotted;
font-size:1.1em;
margin:15px 0;
padding-left:20px
}
h3.bl{
background:url(image/icon03.png) no-repeat 0 50%
}
h3:first-letter{
font-size:1.5em;
margin-right:.1em
}
dt{
font-weight:700;
clear:both;
float:left;
margin:0 0 5px;
width:160px
}
dd{
margin:0 0 5px 170px
}
em{
font-style:normal;
font-weight:700
}
input,textarea{
background:#000;
border:1px dotted;
color:#999;
margin:3px 0;
width:250px
}
textarea{
height:50px
}
hr{
border:0;
border-top:1px solid #ccc;
display:block;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#9CB400;
background:-webkit-linear-gradient(rgba(206,0,0,0) 50%, #9CB400 0%);
background:linear-gradient(rgba(206,0,0,0) 50%, #9CB400 0%)
}
.dcline{
border-left:5px solid #9CB400;  
margin:5px 0;
padding:3px
}
.textbox{
border:1px dotted;
margin:10px 0;
padding:3px;
text-align:center
}
.textbox2{
border:1px dotted;
margin:10px 0;
padding:3px;
/* text-align:center */
}
.title{
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{
border-left:1px dotted;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#000;
border:1px solid;
box-shadow:4px 4px 5px #ccc;
padding:6px
}
.imgcontainer{
padding-bottom: 10px;  
} 


.flex-container {
  display: flex;
  flex-wrap: nowrap;
}

.flex-container .box {
  width: 100%;
  border:1px dotted;
  margin:5px 5px;
  padding:10px;
  text-align:left
  /* margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 30px; */
}

.flex-container .box2 {
  width: 40%;
  /* border:1px dotted; */
  margin:5px 5px;
  padding:10px;
  text-align:left
  /* margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 30px; */
}

.flex-container .imageInFlex{
  border:1px dotted;
  width : 40%;
  margin:5px 5px;
  /* height : 100%; */
  /* border:1px dotted;
  margin:10px 10px;
  padding:3px; */
  object-fit : cover;
  object-position: center;
}

/* .flex-container .box2 {
  width: 25%;
  border:1px dotted;
  margin:10px 10px;
  padding:3px;
  text-align:center
} */
/* ===================================
スマホ、タブレット用
横幅600pxで切り替え
=================================== */

@media screen and (max-width: 600px){
body{
font-size:1.4em
}
#wrapper{
width:100%
}
/* 画像の縮小表示 */
img{
height:auto;
max-width:100%
}
dt{float:none;clear:none;width:auto}
dd{margin-left:20px}

/* ===================================
スマホ、タブレット用メニュー
=================================== */

#menu{
margin-bottom:52px;  /* #openの高さ(32px)+10以上 */
border:0;
padding:0;
text-align:left;
position:relative
}
nav{
background:#000;
border:1px solid #fff;
position:absolute;
width:100%;
left:0
}
nav ul{
display:none;
width:100%
}
nav li{
width:50%  /* 一列ごとにするならここを100% */
}
nav li a{
border-bottom:1px dotted #fff;
border-left:1px dotted #fff;
display:block;
margin:0 0 -1px -1px;
padding:10px /* 枠の大きさはここを調整 */
}
nav li a:hover{
background:#9CB400;
color:#000
}
/*  メニューを開くボタン
------------------------------ */
#open{
background:#9CB400;
border:1px solid #fff;
color:#000;
display:block;
position:relative;
text-align:center;
height:32px;line-height:32px;
width:100%
}
#open:after{
background:url(image/nav-icon.png) no-repeat 10px 50%;
content:"";
display:inline-block;
position:absolute;
right:0;top:0;
height:32px;width:100%
}
}
/* ===================================
スマホ、タブレット用
横幅480pxで切り替え
=================================== */
@media screen and (max-width: 480px){
nav li{width:100%}
}


* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


.counter{
  float:left;
  text-align:center;
}