/* 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 공통 */
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
}

.logo {
  text-align: center;
}

.logo img {
  height: 20px;
}

.menu-toggle img {
  height: 20px;
  width: 20px;
}

header {
  background-color: #ff0000;
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav {
  display: block;
  flex-direction: column;
  background-color: #fff;
  text-align: left;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.nav.show {
  opacity: 1;
  visibility: visible;
}

.nav a {
  color: #000;
  text-decoration: none;
  padding: 0 30px;
  height: 50px;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav a:hover {
  background-color: #eeeeee;
}

.nav a:hover .dot {
  background-color: #ff0000;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #D9D9D9;
  border-radius: 50%;
}

.main-inner {
  max-width: 300px;
  margin: 0 auto;
}

/* index */
.intro-section {
  background-color: #000;
  color: #fff;
  padding: 105px 0 180px 0;
  text-align: center;
}

.intro-title {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 400;
}

.intro-instagram-id {
  font-size: 16px;
  margin-bottom: 30px;
}

.intro-description {
  font-size: 12px;
  line-height: 30px;
}

.cta-section {
  background-color: #eee;
  padding: 40px 0;
  text-align: center;
}

.cta-title {
  font-size: 20px;
  margin-bottom: 13px;
  font-weight: 600;
}

.cta-description {
  font-size: 14px;
  margin-bottom: 20px;
}

.join-btn {
  display: inline-block;
  width: 116px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 25px;
  font-size: 14px;
  line-height: 39px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

.join-btn:hover {
  border: 1px solid #d6001c;
  color: #d6001c;
}

.magazine-section {
  padding: 40px 0 20px 0;
  text-align: center;
}

.magazine-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.magazine-description {
  font-size: 14px;
  margin-bottom: 20px;
}

.image-placeholder {
  aspect-ratio: 1 / 1;
  width: 90%;
  background-color: #d9d9d9;
  margin: 0 auto 20px;
}

footer {
  background-color: #eee;
  padding: 50px 0;
  text-align: center;
}

.index-footer-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.index-footer-description {
  font-size: 14px;
  margin-bottom: 30px;
  line-height: 20px;
}

.location-block {
  margin-bottom: 30px;
  text-align: left;
}

.location-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.location-text {
  font-size: 14px;
  margin-bottom: 7px;
  line-height: 20px;
}

.signup-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh + 70px);
}


.icon-wrap {
  margin-top: 15px;
}

.icon-wrap img {
  height: 15px;
  margin-right: 10px;
}

.scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-to-top img {
  width: 100%;
  height: 100%;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* login */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 110px);
}

.login-box {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 14px;
  border: solid 1px #8b8b8b;
  margin: 0 auto;
}

.login-box h2 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 23px;
}

.login-box input {
  width: 100%;
  height: 50px;
  padding: 0 13px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #8B8B8B;
  border-radius: 5px;
  color: #000;
  font-family: 'Montserrat';
}

.login-box input::placeholder {
  color: #C8C8C8;
}

.forgot-password {
  font-size: 12px;
  color: #8B8B8B;
  text-align: right;
  margin-top: 4px;
  margin-bottom: 14px;
  font-weight: 500;
}

.login-box button {
  width: 100%;
  height: 50px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #fff;
  transition: 0.3s;
}

@media (hover: hover) and (pointer: fine) {
    .login-box button:hover {
        border: solid 2px #ff0000;
        color: #ff0000;
    }
}

.no-account {
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  margin-top: 14px;
  color: #8B8B8B;
}

.no-account a {
  color: #8B8B8B;
  font-weight: 600;
  margin-left: 5px;
  text-decoration: none;
}

/* sign up */
.signup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  gap: 80px;
  background-color: #fff;
}

.signup-logo img {
  max-width: 300px;
}

.signup-box {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 14px;
  width: 326px;
  border: solid 1px #8b8b8b;
  margin: 0 auto;
}

.signup-box h2 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
}

.signup-box input[type="text"],
.signup-box input[type="password"] {
  width: 100%;
  height: 50px;
  padding: 0 13px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #8B8B8B;
  border-radius: 5px;
  color: #000;
  font-family: 'Montserrat';
}

.signup-box input[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 13px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #8B8B8B;
  border-radius: 5px;
  color: #000;
  font-family: 'Montserrat';
}

.signup-box input::placeholder {
  color: #aaa;
}

.email-wrap {
  margin-bottom: 10px;
}

.email-contant {}

.email-contant input {
  width: 100%;
  padding-right: 90px;
  height: 45px;
  font-size: 14px;
  padding-left: 12px;
}

.email-contant .check-btn {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 12px;
  border: 1px solid #333;
  background: #fff;
  cursor: pointer;
  margin-top: 18px;
}

.email-wrap input {
  flex: 1;
}

.check-btn {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #000;
  background-color: #fff;
  border-radius: 6px;
}

.terms-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 20px;
}

.terms-wrap input[type="checkbox"] {
  margin-right: 6px;
}

.privacy-link {
  color: red;
  text-decoration: none;
  font-weight: 500;
}

.check-btn {
  width: 100%;
  height: 50px;
  font-weight: 700;
  font-size: 24px;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #fff;
  transition: 0.3s;
}
@media (hover: hover) and (pointer: fine) {
.check-btn:hover {
  border: solid 2px #ff0000;
  color: #ff0000;
}}

.terms-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 0 13px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #8B8B8B;
  border-radius: 5px;
  color: #000;
  font-family: 'Montserrat';
  background-color: #fff;
}

.checkbox-label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
}

.custom-checkbox {
  position: absolute;
  opacity: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.custom-checkbox:checked+.checkmark {
  background-color: #ff0000;
  border-color: #ff0000;
  transform: translateY(-50%);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.custom-checkbox:checked+.checkmark::after {
  display: block;
}

.terms-link {
  background: none;
  border: none;
  color: red;
  font-size: 12px;
  cursor: pointer;
}

.signup-footer {
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  margin-top: 18px;
  color: #8B8B8B;
}

.signup-footer a {
  color: #8B8B8B;
  font-weight: 600;
  margin-left: 5px;
  text-decoration: none;
}

.signup-btn {
  width: 100%;
  height: 50px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #fff;
  transition: 0.3s;
  cursor: pointer;
}
.brand-footer {
  background-color: #000;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.brand-footer-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

.brand-footer-description {
  font-size: 16px;
  font-weight: lighter;
}

.brand-footer-container {
  display: flex;
  justify-content: space-between;
}

.brand-footer {
  background-color: #000;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.brand-footer-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.brand-footer-description {
  font-size: 16px;
  font-weight: lighter;
}

.brand-footer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (hover: hover) and (pointer: fine) {
    .signup-btn:hover {
	  border: solid 2px #ff0000;
	  color: #ff0000;
	}
}
