/*全体*/

body {
    margin: 0;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    background: #0a0a0a;
    color: #efefef;
}

/*ヘッダー*/
.site-header {
    background: #000;
    border-bottom: 3px solid #cc0000;
    padding: 16px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    margin: 0;
    font-size: 1.7rem;
    color: #fff;
    font-weight: bold;
}

/*ナビ*/
.nav {
    margin-top: 10px;
}

.nav a {
    margin: 0 14px;
    text-decoration: none;
    color: #ccc;
}

.nav a:hover {
    color: #fff;
}

/*セクション*/
.section {
    padding: 32px 16px;
    max-width: 900px;
    margin: auto;
}

.section-alt {
    background: #111;
    border-radius: 16px;
    padding: 32px 16px;
    border: 1px solid #222;
}

.section-title {
    font-size: 1.8rem;
    border-left: 6px solid #cc0000;
    padding-left: 12px;
    margin-bottom: 18px;
}

/*スライダー*/

.slider {
    width: 100%;
    height: 500px; 
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #222;
    background: #000;
}

/*スライド*/
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.slide img {
    width: auto;
    height: 100%; 
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 10px;
}


/*キャプション*/
.caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    padding: 8px 12px;
    font-weight: bold;
    border-radius: 6px;
}

/*ドット*/
.slide-dots {
    text-align: center;
    margin-top: 14px;
}

.slide-dots span {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: #555;
    border-radius: 50%;
    margin: 0 4px;
}

.slide-dots .active-dot {
    background: #cc0000;
}

/*フォーム*/

.contact-form {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #222;
}

.form-row {
    margin-bottom: 14px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
}

.btn.sub {
    background: #444;
    color: #fff;
}

.btn.main {
    background: #cc0000;
    color: #fff;
}

/*トップへ戻る*/

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: none;
}

.site-footer {
    text-align: center;
    padding: 20px;
    color: #ccc;
}

/*セクション内の紹介画像のサイズ調整*/
.section-alt img {
    width: 40%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 10px;
}


/*カッコいいメニューバー*/
.top-nav {
    background: #111;
    border-bottom: 2px solid #cc0000;
    position: sticky;
    top: 68px;
    z-index: 999;
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.top-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.1rem;
    padding-bottom: 4px;
    position: relative;
    transition: 0.3s;
}

/*ホバーで下線が光るアニメーション*/
.top-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: #cc0000;
    transition: width 0.3s ease;
}

.top-nav a:hover {
    color: #fff;
}

.top-nav a:hover::after {
    width: 100%;
}

/*ナビ：スクロール時に縮むアニメ*/

.top-nav.shrink {
    padding: 6px 0;
    background: #000;
    border-bottom: 2px solid #ff3333;
    transition: 0.3s ease;
}

.top-nav a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.top-nav a.active {
    color: #ff3333;
}




/*ナビ：スクロール時の光アニメ強化*/
.top-nav.shrink {
    padding: 5px 0;
    background: linear-gradient(90deg, #000, #220000, #000);
    box-shadow: 0 2px 12px rgba(255, 0, 0, 0.3);
    transition: all 0.35s ease;
}

.top-nav a:hover {
    transform: translateY(-3px);
    color: #ff6666;
    text-shadow: 0 0 6px #ff3333;
}

.top-nav a.active {
    color: #ff3333;
    text-shadow: 0 0 4px #ff0000;
}

/*セクションのフェードイン*/
.section-alt, .section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-alt.show, .section.show {
    opacity: 1;
    transform: translateY(0);
}

/*カード（映画紹介）の動き*/
.card {
    transition: 0.35s ease;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.25);
}



/*しんちゃんミニスライダー*/
.mini-slider1, .mini-slider2 {
    position: relative;
    width: 40%;
    max-width: 900px;
    margin: auto;
    height: 200px;
    overflow: hidden;
    border-radius: 18px;
}

.mini-slide1, .mini-slide2 {
    display: none;
}

.mini-slide1 img,
.mini-slide2 img {
    width: 100%;
    border-radius: 12px;
}

.mini-slide1:first-child,
.mini-slide2:first-child {
    display: block;
}
