@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Pacifico);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

a{
	color: #0066ff;
	text-decoration: none;
}

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

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#header{
	text-align: center;
}

#header h1{
	padding-top: 15px;
}

#mainnav a{
	color: #000;
}



/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/

img{
	max-width: 100%;
	height: auto;
}

section{
	clear:both;
	padding-top: 70px;
}

section h2{
	/*font-family: 'Pacifico', cursive;*/
	width: 60%;
	margin: 0 auto 40px;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
	background: url(../images/borderBlack.png) repeat-x 0 50%;
	background-size: 1px 1px;
}

section h2 span {
	background: #fff;
	padding: 0 80px;
}

section h3{
	width: 80%;
	margin: 0 auto 20px;
	font-size: 18px;
	font-weight:normal;
	text-align: center;
	/*background: url(../images/borderBlack.png) repeat-x 0 50%;*/
	/*background-size: 1px 1px;*/
}


section h4{
	width: 80%;
	margin: 0 auto 20px;
	font-size: 18px;
	font-weight:normal;
	text-align: center;
	background: linear-gradient(transparent 70%, #a7d6ff 70%);
}

section h4 span {
    display: inline-block;
    width: 100%;
}

section p{
	width: 80%;
	margin: 0 auto 20px;
	font-size: 15px;
	font-weight:normal;
	/*text-align: center;*/
	margin: 0 auto;
}

.inner{
	width: 94%;
	margin: 0 auto;
	padding-bottom: 50px;
}

.innerS{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 80px;
}



/* 
------------------------------------------------------------*/
.col3 img{
	display: block;
	margin: 0 auto 5px;
}

.col3 li{
	line-height: 2.0;
}

.col3 .img{
	padding: 80px 50px;
	margin-bottom: 40px;
	line-height: 0 !important;
	background: #f6f6f6;
}


/***カルーセル***/
/* スライダー全体のスタイル */
.my-slider-container-hover {
    position: relative;
    max-width: 1070px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 20px; /* 下に余白を追加 */
}

.my-slider-hover {
    display: flex;
    overflow: hidden;
}

.my-slider_track-hover {
    display: flex;
    transition: transform 0.5s ease;
    width: calc(6 * (25% + 20px)); /* 6つのスライドに合わせた幅 */
    max-width: 100%;
}

.my-slider_item-hover {
    text-align: center;
    flex: 0 0 calc(33.33% - 20px); /* 3つの画像がちょうど収まるサイズ */
    max-width: calc(33.33% - 20px); /* 最大幅を設定 */
    margin: 0 10px;
    position: relative; /* キャプションを画像の下部に配置するため */
}

.my-slider_item-hover img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* 画像を中央寄せで表示 */
}

/* キャプションのスタイル（初期は非表示） */
.my-slider_caption-overlay-hover {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 10px;
    color: white;
    font-size: 0.8em;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* ホバーまたはタッチ時にキャプションを表示 */
.my-slider_item-hover:hover .my-slider_caption-overlay-hover,
.my-slider_item-hover:active .my-slider_caption-overlay-hover {
    opacity: 1;
    pointer-events: auto;
}

.my-slider_btn-hover {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.my-slider_btn-prev-hover {
    left: 10px;
}

.my-slider_btn-next-hover {
    right: 11.5px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .my-slider_item-hover {
        flex: 0 0 calc(50% - 20px); /* 2つ表示 */
        max-width: none;
    }
    /*twitter埋め込み表示*/
    .twitter-tweet-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

}

@media (max-width: 480px) {
    .my-slider_item-hover {
        flex: 0 0 calc(100% - 20px); /* 1つ表示 */
        max-width: none;
    }
}
/***カルーセルEND***/


/*ボタン*/
.c-btn,
.c-bnr,
.c-txt {
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}
 
// ボタン基本コード
.btn_box{
    text-align: center;
    margin: 20px 0;

}

#btn_animation .btn {
  display: block;
  position: relative;
  width: 200px;
  height: 78px;
  line-height: 78px;
  font-size: 24px;
  border-radius: 39px;
  text-decoration: none;
  background-color: #63d4db;
  color: #fbfbfb;
  text-align: center;
  transition: .2s;
  margin: 0 auto;
}

#btn_animation .btn:before, #btn_animation .btn:after {
  content: "";
  position: absolute;
  z-index: -10;
  width: 200px;
  height: 78px;
  top: 0;
  left: 0;
  border-radius: 39px;
  background: #a6f9ff;
  transform: translate3d(0,0,0);
}

#btn_animation .btn:before {
  animation: anime 1s ease-out infinite;
}

#btn_animation .btn:after {
  animation: anime 1s ease-out 1s infinite;
}

@keyframes anime{
0%{transform:scale(.95); opacity:1}
90%{opacity:.1}to{transform:scale(1.2,1.4); opacity:0}
}


.col2 li{
	display: inline-block;
	width: 100%;
	margin: 20px 0;
}

/* 活動ログ */
/* サムネイル専用スタイル */
.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
}

.thumbnail-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: white;
}

.thumbnail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.thumbnail-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-card:hover .thumbnail-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 0px 0px 5px 20px;
}

.event-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.event-info {
    padding: 20px;
}

.event-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.detail-icon {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    /* セレクタをより具体的にして、1列表示を強制 */
    section#activity_Log .thumbnails-grid {
        grid-template-columns: 1fr !important; /* 1列を強制 */
        gap: 20px;
        padding: 0 15px;
    }
    
    section#activity_Log .thumbnail-card {
        /* borderを濃くして、Safariでも確実に見えるようにする */
        border: 1px solid #999;  /* より濃いグレーに変更 */
        background: #fff;
        /* box-shadowも濃くする */
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.15);  /* Safari用 */
        width: 100%;
        max-width: none;
        /* Safariでの表示を確実にするための追加スタイル */
        -webkit-appearance: none;
        -webkit-backface-visibility: hidden;
        transform: translateZ(0);  /* ハードウェアアクセラレーション */
    }
}
/* スマホ用により小さいブレークポイントを追加 */
@media (max-width: 640px) {
    .thumbnails-grid {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
    
    /* Safariでの枠表示を強化 */
    .thumbnail-card {
        border: 1px solid #999 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }
}
/* 活動ログ end */


/* スクロールボタン
------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none; /* 初期状態では非表示 */
  transition: opacity 0.3s;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #555;
  opacity: 0.8;
}

/* ボタンが表示される時のクラス */
.back-to-top.show {
  display: block;
}


/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
	}
}

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}

	#mainnav li{
		display: inline-block;
		padding: 25px 25px;
		font-size: 15px;
	}
	
	
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 28%;
		padding: 0 2.5% 50px;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


@media only screen and (min-width: 641px){
	.col2 li{
		width: 45%;
		vertical-align: top;
	}
	.col2 li:first-child{
		/*width: 35%;*/
		width: 45%;
		padding-right: 4%;
	}

}

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 70px;
	}
	.col3 li{
		line-height: 1.7;
	}
	.col3 img{
		margin: 0 auto;
	}
	.col3 .img{
		padding: 30px;
		margin-bottom: 20px;
	}
	#gallery li{
		float: none;
		width: 100%;
	}
	
	#main_img{
		padding: 100px 40px;
	}
}

@media only screen and (max-width: 799px){
	/* bodyにpadding-topを追加して、固定ヘッダーの下にコンテンツが隠れないようにする */
	body {
		padding-top: 50px;
	}
	
	#header{
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		/*z-index: 500;*/
		z-index: 400;
	}
	
	#headerWrap{
		position: relative;
		width: 100%;
		height: 50px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#header h1{
		padding-top: 2px;
	}
	
	#header h1 img{
		margin-top: 3px;
		max-height: 45px;
		width: auto !important;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 2px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 60%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}

	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.col3 li{
		margin: 50px auto 0 auto;
		display: block;
	}
	section{
		padding-top: 50px;
	}
	section h2{
		margin: 0 auto 20px;
	}
	section h2 span {
		padding: 0 30px;
	}
}