
header {
	background-color:white;
	position:fixed;
	width:100%;
	top:0;
	z-index: 8000;
	margin:0px;
}

/* ヘッダーロゴ部分全体：中央揃え＆固定表示 */
.logo {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  display: flex;
  justify-content: center;
  height: 110px;
}

/* 中身の幅1000pxボックス */
.logo-inner {
  width: 1000px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-left: 30px;
}

/* ロゴ画像：縦横比を保ちつつ左寄せ */
.logo-inner img {
  height: 60px;
  margin-top: 30px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}

/* ロゴ画像：ホバー時透過 */
.logo-inner img:hover {
	opacity: 0.5 ;
}

/* PC版メニュー */
#menu {
  background-color: #005100;
  width: 100%;
  height: 40px;
  margin-top: 110px;
  vertical-align: middle;
}

.menu-inner {
  max-width: 1000px;
  margin: 0 auto;
  height: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  flex: 1;
}

.nav-links a {
  flex: 1;	
  text-align: center;
  line-height: 40px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  padding: 0px 0px;
  display: block;
  transition: background-color 0.3s ease;
}

.nav-links a:hover {
  background-color: #008100;
 /* border-radius: 4px; */
}

/* スマホ用ハンバーガー */
#menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
  color: #333;
}

/* スマホ用閉じるボタン */
#menu-close {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  z-index: 1300;
  color: #333;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#slide-menu.open ~ #menu-close {
  opacity: 1;
  visibility: visible;
}

/* スマホ用スライドメニュー */
#slide-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 200px;
  height: 100%;
  background-color: #fff;
  transition: right 0.3s ease;
  z-index: 1200;
  padding: 40px 20px;
  border: 1px solid #000;    /* 枠線の太さと色 */
  border-radius: 4px;        /* 角を丸くしたい場合 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);  /* 影を入れて立体感をプラス */
}

#slide-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#slide-menu ul li {
  margin: 20px 0;
}

#slide-menu ul li a {
  color: #000;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

#slide-menu ul li a:hover {
  color: #008100;
  font-weight: bold;
}

#slide-menu.open {
  right: 0;
}

/* レスポンシブ切り替え */
@media screen and (max-width: 877px) {
   * { 
	box-sizing: border-box;
  }
   .menu-inner {
    display: none;
  }
   #menu {
    display: none;
  }
  #menu-toggle {
    display: block;
  }
  .sub-title-ribbon {
	margin-top: 50px !important;
  }
  .bodyblock {
	margin-top: 50px !important;
	width: 100% !important;
	padding: 20px 20px !important;
  }
  .hori-vert-box{
  flex-direction: column;  /* 縦並びに変更 */
  gap: 20px;  
  }  
  .sphide {
	display: none;
  }
  .accordion-header {
	min-width: 250px !important;
  }
}

@media screen and (max-width: 480px) {
.sppicsize {
width: 42% !important;
height: 42% !important;
}
.aspect169 iframe {
	width: auto !important;
	height: 100% !important;
}
}

@media screen and (min-width: 878px) {
  #slide-menu {
    display: none; /* ← PCでは完全に非表示に */
  }
  .pchide {
	display: none;
  }
}

body {
   font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
   font-size: 18px;
	width:100%;
	padding: 0px;
	margin:0px;
	text-align: center;
}

/* 本文を書くところ */
.bodyblock {
	background-color:#ffffff;
	max-width: 1000px;
	display: inline-block;
	padding: 50px 50px;
	margin-top: 80px;
	margin-bottom: 30px;
	margin-left: 0px;
	margin-right: 0px;
	text-align: left;
} 

.horizontal-box {
  display: flex;
  align-items: flex-start;  /* 上端を揃える：centerで中央揃えも可 */
  gap: 50px;                 /* 画像と文章の間のスペース */
}

.hori-vert-box {
  display: flex;
  align-items: flex-start;  /* 上端を揃える：centerで中央揃えも可 */
  gap: 50px;                 /* 画像と文章の間のスペース */
}

.sglass {
  padding-top: 25px;	
  width: 150px;
  height: auto;
}

.side-text {
  flex: 1;                   /* 残りのスペースを使う */
}

.pgchange {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 7000;

  /* 初期状態は表示 */
  opacity: 1;
  transition: opacity 0.5s ease;
}

.pgchange.fade-out {
  opacity: 0;
  pointer-events: none; /* 念のため操作不可に */
}

/* リンク画像：ホバー時透過 */
.pic-link:hover {
	opacity: 0.5 ;
}

a {
	color: #008000;
}

a:hover {
	font-weight:bold;
}

/* トップページを開く際にロゴを表示 */
.start {
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9000;
}
.start p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 120px;
}

.slider > div[aria-hidden="false"] {
	animation: anime_zoom 6s linear;
}
.slider > div[aria-hidden="true"] {
	transform: scale(1.0);
}
.sliderf {
	background-color:#FFFFFF;
	top: 1;
	bottom: 100;
	width: 100%;
	position: fixed;
	z-index: -100; 
}
.homepic {
	margin: 0px;
  padding: 0px;
	width: 100%;
	position: relative;
}
.kabe {
	top: 120px;
	width: 100%;
	position: fixed;
	z-index: -200; 
}
@keyframes anime_zoom {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.0);
    }
}

.ygreenblock {
  margin:-10px 0 0 0;
  padding: 0;
  width: 100%;
	background-color:#669900;
	text-align:center;
  position: relative;
  z-index: 100;
}

.whiteblock {
  margin:-15px 0 0 0;
  padding: 0;
  width: 100%;
	background-color:#fff;
	text-align:center;
  position: relative;
  z-index: 200;
}

footer {
	background: linear-gradient(#008000,#005100);
	color:#FFFFFF;
	width: 100%;
	text-align: center;
	height: 100px;
	font-size: small;
	margin: 0px;
	vertical-align: bottom;
}

h1 {
	font-weight:bold;
	font-size:x-large;
	color:#ffdead;
	text-shadow:1px 2px 2px #4e4e4e;
}

h2 {
	color:#005100;
	font-weight:bold;
	font-size: 24px;
}

/*　■  */
h3 {
font-size:18px;
font-weight: bold;
color:#005100;
}  

.sub-title {
	max-width: 1000px;
	margin-right:auto;
	margin-left:auto;
	margin-top: -12px;
	z-index : 1000;
	vertical-align:middle;
}

.sub-title-ribbon {
	background-color:#669900;
	width:100%;
	position: fixed;
	height:38px;
	margin-top: 95px;
	z-index : 1000;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.grsquare li a {
  text-decoration: none;
  display: inline-block;
  color: #000;
  font-size: 18px;
  line-height: 2;
}

.grsquare li a:hover {
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #008100;
}

.grsquare li::before {
  content: "■";
  color: #005100;
  margin-right: 0.5em; /* テキストとの間隔 */
  display: inline-block;
  white-space: nowrap;
}

.aspect169 iframe {
	width: 560px;
	height: 315px;
}

.banner {
	position:fixed;
	top: 78px; width:100%;
	z-index: 8010;background:
	linear-gradient(#008000,#005100);
}
.kage{
	filter:drop-shadow(5px 5px 5px #4e4e4e);
}
.kagetext{
	text-shadow:1px 2px 2px #4e4e4e;
}

.butng{
	display:block;
	width:300px;
 	height:37px;
	margin-top:10px;
	line-height:36px;
	background: linear-gradient(to right, #005100, #008100);
	border-radius:37px;
    color:#ffffff;
	font-size:18px;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
}
.butng:hover{
	opacity:0.5;
}
.rotate-on-hover {
       transition: transform 0.3s ease-in-out;
}
.rotate-on-hover:hover {
       transform: rotate(360deg);
}
.motto {
	line-height: 10px;
	text-align:center;
	padding:0 ;
	color:#008000;
	background-color:#ffffff;
	width:150px;
}
.mottoclose {
	color:#008000;
	background-color:#ffffff;}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
	display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
	outline-offset: -2px;
}

/* ********証しメニュー******** */
.accordion-content {
  display: none;
  padding-left: 20px;
}
.accordion-content.active {
  display: block;
}
.accordion-header {
  display: block;	
  text-align: left;
 }

.accordion-header-btn {
  display: block;	
  border-radius:50px ;
  font-size: 20px;
  text-align: left;
  background: linear-gradient(to right, #005100, #008100);
  color: #ffffff;
  border: none;
  width: 100%;
  min-width: 500px;
  padding-left: 30px;
}

.accordion-header:hover {
	opacity: 0.6 !important;
}

.accordion-header .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.accordion-header.open .arrow {
  transform: rotate(180deg); /* ▼を逆向きに（▲） */
}
