@charset "UTF-8";

/* 動画 */
#movie {
    position: fixed;
    inset: 0;
    background: black;
    z-index: 9999;
    pointer-events: none;
}
#movie video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 動画のボタン消す */
#video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; 
}
/* タイトル */
#title img{
    width: 50%;
}
#title{
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center; 
    align-items: center;   
    background: linear-gradient(to bottom, rgba(98, 8, 183, 0.82),#6A007A, rgb(60, 6, 110));
}

#content,#content2 {
  display: none;
}

#content{
    height: 100vh;
}


/* スライダー */
.slideshow {
    position: relative;
    width: 30%;
    height: 300px;
    margin: 0 auto;
    z-index: 1;
    text-align: center;
}
.slideshow img {
    display: none;
    position: absolute;
    top: 60px;
    width: 400px;
    left: 10%;
}
.slideshow img:hover {
    opacity: 0.9;
}

/* 魔法の町でたのしく */
.text_center{
    text-align: center;
    padding-top: 180px;
}

.title_text{
    color: #fff;
    white-space: nowrap;
    font-size: 36px;
    margin-bottom: 100px;
}
.title_text span{
    display: inline-block;
    transition: transform 0.3s ease; 
}
.title_text span:hover{
    position: relative;
    top: -10px;
    color: #ffd700;
}
/* 黒猫 */
#cat_section {
    padding: 60px 20px;
    background: rgb(0, 0, 0, 0.5); 
    color: white;
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 20px;
}
#cat_section p {
    font-size: 20px;
    margin: 10px 0;
}

#cat_section h2,#news_section h2,#form_section h2{
    font-size: 36px;
    margin-bottom: 40px;
}


.cat_img {
    max-width: 50%;
    height: auto;
    margin-top: 30px;
    border-radius: 8px;
}

/* 縦書きの文字 */
.tuki_text {
    writing-mode: vertical-rl;  /* 縦書き */
    font-size: 1.2em;
    line-height: 2;
    color: white;
    position: absolute;
    right: 20px;
    top: 100px;
    z-index: 3;
    font-family: "serif";
}

.tuki_text .en {
    writing-mode: horizontal-tb;
    font-size: 0.8em;
    line-height: 1.4;
    margin-top: 10px;
    color: #ccc;
}
/* ニュース */
#news_section {
    padding: 60px 120px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
}

.news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4列で同じ幅！ */
    gap: 20px;
    margin-top: 30px;
}

.news_c {
    width: 80%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 8px;
}

.news_c:hover {
    transform: scale(1.03); /* 3%拡大！ */
    opacity: 0.5;
}

.news_c img {
    width: 100%;
    border-radius: 4px;
}

.news_date {
    font-size: 0.9em;
    margin-top: 8px;
    color: #ccc;
}

.news_title {
    font-size: 1em;
    margin-top: 4px;
}
/* フォーム */
#form_section {
    background: rgb(0, 0, 0);
    color: white;
    padding: 40px 20px;
    text-align: center;
  }
#form input,
#form textarea {
    width: 80%;
    max-width: 400px;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: none;
}
  
#form button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #421b4b;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
  
#form button:hover {
    background-color: #421b4b;
}
  