@charset "UFT-8";

/*共通部分*/

html{
    font-size: 100%;
}

body{
    font-family:"Zen Maru Gothic", "Orbitron", sans-serif;
    line-height: 1.7;
    color:#ffffff
}

a{
    text-decoration: none;
}

img{
    max-width: 100%;
}

/*レイアウト*/
.align-center{
    text-align: center;
}

/*見出し*/
.font-english{
    font-family: "Orbitron", serif;
    font-optical-sizing: normal;
}
.page-title{
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
    line-height: 1.4;
}



/*ヘッダー----------------------------------------------------------*/
.page-header{
    padding-top: .5rem;
}
.logo{
    width: 600px;
    
}
.main-nav{ /*項目*/
    display: flex;
    justify-content:center;
    gap: 2.5rem;
    font-size: 1.5rem;
    list-style: none;
}
.main-nav.line{ /*下線アニメーション*/
    padding-bottom: 5px;
    position: relative;
}
.main-nav::before {
    background:  rgb(91, 230, 255);
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
  }
  .main-nav.line:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }
.main-nav a{
    position: relative; /* 追加 */
    color:#ffffff;
}
.main-nav a::after { /* 下線アニメーション追加 */
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: rgb(91, 230, 255);
    transition: width 0.3s ease-out;
}
.main-nav a:hover::after { /* ホバー時の動作 */
    width: 100%;
}
.main-nav a:hover{
    color: rgb(91, 230, 255);
    transform: scale(1.02);
}


/*背景-----------------------------------------------*/
.cover{
    background-size: cover;
    background-position: center bottom;
    height: 1200px;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.cover-home{
    background-image:url(main.jpeg) ;
}

/* 幕アニメーション---------------------------------------- */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 初期状態は全体を覆う */
    background-color: #c6e1ff; /* 幕の色 */
    z-index: 9999;
    transition: height 0.5s ease; /* 高さの変化にアニメーションを適用 */
}

/* 幕が上がる状態 */
.transition-overlay.hidden {
    height: 0; /* 高さを0にして幕を上げる */
}

/*本文*/
.subtitle{
    position: relative;
    text-align: center;
    color: #fff
 }

 .post {
    margin: 0; /* 内側の要素間の余白を削減 */
    font-family: 'Zen Maru Gothic', sans-serif; /* 読みやすいフォントを適用 */
    font-size: 16px; /* フォントサイズ */
    line-height: 1.5; /* 行間を調整 */
}

.post-border {
    display: inline-block; /* コンテンツ幅に合わせる */
    border: 2px solid #fff; /* 枠線のスタイル */
    padding: 20px; /* 内側の余白 */
    margin: 20px auto; /* 上下の余白と中央揃え */
    text-align: left; /* 内部の文章を左揃え（必要に応じて） */
}

.container {
    text-align: center; /* 子要素を中央揃え */
}

/*youtube追加*/
.polka-mv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.polka-mv img {
    width: 80%; /* 幅の割合 */
    max-width: 500px; /* 最大幅 */
    height: auto; /* 縦横比を維持 */
}

.polka-mv p {
    margin-top: 10px; /* 画像と文字の間に余白 */
    font-size: 16px; /* 文字サイズ */
    color: #ffffff; /* 必要に応じて文字色を調整 */
}

/*----------------------------scroll_up ｜下から上へ出現----------------------------*/

.scroll_up {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out; /* アニメーション設定 */
    transform: translateY(40px); /* 初期状態で下にずれる */
    opacity: 0; /* 初期状態で非表示 */
}
.scroll_up.on {
    transform: translateY(0); /* 元の位置に戻る */
    opacity: 1; /* 完全に表示 */
}


  .scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
  }
  

/* サイドバーのスタイリング */
/* サイドバー */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%; /* 初期状態で画面外に完全に隠れる */
    width: 70%; /* スマホ用に幅を調整 */
    max-width: 300px; /* 最大幅を指定 */
    height: 100%;
    background-color: rgb(16, 109, 126); /* 背景色 */
    color: #fff;
    transition: left 0.3s ease-in-out; /* スライドアニメーション */
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3); /* 影を追加 */
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgb(136, 213, 236); /* 下線を追加 */
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    display: block;
}

.sidebar ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: rgb(91, 230, 255); /* 下線アニメーション色 */
    transition: width 0.3s ease-out;
}

.sidebar ul li a:hover::after {
    width: 100%;
}

.sidebar ul li a:hover {
    color: rgb(91, 230, 255);
}

.menu-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    background-color: rgb(16, 109, 126);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1001;
    font-size: 18px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    display: block; /* 必ず表示 */
}
.sidebar.open {
    left: 0; /* サイドバーを表示 */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}
/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .main-nav {
        display: none; /* メインナビゲーションを非表示 */
    }

    .menu-btn {
        display: block; /* メニューボタンを表示 */
    }

    .sidebar {
        width: 70%; /* サイドバーを狭く */
    }

    .sidebar ul li {
        font-size: 1rem; /* フォントサイズ調整 */
    }
}

@media screen and (min-width: 769px) {
    .menu-btn {
        display: none; /* メニューボタンを非表示 */
    }

    .sidebar {
        display: none; /* サイドバーを完全非表示 */
    }
}

#page_top{
    width: 90px;
    height: 90px;
    position: fixed;
    right: 100px;
    bottom: 50px;
    background: rgb(255, 255, 255);
    opacity: 0.6;
    border-radius: 50%;
  }
  #page_top a{
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
  }
  #page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: rgb(91, 230, 255);
    position: absolute;
    width: 25px;
    height: 25px;
    top: -40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
  #page_top a::after{
    content: 'PAGE TOP';
    font-size: 13px;
    color: rgb(91, 230, 255);
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }