html, body, div, header footer, section, div{
    position: relative;
}

body{
    background: url('../img/background.png') #dbe1e5; 
    background-repeat: no-repeat;
    background-position: center bottom 5rem;  
    /* font-family: 'Open Sans', sans-serif; */
    background-size: 130% auto;
}

header {
    background-image: linear-gradient(to top, transparent, #333333);
}

.logo{
    max-width: 200px;
    height: auto;
}

.navbar-light .navbar-nav.ml-auto {
    margin-top: 20px;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 1.5rem;
    font-weight: bolder;
    color: #FFFFFF;
    text-align: center;
}

.nav-link:link,
.nav-link:visited,
.nav-link:hover,
.nav-link:active{
    color: #000000;
    text-decoration: none;
}

.social-media-header{
    padding: 5px 0 0 0;
    text-align: center;
}

.social-media-header .nav-item{
    list-style-type: none;
    display: inline-block;
    margin-top: 8px;
    font-size: 16px;
}

.social-media-header .nav-item a{
    color: #FFFFFF;
}

.social-media-header img{
    width: 35px;
    height: auto;
}

.social-media-footer {
    font-size: 52px;
}

.social-media-footer a {
    color: #FFFFFF;
    filter: drop-shadow(10px 10px 10px rgba(0,0,0,0.6));
}

.social-media-footer a span{
    margin-top: 10px;
}

.banner {
    background-color: #111111;
    z-index: 0;
}

.drawer-nav {
    background-color: #000000;
}

section{
    /* margin-bottom: 5rem; */
}

section#news,
section#profile,
section#gallery{
    padding-top: 3em;
}

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

#slider-1-logo{
    bottom: 2rem;
    left: 2rem;
    width: 35%;
    height: auto;
    position: absolute;
}

section h1{
    font-size: 3rem;
    margin-bottom: 3rem;
}

section h3{
    margin: 1rem 0;
}

section article h3 {
    margin-bottom: 0;
}

section article p {
    margin-bottom: 2rem;
}

section.contact p{
    margin-bottom: 2rem;
}

.title{
    color: #ffffff;
    position: absolute;
    left: 0;
    right: 0;
    text-transform: uppercase;
    font-size: 3rem;
    bottom: 20%;
}
/* メインビジュアル */
.devrama-slider .navigation .nav-link.active{
    background-color: #000000 !important;
}

.devrama-slider .navigation{
    top: 95% !important;
}

div#main-visual{
    padding-bottom: 0 !important;
}

div#main-visual .inner {
    position: relative;
    margin: 0px auto;
    width: 100%;
    height: 100vh;
}

div#main-visual .inner .video-frame {
    z-index: -3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

div#main-visual .inner .video-frame .video {
    display: block;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

div#main-visual .inner .video-cover {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAABHNCSVQICAgIfAhkiAAAABVJREFUGJVjYMADDAwM/o8ESQYGBgBljgx5zL0VKAAAAABJRU5ErkJggg==) repeat;
    opacity: 0.8;
}

div#main-visual .inner .main-logo-frame {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div#main-visual .inner .main-logo {
    width: 70%;
}

/* YouTube */
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
    height: 0;
    margin-bottom: 15px;
}
.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
    height: 100%;
}

#youtube-player{
    height: 600px;
    width: 100%;
}

.youtube-content{
    height: 300px;
}

/* ニュース */
.news h3 a{
    color: #000;
}

.news h3 a,
.news h3 a:link,
.news h3 a:visited,
.news h3 a:hover,
.news h3 a:active {
	text-decoration: none;
	color: #000;
}

/* プロフィール */
.profile h1{
    border-bottom: solid #000000 1px;
    padding-bottom: 1rem;
}

.gallery .read-more button,
.video .read-more button,
.profile .read-more button{
    background: none;
    color: #000000;
    text-transform: uppercase;
    font-weight: bold;
    border-color: #000000;
    padding: .375rem 1.5rem;
    /* border-radius: 0; */
}

#profile-modal h6{
    margin-bottom: .5rem;
}

#profile-modal .profile-items h6{
    margin-bottom: 1rem;
}

#profile-modal .profile-items ul{
    margin-top: -0.5rem;
}

/* ギャラリー */
.gallery p{
    margin-bottom: 30px;
}

.instagram {
    object-fit: cover;
    object-position: 100% 0;
    width: 300px;
    height: 404px;
}

/* フッター */
.copyright{
    margin-bottom: 3rem;
}

/* トップへ行く ボタン */
#go-to-top{
    text-transform: uppercase;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    border-radius: 1rem;
    padding: 1rem;
    z-index: 1;
}

#go-to-top,
#go-to-top:link,
#go-to-top:visited,
#go-to-top:hover,
#go-to-top:active{
    color: #000000;
    text-decoration: none;
}

#go-to-top:hover{
    background: rgba(255, 255, 255, 0.5);
}

#go-to-top img{
    height: 1.5rem;
    width: auto;
}

/* contact form */
#contact-modal .form-group textarea{
    resize: none;
    height: 200px;
}

#contact-modal .form-group .content-form-label{
    width: 100%;
}

#contact-modal .form-group .btn-send{
    background: none;
    color: #000000;
    text-transform: uppercase;
    font-weight: bold;
    border-color: #000000;
    /* border-radius: 0; */
    padding: .375rem 1.5rem;
}

.album-list img{
    margin-bottom: .5rem;
}

.background-gold{
    background-color: #d8b913;
}

#gallery-modal .modal-body {
    height: calc((100vw - 1rem) * 1.5);
    position: relative;
}

#gallery-modal .modal-body .close {
   position: absolute;
   top: 5px;
   right: 10px;
}

.column { float: left; }
.size-1of1 { width: 100%; }
.size-1of2 { width: 50%; }
.size-1of3 { width: 33.333%; }

#profile-modal .card {
    margin: 10px 5px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    position: relative;
}

#profile-modal .card .card-header {
    padding: .75rem 2rem .75rem 1.25rem;
}

#profile-modal .card.bg-cm {
    background-color: rgba(191, 221, 227, 0.9);
}

#profile-modal .card.bg-award {
    background-color: rgba(227, 224, 191, 0.9);
}

#profile-modal .card.bg-judge {
    background-color: rgba(227, 191, 208, 0.9);
}

#profile-modal .card.bg-amb {
    background-color: rgba(194, 227, 191, 0.9);
}

#profile-modal .card.bg-guest {
    background-color: rgba(227, 198, 191, 0.9);
}

#profile-modal .card .close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

#profile-modal .card .card-body {
    word-break: break-all;
}

#profile-modal .card ul {
    padding: 0.5em 1em 0.5em 1.5em;
    position: relative;
}

#profile-modal .card ul li {
    line-height: 1.5;
    padding: 0.2em 0;
    list-style-type: none!important;
}

#profile-modal .card ul li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    position: absolute;
    left : 0;
    color: #ffb03f;
}

#profile-modal .card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#profile-modal .modal-content {
    background-color: transparent;
    border: none;
}

#profile-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
    color: #FFFFFF;
}

#profile-modal .modal-body {
    padding-top: 0;
}

#grid[data-columns]::before {
    content: '1 .column.size-1of1';
}

/* sm */
@media (min-width: 576px) {
    .youtube-content{
        height: 500px;
    }
    #gallery-modal .modal-body {
        height: 750px;
    }
	#grid[data-columns]::before {
		content: '2 .column.size-1of2';
	}
}

.fullscreen-image {
    margin-bottom: 30px;
}

.fullscreen-image img {
    cursor: pointer;
}

.modal {
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    border-radius: 0;
}

.drawer-hamburger-icon, .drawer-hamburger-icon:after, .drawer-hamburger-icon:before {
    background-color: #FFFFFF;
    height: 3px;
}

button, html [type=button] {
    -webkit-appearance: none;
}

@media (max-width: 767px) {
    .inner.devrama-slider,
    .primary-img {
        height: calc(100vh - 99px) !important;
    }
    #slider-1-logo{
        width: 60%;
    }
}

/* md */
@media (min-width: 768px) {
    header{
        position: absolute;
        z-index: 9999;
        width: 100%;
    }

    .navbar{
        padding: 1rem 3rem;
    }

    .navbar-light .navbar-nav .nav-link {
        color: #ffffff;
    }
    
    .navbar-light .navbar-nav .nav-link:focus, 
    .navbar-light .navbar-nav .nav-link:hover{
        color: #ffffff;
        opacity: 0.5;
    }

    .social-media-header{
        padding-left: 40px;
        text-align: left;
    }

    .social-media-header .nav-item a:focus,
    .social-media-header .nav-item a:hover {
        opacity: 0.5;
    }

    .contact a:focus,
    .contact a:hover {
        opacity: 0.5;
    }

    .read-more button:focus,
    .read-more button:hover {
        opacity: 0.5;
    }


    .title{
        font-size: 6rem;
    }

    section h1{
        font-size: 5rem;
    }

    .youtube-content{
        height: 800px;
    }
}

/* lg */
@media (min-width: 992px) {
    .drawer--right .drawer-nav {
        -webkit-transition: none;
        transition: none;
        position: static;
        width: 100%;
        text-align: right;
        background-color: transparent;
        display: flex;
    }
    header .drawer-toggle {
        display: none;
    }
    .modal-lg{
        max-width: 900px !important;
    }
    #gallery-modal .modal-body {
        height: 1350px;
    }

	#grid[data-columns]::before {
		content: '3 .column.size-1of3';
	}
}

/* xl */
@media (min-width: 1200px) {}

#background,
#background-front {
    /* position: absolute;
    right: 0; 
    bottom: 0;
    width: 100%; 
    min-width: 100%; 
    height: 800px;
    min-height: 100%;
    z-index: -1; */
}

/* language toggle */

#language-toggle{
    border: none;
    border-radius: 5px;
    overflow: hidden;
    padding: 1em;
    top: 0.1em;
    bottom: 1em;
    left: 1em;
    right: 1em;
    z-index: 10;
}

#language-toggle a{
    padding: 0.5em;
    color: #ffffff;
    text-decoration: none;
}

#language-toggle a:hover,
#language-toggle a.active{
    color: #FFFF00;
}