html {
    font-size: 62.5%;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-family: "M PLUS 2", sans-serif;
    font-weight: 500;
    font-size: 1.6em;
    line-height: 1.5;
    width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6{
    color: #333;
    font-family: "M PLUS 2", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
}
h2{
    background: #fff;
    border-radius: 50px;
    font-size: 4.5rem;
    font-weight: 900;
    padding: 10px 0;
    margin: 0 0 50px;
    text-align: center;
}
h3{
    font-size: 3rem;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}
h3::after{
    position: absolute; 
    content: "";
    background-color: #008B4B; /*下線の色*/
    width: 50px; /*線の幅*/
    height: 3px; /*線の太さ*/
    bottom: -5px; /*線のタテ位置*/
    left: 50%;  /*線のヨコ位置*/
    transform: translateX(-50%); /*線のヨコ位置*/
}
p{
    margin: 0;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    /* 保存禁止 */
    pointer-events: none;
}

.center {
    text-align: center;
    margin: auto;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
}
.txt-blue{
    color: #00499B;
}
.txt-red{
    color: #E4001E;
}


/*ヘッダー*/
header {
/*    position: absolute;
	top: 0;*/
    background: #eca614;
    width: 100%;
    height: 55px;
    padding: 15px 0;
    z-index: 1000;
}

.nst_logo {
    max-width: 1635px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nst_logo img {
    max-width: 300px;
}


/*メインイメージ*/
.main {
    width: 100%;
    height: calc(100vh - 145px);
}

.main .tit-wrap {
	position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
	width: max-content;
	max-width: 100%;
	padding: 0 10px;
	box-sizing: border-box;
}
.main .tit-wrap .date {
	text-align: right;
	padding-top: 20px;
}

.main .main-title {
    width: 100%;
    font-family: "M PLUS 2", sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 auto;
    text-align: center;
}
.main .main-title .title-img {
    display: block;
    max-width: 750px;
    width: 100%;
    text-align: center;
    margin: 0 auto 20px;
}

/*フッター*/
footer {
	position: absolute;
	bottom: 0;
    width: 100%;
}

.credit {
    background: #eca614;
    width: 100%;
    padding: 10px 0;
}

.credit p {
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: .8em;
}


.sp-only{
    display: none;
}

@media (min-width:767px) {
    
    .box p {
        margin: 0 10vw;
    }
}

@media (max-width:767px) {
    .pc-only{
        display: none;
    }
    .sp-only{
        display: block;
    }
    h2{
        font-size: 2.5rem;
        padding: 5px 0;
        margin: 0 0 20px;
    }
    h3{
        font-size: 2rem;
        margin-bottom: 15px;
    }
    p{
        font-size: 1.4rem;
    }
    
    header{
        padding: 0;
        position: fixed;
        top: 0;
        height: 55px;
    }
	header.fix-header {
        height: 55px;
        padding: 0;
    }
    .nst_logo{
        max-width: none;
        padding: 10px 0;
        align-items: flex-start;
    }
    .nst_logo img{
        max-width: 240px;
        width: 100%;
    }
    
/*
    .main{
        height: calc(100vw*(500 / 390));
    }
*/
    .main .main-title{
        font-size: 2rem;
        margin: 0;
    }
    .main .main-title .title-img{
        max-width: calc(100vw*(280 / 375));
    }

 /*フッター*/   
    .container{
        width: auto;
        margin: 0 20px;
    }
    
}