@import '../css/reset.css';
@import '../css/common.css';

html.fixed {
  overflow-y: hidden;
}

#wrap{
  min-width: 1440px;
}

/* Header */
#header {
  display: flex;
  position: fixed;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 1440px;
  padding: 2rem 2rem 0;
  inset: 0 auto auto 0;
  z-index: 10;
  font-family: var(--roboto-font);
}
#header .logo img {
  width: 6rem;
  filter: invert(0%);
  will-change: filter;
  transition: filter 0.2s;
}
#header .link-order {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  height: auto;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  margin-top: 0;
  will-change: background-color;
  transition: background-color 0.2s;
}
#header .link-order .btn-inner {
  position: relative;
  overflow: hidden;
}
#header .link-order .text {
  display: inline-block;
  font-size: 15px;
  line-height: var(--line-height--1-3em);
  letter-spacing: -0.5px;
  font-weight: 400;
  color: rgb(245, 245, 245);
  will-change: color;
  transition: color 0.2s;
}
#header .link-order .text.bottom {
  position: absolute;
  inset: 0%;
  transform: translateY(100%);
}

/* main */
#container {
  position: relative;
  background-color: var(--colors--white);
  width: 100%;
  z-index: 2;
}

/* footer */
#footer {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #1e1e20;
  color: #181818;
  z-index: 2;
}
#footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 85rem;
  padding: 3rem 2.5rem 1.5rem;
}
#footer .footer-top {
  display: grid;
  grid-template-columns: 0.25fr 1fr;
  grid-template-rows: auto;
  gap: 5rem;
  width: 100%;
}
#footer .footer-top .footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#footer .footer-top .footer-logo img {
  object-fit: cover;
  max-width: 7rem;
}
#footer .footer-top .footer-logo .link-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3px;
  font-family: var(--roboto-font);
  color: var(--colors--grey);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2em;
}
#footer .footer-top .footer-logo .link-footer img {
  width: 3.2rem;
}
#footer .footer-menu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.75fr;
  grid-template-rows: auto;
  gap: 16px;
}
#footer .footer-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#footer .footer-item li.depth1 {
  font-family: var(--roboto-font);
  color: var(--colors--white);
  font-size: 18px;
  line-height: 1.1em;
  font-weight: 500;
}
#footer .footer-item li a {
  font-family: var(--roboto-font);
  color: var(--colors--white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2em;
  transition: color 0.2s;
}
#footer .footer-item li a:hover {
  color: var(--colors--grey);
}
#footer .newsletter-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#footer .newsletter-box h3 {
  font-family: var(--roboto-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1em;
  color: var(--colors--white);
}
#footer .newsletter-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#footer .newsletter-box form input[type='email'] {
  padding: 8px 12px;
  font-family: var(--roboto-font);
  color: var(--colors--white);
  background-color: #27272a;
  border: 1px solid #1e1e20;
  border-radius: 12px;
  height: 3rem;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}
#footer .newsletter-box form input[type='email']:focus {
  border-color: rgba(255, 255, 255, 0.2);
}
#footer .newsletter-box form input[type='submit'] {
  font-family: var(--roboto-font);
  color: #181818;
  background-color: var(--colors--white);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
#footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
#footer .footer-bottom .form-area {
  display: flex;
  gap: 2rem;
}
#footer .footer-bottom small {
  font-family: var(--roboto-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2em;
  color: var(--colors--white);
  transition: color 0.2s;
  will-change: color;
}
#footer .footer-bottom #thisYear {
  margin-left: 5px;
}
#footer .footer-bottom small .logo {
  position: relative;
  padding-left: 5px;
  margin-left: 5px;
}
#footer .footer-bottom small .logo::before {
  position: absolute;
  content: '';
  width: 1px;
  height: 12px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #fff;
  transition: background-color 0.2s;
}
#footer .footer-bottom small:hover {
  color: var(--colors--grey);
}
#footer .footer-bottom small:hover .logo::before {
  background-color: var(--colors--grey);
}
#footer .footer-bottom .form-list {
  display: flex;
  gap: 2rem;
}
#footer .footer-bottom .link-form {
  font-family: var(--roboto-font);
  color: var(--colors--white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2em;
  transition: color 0.2s;
  will-change: color;
}
#footer .footer-bottom .link-form:hover {
  color: var(--colors--grey);
}
#footer .sns-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}
#footer .link-sns {
  display: flex;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
}
#footer .link-sns img {
  width: 2rem;
  height: auto;
  object-fit: contain;
}
