@charset "UTF-8";

/*
Theme Name: Infomation Systems Divison.
Description: A WordPress theme for your sites.
Version: 1.0
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
}

body {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 1.3rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    background-color: #1a1c1d !important;
    color: #e1e1e1 !important;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* ヘッダー用CSS始まり */
.header-container {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1320px;
    align-items: center;
    z-index: 100;
}

.header-text {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e1e1e1;
}

.glass-design {
    z-index: 9999;
    position: relative;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    backdrop-filter: url(#glass);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
/* ヘッダー用CSS終わり */

/* フッター用CSS始まり */
.footer-background {
    position: relative;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: linear-gradient(-45deg, #bc13c8 0%, #3290b8 100%);
    font-size: 1rem;
    z-index: 1000;
}
/* フッター用CSS終わり */

/* YouTube背景動画用CSS始まり */
.youtube-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.youtube-background-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    /* アスペクト比を維持しながら画面全体をカバー */
    min-width: 100%;
    min-height: 100%;
    /* 16:9のアスペクト比を維持 */
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* モバイル対応：縦長画面でも適切に表示 */
@media (max-aspect-ratio: 16/9) {
    .youtube-background-iframe {
        width: 100vw;
        height: 56.25vw; /* 16:9のアスペクト比 */
        min-height: 100vh;
        min-width: 177.78vh; /* 16:9のアスペクト比 */
    }
}

/* オーバーレイ（必要に応じてコンテンツの可読性を向上） */
.youtube-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 必要に応じて透明度を調整 */
    z-index: 1;
}

/* フロントページコンテンツ */
.front-page-content {
    position: relative;
    z-index: 10;
    flex: 1;
    overflow: visible;
    box-sizing: border-box;
}
/* YouTube背景動画用CSS終わり */

/* メインコンテンツ始まり */
.main-content {
    flex: 1;
    padding-top: 3rem;
}

.wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
    overflow: visible;
}

.bottom-margin {
    margin-bottom: 5rem;
}

h2 {
    padding-top: 2rem;
}
/* メインコンテンツ終わり */

/* パスワード入力画面始まり */
input[type="password"] {
    border-radius: 6px;
    color: #e1e1e1;
    background-color: transparent;
    border: 1px solid #414141;
    padding: 0.2rem 1rem;
}

input[type="password"]:focus {
    outline: none;
    border: 1px solid transparent;
    background-image: linear-gradient(#24243e, #24243e), linear-gradient(-45deg, #bc13c8 0%, #3290b8 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

input[type="submit"] {
    background: linear-gradient(-45deg, #bc13c8 0%, #3290b8 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 0.2rem 1.5rem;
    border-radius: 6px;
}
/* パスワード入力画面終わり */
