@charset "utf-8";

/* year_bg
-------------------------------------------------- */
.year_bg{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 22;
}
.year_bg ul{
    width: 100%;
    height: 100%;
    position: relative;
}
.year_bg ul li{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;

    opacity: 0;
    transition: opacity 1s;
}
.year_bg ul li[data-year="1930s"]{
    background-image: url(/jpn/company/history/iwatani/images/year_bg_1930.png);
}
.year_bg ul li[data-year="1980s"]{
    background-image: url(/jpn/company/history/iwatani/images/year_bg_1980.png);
}
.year_bg ul li[data-year="1990s"]{
    background-image: url(/jpn/company/history/iwatani/images/year_bg_1990.png);
}
.year_bg ul li[data-year="2000s"]{
    background-image: url(/jpn/company/history/iwatani/images/year_bg_2000.png);
}
.year_bg ul li[data-year="2010s"]{
    background-image: url(/jpn/company/history/iwatani/images/year_bg_2010.png);
}
.year_bg ul li[data-year="2020s"]{
    background-image: url(/jpn/company/history/iwatani/images/year_bg_2020.png);
}
.year_bg ul li.is_active{
    opacity: 1;
}

@media print, screen and (min-width: 768px) {
    .year_bg ul li{
        background-position: center top;
        background-size: cover;
    }
    .card_year_note {
        display: flex;
        margin-left: 37.208%;
        text-align: center;
    }
    .card_year_note .text_note1:nth-of-type(1){
        width: 59.4%;
    }
    .card_year_note .text_note1:nth-of-type(2){
        width: 40.6%;
    }
}

@media screen and (max-width:767px) {
    .year_bg ul li{
        background-position: 30% 0;
        background-size: auto 100%;
    }
    .card_year_note {
        margin-top: 5px;
    }
}


/* nav_iwatani
-------------------------------------------------- */
.nav_iwatani{
    background: url(/jpn/company/history/common/images/bg.png) top center fixed;
    position: relative;
    z-index: 23;
}
.nav_iwatani .nav_iwatani_inner{
    width: 100%;
    position: relative;
}
.nav_iwatani .nav_iwatani_inner:after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #d7d6d4;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}
.nav_iwatani .nav_iwatani_cnt{
    margin-right: auto;
    margin-left: auto;
}

.nav_iwatani ul{
    display: flex;
    justify-content: space-between;
}
.nav_iwatani ul li{
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    text-align: center;
}
.nav_iwatani ul li a{
    color: #333;
    text-decoration: none;
    display: block;
    position: relative;
}
.nav_iwatani ul li.is_active a span{
    display: inline-block;
}

@media print, screen and (min-width: 768px) {
    .nav_iwatani .nav_iwatani_inner{
        min-width: 1064px;
        opacity: 1;
        visibility: visible;
        transition: background-color .3s, opacity .3s, visibility .3s;
    }
    .nav_iwatani.is_fixed .nav_iwatani_inner{
        /* background-color: rgba(246, 245, 243, 0.8); */
        background-color: #f6f5f3;
        position: fixed;
        top: 0;
        left: 0;
    }
    .nav_iwatani.is_over .nav_iwatani_inner{
        opacity: 0;
        visibility: hidden;
    }
    .nav_iwatani .nav_iwatani_cnt{
        max-width: 1024px;
    }
    .nav_iwatani ul li{
        margin-right: 3.027%;
        margin-left: 3.027%;
    }
    .nav_iwatani ul li a{
        padding: 23px 28px 25px;
        font-size: 22px;

        opacity: 1;
        transition: opacity .3s;
    }
    .nav_iwatani ul li a:hover{
        opacity: .7;
    }
    .nav_iwatani ul li.is_active a{
        color: #FF0914;
    }
    .nav_iwatani ul li a:after{
        content: "";
        width: 0;
        height: 4px;
        background-color: #FF0914;
        position: absolute;
        bottom: 0;
        left: 0;
        display: block;

        transition: width .3s;
    }
    .nav_iwatani ul li.is_active a:after{
        width: 100%;
    }
}

@media screen and (max-width:767px) {
    .nav_iwatani .nav_iwatani_inner{
        padding-bottom: 20px;
    }
    .nav_iwatani ul{
        flex-wrap: wrap;
    }
    .nav_iwatani ul li{
        width: calc(100% / 3);
        margin-top: 10px;
        padding-right: 10px;
        padding-left: 10px;
        position: relative;
    }
    .nav_iwatani ul li:nth-of-type(-n+3){
        margin-top: 0;
    }
    .nav_iwatani ul li:after{
        content: "";
        display: block;
        width: 1px;
        height: 100%;
        background-color: #D6D5D3;
        position: absolute;
        top: 0;
        right: 0;
    }
    .nav_iwatani ul li:nth-of-type(3n):after{
        display: none;
    }
    .nav_iwatani ul li a{
        padding-top: 9px;
        padding-bottom: 10px;
    }
    .nav_iwatani ul li a span:before{
        content: "";
        display: inline-block;
        width: 0.5em;
        height: 0.5em;
        margin-top: -0.4em;
        margin-right: 0.5em;
        border-top: 2px solid #FF0914;
        border-right: 2px solid #FF0914;
        z-index: 1;
        vertical-align: middle;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
}


/* sec_card
-------------------------------------------------- */
.sec_card{
    position: relative;
    z-index: 22;
}
.sec_card .sec_card_inner{
    margin-right: auto;
    margin-left: auto;
    letter-spacing: 0.06em;
    position: relative;
}
.sec_card .sec_card_inner:before{
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    background: url(/jpn/company/history/iwatani/images/dot.png) center top repeat-y;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
}
.sec_card .hr{
    width: 100%;
    height: 1px;
    background-color: #ddd;
}
.sec_card .hr hr{
    display: none;
}

@media print, screen and (min-width: 768px) {
    .sec_card{
        padding-top: 40px;
        padding-bottom: 125px;
    }
    .sec_card .sec_card_inner{
        max-width: 1024px;
        padding-bottom: 97px;
    }
}

@media screen and (max-width:767px) {
    .sec_card{
        padding-top: 40px;
        padding-bottom: 80px;
    }
    .sec_card .sec_card_inner{
        padding-bottom: 48px;
    }
}


/* 個別
-------------------------------------------------- */

@media print, screen and (min-width: 768px) {
    .card_year .card_year_col._col2_1[data-year="1953"]{
        margin-top: 148px;
    }
    .card_year .card_year_col._col2_1[data-year="1962"],
    .card_year .card_year_col._col2_1[data-year="1976"],
    .card_year .card_year_col._col2_1[data-year="1978"]{
        margin-top: 128px;
    }
    .card_year .card_year_col._col2_1[data-year="1982"],
    .card_year .card_year_col._col2_1[data-year="1993"]{
        margin-top: 160px;
    }
    .card_year .card_year_col._col2_1[data-year="2002"],
    .card_year .card_year_col._col2_1[data-year="2011"],
    .card_year .card_year_col._col2_1[data-year="2021"]{
        margin-top: 160px;
    }
}

@media screen and (max-width:767px) {
    .card_year .card_year_col._col2_1[data-year="1952"]{
        margin-top: 54px;
    }
}

/* まだれに黄 */
.hiro{
    font-family: 'Microsoft YaHei';
}