@charset "UTF-8";

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px) {
    body {
        font-size: 14px;
    }
}

/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px) {
    body {
        font-size: 12px;
    }
}

/*---layout---*/
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.wrap-common,
.inner-common {
    width: 100%;
    max-width: 988px;
    margin: auto;
}

.pc {
    display: block;
}

/*width 1024pxまで表示*/
.tablet {
    display: block;
}

/*width 896pxまで表示*/
.sp {
    display: none;
}

/*width 896pxから表示*/
.sp_610 {
    display: none;
}

/*width 610pxから表示*/
.sp_v {
    display: none;
}

/*スマホ縦 width 480pxから表示*/

.hide-over {
    overflow: hidden;
}

/*==== tablet タブレット用css ===*/
@media screen and (max-width: 1024px) {
    .wrap-common {
        width: 90%;
        max-width: none;
        margin: 0 auto;
    }

    .pc {
        display: none;
    }

}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px) {
    .tablet {
        display: none;
    }

    .sp {
        display: block;
    }

}

/*==== mobile スマフォ大きめcss ===*/
@media screen and (max-width: 610px) {

    .sp_610 {
        display: block;
    }

    /*width 610pxから表示*/
}

/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px) {
    .sp_v {
        display: block;
    }
}


/*---Flex---*/
.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex.align-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#history{
    padding-top: 100px;
}
#history > h3{
    text-align: center;
}
#history > h3 img {
	width: 760px;
}
#parallax {
	background-color: #EADDCA;
    padding: 100px 0 150px;
    position: relative;
}

#history .anchor{
    margin-top: -120px;
    padding-top: 120px;
}

@media screen and (max-width: 480px){
	#history > h3 img {
		width: 100%;
	}
}

/*---背景色---*/
#p2,#p4,#p5,#p6{
    position: relative;
}
#p2:before,
#p4:before,
#p5:before,
#p6:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#p4:before{
    background: #eae5ca;
}

#p5:before,#p6:before{
    background: #e3f0dc;
}


/*---根っこ---*/
#parallax:before,
#parallax:after{
    content: "";
    width: 100%;
    height: 148px;
    background: url("../img/top/history_root.png") no-repeat center top;
    background-size: contain;

    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    margin: auto;
}
#parallax:before{
    top: 30px;
    z-index: 2;
}
#parallax:after{
    bottom: 0;
}
#history .root{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    margin: auto;
    width: 29px;
    height: 0;
    transition: all 300ms 0s ease;
}
#history .root span{
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}
#history .root span.r1,
#history .root span.r2{
    background: #81511c;
    width: 4px;
}
#history .root span.r3{
    background: #108b00;
    width: 6px;
}
#history .root span.r1{
    left: -30px;
}
#history .root span.r2{
    right: -30px;
}
/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px){
    #parallax:before{
        top: 10px;
    }
    #history .root{
        width: 14px;
    }
    #history .root span.r1 {
        left: -14px;
    }
    #history .root span.r2 {
        right: -14px;
    }
    #history .root span.r1,
    #history .root span.r2 {
        width: 2px;
    }
    #history .root span.r3 {
        width: 4px;
    }
}


/*---代表アイコン---*/
#history .top-message{
    width: 100px;
    max-width: 98px;
    height: 100%;
    position: absolute;
    top: 120px;
    left: -140px;
    text-align: center;
}
.block-top-message{
    position: relative;
}
#history .top-message-line{
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    z-index: 1;
    margin: auto;
    width: 65%;
    max-width: 1020px;
    height: 99.5%;
}
#history .top-message-line:before{
    content: "";
    width: 1px;
    height: 100%;
    background: #434343;
    position: absolute;
    top: 0;
    left: -90px;
    right: 0;
    z-index: -1;
    margin: 0 auto 0 0;
}
#history .top-message .ico{
    position: relative;
    z-index: 1;

    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
#history .top-message .ico p{
    background: #108b00;
    color: #fff;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
}
/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #history .top-message{
        display: none;
        top: 0;
        left: -115px;
    }
    #history .top-message-line{
        display: none;
        top: 100px;
    }
    #history .top-message-line:before{
        left: -67px;
    }
}
/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px){
    #history .top-message{
        display: none;
    }
}

/*---時代ページャー---*/
#history .list-age{
    width: 200px;
    position: absolute;
    right: 10px;
    z-index: 10;
}
#history .list-age ul{
    text-align: right;
    position: relative;
}
#history .list-age ul:before{
    content: "";
    width: 2px;
    height: 85%;
    background: #108b00;

    position: absolute;
    top: 0;
    bottom: 0;
    right: 16px;
    margin: auto;
}
#history .list-age li{
    height: 34px;
    margin-bottom: 10px;
}
#history .list-age a:after{
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 34px;
    height: 34px;
    margin: 0 0 0 auto;
    background-image: url("../img/top/list_age_ico.png");
    background-repeat: no-repeat;
    background-position: center;

    position: relative;
    z-index: 2;

    margin-left: 10px;
}
#history .list-age .active a:after,
#history .list-age .active a:hover:after{
    background-image: url("../img/top/list_age_ico_active.png");
}

#history .list-age a:hover:after{
    background-image: url("../img/top/list_age_ico_hover.png");
}

#history .list-age p{
    display: none;
    position: relative;
}
#history .list-age .active p,
#history .list-age a:hover p{
    display: inline-block;
}
#history .list-age p:after{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #108b00;

    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    margin: auto;
}
#history .list-age span{
    display: inline-block;
    background: #108b00;
    font-size: 12px;
    color: #fff;

    padding: 3px 8px;
}
/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #history .list-age{
        display: none;
    }
}

/*---時代ページャー スマホ用---*/
.sp-list-age{
    width: 90%;
    background: #108b00;
    font-size: 14px;
    color: #fff;
    margin: 20px auto;
    padding: 5px 8px;
    position: relative;
    z-index: 1;
}



/*---沿革ボックスー---*/
.block-history{
    width: 65%;
    max-width: 1020px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.block-history .item{
    float: left;
    width: 50%;
    /*max-width: 538px;*/
    text-align: left;
}

.block-history .year{
    font-size: 34px;
    font-weight: bold;
    color: #108b00;
    position: relative;
}
.block-history .year:after{
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background: #108b00;

    position: absolute;
    bottom: 0;
    right: 0;

    transition: all 1000ms 0s ease;
}
.block-history .is-animation .year:after,
.block-history .is-animation.year:after{
    width: 100%;
}
.block-history .year small{
    font-size: 20px;
}
.block-history .memo{
    width: 85%;
    /*max-width: 330px;*/
}
.block-history .memo img{
    margin: 10px 0;
}
.block-history .ttl{
    line-height: 1.5;
    font-size: 24px;
    font-weight: bold;
    text-indent: -.8em;
    padding-left: .8em;
    margin: 20px 0 10px;
}
.block-history .ttl:before{
    content: "●";
    color: #108b00;
    margin-right: 5px;
}
/*==== tablet タブレット用css ===*/
@media screen and (max-width: 1024px){
	.block-history .ttl{
        font-size: 22px;
    }
    .block-history .year{
        font-size: 30px;
    }
    .block-history .year small{
        font-size: 16px;
    }
}
/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    .block-history .item{
        float: none;
        clear: both;
        width: 100%;
        margin-bottom: 30px;
        padding: 15px;
        background: rgba(255,255,255,.9);
    }
    .block-history .memo{
        width: 100%;
    }
    .block-history .ttl{
        font-size: 20px;
    }
    .block-history .year{
        font-size: 28px;
    }
    .block-history .year small{
        font-size: 14px;
    }
}
/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    .block-history {
        width: 90%;
    }
}



/*---出来事イラスト---*/
.block-history .event{
    float: left;
    width: 50%;
    padding: 0 15px 0 0;
    text-align: right;
    position: relative;
}
.block-history .item .event{
    width: 100%;
}

.block-history .event .inner{
    position: relative;
}

.block-history .event .illust{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.block-history .event svg {
    width: 100%;
    height: auto;

    will-change: transform;
}
.block-history .event .none{
    visibility: hidden;
    opacity: 0;
    width: 100%;
}
.block-history .event .none img{
    width: 100%;
}

.block-history .event p{
    text-align: center;
    margin-top: 10px;
}
.block-history .event.right{
    float: right;
    padding: 0 0 0 15px;
    text-align: left;
}
/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    .block-history .event p{
        font-size: 12px;
        padding: 0 5px;
    }
}
/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px){
    .block-history .event{
        padding: 0 6px 0 0;
    }
    .block-history .event.right{
        padding: 0 0 0 6px;
    }
}


/*右側のitemの時*/
.block-history .item.right{
    float: right;
    text-align: right;
    /*padding-top: 450px;*/
}
.block-history .right .year:after{
    right: auto;
    left: 0;
}
.block-history .right .memo{
    text-align: left;
    margin: 0 0 0 auto;
}
/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    .block-history .item.right{
        float: none;
        text-align: left;
    }
    .block-history .right .memo{
        margin: 0;
    }
}


/*---モーダル表示コメント---*/
.btn-comment{
    position: absolute;
    top: -10px;
    right: -10px;
    margin: auto;
    text-align: center;
}

.btn-comment a{
    display: block;
    width: 40px;
    height: 40px;
    -webkit-animation: dokidoki 1.5s infinite;
    animation: dokidoki 1.5s infinite;
}
@-webkit-keyframes dokidoki{
    0% { -webkit-transform: scale(1.3) }
	20% { -webkit-transform: scale(1) }
    50% { -webkit-transform: scale(1) }
	80% { -webkit-transform: scale(1) }
	100% { -webkit-transform: scale(1.3) }
}
@keyframes dokidoki {
	0% { transform: scale(1.3) }
	20% { transform: scale(1) }
    50% { transform: scale(1) }
	80% { transform: scale(1) }
	100% { transform: scale(1.3) }
}
.mfp-bg{
    opacity: 0.6;
}
.mfp-close-btn-in .mfp-close {
    color: #fff;
    background: #e6006c;
    opacity: 1;
    border: solid 2px #fff;
    border-radius: 50%;
    top: -10px;
    right: -10px;
}

.modal-contents{
    width: 65%;
    max-width: 1020px;
    margin: auto;
    position: relative;
}
.modal-contents:before{
    content: "";
    position: absolute;
    top: 50px;
    left: -26px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 26px 35px 0;
    border-color: transparent #fff transparent transparent;
}
.modal-contents p{
    font-size: 18px;
    background: #fff;
    padding: 50px;
    border-radius: 30px;
}
.mfp-content{
    vertical-align: top;
    margin: 110px auto 0;
}
.mfp-content .ico{
    width: 100px;
    max-width: 98px;
    text-align: center;
    position: absolute;
    top: 0;
    left: -148px;
}
.mfp-content .ico span{
    display: block;
    background: #108b00;
    color: #fff;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 6px;
}

/*アニメーション*/
.my-mfp-zoom .zoom-dialog {
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}
.my-mfp-zoom.mfp-ready .zoom-dialog {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.my-mfp-zoom.mfp-removing .zoom-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
}

.my-mfp-zoom.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}
.my-mfp-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}
.my-mfp-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    .btn-comment{
        top: 0;
        right: -5px;
        z-index: 1;
    }
    .mfp-content .ico{
        left: -115px;
    }
    .mfp-content{
        vertical-align: middle;
        margin: auto;
    }
    .modal-contents{
        width: 90%;
    }
    .modal-contents:before{
        display: none;
    }
    .modal-contents p {
        font-size: 14px;
        padding: 150px 30px 30px;
    }
    .mfp-content .ico{
        top: 20px;
        left: 0;
        right: 0;
        margin: auto;
    }
}


/*-----------------------------
 創業前
-----------------------------*/
#p0 .block-history .event:nth-child(1){
    padding-top: 90px;
}
/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px){
    #p0 .block-history .event:nth-child(1){
        padding-top: 0;
    }
}

/*-----------------------------
 創業薬局　時代
-----------------------------*/
#p1 .block-history .item:nth-child(1){
    padding: 110px 0 40px;
}
#p1 .block-history .item:nth-child(2){
    padding: 190px 0;
}
#p1 .block-history .event:nth-child(3){
    padding-bottom: 40px;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #p1 .block-history .item:nth-child(1),
    #p1 .block-history .item:nth-child(2){
        padding: 15px;
    }
    #p1 .block-history .event:nth-child(3){
        padding-top: 20px;
        padding-bottom: 20px;
    }
}


/*-----------------------------
 農業界参入　時代
-----------------------------*/
#p2 .block-history .item:nth-child(1){
    padding: 110px 0 0;
}
#p2 .block-history .event:nth-child(2){
    clear: both;
    padding-top: 40px;
    padding-bottom: 250px;
}
#p2 .block-history .item:nth-child(4){
    padding-bottom: 40px;
}

#p2 .top-message{
    z-index: -1;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #p2 .block-history .item:nth-child(1),
    #p2 .block-history .item:nth-child(3),
    #p2 .block-history .item:nth-child(4){
        padding: 15px;
    }
    #p2 .block-history .event:nth-child(2){
        padding-top: 40px;
        padding-bottom: 50px;
    }
}


/*-----------------------------
 1945〜1955　時代
-----------------------------*/
#p3 .block-history .event:nth-child(1){
    padding-top: 40px;
    padding-bottom: 470px;
}
#p3 .block-history .item:nth-child(2){
    padding-top: 280px;
}
#p3 .block-history .event:nth-child(3){
    padding-top: 40px;
    padding-bottom: 40px;
}
/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #p3 .block-history .event:nth-child(1){
        padding-top: 0;
        padding-bottom: 40px;
    }
    #p3 .block-history .item:nth-child(2){
        padding: 15px;
    }
    #p3 .block-history .event:nth-child(3) {
        padding-top: 20px;
        padding-bottom: 40px;
    }
}


/*-----------------------------
 農材・ハウス　時代
-----------------------------*/
#p4 .block-history .item:nth-child(1){
    padding: 110px 0 40px;
}
#p4 .block-history .item:nth-child(2){
    padding: 130px 0 36px;
}
#p4 .block-history .event:nth-child(3){
    padding-bottom: 40px;
}
#p4 .block-history .item:nth-child(4){
    padding: 130px 0 120px;
}
#p4 .block-history .item:nth-child(5){
    padding-bottom: 110px;
}
#p4 .block-history .item:nth-child(6){
    padding-bottom: 160px;
}
#p4 .block-history .event:nth-child(7){
    padding-bottom: 40px;
}
#p4 .block-history .event:nth-child(8){
    padding-bottom: 160px;
}
#p4 .block-history .event:nth-child(9){
    clear: both;
    padding-top: 40px;
    padding-bottom: 160px;
}
#p4 .block-history .event:nth-child(10){
    padding-bottom: 40px;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #p4 .block-history .item:nth-child(1),
    #p4 .block-history .item:nth-child(2),
    #p4 .block-history .item:nth-child(4),
    #p4 .block-history .item:nth-child(5),
    #p4 .block-history .item:nth-child(6){
        padding: 15px;
    }
    #p4 .block-history .event:nth-child(3){
        padding-bottom: 20px;
    }
    #p4 .block-history .event:nth-child(8){
        clear: both;
        padding-bottom: 40px;
    }
}
/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px){
    #p4 .block-history .event:nth-child(9) {
        padding-bottom: 40px;
    }
}




/*-----------------------------
 ホームセンター事業　時代
-----------------------------*/
#p5 .block-history .item:nth-child(1){
    padding: 110px 0 210px;
}
#p5 .block-history .item:nth-child(2){
    padding: 190px 0 40px;
}
#p5 .block-history .item:nth-child(3){
    padding-top: 110px;
}
#p5 .block-history .item:nth-child(4){
    padding-bottom: 30px;
}
#p5 .block-history .item:nth-child(5){
    padding-bottom: 30px;
}
#p5 .block-history .item.trg-comment{
    position: relative;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #p5 .block-history .item:nth-child(1),
    #p5 .block-history .item:nth-child(2),
    #p5 .block-history .item:nth-child(3),
    #p5 .block-history .item:nth-child(4),
    #p5 .block-history .item:nth-child(5){
        padding: 15px;
    }
}


/*-----------------------------
 2005〜　時代
-----------------------------*/
#p6 .block-history .item{
    padding-bottom: 40px;
}
#p6-1.block-history .item:nth-child(1){
    padding: 110px 0 0;
}
#p6-1.block-history .event:nth-child(2){
    clear: both;
    padding-bottom: 110px;
}


#p6-1.block-history .item:nth-child(7){
    padding-bottom: 160px;
}
#p6-1.block-history .item:nth-child(8){
    padding-bottom: 310px;
}

#p6-2.block-history .item:nth-child(1){
    padding-top: 110px;
}
#p6-2.block-history .item:nth-child(2){
    padding-top: 150px;
}
#p6-2.block-history .item:nth-child(4){
    padding-bottom: 50px;
    padding-top:100px;
}
#p6-2.block-history .event:nth-child(5){

    padding-bottom: 100px;
}

#p6-2.block-history .item:nth-child(8){
    padding-top: 60px;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #p6 .block-history .item{
        padding-bottom: 15px;
    }
    #p6-1.block-history .item:nth-child(1),
    #p6-1.block-history .item:nth-child(6),
    #p6-1.block-history .item:nth-child(7),
    #p6-1.block-history .item:nth-child(8),
    #p6-2.block-history .item:nth-child(1),
    #p6-2.block-history .item:nth-child(2),
    #p6-2.block-history .item:nth-child(3),
    #p6-2.block-history .item:nth-child(4){
        padding: 15px;
    }
    #p6-1.block-history .event:nth-child(2){
        padding-top: 30px;
        padding-bottom: 30px;
    }
    #p6-2.block-history .event:nth-child(5) {
        padding-bottom: 20px;
    }
    #p6-2.block-history .event:nth-child(7) {
        padding-bottom: 20px;
    }
}


/*-----------------------------
 2020
-----------------------------*/
.p2020 {
    background-color: #EADDCA;
    padding-top: 50px;
}
.p2020 p{
    width: 50%;
    position: relative;
    z-index: 1;
    margin: 0 auto -5%;
}
.p2020 .bg img{
    width: 100%;
}
/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px){
    .p2020 {
        padding-top: 0;
    }
}






/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
    #p1, #p2, #p3, #p4, #p5, #p6{
        padding-top: 20px;
    }
}


/*==== tablet タブレット用css ===*/
@media screen and (max-width: 1024px){

}
/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 896px){
}
/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px){
}



/*出現アニメーション*/
/*フェードイン*/
.js-scroll-fade {
    opacity: 0;
    transform: translate(0, 30px);
	-webkit-transform:all 1s cubic-bezier(0.155, 0.910, 0.695, 0.950);
    transition: all 1s cubic-bezier(0.155, 0.910, 0.695, 0.950);
}
.js-scroll-fade.is-animation {
	opacity: 1;
	transform: translate(0, 0);
}

/*右から*/
.js-left{
	opacity: 0;
    transform: translate(-10px, 0);
	-webkit-transform:all 1s cubic-bezier(0.155, 0.910, 0.695, 0.950);
    transition: all 1s cubic-bezier(0.155, 0.910, 0.695, 0.950);
}
.js-left.is-animation {
	opacity: 1;
	transform: translate(0, 0);
}



/*左から*/
.js-right{
	opacity: 0;
    transform: translate(10px, 0);
	-webkit-transform:all 1s cubic-bezier(0.155, 0.910, 0.695, 0.950);
    transition: all 1s cubic-bezier(0.155, 0.910, 0.695, 0.950);
}
.js-right.is-animation {
    opacity: 1;
    transform: translate(0, 0);
}