﻿/* layout */
html {
	overflow-y: scroll;
    overscroll-behavior-y: none!important;
}
body {
	overflow-x: hidden;
    overscroll-behavior-y: none!important;
    /* height: 800vh; */
}
#container {
    height: 100vh;
}
#content {
	z-index: 4;
	position: fixed;
	padding: 0 10px;
	line-height: 1.7;
    width: 100%;
}
#footer_wrap {
    display: none;
}

/* vertical middle */
.vertical_m_wrap {
    position: relative;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    overflow: visible !important;
    vertical-align: middle;
    font-size: 0;
}
.vertical_m_wrap::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0px;
}
.vertical_m {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}
.vertical_m .inlineblock {
    vertical-align: middle;
}

/* common */
.truffle-wrap {
    position: relative;
}
.truffle-wrap .dynamic-bg {
    transition: background-color .5s ease-in-out;
}
.truffle-wrap .section {
    position: absolute;
    min-width: 100%;
    height: 100%;
    height: 100vh;
    top: 0;
    padding: 0 10%;
    box-sizing: border-box;
    display: block;
    float: left;    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}
.truffle-wrap .truffle_section_01 {
    left: 0;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/01_pc.jpg); */
}
.truffle-wrap .truffle_section_02 {
    left: 100vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/02_pc.jpg); */
}
.truffle-wrap .truffle_section_03 {
    left: 200vw;
}
.truffle-wrap .truffle_section_04 {
    left: 300vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/03_pc.jpg); */
}
.truffle-wrap .truffle_section_05 {
    left: 400vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/04_pc.jpg); */
}
.truffle-wrap .truffle_section_06 {
    left: 500vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/05_pc.jpg); */
}
.truffle-wrap .truffle_section_07 {
    left: 600vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/06_pc.jpg); */
}
.truffle-wrap .truffle_section_08 {
    left: 700vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/07_pc.jpg); */
}



@media screen and (max-width: 900px) {
    html {
        overflow-y: auto;
        overscroll-behavior-y: initial !important;
    }
    body {
        overflow-x: hidden;
        overscroll-behavior-y: initial !important;
        height: auto !important;
    }
    #content {
        position: relative !important;
        padding: 0;
    }
    #container {
        height: auto;
    }
    .truffle-wrap .section {
        position: relative !important;
        left: 0;
        float: initial;
    }
    .truffle-wrap .truffle_section_01,
    .truffle-wrap .truffle_section_02,
    .truffle-wrap .truffle_section_03,
    .truffle-wrap .truffle_section_04,
    .truffle-wrap .truffle_section_05,
    .truffle-wrap .truffle_section_06,
    .truffle-wrap .truffle_section_07,
    .truffle-wrap .truffle_section_08 {
        position: relative;
        left: 0;
    }
    
}



/* type */
.truffle-wrap .section p {
    /* color: var(--dalba-main); */
}
.truffle-wrap .section h1 {
    line-height: 1.05;
}
.truffle-wrap .section h5 {
    margin: 20px 0;
    line-height: 1.2;
    opacity: 0.95;
}
.truffle-wrap .section h6 {
    margin: 20px 0;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: normal!important;
}
.truffle-wrap .section p.normal_txt {
    margin-bottom: 15px;
    line-height: 1.6;
}
.truffle-wrap .section p.xsmall_txt {
    color: #fff;
    opacity: 0.75;
    margin-bottom: 5px;
    padding-left: 5px;
    position: relative;
}
.truffle-wrap .section p.xsmall_txt::before {
    content: '·';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
}
.truffle-wrap .section .btn_learnmore {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    transition: all .4s;
    opacity: 1;
    margin: 40px 0 0;
    
}
.truffle-wrap .section .btn_learnmore:hover {
    opacity: 0.7;
}
.truffle-wrap .section .btn_learnmore span { 
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    color: #fff;
}
.truffle-wrap .section .btn_learnmore img {
    vertical-align: middle;
    width: 20px;
}

/* section2 */
.truffle-wrap .truffle_section_02 .title {
    width: 30%;
    padding-right: 60px;
}



.truffle-wrap .chart-left {
    margin-bottom: 10%;
}
.truffle-wrap .animate_chart {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: right;
}   
.truffle-wrap .animate_chart::after {
    border-bottom: 1px solid #d5ae6b;
    display: block;
    content: '';
    width: 100%;
    position: absolute;
    bottom: 48px;
}
.truffle-wrap .animate_chart .chart_type01 {
    width: 50%;
    text-align: center;
    display: inline-block
}
.truffle-wrap .truffle_section_06 .vertical_m.clearfix {
    position: relative;
}
.truffle-wrap .animate_chart .chart_type01 li {
    position: relative;
    text-align: center;
    vertical-align: bottom;
    
}
.truffle-wrap .animate_chart .chart_type01 .chart_fill {
    display: inline-block;
    width: 80px;
    height: 100px;
    opacity: 0;
    vertical-align: bottom;
    background-color: #E0C389;
    position: relative;
    transition: all .6s;
}
.truffle-wrap .animate_chart .chart_type01 .chart_fill::after {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-size: 50px;
    display: block;
    transition: all 1s;
    opacity: 0;
}
.truffle-wrap .animate_chart .chart_type01 li:first-child .chart_fill::after {
    content: '340%';
    top: -100px;
}
.truffle-wrap .animate_chart.active .chart_type01 li:first-child .chart_fill::after {
    opacity: 1;
}   
.truffle-wrap .animate_chart.active .chart_type01 li:first-child .chart_fill {
    height: 200px;
    opacity: 1;
}
.truffle-wrap .animate_chart .chart_type01 li:last-child .chart_fill::after {
    content: '569%';
    top: -100px;
}
.truffle-wrap .animate_chart.active .chart_type01 li:last-child .chart_fill::after {
    opacity: 1;
}
.truffle-wrap .animate_chart.active .chart_type01 li:last-child .chart_fill {
    height: 450px;
    opacity: 1;
}

.truffle-wrap .animate_chart .chart_type01 p.normal_txt {
    margin-top: 10px;
}
.truffle-wrap .animate_chart .chart_type01 .percent_number {
    position: absolute;
    top: 0;

}
.truffle-wrap .viewport_box {
    position: absolute;
    height: 100%;
    width: 20%;
    right: 0;
    top: 0;
}

.truffle-wrap .truffle_section_08 {
    text-align: center;
}
.truffle-wrap .truffle_section_08 .title p.extra_txt::before {
    display: block;
    content: '';
    width: 100%;
    height: 1px;
    background-image: url('../../img/line_white_truffle.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    padding-top: 6px;
    max-width: 180px;
    margin: 0 auto;
}
.truffle-wrap .truffle_section_08 .title p.extra_txt {
    margin-top: 15px;
    color: var(--dalba-main);
}
.truffle-wrap .truffle_section_08 .title p.h6_txt {
    line-height: 1.5em;
    font-weight: 400 !important;
}
.truffle-wrap .truffle_section_08 .vertical_m_wrap .title {
    opacity: 0;
    transition: opacity 1s;
}
.truffle-wrap .truffle_section_08 .vertical_m_wrap.active .title {
    opacity: 1;
}

.section .viewport_parallax_box {
    position: absolute;
    height: 100%;
    width: 50%;
    right: 0;
    top: 0;
}

.section .parallax_target {
    opacity: 0;
    transition: all 0.2s;
    transform: translate3d(100px, 0px, 0px);
    /* margin-left: 200px; */
}
.section.truffle_section_01 .parallax_target {
    opacity: 1;
}

@media screen and (max-width: 900px) {
    .section .parallax_target {
        transition: all 0.5s;
    }
    .section .viewport_parallax_box {
        height: 35%;
        top: initial;
        bottom: 0;
    }
    .truffle-wrap .viewport_box {
        height: 35%;
        top: initial;
        bottom: 0;
    }
    .section .parallax_target {
        transform: none;
    }
    .vertical_m {
        text-align: center;
    }
    .truffle-wrap .truffle_section_01 h5 {
        display: none
    }
    .truffle-wrap .truffle_section_02 .title {
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }
    .truffle-wrap .truffle_section_03 .vertical_m .inlineblock {
        width: 100%;
    }
    .truffle-wrap .truffle_section_03 .vertical_m_wrap {
        text-align: center;
    }
    .truffle-wrap .truffle_section_03 .vertical_m {
        width: 80%;
    }
    .truffle-wrap .truffle_section_03 p {
        margin-top: 20px;
    }
    .truffle-wrap .truffle_section_04 .vertical_m .inlineblock {
        display: block !important;
        text-align: left;
        width: 80%;
    }
    .truffle-wrap .truffle_section_04 .vertical_m .inlineblock:last-child {
        margin-top: 30px;
    } 
    .truffle-wrap .truffle_section_05 .vertical_m {
        text-align: left;
        vertical-align: top;
        margin-top: 60px;
    }
    .truffle-wrap .truffle_section_05 .vertical_m_wrap {
        vertical-align: top;
    }
    .truffle-wrap .truffle_section_06 .chart-left {
        width: 100% !important;
        margin-top: 40px;
    }
    .truffle-wrap .truffle_section_07 .vertical_m {
        text-align: left;
        vertical-align: top;
        margin-top: 60px;
    }
    .truffle-wrap .truffle_section_06 .vertical_m.clearfix {
        vertical-align: top;
        height: 100%;
    }
    .truffle-wrap .animate_chart .chart_type01 {
        width: 100%;
    }
    .truffle-wrap .truffle_section_06 .animate_chart {
        bottom: 40px;
    }
    .truffle-wrap .animate_chart .chart_type01 li {
        width: 50%;
    }
    .truffle-wrap .animate_chart .chart_type01 .chart_fill {
        width: 60px;
    }
    .truffle-wrap .animate_chart .chart_type01 .chart_fill::after {
        font-size: 30px;
    }
    .truffle-wrap .animate_chart .chart_type01 li:first-child .chart_fill::after {
        top: -60px;
    }
    .truffle-wrap .animate_chart .chart_type01 li:last-child .chart_fill::after {
        top: -60px;
    }
    .truffle-wrap .animate_chart.active .chart_type01 li:first-child .chart_fill {
        height: 100px;
    }
    .truffle-wrap .animate_chart.active .chart_type01 li:last-child .chart_fill {
        height: 180px;
    }
    .truffle-wrap .animate_chart::after {
        bottom: 45px;
    }
    .truffle_section_07.section .per_50 {
        width: 100%;
    }


}

