/* =========================================
           RESET & CSS VARIABLES CHUNG
        ========================================= */
:root {
  --primary-blue: #004088;
  --hover-blue: #002d5c;
  --text-main: #1F2937;
  --text-light: #666666;
  --text-gray: #777777;
  --bg-main: #F6F6F8;
  --star-active: #f5b027;
  --star-inactive: #dcdcdc;
  --max-width: 1321px;
  --primary: #114a8f;
  --primary-hover: #0e3a70;
  --secondary: #f3f4f6;
  --bg-gray-50: #f9fafb;
  --bg-gray-100: #f3f4f6;
  --bg-gray-200: #e5e7eb;
  --border-gray: #d1d5db;
  --border-light: #e5e7eb;
  --text-gray-400: #9ca3af;
  --text-gray-500: #6b7280;
  --text-gray-600: #4b5563;
  --text-gray-700: #374151;
  --text-gray-800: #1f2937;
  --text-gray-900: #111827;
  --btn-yellow: #F3C64E;
  --btn-yellow-hover: #e0b43e;
  --btn-gray: #BFBFBF;
  --btn-gray-hover: #a3a3a3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

/* =========================================
           HEADER (PC)
        ========================================= */
header {
  background-color: #FFFFFF;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: height 0.3s ease;
  height: 120px;
  display: flex;
  align-items: center;
}

header.shrink {
  height: 80px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  width: 320px;
  min-width: 270px;
}

.logo.shrink {
  width: 199px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: bold;
  color: var(--primary-blue);
  cursor: pointer;
  font-size: 18px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #D0D5DD;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  width: 276px;
  height: 40px;
}

.search-box input {
  border: none;
  padding: 8px 12px;
  outline: none;
  width: 100%;
}

.search-box button {
  background: transparent;
  border: none;
  padding: 8px;
  color: var(--primary-blue);
  cursor: pointer;
}

.sp-menu-wrap {
  display: none;
}

/* =========================================
           MAIN WRAPPER
        ========================================= */
main {
  padding-top: 120px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
main .container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* =========================================
           FOOTER (PC)
        ========================================= */
footer {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  height: 200px;
}

.footer-inner {
  height: 100%;
  position: relative;
}

.footer-nav {
  display: flex;
  font-size: 13px;
  font-weight: bold;
  padding-top: 40px;
  padding-bottom: 62px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-nav .separator {
  margin: 0 15px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.footer-logo-wrap {
  width: 224px;
  height: 42px;
  border-radius: 6px;
  background-color: #FFFFFF;
  text-align: center;
  padding-top: 11px;
}

.footer-logo {
  width: 194px;
  margin: auto;
}

.copyright {
  font-size: 13px;
  align-self: flex-end;
}

/* =========================================
           PAGE TOP BUTTON
        ========================================= */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  cursor: pointer;
  display: none;
  z-index: 999;
}
#page-top img {
  width: 70px;
  height: 70px;
}

.profile-dropdown-trigger {
  position: relative;
  cursor: pointer;
}

.user-icon {
  color: var(--primary-blue);
  fill: currentColor;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: -5px;
  margin-top: 10px;
  background-color: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 180px;
  z-index: 1001;
  display: none;
}

.user-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-left: 1px solid #E5E7EB;
  border-top: 1px solid #E5E7EB;
  transform: rotate(45deg);
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background-color: transparent;
  transition: all 0.2s;
  position: relative;
  z-index: 2;
}

.user-dropdown a:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.user-dropdown a:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.user-dropdown a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--text-gray);
  transition: color 0.2s;
}

.user-dropdown a.logout-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-dropdown a:hover {
  background-color: #F9FAFB;
  color: var(--primary-blue);
}

.user-dropdown a:hover svg {
  color: var(--primary-blue);
}

.user-dropdown a.logout-link:hover {
  background-color: #FEF2F2;
  color: #EF4444;
}

.user-dropdown a.logout-link:hover svg {
  color: #EF4444;
}

.user-dropdown .dropdown-divider {
  height: 1px;
  background-color: #E5E7EB;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* =========================================
           CATEGORY OVERLAY & MOBILE BAR
        ========================================= */
.mobile-specialty-bar {
  display: none;
}

/* PC Specialty Overlay */
.specialty-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  overflow-y: auto;
  padding: 82px 20px 50px 20px;
}

.specialty-overlay-inner {
  width: 1141px;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1181px) {
  .specialty-overlay-inner {
    width: 948px;
  }
}
/* 5 col */
@media (max-width: 988px) {
  .specialty-overlay-inner {
    width: 755px;
  }
}
/* 4 col */
@media (max-width: 795px) {
  .specialty-overlay-inner {
    width: 562px;
  }
}
/* 3 col */
@media (max-width: 602px) {
  .specialty-overlay-inner {
    width: 369px;
  }
}
/* 2 col */
@media (max-width: 409px) {
  .specialty-overlay-inner {
    width: 176px;
  }
}
/* 1 col */
.specialty-close-wrapper {
  text-align: right;
  margin-bottom: 42px;
}

.specialty-close-btn {
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: inline-block;
}

.specialty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 17px;
  width: 100%;
}

.specialty-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 25px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
}

.specialty-pill:hover {
  background-color: #fff;
  color: #000000;
}

/* =========================================
           MOBILE MENU OVERLAY
        ========================================= */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-blue);
  z-index: 3000;
  overflow-y: auto;
}

.mobile-menu-header {
  padding: 20px 25px;
  text-align: left;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.mobile-menu-list {
  list-style: none;
  padding: 0 30px;
  margin-top: 10px;
}

.mobile-menu-list li {
  margin-bottom: 30px;
}

.mobile-menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
}

.mobile-menu-list a svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  font-size: 14px;
  min-height: calc(100vh - 320px);
}

.auth-card {
  background-color: white;
  border-radius: 1em;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--bg-gray-100);
  padding: 1.5em;
}

.auth-wrapper {
  max-width: 384px;
}

/* Specific Auth Inputs */
.form-input {
  width: 100%;
  border: 1px solid var(--text-gray-400);
  border-radius: 4px;
  /* ~ rounded-sm */
  padding: 0.75em;
  height: 44px;
  outline: none;
  transition: box-shadow 0.2s;
  font-size: 1em;
}

.form-input:focus {
  box-shadow: 0 0 0 1px #333;
}

.form-input::-moz-placeholder {
  color: var(--text-gray-400);
  opacity: 0.8;
}

.form-input::placeholder {
  color: var(--text-gray-400);
  opacity: 0.8;
}

.form-btn {
  width: 100%;
  height: 44px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.2s;
  text-align: center;
  font-size: 1em;
  border: 1px solid var(--text-gray-400);
  display: block;
  align-content: center;
  cursor: pointer;
}

.form-error {
  color: #EF4444;
  font-weight: 500;
}

.btn-gray {
  background-color: #BFBFBF;
  color: var(--text-gray-800);
}

.btn-gray:hover {
  filter: brightness(0.95);
}

.form-label {
  font-size: 1em;
  font-weight: 700;
  flex-shrink: 0;
}

.auth-button-group {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 2em;
}

.auth-logo-center {
  text-align: center;
  margin-bottom: 2em;
}

.auth-logo-center img {
  width: 200px;
}

.custom-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.custom-modal-box {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 410px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.custom-modal-overlay.active .custom-modal-box {
  transform: translateY(0);
}

.custom-modal-msg {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #1f2937;
}

.success-title {
  color: #0000FF;
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 1.5em;
}

.auth-title-wrap {
  text-align: center;
  margin-bottom: 2em;
}

.auth-title {
  font-size: 1.5em;
  font-weight: 700;
  display: inline-block;
  text-decoration: underline;
}

.auth-subtitle {
  text-align: left;
  font-size: 0.95em;
  margin-top: 2em;
}

.mobile-search-overlay {
  display: none;
}

@media (max-width: 1000px) {
  .specialty-overlay {
    display: none !important;
  }
  /* Header Mobile */
  header {
    height: 60px !important;
    padding: 0;
    display: block;
  }
  .header-inner {
    padding-right: 0 !important;
  }
  .logo {
    font-size: 20px;
    width: 152px;
    min-width: auto;
  }
  .logo.header-logo {
    width: 189px;
    height: 35px;
  }
  .logo span {
    display: none;
  }
  .logo.shrink {
    font-size: 20px;
    width: 152px;
  }
  .header-nav {
    display: none;
  }
  .sp-menu-wrap {
    display: flex;
    align-items: center;
    height: 100%;
  }
  .sp-icon {
    font-size: 20px;
    color: var(--primary-blue);
    margin-right: 20px;
    padding: 0;
  }
  .sp-hamburger {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
  }
  main {
    padding-top: 60px;
  }
  /* Mobile Category Bar */
  .mobile-specialty-bar {
    display: block;
    background-color: var(--primary-blue);
    width: 100%;
  }
  .mobile-specialty-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    height: 44px;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    align-items: center;
    padding: 0 14px;
  }
  .mobile-specialty-scroll::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
  }
  .mobile-specialty-scroll a {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
  }
  /* ==========================================================================
  MOBILE SEARCH OVERLAY
  ========================================================================== */
  .mobile-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    display: none;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .mobile-search-overlay.active {
    display: flex;
  }
  .mobile-search-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 15px;
  }
  .mobile-search-close {
    background: none;
    border: none;
    padding: 10px;
    margin-left: -10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
  }
  .mobile-search-input-wrap {
    flex-grow: 1;
    padding-left: 10px;
  }
  .mobile-search-input-wrap input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
  }
}
/* =========================================
RESPONSIVE (MOBILE)
========================================= */
@media (max-width: 768px) {
  .specialty-overlay {
    display: none !important;
  }
  header {
    padding: 0;
    display: block;
  }
  /* Mobile Category Bar */
  .mobile-specialty-bar {
    display: block;
    background-color: var(--primary-blue);
    width: 100%;
  }
  .mobile-specialty-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    height: 44px;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    align-items: center;
    padding: 0 14px;
  }
  .mobile-specialty-scroll::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
  }
  .mobile-specialty-scroll a {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
  }
  /* Main padding Mobile */
  main {
    padding-top: 60px;
  }
  .container {
    padding: 13px;
  }
  /* Footer Mobile */
  footer {
    height: 306px;
  }
  .footer-nav {
    padding-top: 38px;
    padding-bottom: 56px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-nav > .separator {
    display: none;
  }
  .nav-item {
    display: inline-block;
  }
  .nav-row-1 {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }
  .nav-row-1 .nav-item {
    margin: 0 10px;
  }
  .nav-row-1 .separator {
    margin: 0 5px;
    font-weight: normal;
  }
  .nav-row-2 {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }
  .nav-row-2 .nav-item {
    margin: 0 10px;
  }
  .nav-row-2 .separator {
    margin: 0 5px;
    font-weight: normal;
  }
  .nav-row-3 {
    width: 100%;
    text-align: center;
  }
  .footer-wrap {
    bottom: 45px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 45px;
  }
  .copyright {
    align-self: center;
    margin-right: 0;
  }
  #page-top {
    bottom: 20px;
    right: 20px;
  }
  #page-top img {
    width: 50px;
    height: 50px;
  }
  .auth-main {
    padding: 0;
    min-height: unset;
  }
}
@media (max-width: 480px) {
  .auth-wrapper,
  hr {
    max-width: 326px;
  }
}
@media (max-width: 375px) {
  .auth-wrapper,
  .register-hr {
    max-width: 300px;
  }
}
@media (max-width: 360px) {
  .auth-wrapper,
  .register-hr {
    max-width: 276px;
  }
}
@media (width < 360px) {
  .nav-row-2 .nav-item {
    line-height: 2.2;
  }
  .logo {
    width: 90%;
  }
  .logo.header-logo {
    width: 189px;
    height: 35px;
  }
  .sp-icon img {
    width: 20px;
    height: 20px;
  }
}
.empty-state-message {
  margin: auto;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-gray-500);
  text-align: center;
  letter-spacing: 0.5px;
}/*# sourceMappingURL=layout_main.css.map */