@charset "utf-8"; /***** TOP CAROUCCEL *****/ .top_caroucel { position: relative; width: 100%; } .top_caroucel:before { content: ''; display: block; padding-top: 20.833333333333333%; } .caroucel_sptab { display: none; } .top_caroucel>article { position: absolute; widtH: 100%; height: 100%; top: 0; left: 0; bottom: 0; right: 0; } .top_caroucel>article>div { position: absolute; widtH: 100%; height: 100%; } /* BG */ .top_caroucel>article>.bg img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; } /* UPPER */ .top_caroucel>article>.up>.mask>div { display: flex; justify-content: center; align-items: center; } .top_caroucel .title { color: #fff; font-weight: bold; font-size: 48px; line-height: 1.3em; text-shadow: 1px 2px 3px #5f5f5f; } .top_caroucel .txt { color: #fff; font-weight: bold; font-size: 16px; line-height: 1.7em; text-shadow: 1px 2px 3px #5f5f5f; margin-top: 1.5em; } @media screen and (max-width: 767px) { } /* MASK */ .top_caroucel>article .mask { position: absolute; left: 0; top: 0; overflow: hidden; width: 0; height: 100%; } .top_caroucel>article .in { left: 0; width: 100%; } .top_caroucel>article .in { left: 0; width: 100vw; } .top_caroucel>article .in_l { left: 0; right: auto; width: 100%; transition: width .5s cubic-bezier(0.65, 0.05, 0.36, 1); } .top_caroucel>article .in_l>div { left: 0; right: auto; width: 100vw; } .top_caroucel>article .in_r { left: auto; right: 0; width: 100%; transition: width .5s cubic-bezier(0.65, 0.05, 0.36, 1); } .top_caroucel>article .in_r>div { left: auto; right: 0; } .top_caroucel>article>div .mask>div { position: absolute; width: 100vw; height: 100%; } /* Button, Pager */ .top_caroucel .prev, .top_caroucel .next { position: absolute; top: 0; bottom: 0; z-index: 10; background-color:rgba(255,255,255,0.4); width: 42px; height: 120px; transition: .2s; margin: auto; cursor: pointer; } .top_caroucel .prev:hover, .top_caroucel .next:hover{ background-color:rgba(255,255,255,0.8); } .top_caroucel .prev:before, .top_caroucel .next:before{ font-family: "Font Awesome 5 Free"; content: "\f054"; font-weight: 900; width: 0.7em; height: 1em; display: inline-block; color: #096EAA; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; } .top_caroucel .prev:before{ transform: rotate(180deg); } .top_caroucel .prev { left: 0; border-radius: 0 10px 10px 0; } .top_caroucel .next { right: 0; border-radius: 10px 0 0 10px; } .top_caroucel .prev img, .top_caroucel .next img { width: auto; height: 100%; cursor: pointer; } .top_caroucel .pager { position: absolute; bottom: 20px; z-index: 10; text-align: center; width: 100%; } .top_caroucel .pager span { color: #7B7A7A; cursor: pointer; font-size: 14px; margin: 0 0.3em; } .top_caroucel .pager span.on { color: #CECECE; } .auto_online, .zero_carbon{ display: flex; align-items: center; justify-content: space-between; max-width: 1500px; padding: 0 20px; margin: 0 auto; } .auto_online .text{ width: 40%; } .auto_online .photo{ width: 55%; } .sliderBtn{ background: #096EAA; color: #fff; border-radius: 10px; text-align: center; margin-top: 20px; padding: 1em; width: 12em; display: block; margin: 2em auto 0; font-weight: bold; transition: 0.2s; position: relative; line-height: 1em; } .sliderBtn:before { margin-right: 0.5em; font-family: "Font Awesome 5 Free"; content: "\f054"; font-weight: 900; display: inline-block; color: #fff; position: absolute; top: 0; right: 0.5em; margin: auto; bottom: 0; width: 1em; height: 1em; line-height: 1em; } .sliderBtn:hover{ background: #005283; } .zero_carbon{ max-width: 1000px; } .zero_carbon .text{ width: 70%; color: #fff; line-height: 1.7em; } .zero_carbon .text > img{ display: block; width: 60%; margin: 0 auto 1.5em; } .zero_carbon .logo{ width: 20%; } @media (max-width: 1700px) { .auto_online{ width: 88vw; } } @media (max-width: 1299px) { .top_caroucel .title{ font-size: 3.69vw; } .top_caroucel .txt{ margin-top: 0.5em; } .sliderBtn, .zero_carbon .text{ font-size: 1.23vw; } .sliderBtn{ margin-top: 1em; } .zero_carbon{ width: 77vw; } } @media (min-width: 601px) and (max-width: 959.5px) { .top_caroucel:before { padding-top: 50vh; } .caroucel_pc { display: none; } .caroucel_sptab { display: block; } } @media (max-width: 959.5px){ .auto_online, .zero_carbon{ flex-flow: column; max-width: 70%; } .auto_online .text{ width: 80%; } .auto_online .photo{ margin-top: 8%; width: auto; } .zero_carbon .text{ font-size: 14px; } .zero_carbon .logo{ margin-top: 7%; width: 35%; } .sliderBtn{ font-size: 14px; margin-top: 7%; } .zero_carbon .sliderBtn{ margin-top: 4%; } .zero_carbon .text{ width: auto; } } @media (max-width: 600px) { .top_caroucel:before { padding-top: 50vh; } .caroucel_pc { display: none; } .caroucel_sptab { display: block; } .top_caroucel > article .mask > div > div{ width: 85% !important; } .top_caroucel .prev, .top_caroucel .next{ width: 7vw; height: 15vw; top: auto; z-index: 100; } .top_caroucel .title { font-size: 25px; } .top_caroucel .txt { margin-top: 1em; font-size: 12px; } .top_caroucel > article .mask > div > div.auto_online{ max-width: none; width: 90% !important; } .top_caroucel > article .mask > div > div.zero_carbon { width: auto !important; max-width: none; } .zero_carbon .text { font-size: 12px; } .sliderBtn { font-size: 12px; } }