﻿ /* layout */
html {
	overflow-y: scroll;
    overscroll-behavior-y: none!important;
}
body {
	overflow-x: hidden;
    overscroll-behavior-y: none!important;
    /* height: 820vw; */
}
#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 */
.story-wrap {
    position: relative;
}
.story-wrap .dynamic-bg {
    transition: background-color .5s ease-in-out;
}
.story-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;
}
.story-wrap .story_section_01 {
    left: 0;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/01_pc.jpg); */
}
.story-wrap .story_section_02 {
    left: 100vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/02_pc.jpg); */
}
.story-wrap .story_section_03 {
    left: 200vw;
}
.story-wrap .story_section_04 {
    left: 300vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/03_pc.jpg); */
}
.story-wrap .story_section_05 {
    left: 400vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/04_pc.jpg); */
}
.story-wrap .story_section_06 {
    left: 520vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/05_pc.jpg); */
}
.story-wrap .story_section_07 {
    left: 620vw;
    /* background-image: url(/data/skin/front/dalba2/img/story/truffle/06_pc.jpg); */
}
.story-wrap .story_section_08 {
    left: 720vw;
    /* 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;
    }
    .story-wrap .section {
        position: relative !important;
        left: 0;
        float: initial;
    }
    .story-wrap .story_section_01,
    .story-wrap .story_section_02,
    .story-wrap .story_section_03,
    .story-wrap .story_section_04,
    .story-wrap .story_section_05,
    .story-wrap .story_section_06,
    .story-wrap .story_section_07,
    .story-wrap .story_section_08 {
        position: relative;
        left: 0;
    }
    
}



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

}
.story-wrap .section .btn_learnmore img {
    vertical-align: middle;
    width: 20px;
}




/* .bodywhite .story-wrap .section h6,
.bodywhite .story-wrap .section h1,
.bodywhite .story-wrap .section .btn_learnmore span {
    color: #000;
} */

.story-wrap .story_section_02 h1,
.story-wrap .story_section_05 h1,
.story-wrap .story_section_02 h6,
.story-wrap .story_section_04 h6,
.story-wrap .story_section_07 h6,
.story-wrap .story_section_07 .btn_learnmore span {
    color: #000;
}
.story_section_01 .parallax_target {
    opacity: 1 !important;
}
.story-wrap .story_section_02 .vertical_m .inlineblock img {
    width: 70%;
}
.story-wrap .story_section_05 .vertical_m .per_70 img {
    width: 33%;
    display: inline-block;
    padding-right: 5%;
    opacity: 0;
}
.story-wrap .story_section_05 {
    min-width: 120%;
}

.story-wrap .story_section_06 {
    background-color: #111;
    background-size: 20%;
    background-position: 70% 50%;
}

.story-wrap .story_section_07 .vertical_m .per_70 img {
    width: 60%;
}


.story-wrap .story_section_08 {
    text-align: center;
    padding: 0;
}
.story-wrap .story_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;
}
.story-wrap .story_section_08 .title p.extra_txt {
    margin-top: 15px;
    color: var(--dalba-main);
}
.story-wrap .story_section_08 .title p.h6_txt {
    line-height: 1.5em;
    font-weight: 400 !important;
}
.story-wrap .story_section_08 .vertical_m_wrap .title {
    /* opacity: 0;
    transition: opacity 1s; */
}
.story-wrap .story_section_08 .vertical_m_wrap.active .title {
    /* opacity: 1; */
}


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

.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; */
}

@media screen and (max-width: 900px) {
    .section .parallax_target {
        transition: all 0.5s;
    }
    .section .viewport_parallax_box {
        height: 35%;
        top: initial;
        bottom: 0;
    }
    .story-wrap .viewport_box {
        height: 35%;
        top: initial;
        bottom: 0;
    }
    .section .parallax_target {
        transform: none;
    }
    .vertical_m {
        text-align: center;
    }
    .story_section_02 .vertical_m {
        vertical-align: top;
    }
    .story_section_02 .vertical_m .inlineblock {
        width: 100%;
        text-align: left;
    }
    .story_section_02 .vertical_m .inlineblock:first-child {
        margin: 60px 0 40px 0;
    }
    .story_section_02 .vertical_m .inlineblock img {
        width: 70%;
    }
    .story_section_03 .vertical_m {
        vertical-align: top;
    }
    .story_section_03 .vertical_m .inlineblock {
        width: 100%;
        text-align: left;
    }
    .story_section_03 .vertical_m .inlineblock:first-child {
        margin: 60px 0 40px 0;
    }
    .story_section_03 .vertical_m .inlineblock img {
        /* width: 70%; */
    }
    .story-wrap .story_section_03 p.normal_txt {
        margin: 40px 0 0 0;
    }
    .story_section_04 .vertical_m {
        vertical-align: top;
        text-align: left;
    }
    .story-wrap .story_section_04 h6 {
        margin: 60px 0 0 0;
    }
    .story-wrap .story_section_05 .vertical_m .inlineblock {
        width: 100%;
    }
    .story-wrap .story_section_05 .vertical_m .inlineblock:first-child {
        margin: 60px 0 40px 0;
        text-align: left;
    }
    .story-wrap .story_section_05 .vertical_m .inlineblock:last-child {
        margin: 0 0 60px 0;
    }
    .story-wrap .story_section_05 {
        min-width: 100%;
        height: auto;
    }
    .story-wrap .story_section_05 .viewport_parallax_box {
        height: 60%;
    }
    .story-wrap .story_section_05 .vertical_m .per_70 img {
        width: 100%;
    }
    .story-wrap .story_section_05 .vertical_m .per_70 img:nth-child(2n-1) {
        padding: 0 0 0 30%;
    }
    .story-wrap .story_section_05 .vertical_m .per_70 img:nth-child(2n) {
        padding: 0 30% 0 0;
    }
    .story-wrap .story_section_06 .vertical_m {
        vertical-align: top;
    }
    .story-wrap .story_section_06 .vertical_m .inlineblock {
        margin: 60px 0 0 0;
        text-align: left;
    }
    .story-wrap .story_section_06 {
        background-size: 75%;
        background-position: center right 30px;
    }
    .story-wrap .story_section_07 .vertical_m {
        vertical-align: top;
    }
    .story-wrap .story_section_07 .vertical_m .inlineblock {
        width: 100%;
    }
    .story-wrap .story_section_07 .vertical_m .inlineblock:first-child {
        text-align: left;
        margin: 60px 0 0 0;
    }
    .story-wrap .story_section_07 .vertical_m .inlineblock:last-child {
        position: absolute;
        bottom: 60px;
        right: -25%;

    }
    .story-wrap .story_section_07 .vertical_m .inlineblock:last-child img {
        width: 100%;
    }
}