@charset "UTF-8";
/*---------------------------reset*/
* {
    padding: 0;
    position: 0;
}
html {
    height: 100%;
    font-size: 62.5%;
}

/* -----基礎設定----- */
body {
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 1.6rem; 
    color: #444444;
    height: 100%; 
    margin: 0;
    padding: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}
/*----------------------ローディングアニメーション*/
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* アニメーション本体 */
#loader {
    width: 300px;
    height: 300px;
}

/* 読み込み完了後にローディング画面を非表示にする */
.loaded #loader-wrapper {
    display: none;
}

/*--------------------------- header*/
header {
	top: 0;          
    left: 0; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: #fff;
	position: fixed;         
    width: 100%; 
	height:70px;
	padding: 0px auto;
    z-index: 100;  
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header h1 img {
  width: 40px;
  height: auto;
	margin: 10px;
}

nav {
    display: flex; 
    align-items: center;
    gap: 30px; 
}

.BoxPage {
    display: flex; 
    gap: 30px; 
    justify-content: space-between;
	
}

.BoxPage li a {
    padding: 0 10px;
    color: #4a914d;
    font-weight: bold;
    font-size: 2rem;
	padding-right: 15px;
 	border-right: 1px solid #4a914d;
}
.BoxPage li a:hover {
    color: #517fd3; 
}

/* ----- アイコンスタイル ----- */
.BoxIcon {
  display: flex;
	margin-right: 20px;
}
.BoxIcon li img {
  width: 40px;
  height: auto;
	margin: 10px;
}

/* ベルが揺れるアニメーション */
@keyframes bell-shake {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.bell-shake-animation {
    animation: bell-shake 1.5s ease-in-out  infinite;
	transform-origin: top center;
}


/*--------------------------- main*/
main {
	background-color: #F4F4F4;	
	background-size: cover;
	padding-bottom: 50px;
	
}
/* ----- ニューススライダー ----- */
.BoxNews {
    max-width: 1200px; 
    height: 600px;
    overflow: hidden;
    position: relative; 
    margin: 40px auto;
    z-index: 1; 
}

.BlockNews {
    display: flex; 
    width: 100%; 
    height: 100%; 
    position: absolute; 
    top: 0;
    left: 0; 
    transition: transform 0.5s ease-in-out; 
}

.NewsItem {
    flex-shrink: 0; 
    width: 800px; 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	margin-right: 30px;

}

.NewsItem img {
    max-width: 100%;
    height: 100%;
    object-fit: cover; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}

/* --- 矢印ボタンのスタイル --- */
.slide-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer; 
    z-index: 10;
    font-size: 20px;
    border-radius: 5px; 
}

.slide-button.prev {
    left: 10px;
}

.slide-button.next {
    right: 10px;
}
.slide-button:active {
	position: absolute;
    transform: translateY(-40%); 
}

/* --- ドットインジケーターのスタイル --- */
.slide-indicators {
    position: absolute;
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex;
    gap: 8px; 
    z-index: 10; 
}

.indicator-dot {
    width: 10px; 
    height: 10px; 
    background-color: rgba(150, 150, 150, 0.7);
    border-radius: 50%;
    cursor: pointer;
}

.indicator-dot.active {
    background-color: #333;
}


/* ----- プロフィールのスタイル ----- */
.SecPlofile {
    min-height: 800px;
    background-image: url(../img/illust/rai-profile.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding: 0 20px;
	
    /* ★ フェードイン最初*/
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

	/* ★ フェードイン後*/
.SecPlofile.is-visible {
		opacity: 1;
		transform: translateY(0);
	}

.BoxPlofile {
    color: #FFFFFF;
    justify-content: flex-start;
    margin-left: 100px;
    margin-top: 50px;
	width: 80%;
	transition: width 0.3s ease, padding 0.3s ease; 
}

.BoxPlofile h2{
    width: 400px;
    height: auto;
    margin-bottom: 50px
}
.BoxPlofile h2:hover{
	cursor: pointer;
	opacity: 0.7;
}

.BoxPlofile h3 {
    font-size: 2.4rem;
    font-weight: bold;
	margin-bottom: 30px;
}
.BoxPlofile p {
    max-width: 430px;
    height: auto;
}	

/*---新着情報のスタイル---*/
details {
    padding-bottom: 30px; 

}	
details summary {
    font-size: 2.6rem;
    text-align: center;
    border-bottom: 1.5px solid #a0a0a0;
    margin-top: 40px;
    margin-bottom: 30px;
	cursor: pointer; 
}

.BoxTopic {
    display: flex;
    max-width: 1500px;
    height: auto;
	justify-content: center;
}
.BoxTopic p img {
    max-width: 200px;
    height: auto;
    margin-right: 80px;
	margin-top: 30px;
	transition: margin 0.3s ease, padding 0.3s ease; 
}

.BlockTopic {
    border-radius: 10px;
    border: 2px solid #A0A0A0;
    background-color: #FFFFFF;
    width: 600px;
    height: auto;
    padding: 20px;
	 margin:0 10px;
}
.BlockTopic ul li {
    border-top: 1px dotted #A0A0A0;
    margin-bottom: 20px;
}



.ListDate {
    background-color: #d3b25f;
    color: #FFFFFF;
    width: 100px;
	padding: 0 5px;
	margin-top: 20px;
}

.ListText:hover {
    text-decoration: underline;    
}

.Details {
    display: block;
    margin-left: auto;
    margin-right: 10%;
    padding: 0 10px;
    border-radius: 10px;
    border: 2px solid #2e3eb2;
    color: #2e3eb2;
    font-weight: bold;
    font-size: 2rem;
	cursor: pointer; 
}

.Details:hover{
	transform: scale(1.1);
}

/* ----- TRPG関連 ----- */
.BoxTrpg {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
	gap: 80px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 10px;
}
.BlockTrpg {
	width: 250px;
	height: auto;
}

.BlockTrpg p img {
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); 
	margin-bottom: 30px;
}
.BlockTrpg dl dt {
    font-weight: bold;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
}

.BlockTrpg dl dd {
	width: 200px;
	margin: 0 auto;
	
}
.BlockTrpg a:hover {
	opacity: 0.8;
}


/* ----- ボードゲーム ----- */
.BoxBoardgame {
    display: flex;
}

.BoxBoardgame p img {
	max-width: 500px;
	height: 100%;
	object-fit: cover;
}

/* デフォルトでは画像を表示 */
.hide-on-mobile {
    display: block; 
}

.BoxBoardgame dl {
    flex-grow: 1;
    margin: 0 30px;
    padding: 0;
	align-items: center;
	justify-content: center; 
	
}
.BoxBoardgame dl dt {
    display: flex; 
    max-width: 400px; 
    margin: 0px auto; 
    padding: 20px; 
}

.BoardgameSubtitle {
    background-color: #ce0f2a;
    color: #FFFFFF;
    font-size: 2.2rem;
    font-weight: bold;
    padding: 10px 20px;
    margin: 20px 0;
    text-align: center;
    
}.Boardgametext {
	margin: 0;
    text-align: center;
	justify-content: flex-start
}
/*-------------------------footer*/
footer {
    width: 100%;
	height: 300px;
    background-color: #fff;
    padding: 80px auto;
	text-align: center;
	
}
.BoxNav{
	display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
}
.BoxNav nav {
  height: 200px;
  display: block;
}
.BoxNav nav a {
  display: flex;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  align-items: center;
}
.BoxNav nav a:hover {
    color: #517fd3;
    text-decoration: underline;
}
.BoxNav nav a img {
  width: 30px;
  height: 30px;
  justify-content: flex-end;
  margin: 5px;
}

/*-------------------------jump*/
.ATop {
    position: fixed;
	padding: auto;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255,255,255,0.50);
    border-radius: 50%;
    border: 2px solid #4A914D;
    font-size: 3rem;
    text-decoration: none;
    text-align: center;
    color: #4a914d;
}

.ATop:hover{
	transform: scale(1.1)
}

/*----------------------992pxタブレットサイズ変更*/
@media (max-width: 992px) {
	body{
		min-width: 550px;
	}
	
	
	/*header*/
	header{
		width: 100%;
		padding: 0px auto;
	}
	
	header h1 img { 
    min-width: 40px;
	margin: 10px;
}
	
	.BoxIcon li img {
	width: 0;
    display: none;
}
	
	.BoxPage li a {
		padding: 0 10px;
		color: #4a914d;
		font-weight: bold;
		font-size: 2rem;
		padding-right: 15px;
		border-right: 1px solid #4a914d;
	}

	
	/*ニューススライダー縮小*/
	.BoxNews {
        flex-direction: column;
        max-width: 100%;
        padding: 15px; 
        margin: 20px auto; 
    }

    .NewsItem {
        width: 500px;
		height: auto;
        min-width: auto;
    }
	
	/* 新着情報 */	
	.BoxTopic p img {
    margin-right: 0;

}
	
	/* ボードゲーム画像非表示 */	
	.hide-on-mobile {
		display: none;
	}
}

/*----------------------750pxスマホ変更*/
@media (max-width: 750px){
	/*プロフィールセンター揃え*/
	.BoxPlofile{
		width: 95%;
		margin: 0 auto;
		margin-top: 50px;
		
	}
}
