@import url('/font/keifont.ttf');
@import url('/font/DelaGothicOne-Regular.ttf');

/* Googleフォント埋め込み */
.rocknroll-one-regular {
    font-family: "RocknRoll One", serif;
    font-weight: 400;
    font-style: normal;
}
  
  
/* 通常CSS */

* {
    font-family: "RocknRoll One", serif;
}


body {
    padding-top: 90px;
    height: 100%;
    background-color: #3d3a5f;
    line-height: 1.7;
}

.loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 555;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
  }

.loader .pic {
    font-size: 45px;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

/* ヘッダー */
html {
    height: 100%;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-left: 100px;
    padding-right: 100px;
    display: flex;
    width: 100%;
    height: 90px;
    background-color: #3d3a5f;
    align-items: center;
    z-index: 554;
}

.title{
    color: white;
    margin-right: auto;
}

.title:hover,
.title:active {
    opacity: 0.3;
    transition: 0.5s;
}

.hamburger-menu {
    display: none;
}

.nav_link{
    color: white;
    text-decoration: none;
}

.nav_link:visited{
    color: white;
}

.nav_link:hover,
.nav_link:active {
    opacity: 0.3;
    transition: 1s;
}

.menu-item {
    list-style: none;
    display: inline-block;
    padding: 10px;
}

/* フッター */
.footer{
    position: sticky;
    top: 100vh;
    width: 100%;
    background-color: #3d3a5f;
    color: white;
    text-align: center;
}

#fc2_footer a:visited {
    color: white;
}

#fc2_footer a {
    color: #ffffff;
}

/* メインコンテンツ */
p {
    margin: 1em 0px;
}

.all_content {
    background-image: url(../images/background.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #464646;
    background-color: #464646;
}

.history_title, 
.character_title, 
.staff_title {
    text-align: center;
    padding-top: 15px;
    color: white;
}

.content,
.content1,
.content2,
.content3,
.history_content_pc,
.history_content_pc1,
.history_content_pc2,
.character_content_pc,
.character_content_pc1,
.character_content_pc2,
.character_content_pc3,
.character_content_pc4 {
    text-align: center;
    display: flex;
    flex-flow: wrap;
    justify-content: space-around;
    align-items: center;
    color: white;
}

.character_content_pc1,
.character_content_pc2,
.character_content_pc3,
.character_content_pc4 {

}

.character_content_smt,
.staff_content {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-around;
    align-items: center;
    color: white;
    padding: 50px;
}

.character_content_smt {
    display: none;
}

.character,
.character_pc img,
.staff {
    padding: 10px;
    margin: auto;
    display: block;
    width: 50%;
}

.character img,
.character_pc img {
    border-radius: 50px;
}

.staff img {
    border-radius: 50%;
}

.left_content,
.right_content {
    width: 50%;
    padding: 100px;
}

.left_character,
.right_character {
    width: 50%;
    object-fit: cover;
}

/* メインスライダー */
.lapis_pictures {
    margin-inline: auto;
    width: 90%;
    height: auto;
    position: relative;
}

.swiper {
    width: 80%;
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: auto;
}

.swiper-pagination .swiper-pagination-bullet{
    background-color: white;
}

.swiper-pagination {
    position: unset;
}

.swiper-button-prev,
.swiper-button-next {
	max-width: 1920px;
	max-height: 1080px;
	margin-top: -16px;
}

 /* スマホ・タブレット対応（1024px以下） */
@media screen and (max-width: 1024px) {
    body {
        padding-top: 60px;
    }

    body h1 {
        font-size: x-large;
    }

    body h2 {
        font-size: large;
    }

    body p {
        font-size: medium;
    }

    /* ヘッダー */
    .header {
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        z-index: 554;
    }

    .title {
        padding-left: 20px;
    }

    .title img {
        max-width: 70%;
    }

    /* ハンバーガーメニュー */
    .nav {
        display: none;
        background: #2d2a46;
        position: absolute;
        top: 60px;
        width: 100%;
        z-index: 9998;  
    }

    .menu-group {
        text-align: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu-item {
        display: inline;
        padding: unset;
    }

    .nav_link {
        border-bottom: 1px solid #6b64aa;
        color: white;
        font-weight: 700;
        text-decoration: none;
        display: block;
        padding: 24px 0;
        transition: .5s;
    }

    .nav_link:first-child {
        border-top: 1px solid #6b64aa;
    }

    .hamburger-menu {
        display: inline;
        width: 50px;
        height: 50px;
        position: relative;
        border: none;
        background: transparent;
        appearance: none;
        padding: 0;
        cursor: pointer;
    }

    .hamburger-menu__bar {
        display: inline-block;
        width: 44%;
        height: 2px;
        background: white;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: .5s;
    }

    .hamburger-menu__bar:first-child {
        top: 16px;
    }

    .hamburger-menu__bar:nth-child(2) {
        top: 24px;
    }

    .hamburger-menu__bar:last-child {
        top: 32px;
    }
    
    .hamburger-menu--open .hamburger-menu__bar {
        top: 50%;
    }

    .hamburger-menu--open .hamburger-menu__bar:first-child {
        transform: translateX(-50%) translateY(-50%) rotate(45deg);
    }

    .hamburger-menu--open .hamburger-menu__bar:last-child {
        transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    }

    .hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
        display: none;
    }

    @media (hover: hover) and (pointer: fine) {
        .nav_link:hover {
          background: #9087e1;
        }
    }

    .left_character,
    .right_character {
        display: none;
    }

    .left_content,
    .right_content {
        width: 100%;
        padding: 30px;
    }

    .character_content_smt,
    .staff_content {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .character_content_smt {
        display: grid;
    }

    .character_content_pc,
    .character_content_pc1,
    .character_content_pc2,
    .character_content_pc3,
    .character_content_pc4 {
        display: none;
    }

    /* スライダー両側の矢印の設定 */
    .swiper-button-prev {
        background: url(../images/swiper1.png) no-repeat center center / contain;
    } 
    
    .swiper-button-next {
        background: url(../images/swiper2.png) no-repeat center center / contain;
    }
}