@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-size: cover;
	padding-bottom: 30px;
}

/* パンくずリスト */
.BreadCrumb {
    margin-top: 60px; 
	margin-bottom: 30px;
    padding: 20px; 
    background-color: #F4F4F4; 
    border-bottom: 1px solid #ddd; 
    font-size: 1.4rem; 
}

/* リストリセット */
.BreadCrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; 
}

/* リスト */
.BreadCrumb li {
    display: flex; 
}

/* リンク */
.BreadCrumb li a {
    text-decoration: none;
    color: #4a914d; 
    white-space: nowrap;
}

/* ホバー */
.BreadCrumb li a:hover {
    text-decoration: underline; 
    color: #2e3eb2;
}

/* 矢印（'>'） */
.BreadCrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 8px;
    color: #4A914D; 
}

/* 現在ページ */
.BreadCrumb li:last-child {
    color: #4A914D;
    font-weight: bold;
}

/* ----- メイン ----- */
.BoxRoom {
  position: relative;
  width: 100%;
  height: 800px;
  margin:0;
  overflow: hidden; 
	top:-30px;
}

.BackgroundVideo {
  position: absolute; 
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.BackgroundVideo video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.BlockRoom {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 10vh;

}

.LogoRai{
	 position: absolute;
  z-index: 2;
	 width: 500px;
  	height: auto;
	margin: 0 auto;
	margin-bottom: 30px;
	top: 150px;
	right: 5%;
}

.VisuRai{
	position: absolute;
  z-index: 1;
	 width: 700px;
  	height: auto;
	margin: 0 auto;
	top: 50px;
	left: 2%;
}

.LogoRai p{
	margin: 0 auto;
	margin-top: 30px;
	margin-bottom: 10px;
    font-weight: normal;
    font-size: 2rem;
    font-family: "Mochiy Pop One", sans-serif;
    font-style: normal;
	width: 150px;
	padding: 5px;
    color: #f49547;
    border-radius: 50px;
    background-color: rgba(255,255,255,0.9);	
}

#VcBtn {
	margin: 0 auto;
	width: 10%;
	height: auto;
	border: 4px solid #f49547;
	padding: 10px;
	background-color:#fff;
    border-radius: 100%;
	cursor: pointer;
    transition: transform 0.1s ease, opacity 0.1s ease;	
}

#VcBtn:hover {
    opacity: 0.8;
}

#VcBtn:active {
    transform: scale(0.95);
}

.VcTimer {
	display: none;
}

.BoxProf {
	position: relative;
	top:-30px;
	padding: 20px 0;
	background-size:cover;
	background-color: #F4F4F4;
}

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

.BoxProf dl{
	display: flex;
	max-width: 800px;
	margin: 0 auto;
}

.BoxProf dl dt{
	max-width: 500px;
}

/* 概要表 */
table {
    border-collapse: collapse; 
	margin-bottom: 25px;
}

th,td {
    padding: 5px 10px;        
}

th {
    background-color: #4a914d;  
    color:  #fff;             
    font-weight:  normal;     
    position:  relative;      
    z-index: 10;   
	height: 30px;
	border-radius: 10px;
}

td {
    padding-left: 25px; 
}

th::after {
    content:'';                 
    position:  absolute;      
    height: 20px;
    width: 20px; 
    background-color: #4a914d;
    transform:  rotate(45deg); 
    top: 25%;                
    right: -6px;             
    z-index:  -1;          
}

tr {
    border-bottom:  solid #f4f4f4; 
}

.Xtag:hover{
    color: #517fd3;
    text-decoration: underline;	
}

.BloclProf dd{
	max-width: 200px;
	height: auto;
}
/*-Work------------------*/
.BlockWork {
    border-radius: 10px;
    border: 2px solid #A0A0A0;
    background-color: #FFFFFF;
    max-width: 800px;
    height: auto;
    padding: 30px;
	margin: 0 auto;
	margin-bottom: 30px;
}

.BlockWork dl{
	display: flex;
}

.BlockWork dl dt{
	max-width: 300px;
}

.BlockWork dd{
	width: 400px;
	hight: 200px;
}

iframe{
	width: 400px;
	height: 200px;
}

.BlockWork dd:hover{
	opacity: 0.8;
	cursor: pointer;
}

.ButtonDetails {
    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; 
}

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

/*-Illust------------------*/

.BlockIllust{
 	
}

figure{
	width: 75%;
	height: auto;
	margin: 0 auto;
}

.PieceIllust{
	display: flex;
	width: 75%;
	height: auto;
	margin: 0 auto;
	gap:20px;
}

.IllustSc{
	width: 80%;
}


figcaption{
	margin-top: 5px;
	margin-bottom: 50px;
	text-align: end;
}

/* モーダルウィンドウ全体 */
.modal-wrapper {
    display: none; /* 最初は非表示 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* 半透明の黒い背景 */
    justify-content: center;
    align-items: center;
    flex-direction: column; /* 画像と説明を縦に並べる */
}

/* 拡大画像 */
.modal-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 95%;
}

/* 閉じるボタン */
#close-btn {
    position: absolute;
    top: 0px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* クリックできることを示すカーソル */
.gallery-image {
    cursor: pointer;
}

/*-------------------------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)
}

/*----------------------950px変更*/
@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;
	}
	
	.LogoRai{
	 position: absolute;
  z-index: 2;
	 width: 400px;
  	height: auto;
	margin: 0 auto;
	margin-bottom: 20px;
	top: 20px;
	right: 20%;
}

.VisuRai{
	position: absolute;
  z-index: 1;
	 width: 500px;
  	height: auto;
	margin: 0 auto;
	top: 300px;
	left: 1%;
}


.LogoRai p{
    
    margin: 0 auto;
	margin-bottom: 10px;
	width: 150px;
	padding: 3px;
    color: #f49547;
    border-radius: 50px;
    background-color: rgba(255,255,255,0.9);	
}
	
.BlockProf dl{
	display: block;
	}

.BlockProf dl dd{
	display: none;
	}
}

@media screen and (max-width: 768px) {
	
.BlockProf{
	width: 500px;
	padding: 0 auto;	
	}
	
.BlockProf dd {
	display: none;
	}

  .BlockWork dl {
    display: block;
	 align-items: center;
  }
	
.BlockWork dl dt{
	max-width: 470px;
	margin-bottom: 20px;
}
	
	
}
