@charset "UTF-8";

html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body{
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    color: #FFF;
    background-color: #000;
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.wrapper {
    display: block;
    max-width: 100%;
    width: 100%;
    z-index: 0;
    /* position: relative; */
    --bg-image: url("img/nims_openhouse_2026_poster01.jpg");
}

.wrapper::before {
    content: '';
    background: var(--bg-image) no-repeat top center;
    background-size: cover;
    position: absolute;
    top: -50px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    filter: blur(1.2rem);
    opacity: 0.7;
    z-index: -1;

}

/*ヘッダー*/
.lang-btn{
    position: absolute;
    top:1.5rem;
    right:1.5rem;
    z-index: 1;
    display: block;
    color: #fff;
    padding: 0.8rem;
    border: 1px solid #fff;
    text-decoration: none;
    background-color: rgba(255,255,255,0);
}

.lang-btn:hover{
    color: #000;
    background-color: rgba(255,255,255,1);
    transition: 0.3s;
}

/*メインコンテンツ*/
main div{
    text-align: center;
}

.information{
    background-color:#111;
    padding: 2.5rem 1rem;
}

/* .information_inner{
    margin-bottom: 50px;
} */

.program{
    background-color:#000;
    padding: 2.5rem 1rem;
}

img{
    filter: none;
    display: block;
    width: 100%;
}

h1, h2, h3, h4, h5, p{
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.05rem;
    line-height: 1.6;
}

h1 {
    width: 100%;
    max-width: 60%;
    margin: 4rem auto;
}

h2 {
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: bold;
    letter-spacing: 0.1;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 1.2rem;
}

h4 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

p{
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.h2_text_small{
    display: block;
    font-size: 1.2rem;
}

.text_small{
    font-size: 1rem;
}

.information_note p{
    text-align: left;
    display: inline-block;
}

.program_note{
    max-width: 700px;
    margin: auto;
    text-align: left;
}

.program_note ul li{
    margin-bottom: 1.2rem;
}

.program_note h3{
    margin-bottom: 0.3rem;
}

.program_note p{
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.program_note .andmore{
    font-size: 1rem;
}

/*フッター*/
footer {
    text-align: center;
    padding: 2.5rem 1rem;
    background-color: #111;
}

/* .contact_info{
    width: 720px;
    margin: 0 auto;
} */

footer h3::before,footer h3::after {
    content: "｜";
    color: #666;
}

footer address{
    font-style:normal;
    /* margin-bottom: 1rem; */
    color: #999;
    font-size: .8rem;
    letter-spacing: 0.1rem;
}

/*コピーライト*/
.copyright {
    position:relative;
    /* bottom: 10px; */
    /* left: 20px; */
    color: var(--text-color);
    text-align: center;
    padding: 1rem;
    background-color: #000;
}

.copyright p {
    margin: 0 auto;
    font-size: 11px;
    letter-spacing: 0.1rem;
}

.copyright a {
    text-decoration: underline;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    color: var(--text-color);
}

.copyright a:hover {
    text-decoration: none;
    color: #fff;
}

/*ページトップへ戻るボタン*/
#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--text-color);
    border-radius: 50%;
}

#pagetop a {
    display: block;
    text-decoration: none;
    padding: 20px 20px 35px;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #000;
    border-radius: 50%;
    letter-spacing: 0rem;
}

#pagetop a:hover { background-color: rgba(255,255,255,1);}


/* 1024px以下の表示 */
@media screen and (max-width: 1024px){
.wrapper:before{
    content:none;
    background: none;
    top: 0;
    left: 0;
    filter:none;
    margin: 0 auto;
}

.lang-btn{
    font-size: 0.7rem;
    padding: 0.5rem;
    top:1rem;
    right:1rem;
}

h1 { 
    max-width: none;
    margin: 0;}

h2 { font-size: 1.4rem; }

h3 { font-size: 1.2rem; }

h4 { font-size: 1rem; }

h5 { font-size: 1rem; }

h6 { font-size: 1rem; }

p { font-size: 1.1rem; }

footer{
    padding-left:30px;
    padding-right:30px;
}

main div, .contact_info{
    /* width: 100%; */
    margin: 0 auto;
}

img{
    max-width: 100%;
    width: 100%;
}

address{font-size: .8rem;}

/* .copyright{width: 100%;} */

#pagetop a {
    padding: 10px 10px 25px;
    font-size: 0.6rem;
}
}