﻿/*-----------------------------------------------------

    Title :  Opus Hardwood
    Usage :  main styles
    Edited:  2020-08-11

-------------------------------------------------------

    1. reset
    2. font
    3. typography
    4. default
    5. container
    6. skip link
    7. banner
       7.1. logo
       7.2. Site Navigation
    8. main content
       8.1. See it in your room
    9. content info
   10. responsive (1023px)
   11. responsive ( 767px)
   12. responsive ( 567px)

-------------------------------------------------------*/



/*  1. reset
-------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	}

body {
	font-size: 62.5%;
	line-height: 1.2;
	}

h1, h2, h3, h4, h5, h6,
input, select, button, textarea,
small {
	font-size: 100%;
	}

li {
	list-style: none;
	}

img, svg, video, iframe {
	max-width: 100%;
	}

img, fieldset, iframe {
	border-width: 0;
	}

img {
	height: auto;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
	}

input, select, textarea, button {
	color: inherit;
	font-weight: inherit;
	font-family: inherit;
	outline-width: 0;
	box-shadow: none;
	}

textarea {
	-webkit-appearance: none;
	overflow: auto;
	border-radius: 0;
	}

button {
	cursor: pointer;
	overflow: visible;
	}

button::-moz-focus-inner {
	padding: 0;
	border-width: 0;
	}



/*  2. font
-------------------------------------------------------*/










/*  3. typography
-------------------------------------------------------*/

body {
	color: #000;
	font-family: "Noticia Text", "Noto Sans TC", sans-serif;
	}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	font-family: Lato, "Noto Sans TC", sans-serif;
	}

a {
	color: inherit;
	text-decoration: none;
	}

a:hover,
a:focus {
	text-decoration: underline;
	background-color: transparent;
	}



/*  4. default
-------------------------------------------------------*/










/*  5. container
-------------------------------------------------------*/










/*  6. skip link
-------------------------------------------------------*/

#skip {
	position: fixed;
	top: 50%;
	left: 0;
	z-index: 3000;
	margin-top: -20px;
	width: 100%;
	height: 0;
	font-size: 0;
	text-align: center;
	}

#skip > a {
	display: inline-block;
	padding: 8px 14px;
	opacity: 0;
	pointer-events: none;
	color: #555;
	font-size: 20px;
	text-decoration: none;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	}

#skip > a:focus,
#skip > a:active {
	opacity: 1;
	pointer-events: auto;
	text-decoration: none;
	background: #fff;
	}



/*  7. banner
-------------------------------------------------------*/

#banner {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50;
	width: 100%;
	height: 100px;
	transition: background-color 250ms ease-out;
	}

#banner.following {
	background-color: rgba(255, 255, 255, 0.8);
	}



/*  7.1. logo
-------------------------------------------------------*/

#banner > a {
	position: absolute;
	top: 24px;
	left: 50%;
	margin-left: -45px;
	width: 90px;
	height: 110px;
	overflow: hidden;
	text-indent: -5000px;
	}

#banner.following > a {
	height: 53px;
	transition: height 0ms ease-out;
	transition-delay: 250ms;
	}

#banner > a::before,
#banner > a::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 53px;
	background: 0 0 / 90px 110px no-repeat url(../images/opus-logo-vertical-v01.svg);
	}

#banner > a::after {
	top: 66px;
	height: 44px;
	background-position: 0 -66px;
	transition: opacity 250ms ease-out;
	}

#banner.following > a::after {
	opacity: 0;
	}



/*  7.2. Site Navigation
-------------------------------------------------------*/

#banner > button {
	display: none;
	}

#banner nav:not(.mobile-nav) ul {
	display: flex;
	padding: 22px 28px 0;
	}

#banner nav:not(.mobile-nav) li:nth-child(2) {
	margin-right: auto;
	}

#banner nav:not(.mobile-nav) li + li {
	margin-left: 19px;
	}

#banner nav:not(.mobile-nav) li > a {
	display: block;
	padding: 16px 10px;
	color: #6e6658;
	font-size: 18px;
	text-decoration: none;
	border-bottom: 4px solid transparent;
	transition: color 250ms, border-bottom-color 250ms;
	}

#banner nav:not(.mobile-nav) li > a:hover,
#banner nav:not(.mobile-nav) li > a:focus {
	color: #000;
	border-bottom-color: currentColor;
	}

#mobile-nav-overlay {
	opacity: 0;
	}

#banner .mobile-nav {
	display: none;
	}



/*  8. main content
-------------------------------------------------------*/

/*  8.1. See it in your room
-------------------------------------------------------*/

#see-it {
	padding-top: 158px;
	text-align: center;
	}

#see-it > h1 {
	padding: 36px 15px 0;
	font-size: 66px;
	}

#see-it h1 > .w {
	white-space: nowrap;
	}

#see-it h1 > .w::after {
	content: "";
	position: relative;
	top: 4px;
	margin-left: 35px;
	display: inline-block;
	width: 60px;
	height: 47px;
	background: 50% 50% / 100% 100% no-repeat url(../images/icon-ar-room-v02.svg);
	}

#see-it > p {
	margin-bottom: 4px;
	padding: 24px 15px 0;
	font-style: italic;
	font-size: 26px;
	}

#see-it > a {
	display: inline-block;
	margin: 40px 20px 0;
	padding: 18px 20px 20px;
	min-width: 282px;
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	font-family: Lato, "Noto Sans TC", sans-serif;
	text-decoration: none;
	background-color: #000;
	transition: background-color 250ms;
	}

#see-it > a:hover,
#see-it > a:focus {
	background-color: #6e6658;
	}

#see-it > ol {
	counter-reset: steps;
	display: flex;
	justify-content: space-between;
	margin: 24px auto 0;
	padding: 0 15px;
	max-width: 1374px;
	text-align: left;
	}

#see-it ol > li {
	width: calc((100% - 80px) / 3);
	max-width: 364px;
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: -0.009em;
	}

#see-it ol > li:nth-child(2) {
	margin: 0 40px;
	}

#see-it ol > li::before {
	content: counter(steps);
	counter-increment: steps;
	display: block;
	margin-bottom: -3px;
	font-weight: 300;
	font-size: 48px;
	font-family: Lato, "Noto Sans TC", sans-serif;
	}

#see-it > img {
	display: block;
	margin-top: 64px;
	width: 100%;
	}



/*  9. content info
-------------------------------------------------------*/

#contentinfo {
	padding: 78px 15px 99px;
	text-align: center;
	}

#contentinfo ul {
	display: flex;
	justify-content: center;
	color: #6e6658;
	font-size: 14px;
	}

#contentinfo li {
	margin: 0 20px;
	}

#contentinfo > p {
	margin-top: 24px;
	color: #666;
	font-weight: 300;
	font-size: 13px;
	line-height: 1.5;
	font-family: Lato, "Noto Sans TC", sans-serif;
	}



/* 10. responsive (1023px)
-------------------------------------------------------*/

@media (max-width: 1023px) {

/*  7.2. Site Navigation  */

#banner > button {
	position: absolute;
	top: 40px;
	left: 38px;
	display: block;
	width: 25px;
	height: 19px;
	cursor: pointer;
	color: #6e6658;
	font-size: 0;
	background-color: transparent;
	border: solid currentColor;
	border-width: 3px 0;
	transition: color 250ms;
	}

#banner > button:hover,
#banner > button:focus {
	color: #000;
	}

#banner > button::before {
	content: "";
	display: block;
	height: 3px;
	background-color: currentColor;
	transition: background-color 250ms;
	}

#mobile-nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	opacity: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.8);
	transition: opacity 300ms;
	}

#mobile-nav-overlay.accessible {
	opacity: 1;
	pointer-events: auto;
	}

#banner nav:not(.mobile-nav) {
	display: none;
	}

#banner .mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	display: block;
	visibility: hidden;
	padding-top: 62px;
	width: 300px;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	background: rgba(231, 230, 228, 0.96);
	outline-width: 0;
	transform: translateX(-300px);
	transition: transform 300ms;
	}

#banner .mobile-nav.displaying {
	visibility: visible;
	}

#banner .mobile-nav.accessible {
	transform: translateX(0);
	}

#banner .mobile-nav > button {
	position: absolute;
	top: 20px;
	right: 25px;
	width: 31px;
	height: 31px;
	cursor: pointer;
	color: #6e6658;
	font-size: 0;
	background-color: transparent;
	border-width: 0;
	transition: color 250ms, background-color 250ms;
	}

#banner .mobile-nav > button:hover,
#banner .mobile-nav > button:focus {
	color: #000;
	background: rgba(255, 255, 255, 0.3);
	}

#banner .mobile-nav > button::before,
#banner .mobile-nav > button::after {
	content: "";
	position: absolute;
	top: 15px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: currentColor;
	transform: rotate(45deg);
	transition: background-color 250ms;
	}

#banner .mobile-nav > button::after {
	transform: rotate(-45deg);
	}

#banner .mobile-nav li > a {
	display: block;
	padding: 19px;
	cursor: pointer;
	color: #6e6658;
	font-weight: 300;
	font-size: 15px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.14em;
	transition: color 250ms, background-color 250ms;
	}

#banner .mobile-nav li > a:hover,
#banner .mobile-nav li > a:focus {
	color: #000;
	background: rgba(255, 255, 255, 0.3);
	}

}



/* 11. responsive ( 767px)
-------------------------------------------------------*/

@media (max-width:  767px) {

/*  8.1. See it in your room  */

#see-it > ol {
	display: block;
	margin-top: 29px;
	}

#see-it ol > li {
	margin: 0 auto;
	width: auto;
	}

#see-it ol > li:nth-child(2) {
	margin-right: auto;
	margin-left: auto;
	}

#see-it ol > li + li {
	margin-top: 35px !important;
	}

}



/* 12. responsive ( 567px)
-------------------------------------------------------*/

@media (max-width:  567px) {

/*  9. content info  */

#contentinfo ul {
	flex-direction: column;
	}

#contentinfo li {
	margin-right: 0;
	margin-left: 0;
	}

#contentinfo li + li {
	margin-top: 22px;
	}

}