@charset "utf-8";

html {
    font-size: 62.5%;
}
.sp {
    display: none;
}
@media screen and (max-width: 1230px) {
    html {
        font-size: 0.813vw;
    }
}
body {
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
}

main {
    position: relative;
    width: 100%;
}

/* header */
#header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}
#header h1 {
    position: relative;
    display: block;
    max-width: 1290px;
    margin: 0 auto;
}
#header h1 a {
    position: absolute;
    left: 3rem;
    top: 2rem;
    display: block;
    width: 8rem;
}
#header h1 a img {
    width: 100%;
}
#header h1 a._sp {
    display: none;
}

/* pagetitle */
#pagetitle {
    position: relative;
    align-items: top;
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 15rem 3rem 3rem;
    color: #000;
}
.pagetitle_90th {
    position: absolute;
    right: 3rem;
    top: 2.5rem;
    width: 5.5rem;
    height: 5.9rem;
}
.pagetitle_90th img {
    width: 100%;
}
.pagetitle__title {
    margin-top: -0.6rem;
    font-size: 3.5rem;
    letter-spacing: 0.1em;
}
.pagetitle__copy {
    margin-top: 3.5rem;
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
}
.pagetitle__copy span:nth-child(1) {
    font-size: 1.9rem;
    letter-spacing: 0.12em;
}
.pagetitle__summary {
    margin-top: 1.7rem;
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
}
.pagetitle__caption {
    margin-top: 0.6rem;
    font-size: 1.3rem;
    color: #666;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

/********************
 * Calendar
 ********************/
#calendar {
    position: relative;
    width: 1230px;
    margin: 0 auto;
    transform-origin: left top;
    color: #000;
}

/**
 * thumbnails
 */
#cal_thumb {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#cal_thumb > .cal_wrap {
    position: relative;
    width: 100%;
    height: 400px;
}
#cal_thumb > .loader {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
#cal_thumb > .loader .spinner {
    margin: 0 !important;
}

/* thumbnails item */
.cal_item {
    position: absolute;
    top: 0;
    left: 0;
    /* width: 360px; */
    width: 405px;
    height: 100%;
    background-color: #fff;
    cursor: pointer;
}
.cal_item > .cal_wrap {
    position: relative;
    width: 100%;
    height: 100%;
}
.cal_item > .cal_wrap:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    border-right: 1px solid #656565;
    transition: border-color 0.5s ease-in-out;
}
.cal_item:last-child > .cal_wrap:before {
    display: none;
}
.cal_item:not(:first-child)._selected > .cal_wrap:before {
    border-color: transparent;
}
.cal_item__image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 260px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.cal_item._selected .cal_item__image {
    opacity: 0;
}
.cal_item__logo {
    position: absolute;
    top: 260px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 140px;
    background-color: #000;
}
.cal_item._selected .cal_item__logo {
    opacity: 0;
}
.cal_item__logo > .cal_wrap {
    transition: transform 0.4s ease-out, margin-left 0.4s ease-out;
    /* margin-left: 288px; */
    margin-left: 343px;
    transform: rotate(90deg);
    transform-origin: center center;
}
._active .cal_item__logo > .cal_wrap {
    margin-left: 0;
    transform: rotate(0);
}
.cal_item__date {
    text-align: center;
    white-space: nowrap;
}
.cal_item__date span {
    font-size: 12px;
    color: #d8d8d8;
    letter-spacing: 0.04em;
}
.cal_item__brand {
    margin-top: 5px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.04em;
    transition: font-size 0.4s ease-out;
}
._active .cal_item__brand {
    font-size: 25px;
}

/**
 * main visual
 */
#cal_main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: none;
}
#cal_main > .cal_wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

/* image */
#cal_main .cal_image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 103;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform-origin: left top;
}
/* info */
#cal_main .cal_info {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 102;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 140px;
    background-color: #000;
    transform-origin: left bottom;
}
.cal_info > .cal_wrap {
}
.cal_info__date {
    text-align: center;
    white-space: nowrap;
}
.cal_info__date span {
    font-size: 12px;
    color: #d8d8d8;
    letter-spacing: 0.04em;
}
.cal_info__brand {
    margin-top: 5px;
    font-size: 25px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

/* aside */
#cal_main .cal_aside {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 101;
    width: 566px;
    height: 100%;
}
#cal_main .cal_aside > .cal_wrap {
    position: relative;
    width: 100%;
    height: 100%;
}
#cal_main .cal_close {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-image: url(../IMAGES/close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px auto;
    cursor: pointer;
}
#cal_main .cal_date span {
    font-size: 20px;
    color: #8d8d8d;
    letter-spacing: 0.1em;
}
#cal_main .cal_logo {
    margin-top: 45px;
}
#cal_main .cal_logo img {
    height: 43px;
    /* transform: scale(1.2); */
    /* transform-origin: 0% 0%; */
}
#cal_main .cal_copy {
    margin-top: 16px;
    font-size: 20px;
    letter-spacing: 0.08em;
}
#cal_main .cal_copy.id-0 {
    margin-top: 110px;
    font-size: 18px;
    line-height: 1.5;
}
#cal_main .cal_context {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}
#cal_main .cal_subject {
    font-size: 13px;
    letter-spacing: 0.04em;
}
#cal_main .cal_downloads {
    display: flex;
    width: 100%;
    margin-top: 10px;
    flex-wrap: wrap;
}
#cal_main .cal_downloads__item {
    width: 50%;
    margin-top: 15px;
}
#cal_main .cal_downloads__item:nth-child(1),
#cal_main .cal_downloads__item:nth-child(2) {
    margin-top: 0;
}
#cal_main .cal_downloads__item:nth-child(odd) {
    padding-right: 7.5px;
}
#cal_main .cal_downloads__item:nth-child(even) {
    padding-left: 7.5px;
}
#cal_main .cal_downloads a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 38px;
    background-color: #eaeaea;
    color: #6a6a6a;
    text-decoration: none;
    transition: all 0.3s ease-out;
}
#cal_main .cal_downloads a span:nth-child(1) {
    font-size: 17px;
    letter-spacing: 0.04em;
}
#cal_main .cal_downloads a span:nth-child(2) {
    margin-left: 2px;
    font-size: 16px;
    letter-spacing: 0.04em;
}
#cal_main .cal_downloads a:hover {
    background-color: #d10000;
    color: #fff;
}
#cal_main .cal_links {
    display: flex;
    width: 100%;
    margin-top: 35px;
    flex-wrap: wrap;
}
#cal_main .cal_links__item {
    width: 50%;
}
#cal_main .cal_links__item:nth-child(1) {
    padding-right: 7.5px;
}
#cal_main .cal_links__item:nth-child(2) {
    padding-left: 7.5px;
}
#cal_main .cal_links a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 38px;
    padding-left: 30px;
    font-size: 14px;
    color: #000;
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.3s ease-out;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
#cal_main .cal_links a:hover {
    color: #d10000;
}
#cal_main .cal_links a:before {
    content: '';
    position: absolute;
    right: 30px;
    top: 50%;
    display: block;
    width: 8px;
    height: 12px;
    margin-top: -6px;
    background-image: url(../IMAGES/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/********************
    * download
********************/

#download {
    position: relative;
}

/* header */
.dl_header {
    max-width: 129rem;
    margin: 8rem auto 0;
    padding: 0 3rem 2rem;
}
.dl_title {
    font-size: 1.5rem;
    color: #000;
    text-align: center;
    letter-spacing: 0.04em;
}

/* body */
.dl_body {
    max-width: 129rem;
    margin: 0 auto;
    padding: 0 7.1rem;
    color: #000;
}
.dl_downloads {
    display: flex;
    gap: 0 1.5rem;
    width: 100%;
    margin-top: 1rem;
}
.dl_downloads__item {
    width: 50%;
}
.dl_downloads a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3.8rem;
    background-color: #eaeaea;
    color: #6a6a6a;
    text-decoration: none;
    transition: all 0.3s ease-out;
    cursor: pointer;
}
.dl_downloads a span:nth-child(1) {
    font-size: 1.7rem;
    letter-spacing: 0.04em;
}
.dl_downloads a span:nth-child(2) {
    margin-left: 2px;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
}
.dl_downloads a:hover {
    background-color: #d10000;
    color: #fff;
}

/********************
 * feature
 ********************/

#feature {
    position: relative;
    max-width: 129rem;
    margin: 12rem auto 0;
    padding: 0 3rem 8rem;
    color: #000;
}

/* body */
.feat_body {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 8rem;
}
.feat_item {
    width: 50%;
    padding-bottom: 4rem;
}
.feat_item:nth-child(odd) {
    padding-right: 2rem;
}
.feat_item:nth-child(even) {
    padding-left: 2rem;
}
.feat_item__title {
    font-size: 1.7rem;
}
.feat_item__wrap {
    display: flex;
    width: 100%;
    margin-top: 1.5rem;
}
.feat_item__image {
    width: 16rem;
}
.feat_item__image img {
    width: 100%;
}
.feat_item__summary {
    flex: 1;
    margin-top: -0.4rem;
    padding-left: 2rem;
    font-size: 1.4rem;
    line-height: 1.8;
}

/* footer */
.feat_footer {
    width: 100%;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ccc;
}
.feat_footer ul {
    margin-top: 2rem;
}
.feat_footer li {
    margin-top: 0.8rem;
    font-size: 1.3rem;
    color: #666;
}

/* footer {
	padding-top: 3rem;
	padding-bottom: 8.7rem;
} */

#gn_footer {
    position: relative;
    background-color: #1a1a1a;
}
#gn_footer:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #343434;
}
#gn_footer:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 55px;
    background-color: #000;
}
.nissan_gn_footer > div {
    position: relative;
    z-index: 1;
}
