@charset "UTF-8";
html{
	font-size: 62.5%;
	font-family: sans-serif;
	/*font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
	-webkit-text-size-adjust:100%;
}
@media screen and (max-width: 767px) {
	html{font-size: 56.25%;}
}

body {
	font-size: 1.6em;
	line-height: 1.8;
	background: #FFF;
	margin: 0;
	padding: 0;
	color: #000;
}

section, aside{
	margin: 1rem;
}

ul, ol, dl, dt, dd{
	padding: 0;
	margin: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	padding: 0;
	font-weight: normal;
}

h2{
	font-size: 2.4rem;
	text-align:center;
	/*font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;*/
	font-family: serif;
	letter-spacing: 0.5rem;
	margin: 3rem 0;
}

h3{
	color:#000080;
	margin: 1.5rem 0;
	font-size: 2rem;
}
h4{
	color:#AC7222;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 2.5;
}

table{
	border-top: #115206 solid 1px;
	border-left: #115206 solid 1px;
	border-collapse:collapse;
	box-sizing:border-box;
	table-layout: fixed;
	width: 100%;
	margin: 1rem 0;
}
tr,th,td{
	font-size: 1.4rem;
	border-bottom: #115206 solid 1px;
	border-right: #115206 solid 1px;
	padding: 1rem;
	line-height: 1.8;
}

th{
	background-color: #1e73be;
	color: #FFF;
	font-weight: normal;
	text-align: left;
}

td{
	width: 70%;
	background-color: #FFF;
}

p, li, dd {
	font-size: 1.4rem;
	text-align: left;
	color:#231815;
	line-height: 1.8;
}

li{
	display: list-item;
	list-style: disc;
	margin-left: 2rem;
}

.list-decimal li{
	list-style: decimal;
}

dl{
	border: 3px dotted #777;
	padding: 1rem;
	background-color: #FFF;
}

dt{
	color: #000080;
	font-weight: 700;
}

dd{
	display: list-item;
	list-style: none;
	margin-bottom: 2rem;
}

a img {
	border: none;
	margin: 0px;
}

a:link,a:visited {
	text-decoration: none;
}

a:hover, a:active, a:focus {
	text-decoration: underline;
}

a:hover img {
	opacity: 0.7;
}

#container {
	width: 100%;
}

.hero{
	max-width: 1180px;
	margin: 0 auto;
	background-color: #1e73be;
	z-index: -3;
	position: relative;
	padding: 10px;
}

.top-images {
	width: min(100% - 20px,950px);
	height: auto;
	aspect-ratio: 5 / 2;
	margin: 0 auto;
	background-position:center center;
	background-size: cover;
	border: #FFF 5px solid;
}

.icon-container{
	max-width: 1200px;
	height: 30px;
	margin: 10px auto;
	position: relative;
}

.insta-link {
	position: absolute;
	right: 10px;
}

.insta-link:hover {
	opacity: 0.7;
}

.insta-link img {
	width: 30px;
	height: auto;
}

/*tablet & pc*/
@media screen and (min-width: 768px) {
	body {margin-top:140px;}
}
/*smartphone*/
@media screen and (max-width: 767px) {
	body {margin-top:52px;}
}

#contents {
	width: 100%;
	max-width:1240px;
	margin: 2rem auto;
}

/* メインコンテンツ（サイズ大）*/
.contents-box h2{
  display:flex;
	align-items: center;
}
.contents-box h2:before,.contents-box h2:after {
    border-top: 1px solid;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
    margin: 0 1rem;
}
.h2-sub{font-size: 1.8rem; margin-left:1rem;}

.contents-text{
  margin: 0 2rem;
  padding: 2rem;
  background-color:#F2F2F3;
}
.contents-text p{margin-bottom: 1rem;}
.contents-text p:last-child{margin-bottom: 0;}

.contents-comment{margin: 0 2.5rem;}

.contents-imagelist{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 0 1rem;
}

figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  margin-bottom: 2rem;
}

.contents-imagelist figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

@media screen and (min-width: 768px) {	/*tablet & pc*/
	.contents-imagelist figure { width: calc(25% - 1rem);}
}
@media screen and (max-width: 767px) {	/*smartphone*/
	.contents-imagelist figure { width: calc(50% - 1rem);}
}

/* サムネイルのホバーエフェクト */
.thumb {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.thumb:hover {
  transform: scale(1.05); /* 少し大きくしてクリックを促す */
}

/* 拡大時の背景（オーバーレイ） */
#overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8); /* 半透明の黒 */
  backdrop-filter: blur(5px);   /* 背景をぼかす（モダンな演出） */
  z-index: 1000;
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
}

#overlay img {
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease; /* ふわっと表示 */
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


.highlight{
	color:#f0304d;
	font-weight: 700;
}

/* メインコンテンツ（サイズ小）*/
.contents-box-s{
	max-width: 600px;
	margin:0 auto;
	padding: 0 1rem;
	border: 1px #aaa solid;
}
.contents-box-s p{
	margin:2rem 1rem;
}
