/* loading */
.loading, .loading_pad {
	width: 100%;
    background-color: #e8eced;
	position: fixed;	
	left: 0;
	z-index: 20000;
}
.loading{height: calc(100% - 145px);}
.loading_pad{height: 100vh;}
.loading img, .loading_pad img {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 40%;
	left: 50%;
	margin-top: -20px;
	margin-left: -20px;
}

/* modal */

/* モーダルを開くボタン */


/* モーダルと背景の指定 */
.modal{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,75%);
    padding: 40px 30px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
}

/* モーダルの擬似要素の指定 */
.modal:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active{
    opacity: 1;
    visibility: visible;
}

/* モーダル内側の指定 */
.modal-container{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 30px #111;
}

/* モーダルを閉じるボタンの指定 */
.modal-close{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    font-size: 18rem;
    color: #fff;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
}
.modal-close:hover{background: #666;}

/* モーダルのコンテンツ部分の指定 */
.modal-content{
    background: #222;
    line-height: 0;
}

/*報告*/
.article_form{
    box-sizing: border-box;
    padding: 20px;
    font-size: 9em;
    line-height: 1.2em;
    color: #fff;
    background-color: #323537;
    border-left: solid 2px #fff;
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 30;
    transform: translate(-50%, -100%);
    transition: 0.5s;
}
.article_form.active{
    transform: translate(-50%, 0);
    transition: 0.5s;
}
.article_form h3 {
    margin-bottom: 20px;
    font-size: 9rem;
    color: #e74c3c;
    text-align: center;
}
.report-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 7.5rem;
}
.report-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.report-options input[type="radio"] {margin-right: 10px;}
.report-comment {margin-bottom: 20px;}
.report-comment label {
    display: block;
    margin-bottom: 5px;
    font-size: 7rem;
}
.report-comment textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 7.5rem;
    color: #222;
    resize: vertical;
}
.report-submit {text-align: center;}
.report-submit button {
    padding: 8px 16px;
    margin-bottom: 20px;
    background-color: #e74c3c;
    font-size: 9rem;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.report-submit button:hover {background-color: #c0392b;}
.form-close-btn {
    font-size: 20px;
    cursor: pointer;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    background-color: #aaa;
    color: #222;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.form-close-btn:hover {
    background-color: #f0f0f0;
}
/* フォームメッセージのスタイル */
.form-message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}
.form-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
.form-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.form-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}


/*slide*/
.news_slide {
    margin: 0 0 50px;
    line-height: 0;
}
.news_slide li{    
    overflow: hidden;
    opacity: 0.6;
    transition: 0.3s;
}
.news_slide li.slick-active{opacity: 1.0; transition: 0.3s;}
.news_slide li a{
    display: block;
    position: relative;
    height: 100%;
}
.news_slide li a:hover img{
    opacity: 0.9;
    transition: 0.3s;
}
.news_slide img {
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: 0.3s;
}
.news_slide_txt{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 10px;
    background: linear-gradient(#00000000 30%, #000);
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.news_slide li a:hover .slide_ttl{
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.slide_ttl{    
    color: #fff; 
    line-height: 1.6em;
    text-shadow: 0 0 6px #111;
    order: 1;
    margin: 0;    
}
.slide_txt{    
    color: #aaa;    
    line-height: 1.4em;
    text-shadow: 0 0 6px #111;
    order: 2;
    margin: 0;
    padding: 0 10px 5px;
}
.news_slide .slick-next { right: 20px; z-index: 99;}
.news_slide .slick-prev { left: 15px; z-index: 100;}


/*pageNation*/
.load-more-link {
    display: block;
    font-size: 9rem;
    font-weight: bold;
    color: #0e77d0;
    text-align: center;
    background-color: #e9f3fa;
    padding: 12px;
    margin: 0 10px 5px;
    border-radius: 4px;
}
.load-more-link:hover {opacity: 0.8;}


/*pageUp*/
#to-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 90;
}
#to-top-button.show {
    opacity: 1;
    visibility: visible;
}
#to-top-button:hover {background-color: rgba(0, 0, 0, 0.9);}


/*humburgerMenu*/
#hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 800;
}
#hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #222;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
#hamburger-menu span:nth-child(1) {top: 0px;}
#hamburger-menu span:nth-child(2) {top: 10px;}
#hamburger-menu span:nth-child(3) {top: 20px;}

/* クリック時の変形（×印） */
#hamburger-menu.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
    background: #fff;
}
#hamburger-menu.open span:nth-child(2) {opacity: 0;}
#hamburger-menu.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
    background: #fff;
}

/* モバイルナビゲーション */
#mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 750;
    overflow-y: auto;
    
    /* スライドアニメーション用の設定 */
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}
#mobile-nav.open {transform: translateY(0);}
#mobile-nav ul {
    list-style-type: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#mobile-nav li {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: calc(0.1s * var(--item-index, 0));
}
#mobile-nav.open li {
    opacity: 1;
    transform: translateY(0);
}
#mobile-nav a {
    display: inline-block;
    padding: 15px;
    font-family: "Yanone Kaffeesatz", sans-serif;
    font-size: 18rem;
    letter-spacing: 1px;
    text-decoration: none;
    color: #fff;
}
/* モバイル画面ではハンバーガーメニューを表示し、通常のナビを非表示にする */
@media screen and (max-width: 480px) {
    #hamburger-menu {
        display: block;
    }    
    #hd_menu,#ft_menu {
        display: none;
    }
}