@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Frame */

html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	margin: 0;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 0.9rem; /* スマホ基準 */
	font-weight: 400;
	line-height: 1.6; /* 少し広げる */
	color: #3B3D4B;
	text-align: left;
	background-color: #F9F3F3;
	ontouchstart="";
	box-sizing : border-box;
}

/* タブレット以上 */
@media (min-width: 768px) {
	body {
		font-size: 1rem;
	}
}

/* PC */
@media (min-width: 1024px) {
	body {
		font-size: 1.1rem;
		line-height: 1.7;
	}
}

a{
	text-decoration: none;
	font-weight:bolder;
	position: relative;
	display: inline-block;
	transition: .2s;
}
a:hover{
	color : #907043;
}
a::after {
	position: absolute;
	bottom: 0px;
	left: 50%;
	content: '';
	width: 0;
	height: 2px;
	background-color: #E2AA31;
	transition: .2s;
	transform: translateX(-50%);
}
a:hover::after{
  width: 100%;

}
hr {
	display: block;
	width: 100%;
	height: 1px;
	background-color: #c0a080;
	border: 0;
}

.imglink{
	padding:0rem;
}
.container {
  width: 95%;
  padding-right: 0px;
  padding-left: 0px;
  margin-right: auto;
  margin-left: auto;
  color:#583000;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
	overflow:hidden;
  }
}

@media (min-width: 768px) {
  .container {
	  max-width: 720px;
	  overflow:hidden;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}


.headerarea{
	height: 4.2rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	margin-bottom:1.0rem;
	border-radius: 8px;
	background-color: #fdc201;
}
.footerarea{
	width: 100%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	margin-bottom:0.5rem;
	border-radius: 8px;
	background-color: #fdc201;
	font-weight: bold;
	font-size: 0.75rem;
	text-align: center;
	clear: both;
}
.headerareamenu{
	width: auto;
	display: inline-block;
	float: right;
	margin-top: 0.4rem;
	margin-right: 1.0rem;
	font-weight: bolder;
}
@media screen and (max-width: 768px) {
  .headerareamenu{
	height: 0rem;
	display: inline-block;
  }
}

.icon-menu {
	background: #fff;
	border: 3px solid #907000;
	cursor: pointer;
	height: 50px;
	position: relative;
	width: 50px;
	display: none;
	margin-top:0.0rem;
	margin-right: 0.4rem;
	margin-bottom: 0.4rem;
	border-radius: 10px;
}

.icon-menu span {
	background: #907000;
	display: block;
	height: 16%;
	left: 50%;
	margin: -8% 0 0 -42%;
	position: absolute;
	top: 50%;
	width: 84%;
	border-radius: 3px;
}

.icon-menu span::before,
.icon-menu span::after {
	background: #907000;
	content: "";
	display: block;
	height: 100%;
	left: 50%;
	margin: -8% 0 0 -50%;
	position: absolute;
	top: 50%;
	width: 100%;
	border-radius: 3px;
}

.icon-menu span::before {
  margin-top: -38%;
}

.icon-menu span::after {
  margin-top: 19%;
}

@media screen and (max-width: 768px) {
  .icon-menu {
    display: inline-block;
	float: right;
	}
}

.headerarealogo {
    display: inline-block;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    margin-left: 0.75rem;
    font-size: 1.32rem;
    vertical-align: center;
    float: left;
}
.headerarealogo2 {
	max-width: 100%;
	max-height: 100%;
	display: block;
	margin-top: 0.0rem;
	margin-left: 1.0rem;
	float: left;
}

.menu {
	list-style-type:none;
	margin-top: 0.3rem;
	padding:0.25rem;
  float: left;
}
.menu > li {
	display:inline-block;
	position:relative;
}
.menu > li > ul {
	display:none;
	width: 14.0rem;
	z-index: 1;
}
.menu > li:hover ul {
	display:block;
	position:absolute;
	padding:0;
	margin:0;
	top:1.0rem;
	left:0;
	list-style-type:none;
	background-color: #ffdf40;
}
.menu > li > a {
	color:#583000;
	text-decoration: none;
}
.menu > li > ul > li > a {
	text-decoration: none;
}

@media screen and (max-width: 768px) {
.menu {
    display: none;
    width: 100%;
	margin: 0;
	padding:0;
  }
.menu > li {
	display:block;
	border:1px solid #9f7f00;
	background-color: #ffdf40;
	position:relative;
	width: 14.0rem;
	float:right;
}
  .menu > li > a {
    border-bottom: 1px solid #ccc;
    border-right: none; 
  }
}



/*--------------------------------*/
.capt{
	font-weight: bold;
	margin-bottom: 0.5rem;
}
.spl10{
	padding-left: 1.0rem;
}
.spr10{
	padding-right: 1.0rem;
}

.frsmall{
	float: right;
	font-size:0.75rem;
}
.line1{
	height: auto;
	padding-top: 0.15rem;
	padding-bottom: 0.12rem;
	background-color: #907000;
	border-radius: 8px;
	color: #efefff;
}
.line2 {
	margin-left: 1.0rem;
	border-bottom: 3px solid #f0c050;
	border-left: 10px solid #f0c050;
	border-radius: 8px;
}
.line3{
	margin-left: 0;
	padding-left: 0.5rem;
	border-bottom: 2px solid #B8B7B7;
	width: 96%;
}

/*---------サムネイルは、モバイルではピンチインアウトにする---------*/
/* デフォルト（PC） */
.mobile-only {
  display: none;
}

/* モバイル・タブレット */
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .mobile-only {
    display: inline;
  }

  .pinchable {
    touch-action: pinch-zoom;
  }

  .clmnarea {
    overflow: visible;
  }
}

/*---------各ページのサムネイルは、200x140 幅が足りない場合、高さは厳守---------*/
/*---------各ページのトップ画像、ページの最小の幅に依存するが、max幅370pxで調整---------*/
.imgsize-titlethumb{
	width:370px;
}
.imgsize-topthumb{
	width:250px;
}
.imgsize-thumb{
	width:170px;
}
.imgsize-thumb-large{
	width:346px;
}
.imgsize-fullsize {
  width: auto;
  max-width: 95%;
}
.imgarea{
	width:auto;
}
.imgthumb{
	-ms-flex-negative: 0;
	flex-shrink: 0;
	margin-bottom: 3px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 3px 8px rgba(0,0,0,0.15);
	background:#fff;
	padding-top:6px;
	padding-left:6px;
	padding-right:6px;
	padding-bottom:3px;
}
.imgthumb a{
	text-decoration: none;
	font-weight:bolder;
	position: relative;
	display: inline-block;
	transition: .1s;
}
.imgthumb a:hover{
	color : #907043;
}
.imgthumb a::after {
    top: 0%;
	left: 50%;
	content: '';
	width: 0%;
	height: 100%;
	background-color: rgba(220, 180, 96, .5);
    border-bottom: 2px solid rgba(260, 180, 4, 1.0);
	transition: .1s;
	transform: translateX(-50%);
}
.imgthumb a:hover::after{
	width: 100%;
    height:100%;

}
.imgthumb img {
  max-width: 100%;
  height: auto;
}
.fl,.flnc{
	float: left;
}
.fr,.frnc{
	float: right;
}
.ct{
	display: block;
    margin-left: auto;
    margin-right: auto;
	text-align:center;
}
.fc{
	clear:both;
}

@media (max-width: 575px) {
    .imgarea{
		width:100%;
		display: inline-block;
	    margin-left: auto;
	    margin-right: auto;
		text-align:center;
		background-color: aquamarine;
	}
	.imgthumb{
		width:auto;
	}
	.fl{
		display: block;
	    margin-left: auto;
	    margin-right: auto;
		text-align:center;
		float:none;
	}
	.fr{
		display: block;
	    margin-left: auto;
	    margin-right: auto;
		text-align:center;
		float:none;
	}
	.flnc{
		display: block;
		float:none;
	}
	.frnc{
		display: block;
		float:none;
	}
}
@media (min-width: 576px) {
	.imgarea{
		width:100%;
		display: inline-block;
	    margin-left: auto;
	    margin-right: auto;
		text-align:center;
		background-color: aquamarine;
	}
	.imgthumb{
		width:auto;
	}
	.fl{
		display: block;
	    margin-left: auto;
	    margin-right: auto;
		text-align:center;
		float:none;
	}
	.fr{
		display: block;
	    margin-left: auto;
	    margin-right: auto;
		text-align:center;
		float:none;
	}
	.flnc{
		display: block;
		float:none;
	}
	.frnc{
		display: block;
		float:none;
	}
}

@media (min-width: 768px) {
	.imgarea{
		width:100%;
		display: inline-block;
	    margin-left: auto;
	    margin-right: auto;
		text-align:center;
	}
	.imgthumb{
  width:auto;
  margin:1%;
  float:left;
	}
	.fl{
		display: block;
		float:left;
	}
	.fr{
		display: block;
		float:right;
	}
	.flnc{
		display: block;
		float:left;
	}
	.frnc{
		display: block;
		float:right;
	}
}


/*--------------------------------*/
.clmnarea{
	width:100%;
	height: auto;
	display: inline-block;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	padding-right: 1.0rem;
	padding-left: 1.0rem;
    text-align: center;
}
.w92{
	width: 100%;
	margin-left:0.25rem;
    text-align: left;
}
.leftsp2{
	padding-left: 2.0rem;	
}


.menuarea{
	width:95%;
}
.menuarea ul{
	width: 100%;
	list-style-type: none;
	line-height: 1.5rem;
}
.menuarea ul li,
.menuarea ul li.new
{
	width: auto;
	display: inline-block;
	border-color: black;
	padding-right: 0.75rem;
	padding-left: 0.75rem;
	margin-top: 0.15rem;
	margin-bottom: 0.15rem;
	text-align: center;
}
	.menuarea ul li.new {
	border-radius: 8px;
	border: 2px solid #f0c050;
	}

.menubar{
	width:100%;
	display: block;
	padding-left:0.0rem;
}
ul.menubar li,
ul.menubar li.long{
	width: auto;
	display: inline-block;
	text-align: left;
	background-color: #F9D65E;
	margin-left: 4px;
	padding: 0.15rem 0.5rem 0.0rem 0.5rem;
	font-size: 0.9rem;
	font-weight: bold;
	border-radius: 0 90px 90px 0;
}
/* タブレット以上 */
@media (min-width: 768px) {
	ul.menubar li,
	ul.menubar li.long{
		font-size: 1rem;
	}
}

/* PC */
@media (min-width: 1024px) {
	ul.menubar li,
	ul.menubar li.long{
		font-size: 1.0rem;
	}
}
/* 画像を画面幅に合わせる */
img{
  max-width:100%;
  height:auto;
}

/* アコーディオン */

.accordion {
  position: relative;
}

.accordion-header {
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  padding: 0.1rem 1.75rem 0.0rem 1.75rem;
  margin: 0rem -0.75rem;
  background-color: #f9e4a8;
  border-radius: 8px 8px 8px 8px;
  position: relative;
  z-index: 2;
}

.accordion-content {
  display: none;
  position: absolute;
  top: 100%;   /* ボタンの下に出る */
  left: 0;
  margin-left: 0px; /* 微調整 */
  z-index: 1000;
  text-align: left;

  background: #f9e4a8;
  border-radius: 0 8px 8px 8px; /* 上だけ角消す */
  margin-top: -6px; /* ← これが重要！つなぐ */
  padding: 0.5rem 1.0rem 0.5rem 2.0rem;
  width:max-content;
  min-width: 180px; /* 最低幅だけ確保 */

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.accordion-content a {
  display: block;
  padding: 0.3rem 0.2rem;
  line-height: 1.2;          /* ← 行間を詰める */
}

/* PC */
.accordion:hover .accordion-content {
  display: block;
}

/* スマホ・クリック */
.accordion:focus-within .accordion-content {
  display: block;
}
