/* 
    layout css
    full width 1400px
 */

/* header */
header{
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
    background-color: #fff;
    backdrop-filter: blur(3px);
    transition:.15s ease;
}

header.active{
    border-bottom: 1px solid var(--palettes-orange-200);
    background-color: rgb(255, 255, 255, 0.8);
}

.header-wp {
    width: 100%;
    max-width: var(--width-1400);
    padding: 0 20px;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.header-wp li {
    padding: 32px 40px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .075rem;
    font-size: 1.125rem;
    transition: .2s ease;
}

header.active .header-wp li{
    padding: 24px 32px;
    transition: .15s ease;
}

header .header-wp li:last-child{
    padding-right: 0;
}

.header-wp .menu {
    position: relative;
    cursor: pointer;
    transition: .05s ease;
    color: var(--color-text-01);
    font-weight: 600;
    letter-spacing: .075rem;
    font-size: 1.125rem;
}

.active .header-wp .menu{
    font-size: 1rem;
}

.header-wp .menu:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0) scale(0);
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: var(--palettes-orange-900);
    -webkit-transition: -webkit-transform 0.25s;
    transition: transform 0.25s;
    -webkit-transform-origin: top;
    transform-origin: top;
    z-index: -1;
}

.header-wp .menu:hover:after {
    -webkit-transform: translateX(-50%) translateY(-1.05rem) scale(100%);
    transform: translateX(-50%) translateY(-1.05rem) scale(100%);
}

.header-wp .menu:hover,
.header-wp .menu.active{
    color: var(--palettes-orange-900);
}

li.header-logo {
    flex: 1;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
}

li.header-logo img{
    width: 160px;
    transition: width .2s ease;
    cursor: pointer;
}

header.active li.header-logo img{
    width: 140px;
}

header.active li.header-logo{
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
}

.header-ham{
    display: none;
    position: absolute;
    right: 20px;
    top: 8px;
    width: 42px;
    height: 42px;
    background: url(../images/icon/ic_menu.svg)no-repeat center center / 24px;
    border-radius: 16px;
    border: 1px solid var(--stroke-01);
    transition: .1s ease;
}

/* footer */
footer {
    background-color: var(--main);
    background-color: var(--color-text-01);
    border-radius: 32px 32px 0 0;
}

.footer-wp {
    width: 100%;
    max-width: var(--width-1400);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 auto;
    padding: 40px 20px;
    color: #FFF;
    position: relative;
}

.footer-copyright {
    width: 100%;
    color: #ffffffe5;
    font-size: .875rem;
    margin-top: 32px;
}

.footer-copyright a{
    color: #ffffffe5;
    font-size: .875rem;
    transition: .2s ease;
}

.footer-copyright a:hover,
.footer-copyright a:focus,
.footer-copyright a:focus-visible{
    color: var(--palettes-orange-900);
}

.footer-link {
    width: 100%;
    margin-bottom: 32px;
}

.footer-link li {
    margin-right: 20px;
    display: inline-block;
}

.footer-link li a {
    font-weight: 600;
    display: block;
    position: relative;
    cursor: pointer;
    border: 1px solid #ffffff50;
    padding: 8px 16px;
    border-radius: 30px;
    padding-top: 8px;
    transition: .2s ease;
    color: #FFF;
}

.footer-link li a:hover{
    color: var(--palettes-orange-900);
    border-color: var(--palettes-orange-400);
}

.footer-info {
    width: 100%;
}

.footer-info span {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    color: #ffffffe5;
}

.footer-info span:not(:last-child)::before {
    content: "";
    position: absolute;
    right: -.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 70%;
    background-color: #ffffff50;
}

.btn-top {
    position: absolute;
    right: 20px;
    bottom: 40px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: transparent;
    border: 1px solid #ffffff50;
    cursor: pointer;
    transition: .2s ease;
}

.btn-top:hover{
    border-color: var(--palettes-orange-900);
}

.btn-top img {
    filter: brightness(100);
    transition: .2s ease;
}

.btn-top:hover img{
    filter: invert(71%) sepia(70%) saturate(4692%) hue-rotate(333deg) brightness(101%) contrast(103%);
}

/* scroll */
html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-thumb {
    background-color: var(--color-text-04);
    border-radius: 10px;
    background-clip: padding-box;
    border: 2px solid transparent;
}

html::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* layout */
main{
    margin-top: 85px;
}