@charset "UTF-8";
/* CSS Reset */
*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role='list'],ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}

body {
    margin: 0 auto;
    font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック", "Yu Gothic", sans-serif;
}
.container {
    margin: 0 auto;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    justify-content: space-between;
}

.logo, .jcn-logo {
    max-width: 100%; /* ロゴの最大幅を100%に設定 */
}

.logo {
    width: 30%;
    margin-left: 0;
}

.jcn-logo {
    height: 25px; /* 高さを25pxに設定 */
    width: auto; /* 幅は自動調整 */
    margin-right: 0;
}
.logo, .jcn-logo {
    max-width: 100%;
    margin: 15px; /* 上下左右に10pxのマージン */
}

.bg {
background: #edf2f7 ;
    text-align: center;
    width: 100%;
    margin: auto;
    position: relative;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
}

.bg h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0;
	color: #000;
}
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px; /* 上部の余白 */
	margin-bottom: 50px; /* 上部の余白 */
    width: 100%; /* コンテナの幅を100%に設定 */
}

.button-container a {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 75%;
    max-width: 300px;
    margin: 15px auto; /* 上下の余白を10px、左右は自動で中央揃え */
    padding: 1em 0; /* 上下に1emのパディングを追加 */
    font-weight: bold;
    border: 2px solid #04449C;
    color: #04449C; /* デフォルトのテキスト色 */
    background: transparent; /* デフォルトの背景色 */
    border-radius: 100vh;
    transition: 0.5s;
}
.button-container a.login {
    background: #04449C;
    color: #fff; /* ログインボタンのテキスト色 */
}

.button-container a.login:hover {
    color: #fff;
    background: #0769F2 ;
	border: 2px solid #0769F2;
}

.button-container a.sign {
    /* 新規登録ボタンの特別なスタイルがあればここに追加 */
	color: #04449C;
}

.button-container a.sign:hover {
    color: #fff;
    background: #0769F2;
	border: 2px solid #0769F2;
}
footer .container {
    display: flex;
    justify-content: center; /* 中央揃えに変更 */
    align-items: center;
    text-align: center;font-size: 12px;
}

@media screen and (min-width:768px) {
    /*　画面サイズが768pxから1024pxまではここを読み込む　*/
 .logo, .jcn-logo {
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0; /* 768px以上の場合、左右のマージンを0に設定 */
    }
	.jcn-logo {
        height: 50px; /* PCなどの大きな画面用のスタイル */
    }
	.bg {
        padding-top: 450px; /* 1024pxの横幅に対する16:9の高さ */
    }
}
@media screen and (min-width:1024px) {
    /*　画面サイズが1024pxからはここを読み込む　*/



.bg h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0;
}
}