/* 共通樣式 */ :root { --main-color: #005bac; --sub-color: #00b9ef; } * { letter-spacing: 1px; font-weight: 300; font-family: "Noto Sans TC", sans-serif !important; } .navbar { box-shadow: 1px 1px 10px #ccc; .navbar-collapse { flex-grow: 0; } } p, li { line-height: 32px; } ul { list-style: none; } img { width: 100%; height: auto; } .navbar { position: fixed; right: 0; left: 0; top: 0; z-index: 1000; .navbar-nav { li { margin: 0 3px; } } } #all { overflow: hidden; } .logo { max-width: 400px; // @media (max-width: 991px) { // } } .title { font-size: 36px; text-align: center; color: var(--main-color); } .sub-title { display: block; margin: 20px auto 80px; text-align: center; color: #64646c; font-weight: 300; line-height: 28px; } #about, #service, #returns, #recruit { padding: 100px 0; } .click-btn { margin-top: 50px; display: flex; justify-content: center; a { position: relative; padding: 15px 40px; text-decoration: none; border-radius: 100px; box-shadow: 3px 5px 12px #ccc; background-image: linear-gradient(20deg, var(--main-color) 20%, var(--sub-color) 75%); &::before { position: absolute; content: ""; inset: 0; border-radius: 100px; background-image: linear-gradient(20deg, var(--main-color) 95%, var(--sub-color) 75%); opacity: 0; transition: opacity 0.3s linear; } &:hover::before { opacity: 1; } img { position: absolute; width: 35px; bottom: -10px; right: -5px; } span { position: relative; z-index: 100; color: #fff; font-size: 20px; font-weight: 500; letter-spacing: 3px; } } } /* header Start */ #header { h2 { font-size: 36px; font-weight: 500; @media (max-width: 1200px) { font-size: 32px; } @media (max-width: 991px) { font-size: 28px; } } p { font-size: 18px; } a { display: inline-block; color: #fff; margin-top: 50px; padding: 15px 45px; font-weight: 400; border: none; border-radius: 100px; box-shadow: 3px 5px 12px #ccc; background: linear-gradient(20deg, var(--main-color) 20%, var(--sub-color) 75%); transition: all 0.3s; text-decoration: none; &:hover { transform: translate(0px, -5px); } } section { padding: 30px 60px; display: inline-block; border-radius: 10px; border: 1px solid #ccc; line-height: 26px; } strong { font-size: 30px; font-weight: 700; margin-bottom: 15px; display: inline-block; } .line { margin-left: 20px; &::after { content: ""; display: inline-block; width: 50px; height: 2px; background: #000; position: relative; top: -10px; left: -17px; margin-right: -10px; } } } /* header End */ /* about Start */ #about { margin-top: 50px; background-color: #f8f9fa; h4 { font-size: 26px; font-weight: 500; margin-bottom: 20px; } } /* about End */ /* service Start */ #service { h4 { padding: 8px 28px; margin-bottom: 20px; display: inline-block; color: #fff; font-size: 20px; font-weight: 500; border-radius: 10px; background: var(--sub-color); } h5 { line-height: 32px; } ul { li { img { width: 18px; margin-bottom: -3px; } } } } /* service End */ /* returns Start */ #returns { background-color: #f8f9fa; section { display: flex; flex-direction: column; align-items: center; h5 { margin: auto; padding: 10px 20px; display: inline-block; color: #fff; text-align: center; border-radius: 10px; background: var(--sub-color); } small { margin: 15px 0; color: #64646c; } } } /* returns End */ /* footer Start */ #recruit { h4 { font-size: 20px; margin-bottom: 5px; } li { margin: 30px 0; } .arrow { width: 20px; object-fit: contain; margin-right: 10px; } } /* returns End */ /* footer Start */ .footer { color: var(--main-color); background: #eeeded; h2 { font-size: 28px; } ul { li { margin: 15px 0; a { padding-bottom: 3px; transition: border-color 0.5s ease; text-decoration: none; color: var(--main-color); border-bottom: 1px solid transparent; &:hover { border-bottom: 1px solid var(--main-color); } } } } h3 { padding: 15px 0; margin-bottom: 0; color: #fff; font-size: 16px; font-weight: 300; text-align: center; background-color: var(--main-color); } img { margin-bottom: 10px; max-width: 500px; @media (max-width: 767px) { margin-bottom: 20px; } } .content { padding: 50px 100px 35px; display: flex; justify-content: space-between; @media (max-width: 767px) { padding: 50px 50px 35px; align-items: center; flex-direction: column; } } } /* footer End */